if(!function(p,w){function e(t,e){return e.toUpperCase()}function i(t){!m.addEventListener&&"load"!==t.type&&"complete"!==m.readyState||(L(),vt.ready())}var r,n,g=typeof w,t=p.location,m=p.document,o=m.documentElement,a=p.jQuery,s=p.$,l={},h=[],u="1.10.2",y=h.concat,c=h.push,d=h.slice,f=h.indexOf,v=l.toString,b=l.hasOwnProperty,x=u.trim,vt=function(t,e){return new vt.fn.init(t,e,n)},S=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,_=/\S+/g,C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,k=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,M=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,T=/^[\],:{}\s]*$/,D=/(?:^|:|,)(?:\s*\[)+/g,A=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,P=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,E=/^-ms-/,O=/-([\da-z])/gi,L=function(){m.addEventListener?(m.removeEventListener("DOMContentLoaded",i,!1),p.removeEventListener("load",i,!1)):(m.detachEvent("onreadystatechange",i),p.detachEvent("onload",i))};function I(t){var e=t.length,n=vt.type(t);return!vt.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===n||"function"!==n&&(0===e||"number"==typeof e&&0"===t.charAt(t.length-1)&&3<=t.length?[null,t,null]:k.exec(t))||!i[1]&&e)return(!e||e.jquery?e||n:this.constructor(e)).find(t);if(i[1]){if(e=e instanceof vt?e[0]:e,vt.merge(this,vt.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:m,!0)),M.test(i[1])&&vt.isPlainObject(e))for(i in e)vt.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}if((r=m.getElementById(i[2]))&&r.parentNode){if(r.id!==i[2])return n.find(t);this.length=1,this[0]=r}return this.context=m,this.selector=t,this},selector:"",length:0,toArray:function(){return d.call(this)},get:function(t){return null==t?this.toArray():t<0?this[this.length+t]:this[t]},pushStack:function(t){t=vt.merge(this.constructor(),t);return t.prevObject=this,t.context=this.context,t},each:function(t,e){return vt.each(this,t,e)},ready:function(t){return vt.ready.promise().done(t),this},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,t=+t+(t<0?e:0);return this.pushStack(0<=t&&t+~]|"+F+")"+F+"*"),U=RegExp(F+"*[+~]"),Y=RegExp("="+F+"*([^\\]'\"]*)"+F+"*\\]","g"),G=RegExp(z),X=RegExp("^"+H+"$"),V={ID:RegExp("^#("+j+")"),CLASS:RegExp("^\\.("+j+")"),TAG:RegExp("^("+j.replace("w","w*")+")"),ATTR:RegExp("^"+B),PSEUDO:RegExp("^"+z),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+F+"*(even|odd|(([+-]|)(\\d*)n|)"+F+"*(?:([+-]|)"+F+"*(\\d+)|))"+F+"*\\)|)","i"),bool:RegExp("^(?:"+R+")$","i"),needsContext:RegExp("^"+F+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+F+"*((?:-\\d)?\\d*)"+F+"*\\)|)(?=[^-]|$)","i")},Z=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,tt=/'|\\/g,et=RegExp("\\\\([\\da-f]{1,6}"+F+"?|("+F+")|.)","ig"),nt=function(t,e,n){var i="0x"+e-65536;return i!=i||n?e:i<0?String.fromCharCode(65536+i):String.fromCharCode(55296|i>>10,56320|1023&i)};try{L.apply(P=I.call(y.childNodes),y.childNodes),P[y.childNodes.length].nodeType}catch(t){L={apply:P.length?function(t,e){O.apply(t,I.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}function it(t,e,n,i){var r,o,a,s,l,u,c;if((e?e.ownerDocument||e:y)!==C&&f(e),n=n||[],!t||"string"!=typeof t)return n;if(1!==(r=(e=e||C).nodeType)&&9!==r)return[];if(p&&!i){if(u=K.exec(t))if(c=u[1]){if(9===r){if(!(s=e.getElementById(c))||!s.parentNode)return n;if(s.id===c)return n.push(s),n}else if(e.ownerDocument&&(s=e.ownerDocument.getElementById(c))&&m(e,s)&&s.id===c)return n.push(s),n}else{if(u[2])return L.apply(n,e.getElementsByTagName(t)),n;if((c=u[3])&&h.getElementsByClassName&&e.getElementsByClassName)return L.apply(n,e.getElementsByClassName(c)),n}if(h.qsa&&(!g||!g.test(t))){if(l=s=b,u=e,c=9===r&&t,1===r&&"object"!==e.nodeName.toLowerCase()){for(a=ht(t),(s=e.getAttribute("id"))?l=s.replace(tt,"\\$&"):e.setAttribute("id",l),l="[id='"+l+"'] ",o=a.length;o--;)a[o]=l+dt(a[o]);u=U.test(t)&&e.parentNode||e,c=a.join(",")}if(c)try{return L.apply(n,u.querySelectorAll(c)),n}catch(t){}finally{s||e.removeAttribute("id")}}}return function(t,e,n,i){var r,o,a,s,l,u=ht(t);if(!i&&1===u.length){if(2<(o=u[0]=u[0].slice(0)).length&&"ID"===(a=o[0]).type&&h.getById&&9===e.nodeType&&p&&S.relative[o[1].type]){if(!(e=(S.find.ID(a.matches[0].replace(et,nt),e)||[])[0]))return n;t=t.slice(o.shift().value.length)}for(r=V.needsContext.test(t)?0:o.length;r--&&(a=o[r],!S.relative[s=a.type]);)if((l=S.find[s])&&(i=l(a.matches[0].replace(et,nt),U.test(o[0].type)&&e.parentNode||e))){if(o.splice(r,1),!(t=i.length&&dt(o)))return L.apply(n,i),n;break}}return d(t,u)(i,e,!p,n,U.test(t)),n}(t.replace(W,"$1"),e,n,i)}function rt(){var n=[];function i(t,e){return n.push(t+=" ")>S.cacheLength&&delete i[n.shift()],i[t]=e}return i}function ot(t){return t[b]=!0,t}function at(t){var e=C.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function st(t,e){for(var n=t.split("|"),i=t.length;i--;)S.attrHandle[n[i]]=e}function lt(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||1<<31)-(~t.sourceIndex||1<<31);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function ut(a){return ot(function(o){return o=+o,ot(function(t,e){for(var n,i=a([],t.length,o),r=i.length;r--;)t[n=i[r]]&&(t[n]=!(e[n]=t[n]))})})}for(t in e=it.isXML=function(t){t=t&&(t.ownerDocument||t).documentElement;return!!t&&"HTML"!==t.nodeName},h=it.support={},f=it.setDocument=function(t){var l=t?t.ownerDocument||t:y,t=l.defaultView;return l!==C&&9===l.nodeType&&l.documentElement?(r=(C=l).documentElement,p=!e(l),t&&t.attachEvent&&t!==t.top&&t.attachEvent("onbeforeunload",function(){f()}),h.attributes=at(function(t){return t.className="i",!t.getAttribute("className")}),h.getElementsByTagName=at(function(t){return t.appendChild(l.createComment("")),!t.getElementsByTagName("*").length}),h.getElementsByClassName=at(function(t){return t.innerHTML="
",t.firstChild.className="i",2===t.getElementsByClassName("i").length}),h.getById=at(function(t){return r.appendChild(t).id=b,!l.getElementsByName||!l.getElementsByName(b).length}),h.getById?(S.find.ID=function(t,e){if(typeof e.getElementById!=D&&p){t=e.getElementById(t);return t&&t.parentNode?[t]:[]}},S.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}}):(delete S.find.ID,S.filter.ID=function(t){var e=t.replace(et,nt);return function(t){t=typeof t.getAttributeNode!=D&&t.getAttributeNode("id");return t&&t.value===e}}),S.find.TAG=h.getElementsByTagName?function(t,e){return typeof e.getElementsByTagName!=D?e.getElementsByTagName(t):i}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"!==t)return o;for(;n=o[r++];)1===n.nodeType&&i.push(n);return i},S.find.CLASS=h.getElementsByClassName&&function(t,e){return typeof e.getElementsByClassName!=D&&p?e.getElementsByClassName(t):i},a=[],g=[],(h.qsa=Z.test(l.querySelectorAll))&&(at(function(t){t.innerHTML="",t.querySelectorAll("[selected]").length||g.push("\\["+F+"*(?:value|"+R+")"),t.querySelectorAll(":checked").length||g.push(":checked")}),at(function(t){var e=l.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("t",""),t.querySelectorAll("[t^='']").length&&g.push("[*^$]="+F+"*(?:''|\"\")"),t.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),g.push(",.*:")})),(h.matchesSelector=Z.test(s=r.webkitMatchesSelector||r.mozMatchesSelector||r.oMatchesSelector||r.msMatchesSelector))&&at(function(t){h.disconnectedMatch=s.call(t,"div"),s.call(t,"[s!='']:x"),a.push("!=",z)}),g=g.length&&RegExp(g.join("|")),a=a.length&&RegExp(a.join("|")),m=Z.test(r.contains)||r.compareDocumentPosition?function(t,e){var n=9===t.nodeType?t.documentElement:t,e=e&&e.parentNode;return t===e||!(!e||1!==e.nodeType||!(n.contains?n.contains(e):t.compareDocumentPosition&&16&t.compareDocumentPosition(e)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},T=r.compareDocumentPosition?function(t,e){if(t===e)return M=!0,0;var n=e.compareDocumentPosition&&t.compareDocumentPosition&&t.compareDocumentPosition(e);return n?1&n||!h.sortDetached&&e.compareDocumentPosition(t)===n?t===l||m(y,t)?-1:e===l||m(y,e)?1:u?N.call(u,t)-N.call(u,e):0:4&n?-1:1:t.compareDocumentPosition?-1:1}:function(t,e){var n,i=0,r=t.parentNode,o=e.parentNode,a=[t],s=[e];if(t===e)return M=!0,0;if(!r||!o)return t===l?-1:e===l?1:r?-1:o?1:u?N.call(u,t)-N.call(u,e):0;if(r===o)return lt(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)s.unshift(n);for(;a[i]===s[i];)i++;return i?lt(a[i],s[i]):a[i]===y?-1:s[i]===y?1:0},l):C},it.matches=function(t,e){return it(t,null,null,e)},it.matchesSelector=function(t,e){if((t.ownerDocument||t)!==C&&f(t),e=e.replace(Y,"='$1']"),!(!h.matchesSelector||!p||a&&a.test(e)||g&&g.test(e)))try{var n=s.call(t,e);if(n||h.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,nt),t[3]=(t[4]||t[5]||"").replace(et,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]||it.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]&&it.error(t[0]),t},PSEUDO:function(t){var e,n=!t[5]&&t[2];return V.CHILD.test(t[0])?null:(t[3]&&t[4]!==i?t[2]=t[4]:n&&G.test(n)&&(e=ht(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=l[t+" "];return e||(e=RegExp("(^|"+F+")"+t+"("+F+"|$)"))&&l(t,function(t){return e.test("string"==typeof t.className&&t.className||typeof t.getAttribute!=D&&t.getAttribute("class")||"")})},ATTR:function(e,n,i){return function(t){t=it.attr(t,e);return null==t?"!="===n:!n||(t+="","="===n?t===i:"!="===n?t!==i:"^="===n?i&&0===t.indexOf(i):"*="===n?i&&-1++i;)t.push(i);return t})}}).pseudos.nth=S.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})S.pseudos[t]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(t);for(t in{submit:!0,reset:!0})S.pseudos[t]=function(n){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===n}}(t);function ct(){}function ht(t,e){var n,i,r,o,a,s,l,u=c[t+" "];if(u)return e?0:u.slice(0);for(a=t,s=[],l=S.preFilter;a;){for(o in n&&!(i=$.exec(a))||(i&&(a=a.slice(i[0].length)||a),s.push(r=[])),n=!1,(i=q.exec(a))&&(n=i.shift(),r.push({value:n,type:i[0].replace(W," ")}),a=a.slice(n.length)),S.filter)!(i=V[o].exec(a))||l[o]&&!(i=l[o](i))||(n=i.shift(),r.push({value:n,type:o,matches:i}),a=a.slice(n.length));if(!n)break}return e?a.length:a?it.error(t):c(t,s).slice(0)}function dt(t){for(var e=0,n=t.length,i="";e
a",t=c.getElementsByTagName("*")||[],!(e=c.getElementsByTagName("a")[0])||!e.style||!t.length)return o;a=(i=m.createElement("select")).appendChild(m.createElement("option")),n=c.getElementsByTagName("input")[0],e.style.cssText="top:1px;float:left;opacity:.5",o.getSetAttribute="t"!==c.className,o.leadingWhitespace=3===c.firstChild.nodeType,o.tbody=!c.getElementsByTagName("tbody").length,o.htmlSerialize=!!c.getElementsByTagName("link").length,o.style=/top/.test(e.getAttribute("style")),o.hrefNormalized="/a"===e.getAttribute("href"),o.opacity=/^0.5/.test(e.style.opacity),o.cssFloat=!!e.style.cssFloat,o.checkOn=!!n.value,o.optSelected=a.selected,o.enctype=!!m.createElement("form").enctype,o.html5Clone="<:nav>"!==m.createElement("nav").cloneNode(!0).outerHTML,o.inlineBlockNeedsLayout=!1,o.shrinkWrapBlocks=!1,o.pixelPosition=!1,o.deleteExpando=!0,o.noCloneEvent=!0,o.reliableMarginRight=!0,o.boxSizingReliable=!0,n.checked=!0,o.noCloneChecked=n.cloneNode(!0).checked,i.disabled=!0,o.optDisabled=!a.disabled;try{delete c.test}catch(t){o.deleteExpando=!1}for(u in(n=m.createElement("input")).setAttribute("value",""),o.input=""===n.getAttribute("value"),n.value="t",n.setAttribute("type","radio"),o.radioValue="t"===n.value,n.setAttribute("checked","t"),n.setAttribute("name","t"),(r=m.createDocumentFragment()).appendChild(n),o.appendChecked=n.checked,o.checkClone=r.cloneNode(!0).cloneNode(!0).lastChild.checked,c.attachEvent&&(c.attachEvent("onclick",function(){o.noCloneEvent=!1}),c.cloneNode(!0).click()),{submit:!0,change:!0,focusin:!0})c.setAttribute(s="on"+u,"t"),o[u+"Bubbles"]=s in p||!1===c.attributes[s].expando;for(u in c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",o.clearCloneStyle="content-box"===c.style.backgroundClip,vt(o))break;return o.ownLast="0"!==u,vt(function(){var t,e,n,i="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",r=m.getElementsByTagName("body")[0];r&&((t=m.createElement("div")).style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",r.appendChild(t).appendChild(c),c.innerHTML="
t
",(n=c.getElementsByTagName("td"))[0].style.cssText="padding:0;margin:0;border:0;display:none",l=0===n[0].offsetHeight,n[0].style.display="",n[1].style.display="none",o.reliableHiddenOffsets=l&&0===n[0].offsetHeight,c.innerHTML="",c.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",vt.swap(r,null!=r.style.zoom?{zoom:1}:{},function(){o.boxSizing=4===c.offsetWidth}),p.getComputedStyle&&(o.pixelPosition="1%"!==(p.getComputedStyle(c,null)||{}).top,o.boxSizingReliable="4px"===(p.getComputedStyle(c,null)||{width:"4px"}).width,(e=c.appendChild(m.createElement("div"))).style.cssText=c.style.cssText=i,e.style.marginRight=e.style.width="0",c.style.width="1px",o.reliableMarginRight=!parseFloat((p.getComputedStyle(e,null)||{}).marginRight)),typeof c.style.zoom!==g&&(c.innerHTML="",c.style.cssText=i+"width:1px;padding:1px;display:inline;zoom:1",o.inlineBlockNeedsLayout=3===c.offsetWidth,c.style.display="block",c.innerHTML="
",c.firstChild.style.width="5px",o.shrinkWrapBlocks=3!==c.offsetWidth,o.inlineBlockNeedsLayout&&(r.style.zoom=1)),r.removeChild(t),t=c=n=e=null)}),t=i=r=e=n=null,o}({});var R=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,F=/([A-Z])/g;function j(t,e,n,i){if(vt.acceptData(t)){var r,o=vt.expando,a=t.nodeType,s=a?vt.cache:t,l=a?t[o]:t[o]&&o;if(l&&s[l]&&(i||s[l].data)||n!==w||"string"!=typeof e)return s[l=l||(a?t[o]=h.pop()||vt.guid++:o)]||(s[l]=a?{}:{toJSON:vt.noop}),"object"!=typeof e&&"function"!=typeof e||(i?s[l]=vt.extend(s[l],e):s[l].data=vt.extend(s[l].data,e)),l=s[l],i||(l.data||(l.data={}),l=l.data),n!==w&&(l[vt.camelCase(e)]=n),"string"==typeof e?null==(r=l[e])&&(r=l[vt.camelCase(e)]):r=l,r}}function H(t,e,n){if(vt.acceptData(t)){var i,r,o=t.nodeType,a=o?vt.cache:t,s=o?t[vt.expando]:vt.expando;if(a[s]){if(e&&(i=n?a[s]:a[s].data)){r=(e=vt.isArray(e)?e.concat(vt.map(e,vt.camelCase)):e in i?[e]:(e=vt.camelCase(e))in i?[e]:e.split(" ")).length;for(;r--;)delete i[e[r]];if(n?!z(i):!vt.isEmptyObject(i))return}(n||(delete a[s].data,z(a[s])))&&(o?vt.cleanData([t],!0):vt.support.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}function B(t,e,n){if(n===w&&1===t.nodeType){var i="data-"+e.replace(F,"-$1").toLowerCase();if("string"==typeof(n=t.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:R.test(n)?vt.parseJSON(n):n)}catch(t){}vt.data(t,e,n)}else n=w}return n}function z(t){for(var e in t)if(("data"!==e||!vt.isEmptyObject(t[e]))&&"toJSON"!==e)return;return 1}vt.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return!!(t=t.nodeType?vt.cache[t[vt.expando]]:t[vt.expando])&&!z(t)},data:function(t,e,n){return j(t,e,n)},removeData:function(t,e){return H(t,e)},_data:function(t,e,n){return j(t,e,n,!0)},_removeData:function(t,e){return H(t,e,!0)},acceptData:function(t){if(t.nodeType&&1!==t.nodeType&&9!==t.nodeType)return!1;var e=t.nodeName&&vt.noData[t.nodeName.toLowerCase()];return!e||!0!==e&&t.getAttribute("classid")===e}}),vt.fn.extend({data:function(t,e){var n,i,r=null,o=0,a=this[0];if(t!==w)return"object"==typeof t?this.each(function(){vt.data(this,t)}):1o;o++)0===(i=n[o].name).indexOf("data-")&&B(a,i=vt.camelCase(i.slice(5)),r[i]);vt._data(a,"parsedAttrs",!0)}return r},removeData:function(t){return this.each(function(){vt.removeData(this,t)})}}),vt.extend({queue:function(t,e,n){var i;return t?(i=vt._data(t,e=(e||"fx")+"queue"),n&&(!i||vt.isArray(n)?i=vt._data(t,e,vt.makeArray(n)):i.push(n)),i||[]):w},dequeue:function(t,e){var n=vt.queue(t,e=e||"fx"),i=n.length,r=n.shift(),o=vt._queueHooks(t,e);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,function(){vt.dequeue(t,e)},o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return vt._data(t,n)||vt._data(t,n,{empty:vt.Callbacks("once memory").add(function(){vt._removeData(t,e+"queue"),vt._removeData(t,n)})})}}),vt.fn.extend({queue:function(e,n){var t=2;return"string"!=typeof e&&(n=e,e="fx",t--),arguments.lengths&&a.push({elem:this,handlers:e.slice(s)}),a},fix:function(t){if(t[vt.expando])return t;var e,n,i,r=t.type,o=t,a=this.fixHooks[r];for(a||(this.fixHooks[r]=a=Q.test(r)?this.mouseHooks:J.test(r)?this.keyHooks:{}),i=a.props?this.props.concat(a.props):this.props,t=new vt.Event(o),e=i.length;e--;)t[n=i[e]]=o[n];return t.target||(t.target=o.srcElement||m),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,a.filter?a.filter(t,o):t},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,i,r=e.button,o=e.fromElement;return null==t.pageX&&null!=e.clientX&&(i=(n=t.target.ownerDocument||m).documentElement,n=n.body,t.pageX=e.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),t.pageY=e.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),!t.relatedTarget&&o&&(t.relatedTarget=o===t.target?e.toElement:o),t.which||r===w||(t.which=1&r?1:2&r?3:4&r?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==rt()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){return this===rt()&&this.blur?(this.blur(),!1):w},delegateType:"focusout"},click:{trigger:function(){return vt.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):w},_default:function(t){return vt.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){t.result!==w&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n,i){t=vt.extend(new vt.Event,n,{type:t,isSimulated:!0,originalEvent:{}});i?vt.event.trigger(t,null,e):vt.event.dispatch.call(e,t),t.isDefaultPrevented()&&n.preventDefault()}},vt.removeEvent=m.removeEventListener?function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)}:function(t,e,n){e="on"+e;t.detachEvent&&(typeof t[e]===g&&(t[e]=null),t.detachEvent(e,n))},vt.Event=function(t,e){return this instanceof vt.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||!1===t.returnValue||t.getPreventDefault&&t.getPreventDefault()?nt:it):this.type=t,e&&vt.extend(this,e),this.timeStamp=t&&t.timeStamp||vt.now(),this[vt.expando]=!0,w):new vt.Event(t,e)},vt.Event.prototype={isDefaultPrevented:it,isPropagationStopped:it,isImmediatePropagationStopped:it,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=nt,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=nt,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=nt,this.stopPropagation()}},vt.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(t,r){vt.event.special[t]={delegateType:r,bindType:r,handle:function(t){var e,n=t.relatedTarget,i=t.handleObj;return n&&(n===this||vt.contains(this,n))||(t.type=i.origType,e=i.handler.apply(this,arguments),t.type=r),e}}}),vt.support.submitBubbles||(vt.event.special.submit={setup:function(){return!vt.nodeName(this,"form")&&(vt.event.add(this,"click._submit keypress._submit",function(t){t=t.target,t=vt.nodeName(t,"input")||vt.nodeName(t,"button")?t.form:w;t&&!vt._data(t,"submitBubbles")&&(vt.event.add(t,"submit._submit",function(t){t._submit_bubble=!0}),vt._data(t,"submitBubbles",!0))}),w)},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&vt.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){return!vt.nodeName(this,"form")&&(vt.event.remove(this,"._submit"),w)}}),vt.support.changeBubbles||(vt.event.special.change={setup:function(){return K.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(vt.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),vt.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),vt.event.simulate("change",this,t,!0)})),!1):(vt.event.add(this,"beforeactivate._change",function(t){t=t.target;K.test(t.nodeName)&&!vt._data(t,"changeBubbles")&&(vt.event.add(t,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||vt.event.simulate("change",this.parentNode,t,!0)}),vt._data(t,"changeBubbles",!0))}),w)},handle:function(t){var e=t.target;return this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type?t.handleObj.handler.apply(this,arguments):w},teardown:function(){return vt.event.remove(this,"._change"),!K.test(this.nodeName)}}),vt.support.focusinBubbles||vt.each({focus:"focusin",blur:"focusout"},function(t,e){function n(t){vt.event.simulate(e,t.target,vt.event.fix(t),!0)}var i=0;vt.event.special[e]={setup:function(){0==i++&&m.addEventListener(t,n,!0)},teardown:function(){0==--i&&m.removeEventListener(t,n,!0)}}}),vt.fn.extend({on:function(t,e,n,i,r){var o,a;if("object"==typeof t){for(o in"string"!=typeof e&&(n=n||e,e=w),t)this.on(o,e,n,t[o],r);return this}if(null==n&&null==i?(i=e,n=e=w):null==i&&("string"==typeof e?(i=n,n=w):(i=n,n=e,e=w)),!1===i)i=it;else if(!i)return this;return 1===r&&(a=i,(i=function(t){return vt().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=vt.guid++)),this.each(function(){vt.event.add(this,t,i,n,e)})},one:function(t,e,n,i){return this.on(t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,vt(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"!=typeof t)return!1!==e&&"function"!=typeof e||(n=e,e=w),!1===n&&(n=it),this.each(function(){vt.event.remove(this,t,n,e)});for(r in t)this.off(r,e,t[r]);return this},trigger:function(t,e){return this.each(function(){vt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];return n?vt.event.trigger(t,e,n,!0):w}});var ot=/^.[^:#\[\.,]*$/,at=/^(?:parents|prev(?:Until|All))/,st=vt.expr.match.needsContext,lt={children:!0,contents:!0,next:!0,prev:!0};function ut(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function ct(t,n,i){if(vt.isFunction(n))return vt.grep(t,function(t,e){return!!n.call(t,e,t)!==i});if(n.nodeType)return vt.grep(t,function(t){return t===n!==i});if("string"==typeof n){if(ot.test(n))return vt.filter(n,t,i);n=vt.filter(n,t)}return vt.grep(t,function(t){return 0<=vt.inArray(t,n)!==i})}function ht(t){var e=dt.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}vt.fn.extend({find:function(t){var e,n=[],i=this,r=i.length;if("string"!=typeof t)return this.pushStack(vt(t).filter(function(){for(e=0;e]","i"),gt=/^\s+/,mt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,yt=/<([\w:]+)/,bt=/\s*$/g,Tt={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:vt.support.htmlSerialize?[0,"",""]:[1,"X
","
"]},Dt=ht(m).appendChild(m.createElement("div"));function At(t,e){return vt.nodeName(t,"table")&&vt.nodeName(1===e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function Pt(t){return t.type=(null!==vt.find.attr(t,"type"))+"/"+t.type,t}function Et(t){var e=kt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function Ot(t,e){for(var n,i=0;null!=(n=t[i]);i++)vt._data(n,"globalEval",!e||vt._data(e[i],"globalEval"))}function Lt(t,e){if(1===e.nodeType&&vt.hasData(t)){var n,i,r,o=vt._data(t),t=vt._data(e,o),a=o.events;if(a)for(n in delete t.handle,t.events={},a)for(i=0,r=a[n].length;i");try{for(;n")?o=t.cloneNode(!0):(Dt.innerHTML=t.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(vt.support.noCloneEvent&&vt.support.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||vt.isXMLDoc(t)))for(i=It(o),s=It(t),a=0;null!=(r=s[a]);++a)i[a]&&function(t,e){var n,i,r;if(1===e.nodeType){if(n=e.nodeName.toLowerCase(),!vt.support.noCloneEvent&&e[vt.expando]){for(i in(r=vt._data(e)).events)vt.removeEvent(e,i,r.handle);e.removeAttribute(vt.expando)}"script"===n&&e.text!==t.text?(Pt(e).text=t.text,Et(e)):"object"===n?(e.parentNode&&(e.outerHTML=t.outerHTML),vt.support.html5Clone&&t.innerHTML&&!vt.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===n&&St.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===n?e.defaultSelected=e.selected=t.defaultSelected:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}}(r,i[a]);if(e)if(n)for(s=s||It(t),i=i||It(o),a=0;null!=(r=s[a]);a++)Lt(r,i[a]);else Lt(t,o);return 0<(i=It(o,"script")).length&&Ot(i,!l&&It(t,"script")),i=s=r=null,o},buildFragment:function(t,e,n,i){for(var r,o,a,s,l,u,c,h=t.length,d=ht(e),f=[],p=0;p")+c[2],r=c[0];r--;)s=s.lastChild;if(!vt.support.leadingWhitespace&>.test(o)&&f.push(e.createTextNode(gt.exec(o)[0])),!vt.support.tbody)for(r=(o="table"!==l||bt.test(o)?""!==c[1]||bt.test(o)?0:s:s.firstChild)&&o.childNodes.length;r--;)vt.nodeName(u=o.childNodes[r],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(vt.merge(f,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=d.lastChild}else f.push(e.createTextNode(o));for(s&&d.removeChild(s),vt.support.appendChecked||vt.grep(It(f,"input"),Nt),p=0;o=f[p++];)if((!i||-1===vt.inArray(o,i))&&(a=vt.contains(o.ownerDocument,o),s=It(d.appendChild(o),"script"),a&&Ot(s),n))for(r=0;o=s[r++];)Ct.test(o.type||"")&&n.push(o);return s=null,d},cleanData:function(t,e){for(var n,i,r,o,a=0,s=vt.expando,l=vt.cache,u=vt.support.deleteExpando,c=vt.event.special;null!=(n=t[a]);a++)if((e||vt.acceptData(n))&&(o=(r=n[s])&&l[r])){if(o.events)for(i in o.events)c[i]?vt.event.remove(n,i):vt.removeEvent(n,i,o.handle);l[r]&&(delete l[r],u?delete n[s]:typeof n.removeAttribute!==g?n.removeAttribute(s):n[s]=null,h.push(r))}},_evalUrl:function(t){return vt.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})}}),vt.fn.extend({wrapAll:function(e){return vt.isFunction(e)?this.each(function(t){vt(this).wrapAll(e.call(this,t))}):(this[0]&&(t=vt(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)),this);var t},wrapInner:function(n){return vt.isFunction(n)?this.each(function(t){vt(this).wrapInner(n.call(this,t))}):this.each(function(){var t=vt(this),e=t.contents();e.length?e.wrapAll(n):t.append(n)})},wrap:function(e){var n=vt.isFunction(e);return this.each(function(t){vt(this).wrapAll(n?e.call(this,t):e)})},unwrap:function(){return this.parent().each(function(){vt.nodeName(this,"body")||vt(this).replaceWith(this.childNodes)}).end()}});var Rt,Ft,jt,Ht=/alpha\([^)]*\)/i,Bt=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Wt=/^(none|table(?!-c[ea]).+)/,$t=/^margin/,qt=RegExp("^("+S+")(.*)$","i"),Ut=RegExp("^("+S+")(?!px)[a-z%]+$","i"),Yt=RegExp("^([+-])=("+S+")","i"),Gt={BODY:"block"},Xt={position:"absolute",visibility:"hidden",display:"block"},Vt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],Kt=["Webkit","O","Moz","ms"];function Jt(t,e){if(e in t)return e;for(var n=e.charAt(0).toUpperCase()+e.slice(1),i=e,r=Kt.length;r--;)if((e=Kt[r]+n)in t)return e;return i}function Qt(t,e){return"none"===vt.css(t=e||t,"display")||!vt.contains(t.ownerDocument,t)}function te(t,e){for(var n,i,r,o=[],a=0,s=t.length;a").css("cssText","display:block !important")).appendTo(e.documentElement))[0].contentWindow||Rt[0].contentDocument).document).write(""),e.close(),n=oe(t,e),Rt.detach()),Gt[t]=n),n}function oe(t,e){t=vt(e.createElement(t)).appendTo(e.body),e=vt.css(t[0],"display");return t.remove(),e}vt.fn.extend({css:function(t,e){return vt.access(this,function(t,e,n){var i,r,o={},a=0;if(vt.isArray(e)){for(r=Ft(t),i=e.length;a").append(vt.parseHTML(t)).find(i):t)}).complete(n&&function(t,e){a.each(n,r||[t.responseText,e,t])}),this},vt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){vt.fn[e]=function(t){return this.on(e,t)}}),vt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:de,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(he[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ce,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":vt.parseJSON,"text xml":vt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Te(Te(t,vt.ajaxSettings),e):Te(vt.ajaxSettings,t)},ajaxPrefilter:ke(Se),ajaxTransport:ke(_e),ajax:function(t,e){"object"==typeof t&&(e=t,t=w);var n,l,u,c,h,d,i,f=vt.ajaxSetup({},e=e||{}),p=f.context||f,g=f.context&&(p.nodeType||p.jquery)?vt(p):vt.event,m=vt.Deferred(),y=vt.Callbacks("once memory"),v=f.statusCode||{},r={},o={},b=0,a="canceled",x={readyState:0,getResponseHeader:function(t){var e;if(2===b){if(!i)for(i={};e=ye.exec(u);)i[e[1].toLowerCase()]=e[2];e=i[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===b?u:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return b||(t=o[n]=o[n]||t,r[t]=e),this},overrideMimeType:function(t){return b||(f.mimeType=t),this},statusCode:function(t){if(t)if(b<2)for(var e in t)v[e]=[v[e],t[e]];else x.always(t[x.status]);return this},abort:function(t){t=t||a;return d&&d.abort(t),s(0,t),this}};if(m.promise(x).complete=y.add,x.success=x.done,x.error=x.fail,f.url=((t||f.url||de)+"").replace(ge,"").replace(be,he[1]+"//"),f.type=e.method||e.type||f.method||f.type,f.dataTypes=vt.trim(f.dataType||"*").toLowerCase().match(_)||[""],null==f.crossDomain&&(t=xe.exec(f.url.toLowerCase()),f.crossDomain=!(!t||t[1]===he[1]&&t[2]===he[2]&&(t[3]||("http:"===t[1]?"80":"443"))===(he[3]||("http:"===he[1]?"80":"443")))),f.data&&f.processData&&"string"!=typeof f.data&&(f.data=vt.param(f.data,f.traditional)),Me(Se,f,e,x),2===b)return x;for(n in(h=f.global)&&0==vt.active++&&vt.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!ve.test(f.type),l=f.url,f.hasContent||(f.data&&(l=f.url+=(pe.test(l)?"&":"?")+f.data,delete f.data),!1===f.cache&&(f.url=me.test(l)?l.replace(me,"$1_="+fe++):l+(pe.test(l)?"&":"?")+"_="+fe++)),f.ifModified&&(vt.lastModified[l]&&x.setRequestHeader("If-Modified-Since",vt.lastModified[l]),vt.etag[l]&&x.setRequestHeader("If-None-Match",vt.etag[l])),(f.data&&f.hasContent&&!1!==f.contentType||e.contentType)&&x.setRequestHeader("Content-Type",f.contentType),x.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Ce+"; q=0.01":""):f.accepts["*"]),f.headers)x.setRequestHeader(n,f.headers[n]);if(f.beforeSend&&(!1===f.beforeSend.call(p,x,f)||2===b))return x.abort();for(n in a="abort",{success:1,error:1,complete:1})x[n](f[n]);if(d=Me(_e,f,e,x)){x.readyState=1,h&&g.trigger("ajaxSend",[x,f]),f.async&&0n;n++)(t=e[n])()||e[n]!==t||e.splice(n--,1);e.length||vt.fx.stop(),Ie=w},vt.fx.timer=function(t){t()&&vt.timers.push(t)&&vt.fx.start()},vt.fx.interval=13,vt.fx.start=function(){Ne=Ne||setInterval(vt.fx.tick,vt.fx.interval)},vt.fx.stop=function(){clearInterval(Ne),Ne=null},vt.fx.speeds={slow:600,fast:200,_default:400},vt.fx.step={},vt.expr&&vt.expr.filters&&(vt.expr.filters.animated=function(e){return vt.grep(vt.timers,function(t){return e===t.elem}).length}),vt.fn.offset=function(e){if(arguments.length)return e===w?this:this.each(function(t){vt.offset.setOffset(this,e,t)});var t,n={top:0,left:0},i=this[0],r=i&&i.ownerDocument;return r?(t=r.documentElement,vt.contains(t,i)?(typeof i.getBoundingClientRect!==g&&(n=i.getBoundingClientRect()),r=Ye(r),{top:n.top+(r.pageYOffset||t.scrollTop)-(t.clientTop||0),left:n.left+(r.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):n):void 0},vt.offset={setOffset:function(t,e,n){var i=vt.css(t,"position");"static"===i&&(t.style.position="relative");var r,o,a=vt(t),s=a.offset(),l=vt.css(t,"top"),u=vt.css(t,"left"),c={},u=("absolute"===i||"fixed"===i)&&-1this.$items.length-1||t<0?void 0:this.sliding?this.$element.one("slid",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(n .panel > .in");if(t&&t.length){var e=t.data("bs.collapse");if(e&&e.transitioning)return;t.collapse("hide"),e||t.data("bs.collapse",null)}var n=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[n](0),this.transitioning=1;e=function(){this.$element.removeClass("collapsing").addClass("in")[n]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return e.call(this);t=a.camelCase(["scroll",n].join("-"));this.$element.one(a.support.transition.end,a.proxy(e,this)).emulateTransitionEnd(350)[n](this.$element[0][t])}}},r.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=a.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var e=this.dimension();this.$element[e](this.$element[e]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;t=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?void this.$element[e](0).one(a.support.transition.end,a.proxy(t,this)).emulateTransitionEnd(350):t.call(this)}}},r.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var t=a.fn.collapse;a.fn.collapse=function(i){return this.each(function(){var t=a(this),e=t.data("bs.collapse"),n=a.extend({},r.DEFAULTS,t.data(),"object"==typeof i&&i);e||t.data("bs.collapse",e=new r(this,n)),"string"==typeof i&&e[i]()})},a.fn.collapse.Constructor=r,a.fn.collapse.noConflict=function(){return a.fn.collapse=t,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(t){var e=a(this),n=e.attr("data-target")||t.preventDefault()||(o=e.attr("href"))&&o.replace(/.*(?=#[^\s]+$)/,""),i=a(n),r=i.data("bs.collapse"),t=r?"toggle":e.data(),o=e.attr("data-parent"),n=o&&a(o);r&&r.transitioning||(n&&n.find('[data-toggle=collapse][data-parent="'+o+'"]').not(e).addClass("collapsed"),e[i.hasClass("in")?"addClass":"removeClass"]("collapsed")),i.collapse(t)})}(jQuery),function(r){"use strict";function o(){r(".dropdown-backdrop").remove(),r(s).each(function(t){var e=a(r(this));e.hasClass("open")&&(e.trigger(t=r.Event("hide.bs.dropdown")),t.isDefaultPrevented()||e.removeClass("open").trigger("hidden.bs.dropdown"))})}function a(t){var e=t.attr("data-target"),e=(e=!e?(e=t.attr("href"))&&/#/.test(e)&&e.replace(/.*(?=#[^\s]*$)/,""):e)&&r(e);return e&&e.length?e:t.parent()}function i(t){r(t).on("click.bs.dropdown",this.toggle)}var s="[data-toggle=dropdown]";i.prototype.toggle=function(t){var e=r(this);if(!e.is(".disabled, :disabled")){var n=a(e),i=n.hasClass("open");if(o(),!i){if("ontouchstart"in document.documentElement&&!n.closest(".navbar-nav").length&&r(''}),((r.prototype=i.extend({},i.fn.tooltip.Constructor.prototype)).constructor=r).prototype.getDefaults=function(){return r.DEFAULTS},r.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content")[this.options.html?"html":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},r.prototype.hasContent=function(){return this.getTitle()||this.getContent()},r.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},r.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},r.prototype.tip=function(){return this.$tip||(this.$tip=i(this.options.template)),this.$tip};var t=i.fn.popover;i.fn.popover=function(n){return this.each(function(){var t=i(this),e=t.data("bs.popover");e||t.data("bs.popover",e=new r(this,"object"==typeof n&&n)),"string"==typeof n&&e[n]()})},i.fn.popover.Constructor=r,i.fn.popover.noConflict=function(){return i.fn.popover=t,this}}(jQuery),function(r){"use strict";function i(t,e){var n=r.proxy(this.process,this);this.$element=r(t).is("body")?r(window):r(t),this.$body=r("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",n),this.options=r.extend({},i.DEFAULTS,e),this.selector=(this.options.target||(t=r(t).attr("href"))&&t.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=r([]),this.targets=r([]),this.activeTarget=null,this.refresh(),this.process()}i.DEFAULTS={offset:10},i.prototype.refresh=function(){var n=this.$element[0]==window?"offset":"position";this.offsets=r([]),this.targets=r([]);var i=this;this.$body.find(this.selector).map(function(){var t=r(this),e=t.data("target")||t.attr("href"),t=/^#\w/.test(e)&&r(e);return t&&t.length?[[t[n]().top+(!r.isWindow(i.$scrollElement.get(0))&&i.$scrollElement.scrollTop()),e]]:null}).sort(function(t,e){return t[0]-e[0]}).each(function(){i.offsets.push(this[0]),i.targets.push(this[1])})},i.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=(this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight)-this.$scrollElement.height(),i=this.offsets,r=this.targets,o=this.activeTarget;if(n<=e)return o!=(t=r.last()[0])&&this.activate(t);for(t=i.length;t--;)o!=r[t]&&e>=i[t]&&(!i[t+1]||e<=i[t+1])&&this.activate(r[t])},i.prototype.activate=function(t){this.activeTarget=t,r(this.selector).parents(".active").removeClass("active");t=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',t=r(t).parents("li").addClass("active");(t=t.parent(".dropdown-menu").length?t.closest("li.dropdown").addClass("active"):t).trigger("activate")};var t=r.fn.scrollspy;r.fn.scrollspy=function(n){return this.each(function(){var t=r(this),e=t.data("bs.scrollspy");e||t.data("bs.scrollspy",e=new i(this,"object"==typeof n&&n)),"string"==typeof n&&e[n]()})},r.fn.scrollspy.Constructor=i,r.fn.scrollspy.noConflict=function(){return r.fn.scrollspy=t,this},r(window).on("load",function(){r('[data-spy="scroll"]').each(function(){var t=r(this);t.scrollspy(t.data())})})}(jQuery),function(a){"use strict";function i(t){this.element=a(t)}i.prototype.show=function(){var t,e,n=this.element,i=n.closest("ul:not(.dropdown-menu)"),r=n.data("target");r||(r=(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]*$)/,"")),n.parent("li").hasClass("active")||(t=i.find(".active:last a")[0],e=a.Event("show.bs.tab",{relatedTarget:t}),n.trigger(e),e.isDefaultPrevented()||(r=a(r),this.activate(n.parent("li"),i),this.activate(r,r.parent(),function(){n.trigger({type:"shown.bs.tab",relatedTarget:t})})))},i.prototype.activate=function(t,e,n){function i(){r.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),t.addClass("active"),o?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu")&&t.closest("li.dropdown").addClass("active"),n&&n()}var r=e.find("> .active"),o=n&&a.support.transition&&r.hasClass("fade");o?r.one(a.support.transition.end,i).emulateTransitionEnd(150):i(),r.removeClass("in")};var t=a.fn.tab;a.fn.tab=function(n){return this.each(function(){var t=a(this),e=t.data("bs.tab");e||t.data("bs.tab",e=new i(this)),"string"==typeof n&&e[n]()})},a.fn.tab.Constructor=i,a.fn.tab.noConflict=function(){return a.fn.tab=t,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(t){t.preventDefault(),a(this).tab("show")})}(jQuery),function(a){"use strict";var s=function(t,e){this.options=a.extend({},s.DEFAULTS,e),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(t),this.affixed=this.unpin=null,this.checkPosition()};s.RESET="affix affix-top affix-bottom",s.DEFAULTS={offset:0},s.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},s.prototype.checkPosition=function(){var t,e,n,i,r,o;this.$element.is(":visible")&&(t=a(document).height(),e=this.$window.scrollTop(),n=this.$element.offset(),o=(i=this.options.offset).top,r=i.bottom,"object"!=typeof i&&(r=o=i),"function"==typeof o&&(o=i.top()),"function"==typeof r&&(r=i.bottom()),o=!(null!=this.unpin&&e+this.unpin<=n.top)&&(null!=r&&n.top+this.$element.height()>=t-r?"bottom":null!=o&&e<=o&&"top"),this.affixed!==o&&(this.unpin&&this.$element.css("top",""),this.affixed=o,this.unpin="bottom"==o?n.top-e:null,this.$element.removeClass(s.RESET).addClass("affix"+(o?"-"+o:"")),"bottom"==o&&this.$element.offset({top:document.body.offsetHeight-r-this.$element.height()})))};var t=a.fn.affix;a.fn.affix=function(n){return this.each(function(){var t=a(this),e=t.data("bs.affix");e||t.data("bs.affix",e=new s(this,"object"==typeof n&&n)),"string"==typeof n&&e[n]()})},a.fn.affix.Constructor=s,a.fn.affix.noConflict=function(){return a.fn.affix=t,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var t=a(this),e=t.data();e.offset=e.offset||{},e.offsetBottom&&(e.offset.bottom=e.offsetBottom),e.offsetTop&&(e.offset.top=e.offsetTop),t.affix(e)})})}(jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.moment=e()}(this,function(){"use strict";function f(){return Pt.apply(null,arguments)}function r(t){return"[object Array]"===Object.prototype.toString.call(t)}function i(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function p(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function a(t,e){for(var n in e)p(e,n)&&(t[n]=e[n]);return p(e,"toString")&&(t.toString=e.toString),p(e,"valueOf")&&(t.valueOf=e.valueOf),t}function o(t,e,n,i){return Z(t,e,n,i,!0).utc()}function g(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}),t._pf}function s(t){var e;return null==t._isValid&&(e=g(t),t._isValid=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated,t._strict&&(t._isValid=t._isValid&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour)),t._isValid}function l(t){var e=o(NaN);return null!=t?a(g(e),t):g(e).userInvalidated=!0,e}function u(t,e){var n,i,r;if(void 0!==e._isAMomentObject&&(t._isAMomentObject=e._isAMomentObject),void 0!==e._i&&(t._i=e._i),void 0!==e._f&&(t._f=e._f),void 0!==e._l&&(t._l=e._l),void 0!==e._strict&&(t._strict=e._strict),void 0!==e._tzm&&(t._tzm=e._tzm),void 0!==e._isUTC&&(t._isUTC=e._isUTC),void 0!==e._offset&&(t._offset=e._offset),void 0!==e._pf&&(t._pf=g(e)),void 0!==e._locale&&(t._locale=e._locale),0=e&&m(r,n,!0)>=e-1)break;e--}o++}return null}(t)}function t(t,e){var n=t.toLowerCase();Nt[n]=Nt[n+"s"]=Nt[e]=t}function S(t){return"string"==typeof t?Nt[t]||Nt[t.toLowerCase()]:void 0}function _(t){var e,n,i={};for(n in t)p(t,n)&&(e=S(n),e&&(i[e]=t[n]));return i}function e(e,n){return function(t){return null!=t?(k(this,e,t),f.updateOffset(this,n),this):C(this,e)}}function C(t,e){return t._d["get"+(t._isUTC?"UTC":"")+e]()}function k(t,e,n){return t._d["set"+(t._isUTC?"UTC":"")+e](n)}function M(t,e){if("object"==typeof t)for(var n in t)this.set(n,t[n]);else if("function"==typeof this[t=S(t)])return this[t](e);return this}function T(t,e,n){for(var i=""+Math.abs(t),t=0<=t;i.lengthI(e[te],e[ee])?ne:e[ie]<0||24$(s)&&(g(t)._overflowDayOfYear=!0),s=W(s,0,t._dayOfYear),t._a[ee]=s.getUTCMonth(),t._a[ne]=s.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=c[e]=n[e];for(;e<7;e++)t._a[e]=c[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[ie]&&0===t._a[re]&&0===t._a[oe]&&0===t._a[ae]&&(t._nextDay=!0,t._a[ie]=0),t._d=(t._useUTC?W:z).apply(null,c),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[ie]=24)}}function X(t){if(t._f===f.ISO_8601)return B(t),0;t._a=[],g(t).empty=!0;for(var e,n,i,r,o,a,s,l=""+t._i,u=l.length,c=0,h=P(t._f,t._locale).match(Rt)||[],d=0;dthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Yt.isDSTShifted=function(){if(this._a){var t=(this._isUTC?o:K)(this._a);return this.isValid()&&0=this._config.preview;if(s)o.postMessage({results:i,workerId:x.WORKER_ID,finished:t});else if(F(this._config.chunk)&&!e){if(this._config.chunk(i,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=i=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(i.data),this._completeResults.errors=this._completeResults.errors.concat(i.errors),this._completeResults.meta=i.meta),this._completed||!t||!F(this._config.complete)||i&&i.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),t||i&&i.meta.paused||this._nextChunk(),i}this._halted=!0},this._sendError=function(t){F(this._config.error)?this._config.error(t):s&&this._config.error&&o.postMessage({workerId:x.WORKER_ID,error:t,finished:!1})}}function d(t){var i;(t=t||{}).chunkSize||(t.chunkSize=x.RemoteChunkSize),h.call(this,t),this._nextChunk=a?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(t){this._input=t,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(i=new XMLHttpRequest,this._config.withCredentials&&(i.withCredentials=this._config.withCredentials),a||(i.onload=_(this._chunkLoaded,this),i.onerror=_(this._chunkError,this)),i.open(this._config.downloadRequestBody?"POST":"GET",this._input,!a),this._config.downloadRequestHeaders){var t,e=this._config.downloadRequestHeaders;for(t in e)i.setRequestHeader(t,e[t])}var n;this._config.chunkSize&&(n=this._start+this._config.chunkSize-1,i.setRequestHeader("Range","bytes="+this._start+"-"+n));try{i.send(this._config.downloadRequestBody)}catch(t){this._chunkError(t.message)}a&&0===i.status&&this._chunkError()}},this._chunkLoaded=function(){4===i.readyState&&(i.status<200||400<=i.status?this._chunkError():(this._start+=this._config.chunkSize||i.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(t){t=t.getResponseHeader("Content-Range");return null!==t?parseInt(t.substring(t.lastIndexOf("/")+1)):-1}(i),this.parseChunk(i.responseText)))},this._chunkError=function(t){t=i.statusText||t;this._sendError(new Error(t))}}function f(t){var n,i;(t=t||{}).chunkSize||(t.chunkSize=x.LocalChunkSize),h.call(this,t);var r="undefined"!=typeof FileReader;this.stream=function(t){this._input=t,i=t.slice||t.webkitSlice||t.mozSlice,r?((n=new FileReader).onload=_(this._chunkLoaded,this),n.onerror=_(this._chunkError,this)):n=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(t.target.result)},this._chunkError=function(){this._sendError(n.error)}}function p(t){var n;h.call(this,t=t||{}),this.stream=function(t){return n=t,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var t,e=this._config.chunkSize;return n=e?(t=n.substring(0,e),n.substring(e)):(t=n,""),this._finished=!n,this.parseChunk(t)}}}function g(t){h.call(this,t=t||{});var e=[],n=!0,i=!1;this.pause=function(){h.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){h.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(t){this._input=t,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){i&&1===e.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),e.length?this.parseChunk(e.shift()):n=!0},this._streamData=_(function(t){try{e.push("string"==typeof t?t:t.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(e.shift()))}catch(t){this._streamError(t)}},this),this._streamError=_(function(t){this._streamCleanUp(),this._sendError(t)},this),this._streamEnd=_(function(){this._streamCleanUp(),i=!0,this._streamData("")},this),this._streamCleanUp=_(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function m(t){var e=require("stream").Duplex,n=S(t),i=!0,r=!1,o=[],a=null;this._onCsvData=function(t){t=t.data;a.push(t)||this._handle.paused()||this._handle.pause()},this._onCsvComplete=function(){a.push(null)},n.step=_(this._onCsvData,this),n.complete=_(this._onCsvComplete,this),h.call(this,n),this._nextChunk=function(){r&&1===o.length&&(this._finished=!0),o.length?o.shift()():i=!0},this._addToParseQueue=function(t,e){o.push(_(function(){if(this.parseChunk("string"==typeof t?t:t.toString(n.encoding)),F(e))return e()},this)),i&&(i=!1,this._nextChunk())},this._onRead=function(){this._handle.paused()&&this._handle.resume()},this._onWrite=function(t,e,n){this._addToParseQueue(t,n)},this._onWriteComplete=function(){r=!0,this._addToParseQueue("")},this.getStream=function(){return a},(a=new e({readableObjectMode:!0,decodeStrings:!1,read:_(this._onRead,this),write:_(this._onWrite,this)})).once("finish",_(this._onWriteComplete,this))}function n(y){var o,a,s,e,l=Math.pow(2,53),u=-l,c=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)(e[-+]?\d+)?\s*$/,h=/(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))/,n=this,i=0,d=0,f=!1,t=!1,p=[],g={data:[],errors:[],meta:{}};function v(t){return"greedy"===y.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function m(){if(g&&s&&(b("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+x.DefaultDelimiter+"'"),s=!1),y.skipEmptyLines)for(var t=0;t=p.length?"__parsed_extra":p[i]:r,o=y.transform?y.transform(o,r):o);"__parsed_extra"===r?(n[r]=n[r]||[],n[r].push(o)):n[r]=o}return y.header&&(i>p.length?b("FieldMismatch","TooManyFields","Too many fields: expected "+p.length+" fields but parsed "+i,d+e):iy.preview?a.abort():(g.data=g.data[0],e(g,n))))}),this.parse=function(t,e,n){var i=y.quoteChar||'"';y.newline||(y.newline=function(t,e){t=t.substring(0,1048576);var e=new RegExp(R(e)+"([^]*?)"+R(e),"gm"),n=(t=t.replace(e,"")).split("\r"),t=t.split("\n"),t=1=n.length/2?"\r\n":"\r"}(t,i)),s=!1,y.delimiter?F(y.delimiter)&&(y.delimiter=y.delimiter(t),g.meta.delimiter=y.delimiter):((r=function(t,e,n,i,r){var o,a,s,l;r=r||[",","\t","|",";",x.RECORD_SEP,x.UNIT_SEP];for(var u=0;u=P)return C(!0)}else for(y=I,I++;;){if(-1===(y=s.indexOf(O,y+1)))return n||u.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:l.length,index:I}),S();if(y===i-1)return S(s.substring(I,y).replace(m,O));if(O!==L||s[y+1]!==L){if(O===L||0===y||s[y-1]!==L){-1!==p&&p=P)return C(!0);break}u.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:l.length,index:I}),y++}}else y++}return S();function x(t){l.push(t),h=I}function w(t){var e=0;return-1===t||(t=s.substring(y+1,t))&&""===t.trim()&&(e=t.length),e}function S(t){return n||(void 0===t&&(t=s.substring(I)),c.push(t),I=i,x(c),a&&k()),C()}function _(t){I=t,x(c),c=[],g=s.indexOf(T,I)}function C(t){return{data:l,errors:u,meta:{delimiter:M,linebreak:T,aborted:N,truncated:!!t,cursor:h+(e||0)}}}function k(){A(C()),l=[],u=[]}},this.abort=function(){N=!0},this.getCharIndex=function(){return I}}function y(t){var e=t.data,n=l[e.workerId],i=!1;if(e.error)n.userError(e.error,e.file);else if(e.results&&e.results.data){var r={abort:function(){i=!0,v(e.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:b,resume:b};if(F(n.userStep)){for(var o=0;o>>1;o(t[r],e)<0?n=1+r:i=r}return n},right:function(t,e,n,i){for(arguments.length<3&&(n=0),arguments.length<4&&(i=t.length);n>>1;0>16,255&t>>8,255&t)}function dt(t){return ht(t)+""}function ft(t){return t<16?"0"+Math.max(0,t).toString(16):Math.min(255,t).toString(16)}function pt(t,e,n){var i,r,o=0,a=0,s=0;if(r=/([a-z]+)\((.*)\)/i.exec(t))switch(i=r[2].split(","),r[1]){case"hsl":return n(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return e(vt(i[0]),vt(i[1]),vt(i[2]))}return(r=Fo.get(t))?e(r.r,r.g,r.b):(null==t||"#"!==t.charAt(0)||isNaN(r=parseInt(t.slice(1),16))||(4===t.length?(o=(3840&r)>>4,o|=o>>4,a=240&r,a|=a>>4,s=15&r,s|=s<<4):7===t.length&&(o=(16711680&r)>>16,a=(65280&r)>>8,s=255&r)),e(o,a,s))}function gt(t,e,n){var i,r,o=Math.min(t/=255,e/=255,n/=255),a=Math.max(t,e,n),s=a-o,l=(a+o)/2;return s?(r=l<.5?s/(a+o):s/(2-a-o),i=t==a?(e-n)/s+(e=Wo.t&&(Wo.f=Wo.c(t-Wo.t)),Wo=Wo.n;return t}function kt(){for(var t,e=jo,n=1/0;e;)e=e.f?t?t.n=e.n:jo=e.n:(e.tg}function f(t,e,n){var i=[1,0,0],r=oe(ie(t),ie(e)),o=re(r,r),a=r[0],s=o-a*a;if(!s)return!n&&t;var l=oe(i,r),u=se(i,g*o/s);ae(u,se(r,-g*a/s));var c=l,h=re(u,c),i=re(c,c),o=h*h-i*(re(u,u)-1);if(!(o<0)){r=Math.sqrt(o),a=se(c,(-h-r)/i);if(ae(a,u),a=ue(a),!n)return a;var d,s=t[0],l=e[0],o=t[1],n=e[1];lwo;return we(d,function(a){var s,l,u,c,h;return{lineStart:function(){c=u=!1,h=1},point:function(t,e){var n,i,r=[t,e],o=d(t,e),e=m?o?0:p(t,e):o?p(t+(t<0?_o:-_o),e):0;!s&&(c=u=o)&&a.lineStart(),o!==u&&(n=f(s,r),(ce(s,n)||ce(r,n))&&(r[0]+=wo,r[1]+=wo,o=d(r[0],r[1]))),o!==u?(h=0,o?(a.lineStart(),n=f(r,s),a.point(n[0],n[1])):(n=f(s,r),a.point(n[0],n[1]),a.lineEnd()),s=n):y&&s&&m^o&&(e&l||!(i=f(r,s,!0))||(h=0,m?(a.lineStart(),a.point(i[0][0],i[0][1]),a.point(i[1][0],i[1][1]),a.lineEnd()):(a.point(i[1][0],i[1][1]),a.lineEnd(),a.lineStart(),a.point(i[0][0],i[0][1])))),!o||s&&ce(s,r)||a.point(r[0],r[1]),s=r,u=o,l=e},lineEnd:function(){u&&a.lineEnd(),s=null},clean:function(){return h|(c&&u)<<1}}},Ze(r,6*To),m?[0,-r]:[-_o,r-_o])}function Me(l,u,c,h){return function(t){var e=t.a,n=t.b,i=e.x,r=e.y,o=0,a=1,s=n.x-i,e=n.y-r,n=l-i;if(s||!(0i&&0wo||no(i-l)>wo)&&(a.splice(o,0,new En(function(t,e,n){t=new Dn(t,null);return t.a=e,t.b=n,rs.push(t),t}(r.site,u,no(n-c)=s)return}else i={x:l,y:a};n={x:l,y:s}}else{if(i){if(i.y=s)return}else i={x:(a-l)/u,y:a};n={x:(s-l)/u,y:s}}else{if(i){if(i.y=o)return}else i={x:r,y:u*r+l};n={x:o,y:u*o+l}}else{if(i){if(i.xo&&(r=i.slice(o,r),s[a]?s[a]+=r:s[++a]=r),(e=e[0])===(n=n[0])?s[a]?s[a]+=n:s[++a]=n:(s[++a]=null,l.push({i:a,x:qn(e,n)})),o=fs.lastIndex;return or&&(i=n,r=e);return i}function Ai(t){return t.reduce(Pi,0)}function Pi(t,e){return t+e[1]}function Ei(t,e){return Oi(t,Math.ceil(Math.log(e.length)/Math.LN2+1))}function Oi(t,e){for(var n=-1,i=+t[0],r=(t[1]-i)/e,o=[];++n<=e;)o[n]=r*n+i;return o}function Li(t){return[qr.min(t),qr.max(t)]}function Ii(t,e){return t.value-e.value}function Ni(t,e){var n=t._pack_next;(t._pack_next=e)._pack_prev=t,(e._pack_next=n)._pack_prev=e}function Ri(t,e){(t._pack_next=e)._pack_prev=t}function Fi(t,e){var n=e.x-t.x,i=e.y-t.y,e=t.r+e.r;return n*n+i*i<.999*e*e}function ji(t){function e(t){l=Math.min(t.x-t.r,l),u=Math.max(t.x+t.r,u),c=Math.min(t.y-t.r,c),h=Math.max(t.y+t.r,h)}if((n=t.children)&&(s=n.length)){var n,i,r,o,a,s,l=1/0,u=-1/0,c=1/0,h=-1/0;if(n.forEach(Hi),(i=n[0]).x=-i.r,i.y=0,e(i),1d)return i();var e=p[p.active];e&&(--p.count,delete p[p.active],e.event&&e.event.interrupt.call(u,u.__data__,e.index)),p.active=d,g.event&&g.event.start.call(u,u.__data__,c),g.tween.forEach(function(t,e){(e=e.call(u,u.__data__,c))&&l.push(e)}),o=g.ease,r=g.duration,qr.timer(function(){return s.c=n(t||1)?ye:n,1},0,f)}function n(t){if(p.active!==d)return 1;for(var t=t/r,e=o(t),n=l.length;0e;)r.push(i/o);else for(;(i=t+n*++a)=g.length)return f?f.call(p,t):d?t.sort(d):t;for(var e,r,o,a,s=-1,l=t.length,u=g[i++],c=new v;++s=g.length)return t;var r=[],o=e[i++];return t.forEach(function(t,e){r.push({key:t,values:n(e,i)})}),o?r.sort(function(t,e){return o(t.key,e.key)}):r}(h(qr.map,t,0),0)},p.key=function(t){return g.push(t),p},p.sortKeys=function(t){return e[g.length-1]=t,p},p.sortValues=function(t){return d=t,p},p.rollup=function(t){return f=t,p},p},qr.set=function(t){var e=new f;if(t)for(var n=0,i=t.length;n=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,Yo=qr.map({b:function(t){return t.toString(2)},c:function(t){return String.fromCharCode(t)},o:function(t){return t.toString(8)},x:function(t){return t.toString(16)},X:function(t){return t.toString(16).toUpperCase()},g:function(t,e){return t.toPrecision(e)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},r:function(t,e){return(t=qr.round(t,Mt(t,e))).toFixed(Math.max(0,Math.min(20,Mt(t*(1+1e-15),e))))}}),Go=qr.time={},Xo=Date;Dt.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){Vo.setUTCDate.apply(this._,arguments)},setDay:function(){Vo.setUTCDay.apply(this._,arguments)},setFullYear:function(){Vo.setUTCFullYear.apply(this._,arguments)},setHours:function(){Vo.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){Vo.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){Vo.setUTCMinutes.apply(this._,arguments)},setMonth:function(){Vo.setUTCMonth.apply(this._,arguments)},setSeconds:function(){Vo.setUTCSeconds.apply(this._,arguments)},setTime:function(){Vo.setTime.apply(this._,arguments)}};var Vo=Date.prototype;Go.year=At(function(t){return(t=Go.day(t)).setMonth(0,1),t},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t){return t.getFullYear()}),Go.years=Go.year.range,Go.years.utc=Go.year.utc.range,Go.day=At(function(t){var e=new Xo(2e3,0);return e.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),e},function(t,e){t.setDate(t.getDate()+e)},function(t){return t.getDate()-1}),Go.days=Go.day.range,Go.days.utc=Go.day.utc.range,Go.dayOfYear=function(t){var e=Go.year(t);return Math.floor((t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(t,n){n=7-n;var e=Go[t]=At(function(t){return(t=Go.day(t)).setDate(t.getDate()-(t.getDay()+n)%7),t},function(t,e){t.setDate(t.getDate()+7*Math.floor(e))},function(t){var e=Go.year(t).getDay();return Math.floor((Go.dayOfYear(t)+(e+n)%7)/7)-(e!==n)});Go[t+"s"]=e.range,Go[t+"s"].utc=e.utc.range,Go[t+"OfYear"]=function(t){var e=Go.year(t).getDay();return Math.floor((Go.dayOfYear(t)+(e+n)%7)/7)}}),Go.week=Go.sunday,Go.weeks=Go.sunday.range,Go.weeks.utc=Go.sunday.utc.range,Go.weekOfYear=Go.sundayOfYear;var Zo={"-":"",_:" ",0:"0"},Ko=/^\s*\d+/,Jo=/^%/;qr.locale=function(t){return{numberFormat:(w=t.decimal,s=t.thousands,l=t.grouping,n=t.currency,S=l&&s?function(t,e){for(var n=t.length,i=[],r=0,o=l[0],a=0;0e));)o=l[r=(r+1)%l.length];return i.reverse().join(s)}:xt,function(t){var t=Uo.exec(t),s=t[1]||" ",l=t[2]||">",u=t[3]||"-",e=t[4]||"",c=t[5],h=+t[6],d=t[7],f=t[8],p=t[9],g=1,m="",y="",v=!1,b=!0,f=f&&+f.substring(1);switch((c||"0"===s&&"="===l)&&(c=s="0",l="="),p){case"n":d=!0,p="g";break;case"%":g=100,y="%",p="f";break;case"p":g=100,y="%",p="r";break;case"b":case"o":case"x":case"X":"#"===e&&(m="0"+p.toLowerCase());case"c":b=!1;case"d":v=!0,f=0;break;case"s":g=-1,p="r"}"$"===e&&(m=n[0],y=n[1]),"r"!=p||f||(p="g"),null!=f&&("g"==p?f=Math.max(1,Math.min(21,f)):"e"!=p&&"f"!=p||(f=Math.max(0,Math.min(20,f))));var p=Yo.get(p)||Tt,x=c&&d;return function(t){var e=y;if(v&&t%1)return"";var n=t<0||0===t&&1/t<0?(t=-t,"-"):"-"===u?"":u;g<0?(t=(r=qr.formatPrefix(t,f)).scale(t),e=r.symbol+y):t*=g;var i,r,o=(t=p(t,f)).lastIndexOf(".");r=o<0?(a=b?t.lastIndexOf("e"):-1)<0?(i=t,""):(i=t.substring(0,a),t.substring(a)):(i=t.substring(0,o),w+t.substring(o+1)),!c&&d&&(i=S(i,1/0));var a=m.length+i.length+r.length+(x?0:n.length),o=a"===l?o+n+t:"^"===l?o.substring(0,a>>=1)+n+t+o.substring(a):n+(x?t:o+t))+e}}),timeFormat:Et(t)};var w,s,l,n,S};Qr=qr.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});qr.format=Qr.numberFormat,qr.geo={},Kt.prototype={s:0,t:0,add:function(t){Jt(t,this.t,Qo),Jt(Qo.s,this.s,this),this.s?this.t+=Qo.t:this.s=Qo.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var Qo=new Kt;qr.geo.stream=function(t,e){t&&ta.hasOwnProperty(t.type)?ta[t.type](t,e):Qt(t,e)};var ta={Feature:function(t,e){Qt(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,i=-1,r=n.length;++iCa(ia,oa)&&(oa=t):Ca(t,oa)>Ca(ia,oa)&&(ia=t):ia<=oa?(tCa(ia,oa)&&(oa=t):Ca(t,oa)>Ca(ia,oa)&&(ia=t)):ya(t,e),ca=s,sa=t}function ba(){pa.point=va}function xa(){fa[0]=ia,fa[1]=oa,pa.point=ya,ca=null}function wa(t,e){var n;ca?ha+=180wo&&(ia=-(oa=180)),fa[0]=ia,fa[1]=oa,ca=null}function Ca(t,e){return(e-=t)<0?e+360:e}function ka(t,e){return t[0]-e[0]}function Ma(t,e){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:tCa(s[0],s[1])&&(s[1]=r[1]),Ca(r[0],s[1])>Ca(s[0],s[1])&&(s[0]=r[0])):n.push(s=r);for(var i,r,o,a=-1/0,e=0,s=n[o=n.length-1];e<=o;s=r,++e)r=n[e],(i=Ca(s[1],r[0]))>a&&(a=i,ia=r[0],oa=s[1])}return da=fa=null,1/0===ia||1/0===ra?[[NaN,NaN],[NaN,NaN]]:[[ia,ra],[oa,aa]]}),qr.geo.centroid=function(t){Ta=Da=Aa=Pa=Ea=Oa=La=Ia=Na=Ra=Fa=0,qr.geo.stream(t,ja);var e=Na,n=Ra,i=Fa,t=e*e+n*n+i*i;return two?Math.atan((Math.sin(i)*(l=Math.cos(o))*Math.sin(r)-Math.sin(o)*(r=Math.cos(i))*Math.sin(n))/(r*l*a)):(i+o)/2,u.point(f,d),u.lineEnd(),u.lineStart(),u.point(s,d),c=0),u.point(h=t,d=e),f=s},lineEnd:function(){u.lineEnd(),h=d=NaN},clean:function(){return 2-c}}},function(t,e,n,i){var r;null==t?(i.point(-_o,r=n*Mo),i.point(0,r),i.point(_o,r),i.point(_o,0),i.point(_o,-r),i.point(0,-r),i.point(-_o,-r),i.point(-_o,0),i.point(-_o,r)):no(t[0]-e[0])>wo?(t=t[0]wo}).map(c)).concat(qr.range(Math.ceil(s/g)*g,a,g).filter(function(t){return no(t%y)>wo}).map(h))}var n,i,r,o,a,s,l,u,c,h,d,f,p=10,g=p,m=90,y=360,v=2.5;return e.lines=function(){return t().map(function(t){return{type:"LineString",coordinates:t}})},e.outline=function(){return{type:"Polygon",coordinates:[d(o).concat(f(l).slice(1),d(r).reverse().slice(1),f(u).reverse().slice(1))]}},e.extent=function(t){return arguments.length?e.majorExtent(t).minorExtent(t):e.minorExtent()},e.majorExtent=function(t){return arguments.length?(o=+t[0][0],r=+t[1][0],u=+t[0][1],l=+t[1][1],r=o&&t.x<=s&&t.y>=a&&t.y<=l?[[o,l],[s,l],[s,a],[o,a]]:[]).point=i[e]}),r}function n(t){return t.map(function(t,e){return{x:Math.round(o(t,e)/wo)*wo,y:Math.round(a(t,e)/wo)*wo,i:e}})}var i=un,r=cn,o=i,a=r,u=hs;return t?e(t):(e.links=function(e){return Fn(n(e)).edges.filter(function(t){return t.l&&t.r}).map(function(t){return{source:e[t.l.i],target:e[t.r.i]}})},e.triangles=function(u){var c=[];return Fn(n(u)).cells.forEach(function(t,e){for(var n,i=t.site,r=t.edges.sort(_n),o=-1,a=r.length,s=r[a-1].edge,l=s.l===i?s.r:s.l;++ol&&(l=e.x),e.y>u&&(u=e.y),n.push(e.x),i.push(e.y);else for(r=0;r=a[0]&&i<=a[1]&&((n=r[qr.bisect(s,i,1,u)-1]).y+=c,n.push(t[e]));return r}var h=!0,d=Number,f=Li,p=Ei;return n.value=function(t){return arguments.length?(d=t,n):d},n.range=function(t){return arguments.length?(f=bt(t),n):f},n.bins=function(e){return arguments.length?(p="number"==typeof e?function(t){return Oi(t,e)}:bt(e),n):p},n.frequency=function(t){return arguments.length?(h=!!t,n):h},n},qr.layout.pack=function(){function e(t,e){var n,i=s.call(this,t,e),r=i[0],t=u[0],e=u[1],o=null==a?Math.sqrt:"function"==typeof a?a:function(){return a};return r.x=r.y=0,vi(r,function(t){t.r=+o(t.value)}),vi(r,ji),l&&(n=l*(a?1:Math.max(2*r.r/t,2*r.r/e))/2,vi(r,function(t){t.r+=n}),vi(r,ji),vi(r,function(t){t.r-=n})),function t(e,n,i,r){var o=e.children;if(e.x=n+=r*e.x,e.y=i+=r*e.y,e.r*=r,o)for(var a=-1,s=o.length;++ai.x&&(i=t),t.depth>r.depth&&(r=t)}),o=f(n,i)/2-n.x,a=p[0]/(i.x+f(i,n)/2+o),s=p[1]/(r.depth||1),yi(t,function(t){t.x=(t.x+o)*a,t.y=t.depth*s})),l}function u(t){var e=t.children,n=t.parent.children,i=t.i?n[t.i-1]:null;e.length?(function(t){for(var e,n=0,i=0,r=t.children,o=r.length;0<=--o;)(e=r[o]).z+=n,e.m+=n,n+=e.s+(i+=e.c)}(t),e=(e[0].z+e[e.length-1].z)/2,i?(t.z=i.z+f(t._,i._),t.m=t.z-e):t.z=e):i&&(t.z=i.z+f(t._,i._)),t.parent.A=function(t,e,n){if(e){for(var i,r=t,o=t,a=e,s=r.parent.children[0],l=r.m,u=o.m,c=a.m,h=s.m;a=qi(a),r=$i(r),a&&r;)s=$i(s),(o=qi(o)).a=t,0<(i=a.z+c-r.z-l+f(a._,r._))&&(function(t,e,n){var i=n/(e.i-t.i);e.c-=i,e.s+=n,t.c+=i,e.z+=n,e.m+=n}(function(t,e,n){return t.a.parent===e.parent?t.a:n}(a,t,n),t,i),l+=i,u+=i),c+=a.m,l+=r.m,h+=s.m,u+=o.m;a&&!qi(o)&&(o.t=a,o.m+=c-u),r&&!$i(s)&&(s.t=r,s.m+=l-h,n=t)}return n}(t,i,t.parent.A||n[0])}function c(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function h(t){t.x*=p[0],t.y=t.depth*p[1]}var d=qr.layout.hierarchy().sort(null).value(null),f=Wi,p=[1,1],g=null;return e.separation=function(t){return arguments.length?(f=t,e):f},e.size=function(t){return arguments.length?(g=null==(p=t)?h:null,e):g?null:p},e.nodeSize=function(t){return arguments.length?(g=null==(p=t)?null:h,e):g?p:null},mi(e,d)},qr.layout.cluster=function(){function e(t,e){var i,n=l.call(this,t,e),r=n[0],o=0;vi(r,function(t){var e,n=t.children;n&&n.length?(t.x=(e=n).reduce(function(t,e){return t+e.x},0)/e.length,t.y=1+qr.max(n,function(t){return t.y})):(t.x=i?o+=u(t,i):0,t.y=0,i=t)});var t=function t(e){var n=e.children;return n&&n.length?t(n[0]):e}(r),e=function t(e){var n,i=e.children;return i&&(n=i.length)?t(i[n-1]):e}(r),a=t.x-u(t,e)/2,s=e.x+u(e,t)/2;return vi(r,h?function(t){t.x=(t.x-r.x)*c[0],t.y=(r.y-t.y)*c[1]}:function(t){t.x=(t.x-a)/(s-a)*c[0],t.y=(1-(r.y?t.y/r.y:1))*c[1]}),n}var l=qr.layout.hierarchy().sort(null).value(null),u=Wi,c=[1,1],h=!1;return e.separation=function(t){return arguments.length?(u=t,e):u},e.size=function(t){return arguments.length?(h=null==(c=t),e):h?null:c},e.nodeSize=function(t){return arguments.length?(h=null!=(c=t),e):h?c:null},mi(e,l)},qr.layout.treemap=function(){function u(t,e){for(var n,i,r=-1,o=t.length;++rn.dy)&&(u=n.dy);++on.dx)&&(u=n.dx);++oi;o--);e=e.slice(r,o)}return e},o.tickFormat=function(t,e){if(!arguments.length)return Ms;arguments.length<2?e=Ms:"function"!=typeof e&&(e=qr.format(e));var n,i=Math.max(.1,t/o.ticks().length),r=u?(n=1e-12,Math.ceil):(n=-1e-12,Math.floor);return function(t){return t/d(r(h(t)+n))<=i?e(t):""}},o.copy=function(){return t(e.copy(),l,u,c)},Ji(o,e)}(qr.scale.linear().domain([0,1]),10,!0,[1,10])};var Ms=qr.format(".0e"),Ts={floor:function(t){return-Math.ceil(-t)},ceil:function(t){return-Math.floor(-t)}};qr.scale.pow=function(){return function t(e,n,i){function r(t){return e(o(t))}var o=rr(n),a=rr(1/n);return r.invert=function(t){return a(e.invert(t))},r.domain=function(t){return arguments.length?(e.domain((i=t.map(Number)).map(o)),r):i},r.ticks=function(t){return er(i,t)},r.tickFormat=function(t,e){return nr(i,t,e)},r.nice=function(t){return r.domain(Qi(i,t))},r.exponent=function(t){return arguments.length?(o=rr(n=t),a=rr(1/n),e.domain(i.map(o)),r):n},r.copy=function(){return t(e.copy(),n,i)},Ji(r,e)}(qr.scale.linear(),1,[0,1])},qr.scale.sqrt=function(){return qr.scale.pow().exponent(.5)},qr.scale.ordinal=function(){return function t(s,l){function u(t){return h[((r.get(t)||("range"===l.t?r.set(t,s.push(t)):NaN))-1)%h.length]}function c(e,n){return qr.range(s.length).map(function(t){return e+n*t})}var r,h,d;return u.domain=function(t){if(!arguments.length)return s;s=[],r=new v;for(var e,n=-1,i=t.length;++nrect,.s>rect").attr("width",M[1]-M[0])}function x(t){t.select(".extent").attr("y",T[0]),t.selectAll(".extent,.e>rect,.w>rect").attr("height",T[1]-T[0])}function r(){function t(){var t=qr.mouse(o),e=!1;r&&(t[0]+=r[0],t[1]+=r[1]),f||(qr.event.altKey?(l=l||[(M[0]+M[1])/2,(T[0]+T[1])/2],g[0]=M[+(t[0]o;++o)if(r===s(e[o])){i=e[0],e[0]=e[o],e[o]=i;break}return e})}}function r(t,e){t={type:"Feature",id:e.id,properties:e.properties||{},geometry:o(t,e)};return null==e.id&&delete t.id,t}function o(t,e){function r(t,e){e.length&&e.pop();for(var n,i=l[t<0?~t:t],r=0,o=i.length;r>>1;t[r]>1)-1,i=a[n];if(0<=m(t,i))break;a[i._=e]=i,a[t._=e=n]=t}}function d(t,e){for(;;){var n=e+1<<1,i=n-1,r=e,o=a[r];if(i"+i),this.options.fills){if("defaultFill"===n){if(!e.defaultFillName)continue;r=e.defaultFillName}else r=e.labels&&e.labels[n]?e.labels[n]:n+": ";i+="
"+r+"
",i+='
 
'}i+="",h.select(this.options.element).append("div").attr("class","datamaps-legend").html(i)}}function n(){var t=h.geo.graticule();this.svg.insert("path",".datamaps-subunits").datum(t).attr("class","datamaps-graticule").attr("d",this.path)}function i(t,e,o){var a=this;if(this.svg,!e||e&&!e.slice)throw"Datamaps Error - arcs must be an array";for(var n=0;n'+t.properties.name+""},popupOnHover:!0,highlightOnHover:!0,highlightFillColor:"#FC8D59",highlightBorderColor:"rgba(250, 15, 160, 0.2)",highlightBorderWidth:2},projectionConfig:{rotation:[97,0]},bubblesConfig:{borderWidth:2,borderColor:"#FFFFFF",popupOnHover:!0,radius:null,popupTemplate:function(t,e){return'
'+e.name+"
"},fillOpacity:.75,animate:!0,highlightOnHover:!0,highlightFillColor:"#FC8D59",highlightBorderColor:"rgba(250, 15, 160, 0.2)",highlightBorderWidth:2,highlightFillOpacity:.85,exitDelay:100},arcConfig:{strokeColor:"#DD1C77",strokeWidth:1,arcSharpness:1,animationSpeed:600}};c.prototype.resize=function(){var t,e,n,i=this.options;i.responsive&&(t="-webkit-transform"in document.body.style?"-webkit-":"-moz-transform"in document.body.style?"-moz-":"-ms-transform"in document.body.style?"-ms-":"",e=i.element.clientWidth,n=h.select(i.element).select("svg").attr("data-width"),h.select(i.element).select("svg").selectAll("g").style(t+"transform","scale("+e/n+")"))},c.prototype.draw=function(){function n(t){i.options.dataUrl&&h[i.options.dataType](i.options.dataUrl,function(t){if("csv"===i.options.dataType&&t&&t.slice){for(var e={},n=0;n").css({position:"fixed",top:0,left:0,height:1,width:1,overflow:"hidden"}).append(O("
").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(O("
").css({width:"100%",height:10}))).appendTo("body")).children()).children(),e.barWidth=i[0].offsetWidth-i[0].clientWidth,e.bScrollOversize=100===r[0].offsetWidth&&100!==i[0].clientWidth,e.bScrollbarLeft=1!==Math.round(r.offset().left),e.bBounding=!!n[0].getBoundingClientRect().width,n.remove()),O.extend(t.oBrowser,ge.__browser),t.oScroll.iBarWidth=ge.__browser.barWidth}function n(t,e,n,i,r,o){var a,s=!1;for(n!==L&&(a=n,s=!0);i!==r;)t.hasOwnProperty(i)&&(a=s?e(a,t[i],i,t):t[i],s=!0,i+=o);return a}function C(t,e){var n=ge.defaults.column,i=t.aoColumns.length,n=O.extend({},ge.models.oColumn,n,{nTh:e||v.createElement("th"),sTitle:n.sTitle||(e?e.innerHTML:""),aDataSort:n.aDataSort||[i],mData:n.mData||i,idx:i});t.aoColumns.push(n),(n=t.aoPreSearchCols)[i]=O.extend({},ge.models.oSearch,n[i]),k(t,i,O(e).data())}function k(t,e,n){var i,e=t.aoColumns[e],r=t.oClasses,o=O(e.nTh);e.sWidthOrig||(e.sWidthOrig=o.attr("width")||null,(i=(o.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/))&&(e.sWidthOrig=i[1])),n!==L&&null!==n&&(S(n),b(ge.defaults.column,n),n.mDataProp===L||n.mData||(n.mData=n.mDataProp),n.sType&&(e._sManualType=n.sType),n.className&&!n.sClass&&(n.sClass=n.className),O.extend(e,n),It(e,n,"sWidth","sWidthOrig"),n.iDataSort!==L&&(e.aDataSort=[n.iDataSort]),It(e,n,"aDataSort"));var a=e.mData,s=R(a),l=e.mRender?R(e.mRender):null,n=function(t){return"string"==typeof t&&-1!==t.indexOf("@")};e._bAttrSrc=O.isPlainObject(a)&&(n(a.sort)||n(a.type)||n(a.filter)),e._setter=null,e.fnGetData=function(t,e,n){var i=s(t,e,L,n);return l&&e?l(i,e,t,n):i},e.fnSetData=function(t,e,n){return p(a)(t,e,n)},"number"!=typeof a&&(t._rowReadObject=!0),t.oFeatures.bSort||(e.bSortable=!1,o.addClass(r.sSortableNone)),t=-1!==O.inArray("asc",e.asSorting),n=-1!==O.inArray("desc",e.asSorting),e.bSortable&&(t||n)?t&&!n?(e.sSortingClass=r.sSortableAsc,e.sSortingClassJUI=r.sSortJUIAscAllowed):!t&&n?(e.sSortingClass=r.sSortableDesc,e.sSortingClassJUI=r.sSortJUIDescAllowed):(e.sSortingClass=r.sSortable,e.sSortingClassJUI=r.sSortJUI):(e.sSortingClass=r.sSortableNone,e.sSortingClassJUI="")}function I(t){if(!1!==t.oFeatures.bAutoWidth){var e=t.aoColumns;yt(t);for(var n=0,i=e.length;ne&&t[r]--;-1!=i&&n===L&&t.splice(i,1)}function r(n,i,t,e){var r,o=n.aoData[i],a=function(t,e){for(;t.childNodes.length;)t.removeChild(t.firstChild);t.innerHTML=E(n,i,e,"display")};if("dom"!==t&&(t&&"auto"!==t||"dom"!==o.src)){var s=o.anCells;if(s)if(e!==L)a(s[e],e);else for(t=0,r=s.length;t").appendTo(a)),e=0,n=c.length;etr").attr("role","row"),O(a).find(">tr>th, >tr>td").addClass(u.sHeaderTH),O(s).find(">tr>th, >tr>td").addClass(u.sFooterTH),null!==s)for(n=(t=t.aoFooter[e=0]).length;e=t.fnRecordsDisplay()?0:a,t.iInitDisplayStart=-1);var a=t._iDisplayStart,u=t.fnDisplayEnd();if(t.bDeferLoading)t.bDeferLoading=!1,t.iDraw++,ft(t,!1);else if(s){if(!t.bDestroying&&!q(t))return}else t.iDraw++;if(0!==l.length)for(o=s?t.aoData.length:u,s=s?0:a;s",{class:r?i[0]:""}).append(O("
").appendTo(this)),u.nTBody=s[0],0===(s=0===(s=o.children("tfoot")).length&&0").appendTo(this):s).length||0===s.children().length?o.addClass(n.sNoFooter):0t?new ve(e[t],this[t]):null},filter:function(t){var e=[];if(ye.filter)e=ye.filter.call(this,t,this);else for(var n=0,i=this.length;n").addClass(e),O("td",n).addClass(e).html(t)[0].colSpan=M(r),o.push(n[0]))})(t,e),n._details&&n._details.remove(),n._details=O(o),n._detailsShow&&n._details.insertAfter(n.nTr)),this)}),Qt(["row().child.show()","row().child().show()"],function(){return ke(this,!0),this}),Qt(["row().child.hide()","row().child().hide()"],function(){return ke(this,!1),this}),Qt(["row().child.remove()","row().child().remove()"],function(){return Ce(this),this}),Qt("row().child.isShown()",function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]]._detailsShow||!1});function Me(t,e,n,i,r){for(var n=[],i=0,o=r.length;i").appendTo(t),y(i,r);else{switch(h=null,d="",r){case"ellipsis":t.append('');break;case"first":h=p.sFirst,d=r+(0",{class:f.sPageButton+" "+d,"aria-controls":s.sTableId,"aria-label":g[r],"data-dt-idx":m,tabindex:s.iTabIndex,id:0===l&&"string"==typeof r?s.sTableId+"_"+r:null}).html(h).appendTo(t),{action:r},n),m++)}};try{n=O(t).find(v.activeElement).data("dt-idx")}catch(t){}y(O(t).empty(),e),n&&O(t).find("[data-dt-idx="+n+"]").focus()}}}),O.extend(ge.ext.type.detect,[function(t,e){e=e.oLanguage.sDecimal;return Gt(t,e)?"num"+e:null},function(t){if(t&&!(t instanceof Date)&&(!ie.test(t)||!re.test(t)))return null;var e=Date.parse(t);return null!==e&&!isNaN(e)||qt(t)?"date":null},function(t,e){e=e.oLanguage.sDecimal;return Gt(t,e,!0)?"num-fmt"+e:null},function(t,e){e=e.oLanguage.sDecimal;return Xt(t,e)?"html-num"+e:null},function(t,e){e=e.oLanguage.sDecimal;return Xt(t,e,!0)?"html-num-fmt"+e:null},function(t){return qt(t)||"string"==typeof t&&-1!==t.indexOf("<")?"html":null}]),O.extend(ge.ext.type.search,{html:function(t){return qt(t)?t:"string"==typeof t?t.replace(ee," ").replace(ne,""):""},string:function(t){return!qt(t)&&"string"==typeof t?t.replace(ee," "):t}});var Oe=function(t,e,n,i){return 0===t||t&&"-"!==t?((t=e?Yt(t,e):t).replace&&(n&&(t=t.replace(n,"")),i&&(t=t.replace(i,""))),+t):-1/0};O.extend(Jt.type.order,{"date-pre":function(t){return Date.parse(t)||0},"html-pre":function(t){return qt(t)?"":t.replace?t.replace(/<.*?>/g,"").toLowerCase():t+""},"string-pre":function(t){return qt(t)?"":"string"==typeof t?t.toLowerCase():t.toString?t.toString():""},"string-asc":function(t,e){return t").addClass(s.sSortJUIWrapper).append(o.contents()).append(O("").addClass(s.sSortIcon+" "+a.sSortingClassJUI)).appendTo(o),O(r.nTable).on("order.dt.DT",function(t,e,n,i){r===e&&(t=a.idx,o.removeClass(s.sSortAsc+" "+s.sSortDesc).addClass("asc"==i[t]?s.sSortAsc:"desc"==i[t]?s.sSortDesc:a.sSortingClass),o.find("span."+s.sSortIcon).removeClass(s.sSortJUIAsc+" "+s.sSortJUIDesc+" "+s.sSortJUI+" "+s.sSortJUIAscAllowed+" "+s.sSortJUIDescAllowed).addClass("asc"==i[t]?s.sSortJUIAsc:"desc"==i[t]?s.sSortJUIDesc:a.sSortingClassJUI))})}}});function Le(t){return"string"==typeof t?t.replace(//g,">").replace(/"/g,"""):t}return ge.render={number:function(i,r,o,a,s){return{display:function(t){if("number"!=typeof t&&"string"!=typeof t)return t;var e=t<0?"-":"",n=parseFloat(t);return isNaN(n)?Le(t):(t=Math.abs(n),n=parseInt(t,10),t=o?r+(t-n).toFixed(o).substring(2):"",e+(a||"")+n.toString().replace(/\B(?=(\d{3})+(?!\d))/g,i)+t+(s||""))}}},text:function(){return{display:Le}}},O.extend(ge.ext.internal,{_fnExternApiFunc:e,_fnBuildAjax:$,_fnAjaxUpdate:q,_fnAjaxParameters:t,_fnAjaxUpdateDraw:U,_fnAjaxDataSrc:Y,_fnAddColumn:C,_fnColumnOptions:k,_fnAdjustColumnSizing:I,_fnVisibleToColumnIndex:N,_fnColumnIndexToVisible:u,_fnVisbleColumns:M,_fnGetColumns:T,_fnColumnTypes:a,_fnApplyColumnDefs:D,_fnHungarianMap:o,_fnCamelToHungarian:b,_fnLanguageCompat:x,_fnBrowserDetect:_,_fnAddData:A,_fnAddTr:P,_fnNodeToDataIndex:function(t,e){return e._DT_RowIndex!==L?e._DT_RowIndex:null},_fnNodeToColumnIndex:function(t,e,n){return O.inArray(n,t.aoData[e].anCells)},_fnGetCellData:E,_fnSetCellData:i,_fnSplitObjNotation:c,_fnGetObjectDataFn:R,_fnSetObjectDataFn:p,_fnGetDataMaster:f,_fnClearTable:s,_fnDeleteIndex:h,_fnInvalidate:r,_fnGetRowElements:l,_fnCreateTr:g,_fnBuildHead:m,_fnDrawHead:F,_fnDraw:j,_fnReDraw:H,_fnAddOptionsHtml:B,_fnDetectHeader:z,_fnGetUniqueThs:W,_fnFeatureHtmlFilter:G,_fnFilterComplete:X,_fnFilterCustom:V,_fnFilterColumn:Z,_fnFilter:K,_fnFilterCreateSearch:J,_fnEscapeRegex:Q,_fnFilterData:tt,_fnFeatureHtmlInfo:it,_fnUpdateInfo:rt,_fnInfoMacros:ot,_fnInitialise:at,_fnInitComplete:st,_fnLengthChange:lt,_fnFeatureHtmlLength:ut,_fnFeatureHtmlPaginate:ct,_fnPageChange:ht,_fnFeatureHtmlProcessing:dt,_fnProcessingDisplay:ft,_fnFeatureHtmlTable:pt,_fnScrollDraw:gt,_fnApplyToChildren:mt,_fnCalculateColumnWidths:yt,_fnThrottle:vt,_fnConvertToWidth:bt,_fnGetWidestNode:xt,_fnGetMaxLenString:wt,_fnStringToCss:St,_fnSortFlatten:_t,_fnSort:Ct,_fnSortAria:kt,_fnSortListener:Mt,_fnSortAttachListener:Tt,_fnSortingClasses:Dt,_fnSortData:At,_fnSaveState:Pt,_fnLoadState:Et,_fnSettingsFromNode:Ot,_fnLog:Lt,_fnMap:It,_fnBindAction:Rt,_fnCallbackReg:Ft,_fnCallbackFire:jt,_fnLengthOverflow:Ht,_fnRenderer:Bt,_fnDataSource:zt,_fnRowAttributes:d,_fnCalculateEnd:function(){}}),((O.fn.dataTable=ge).$=O).fn.dataTableSettings=ge.settings,O.fn.dataTableExt=ge.ext,O.fn.DataTable=function(t){return O(this).dataTable(t).api()},O.each(ge,function(t,e){O.fn.DataTable[t]=e}),O.fn.dataTable}),function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(t){return n(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t=t||window,e&&e.fn.dataTable||(e=require("datatables.net")(t,e).$),n(e,0,t.document)}:n(jQuery,window,document)}(function(b,t,i,e){"use strict";var r=b.fn.dataTable;return b.extend(!0,r.defaults,{dom:"<'row'<'col-sm-6'l><'col-sm-6'f>><'row'<'col-sm-12'tr>><'row'<'col-sm-5'i><'col-sm-7'p>>",renderer:"bootstrap"}),b.extend(r.ext.classes,{sWrapper:"dataTables_wrapper form-inline dt-bootstrap",sFilterInput:"form-control input-sm",sLengthSelect:"form-control input-sm",sProcessing:"dataTables_processing panel panel-default"}),r.ext.renderer.pageButton.bootstrap=function(s,t,l,e,u,c){var h,d,n,f=new r.Api(s),p=s.oClasses,g=s.oLanguage.oPaginate,m=s.oLanguage.oAria.paginate||{},y=0,v=function(t,e){for(var n,i,r=function(t){t.preventDefault(),b(t.currentTarget).hasClass("disabled")||f.page()==t.data.action||f.page(t.data.action).draw("page")},o=0,a=e.length;o",{class:p.sPageButton+" "+d,id:0===l&&"string"==typeof i?s.sTableId+"_"+i:null}).append(b("",{href:"#","aria-controls":s.sTableId,"aria-label":m[i],"data-dt-idx":y,tabindex:s.iTabIndex}).html(h)).appendTo(t),s.oApi._fnBindAction(n,{action:i},r),y++)}};try{n=b(t).find(i.activeElement).data("dt-idx")}catch(t){}v(b(t).empty().html('
    ').children("ul"),e),n&&b(t).find("[data-dt-idx="+n+"]").focus()},r}),function(i){i.fn.dataTable.moment=function(e,n){var t=i.fn.dataTable.ext.type;t.detect.unshift(function(t){return""===t||null===t||moment(t.replace?t.replace(/<.*?>/g,""):t,e,n,!0).isValid()?"moment-"+e:null}),t.order["moment-"+e+"-pre"]=function(t){return""===t||null===t?-1/0:parseInt(moment(t.replace?t.replace(/<.*?>/g,""):t,e,n,!0).format("x"),10)}}}(jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(jQuery)}(function(u){var r,n=0,s=Array.prototype.slice;u.cleanData=(r=u.cleanData,function(t){for(var e,n,i=0;null!=(n=t[i]);i++)try{(e=u._data(n,"events"))&&e.remove&&u(n).triggerHandler("remove")}catch(t){}r(t)}),u.widget=function(t,n,e){var i,r,o,a,s={},l=t.split(".")[0];return t=t.split(".")[1],e||(e=n,n=u.Widget),u.expr[":"][(i=l+"-"+t).toLowerCase()]=function(t){return!!u.data(t,i)},u[l]=u[l]||{},r=u[l][t],o=u[l][t]=function(t,e){if(!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},u.extend(o,r,{version:e.version,_proto:u.extend({},e),_childConstructors:[]}),(a=new n).options=u.widget.extend({},a.options),u.each(e,function(e,i){function r(){return n.prototype[e].apply(this,arguments)}function o(t){return n.prototype[e].apply(this,t)}u.isFunction(i)?s[e]=function(){var t,e=this._super,n=this._superApply;return this._super=r,this._superApply=o,t=i.apply(this,arguments),this._super=e,this._superApply=n,t}:s[e]=i}),o.prototype=u.widget.extend(a,{widgetEventPrefix:r&&a.widgetEventPrefix||t},s,{constructor:o,namespace:l,widgetName:t,widgetFullName:i}),r?(u.each(r._childConstructors,function(t,e){var n=e.prototype;u.widget(n.namespace+"."+n.widgetName,o,e._proto)}),delete r._childConstructors):n._childConstructors.push(o),u.widget.bridge(t,o),o},u.widget.extend=function(t){for(var e,n,i=s.call(arguments,1),r=0,o=i.length;r",options:{disabled:!1,create:null},_createWidget:function(t,e){e=u(e||this.defaultElement||this)[0],this.element=u(e),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=u.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=u(),this.hoverable=u(),this.focusable=u(),e!==this&&(u.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=u(e.style?e.ownerDocument:e.document||e),this.window=u(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:u.noop,_getCreateEventData:u.noop,_create:u.noop,_init:u.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(u.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:u.noop,widget:function(){return this.element},option:function(t,e){var n,i,r,o=t;if(0===arguments.length)return u.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(n=t.split(".")).shift(),n.length){for(i=o[t]=u.widget.extend({},this.options[t]),r=0;r').prop("disabled")),y.support.xhrFileUpload=!(!window.ProgressEvent||!window.FileReader),y.support.xhrFormDataFileUpload=!!window.FormData,y.support.blobSlice=window.Blob&&(Blob.prototype.slice||Blob.prototype.webkitSlice||Blob.prototype.mozSlice),y.widget("blueimp.fileupload",{options:{dropZone:y(document),pasteZone:void 0,fileInput:void 0,replaceFileInput:!0,paramName:void 0,singleFileUploads:!0,limitMultiFileUploads:void 0,limitMultiFileUploadSize:void 0,limitMultiFileUploadSizeOverhead:512,sequentialUploads:!1,limitConcurrentUploads:void 0,forceIframeTransport:!1,redirect:void 0,redirectParamName:void 0,postMessage:void 0,multipart:!0,maxChunkSize:void 0,uploadedBytes:void 0,recalculateProgress:!0,progressInterval:100,bitrateInterval:500,autoUpload:!0,messages:{uploadedBytes:"Uploaded bytes exceed file size"},i18n:function(n,t){return n=this.messages[n]||n.toString(),t&&y.each(t,function(t,e){n=n.replace("{"+t+"}",e)}),n},formData:function(t){return t.serializeArray()},add:function(t,e){if(t.isDefaultPrevented())return!1;(e.autoUpload||!1!==e.autoUpload&&y(this).fileupload("option","autoUpload"))&&e.process().done(function(){e.submit()})},processData:!1,contentType:!1,cache:!1,timeout:0},_specialOptions:["fileInput","dropZone","pasteZone","multipart","forceIframeTransport"],_blobSlice:y.support.blobSlice&&function(){return(this.slice||this.webkitSlice||this.mozSlice).apply(this,arguments)},_BitrateTimer:function(){this.timestamp=Date.now?Date.now():(new Date).getTime(),this.loaded=0,this.bitrate=0,this.getBitrate=function(t,e,n){var i=t-this.timestamp;return this.bitrate&&n&&!(n").prop("href",t.url).prop("host");t.dataType="iframe "+(t.dataType||""),t.formData=this._getFormData(t),t.redirect&&e&&e!==location.host&&t.formData.push({name:t.redirectParamName||"redirect",value:t.redirect})},_initDataSettings:function(t){this._isXHRUpload(t)?(this._chunkedUpload(t,!0)||(t.data||this._initXHRData(t),this._initProgressListener(t)),t.postMessage&&(t.dataType="postmessage "+(t.dataType||""))):this._initIframeSettings(t)},_getParamName:function(t){var e=y(t.fileInput),i=t.paramName;return i?y.isArray(i)||(i=[i]):(i=[],e.each(function(){for(var t=y(this),e=t.prop("name")||"files[]",n=(t.prop("files")||[1]).length;n;)i.push(e),--n}),i.length||(i=[e.prop("name")||"files[]"])),i},_initFormSettings:function(t){t.form&&t.form.length||(t.form=y(t.fileInput.prop("form")),t.form.length||(t.form=y(this.options.fileInput.prop("form")))),t.paramName=this._getParamName(t),t.url||(t.url=t.form.prop("action")||location.href),t.type=(t.type||"string"===y.type(t.form.prop("method"))&&t.form.prop("method")||"").toUpperCase(),"POST"!==t.type&&"PUT"!==t.type&&"PATCH"!==t.type&&(t.type="POST"),t.formAcceptCharset||(t.formAcceptCharset=t.form.attr("accept-charset"))},_getAJAXSettings:function(t){t=y.extend({},this.options,t);return this._initFormSettings(t),this._initDataSettings(t),t},_getDeferredState:function(t){return t.state?t.state():t.isResolved()?"resolved":t.isRejected()?"rejected":"pending"},_enhancePromise:function(t){return t.success=t.done,t.error=t.fail,t.complete=t.always,t},_getXHRPromise:function(t,e,n){var i=y.Deferred(),r=i.promise();return e=e||this.options.context||r,!0===t?i.resolveWith(e,n):!1===t&&i.rejectWith(e,n),r.abort=i.promise,this._enhancePromise(r)},_addConvenienceMethods:function(t,n){function i(t){return y.Deferred().resolveWith(r,t).promise()}var r=this;n.process=function(t,e){return(t||e)&&(n._processQueue=this._processQueue=(this._processQueue||i([this])).pipe(function(){return n.errorThrown?y.Deferred().rejectWith(r,[n]).promise():i(arguments)}).pipe(t,e)),this._processQueue||i([this])},n.submit=function(){return"pending"!==this.state()&&(n.jqXHR=this.jqXHR=!1!==r._trigger("submit",y.Event("submit",{delegatedEvent:t}),this)&&r._onSend(t,this)),this.jqXHR||r._getXHRPromise()},n.abort=function(){return this.jqXHR?this.jqXHR.abort():(this.errorThrown="abort",r._trigger("fail",null,this),r._getXHRPromise(!1))},n.state=function(){return this.jqXHR?r._getDeferredState(this.jqXHR):this._processQueue?r._getDeferredState(this._processQueue):void 0},n.processing=function(){return!this.jqXHR&&this._processQueue&&"pending"===r._getDeferredState(this._processQueue)},n.progress=function(){return this._progress},n.response=function(){return this._response}},_getUploadedBytes:function(t){t=t.getResponseHeader("Range"),t=t&&t.split("-"),t=t&&1a._sending)for(var i=a._slots.shift();i;){if("pending"===a._getDeferredState(i)){i.resolve();break}i=a._slots.shift()}0===a._active&&a._trigger("stop")})}var i,r,o,a=this,s=a._getAJAXSettings(e);return this._beforeSend(t,s),this.options.sequentialUploads||this.options.limitConcurrentUploads&&this.options.limitConcurrentUploads<=this._sending?((e=1d||h&&h<=e+1-m)&&(a.push(u.slice(m,e+1)),(t=g.slice(m,e+1)).length||(t=g),o.push(t),m=e+1,p=0);else o=g;else for(a=[],o=[],e=0;e").append(i)[0].reset(),n.after(i).detach(),y.cleanData(n.unbind("remove")),this.options.fileInput=this.options.fileInput.map(function(t,e){return e===n[0]?i[0]:e}),n[0]===this.element[0]&&(this.element=i)},_handleFileTreeEntry:function(e,n){function i(t){t&&!t.entry&&(t.entry=e),o.resolve([t])}var t,r=this,o=y.Deferred(),a=function(){t.readEntries(function(t){t.length?(s=s.concat(t),a()):r._handleFileTreeEntries(s,n+e.name+"/").done(function(t){o.resolve(t)}).fail(i)},i)},s=[];return n=n||"",e.isFile?e._file?(e._file.relativePath=n,o.resolve(e._file)):e.file(function(t){t.relativePath=n,o.resolve(t)},i):e.isDirectory?(t=e.createReader(),a()):o.resolve([]),o.promise()},_handleFileTreeEntries:function(t,e){var n=this;return y.when.apply(y,y.map(t,function(t){return n._handleFileTreeEntry(t,e)})).pipe(function(){return Array.prototype.concat.apply([],arguments)})},_getDroppedFiles:function(t){var e=(t=t||{}).items;return e&&e.length&&(e[0].webkitGetAsEntry||e[0].getAsEntry)?this._handleFileTreeEntries(y.map(e,function(t){var e;return t.webkitGetAsEntry?((e=t.webkitGetAsEntry())&&(e._file=t.getAsFile()),e):t.getAsEntry()})):y.Deferred().resolve(y.makeArray(t.files)).promise()},_getSingleFileInputFiles:function(t){var e=(t=y(t)).prop("webkitEntries")||t.prop("entries");if(e&&e.length)return this._handleFileTreeEntries(e);if((e=y.makeArray(t.prop("files"))).length)void 0===e[0].name&&e[0].fileName&&y.each(e,function(t,e){e.name=e.fileName,e.size=e.fileSize});else{if(!(t=t.prop("value")))return y.Deferred().resolve([]).promise();e=[{name:t.replace(/^.*\\/,"")}]}return y.Deferred().resolve(e).promise()},_getFileInputFiles:function(t){return t instanceof y&&1!==t.length?y.when.apply(y,y.map(t,this._getSingleFileInputFiles)).pipe(function(){return Array.prototype.concat.apply([],arguments)}):this._getSingleFileInputFiles(t)},_onChange:function(e){var n=this,i={fileInput:y(e.target),form:y(e.target.form)};this._getFileInputFiles(i.fileInput).always(function(t){i.files=t,n.options.replaceFileInput&&n._replaceFileInput(i),!1!==n._trigger("change",y.Event("change",{delegatedEvent:e}),i)&&n._onAdd(e,i)})},_onPaste:function(t){var e=t.originalEvent&&t.originalEvent.clipboardData&&t.originalEvent.clipboardData.items,n={files:[]};e&&e.length&&(y.each(e,function(t,e){e=e.getAsFile&&e.getAsFile();e&&n.files.push(e)}),!1!==this._trigger("paste",y.Event("paste",{delegatedEvent:t}),n)&&this._onAdd(t,n))},_onDrop:function(e){e.dataTransfer=e.originalEvent&&e.originalEvent.dataTransfer;var n=this,t=e.dataTransfer,i={};t&&t.files&&t.files.length&&(e.preventDefault(),this._getDroppedFiles(t).always(function(t){i.files=t,!1!==n._trigger("drop",y.Event("drop",{delegatedEvent:e}),i)&&n._onAdd(e,i)}))},_onDragOver:t("dragover"),_onDragEnter:t("dragenter"),_onDragLeave:t("dragleave"),_initEventHandlers:function(){this._isXHRUpload(this.options)&&(this._on(this.options.dropZone,{dragover:this._onDragOver,drop:this._onDrop,dragenter:this._onDragEnter,dragleave:this._onDragLeave}),this._on(this.options.pasteZone,{paste:this._onPaste})),y.support.fileInput&&this._on(this.options.fileInput,{change:this._onChange})},_destroyEventHandlers:function(){this._off(this.options.dropZone,"dragenter dragleave dragover drop"),this._off(this.options.pasteZone,"paste"),this._off(this.options.fileInput,"change")},_setOption:function(t,e){var n=-1!==y.inArray(t,this._specialOptions);n&&this._destroyEventHandlers(),this._super(t,e),n&&(this._initSpecialOptions(),this._initEventHandlers())},_initSpecialOptions:function(){var t=this.options;void 0===t.fileInput?t.fileInput=this.element.is('input[type="file"]')?this.element:this.element.find('input[type="file"]'):t.fileInput instanceof y||(t.fileInput=y(t.fileInput)),t.dropZone instanceof y||(t.dropZone=y(t.dropZone)),t.pasteZone instanceof y||(t.pasteZone=y(t.pasteZone))},_getRegExp:function(t){var e=t.split("/"),t=e.pop();return e.shift(),new RegExp(e.join("/"),t)},_isRegExpOption:function(t,e){return"url"!==t&&"string"===y.type(e)&&/^\/.*\/[igm]{0,3}$/.test(e)},_initDataAttributes:function(){var i=this,r=this.options,o=this.element.data();y.each(this.element[0].attributes,function(t,e){var n=e.name.toLowerCase();/^data-/.test(n)&&(n=n.slice(5).replace(/-[a-z]/g,function(t){return t.charAt(1).toUpperCase()}),e=o[n],i._isRegExpOption(n,e)&&(e=i._getRegExp(e)),r[n]=e)})},_create:function(){this._initDataAttributes(),this._initSpecialOptions(),this._slots=[],this._sequence=this._getXHRPromise(!0),this._sending=this._active=0,this._initProgressObject(this),this._initEventHandlers()},active:function(){return this._active},progress:function(){return this._progress},add:function(e){var n=this;e&&!this.options.disabled&&(e.fileInput&&!e.files?this._getFileInputFiles(e.fileInput).always(function(t){e.files=t,n._onAdd(null,e)}):(e.files=y.makeArray(e.files),this._onAdd(null,e)))},send:function(e){if(e&&!this.options.disabled){if(e.fileInput&&!e.files){var n,i,r=this,o=y.Deferred(),t=o.promise();return t.abort=function(){return i=!0,n?n.abort():(o.reject(null,"abort","abort"),t)},this._getFileInputFiles(e.fileInput).always(function(t){i||(t.length?(e.files=t,(n=r._onSend(null,e)).then(function(t,e,n){o.resolve(t,e,n)},function(t,e,n){o.reject(t,e,n)})):o.reject())}),this._enhancePromise(t)}if(e.files=y.makeArray(e.files),e.files.length)return this._onSend(null,e)}return this._getXHRPromise(!1,e&&e.context)}})}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(window.jQuery)}(function(l){"use strict";var n=0;l.ajaxTransport("iframe",function(r){if(r.async){var o,a,e,s=r.initialIframeSrc||"javascript:false;";return{send:function(t,i){(o=l('
    ')).attr("accept-charset",r.formAcceptCharset),e=/\?/.test(r.url)?"&":"?","DELETE"===r.type?(r.url=r.url+e+"_method=DELETE",r.type="POST"):"PUT"===r.type?(r.url=r.url+e+"_method=PUT",r.type="POST"):"PATCH"===r.type&&(r.url=r.url+e+"_method=PATCH",r.type="POST"),a=l('').bind("load",function(){var n,e=l.isArray(r.paramName)?r.paramName:[r.paramName];a.unbind("load").bind("load",function(){var e;try{if(!(e=a.contents()).length||!e[0].firstChild)throw new Error}catch(t){e=void 0}i(200,"success",{iframe:e}),l('').appendTo(o),window.setTimeout(function(){o.remove()},0)}),o.prop("target",a.prop("name")).prop("action",r.url).prop("method",r.type),r.formData&&l.each(r.formData,function(t,e){l('').prop("name",e.name).val(e.value).appendTo(o)}),r.fileInput&&r.fileInput.length&&"POST"===r.type&&(n=r.fileInput.clone(),r.fileInput.after(function(t){return n[t]}),r.paramName&&r.fileInput.each(function(t){l(this).prop("name",e[t]||r.paramName)}),o.append(r.fileInput).prop("enctype","multipart/form-data").prop("encoding","multipart/form-data"),r.fileInput.removeAttr("form")),o.submit(),n&&n.length&&r.fileInput.each(function(t,e){t=l(n[t]);l(e).prop("name",t.prop("name")).attr("form",t.attr("form")),t.replaceWith(e)})}),o.append(a).appendTo(document.body)},abort:function(){a&&a.unbind("load").prop("src",s),o&&o.remove()}}}}),l.ajaxSetup({converters:{"iframe text":function(t){return t&&l(t[0].body).text()},"iframe json":function(t){return t&&l.parseJSON(l(t[0].body).text())},"iframe html":function(t){return t&&l(t[0].body).html()},"iframe xml":function(t){t=t&&t[0];return t&&l.isXMLDoc(t)?t:l.parseXML(t.XMLDocument&&t.XMLDocument.xml||l(t.body).html())},"iframe script":function(t){return t&&l.globalEval(l(t[0].body).text())}}})}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Sweetalert2=e()}(this,function(){"use strict";function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var n=0;n\n
    \n
      \n
      \n \n
      \n
      \n
      \n
      \n
      \n
      \n \n
      \n
      \n
      \n \n

      \n \n
      \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,""),ut=function(t,e){if(t.innerHTML="",0 in e)for(var n=0;n in e;n++)t.appendChild(e[n].cloneNode(!0));else t.appendChild(e.cloneNode(!0))},ct=function(){if(Q())return!1;var t,e=document.createElement("div"),n={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(t in n)if(Object.prototype.hasOwnProperty.call(n,t)&&void 0!==e.style[t])return n[t];return!1}();function ht(t,e,n){E(t,n["showC"+e.substring(1)+"Button"],"inline-block"),t.innerHTML=n[e+"ButtonText"],t.setAttribute("aria-label",n[e+"ButtonAriaLabel"]),t.className=S[e],y(t,n.customClass,e+"Button"),rt(t,n[e+"ButtonClass"])}function dt(t,e){t.placeholder&&!e.inputPlaceholder||(t.placeholder=e.inputPlaceholder)}var ft={promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap},pt=["input","file","range","select","radio","checkbox","textarea"],gt=function(t){if(!vt[t.input])return f('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(t.input,'"'));var e=vt[t.input](t);A(e),setTimeout(function(){M(e)})},mt=function(t,e){var n=k(z(),t);if(n)for(var i in function(t){for(var e=0;e=r.progressSteps.length&&b("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),r.progressSteps.forEach(function(t,e){var n,i,i=(n=t,i=document.createElement("li"),rt(i,S["progress-step"]),i.innerHTML=n,i);o.appendChild(i),e===a&&rt(i,S["active-progress-step"]),e!==r.progressSteps.length-1&&(e=t,t=document.createElement("li"),rt(t,S["progress-step-line"]),e.progressStepsDistance&&(t.style.width=e.progressStepsDistance),o.appendChild(t))})}function xt(t,e){var n;y(X(),e.customClass,"header"),bt(0,e),n=e,(t=ft.innerParams.get(t))&&n.type===t.type&&H()?y(H(),n.customClass,"icon"):(_t(),n.type&&(Ct(),-1!==Object.keys(_).indexOf(n.type)?(A(t=N(".".concat(S.icon,".").concat(_[n.type]))),y(t,n.customClass,"icon"),T(t,"swal2-animate-".concat(n.type,"-icon"),n.animation)):f('Unknown type! Expected "success", "error", "warning", "info" or "question", got "'.concat(n.type,'"')))),function(t){var e=W();if(!t.imageUrl)return P(e);A(e),e.setAttribute("src",t.imageUrl),e.setAttribute("alt",t.imageAlt),D(e,"width",t.imageWidth),D(e,"height",t.imageHeight),e.className=S.image,y(e,t.customClass,"image"),t.imageClass&&rt(e,t.imageClass)}(e),t=e,E(n=B(),t.title||t.titleText),t.title&&et(t.title,n),t.titleText&&(n.innerText=t.titleText),y(n,t.customClass,"title"),t=e,(e=Z()).innerHTML=t.closeButtonHtml,y(e,t.customClass,"closeButton"),E(e,t.showCloseButton),e.setAttribute("aria-label",t.closeButtonAriaLabel)}function wt(t,e){var i,r,o,n,a,s,l;s=e,D(l=F(),"width",s.width),D(l,"padding",s.padding),s.background&&(l.style.background=s.background),l.className=S.popup,s.toast?(rt([document.documentElement,document.body],S["toast-shown"]),rt(l,S.toast)):rt(l,S.modal),y(l,s.customClass,"popup"),"string"==typeof s.customClass&&rt(l,s.customClass),T(l,S.noanimation,!s.animation),n=e,(a=I())&&("string"==typeof(l=n.backdrop)?a.style.background=l:l||rt([document.documentElement,document.body],S["no-backdrop"]),!n.backdrop&&n.allowOutsideClick&&b('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),s=a,(l=n.position)in S?rt(s,S[l]):(b('The "position" parameter is not valid, defaulting to "center"'),rt(s,S.center)),l=a,!(s=n.grow)||"string"!=typeof s||(s="grow-"+s)in S&&rt(l,S[s]),y(a,n.customClass,"container"),n.customContainerClass&&rt(a,n.customContainerClass)),xt(t,e),a=t,n=e,t=z().querySelector("#"+S.content),n.html?(et(n.html,t),A(t,"block")):n.text?(t.textContent=n.text,A(t,"block")):P(t),a=a,i=n,r=z(),a=ft.innerParams.get(a),o=!a||i.input!==a.input,pt.forEach(function(t){var e=S[t],n=at(r,e);mt(t,i.inputAttributes),yt(n,e,i),o&&P(n)}),i.input&&o&>(i),y(z(),n.customClass,"content"),nt(0,e),a=e,E(n=V(),a.footer),a.footer&&et(a.footer,n),y(n,a.customClass,"footer"),"function"==typeof e.onRender&&e.onRender(F())}function St(){return U()&&U().click()}vt.text=vt.email=vt.password=vt.number=vt.tel=vt.url=function(t){var e=at(z(),S.input);return"string"==typeof t.inputValue||"number"==typeof t.inputValue?e.value=t.inputValue:g(t.inputValue)||b('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(u(t.inputValue),'"')),dt(e,t),e.type=t.input,e},vt.file=function(t){var e=at(z(),S.file);return dt(e,t),e.type=t.input,e},vt.range=function(t){var e=at(z(),S.range),n=e.querySelector("input"),i=e.querySelector("output");return n.value=t.inputValue,n.type=t.input,i.value=t.inputValue,e},vt.select=function(t){var e,n=at(z(),S.select);return n.innerHTML="",t.inputPlaceholder&&((e=document.createElement("option")).innerHTML=t.inputPlaceholder,e.value="",e.disabled=!0,e.selected=!0,n.appendChild(e)),n},vt.radio=function(){var t=at(z(),S.radio);return t.innerHTML="",t},vt.checkbox=function(t){var e=at(z(),S.checkbox),n=k(z(),"checkbox");return n.type="checkbox",n.value=1,n.id=S.checkbox,n.checked=Boolean(t.inputValue),e.querySelector("span").innerHTML=t.inputPlaceholder,e},vt.textarea=function(t){var e,n,i=at(z(),S.textarea);return i.value=t.inputValue,dt(i,t),"MutationObserver"in window&&(e=parseInt(window.getComputedStyle(F()).width),n=parseInt(window.getComputedStyle(F()).paddingLeft)+parseInt(window.getComputedStyle(F()).paddingRight),new MutationObserver(function(){var t=i.offsetWidth+n;F().style.width=e")),e=t,(o=I())&&(o.parentNode.removeChild(o),ot([document.documentElement,document.body],[S["no-backdrop"],S["toast-shown"],S["has-column"]])),Q()?f("SweetAlert2 requires document to initialize"):((n=document.createElement("div")).className=S.container,n.innerHTML=lt,(t="string"==typeof(a=e.target)?document.querySelector(a):a).appendChild(n),o=e,(a=F()).setAttribute("role",o.toast?"alert":"dialog"),a.setAttribute("aria-live",o.toast?"polite":"assertive"),o.toast||a.setAttribute("aria-modal","true"),"rtl"===window.getComputedStyle(t).direction&&rt(I(),S.rtl),n=z(),e=at(n,S.input),o=at(n,S.file),i=n.querySelector(".".concat(S.range," input")),r=n.querySelector(".".concat(S.range," output")),a=at(n,S.select),t=n.querySelector(".".concat(S.checkbox," input")),n=at(n,S.textarea),e.oninput=tt,o.onchange=tt,a.onchange=tt,t.onchange=tt,n.oninput=tt,i.oninput=function(t){tt(t),r.value=i.value},i.onchange=function(t){tt(t),i.nextSibling.value=i.value})}function Vt(t,e){t.removeEventListener(ct,Vt),e.style.overflowY="auto"}function Zt(t){var e,n,i,r,o=I(),a=F();"function"==typeof t.onBeforeOpen&&t.onBeforeOpen(a),n=o,i=a,(r=t).animation&&(rt(i,S.show),rt(n,S.fade)),A(i),rt([document.documentElement,document.body,n],S.shown),r.heightAuto&&r.backdrop&&!r.toast&&rt([document.documentElement,document.body],S["height-auto"]),n=o,r=a,ct&&L(r)?(n.style.overflowY="hidden",r.addEventListener(ct,Vt.bind(null,r,n))):n.style.overflowY="auto",J()&&(e=o,o=t.scrollbarPadding,function(){var t,e,n;!/iPad|iPhone|iPod/.test(navigator.userAgent)||window.MSStream||m(document.body,S.iosfix)||(t=document.body.scrollTop,document.body.style.top=-1*t+"px",rt(document.body,S.iosfix),(n=I()).ontouchstart=function(t){e=t.target===n||!(n.scrollHeight>n.clientHeight)&&"INPUT"!==t.target.tagName},n.ontouchmove=function(t){e&&(t.preventDefault(),t.stopPropagation())})}(),"undefined"!=typeof window&&Rt()&&(Ft(),window.addEventListener("resize",Ft)),d(document.body.children).forEach(function(t){var e,n;t===I()||(e=t,n=I(),"function"==typeof e.contains&&e.contains(n))||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))}),!o||null===C.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(C.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=C.previousBodyPadding+function(){if("ontouchstart"in window||navigator.msMaxTouchPoints)return 0;var t=document.createElement("div");t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e}()+"px"),setTimeout(function(){e.scrollTop=0})),st()||At.previousActiveElement||(At.previousActiveElement=document.activeElement),"function"==typeof t.onOpen&&setTimeout(function(){return t.onOpen(a)})}function Kt(t,e){var n,i,r,o,a,s;function l(t){return re[a.input](s,oe(t),a)}"select"===e.input||"radio"===e.input?(o=t,a=e,s=z(),g(a.inputOptions)?(kt(),a.inputOptions.then(function(t){o.hideLoading(),l(t)})):"object"===u(a.inputOptions)?l(a.inputOptions):f("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(u(a.inputOptions)))):-1!==["text","email","number","tel","textarea"].indexOf(e.input)&&g(e.inputValue)&&(i=e,P(r=(n=t).getInput()),i.inputValue.then(function(t){r.value="number"===i.input?parseFloat(t)||0:t+"",A(r),r.focus(),n.hideLoading()}).catch(function(t){f("Error in inputValue promise: "+t),r.value="",A(r),r.focus(),n.hideLoading()}))}function Jt(t,e){var n,i,r;t.disableButtons(),e.input?(r=se(n=t,i=e),i.inputValidator?(n.disableInput(),Promise.resolve().then(function(){return i.inputValidator(r,i.validationMessage)}).then(function(t){n.enableButtons(),n.enableInput(),t?n.showValidationMessage(t):ae(n,i,r)})):n.getInput().checkValidity()?ae(n,i,r):(n.enableButtons(),n.showValidationMessage(i.validationMessage))):ae(t,e,!0)}function Qt(t,e){t.closePopup({value:e})}function te(r,t,o,a){t.keydownTarget&&t.keydownHandlerAdded&&(t.keydownTarget.removeEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!1),o.toast||(t.keydownHandler=function(t){return e=r,n=t,i=a,(t=o).stopKeydownPropagation&&n.stopPropagation(),void("Enter"===n.key?fe(e,n,t):"Tab"===n.key?pe(n,t):-1!==he.indexOf(n.key)?ge():-1!==de.indexOf(n.key)&&me(n,t,i));var e,n,i},t.keydownTarget=o.keydownListenerCapture?window:F(),t.keydownListenerCapture=o.keydownListenerCapture,t.keydownTarget.addEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!0)}function ee(t,e,n){var i=K(t.focusCancel),t=0;if(t").addClass("timepicker-hours").append(K("
    ",{valign:"top",colSpan:M(t),class:t.oClasses.sRowEmpty}).html(n))[0];jt(t,"aoHeaderCallback","header",[O(t.nTHead).children("tr")[0],f(t),a,u,l]),jt(t,"aoFooterCallback","footer",[O(t.nTFoot).children("tr")[0],f(t),a,u,l]),(i=O(t.nTBody)).children().detach(),i.append(O(e)),jt(t,"aoDrawCallback","draw",[t]),t.bSorted=!1,t.bFiltered=!1,t.bDrawing=!1}}function H(t,e){var n=t.oFeatures,i=n.bFilter;n.bSort&&Ct(t),i?X(t,t.oPreviousSearch):t.aiDisplay=t.aiDisplayMaster.slice(),!0!==e&&(t._iDisplayStart=0),t._drawHold=e,j(t),t._drawHold=!1}function B(t){var e=t.oClasses,n=O(t.nTable),n=O("
    ").insertBefore(n),i=t.oFeatures,r=O("
    ",{id:t.sTableId+"_wrapper",class:e.sWrapper+(t.nTFoot?"":" "+e.sNoFooter)});t.nHolding=n[0],t.nTableWrapper=r[0],t.nTableReinsertBefore=t.nTable.nextSibling;for(var o,a,s,l,u,c,h=t.sDom.split(""),d=0;d")[0],"'"==(l=h[d+1])||'"'==l){for(u="",c=2;h[d+c]!=l;)u+=h[d+c],c++;"H"==u?u=e.sJUIHeader:"F"==u&&(u=e.sJUIFooter),-1!=u.indexOf(".")?(l=u.split("."),s.id=l[0].substr(1,l[0].length-1),s.className=l[1]):"#"==u.charAt(0)?s.id=u.substr(1,u.length-1):s.className=u,d+=c}r.append(s),r=O(s)}else if(">"==a)r=r.parent();else if("l"==a&&i.bPaginate&&i.bLengthChange)o=ut(t);else if("f"==a&&i.bFilter)o=G(t);else if("r"==a&&i.bProcessing)o=dt(t);else if("t"==a)o=pt(t);else if("i"==a&&i.bInfo)o=it(t);else if("p"==a&&i.bPaginate)o=ct(t);else if(0!==ge.ext.feature.length)for(c=0,l=(s=ge.ext.feature).length;c',s=(s=i.sSearch).match(/_INPUT_/)?s.replace("_INPUT_",a):s+a,t=O("
    ",{id:o.f?null:e+"_filter",class:t.sFilter}).append(O("
    ").addClass(t.sLength);return i.aanFeatures.l||(l[0].id=e+"_length"),l.children().append(i.oLanguage.sLengthMenu.replace("_MENU_",o[0].outerHTML)),O("select",l).val(i._iDisplayLength).bind("change.DT",function(){lt(i,O(this).val()),j(i)}),O(i.nTable).bind("length.dt.DT",function(t,e,n){i===e&&O("select",l).val(n)}),l[0]}function ct(t){function a(t){j(t)}var e=t.sPaginationType,s=ge.ext.pager[e],l="function"==typeof s,e=O("
    ").addClass(t.oClasses.sPaging+e)[0],u=t.aanFeatures;return l||s.fnInit(t,e,a),u.p||(e.id=t.sTableId+"_paginate",t.aoDrawCallback.push({fn:function(t){if(l)for(var e=t._iDisplayStart,n=t._iDisplayLength,i=t.fnRecordsDisplay(),e=(r=-1===n)?0:Math.ceil(e/n),n=r?1:Math.ceil(i/n),i=s(e,n),r=0,o=u.p.length;r",{id:t.aanFeatures.r?null:t.sTableId+"_processing",class:t.oClasses.sProcessing}).html(t.oLanguage.sProcessing).insertBefore(t.nTable)[0]}function ft(t,e){t.oFeatures.bProcessing&&O(t.aanFeatures.r).css("display",e?"block":"none"),jt(t,null,"processing",[t,e])}function pt(t){var e=O(t.nTable);e.attr("role","grid");var n=t.oScroll;if(""===n.sX&&""===n.sY)return t.nTable;var i=n.sX,r=n.sY,o=t.oClasses,a=e.children("caption"),s=a.length?a[0]._captionSide:null,l=O(e[0].cloneNode(!1)),u=O(e[0].cloneNode(!1)),c=e.children("tfoot");c.length||(c=null),l=O("
    ",{class:o.sScrollWrapper}).append(O("
    ",{class:o.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:i?i?St(i):null:"100%"}).append(O("
    ",{class:o.sScrollHeadInner}).css({"box-sizing":"content-box",width:n.sXInner||"100%"}).append(l.removeAttr("id").css("margin-left",0).append("top"===s?a:null).append(e.children("thead"))))).append(O("
    ",{class:o.sScrollBody}).css({position:"relative",overflow:"auto",width:i?St(i):null}).append(e)),c&&l.append(O("
    ",{class:o.sScrollFoot}).css({overflow:"hidden",border:0,width:i?i?St(i):null:"100%"}).append(O("
    ",{class:o.sScrollFootInner}).append(u.removeAttr("id").css("margin-left",0).append("bottom"===s?a:null).append(e.children("tfoot")))));var h=(e=l.children())[0],o=e[1],d=c?e[2]:null;return i&&O(o).on("scroll.DT",function(){var t=this.scrollLeft;h.scrollLeft=t,c&&(d.scrollLeft=t)}),O(o).css(r&&n.bCollapse?"max-height":"height",r),t.nScrollHead=h,t.nScrollBody=o,t.nScrollFoot=d,t.aoDrawCallback.push({fn:gt,sName:"scrolling"}),l[0]}function gt(n){function t(t){(t=t.style).paddingTop="0",t.paddingBottom="0",t.borderTopWidth="0",t.borderBottomWidth="0",t.height=0}var e,i,r,o,a=(u=n.oScroll).sX,s=u.sXInner,l=u.sY,u=u.iBarWidth,c=O(n.nScrollHead),h=c[0].style,d=(p=c.children("div"))[0].style,f=p.children("table"),p=n.nScrollBody,g=O(p),m=p.style,y=O(n.nScrollFoot).children("div"),v=y.children("table"),b=O(n.nTHead),x=O(n.nTable),w=x[0],S=w.style,_=n.nTFoot?O(n.nTFoot):null,C=n.oBrowser,k=C.bScrollOversize,M=se(n.aoColumns,"nTh"),T=[],D=[],A=[],P=[],E=p.scrollHeight>p.clientHeight;n.scrollBarVis!==E&&n.scrollBarVis!==L?(n.scrollBarVis=E,I(n)):(n.scrollBarVis=E,x.children("thead, tfoot").remove(),_&&(i=_.clone().prependTo(x),e=_.find("tr"),i=i.find("tr")),r=b.clone().prependTo(x),b=b.find("tr"),E=r.find("tr"),r.find("th, td").removeAttr("tabindex"),a||(m.width="100%",c[0].style.width="100%"),O.each(W(n,r),function(t,e){o=N(n,t),e.style.width=n.aoColumns[o].sWidth}),_&&mt(function(t){t.style.width=""},i),c=x.outerWidth(),""===a?(S.width="100%",k&&(x.find("tbody").height()>p.offsetHeight||"scroll"==g.css("overflow-y"))&&(S.width=St(x.outerWidth()-u)),c=x.outerWidth()):""!==s&&(S.width=St(s),c=x.outerWidth()),mt(t,E),mt(function(t){A.push(t.innerHTML),T.push(St(O(t).css("width")))},E),mt(function(t,e){-1!==O.inArray(t,M)&&(t.style.width=T[e])},b),O(E).height(0),_&&(mt(t,i),mt(function(t){P.push(t.innerHTML),D.push(St(O(t).css("width")))},i),mt(function(t,e){t.style.width=D[e]},e),O(i).height(0)),mt(function(t,e){t.innerHTML='
    '+A[e]+"
    ",t.style.width=T[e]},E),_&&mt(function(t,e){t.innerHTML='
    '+P[e]+"
    ",t.style.width=D[e]},i),x.outerWidth()p.offsetHeight||"scroll"==g.css("overflow-y")?c+u:c,k&&(p.scrollHeight>p.offsetHeight||"scroll"==g.css("overflow-y"))&&(S.width=St(e-u)),""!==a&&""===s||Lt(n,1,"Possible column misalignment",6)):e="100%",m.width=St(e),h.width=St(e),_&&(n.nScrollFoot.style.width=St(e)),!l&&k&&(m.height=St(w.offsetHeight+u)),a=x.outerWidth(),f[0].style.width=St(a),d.width=St(a),s=x.height()>p.clientHeight||"scroll"==g.css("overflow-y"),d[l="padding"+(C.bScrollbarLeft?"Left":"Right")]=s?u+"px":"0px",_&&(v[0].style.width=St(a),y[0].style.width=St(a),y[0].style[l]=s?u+"px":"0px"),x.children("colgroup").insertBefore(x.children("thead")),g.scroll(),!n.bSorted&&!n.bFiltered||n._drawHold||(p.scrollTop=0))}function mt(t,e,n){for(var i,r,o=0,a=0,s=e.length;a").appendTo(l.find("tbody"));for(l.find("thead, tfoot").remove(),l.append(O(t.nTHead).clone()).append(O(t.nTFoot).clone()),l.find("tfoot th, tfoot td").css("width",""),c=W(t,l.find("thead")[0]),e=0;e").css({width:n.sWidthOrig,margin:0,padding:0,border:0,height:1}));if(t.aoData.length)for(e=0;e").css(a||o?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(l).appendTo(d),a&&s?l.width(s):a?(l.css("width","auto"),l.removeAttr("width"),l.width()").css("width",St(t)).appendTo(e||v.body),e=t[0].offsetWidth;return t.remove(),e}function xt(t,e){var n=wt(t,e);if(n<0)return null;var i=t.aoData[n];return i.nTr?i.anCells[e]:O("
    ").html(E(t,n,e,"display"))[0]}function wt(t,e){for(var n,i=-1,r=-1,o=0,a=t.aoData.length;oi&&(i=n.length,r=o);return r}function St(t){return null===t?"0px":"number"==typeof t?t<0?"0px":t+"px":t.match(/\d$/)?t+"px":t}function _t(t){var e,n,i,r=[],o=t.aoColumns,a=t.aaSortingFixed,s=O.isPlainObject(a),l=[],u=function(t){t.length&&!O.isArray(t[0])?l.push(t):O.merge(l,t)};for(O.isArray(a)&&u(a),s&&a.pre&&u(a.pre),u(t.aaSorting),s&&a.post&&u(a.post),t=0;t/g,""),l=o.nTh;l.removeAttribute("aria-sort"),o.bSortable&&(s+="asc"===(o=0=i.length?[0,e[1]]:e)})),r.search!==L&&O.extend(n.oPreviousSearch,nt(r.search)),t=0,e=r.columns.length;t/g,ie=/^[\w\+\-]/,re=/[\w\+\-]$/,oe=RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^|\\-)","g"),ae=/[',$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfk]/gi,se=function(t,e,n){var i=[],r=0,o=t.length;if(n!==L)for(;r")[0],fe=de.textContent!==L,pe=/<.*?>/g,ge=function(p){this.$=function(t,e){return this.api(!0).$(t,e)},this._=function(t,e){return this.api(!0).rows(t,e).data()},this.api=function(t){return new ve(t?Ot(this[Jt.iApiIndex]):this)},this.fnAddData=function(t,e){var n=this.api(!0),t=(O.isArray(t)&&(O.isArray(t[0])||O.isPlainObject(t[0]))?n.rows:n.row).add(t);return e!==L&&!e||n.draw(),t.flatten().toArray()},this.fnAdjustColumnSizing=function(t){var e=this.api(!0).columns.adjust(),n=e.settings()[0],i=n.oScroll;t===L||t?e.draw(!1):""===i.sX&&""===i.sY||gt(n)},this.fnClearTable=function(t){var e=this.api(!0).clear();t!==L&&!t||e.draw()},this.fnClose=function(t){this.api(!0).row(t).child.hide()},this.fnDeleteRow=function(t,e,n){var i=this.api(!0),r=(t=i.rows(t)).settings()[0],o=r.aoData[t[0][0]];return t.remove(),e&&e.call(this,r,o),n!==L&&!n||i.draw(),o},this.fnDestroy=function(t){this.api(!0).destroy(t)},this.fnDraw=function(t){this.api(!0).draw(t)},this.fnFilter=function(t,e,n,i,r,o){r=this.api(!0),(null===e||e===L?r:r.column(e)).search(t,n,i,o),r.draw()},this.fnGetData=function(t,e){var n=this.api(!0);if(t===L)return n.data().toArray();var i=t.nodeName?t.nodeName.toLowerCase():"";return e!==L||"td"==i||"th"==i?n.cell(t,e).data():n.row(t).data()||null},this.fnGetNodes=function(t){var e=this.api(!0);return t!==L?e.row(t).node():e.rows().nodes().flatten().toArray()},this.fnGetPosition=function(t){var e=this.api(!0),n=t.nodeName.toUpperCase();return"TR"==n?e.row(t).index():"TD"==n||"TH"==n?[(t=e.cell(t).index()).row,t.columnVisible,t.column]:null},this.fnIsOpen=function(t){return this.api(!0).row(t).child.isShown()},this.fnOpen=function(t,e,n){return this.api(!0).row(t).child(e,n).show().child()[0]},this.fnPageChange=function(t,e){t=this.api(!0).page(t);e!==L&&!e||t.draw(!1)},this.fnSetColumnVis=function(t,e,n){t=this.api(!0).column(t).visible(e),n!==L&&!n||t.columns.adjust().draw()},this.fnSettings=function(){return Ot(this[Jt.iApiIndex])},this.fnSort=function(t){this.api(!0).order(t).draw()},this.fnSortListener=function(t,e,n){this.api(!0).order.listener(t,e,n)},this.fnUpdate=function(t,e,n,i,r){var o=this.api(!0);return(n===L||null===n?o.row(e):o.cell(e,n)).data(t),r!==L&&!r||o.columns.adjust(),i!==L&&!i||o.draw(),0},this.fnVersionCheck=Jt.fnVersionCheck;var t,g=this,m=p===L,y=this.length;for(t in m&&(p={}),this.oApi=this.internal=Jt.internal,ge.ext.internal)t&&(this[t]=e(t));return this.each(function(){var t={},t=1t<"F"ip>'),u.renderer?O.isPlainObject(u.renderer)&&!u.renderer.header&&(u.renderer.header="jqueryui"):u.renderer="jqueryui"):O.extend(n,ge.ext.classes,t.oClasses),o.addClass(n.sTable),u.iInitDisplayStart===L&&(u.iInitDisplayStart=t.iDisplayStart,u._iDisplayStart=t.iDisplayStart),null!==t.iDeferLoading&&(u.bDeferLoading=!0,e=O.isArray(t.iDeferLoading),u._iRecordsDisplay=e?t.iDeferLoading[0]:t.iDeferLoading,u._iRecordsTotal=e?t.iDeferLoading[1]:t.iDeferLoading);var c=u.oLanguage;O.extend(!0,c,t.oLanguage),""!==c.sUrl&&(O.ajax({dataType:"json",url:c.sUrl,success:function(t){x(t),b(r.oLanguage,t),O.extend(!0,c,t),at(u)},error:function(){at(u)}}),i=!0),null===t.asStripeClasses&&(u.asStripeClasses=[n.sStripeOdd,n.sStripeEven]);var h,e=u.asStripeClasses,d=o.children("tbody").find("tr").eq(0);if(-1!==O.inArray(!0,O.map(e,function(t){return d.hasClass(t)}))&&(O("tbody tr",this).removeClass(e.join(" ")),u.asDestroyStripes=e.slice()),a=[],0!==(e=this.getElementsByTagName("thead")).length&&(z(u.aoHeader,e[0]),a=W(u)),null===t.aoColumns)for(l=[],e=0,s=a.length;e").appendTo(this)),u.nTHead=s[0],0===(s=o.children("tbody")).length&&(s=O("
    ").addClass("table-condensed")),i=K("
    ").addClass("timepicker-minutes").append(K("
    ").addClass("table-condensed")),r=K("
    ").addClass("timepicker-seconds").append(K("
    ").addClass("table-condensed")),o=[(t=K(""),e=K(""),o=K(""),a("h")&&(t.append(K("
    ").append(K("").attr({href:"#",tabindex:"-1",title:u.tooltips.incrementHour}).addClass("btn").attr("data-action","incrementHours").append(K("").addClass(u.icons.up)))),e.append(K("").append(K("").addClass("timepicker-hour").attr({"data-time-component":"hours",title:u.tooltips.pickHour}).attr("data-action","showHours"))),o.append(K("").append(K("").attr({href:"#",tabindex:"-1",title:u.tooltips.decrementHour}).addClass("btn").attr("data-action","decrementHours").append(K("").addClass(u.icons.down))))),a("m")&&(a("h")&&(t.append(K("").addClass("separator")),e.append(K("").addClass("separator").html(":")),o.append(K("").addClass("separator"))),t.append(K("").append(K("").attr({href:"#",tabindex:"-1",title:u.tooltips.incrementMinute}).addClass("btn").attr("data-action","incrementMinutes").append(K("").addClass(u.icons.up)))),e.append(K("").append(K("").addClass("timepicker-minute").attr({"data-time-component":"minutes",title:u.tooltips.pickMinute}).attr("data-action","showMinutes"))),o.append(K("").append(K("").attr({href:"#",tabindex:"-1",title:u.tooltips.decrementMinute}).addClass("btn").attr("data-action","decrementMinutes").append(K("").addClass(u.icons.down))))),a("s")&&(a("m")&&(t.append(K("").addClass("separator")),e.append(K("").addClass("separator").html(":")),o.append(K("").addClass("separator"))),t.append(K("").append(K("").attr({href:"#",tabindex:"-1",title:u.tooltips.incrementSecond}).addClass("btn").attr("data-action","incrementSeconds").append(K("").addClass(u.icons.up)))),e.append(K("").append(K("").addClass("timepicker-second").attr({"data-time-component":"seconds",title:u.tooltips.pickSecond}).attr("data-action","showSeconds"))),o.append(K("").append(K("").attr({href:"#",tabindex:"-1",title:u.tooltips.decrementSecond}).addClass("btn").attr("data-action","decrementSeconds").append(K("").addClass(u.icons.down))))),E||(t.append(K("").addClass("separator")),e.append(K("").append(K("").addClass("separator"))),K("
    ").addClass("timepicker-picker").append(K("").addClass("table-condensed").append([t,e,o])))];return a("h")&&o.push(n),a("m")&&o.push(i),a("s")&&o.push(r),o}function e(){var t=K("
    ").addClass("bootstrap-datetimepicker-widget dropdown-menu"),e=K("
    ").addClass("datepicker").append((i=K("
    ").append(K("").append(K("").append(K("").append(K("
    ").addClass("prev").attr("data-action","previous").append(K("").addClass(u.icons.previous))).append(K("").addClass("picker-switch").attr("data-action","pickerSwitch").attr("colspan",u.calendarWeeks?"6":"5")).append(K("").addClass("next").attr("data-action","next").append(K("").addClass(u.icons.next)))),r=K("
    ").attr("colspan",u.calendarWeeks?"8":"7"))),[K("
    ").addClass("datepicker-days").append(K("").addClass("table-condensed").append(i).append(K(""))),K("
    ").addClass("datepicker-months").append(K("
    ").addClass("table-condensed").append(i.clone()).append(r.clone())),K("
    ").addClass("datepicker-years").append(K("
    ").addClass("table-condensed").append(i.clone()).append(r.clone())),K("
    ").addClass("datepicker-decades").append(K("
    ").addClass("table-condensed").append(i.clone()).append(r.clone()))])),n=K("
    ").addClass("timepicker").append(h()),i=K("
      ").addClass("list-unstyled"),r=K("
    • ").addClass("picker-switch"+(u.collapse?" accordion-toggle":"")).append((r=[],u.showTodayButton&&r.push(K("
    ").append(K("").attr({"data-action":"today",title:u.tooltips.today}).append(K("").addClass(u.icons.today)))),!u.sideBySide&&c()&&s()&&r.push(K("").append(K("").attr({"data-action":"togglePicker",title:u.tooltips.selectTime}).append(K("").addClass(u.icons.time)))),u.showClear&&r.push(K("").append(K("").attr({"data-action":"clear",title:u.tooltips.clear}).append(K("").addClass(u.icons.clear)))),u.showClose&&r.push(K("").append(K("").attr({"data-action":"close",title:u.tooltips.close}).append(K("").addClass(u.icons.close)))),K("").addClass("table-condensed").append(K("").append(K("").append(r)))));return u.inline&&t.removeClass("dropdown-menu"),E&&t.addClass("usetwentyfour"),a("s")&&!E&&t.addClass("wider"),u.sideBySide&&c()&&s()?(t.addClass("timepicker-sbs"),"top"===u.toolbarPlacement&&t.append(r),t.append(K("
    ").addClass("row").append(e.addClass("col-md-6")).append(n.addClass("col-md-6"))),"bottom"===u.toolbarPlacement&&t.append(r),t):("top"===u.toolbarPlacement&&i.append(r),c()&&i.append(K("
  • ").addClass(u.collapse&&s()?"collapse in":"").append(e)),"default"===u.toolbarPlacement&&i.append(r),s()&&i.append(K("
  • ").addClass(u.collapse&&c()?"collapse":"").append(n)),"bottom"===u.toolbarPlacement&&i.append(r),t.append(i))}function n(){var t,e=(H||o).position(),n=(H||o).offset(),i=u.widgetPositioning.vertical,r=u.widgetPositioning.horizontal;if(u.widgetParent)t=u.widgetParent.append(B);else if(o.is("input"))t=o.after(B).parent();else{if(u.inline)return void(t=o.append(B));(t=o).children().first().after(B)}if("auto"===i&&(i=n.top+1.5*B.height()>=K(window).height()+K(window).scrollTop()&&B.height()+o.outerHeight()K(window).width()?"right":"left"),"top"===i?B.addClass("top").removeClass("bottom"):B.addClass("bottom").removeClass("top"),"right"===r?B.addClass("pull-right"):B.removeClass("pull-right"),0===(t="relative"!==t.css("position")?t.parents().filter(function(){return"relative"===K(this).css("position")}).first():t).length)throw new Error("datetimepicker component should be placed within a relative positioned container");B.css({top:"top"===i?"auto":e.top+o.outerHeight(),bottom:"top"===i?e.top+o.outerHeight():"auto",left:"left"===r?t===o?0:e.left:"auto",right:"left"===r?"auto":t.outerWidth()-o.outerWidth()-(t===o?0:e.left)})}function i(t){"dp.change"===t.type&&(t.date&&t.date.isSame(t.oldDate)||!t.date&&!t.oldDate)||o.trigger(t)}function r(t){i({type:"dp.update",change:t="y"===t?"YYYY":t,viewDate:A.clone()})}function d(t){B&&(t&&(I=Math.max(z,Math.min(3,I+t))),B.find(".datepicker > div").hide().filter(".datepicker-"+W[I].clsName).show())}function f(t,e){if(t.isValid()&&!(u.disabledDates&&"d"===e&&!0===u.disabledDates[t.format("YYYY-MM-DD")]||u.enabledDates&&"d"===e&&!0!==u.enabledDates[t.format("YYYY-MM-DD")]||u.minDate&&t.isBefore(u.minDate,e)||u.maxDate&&t.isAfter(u.maxDate,e)||u.daysOfWeekDisabled&&"d"===e&&-1!==u.daysOfWeekDisabled.indexOf(t.day())||u.disabledHours&&("h"===e||"m"===e||"s"===e)&&!0===u.disabledHours[t.format("H")]||u.enabledHours&&("h"===e||"m"===e||"s"===e)&&!0!==u.enabledHours[t.format("H")])){if(u.disabledTimeIntervals&&("h"===e||"m"===e||"s"===e)){var n=!1;if(K.each(u.disabledTimeIntervals,function(){if(t.isBetween(this[0],this[1]))return!(n=!0)}),n)return}return 1}}function p(){var t,e,n,i,r,o=B.find(".datepicker-days"),a=o.find("th"),s=[];if(c()){for(a.eq(0).find("span").attr("title",u.tooltips.prevMonth),a.eq(1).attr("title",u.tooltips.selectMonth),a.eq(2).find("span").attr("title",u.tooltips.nextMonth),o.find(".disabled").removeClass("disabled"),a.eq(1).text(A.format(u.dayViewHeaderFormat)),f(A.clone().subtract(1,"M"),"M")||a.eq(0).addClass("disabled"),f(A.clone().add(1,"M"),"M")||a.eq(2).addClass("disabled"),t=A.clone().startOf("M").startOf("w").startOf("d"),i=0;i<42;i++)0===t.weekday()&&(e=K("
  • "),u.calendarWeeks&&e.append('"),s.push(e)),n="",t.isBefore(A,"M")&&(n+=" old"),t.isAfter(A,"M")&&(n+=" new"),t.isSame(D,"d")&&!j&&(n+=" active"),f(t,"d")||(n+=" disabled"),t.isSame(l(),"d")&&(n+=" today"),0!==t.day()&&6!==t.day()||(n+=" weekend"),e.append('"),t.add(1,"d");o.find("tbody").empty().append(s),r=B.find(".datepicker-months"),a=r.find("th"),o=r.find("tbody").find("span"),a.eq(0).find("span").attr("title",u.tooltips.prevYear),a.eq(1).attr("title",u.tooltips.selectYear),a.eq(2).find("span").attr("title",u.tooltips.nextYear),r.find(".disabled").removeClass("disabled"),f(A.clone().subtract(1,"y"),"y")||a.eq(0).addClass("disabled"),a.eq(1).text(A.year()),f(A.clone().add(1,"y"),"y")||a.eq(2).addClass("disabled"),o.removeClass("active"),D.isSame(A,"y")&&!j&&o.eq(D.month()).addClass("active"),o.each(function(t){f(A.clone().month(t),"M")||K(this).addClass("disabled")}),function(){var t=B.find(".datepicker-years"),e=t.find("th"),n=A.clone().subtract(5,"y"),i=A.clone().add(6,"y"),r="";for(e.eq(0).find("span").attr("title",u.tooltips.prevDecade),e.eq(1).attr("title",u.tooltips.selectDecade),e.eq(2).find("span").attr("title",u.tooltips.nextDecade),t.find(".disabled").removeClass("disabled"),u.minDate&&u.minDate.isAfter(n,"y")&&e.eq(0).addClass("disabled"),e.eq(1).text(n.year()+"-"+i.year()),u.maxDate&&u.maxDate.isBefore(i,"y")&&e.eq(2).addClass("disabled");!n.isAfter(i,"y");)r+=''+n.year()+"",n.add(1,"y");t.find("td").html(r)}(),function(){var t=B.find(".datepicker-decades"),e=t.find("th"),n=J({y:A.year()-A.year()%100-1}),i=n.clone().add(100,"y"),r=n.clone(),o="";for(e.eq(0).find("span").attr("title",u.tooltips.prevCentury),e.eq(2).find("span").attr("title",u.tooltips.nextCentury),t.find(".disabled").removeClass("disabled"),(n.isSame(J({y:1900}))||u.minDate&&u.minDate.isAfter(n,"y"))&&e.eq(0).addClass("disabled"),e.eq(1).text(n.year()+"-"+i.year()),(n.isSame(J({y:2e3}))||u.maxDate&&u.maxDate.isBefore(i,"y"))&&e.eq(2).addClass("disabled");!n.isAfter(i,"y");)o+=''+(n.year()+1)+" - "+(n.year()+12)+"",n.add(12,"y");o+="",t.find("td").html(o),e.eq(1).text(r.year()+1+"-"+n.year())}()}}function t(){var t,e,n=B.find(".timepicker span[data-time-component]");E||(t=B.find(".timepicker [data-action=togglePeriod]"),e=D.clone().add(12<=D.hours()?-12:12,"h"),t.text(D.format("A")),f(e,"h")?t.removeClass("disabled"):t.addClass("disabled")),n.filter("[data-time-component=hours]").text(D.format(E?"HH":"hh")),n.filter("[data-time-component=minutes]").text(D.format("mm")),n.filter("[data-time-component=seconds]").text(D.format("ss")),function(){var t=B.find(".timepicker-hours table"),e=A.clone().startOf("d"),n=[],i=K("");for(11"),n.push(i)),i.append('"),e.add(1,"h");t.empty().append(n)}(),function(){for(var t=B.find(".timepicker-minutes table"),e=A.clone().startOf("h"),n=[],i=K(""),r=1===u.stepping?5:u.stepping;A.isSame(e,"h");)e.minute()%(4*r)==0&&(i=K(""),n.push(i)),i.append('"),e.add(r,"m");t.empty().append(n)}(),function(){for(var t=B.find(".timepicker-seconds table"),e=A.clone().startOf("m"),n=[],i=K("");A.isSame(e,"m");)e.second()%20==0&&(i=K(""),n.push(i)),i.append('"),e.add(5,"s");t.empty().append(n)}()}function g(){B&&(p(),t())}function m(t){var e=j?null:D;if(!t)return j=!0,P.val(""),o.data("date",""),i({type:"dp.change",date:!1,oldDate:e}),g(),0;t=t.clone().locale(u.locale),1!==u.stepping&&t.minutes(Math.round(t.minutes()/u.stepping)*u.stepping%60).seconds(0),f(t)?(A=(D=t).clone(),P.val(D.format(O)),o.data("date",D.format(O)),j=!1,g(),i({type:"dp.change",date:D.clone(),oldDate:e})):(u.keepInvalid||P.val(j?"":D.format(O)),i({type:"dp.error",date:t}))}function y(){var e=!1;return B?(B.find(".collapse").each(function(){var t=K(this).data("collapse");return!t||!t.transitioning||!(e=!0)}),e||(H&&H.hasClass("btn")&&H.toggleClass("active"),B.hide(),K(window).off("resize",n),B.off("click","[data-action]"),B.off("mousedown",!1),B.remove(),B=!1,i({type:"dp.hide",date:D.clone()}),P.blur()),F):F}function v(){m(null)}function b(t){return K(t.currentTarget).is(".disabled")||V[K(t.currentTarget).data("action")].apply(F,arguments),!1}function x(){var t;return P.prop("disabled")||!u.ignoreReadonly&&P.prop("readonly")||B||(void 0!==P.val()&&0!==P.val().trim().length?m(Z(P.val().trim())):u.useCurrent&&j&&(P.is("input")&&0===P.val().trim().length||u.inline)&&(t=l(),"string"==typeof u.useCurrent&&(t={year:function(t){return t.month(0).date(1).hours(0).seconds(0).minutes(0)},month:function(t){return t.date(1).hours(0).seconds(0).minutes(0)},day:function(t){return t.hours(0).seconds(0).minutes(0)},hour:function(t){return t.seconds(0).minutes(0)},minute:function(t){return t.seconds(0)}}[u.useCurrent](t)),m(t)),B=e(),function(){var t=K(""),e=A.clone().startOf("w").startOf("d");for(!0===u.calendarWeeks&&t.append(K("
    '+t.week()+"'+t.date()+"
    '+e.format(E?"HH":"hh")+"
    '+e.format("mm")+"
    '+e.format("ss")+"
    ").addClass("cw").text("#"));e.isBefore(A.clone().endOf("w"));)t.append(K("").addClass("dow").text(e.format("dd"))),e.add(1,"d");B.find(".datepicker-days thead").append(t)}(),function(){for(var t=[],e=A.clone().startOf("y").startOf("d");e.isSame(A,"y");)t.push(K("").attr("data-action","selectMonth").addClass("month").text(e.format("MMM"))),e.add(1,"M");B.find(".datepicker-months td").empty().append(t)}(),B.find(".timepicker-hours").hide(),B.find(".timepicker-minutes").hide(),B.find(".timepicker-seconds").hide(),g(),d(),K(window).on("resize",n),B.on("click","[data-action]",b),B.on("mousedown",!1),H&&H.hasClass("btn")&&H.toggleClass("active"),B.show(),n(),u.focusOnShow&&!P.is(":focus")&&P.focus(),i({type:"dp.show"})),F}function w(){return(B?y:x)()}function S(t){var e,n,i,r,o=null,a=[],s={},l=t.which;for(e in X[l]="p",X)X.hasOwnProperty(e)&&"p"===X[e]&&(a.push(e),parseInt(e,10)!==l&&(s[e]=!0));for(e in u.keyBinds)if(u.keyBinds.hasOwnProperty(e)&&"function"==typeof u.keyBinds[e]&&(i=e.split(" ")).length===a.length&&G[l]===i[i.length-1]){for(r=!0,n=i.length-2;0<=n;n--)if(!(G[i[n]]in s)){r=!1;break}if(r){o=u.keyBinds[e];break}}o&&(o.call(F,B),t.stopPropagation(),t.preventDefault())}function _(t){X[t.which]="r",t.stopPropagation(),t.preventDefault()}function C(t){var e=(e=K(t.target).val().trim())?Z(e):null;return m(e),t.stopImmediatePropagation(),!1}function k(t){var e={};return K.each(t,function(){var t=Z(this);t.isValid()&&(e[t.format("YYYY-MM-DD")]=!0)}),!!Object.keys(e).length&&e}function M(t){var e={};return K.each(t,function(){e[this]=!0}),!!Object.keys(e).length&&e}function T(){var t=u.format||"L LT";O=t.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(t){return(D.localeData().longDateFormat(t)||t).replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(t){return D.localeData().longDateFormat(t)||t})}),(L=u.extraFormats?u.extraFormats.slice():[]).indexOf(t)<0&&L.indexOf(O)<0&&L.push(O),E=O.toLowerCase().indexOf("a")<1&&O.replace(/\[.*?\]/g,"").indexOf("h")<1,a("y")&&(z=2),a("M")&&(z=1),a("d")&&(z=0),I=Math.max(z,I),j||m(D)}var D,A,P,E,O,L,I,N,R,F={},j=!0,H=!1,B=!1,z=0,W=[{clsName:"days",navFnc:"M",navStep:1},{clsName:"months",navFnc:"y",navStep:1},{clsName:"years",navFnc:"y",navStep:10},{clsName:"decades",navFnc:"y",navStep:100}],$=["days","months","years","decades"],q=["top","bottom","auto"],U=["left","right","auto"],Y=["default","top","bottom"],G={up:38,38:"up",down:40,40:"down",left:37,37:"left",right:39,39:"right",tab:9,9:"tab",escape:27,27:"escape",enter:13,13:"enter",pageUp:33,33:"pageUp",pageDown:34,34:"pageDown",shift:16,16:"shift",control:17,17:"control",space:32,32:"space",t:84,84:"t",delete:46,46:"delete"},X={},V={next:function(){var t=W[I].navFnc;A.add(W[I].navStep,t),p(),r(t)},previous:function(){var t=W[I].navFnc;A.subtract(W[I].navStep,t),p(),r(t)},pickerSwitch:function(){d(1)},selectMonth:function(t){t=K(t.target).closest("tbody").find("span").index(K(t.target));A.month(t),I===z?(m(D.clone().year(A.year()).month(A.month())),u.inline||y()):(d(-1),p()),r("M")},selectYear:function(t){t=parseInt(K(t.target).text(),10)||0;A.year(t),I===z?(m(D.clone().year(A.year())),u.inline||y()):(d(-1),p()),r("YYYY")},selectDecade:function(t){t=parseInt(K(t.target).data("selection"),10)||0;A.year(t),I===z?(m(D.clone().year(A.year())),u.inline||y()):(d(-1),p()),r("YYYY")},selectDay:function(t){var e=A.clone();K(t.target).is(".old")&&e.subtract(1,"M"),K(t.target).is(".new")&&e.add(1,"M"),m(e.date(parseInt(K(t.target).text(),10))),s()||u.keepOpen||u.inline||y()},incrementHours:function(){var t=D.clone().add(1,"h");f(t,"h")&&m(t)},incrementMinutes:function(){var t=D.clone().add(u.stepping,"m");f(t,"m")&&m(t)},incrementSeconds:function(){var t=D.clone().add(1,"s");f(t,"s")&&m(t)},decrementHours:function(){var t=D.clone().subtract(1,"h");f(t,"h")&&m(t)},decrementMinutes:function(){var t=D.clone().subtract(u.stepping,"m");f(t,"m")&&m(t)},decrementSeconds:function(){var t=D.clone().subtract(1,"s");f(t,"s")&&m(t)},togglePeriod:function(){m(D.clone().add(12<=D.hours()?-12:12,"h"))},togglePicker:function(t){var e=K(t.target),n=e.closest("ul"),i=n.find(".in"),t=n.find(".collapse:not(.in)");i&&i.length&&((n=i.data("collapse"))&&n.transitioning||(i.collapse?(i.collapse("hide"),t.collapse("show")):(i.removeClass("in"),t.addClass("in")),(e.is("span")?e:e.find("span")).toggleClass(u.icons.time+" "+u.icons.date)))},showPicker:function(){B.find(".timepicker > div:not(.timepicker-picker)").hide(),B.find(".timepicker .timepicker-picker").show()},showHours:function(){B.find(".timepicker .timepicker-picker").hide(),B.find(".timepicker .timepicker-hours").show()},showMinutes:function(){B.find(".timepicker .timepicker-picker").hide(),B.find(".timepicker .timepicker-minutes").show()},showSeconds:function(){B.find(".timepicker .timepicker-picker").hide(),B.find(".timepicker .timepicker-seconds").show()},selectHour:function(t){t=parseInt(K(t.target).text(),10);E||(12<=D.hours()?12!==t&&(t+=12):12===t&&(t=0)),m(D.clone().hours(t)),V.showPicker.call(F)},selectMinute:function(t){m(D.clone().minutes(parseInt(K(t.target).text(),10))),V.showPicker.call(F)},selectSecond:function(t){m(D.clone().seconds(parseInt(K(t.target).text(),10))),V.showPicker.call(F)},clear:v,today:function(){var t=l();f(t,"d")&&m(t)},close:y},Z=function(t){return(t=void 0===u.parseInputDate?(J.isMoment(t)||t instanceof Date?J:l)(t):u.parseInputDate(t)).locale(u.locale),t};if(F.destroy=function(){y(),P.off({change:C,blur:blur,keydown:S,keyup:_,focus:u.allowInputToggle?y:""}),o.is("input")?P.off({focus:x}):H&&(H.off("click",w),H.off("mousedown",!1)),o.removeData("DateTimePicker"),o.removeData("date")},F.toggle=w,F.show=x,F.hide=y,F.disable=function(){return y(),H&&H.hasClass("btn")&&H.addClass("disabled"),P.prop("disabled",!0),F},F.enable=function(){return H&&H.hasClass("btn")&&H.removeClass("disabled"),P.prop("disabled",!1),F},F.ignoreReadonly=function(t){if(0===arguments.length)return u.ignoreReadonly;if("boolean"!=typeof t)throw new TypeError("ignoreReadonly () expects a boolean parameter");return u.ignoreReadonly=t,F},F.options=function(t){if(0===arguments.length)return K.extend(!0,{},u);if(!(t instanceof Object))throw new TypeError("options() options parameter should be an object");return K.extend(!0,u,t),K.each(u,function(t,e){if(void 0===F[t])throw new TypeError("option "+t+" is not recognized!");F[t](e)}),F},F.date=function(t){if(0===arguments.length)return j?null:D.clone();if(!(null===t||"string"==typeof t||J.isMoment(t)||t instanceof Date))throw new TypeError("date() parameter must be one of [null, string, moment or Date]");return m(null===t?null:Z(t)),F},F.format=function(t){if(0===arguments.length)return u.format;if("string"!=typeof t&&("boolean"!=typeof t||!1!==t))throw new TypeError("format() expects a sting or boolean:false parameter "+t);return u.format=t,O&&T(),F},F.timeZone=function(t){return 0===arguments.length?u.timeZone:(u.timeZone=t,F)},F.dayViewHeaderFormat=function(t){if(0===arguments.length)return u.dayViewHeaderFormat;if("string"!=typeof t)throw new TypeError("dayViewHeaderFormat() expects a string parameter");return u.dayViewHeaderFormat=t,F},F.extraFormats=function(t){if(0===arguments.length)return u.extraFormats;if(!1!==t&&!(t instanceof Array))throw new TypeError("extraFormats() expects an array or false parameter");return u.extraFormats=t,L&&T(),F},F.disabledDates=function(t){if(0===arguments.length)return u.disabledDates&&K.extend({},u.disabledDates);if(!t)return u.disabledDates=!1,g(),F;if(!(t instanceof Array))throw new TypeError("disabledDates() expects an array parameter");return u.disabledDates=k(t),u.enabledDates=!1,g(),F},F.enabledDates=function(t){if(0===arguments.length)return u.enabledDates&&K.extend({},u.enabledDates);if(!t)return u.enabledDates=!1,g(),F;if(!(t instanceof Array))throw new TypeError("enabledDates() expects an array parameter");return u.enabledDates=k(t),u.disabledDates=!1,g(),F},F.daysOfWeekDisabled=function(t){if(0===arguments.length)return u.daysOfWeekDisabled.splice(0);if("boolean"==typeof t&&!t)return u.daysOfWeekDisabled=!1,g(),F;if(!(t instanceof Array))throw new TypeError("daysOfWeekDisabled() expects an array parameter");if(u.daysOfWeekDisabled=t.reduce(function(t,e){return 6<(e=parseInt(e,10))||e<0||isNaN(e)||-1===t.indexOf(e)&&t.push(e),t},[]).sort(),u.useCurrent&&!u.keepInvalid){for(var e=0;!f(D,"d");){if(D.add(1,"d"),7===e)throw"Tried 7 times to find a valid date";e++}m(D)}return g(),F},F.maxDate=function(t){if(0===arguments.length)return u.maxDate&&u.maxDate.clone();if("boolean"==typeof t&&!1===t)return u.maxDate=!1,g(),F;"string"==typeof t&&("now"!==t&&"moment"!==t||(t=l()));var e=Z(t);if(!e.isValid())throw new TypeError("maxDate() Could not parse date parameter: "+t);if(u.minDate&&e.isBefore(u.minDate))throw new TypeError("maxDate() date parameter is before options.minDate: "+e.format(O));return u.maxDate=e,u.useCurrent&&!u.keepInvalid&&D.isAfter(t)&&m(u.maxDate),A.isAfter(e)&&(A=e.clone().subtract(u.stepping,"m")),g(),F},F.minDate=function(t){if(0===arguments.length)return u.minDate&&u.minDate.clone();if("boolean"==typeof t&&!1===t)return u.minDate=!1,g(),F;"string"==typeof t&&("now"!==t&&"moment"!==t||(t=l()));var e=Z(t);if(!e.isValid())throw new TypeError("minDate() Could not parse date parameter: "+t);if(u.maxDate&&e.isAfter(u.maxDate))throw new TypeError("minDate() date parameter is after options.maxDate: "+e.format(O));return u.minDate=e,u.useCurrent&&!u.keepInvalid&&D.isBefore(t)&&m(u.minDate),A.isBefore(e)&&(A=e.clone().add(u.stepping,"m")),g(),F},F.defaultDate=function(t){if(0===arguments.length)return u.defaultDate&&u.defaultDate.clone();if(!t)return u.defaultDate=!1,F;"string"==typeof t&&("now"!==t&&"moment"!==t||(t=l()));var e=Z(t);if(!e.isValid())throw new TypeError("defaultDate() Could not parse date parameter: "+t);if(!f(e))throw new TypeError("defaultDate() date passed is invalid according to component setup validations");return u.defaultDate=e,(u.defaultDate&&u.inline||""===P.val().trim())&&m(u.defaultDate),F},F.locale=function(t){if(0===arguments.length)return u.locale;if(!J.localeData(t))throw new TypeError("locale() locale "+t+" is not loaded from moment locales!");return u.locale=t,D.locale(u.locale),A.locale(u.locale),O&&T(),B&&(y(),x()),F},F.stepping=function(t){return 0===arguments.length?u.stepping:(t=parseInt(t,10),(isNaN(t)||t<1)&&(t=1),u.stepping=t,F)},F.useCurrent=function(t){var e=["year","month","day","hour","minute"];if(0===arguments.length)return u.useCurrent;if("boolean"!=typeof t&&"string"!=typeof t)throw new TypeError("useCurrent() expects a boolean or string parameter");if("string"==typeof t&&-1===e.indexOf(t.toLowerCase()))throw new TypeError("useCurrent() expects a string parameter of "+e.join(", "));return u.useCurrent=t,F},F.collapse=function(t){if(0===arguments.length)return u.collapse;if("boolean"!=typeof t)throw new TypeError("collapse() expects a boolean parameter");return u.collapse===t||(u.collapse=t,B&&(y(),x())),F},F.icons=function(t){if(0===arguments.length)return K.extend({},u.icons);if(!(t instanceof Object))throw new TypeError("icons() expects parameter to be an Object");return K.extend(u.icons,t),B&&(y(),x()),F},F.tooltips=function(t){if(0===arguments.length)return K.extend({},u.tooltips);if(!(t instanceof Object))throw new TypeError("tooltips() expects parameter to be an Object");return K.extend(u.tooltips,t),B&&(y(),x()),F},F.useStrict=function(t){if(0===arguments.length)return u.useStrict;if("boolean"!=typeof t)throw new TypeError("useStrict() expects a boolean parameter");return u.useStrict=t,F},F.sideBySide=function(t){if(0===arguments.length)return u.sideBySide;if("boolean"!=typeof t)throw new TypeError("sideBySide() expects a boolean parameter");return u.sideBySide=t,B&&(y(),x()),F},F.viewMode=function(t){if(0===arguments.length)return u.viewMode;if("string"!=typeof t)throw new TypeError("viewMode() expects a string parameter");if(-1===$.indexOf(t))throw new TypeError("viewMode() parameter must be one of ("+$.join(", ")+") value");return u.viewMode=t,I=Math.max($.indexOf(t),z),d(),F},F.toolbarPlacement=function(t){if(0===arguments.length)return u.toolbarPlacement;if("string"!=typeof t)throw new TypeError("toolbarPlacement() expects a string parameter");if(-1===Y.indexOf(t))throw new TypeError("toolbarPlacement() parameter must be one of ("+Y.join(", ")+") value");return u.toolbarPlacement=t,B&&(y(),x()),F},F.widgetPositioning=function(t){if(0===arguments.length)return K.extend({},u.widgetPositioning);if("[object Object]"!=={}.toString.call(t))throw new TypeError("widgetPositioning() expects an object variable");if(t.horizontal){if("string"!=typeof t.horizontal)throw new TypeError("widgetPositioning() horizontal variable must be a string");if(t.horizontal=t.horizontal.toLowerCase(),-1===U.indexOf(t.horizontal))throw new TypeError("widgetPositioning() expects horizontal parameter to be one of ("+U.join(", ")+")");u.widgetPositioning.horizontal=t.horizontal}if(t.vertical){if("string"!=typeof t.vertical)throw new TypeError("widgetPositioning() vertical variable must be a string");if(t.vertical=t.vertical.toLowerCase(),-1===q.indexOf(t.vertical))throw new TypeError("widgetPositioning() expects vertical parameter to be one of ("+q.join(", ")+")");u.widgetPositioning.vertical=t.vertical}return g(),F},F.calendarWeeks=function(t){if(0===arguments.length)return u.calendarWeeks;if("boolean"!=typeof t)throw new TypeError("calendarWeeks() expects parameter to be a boolean value");return u.calendarWeeks=t,g(),F},F.showTodayButton=function(t){if(0===arguments.length)return u.showTodayButton;if("boolean"!=typeof t)throw new TypeError("showTodayButton() expects a boolean parameter");return u.showTodayButton=t,B&&(y(),x()),F},F.showClear=function(t){if(0===arguments.length)return u.showClear;if("boolean"!=typeof t)throw new TypeError("showClear() expects a boolean parameter");return u.showClear=t,B&&(y(),x()),F},F.widgetParent=function(t){if(0===arguments.length)return u.widgetParent;if(null!==(t="string"==typeof t?K(t):t)&&"string"!=typeof t&&!(t instanceof K))throw new TypeError("widgetParent() expects a string or a jQuery object parameter");return u.widgetParent=t,B&&(y(),x()),F},F.keepOpen=function(t){if(0===arguments.length)return u.keepOpen;if("boolean"!=typeof t)throw new TypeError("keepOpen() expects a boolean parameter");return u.keepOpen=t,F},F.focusOnShow=function(t){if(0===arguments.length)return u.focusOnShow;if("boolean"!=typeof t)throw new TypeError("focusOnShow() expects a boolean parameter");return u.focusOnShow=t,F},F.inline=function(t){if(0===arguments.length)return u.inline;if("boolean"!=typeof t)throw new TypeError("inline() expects a boolean parameter");return u.inline=t,F},F.clear=function(){return v(),F},F.keyBinds=function(t){return u.keyBinds=t,F},F.getMoment=l,F.debug=function(t){if("boolean"!=typeof t)throw new TypeError("debug() expects a boolean parameter");return u.debug=t,F},F.allowInputToggle=function(t){if(0===arguments.length)return u.allowInputToggle;if("boolean"!=typeof t)throw new TypeError("allowInputToggle() expects a boolean parameter");return u.allowInputToggle=t,F},F.showClose=function(t){if(0===arguments.length)return u.showClose;if("boolean"!=typeof t)throw new TypeError("showClose() expects a boolean parameter");return u.showClose=t,F},F.keepInvalid=function(t){if(0===arguments.length)return u.keepInvalid;if("boolean"!=typeof t)throw new TypeError("keepInvalid() expects a boolean parameter");return u.keepInvalid=t,F},F.datepickerInput=function(t){if(0===arguments.length)return u.datepickerInput;if("string"!=typeof t)throw new TypeError("datepickerInput() expects a string parameter");return u.datepickerInput=t,F},F.parseInputDate=function(t){if(0===arguments.length)return u.parseInputDate;if("function"!=typeof t)throw new TypeError("parseInputDate() sholud be as function");return u.parseInputDate=t,F},F.disabledTimeIntervals=function(t){if(0===arguments.length)return u.disabledTimeIntervals&&K.extend({},u.disabledTimeIntervals);if(!t)return u.disabledTimeIntervals=!1,g(),F;if(!(t instanceof Array))throw new TypeError("disabledTimeIntervals() expects an array parameter");return u.disabledTimeIntervals=t,g(),F},F.disabledHours=function(t){if(0===arguments.length)return u.disabledHours&&K.extend({},u.disabledHours);if(!t)return u.disabledHours=!1,g(),F;if(!(t instanceof Array))throw new TypeError("disabledHours() expects an array parameter");if(u.disabledHours=M(t),u.enabledHours=!1,u.useCurrent&&!u.keepInvalid){for(var e=0;!f(D,"h");){if(D.add(1,"h"),24===e)throw"Tried 24 times to find a valid date";e++}m(D)}return g(),F},F.enabledHours=function(t){if(0===arguments.length)return u.enabledHours&&K.extend({},u.enabledHours);if(!t)return u.enabledHours=!1,g(),F;if(!(t instanceof Array))throw new TypeError("enabledHours() expects an array parameter");if(u.enabledHours=M(t),u.disabledHours=!1,u.useCurrent&&!u.keepInvalid){for(var e=0;!f(D,"h");){if(D.add(1,"h"),24===e)throw"Tried 24 times to find a valid date";e++}m(D)}return g(),F},F.viewDate=function(t){if(0===arguments.length)return A.clone();if(!t)return A=D.clone(),F;if(!("string"==typeof t||J.isMoment(t)||t instanceof Date))throw new TypeError("viewDate() parameter must be one of [string, moment or Date]");return A=Z(t),r(),F},o.is("input"))P=o;else if(0===(P=o.find(u.datepickerInput)).size())P=o.find("input");else if(!P.is("input"))throw new Error('CSS class "'+u.datepickerInput+'" cannot be applied to non input element');if(o.hasClass("input-group")&&(H=0===o.find(".datepickerbutton").size()?o.find(".input-group-addon"):o.find(".datepickerbutton")),!u.inline&&!P.is("input"))throw new Error("Could not initialize DateTimePicker without an input element");return D=l(),A=D.clone(),K.extend(!0,u,(N={},(R=(o.is("input")||u.inline?o:o.find("input")).data()).dateOptions&&R.dateOptions instanceof Object&&(N=K.extend(!0,N,R.dateOptions)),K.each(u,function(t){var e="date"+t.charAt(0).toUpperCase()+t.slice(1);void 0!==R[e]&&(N[t]=R[e])}),N)),F.options(u),T(),P.on({change:C,blur:u.debug?"":y,keydown:S,keyup:_,focus:u.allowInputToggle?x:""}),o.is("input")?P.on({focus:x}):H&&(H.on("click",w),H.on("mousedown",!1)),P.prop("disabled")&&F.disable(),P.is("input")&&0!==P.val().trim().length?m(Z(P.val().trim())):u.defaultDate&&void 0===P.attr("placeholder")&&m(u.defaultDate),u.inline&&x(),F}K.fn.datetimepicker=function(e){return this.each(function(){var t=K(this);t.data("DateTimePicker")||(e=K.extend(!0,{},K.fn.datetimepicker.defaults,e),t.data("DateTimePicker",n(t,e)))})},K.fn.datetimepicker.defaults={timeZone:"Etc/UTC",format:!1,dayViewHeaderFormat:"MMMM YYYY",extraFormats:!1,stepping:1,minDate:!1,maxDate:!1,useCurrent:!0,collapse:!0,locale:J.locale(),defaultDate:!1,disabledDates:!1,enabledDates:!1,icons:{time:"glyphicon glyphicon-time",date:"glyphicon glyphicon-calendar",up:"glyphicon glyphicon-chevron-up",down:"glyphicon glyphicon-chevron-down",previous:"glyphicon glyphicon-chevron-left",next:"glyphicon glyphicon-chevron-right",today:"glyphicon glyphicon-screenshot",clear:"glyphicon glyphicon-trash",close:"glyphicon glyphicon-remove"},tooltips:{today:"Go to today",clear:"Clear selection",close:"Close the picker",selectMonth:"Select Month",prevMonth:"Previous Month",nextMonth:"Next Month",selectYear:"Select Year",prevYear:"Previous Year",nextYear:"Next Year",selectDecade:"Select Decade",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevCentury:"Previous Century",nextCentury:"Next Century",pickHour:"Pick Hour",incrementHour:"Increment Hour",decrementHour:"Decrement Hour",pickMinute:"Pick Minute",incrementMinute:"Increment Minute",decrementMinute:"Decrement Minute",pickSecond:"Pick Second",incrementSecond:"Increment Second",decrementSecond:"Decrement Second",togglePeriod:"Toggle Period",selectTime:"Select Time"},useStrict:!1,sideBySide:!1,daysOfWeekDisabled:!1,calendarWeeks:!1,viewMode:"days",toolbarPlacement:"default",showTodayButton:!1,showClear:!1,showClose:!1,widgetPositioning:{horizontal:"auto",vertical:"auto"},widgetParent:null,ignoreReadonly:!1,keepOpen:!1,focusOnShow:!0,inline:!1,keepInvalid:!1,datepickerInput:".datepickerinput",keyBinds:{up:function(t){var e;t&&(e=this.date()||this.getMoment(),t.find(".datepicker").is(":visible")?this.date(e.clone().subtract(7,"d")):this.date(e.clone().add(this.stepping(),"m")))},down:function(t){var e;t?(e=this.date()||this.getMoment(),t.find(".datepicker").is(":visible")?this.date(e.clone().add(7,"d")):this.date(e.clone().subtract(this.stepping(),"m"))):this.show()},"control up":function(t){var e;t&&(e=this.date()||this.getMoment(),t.find(".datepicker").is(":visible")?this.date(e.clone().subtract(1,"y")):this.date(e.clone().add(1,"h")))},"control down":function(t){var e;t&&(e=this.date()||this.getMoment(),t.find(".datepicker").is(":visible")?this.date(e.clone().add(1,"y")):this.date(e.clone().subtract(1,"h")))},left:function(t){var e;t&&(e=this.date()||this.getMoment(),t.find(".datepicker").is(":visible")&&this.date(e.clone().subtract(1,"d")))},right:function(t){var e;t&&(e=this.date()||this.getMoment(),t.find(".datepicker").is(":visible")&&this.date(e.clone().add(1,"d")))},pageUp:function(t){var e;t&&(e=this.date()||this.getMoment(),t.find(".datepicker").is(":visible")&&this.date(e.clone().subtract(1,"M")))},pageDown:function(t){var e;t&&(e=this.date()||this.getMoment(),t.find(".datepicker").is(":visible")&&this.date(e.clone().add(1,"M")))},enter:function(){this.hide()},escape:function(){this.hide()},"control space":function(t){t.find(".timepicker").is(":visible")&&t.find('.btn[data-action="togglePeriod"]').click()},t:function(){this.date(this.getMoment())},delete:function(){this.clear()}},debug:!1,allowInputToggle:!1,disabledTimeIntervals:!1,disabledHours:!1,enabledHours:!1,viewDate:!1}}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):jQuery)}(function(e){var t,n,i,r,h,o,d,f,g,p,a,s,m,y,v,l,r=((t=e&&e.fn&&e.fn.select2&&e.fn.select2.amd?e.fn.select2.amd:t)&&t.requirejs||(t?i=t:t={},d={},f={},g={},p={},a=Object.prototype.hasOwnProperty,s=[].slice,m=/\.js$/,y=function(t,e){var n,i,r=c(t),o=r[0];return t=r[1],o&&(n=w(o=u(o,e))),o?t=n&&n.normalize?n.normalize(t,(i=e,function(t){return u(t,i)})):u(t,e):(o=(r=c(t=u(t,e)))[0],t=r[1],o&&(n=w(o))),{f:o?o+"!"+t:t,n:t,pr:o,p:n}},v={require:function(t){return x(t)},exports:function(t){var e=d[t];return void 0!==e?e:d[t]={}},module:function(t){return{id:t,uri:"",exports:d[t],config:(e=t,function(){return g&&g.config&&g.config[e]||{}})};var e}},l=function(t,e,n,i){var r,o,a,s,l,u=[],c=typeof n;if(i=i||t,"undefined"==c||"function"==c){for(e=!e.length&&n.length?["require","exports","module"]:e,s=0;s":">",'"':""","'":"'","/":"/"};return"string"!=typeof t?t:String(t).replace(/[&<>"'\/\\]/g,function(t){return e[t]})},t.appendMany=function(t,e){var n;"1.7"===o.fn.jquery.substr(0,3)&&(n=o(),o.map(e,function(t){n=n.add(t)}),e=n),t.append(e)},t}),t.define("select2/results",["jquery","./utils"],function(h,t){function i(t,e,n){this.$element=t,this.data=n,this.options=e,i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var t=h('
      ');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t},i.prototype.clear=function(){this.$results.empty()},i.prototype.displayMessage=function(t){var e=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var n=h('
    • '),i=this.options.get("translations").get(t.message);n.append(e(i(t.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 n=0;n",{class:"select2-results__options select2-results__options--nested"});c.append(s),o.append(a),o.append(c)}else this.template(t,e);return h.data(e,"data",t),e},i.prototype.bind=function(e,t){var r=this,n=e.id+"-results";this.$results.attr("id",n),e.on("results:all",function(t){r.clear(),r.append(t.data),e.isOpen()&&(r.setClasses(),r.highlightFirstItem())}),e.on("results:append",function(t){r.append(t.data),e.isOpen()&&r.setClasses()}),e.on("query",function(t){r.hideMessages(),r.showLoading(t)}),e.on("select",function(){e.isOpen()&&(r.setClasses(),r.highlightFirstItem())}),e.on("unselect",function(){e.isOpen()&&(r.setClasses(),r.highlightFirstItem())}),e.on("open",function(){r.$results.attr("aria-expanded","true"),r.$results.attr("aria-hidden","false"),r.setClasses(),r.ensureHighlightVisible()}),e.on("close",function(){r.$results.attr("aria-expanded","false"),r.$results.attr("aria-hidden","true"),r.$results.removeAttr("aria-activedescendant")}),e.on("results:toggle",function(){var t=r.getHighlightedResults();0!==t.length&&t.trigger("mouseup")}),e.on("results:select",function(){var t,e=r.getHighlightedResults();0!==e.length&&(t=e.data("data"),"true"==e.attr("aria-selected")?r.trigger("close",{}):r.trigger("select",{data:t}))}),e.on("results:previous",function(){var t,e=r.getHighlightedResults(),n=r.$results.find("[aria-selected]"),i=n.index(e);0!==i&&(t=i-1,0===e.length&&(t=0),(i=n.eq(t)).trigger("mouseenter"),e=r.$results.offset().top,n=i.offset().top,i=r.$results.scrollTop()+(n-e),0===t?r.$results.scrollTop(0):n-e<0&&r.$results.scrollTop(i))}),e.on("results:next",function(){var t,e=r.getHighlightedResults(),n=r.$results.find("[aria-selected]"),i=n.index(e)+1;i>=n.length||((t=n.eq(i)).trigger("mouseenter"),e=r.$results.offset().top+r.$results.outerHeight(!1),n=t.offset().top+t.outerHeight(!1),t=r.$results.scrollTop()+n-e,0===i?r.$results.scrollTop(0):ethis.$results.outerHeight()||i<0)&&this.$results.scrollTop(n))},i.prototype.template=function(t,e){var n=this.options.get("templateResult"),i=this.options.get("escapeMarkup"),t=n(t,e);null==t?e.style.display="none":"string"==typeof t?e.innerHTML=i(t):h(e).append(t)},i}),t.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}}),t.define("select2/selection/base",["jquery","../utils","../keys"],function(n,t,r){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var t=n('');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")),t.attr("title",this.$element.attr("title")),t.attr("tabindex",this._tabindex),this.$selection=t},i.prototype.bind=function(t,e){var n=this,i=(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===r.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",i),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")})},i.prototype._handleBlur=function(t){var e=this;window.setTimeout(function(){document.activeElement==e.$selection[0]||n.contains(e.$selection[0],document.activeElement)||e.trigger("blur",t)},1)},i.prototype._attachCloseHandler=function(t){n(document.body).on("mousedown.select2."+t.id,function(t){var e=n(t.target).closest(".select2");n(".select2.select2-container--open").each(function(){var t=n(this);this!=e[0]&&t.data("element").select2("close")})})},i.prototype._detachCloseHandler=function(t){n(document.body).off("mousedown.select2."+t.id)},i.prototype.position=function(t,e){e.find(".selection").append(t)},i.prototype.destroy=function(){this._detachCloseHandler(this.container)},i.prototype.update=function(t){throw new Error("The `update` method must be defined in child classes.")},i}),t.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(t,e,n,i){function r(){r.__super__.constructor.apply(this,arguments)}return n.Extend(r,e),r.prototype.render=function(){var t=r.__super__.render.call(this);return t.addClass("select2-selection--single"),t.html(''),t},r.prototype.bind=function(e,t){var n=this;r.__super__.bind.apply(this,arguments);var i=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",i),this.$selection.attr("aria-labelledby",i),this.$selection.on("mousedown",function(t){1===t.which&&n.trigger("toggle",{originalEvent:t})}),this.$selection.on("focus",function(t){}),this.$selection.on("blur",function(t){}),e.on("focus",function(t){e.isOpen()||n.$selection.focus()}),e.on("selection:update",function(t){n.update(t.data)})},r.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},r.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},r.prototype.selectionContainer=function(){return t("")},r.prototype.update=function(t){var e,n;0!==t.length?(e=t[0],n=this.$selection.find(".select2-selection__rendered"),t=this.display(e,n),n.empty().append(t),n.prop("title",e.title||e.text)):this.clear()},r}),t.define("select2/selection/multiple",["jquery","./base","../utils"],function(i,t,s){function r(t,e){r.__super__.constructor.apply(this,arguments)}return s.Extend(r,t),r.prototype.render=function(){var t=r.__super__.render.call(this);return t.addClass("select2-selection--multiple"),t.html('
        '),t},r.prototype.bind=function(t,e){var n=this;r.__super__.bind.apply(this,arguments),this.$selection.on("click",function(t){n.trigger("toggle",{originalEvent:t})}),this.$selection.on("click",".select2-selection__choice__remove",function(t){var e;n.options.get("disabled")||(e=i(this).parent().data("data"),n.trigger("unselect",{originalEvent:t,data:e}))})},r.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},r.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},r.prototype.selectionContainer=function(){return i('
      • ×
      • ')},r.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],n=0;n×
        ')).data("data",e),this.$selection.find(".select2-selection__rendered").prepend(t))},t}),t.define("select2/selection/search",["jquery","../utils","../keys"],function(n,t,o){function e(t,e,n){t.call(this,e,n)}return e.prototype.render=function(t){var e=n('');this.$searchContainer=e,this.$search=e.find("input");t=t.call(this);return this._transferTabIndex(),t},e.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("open",function(){i.$search.trigger("focus")}),e.on("close",function(){i.$search.val(""),i.$search.removeAttr("aria-activedescendant"),i.$search.trigger("focus")}),e.on("enable",function(){i.$search.prop("disabled",!1),i._transferTabIndex()}),e.on("disable",function(){i.$search.prop("disabled",!0)}),e.on("focus",function(t){i.$search.trigger("focus")}),e.on("results:focus",function(t){i.$search.attr("aria-activedescendant",t.id)}),this.$selection.on("focusin",".select2-search--inline",function(t){i.trigger("focus",t)}),this.$selection.on("focusout",".select2-search--inline",function(t){i._handleBlur(t)}),this.$selection.on("keydown",".select2-search--inline",function(t){var e;t.stopPropagation(),i.trigger("keypress",t),i._keyUpPrevented=t.isDefaultPrevented(),t.which!==o.BACKSPACE||""!==i.$search.val()||0<(e=i.$searchContainer.prev(".select2-selection__choice")).length&&(e=e.data("data"),i.searchRemoveChoice(e),t.preventDefault())});var e=document.documentMode,r=e&&e<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(t){return r?void i.$selection.off("input.search input.searchcheck"):void i.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(t){var e;r&&"input"===t.type?i.$selection.off("input.search input.searchcheck"):(e=t.which)!=o.SHIFT&&e!=o.CTRL&&e!=o.ALT&&e!=o.TAB&&i.handleSearch(t)})},e.prototype._transferTabIndex=function(t){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},e.prototype.createPlaceholder=function(t,e){this.$search.attr("placeholder",e.text)},e.prototype.update=function(t,e){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),t.call(this,e),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.focus()},e.prototype.handleSearch=function(){var t;this.resizeSearch(),this._keyUpPrevented||(t=this.$search.val(),this.trigger("query",{term:t})),this._keyUpPrevented=!1},e.prototype.searchRemoveChoice=function(t,e){this.trigger("unselect",{data:e}),this.$search.val(e.text),this.handleSearch()},e.prototype.resizeSearch=function(){this.$search.css("width","25px");var t="";t=""!==this.$search.attr("placeholder")?this.$selection.find(".select2-selection__rendered").innerWidth():.75*(this.$search.val().length+1)+"em",this.$search.css("width",t)},e}),t.define("select2/selection/eventRelay",["jquery"],function(a){function t(){}return t.prototype.bind=function(t,e,n){var i=this,r=["open","opening","close","closing","select","selecting","unselect","unselecting"],o=["opening","closing","selecting","unselecting"];t.call(this,e,n),e.on("*",function(t,e){var n;-1!==a.inArray(t,r)&&(n=a.Event("select2:"+t,{params:e=e||{}}),i.$element.trigger(n),-1!==a.inArray(t,o)&&(e.prevented=n.isDefaultPrevented()))})},t}),t.define("select2/translation",["jquery","require"],function(e,n){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(t){this.dict=e.extend({},t.all(),this.dict)},i._cache={},i.loadPath=function(t){var e;return t in i._cache||(e=n(t),i._cache[t]=e),new i(i._cache[t])},i}),t.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","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"}}),t.define("select2/data/base",["../utils"],function(n){function i(t,e){i.__super__.constructor.call(this)}return n.Extend(i,n.Observable),i.prototype.current=function(t){throw new Error("The `current` method must be defined in child classes.")},i.prototype.query=function(t,e){throw new Error("The `query` method must be defined in child classes.")},i.prototype.bind=function(t,e){},i.prototype.destroy=function(){},i.prototype.generateResultId=function(t,e){t=t.id+"-result-";return(t+=n.generateChars(4))+(null!=e.id?"-"+e.id.toString():"-"+n.generateChars(4))},i}),t.define("select2/data/select",["./base","../utils","jquery"],function(t,e,a){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=a(this),t=n.item(t);e.push(t)}),t(e)},n.prototype.select=function(r){var t,o=this;if(r.selected=!0,a(r.element).is("option"))return r.element.selected=!0,void this.$element.trigger("change");this.$element.prop("multiple")?this.current(function(t){var e=[];(r=[r]).push.apply(r,t);for(var n=0;nthis.maximumInputLength?void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:e.term,params:e}}):void t.call(this,e,n)},t}),t.define("select2/data/maximumSelectionLength",[],function(){function t(t,e,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),t.call(this,e,n)}return t.prototype.query=function(e,n,i){var r=this;this.current(function(t){t=null!=t?t.length:0;return 0=r.maximumSelectionLength?void r.trigger("results:message",{message:"maximumSelected",args:{maximum:r.maximumSelectionLength}}):void e.call(r,n,i)})},t}),t.define("select2/dropdown",["jquery","./utils"],function(e,t){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('');return t.attr("dir",this.options.get("dir")),this.$dropdown=t},n.prototype.bind=function(){},n.prototype.position=function(t,e){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),t.define("select2/dropdown/search",["jquery","../utils"],function(r,t){function e(){}return e.prototype.render=function(t){var e=t.call(this),t=r('');return this.$searchContainer=t,this.$search=t.find("input"),e.prepend(t),e},e.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),this.$search.on("keydown",function(t){i.trigger("keypress",t),i._keyUpPrevented=t.isDefaultPrevented()}),this.$search.on("input",function(t){r(this).off("keyup")}),this.$search.on("keyup input",function(t){i.handleSearch(t)}),e.on("open",function(){i.$search.attr("tabindex",0),i.$search.focus(),window.setTimeout(function(){i.$search.focus()},0)}),e.on("close",function(){i.$search.attr("tabindex",-1),i.$search.val("")}),e.on("focus",function(){e.isOpen()&&i.$search.focus()}),e.on("results:all",function(t){null!=t.query.term&&""!==t.query.term||(i.showSearch(t)?i.$searchContainer.removeClass("select2-search--hide"):i.$searchContainer.addClass("select2-search--hide"))})},e.prototype.handleSearch=function(t){var e;this._keyUpPrevented||(e=this.$search.val(),this.trigger("query",{term:e})),this._keyUpPrevented=!1},e.prototype.showSearch=function(t,e){return!0},e}),t.define("select2/dropdown/hidePlaceholder",[],function(){function t(t,e,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n,i)}return t.prototype.append=function(t,e){e.results=this.removePlaceholder(e.results),t.call(this,e)},t.prototype.normalizePlaceholder=function(t,e){return e="string"==typeof e?{id:"",text:e}:e},t.prototype.removePlaceholder=function(t,e){for(var n=e.slice(0),i=e.length-1;0<=i;i--){var r=e[i];this.placeholder.id===r.id&&n.splice(i,1)}return n},t}),t.define("select2/dropdown/infiniteScroll",["jquery"],function(r){function t(t,e,n,i){this.lastParams={},t.call(this,e,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return t.prototype.append=function(t,e){this.$loadingMore.remove(),this.loading=!1,t.call(this,e),this.showLoadingMore(e)&&this.$results.append(this.$loadingMore)},t.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("query",function(t){i.lastParams=t,i.loading=!0}),e.on("query:append",function(t){i.lastParams=t,i.loading=!0}),this.$results.on("scroll",function(){var t=r.contains(document.documentElement,i.$loadingMore[0]);!i.loading&&t&&(t=i.$results.offset().top+i.$results.outerHeight(!1),i.$loadingMore.offset().top+i.$loadingMore.outerHeight(!1)<=t+50&&i.loadMore())})},t.prototype.loadMore=function(){this.loading=!0;var t=r.extend({},{page:1},this.lastParams);t.page++,this.trigger("query:append",t)},t.prototype.showLoadingMore=function(t,e){return e.pagination&&e.pagination.more},t.prototype.createLoadingMore=function(){var t=r('
      • '),e=this.options.get("translations").get("loadingMore");return t.html(e(this.lastParams)),t},t}),t.define("select2/dropdown/attachBody",["jquery","../utils"],function(u,a){function t(t,e,n){this.$dropdownParent=n.get("dropdownParent")||u(document.body),t.call(this,e,n)}return t.prototype.bind=function(t,e,n){var i=this,r=!1;t.call(this,e,n),e.on("open",function(){i._showDropdown(),i._attachPositioningHandler(e),r||(r=!0,e.on("results:all",function(){i._positionDropdown(),i._resizeDropdown()}),e.on("results:append",function(){i._positionDropdown(),i._resizeDropdown()}))}),e.on("close",function(){i._hideDropdown(),i._detachPositioningHandler(e)}),this.$dropdownContainer.on("mousedown",function(t){t.stopPropagation()})},t.prototype.destroy=function(t){t.call(this),this.$dropdownContainer.remove()},t.prototype.position=function(t,e,n){e.attr("class",n.attr("class")),e.removeClass("select2"),e.addClass("select2-container--open"),e.css({position:"absolute",top:-999999}),this.$container=n},t.prototype.render=function(t){var e=u(""),t=t.call(this);return e.append(t),this.$dropdownContainer=e},t.prototype._hideDropdown=function(t){this.$dropdownContainer.detach()},t.prototype._attachPositioningHandler=function(t,e){var n=this,i="scroll.select2."+e.id,r="resize.select2."+e.id,o="orientationchange.select2."+e.id,e=this.$container.parents().filter(a.hasScroll);e.each(function(){u(this).data("select2-scroll-position",{x:u(this).scrollLeft(),y:u(this).scrollTop()})}),e.on(i,function(t){var e=u(this).data("select2-scroll-position");u(this).scrollTop(e.y)}),u(window).on(i+" "+r+" "+o,function(t){n._positionDropdown(),n._resizeDropdown()})},t.prototype._detachPositioningHandler=function(t,e){var n="scroll.select2."+e.id,i="resize.select2."+e.id,e="orientationchange.select2."+e.id;this.$container.parents().filter(a.hasScroll).off(n),u(window).off(n+" "+i+" "+e)},t.prototype._positionDropdown=function(){var t=u(window),e=this.$dropdown.hasClass("select2-dropdown--above"),n=this.$dropdown.hasClass("select2-dropdown--below"),i=null,r=this.$container.offset();r.bottom=r.top+this.$container.outerHeight(!1);var o={height:this.$container.outerHeight(!1)};o.top=r.top,o.bottom=r.top+o.height;var a=this.$dropdown.outerHeight(!1),s=t.scrollTop(),l=t.scrollTop()+t.height(),t=sr.bottom+a,l={left:r.left,top:o.bottom},r=this.$dropdownParent,r=(r="static"===r.css("position")?r.offsetParent():r).offset();l.top-=r.top,l.left-=r.left,e||n||(i="below"),s||!t||e?!t&&s&&e&&(i="below"):i="above",("above"==i||e&&"below"!==i)&&(l.top=o.top-r.top-a),null!=i&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+i),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+i)),this.$dropdownContainer.css(l)},t.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)},t.prototype._showDropdown=function(t){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},t}),t.define("select2/dropdown/minimumResultsForSearch",[],function(){function t(t,e,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),t.call(this,e,n,i)}return t.prototype.showSearch=function(t,e){return!(function t(e){for(var n=0,i=0;i');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container.addClass("select2-container--"+this.options.get("theme")),t.data("element",this.$element),t},a}),t.define("jquery-mousewheel",["jquery"],function(t){return t}),t.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults"],function(r,t,o,e){var a;return null==r.fn.select2&&(a=["open","close","destroy"],r.fn.select2=function(e){if("object"==typeof(e=e||{}))return this.each(function(){var t=r.extend(!0,{},e);new o(r(this),t)}),this;if("string"!=typeof e)throw new Error("Invalid arguments for Select2: "+e);var n,i=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=r(this).data("select2");null==t&&window.console&&console.error&&console.error("The select2('"+e+"') method was called on an element that is not using Select2."),n=t[e].apply(t,i)}),-1r;)l($,e=n[r++])||e==H||e==d||i.push(e);return i},G=function(t){for(var e,n=t===U,i=I(n?q:C(t)),r=[],o=0;i.length>o;)!l($,e=i[o++])||n&&!l(U,e)||r.push($[e]);return r};Y||(h((N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var e=m(0Q;)y(J[Q++]);for(J=E(y.store),Q=0;J.length>Q;)b(J[Q++]);c(c.S+c.F*!Y,"Symbol",{for:function(t){return l(W,t+="")?W[t]:W[t]=N(t)},keyFor:function(t){if(Z(t))return x(W,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){X=!0},useSimple:function(){X=!1}}),c(c.S+c.F*!Y,"Object",{create:function(t,e){return e===$t?T(t):r(T(t),e)},defineProperty:K,defineProperties:r,getOwnPropertyDescriptor:a,getOwnPropertyNames:p,getOwnPropertySymbols:G}),R&&c(c.S+c.F*(!Y||f(function(){var t=N();return"[null]"!=F([t])||"{}"!=F({a:t})||"{}"!=F(Object(t))})),"JSON",{stringify:function(t){if(t!==$t&&!Z(t)){for(var n,e=[t],i=1;ir;)a(i,n=e[r++])&&(~l(o,n)||o.push(n));return o}},function(t,e,n){var i=n(31),r=n(33);t.exports=function(t){return i(r(t))}},function(t,e,n){var i=n(32);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(t==$t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var l=n(30),u=n(35),c=n(37);t.exports=function(s){return function(t,e,n){var i,r=l(t),o=u(r.length),a=c(n,o);if(s&&e!=e){for(;aa;)o.call(t,i=r[a++])&&e.push(i);return e}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var i=n(32);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){function i(){}var r=n(10),o=n(45),a=n(39),s=n(38)("IE_PROTO"),l="prototype",u=function(){var t=n(13)("iframe"),e=a.length;for(t.style.display="none",n(46).appendChild(t),t.src="javascript:",(t=t.contentWindow.document).open(),t.write("