PageSourceSearch

https://les-ephemeres.fr/assets/frontOffice/default/template-assets/assets/js/min/a97d198.js

js les-ephemeres.fr collected 2026-09-30 10:54:42 UTC 705,261 bytes, 1 lines download raw bytes

vendor: 5,799 bytes, line 1
1if(function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(k,t){"use strict";function _(t){return null!=t&&t===t.window}var e=[],L=k.document,n=Object.getPrototypeOf,a=e.slice,m=e.concat,l=e.push,o=e.indexOf,i={},r=i.toString,g=i.hasOwnProperty,s=g.toString,h=s.call(Object),v={},y=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},u={type:!0,src:!0,nonce:!0,noModule:!0};function b(t,e,i){var n,o,r=(i=i||L).createElement("script");if(r.text=t,e)for(n in u)(o=e[n]||e.getAttribute&&e.getAttribute(n))&&r.setAttribute(n,o);i.head.appendChild(r).parentNode.removeChild(r)}function w(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?i[r.call(t)]||"object":typeof t}var c="3.4.1",D=function(t,e){return new D.fn.init(t,e)},d=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function f(t){var e=!!t&&"length"in t&&t.length,i=w(t);return!y(t)&&!_(t)&&("array"===i||0===e||"number"==typeof e&&0<e&&e-1 in t)}D.fn=D.prototype={jquery:c,constructor:D,length:0,toArray:function(){return a.call(this)},get:function(t){return null==t?a.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=D.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return D.each(this,t)},map:function(i){return this.pushStack(D.map(this,function(t,e){return i.call(t,e,t)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(0<=i&&i<e?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:e.sort,splice:e.splice},D.extend=D.fn.extend=function(){var t,e,i,n,o,r,s=arguments[0]||{},a=1,l=arguments.length,h=!1;for("boolean"==typeof s&&(h=s,s=arguments[a]||{},a++),"object"==typeof s||y(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(t=arguments[a]))for(e in t)n=t[e],"__proto__"!==e&&s!==n&&(h&&n&&(D.isPlainObject(n)||(o=Array.isArray(n)))?(i=s[e],r=o&&!Array.isArray(i)?[]:o||D.isPlainObject(i)?i:{},o=!1,s[e]=D.extend(h,r,n)):void 0!==n&&(s[e]=n));return s},D.extend({expando:"jQuery"+(c+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,i;return!(!t||"[object Object]"!==r.call(t)||(e=n(t))&&("function"!=typeof(i=g.call(e,"constructor")&&e.constructor)||s.call(i)!==h))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e){b(t,{nonce:e&&e.nonce})},each:function(t,e){var i,n=0;if(f(t))for(i=t.length;n<i&&!1!==e.call(t[n],n,t[n]);n++);else for(n in t)if(!1===e.call(t[n],n,t[n]))break;return t},trim:function(t){return null==t?"":(t+"").replace(d,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(f(Object(t))?D.merge(i,"string"==typeof t?[t]:t):l.call(i,t)),i},inArray:function(t,e,i){return null==e?-1:o.call(e,t,i)},merge:function(t,e){for(var i=+e.length,n=0,o=t.length;n<i;n++)t[o++]=e[n];return t.length=o,t},grep:function(t,e,i){for(var n=[],o=0,r=t.length,s=!i;o<r;o++)!e(t[o],o)!=s&&n.push(t[o]);return n},map:function(t,e,i){var n,o,r=0,s=[];if(f(t))for(n=t.length;r<n;r++)null!=(o=e(t[r],r,i))&&s.push(o);else for(r in t)null!=(o=e(t[r],r,i))&&s.push(o);return m.apply([],s)},guid:1,support:v}),"function"==typeof Symbol&&(D.fn[Symbol.iterator]=e[Symbol.iterator]),D.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){i["[object "+e+"]"]=e.toLowerCase()});var p=function(i){function c(t,e,i){var n="0x"+e-65536;return n!=n||i?e:n<0?String.fromCharCode(65536+n):String.fromCharCode(n>>10|55296,1023&n|56320)}function o(){x()}var t,f,b,r,s,p,d,_,w,l,h,x,k,a,L,m,u,g,v,D="sizzle"+1*new Date,y=i.document,T=0,n=0,E=lt(),C=lt(),S=lt(),M=lt(),P=function(t,e){return t===e&&(h=!0),0},I={}.hasOwnProperty,e=[],O=e.pop,A=e.push,N=e.push,F=e.slice,z=function(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1},j="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",H="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",B="\\["+R+"*("+H+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+H+"))|)"+R+"*\\]",Y=":("+H+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+B+")*)|.*)\\)|)",W=new RegExp(R+"+","g"),U=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),V=new RegExp("^"+R+"*,"+R+"*"),Z=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),q=new RegExp(R+"|>"),$=new RegExp(Y),G=new RegExp("^"+H+"$"),K={ID:new RegExp("^#("+H+")"),CLASS:new RegExp("^\\.("+H+")"),TAG:new RegExp("^("+H+"|[*])"),ATTR:new RegExp("^"+B),PSEUDO:new RegExp("^"+Y),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+j+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},Q=/HTML$/i,X=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,tt=/^[^{]+\{\s*\[native \w/,et=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,it=/[+~]/,nt=new RegExp("\\\\([\\da-f]{1,6}"+R+"?|("+R+")|.)","ig"),ot=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,rt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},st=bt(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{N.apply(e=F.call(y.childNodes),y.childNodes),e[y.childNodes.length].nodeType}
vendor: 5,869 bytes, line 1
1catch(t){N={apply:e.length?function(t,e){A.apply(t,F.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}function at(t,e,i,n){var o,r,s,a,l,h,u,c=e&&e.ownerDocument,d=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==d&&9!==d&&11!==d)return i;if(!n&&((e?e.ownerDocument||e:y)!==k&&x(e),e=e||k,L)){if(11!==d&&(l=et.exec(t)))if(o=l[1]){if(9===d){if(!(s=e.getElementById(o)))return i;if(s.id===o)return i.push(s),i}else if(c&&(s=c.getElementById(o))&&v(e,s)&&s.id===o)return i.push(s),i}else{if(l[2])return N.apply(i,e.getElementsByTagName(t)),i;if((o=l[3])&&f.getElementsByClassName&&e.getElementsByClassName)return N.apply(i,e.getElementsByClassName(o)),i}if(f.qsa&&!M[t+" "]&&(!m||!m.test(t))&&(1!==d||"object"!==e.nodeName.toLowerCase())){if(u=t,c=e,1===d&&q.test(t)){for((a=e.getAttribute("id"))?a=a.replace(ot,rt):e.setAttribute("id",a=D),r=(h=p(t)).length;r--;)h[r]="#"+a+" "+yt(h[r]);u=h.join(","),c=it.test(t)&&gt(e.parentNode)||e}try{return N.apply(i,c.querySelectorAll(u)),i}catch(e){M(t,!0)}finally{a===D&&e.removeAttribute("id")}}}return _(t.replace(U,"$1"),e,i,n)}function lt(){var n=[];return function t(e,i){return n.push(e+" ")>b.cacheLength&&delete t[n.shift()],t[e+" "]=i}}function ht(t){return t[D]=!0,t}function ut(t){var e=k.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ct(t,e){for(var i=t.split("|"),n=i.length;n--;)b.attrHandle[i[n]]=e}function dt(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function ft(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pt(i){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===i}}function _t(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&st(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function mt(s){return ht(function(r){return r=+r,ht(function(t,e){for(var i,n=s([],t.length,r),o=n.length;o--;)t[i=n[o]]&&(t[i]=!(e[i]=t[i]))})})}function gt(t){return t&&void 0!==t.getElementsByTagName&&t}for(t in f=at.support={},s=at.isXML=function(t){var e=t.namespaceURI,i=(t.ownerDocument||t).documentElement;return!Q.test(e||i&&i.nodeName||"HTML")},x=at.setDocument=function(t){var e,i,n=t?t.ownerDocument||t:y;return n!==k&&9===n.nodeType&&n.documentElement&&(a=(k=n).documentElement,L=!s(k),y!==k&&(i=k.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",o,!1):i.attachEvent&&i.attachEvent("onunload",o)),f.attributes=ut(function(t){return t.className="i",!t.getAttribute("className")}),f.getElementsByTagName=ut(function(t){return t.appendChild(k.createComment("")),!t.getElementsByTagName("*").length}),f.getElementsByClassName=tt.test(k.getElementsByClassName),f.getById=ut(function(t){return a.appendChild(t).id=D,!k.getElementsByName||!k.getElementsByName(D).length}),f.getById?(b.filter.ID=function(t){var e=t.replace(nt,c);return function(t){return t.getAttribute("id")===e}},b.find.ID=function(t,e){if(void 0!==e.getElementById&&L){var i=e.getElementById(t);return i?[i]:[]}}):(b.filter.ID=function(t){var i=t.replace(nt,c);return function(t){var e=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return e&&e.value===i}},b.find.ID=function(t,e){if(void 0!==e.getElementById&&L){var i,n,o,r=e.getElementById(t);if(r){if((i=r.getAttributeNode("id"))&&i.value===t)return[r];for(o=e.getElementsByName(t),n=0;r=o[n++];)if((i=r.getAttributeNode("id"))&&i.value===t)return[r]}return[]}}),b.find.TAG=f.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):f.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],o=0,r=e.getElementsByTagName(t);if("*"!==t)return r;for(;i=r[o++];)1===i.nodeType&&n.push(i);return n},b.find.CLASS=f.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&L)return e.getElementsByClassName(t)},u=[],m=[],(f.qsa=tt.test(k.querySelectorAll))&&(ut(function(t){a.appendChild(t).innerHTML="<a id='"+D+"'></a><select id='"+D+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+R+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||m.push("\\["+R+"*(?:value|"+j+")"),t.querySelectorAll("[id~="+D+"-]").length||m.push("~="),t.querySelectorAll(":checked").length||m.push(":checked"),t.querySelectorAll("a#"+D+"+*").length||m.push(".#.+[+~]")}),ut(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=k.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&m.push("name"+R+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),a.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),m.push(",.*:")})),(f.matchesSelector=tt.test(g=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ut(function(t){f.disconnectedMatch=g.call(t,"*"),g.call(t,"[s!='']:x"),u.push("!=",Y)}),m=m.length&&new RegExp(m.join("|")),u=u.length&&new RegExp(u.join("|")),e=tt.test(a.compareDocumentPosition),v=e||tt.test(a.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},P=e?function(t,e){if(t===e)return h=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;
vendor: 4,167 bytes, line 1
1return i||(1&(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!f.sortDetached&&e.compareDocumentPosition(t)===i?t===k||t.ownerDocument===y&&v(y,t)?-1:e===k||e.ownerDocument===y&&v(y,e)?1:l?z(l,t)-z(l,e):0:4&i?-1:1)}:function(t,e){if(t===e)return h=!0,0;var i,n=0,o=t.parentNode,r=e.parentNode,s=[t],a=[e];if(!o||!r)return t===k?-1:e===k?1:o?-1:r?1:l?z(l,t)-z(l,e):0;if(o===r)return dt(t,e);for(i=t;i=i.parentNode;)s.unshift(i);for(i=e;i=i.parentNode;)a.unshift(i);for(;s[n]===a[n];)n++;return n?dt(s[n],a[n]):s[n]===y?-1:a[n]===y?1:0}),k},at.matches=function(t,e){return at(t,null,null,e)},at.matchesSelector=function(t,e){if((t.ownerDocument||t)!==k&&x(t),f.matchesSelector&&L&&!M[e+" "]&&(!u||!u.test(e))&&(!m||!m.test(e)))try{var i=g.call(t,e);if(i||f.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){M(e,!0)}return 0<at(e,k,null,[t]).length},at.contains=function(t,e){return(t.ownerDocument||t)!==k&&x(t),v(t,e)},at.attr=function(t,e){(t.ownerDocument||t)!==k&&x(t);var i=b.attrHandle[e.toLowerCase()],n=i&&I.call(b.attrHandle,e.toLowerCase())?i(t,e,!L):void 0;return void 0!==n?n:f.attributes||!L?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null},at.escape=function(t){return(t+"").replace(ot,rt)},at.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},at.uniqueSort=function(t){var e,i=[],n=0,o=0;if(h=!f.detectDuplicates,l=!f.sortStable&&t.slice(0),t.sort(P),h){for(;e=t[o++];)e===t[o]&&(n=i.push(o));for(;n--;)t.splice(i[n],1)}return l=null,t},r=at.getText=function(t){var e,i="",n=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=r(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[n++];)i+=r(e);return i},(b=at.selectors={cacheLength:50,createPseudo:ht,match:K,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(nt,c),t[3]=(t[3]||t[4]||t[5]||"").replace(nt,c),"~="===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]||at.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]&&at.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return K.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&$.test(i)&&(e=p(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(nt,c).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=E[t+" "];return e||(e=new RegExp("(^|"+R+")"+t+"("+R+"|$)"))&&E(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(i,n,o){return function(t){var e=at.attr(t,i);return null==e?"!="===n:!n||(e+="","="===n?e===o:"!="===n?e!==o:"^="===n?o&&0===e.indexOf(o):"*="===n?o&&-1<e.indexOf(o):"$="===n?o&&e.slice(-o.length)===o:"~="===n?-1<(" "+e.replace(W," ")+" ").indexOf(o):"|="===n&&(e===o||e.slice(0,o.length+1)===o+"-"))}},CHILD:function(p,t,e,_,m){var g="nth"!==p.slice(0,3),v="last"!==p.slice(-4),y="of-type"===t;return 1===_&&0===m?function(t){return!!t.parentNode}:function(t,e,i){var n,o,r,s,a,l,h=g!=v?"nextSibling":"previousSibling",u=t.parentNode,c=y&&t.nodeName.toLowerCase(),d=!i&&!y,f=!1;if(u){if(g){for(;h;){for(s=t;s=s[h];)if(y?s.nodeName.toLowerCase()===c:1===s.nodeType)return!1;l=h="only"===p&&!l&&"nextSibling"}return!0}if(l=[v?u.firstChild:u.lastChild],v&&d){for(f=(a=(n=(o=(r=(s=u)[D]||(s[D]={}))[s.uniqueID]||(r[s.uniqueID]={}))[p]||[])[0]===T&&n[1])&&n[2],s=a&&u.childNodes[a];s=++a&&s&&s[h]||(f=a=0)||l.pop();)if(1===s.nodeType&&++f&&s===t){o[p]=[T,a,f];break}}else if(d&&(f=a=(n=(o=(r=(s=t)[D]||(s[D]={}))[s.uniqueID]||(r[s.uniqueID]={}))[p]||[])[0]===T&&n[1]),!1===f)for(;(s=++a&&s&&s[h]||(f=a=0)||l.pop())&&((y?s.nodeName.toLowerCase()!==c:1!==s.nodeType)||!++f||(d&&
vendor: 4,179 bytes, line 1
1((o=(r=s[D]||(s[D]={}))[s.uniqueID]||(r[s.uniqueID]={}))[p]=[T,f]),s!==t)););return(f-=m)===_||f%_==0&&0<=f/_}}},PSEUDO:function(t,r){var e,s=b.pseudos[t]||b.setFilters[t.toLowerCase()]||at.error("unsupported pseudo: "+t);return s[D]?s(r):1<s.length?(e=[t,t,"",r],b.setFilters.hasOwnProperty(t.toLowerCase())?ht(function(t,e){for(var i,n=s(t,r),o=n.length;o--;)t[i=z(t,n[o])]=!(e[i]=n[o])}):function(t){return s(t,0,e)}):s}},pseudos:{not:ht(function(t){var n=[],o=[],a=d(t.replace(U,"$1"));return a[D]?ht(function(t,e,i,n){for(var o,r=a(t,null,n,[]),s=t.length;s--;)(o=r[s])&&(t[s]=!(e[s]=o))}):function(t,e,i){return n[0]=t,a(n,null,i,o),n[0]=null,!o.pop()}}),has:ht(function(e){return function(t){return 0<at(e,t).length}}),contains:ht(function(e){return e=e.replace(nt,c),function(t){return-1<(t.textContent||r(t)).indexOf(e)}}),lang:ht(function(i){return G.test(i||"")||at.error("unsupported lang: "+i),i=i.replace(nt,c).toLowerCase(),function(t){var e;do{if(e=L?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(e=e.toLowerCase())===i||0===e.indexOf(i+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var e=i.location&&i.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===a},focus:function(t){return t===k.activeElement&&(!k.hasFocus||k.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:_t(!1),disabled:_t(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!b.pseudos.empty(t)},header:function(t){return J.test(t.nodeName)},input:function(t){return X.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:mt(function(){return[0]}),last:mt(function(t,e){return[e-1]}),eq:mt(function(t,e,i){return[i<0?i+e:i]}),even:mt(function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t}),odd:mt(function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t}),lt:mt(function(t,e,i){for(var n=i<0?i+e:e<i?e:i;0<=--n;)t.push(n);return t}),gt:mt(function(t,e,i){for(var n=i<0?i+e:i;++n<e;)t.push(n);return t})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[t]=ft(t);for(t in{submit:!0,reset:!0})b.pseudos[t]=pt(t);function vt(){}function yt(t){for(var e=0,i=t.length,n="";e<i;e++)n+=t[e].value;return n}function bt(a,t,e){var l=t.dir,h=t.next,u=h||l,c=e&&"parentNode"===u,d=n++;return t.first?function(t,e,i){for(;t=t[l];)if(1===t.nodeType||c)return a(t,e,i);return!1}:function(t,e,i){var n,o,r,s=[T,d];if(i){for(;t=t[l];)if((1===t.nodeType||c)&&a(t,e,i))return!0}else for(;t=t[l];)if(1===t.nodeType||c)if(o=(r=t[D]||(t[D]={}))[t.uniqueID]||(r[t.uniqueID]={}),h&&h===t.nodeName.toLowerCase())t=t[l]||t;else{if((n=o[u])&&n[0]===T&&n[1]===d)return s[2]=n[2];if((o[u]=s)[2]=a(t,e,i))return!0}return!1}}function wt(o){return 1<o.length?function(t,e,i){for(var n=o.length;n--;)if(!o[n](t,e,i))return!1;return!0}:o[0]}function xt(t,e,i,n,o){for(var r,s=[],a=0,l=t.length,h=null!=e;a<l;a++)(r=t[a])&&(i&&!i(r,n,o)||(s.push(r),h&&e.push(a)));return s}function kt(f,p,_,m,g,t){return m&&!m[D]&&(m=kt(m)),g&&!g[D]&&(g=kt(g,t)),ht(function(t,e,i,n){var o,r,s,a=[],l=[],h=e.length,u=t||function(t,e,i){for(var n=0,o=e.length;n<o;n++)at(t,e[n],i);return i}(p||"*",i.nodeType?[i]:i,[]),c=!f||!t&&p?u:xt(u,a,f,i,n),d=_?g||(t?f:h||m)?[]:e:c;if(_&&_(c,d,i,n),m)for(o=xt(d,l),m(o,[],i,n),r=o.length;r--;)(s=o[r])&&(d[l[r]]=!(c[l[r]]=s));if(t){if(g||f){if(g){for(o=[],r=d.length;r--;)(s=d[r])&&o.push(c[r]=s);g(null,d=[],o,n)}for(r=d.length;r--;)(s=d[r])&&-1<(o=g?z(t,s):a[r])&&(t[o]=!(e[o]=s))}}else d=xt(d===e?d.splice(h,d.length):d),g?g(null,e,d,n):N.apply(e,d)})}function Lt(t){for(var o,e,i,n=t.length,r=b.relative[t[0].type],s=r||b.relative[" "],a=r?1:0,l=bt(function(t){return t===o},s,!0),h=bt(function(t){return-1<z(o,t)}
vendor: 5,604 bytes, line 1
1,s,!0),u=[function(t,e,i){var n=!r&&(i||e!==w)||((o=e).nodeType?l(t,e,i):h(t,e,i));return o=null,n}];a<n;a++)if(e=b.relative[t[a].type])u=[bt(wt(u),e)];else{if((e=b.filter[t[a].type].apply(null,t[a].matches))[D]){for(i=++a;i<n&&!b.relative[t[i].type];i++);return kt(1<a&&wt(u),1<a&&yt(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(U,"$1"),e,a<i&&Lt(t.slice(a,i)),i<n&&Lt(t=t.slice(i)),i<n&&yt(t))}u.push(e)}return wt(u)}return vt.prototype=b.filters=b.pseudos,b.setFilters=new vt,p=at.tokenize=function(t,e){var i,n,o,r,s,a,l,h=C[t+" "];if(h)return e?0:h.slice(0);for(s=t,a=[],l=b.preFilter;s;){for(r in i&&!(n=V.exec(s))||(n&&(s=s.slice(n[0].length)||s),a.push(o=[])),i=!1,(n=Z.exec(s))&&(i=n.shift(),o.push({value:i,type:n[0].replace(U," ")}),s=s.slice(i.length)),b.filter)!(n=K[r].exec(s))||l[r]&&!(n=l[r](n))||(i=n.shift(),o.push({value:i,type:r,matches:n}),s=s.slice(i.length));if(!i)break}return e?s.length:s?at.error(t):C(t,a).slice(0)},d=at.compile=function(t,e){var i,m,g,v,y,n,o=[],r=[],s=S[t+" "];if(!s){for(i=(e=e||p(t)).length;i--;)(s=Lt(e[i]))[D]?o.push(s):r.push(s);(s=S(t,(m=r,v=0<(g=o).length,y=0<m.length,n=function(t,e,i,n,o){var r,s,a,l=0,h="0",u=t&&[],c=[],d=w,f=t||y&&b.find.TAG("*",o),p=T+=null==d?1:Math.random()||.1,_=f.length;for(o&&(w=e===k||e||o);h!==_&&null!=(r=f[h]);h++){if(y&&r){for(s=0,e||r.ownerDocument===k||(x(r),i=!L);a=m[s++];)if(a(r,e||k,i)){n.push(r);break}o&&(T=p)}v&&((r=!a&&r)&&l--,t&&u.push(r))}if(l+=h,v&&h!==l){for(s=0;a=g[s++];)a(u,c,e,i);if(t){if(0<l)for(;h--;)u[h]||c[h]||(c[h]=O.call(n));c=xt(c)}N.apply(n,c),o&&!t&&0<c.length&&1<l+g.length&&at.uniqueSort(n)}return o&&(T=p,w=d),u},v?ht(n):n))).selector=t}return s},_=at.select=function(t,e,i,n){var o,r,s,a,l,h="function"==typeof t&&t,u=!n&&p(t=h.selector||t);if(i=i||[],1===u.length){if(2<(r=u[0]=u[0].slice(0)).length&&"ID"===(s=r[0]).type&&9===e.nodeType&&L&&b.relative[r[1].type]){if(!(e=(b.find.ID(s.matches[0].replace(nt,c),e)||[])[0]))return i;h&&(e=e.parentNode),t=t.slice(r.shift().value.length)}for(o=K.needsContext.test(t)?0:r.length;o--&&(s=r[o],!b.relative[a=s.type]);)if((l=b.find[a])&&(n=l(s.matches[0].replace(nt,c),it.test(r[0].type)&&gt(e.parentNode)||e))){if(r.splice(o,1),!(t=n.length&&yt(r)))return N.apply(i,n),i;break}}return(h||d(t,u))(n,e,!L,i,!e||it.test(t)&&gt(e.parentNode)||e),i},f.sortStable=D.split("").sort(P).join("")===D,f.detectDuplicates=!!h,x(),f.sortDetached=ut(function(t){return 1&t.compareDocumentPosition(k.createElement("fieldset"))}),ut(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||ct("type|href|height|width",function(t,e,i){if(!i)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),f.attributes&&ut(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||ct("value",function(t,e,i){if(!i&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),ut(function(t){return null==t.getAttribute("disabled")})||ct(j,function(t,e,i){var n;if(!i)return!0===t[e]?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null}),at}(k);D.find=p,D.expr=p.selectors,D.expr[":"]=D.expr.pseudos,D.uniqueSort=D.unique=p.uniqueSort,D.text=p.getText,D.isXMLDoc=p.isXML,D.contains=p.contains,D.escapeSelector=p.escape;function x(t,e,i){for(var n=[],o=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&D(t).is(i))break;n.push(t)}return n}function T(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}var E=D.expr.match.needsContext;function C(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var S=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function M(t,i,n){return y(i)?D.grep(t,function(t,e){return!!i.call(t,e,t)!==n}):i.nodeType?D.grep(t,function(t){return t===i!==n}):"string"!=typeof i?D.grep(t,function(t){return-1<o.call(i,t)!==n}):D.filter(i,t,n)}D.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?D.find.matchesSelector(n,t)?[n]:[]:D.find.matches(t,D.grep(e,function(t){return 1===t.nodeType}))},D.fn.extend({find:function(t){var e,i,n=this.length,o=this;if("string"!=typeof t)return this.pushStack(D(t).filter(function(){for(e=0;e<n;e++)if(D.contains(o[e],this))return!0}));for(i=this.pushStack([]),e=0;e<n;e++)D.find(t,o[e],i);return 1<n?D.uniqueSort(i):i},filter:function(t){return this.pushStack(M(this,t||[],!1))},not:function(t){return this.pushStack(M(this,t||[],!0))},is:function(t){return!!M(this,"string"==typeof t&&E.test(t)?D(t):t||[],!1).length}});var P,I=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(D.fn.init=function(t,e,i){var n,o;if(!t)return this;if(i=i||P,"string"!=typeof t)return t.nodeType?(this[0]=t,this.length=1,this):y(t)?void 0!==i.ready?i.ready(t):t(D):D.makeArray(t,this);if(!(n="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:I.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof D?e[0]:e,D.merge(this,D.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:L,!0)),S.test(n[1])&&D.isPlainObject(e))for(n in e)y(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(o=L.getElementById(n[2]))&&(this[0]=o,this.length=1),this}).prototype=D.fn,P=D(L);var O=/^(?:parents|prev(?:Until|All))/,A={children:!0,contents:!0,next:!0,prev:!0};function N(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}D.fn.extend({has:function(t){var e=D(t,this),i=e.length;return this.filter(function(){for(var t=0;t<i;t++)if(D.contains(this,e[t]))return!0})},closest:function(t,e){var i,n=0,o=this.length,r=[],s="string"!=typeof t&&D(t);
vendor: 5,469 bytes, line 1
1if(!E.test(t))for(;n<o;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(s?-1<s.index(i):1===i.nodeType&&D.find.matchesSelector(i,t))){r.push(i);break}return this.pushStack(1<r.length?D.uniqueSort(r):r)},index:function(t){return t?"string"==typeof t?o.call(D(t),this[0]):o.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(D.uniqueSort(D.merge(this.get(),D(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),D.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return x(t,"parentNode")},parentsUntil:function(t,e,i){return x(t,"parentNode",i)},next:function(t){return N(t,"nextSibling")},prev:function(t){return N(t,"previousSibling")},nextAll:function(t){return x(t,"nextSibling")},prevAll:function(t){return x(t,"previousSibling")},nextUntil:function(t,e,i){return x(t,"nextSibling",i)},prevUntil:function(t,e,i){return x(t,"previousSibling",i)},siblings:function(t){return T((t.parentNode||{}).firstChild,t)},children:function(t){return T(t.firstChild)},contents:function(t){return void 0!==t.contentDocument?t.contentDocument:(C(t,"template")&&(t=t.content||t),D.merge([],t.childNodes))}},function(n,o){D.fn[n]=function(t,e){var i=D.map(this,o,t);return"Until"!==n.slice(-5)&&(e=t),e&&"string"==typeof e&&(i=D.filter(e,i)),1<this.length&&(A[n]||D.uniqueSort(i),O.test(n)&&i.reverse()),this.pushStack(i)}});var F=/[^\x20\t\r\n\f]+/g;function z(t){return t}function j(t){throw t}function R(t,e,i,n){var o;try{t&&y(o=t.promise)?o.call(t).done(e).fail(i):t&&y(o=t.then)?o.call(t,e,i):e.apply(void 0,[t].slice(n))}catch(t){i.apply(void 0,[t])}}D.Callbacks=function(n){var t,i;n="string"==typeof n?(t=n,i={},D.each(t.match(F)||[],function(t,e){i[e]=!0}),i):D.extend({},n);function o(){for(a=a||n.once,s=r=!0;h.length;u=-1)for(e=h.shift();++u<l.length;)!1===l[u].apply(e[0],e[1])&&n.stopOnFalse&&(u=l.length,e=!1);n.memory||(e=!1),r=!1,a&&(l=e?[]:"")}var r,e,s,a,l=[],h=[],u=-1,c={add:function(){return l&&(e&&!r&&(u=l.length-1,h.push(e)),function i(t){D.each(t,function(t,e){y(e)?n.unique&&c.has(e)||l.push(e):e&&e.length&&"string"!==w(e)&&i(e)})}(arguments),e&&!r&&o()),this},remove:function(){return D.each(arguments,function(t,e){for(var i;-1<(i=D.inArray(e,l,i));)l.splice(i,1),i<=u&&u--}),this},has:function(t){return t?-1<D.inArray(t,l):0<l.length},empty:function(){return l=l&&[],this},disable:function(){return a=h=[],l=e="",this},disabled:function(){return!l},lock:function(){return a=h=[],e||r||(l=e=""),this},locked:function(){return!!a},fireWith:function(t,e){return a||(e=[t,(e=e||[]).slice?e.slice():e],h.push(e),r||o()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!s}};return c},D.extend({Deferred:function(t){var r=[["notify","progress",D.Callbacks("memory"),D.Callbacks("memory"),2],["resolve","done",D.Callbacks("once memory"),D.Callbacks("once memory"),0,"resolved"],["reject","fail",D.Callbacks("once memory"),D.Callbacks("once memory"),1,"rejected"]],o="pending",s={state:function(){return o},always:function(){return a.done(arguments).fail(arguments),this},catch:function(t){return s.then(null,t)},pipe:function(){var o=arguments;return D.Deferred(function(n){D.each(r,function(t,e){var i=y(o[e[4]])&&o[e[4]];a[e[1]](function(){var t=i&&i.apply(this,arguments);t&&y(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[e[0]+"With"](this,i?[t]:arguments)})}),o=null}).promise()},then:function(e,i,n){var l=0;function h(o,r,s,a){return function(){function t(){var t,e;if(!(o<l)){if((t=s.apply(i,n))===r.promise())throw new TypeError("Thenable self-resolution");e=t&&("object"==typeof t||"function"==typeof t)&&t.then,y(e)?a?e.call(t,h(l,r,z,a),h(l,r,j,a)):(l++,e.call(t,h(l,r,z,a),h(l,r,j,a),h(l,r,z,r.notifyWith))):(s!==z&&(i=void 0,n=[t]),(a||r.resolveWith)(i,n))}}var i=this,n=arguments,e=a?t:function(){try{t()}catch(t){D.Deferred.exceptionHook&&D.Deferred.exceptionHook(t,e.stackTrace),l<=o+1&&(s!==j&&(i=void 0,n=[t]),r.rejectWith(i,n))}};o?e():(D.Deferred.getStackHook&&(e.stackTrace=D.Deferred.getStackHook()),k.setTimeout(e))}}return D.Deferred(function(t){r[0][3].add(h(0,t,y(n)?n:z,t.notifyWith)),r[1][3].add(h(0,t,y(e)?e:z)),r[2][3].add(h(0,t,y(i)?i:j))}).promise()},promise:function(t){return null!=t?D.extend(t,s):s}},a={};return D.each(r,function(t,e){var i=e[2],n=e[5];s[e[1]]=i.add,n&&i.add(function(){o=n},r[3-t][2].disable,r[3-t][3].disable,r[0][2].lock,r[0][3].lock),i.add(e[3].fire),a[e[0]]=function(){return a[e[0]+"With"](this===a?void 0:this,arguments),this},a[e[0]+"With"]=i.fireWith}),s.promise(a),t&&t.call(a,a),a},when:function(t){function e(e){return function(t){o[e]=this,r[e]=1<arguments.length?a.call(arguments):t,--i||s.resolveWith(o,r)}}var i=arguments.length,n=i,o=Array(n),r=a.call(arguments),s=D.Deferred();if(i<=1&&(R(t,s.done(e(n)).resolve,s.reject,!i),"pending"===s.state()||y(r[n]&&r[n].then)))return s.then();for(;n--;)R(r[n],e(n),s.reject);return s.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;D.Deferred.exceptionHook=function(t,e){k.console&&k.console.warn&&t&&H.test(t.name)&&k.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},D.readyException=function(t){k.setTimeout(function(){throw t})};var B=D.Deferred();function Y(){L.removeEventListener("DOMContentLoaded",Y),k.removeEventListener("load",Y),D.ready()}
vendor: 9,886 bytes, line 1
1D.fn.ready=function(t){return B.then(t).catch(function(t){D.readyException(t)}),this},D.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--D.readyWait:D.isReady)||(D.isReady=!0)!==t&&0<--D.readyWait||B.resolveWith(L,[D])}}),D.ready.then=B.then,"complete"===L.readyState||"loading"!==L.readyState&&!L.documentElement.doScroll?k.setTimeout(D.ready):(L.addEventListener("DOMContentLoaded",Y),k.addEventListener("load",Y));var W=function(t,e,i,n,o,r,s){var a=0,l=t.length,h=null==i;if("object"===w(i))for(a in o=!0,i)W(t,e,a,i[a],!0,r,s);else if(void 0!==n&&(o=!0,y(n)||(s=!0),h&&(e=s?(e.call(t,n),null):(h=e,function(t,e,i){return h.call(D(t),i)})),e))for(;a<l;a++)e(t[a],i,s?n:n.call(t[a],a,e(t[a],i)));return o?t:h?e.call(t):l?e(t[0],i):r},U=/^-ms-/,V=/-([a-z])/g;function Z(t,e){return e.toUpperCase()}function q(t){return t.replace(U,"ms-").replace(V,Z)}function $(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType}function G(){this.expando=D.expando+G.uid++}G.uid=1,G.prototype={cache:function(t){var e=t[this.expando];return e||(e={},$(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,i){var n,o=this.cache(t);if("string"==typeof e)o[q(e)]=i;else for(n in e)o[q(n)]=e[n];return o},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][q(e)]},access:function(t,e,i){return void 0===e||e&&"string"==typeof e&&void 0===i?this.get(t,e):(this.set(t,e,i),void 0!==i?i:e)},remove:function(t,e){var i,n=t[this.expando];if(void 0!==n){if(void 0!==e){i=(e=Array.isArray(e)?e.map(q):(e=q(e))in n?[e]:e.match(F)||[]).length;for(;i--;)delete n[e[i]]}void 0!==e&&!D.isEmptyObject(n)||(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!D.isEmptyObject(e)}};var K=new G,Q=new G,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,J=/[A-Z]/g;function tt(t,e,i){var n,o;if(void 0===i&&1===t.nodeType)if(n="data-"+e.replace(J,"-$&").toLowerCase(),"string"==typeof(i=t.getAttribute(n))){try{i="true"===(o=i)||"false"!==o&&("null"===o?null:o===+o+""?+o:X.test(o)?JSON.parse(o):o)}catch(t){}Q.set(t,e,i)}else i=void 0;return i}D.extend({hasData:function(t){return Q.hasData(t)||K.hasData(t)},data:function(t,e,i){return Q.access(t,e,i)},removeData:function(t,e){Q.remove(t,e)},_data:function(t,e,i){return K.access(t,e,i)},_removeData:function(t,e){K.remove(t,e)}}),D.fn.extend({data:function(i,t){var e,n,o,r=this[0],s=r&&r.attributes;if(void 0!==i)return"object"==typeof i?this.each(function(){Q.set(this,i)}):W(this,function(t){var e;if(r&&void 0===t)return void 0!==(e=Q.get(r,i))?e:void 0!==(e=tt(r,i))?e:void 0;this.each(function(){Q.set(this,i,t)})},null,t,1<arguments.length,null,!0);if(this.length&&(o=Q.get(r),1===r.nodeType&&!K.get(r,"hasDataAttrs"))){for(e=s.length;e--;)s[e]&&0===(n=s[e].name).indexOf("data-")&&(n=q(n.slice(5)),tt(r,n,o[n]));K.set(r,"hasDataAttrs",!0)}return o},removeData:function(t){return this.each(function(){Q.remove(this,t)})}}),D.extend({queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=K.get(t,e),i&&(!n||Array.isArray(i)?n=K.access(t,e,D.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=D.queue(t,e),n=i.length,o=i.shift(),r=D._queueHooks(t,e);"inprogress"===o&&(o=i.shift(),n--),o&&("fx"===e&&i.unshift("inprogress"),delete r.stop,o.call(t,function(){D.dequeue(t,e)},r)),!n&&r&&r.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return K.get(t,i)||K.access(t,i,{empty:D.Callbacks("once memory").add(function(){K.remove(t,[e+"queue",i])})})}}),D.fn.extend({queue:function(e,i){var t=2;return"string"!=typeof e&&(i=e,e="fx",t--),arguments.length<t?D.queue(this[0],e):void 0===i?this:this.each(function(){var t=D.queue(this,e,i);D._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&D.dequeue(this,e)})},dequeue:function(t){return this.each(function(){D.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){function i(){--o||r.resolveWith(s,[s])}var n,o=1,r=D.Deferred(),s=this,a=this.length;for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(n=K.get(s[a],t+"queueHooks"))&&n.empty&&(o++,n.empty.add(i));return i(),r.promise(e)}});var et=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,it=new RegExp("^(?:([+-])=|)("+et+")([a-z%]*)$","i"),nt=["Top","Right","Bottom","Left"],ot=L.documentElement,rt=function(t){return D.contains(t.ownerDocument,t)},st={composed:!0};ot.getRootNode&&(rt=function(t){return D.contains(t.ownerDocument,t)||t.getRootNode(st)===t.ownerDocument});function at(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&rt(t)&&"none"===D.css(t,"display")}function lt(t,e,i,n){var o,r,s={};for(r in e)s[r]=t.style[r],t.style[r]=e[r];for(r in o=i.apply(t,n||[]),e)t.style[r]=s[r];return o}function ht(t,e,i,n){var o,r,s=20,a=n?function(){return n.cur()}:function(){return D.css(t,e,"")},l=a(),h=i&&i[3]||(D.cssNumber[e]?"":"px"),u=t.nodeType&&(D.cssNumber[e]||"px"!==h&&+l)&&it.exec(D.css(t,e));if(u&&u[3]!==h){for(l/=2,h=h||u[3],u=+l||1;s--;)D.style(t,e,u+h),(1-r)*(1-(r=a()/l||.5))<=0&&(s=0),u/=r;u*=2,D.style(t,e,u+h),i=i||[]}return i&&(u=+u||+l||0,o=i[1]?u+(i[1]+1)*i[2]:+i[2],n&&(n.unit=h,n.start=u,n.end=o)),o}var ut={};function ct(t,e){for(var i,n,o,r,s,a,l,h=[],u=0,c=t.length;u<c;u++)(n=t[u]).style&&(i=n.style.display,e?("none"===i&&(h[u]=K.get(n,"display")||null,h[u]||(n.style.display="")),""===n.style.display&&at(n)&&(h[u]=(l=s=r=void 0,s=(o=n).ownerDocument,a=o.nodeName,(l=ut[a])||(r=s.body.appendChild(s.createElement(a)),l=D.css(r,"display"),r.parentNode.removeChild(r),"none"===l&&(l="block"),ut[a]=l)))):"none"!==i&&(h[u]="none",K.set(n,"display",i)));for(u=0;u<c;u++)null!=h[u]&&(t[u].style.display=h[u]);return t}D.fn.extend({show:function(){return ct(this,!0)},hide:function(){return ct(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){at(this)?D(this).show():D(this).hide()})}});var dt=/^(?:checkbox|radio)$/i,ft=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,pt=/^$|^module$|\/(?:java|ecma)script/i,_t={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function mt(t,e){var i;return i=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&C(t,e)?D.merge([t],i):i}function gt(t,e){for(var i=0,n=t.length;i<n;i++)K.set(t[i],"globalEval",!e||K.get(e[i],"globalEval"))}_t.optgroup=_t.option,_t.tbody=_t.tfoot=_t.colgroup=_t.caption=_t.thead,_t.th=_t.td;var vt,yt,bt=/<|&#?\w+;/;function wt(t,e,i,n,o){for(var r,s,a,l,h,u,c=e.createDocumentFragment(),d=[],f=0,p=t.length;f<p;f++)if((r=t[f])||0===r)if("object"===w(r))D.merge(d,r.nodeType?[r]:r);else if(bt.test(r)){for(s=s||c.appendChild(e.createElement("div")),a=(ft.exec(r)||["",""])[1].toLowerCase(),l=_t[a]||_t._default,s.innerHTML=l[1]+D.htmlPrefilter(r)+l[2],u=l[0];u--;)s=s.lastChild;D.merge(d,s.childNodes),(s=c.firstChild).textContent=""}else d.push(e.createTextNode(r));for(c.textContent="",f=0;r=d[f++];)if(n&&-1<D.inArray(r,n))o&&o.push(r);else if(h=rt(r),s=mt(c.appendChild(r),"script"),h&&gt(s),i)for(u=0;r=s[u++];)pt.test(r.type||"")&&i.push(r);return c}vt=L.createDocumentFragment().appendChild(L.createElement("div")),(yt=L.createElement("input")).setAttribute("type","radio"),yt.setAttribute("checked","checked"),yt.setAttribute("name","t"),vt.appendChild(yt),v.checkClone=vt.cloneNode(!0).cloneNode(!0).lastChild.checked,vt.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!vt.cloneNode(!0).lastChild.defaultValue;var xt=/^key/,kt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Lt=/^([^.]*)(?:\.(.+)|)/;function Dt(){return!0}function Tt(){return!1}function Et(t,e){return t===function(){try{return L.activeElement}catch(t){}}()==("focus"===e)}function Ct(t,e,i,n,o,r){var s,a;if("object"==typeof e){for(a in"string"!=typeof i&&(n=n||i,i=void 0),e)Ct(t,a,i,n,e[a],r);return t}if(null==n&&null==o?(o=i,n=i=void 0):null==o&&("string"==typeof i?(o=n,n=void 0):(o=n,n=i,i=void 0)),!1===o)o=Tt;else if(!o)return t;return 1===r&&(s=o,(o=function(t){return D().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=D.guid++)),t.each(function(){D.event.add(this,e,o,n,i)})}function St(t,o,r){r?(K.set(t,o,!1),D.event.add(t,o,{namespace:!1,handler:function(t){var e,i,n=K.get(this,o);if(1&t.isTrigger&&this[o]){if(n.length)(D.event.special[o]||{}).delegateType&&t.stopPropagation();else if(n=a.call(arguments),K.set(this,o,n),e=r(this,o),this[o](),n!==(i=K.get(this,o))||e?K.set(this,o,!1):i={},n!==i)return t.stopImmediatePropagation(),t.preventDefault(),i.value}else n.length&&(K.set(this,o,{value:D.event.trigger(D.extend(n[0],D.Event.prototype),n.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===K.get(t,o)&&D.event.add(t,o,Dt)}D.event={global:{},add:function(e,t,i,n,o){var r,s,a,l,h,u,c,d,f,p,_,m=K.get(e);if(m)for(i.handler&&(i=(r=i).handler,o=r.selector),o&&D.find.matchesSelector(ot,o),i.guid||(i.guid=D.guid++),(l=m.events)||(l=m.events={}),(s=m.handle)||(s=m.handle=function(t){return void 0!==D&&D.event.triggered!==t.type?D.event.dispatch.apply(e,arguments):void 0}),h=(t=(t||"").match(F)||[""]).length;h--;)f=_=(a=Lt.exec(t[h])||[])[1],p=(a[2]||"").split(".").sort(),f&&(c=D.event.special[f]||{},f=(o?c.delegateType:c.bindType)||f,c=D.event.special[f]||{},u=D.extend({type:f,origType:_,data:n,handler:i,guid:i.guid,selector:o,needsContext:o&&D.expr.match.needsContext.test(o),namespace:p.join(".")},r),(d=l[f])||((d=l[f]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(e,n,p,s)||e.addEventListener&&e.addEventListener(f,s)),c.add&&(c.add.call(e,u),u.handler.guid||(u.handler.guid=i.guid)),o?d.splice(d.delegateCount++,0,u):d.push(u),D.event.global[f]=!0)}
vendor: 4,308 bytes, line 1
1,remove:function(t,e,i,n,o){var r,s,a,l,h,u,c,d,f,p,_,m=K.hasData(t)&&K.get(t);if(m&&(l=m.events)){for(h=(e=(e||"").match(F)||[""]).length;h--;)if(f=_=(a=Lt.exec(e[h])||[])[1],p=(a[2]||"").split(".").sort(),f){for(c=D.event.special[f]||{},d=l[f=(n?c.delegateType:c.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=d.length;r--;)u=d[r],!o&&_!==u.origType||i&&i.guid!==u.guid||a&&!a.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(d.splice(r,1),u.selector&&d.delegateCount--,c.remove&&c.remove.call(t,u));s&&!d.length&&(c.teardown&&!1!==c.teardown.call(t,p,m.handle)||D.removeEvent(t,f,m.handle),delete l[f])}else for(f in l)D.event.remove(t,f+e[h],i,n,!0);D.isEmptyObject(l)&&K.remove(t,"handle events")}},dispatch:function(t){var e,i,n,o,r,s,a=D.event.fix(t),l=new Array(arguments.length),h=(K.get(this,"events")||{})[a.type]||[],u=D.event.special[a.type]||{};for(l[0]=a,e=1;e<arguments.length;e++)l[e]=arguments[e];if(a.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,a)){for(s=D.event.handlers.call(this,a,h),e=0;(o=s[e++])&&!a.isPropagationStopped();)for(a.currentTarget=o.elem,i=0;(r=o.handlers[i++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!1!==r.namespace&&!a.rnamespace.test(r.namespace)||(a.handleObj=r,a.data=r.data,void 0!==(n=((D.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,l))&&!1===(a.result=n)&&(a.preventDefault(),a.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,a),a.result}},handlers:function(t,e){var i,n,o,r,s,a=[],l=e.delegateCount,h=t.target;if(l&&h.nodeType&&!("click"===t.type&&1<=t.button))for(;h!==this;h=h.parentNode||this)if(1===h.nodeType&&("click"!==t.type||!0!==h.disabled)){for(r=[],s={},i=0;i<l;i++)void 0===s[o=(n=e[i]).selector+" "]&&(s[o]=n.needsContext?-1<D(o,this).index(h):D.find(o,this,null,[h]).length),s[o]&&r.push(n);r.length&&a.push({elem:h,handlers:r})}return h=this,l<e.length&&a.push({elem:h,handlers:e.slice(l)}),a},addProp:function(e,t){Object.defineProperty(D.Event.prototype,e,{enumerable:!0,configurable:!0,get:y(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(t){return t[D.expando]?t:new D.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return dt.test(e.type)&&e.click&&C(e,"input")&&St(e,"click",Dt),!1},trigger:function(t){var e=this||t;return dt.test(e.type)&&e.click&&C(e,"input")&&St(e,"click"),!0},_default:function(t){var e=t.target;return dt.test(e.type)&&e.click&&C(e,"input")&&K.get(e,"click")||C(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},D.removeEvent=function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i)},D.Event=function(t,e){if(!(this instanceof D.Event))return new D.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Dt:Tt,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&D.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[D.expando]=!0},D.Event.prototype={constructor:D.Event,isDefaultPrevented:Tt,isPropagationStopped:Tt,isImmediatePropagationStopped:Tt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Dt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Dt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Dt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},D.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;
vendor: 5,014 bytes, line 1
1return null==t.which&&xt.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&kt.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},D.event.addProp),D.each({focus:"focusin",blur:"focusout"},function(t,e){D.event.special[t]={setup:function(){return St(this,t,Et),!1},trigger:function(){return St(this,t),!0},delegateType:e}}),D.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,o){D.event.special[t]={delegateType:o,bindType:o,handle:function(t){var e,i=t.relatedTarget,n=t.handleObj;return i&&(i===this||D.contains(this,i))||(t.type=n.origType,e=n.handler.apply(this,arguments),t.type=o),e}}}),D.fn.extend({on:function(t,e,i,n){return Ct(this,t,e,i,n)},one:function(t,e,i,n){return Ct(this,t,e,i,n,1)},off:function(t,e,i){var n,o;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,D(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"!=typeof t)return!1!==e&&"function"!=typeof e||(i=e,e=void 0),!1===i&&(i=Tt),this.each(function(){D.event.remove(this,t,i,e)});for(o in t)this.off(o,e,t[o]);return this}});var Mt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Pt=/<script|<style|<link/i,It=/checked\s*(?:[^=]|=\s*.checked.)/i,Ot=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function At(t,e){return C(t,"table")&&C(11!==e.nodeType?e:e.firstChild,"tr")&&D(t).children("tbody")[0]||t}function Nt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Ft(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function zt(t,e){var i,n,o,r,s,a,l,h;if(1===e.nodeType){if(K.hasData(t)&&(r=K.access(t),s=K.set(e,r),h=r.events))for(o in delete s.handle,s.events={},h)for(i=0,n=h[o].length;i<n;i++)D.event.add(e,o,h[o][i]);Q.hasData(t)&&(a=Q.access(t),l=D.extend({},a),Q.set(e,l))}}function jt(i,n,o,r){n=m.apply([],n);var t,e,s,a,l,h,u=0,c=i.length,d=c-1,f=n[0],p=y(f);if(p||1<c&&"string"==typeof f&&!v.checkClone&&It.test(f))return i.each(function(t){var e=i.eq(t);p&&(n[0]=f.call(this,t,e.html())),jt(e,n,o,r)});if(c&&(e=(t=wt(n,i[0].ownerDocument,!1,i,r)).firstChild,1===t.childNodes.length&&(t=e),e||r)){for(a=(s=D.map(mt(t,"script"),Nt)).length;u<c;u++)l=t,u!==d&&(l=D.clone(l,!0,!0),a&&D.merge(s,mt(l,"script"))),o.call(i[u],l,u);if(a)for(h=s[s.length-1].ownerDocument,D.map(s,Ft),u=0;u<a;u++)l=s[u],pt.test(l.type||"")&&!K.access(l,"globalEval")&&D.contains(h,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?D._evalUrl&&!l.noModule&&D._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")}):b(l.textContent.replace(Ot,""),l,h))}return i}function Rt(t,e,i){for(var n,o=e?D.filter(e,t):t,r=0;null!=(n=o[r]);r++)i||1!==n.nodeType||D.cleanData(mt(n)),n.parentNode&&(i&&rt(n)&&gt(mt(n,"script")),n.parentNode.removeChild(n));return t}D.extend({htmlPrefilter:function(t){return t.replace(Mt,"<$1></$2>")},clone:function(t,e,i){var n,o,r,s,a,l,h,u=t.cloneNode(!0),c=rt(t);if(!(v.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||D.isXMLDoc(t)))for(s=mt(u),n=0,o=(r=mt(t)).length;n<o;n++)a=r[n],"input"===(h=(l=s[n]).nodeName.toLowerCase())&&dt.test(a.type)?l.checked=a.checked:"input"!==h&&"textarea"!==h||(l.defaultValue=a.defaultValue);if(e)if(i)for(r=r||mt(t),s=s||mt(u),n=0,o=r.length;n<o;n++)zt(r[n],s[n]);else zt(t,u);return 0<(s=mt(u,"script")).length&&gt(s,!c&&mt(t,"script")),u},cleanData:function(t){for(var e,i,n,o=D.event.special,r=0;void 0!==(i=t[r]);r++)if($(i)){if(e=i[K.expando]){if(e.events)for(n in e.events)o[n]?D.event.remove(i,n):D.removeEvent(i,n,e.handle);i[K.expando]=void 0}i[Q.expando]&&(i[Q.expando]=void 0)}}}),D.fn.extend({detach:function(t){return Rt(this,t,!0)},remove:function(t){return Rt(this,t)},text:function(t){return W(this,function(t){return void 0===t?D.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return jt(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||At(this,t).appendChild(t)})},prepend:function(){return jt(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=At(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return jt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return jt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(D.cleanData(mt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return D.clone(this,t,e)})},html:function(t){return W(this,function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Pt.test(t)&&!_t[(ft.exec(t)||["",""])[1].toLowerCase()]){t=D.htmlPrefilter(t);try{for(;i<n;i++)1===(e=this[i]||{}
vendor: 9,673 bytes, line 1
1).nodeType&&(D.cleanData(mt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var i=[];return jt(this,arguments,function(t){var e=this.parentNode;D.inArray(this,i)<0&&(D.cleanData(mt(this)),e&&e.replaceChild(t,this))},i)}}),D.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,s){D.fn[t]=function(t){for(var e,i=[],n=D(t),o=n.length-1,r=0;r<=o;r++)e=r===o?this:this.clone(!0),D(n[r])[s](e),l.apply(i,e.get());return this.pushStack(i)}});var Ht,Bt,Yt,Wt,Ut,Vt,Zt,qt=new RegExp("^("+et+")(?!px)[a-z%]+$","i"),$t=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=k),e.getComputedStyle(t)},Gt=new RegExp(nt.join("|"),"i");function Kt(t,e,i){var n,o,r,s,a=t.style;return(i=i||$t(t))&&(""!==(s=i.getPropertyValue(e)||i[e])||rt(t)||(s=D.style(t,e)),!v.pixelBoxStyles()&&qt.test(s)&&Gt.test(e)&&(n=a.width,o=a.minWidth,r=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=i.width,a.width=n,a.minWidth=o,a.maxWidth=r)),void 0!==s?s+"":s}function Qt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}function Xt(){if(Zt){Vt.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",Zt.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ot.appendChild(Vt).appendChild(Zt);var t=k.getComputedStyle(Zt);Ht="1%"!==t.top,Ut=12===Jt(t.marginLeft),Zt.style.right="60%",Wt=36===Jt(t.right),Bt=36===Jt(t.width),Zt.style.position="absolute",Yt=12===Jt(Zt.offsetWidth/3),ot.removeChild(Vt),Zt=null}}function Jt(t){return Math.round(parseFloat(t))}Vt=L.createElement("div"),(Zt=L.createElement("div")).style&&(Zt.style.backgroundClip="content-box",Zt.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===Zt.style.backgroundClip,D.extend(v,{boxSizingReliable:function(){return Xt(),Bt},pixelBoxStyles:function(){return Xt(),Wt},pixelPosition:function(){return Xt(),Ht},reliableMarginLeft:function(){return Xt(),Ut},scrollboxSize:function(){return Xt(),Yt}}));var te=["Webkit","Moz","ms"],ee=L.createElement("div").style,ie={};function ne(t){return D.cssProps[t]||ie[t]||(t in ee?t:ie[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),i=te.length;i--;)if((t=te[i]+e)in ee)return t}(t)||t)}var oe=/^(none|table(?!-c[ea]).+)/,re=/^--/,se={position:"absolute",visibility:"hidden",display:"block"},ae={letterSpacing:"0",fontWeight:"400"};function le(t,e,i){var n=it.exec(e);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):e}function he(t,e,i,n,o,r){var s="width"===e?1:0,a=0,l=0;if(i===(n?"border":"content"))return 0;for(;s<4;s+=2)"margin"===i&&(l+=D.css(t,i+nt[s],!0,o)),n?("content"===i&&(l-=D.css(t,"padding"+nt[s],!0,o)),"margin"!==i&&(l-=D.css(t,"border"+nt[s]+"Width",!0,o))):(l+=D.css(t,"padding"+nt[s],!0,o),"padding"!==i?l+=D.css(t,"border"+nt[s]+"Width",!0,o):a+=D.css(t,"border"+nt[s]+"Width",!0,o));return!n&&0<=r&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-r-l-a-.5))||0),l}function ue(t,e,i){var n=$t(t),o=(!v.boxSizingReliable()||i)&&"border-box"===D.css(t,"boxSizing",!1,n),r=o,s=Kt(t,e,n),a="offset"+e[0].toUpperCase()+e.slice(1);if(qt.test(s)){if(!i)return s;s="auto"}return(!v.boxSizingReliable()&&o||"auto"===s||!parseFloat(s)&&"inline"===D.css(t,"display",!1,n))&&t.getClientRects().length&&(o="border-box"===D.css(t,"boxSizing",!1,n),(r=a in t)&&(s=t[a])),(s=parseFloat(s)||0)+he(t,e,i||(o?"border":"content"),r,n,s)+"px"}function ce(t,e,i,n,o){return new ce.prototype.init(t,e,i,n,o)}D.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=Kt(t,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,r,s,a=q(e),l=re.test(e),h=t.style;if(l||(e=ne(a)),s=D.cssHooks[e]||D.cssHooks[a],void 0===i)return s&&"get"in s&&void 0!==(o=s.get(t,!1,n))?o:h[e];"string"==(r=typeof i)&&(o=it.exec(i))&&o[1]&&(i=ht(t,e,o),r="number"),null!=i&&i==i&&("number"!==r||l||(i+=o&&o[3]||(D.cssNumber[a]?"":"px")),v.clearCloneStyle||""!==i||0!==e.indexOf("background")||(h[e]="inherit"),s&&"set"in s&&void 0===(i=s.set(t,i,n))||(l?h.setProperty(e,i):h[e]=i))}},css:function(t,e,i,n){var o,r,s,a=q(e);return re.test(e)||(e=ne(a)),(s=D.cssHooks[e]||D.cssHooks[a])&&"get"in s&&(o=s.get(t,!0,i)),void 0===o&&(o=Kt(t,e,n)),"normal"===o&&e in ae&&(o=ae[e]),""===i||i?(r=parseFloat(o),!0===i||isFinite(r)?r||0:o):o}}),D.each(["height","width"],function(t,l){D.cssHooks[l]={get:function(t,e,i){if(e)return!oe.test(D.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?ue(t,l,i):lt(t,se,function(){return ue(t,l,i)})},set:function(t,e,i){var n,o=$t(t),r=!v.scrollboxSize()&&"absolute"===o.position,s=(r||i)&&"border-box"===D.css(t,"boxSizing",!1,o),a=i?he(t,l,i,s,o):0;return s&&r&&(a-=Math.ceil(t["offset"+l[0].toUpperCase()+l.slice(1)]-parseFloat(o[l])-he(t,l,"border",!1,o)-.5)),a&&(n=it.exec(e))&&"px"!==(n[3]||"px")&&(t.style[l]=e,e=D.css(t,l)),le(0,e,a)}}}),D.cssHooks.marginLeft=Qt(v.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Kt(t,"marginLeft"))||t.getBoundingClientRect().left-lt(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),D.each({margin:"",padding:"",border:"Width"},function(o,r){D.cssHooks[o+r]={expand:function(t){for(var e=0,i={},n="string"==typeof t?t.split(" "):[t];e<4;e++)i[o+nt[e]+r]=n[e]||n[e-2]||n[0];return i}},"margin"!==o&&(D.cssHooks[o+r].set=le)}),D.fn.extend({css:function(t,e){return W(this,function(t,e,i){var n,o,r={},s=0;if(Array.isArray(e)){for(n=$t(t),o=e.length;s<o;s++)r[e[s]]=D.css(t,e[s],!1,n);return r}return void 0!==i?D.style(t,e,i):D.css(t,e)},t,e,1<arguments.length)}}),((D.Tween=ce).prototype={constructor:ce,init:function(t,e,i,n,o,r){this.elem=t,this.prop=i,this.easing=o||D.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=r||(D.cssNumber[i]?"":"px")},cur:function(){var t=ce.propHooks[this.prop];return t&&t.get?t.get(this):ce.propHooks._default.get(this)},run:function(t){var e,i=ce.propHooks[this.prop];return this.options.duration?this.pos=e=D.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):ce.propHooks._default.set(this),this}}).init.prototype=ce.prototype,(ce.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=D.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){D.fx.step[t.prop]?D.fx.step[t.prop](t):1!==t.elem.nodeType||!D.cssHooks[t.prop]&&null==t.elem.style[ne(t.prop)]?t.elem[t.prop]=t.now:D.style(t.elem,t.prop,t.now+t.unit)}}}).scrollTop=ce.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},D.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},D.fx=ce.prototype.init,D.fx.step={};var de,fe,pe,_e,me=/^(?:toggle|show|hide)$/,ge=/queueHooks$/;function ve(){fe&&(!1===L.hidden&&k.requestAnimationFrame?k.requestAnimationFrame(ve):k.setTimeout(ve,D.fx.interval),D.fx.tick())}function ye(){return k.setTimeout(function(){de=void 0}),de=Date.now()}function be(t,e){var i,n=0,o={height:t};for(e=e?1:0;n<4;n+=2-e)o["margin"+(i=nt[n])]=o["padding"+i]=t;return e&&(o.opacity=o.width=t),o}function we(t,e,i){for(var n,o=(xe.tweeners[e]||[]).concat(xe.tweeners["*"]),r=0,s=o.length;r<s;r++)if(n=o[r].call(i,e,t))return n}function xe(r,t,e){var i,s,n=0,o=xe.prefilters.length,a=D.Deferred().always(function(){delete l.elem}),l=function(){if(s)return!1;for(var t=de||ye(),e=Math.max(0,h.startTime+h.duration-t),i=1-(e/h.duration||0),n=0,o=h.tweens.length;n<o;n++)h.tweens[n].run(i);return a.notifyWith(r,[h,i,e]),i<1&&o?e:(o||a.notifyWith(r,[h,1,0]),a.resolveWith(r,[h]),!1)},h=a.promise({elem:r,props:D.extend({},t),opts:D.extend(!0,{specialEasing:{},easing:D.easing._default},e),originalProperties:t,originalOptions:e,startTime:de||ye(),duration:e.duration,tweens:[],createTween:function(t,e){var i=D.Tween(r,h.opts,t,e,h.opts.specialEasing[t]||h.opts.easing);return h.tweens.push(i),i},stop:function(t){var e=0,i=t?h.tweens.length:0;if(s)return this;for(s=!0;e<i;e++)h.tweens[e].run(1);return t?(a.notifyWith(r,[h,1,0]),a.resolveWith(r,[h,t])):a.rejectWith(r,[h,t]),this}}),u=h.props;for(function(t,e){var i,n,o,r,s;for(i in t)if(o=e[n=q(i)],r=t[i],Array.isArray(r)&&(o=r[1],r=t[i]=r[0]),i!==n&&(t[n]=r,delete t[i]),(s=D.cssHooks[n])&&"expand"in s)for(i in r=s.expand(r),delete t[n],r)i in t||(t[i]=r[i],e[i]=o);else e[n]=o}(u,h.opts.specialEasing);n<o;n++)if(i=xe.prefilters[n].call(h,r,u,h.opts))return y(i.stop)&&(D._queueHooks(h.elem,h.opts.queue).stop=i.stop.bind(i)),i;return D.map(u,we,h),y(h.opts.start)&&h.opts.start.call(r,h),h.progress(h.opts.progress).done(h.opts.done,h.opts.complete).fail(h.opts.fail).always(h.opts.always),D.fx.timer(D.extend(l,{elem:r,anim:h,queue:h.opts.queue})),h}D.Animation=D.extend(xe,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);return ht(i.elem,t,it.exec(e),i),i}]},tweener:function(t,e){for(var i,n=0,o=(t=y(t)?(e=t,["*"]):t.match(F)).length;n<o;n++)i=t[n],xe.tweeners[i]=xe.tweeners[i]||[],xe.tweeners[i].unshift(e)}
vendor: 2,119 bytes, line 1
1,prefilters:[function(t,e,i){var n,o,r,s,a,l,h,u,c="width"in e||"height"in e,d=this,f={},p=t.style,_=t.nodeType&&at(t),m=K.get(t,"fxshow");for(n in i.queue||(null==(s=D._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,d.always(function(){d.always(function(){s.unqueued--,D.queue(t,"fx").length||s.empty.fire()})})),e)if(o=e[n],me.test(o)){if(delete e[n],r=r||"toggle"===o,o===(_?"hide":"show")){if("show"!==o||!m||void 0===m[n])continue;_=!0}f[n]=m&&m[n]||D.style(t,n)}if((l=!D.isEmptyObject(e))||!D.isEmptyObject(f))for(n in c&&1===t.nodeType&&(i.overflow=[p.overflow,p.overflowX,p.overflowY],null==(h=m&&m.display)&&(h=K.get(t,"display")),"none"===(u=D.css(t,"display"))&&(h?u=h:(ct([t],!0),h=t.style.display||h,u=D.css(t,"display"),ct([t]))),("inline"===u||"inline-block"===u&&null!=h)&&"none"===D.css(t,"float")&&(l||(d.done(function(){p.display=h}),null==h&&(u=p.display,h="none"===u?"":u)),p.display="inline-block")),i.overflow&&(p.overflow="hidden",d.always(function(){p.overflow=i.overflow[0],p.overflowX=i.overflow[1],p.overflowY=i.overflow[2]})),l=!1,f)l||(m?"hidden"in m&&(_=m.hidden):m=K.access(t,"fxshow",{display:h}),r&&(m.hidden=!_),_&&ct([t],!0),d.done(function(){for(n in _||ct([t]),K.remove(t,"fxshow"),f)D.style(t,n,f[n])})),l=we(_?m[n]:0,n,d),n in m||(m[n]=l.start,_&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?xe.prefilters.unshift(t):xe.prefilters.push(t)}}),D.speed=function(t,e,i){var n=t&&"object"==typeof t?D.extend({},t):{complete:i||!i&&e||y(t)&&t,duration:t,easing:i&&e||e&&!y(e)&&e};return D.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in D.fx.speeds?n.duration=D.fx.speeds[n.duration]:n.duration=D.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){y(n.old)&&n.old.call(this),n.queue&&D.dequeue(this,n.queue)},n},D.fn.extend({fadeTo:function(t,e,i,n){return this.filter(at).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(e,t,i,n){function o(){var t=xe(this,D.extend({},e),s);(r||K.get(this,"finish"))&&t.stop(!0)}
vendor: 4,642 bytes, line 1
1var r=D.isEmptyObject(e),s=D.speed(t,i,n);return o.finish=o,r||!1===s.queue?this.each(o):this.queue(s.queue,o)},stop:function(o,t,r){function s(t){var e=t.stop;delete t.stop,e(r)}return"string"!=typeof o&&(r=t,t=o,o=void 0),t&&!1!==o&&this.queue(o||"fx",[]),this.each(function(){var t=!0,e=null!=o&&o+"queueHooks",i=D.timers,n=K.get(this);if(e)n[e]&&n[e].stop&&s(n[e]);else for(e in n)n[e]&&n[e].stop&&ge.test(e)&&s(n[e]);for(e=i.length;e--;)i[e].elem!==this||null!=o&&i[e].queue!==o||(i[e].anim.stop(r),t=!1,i.splice(e,1));!t&&r||D.dequeue(this,o)})},finish:function(s){return!1!==s&&(s=s||"fx"),this.each(function(){var t,e=K.get(this),i=e[s+"queue"],n=e[s+"queueHooks"],o=D.timers,r=i?i.length:0;for(e.finish=!0,D.queue(this,s,[]),n&&n.stop&&n.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===s&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<r;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete e.finish})}}),D.each(["toggle","show","hide"],function(t,n){var o=D.fn[n];D.fn[n]=function(t,e,i){return null==t||"boolean"==typeof t?o.apply(this,arguments):this.animate(be(n,!0),t,e,i)}}),D.each({slideDown:be("show"),slideUp:be("hide"),slideToggle:be("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,n){D.fn[t]=function(t,e,i){return this.animate(n,t,e,i)}}),D.timers=[],D.fx.tick=function(){var t,e=0,i=D.timers;for(de=Date.now();e<i.length;e++)(t=i[e])()||i[e]!==t||i.splice(e--,1);i.length||D.fx.stop(),de=void 0},D.fx.timer=function(t){D.timers.push(t),D.fx.start()},D.fx.interval=13,D.fx.start=function(){fe||(fe=!0,ve())},D.fx.stop=function(){fe=null},D.fx.speeds={slow:600,fast:200,_default:400},D.fn.delay=function(n,t){return n=D.fx&&D.fx.speeds[n]||n,t=t||"fx",this.queue(t,function(t,e){var i=k.setTimeout(t,n);e.stop=function(){k.clearTimeout(i)}})},pe=L.createElement("input"),_e=L.createElement("select").appendChild(L.createElement("option")),pe.type="checkbox",v.checkOn=""!==pe.value,v.optSelected=_e.selected,(pe=L.createElement("input")).value="t",pe.type="radio",v.radioValue="t"===pe.value;var ke,Le=D.expr.attrHandle;D.fn.extend({attr:function(t,e){return W(this,D.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){D.removeAttr(this,t)})}}),D.extend({attr:function(t,e,i){var n,o,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===t.getAttribute?D.prop(t,e,i):(1===r&&D.isXMLDoc(t)||(o=D.attrHooks[e.toLowerCase()]||(D.expr.match.bool.test(e)?ke:void 0)),void 0!==i?null===i?void D.removeAttr(t,e):o&&"set"in o&&void 0!==(n=o.set(t,i,e))?n:(t.setAttribute(e,i+""),i):o&&"get"in o&&null!==(n=o.get(t,e))?n:null==(n=D.find.attr(t,e))?void 0:n)},attrHooks:{type:{set:function(t,e){if(!v.radioValue&&"radio"===e&&C(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},removeAttr:function(t,e){var i,n=0,o=e&&e.match(F);if(o&&1===t.nodeType)for(;i=o[n++];)t.removeAttribute(i)}}),ke={set:function(t,e,i){return!1===e?D.removeAttr(t,i):t.setAttribute(i,i),i}},D.each(D.expr.match.bool.source.match(/\w+/g),function(t,e){var s=Le[e]||D.find.attr;Le[e]=function(t,e,i){var n,o,r=e.toLowerCase();return i||(o=Le[r],Le[r]=n,n=null!=s(t,e,i)?r:null,Le[r]=o),n}});var De=/^(?:input|select|textarea|button)$/i,Te=/^(?:a|area)$/i;function Ee(t){return(t.match(F)||[]).join(" ")}function Ce(t){return t.getAttribute&&t.getAttribute("class")||""}function Se(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(F)||[]}D.fn.extend({prop:function(t,e){return W(this,D.prop,t,e,1<arguments.length)},removeProp:function(t){return this.each(function(){delete this[D.propFix[t]||t]})}}),D.extend({prop:function(t,e,i){var n,o,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&D.isXMLDoc(t)||(e=D.propFix[e]||e,o=D.propHooks[e]),void 0!==i?o&&"set"in o&&void 0!==(n=o.set(t,i,e))?n:t[e]=i:o&&"get"in o&&null!==(n=o.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=D.find.attr(t,"tabindex");return e?parseInt(e,10):De.test(t.nodeName)||Te.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(D.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),D.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){D.propFix[this.toLowerCase()]=this}),D.fn.extend({addClass:function(e){var t,i,n,o,r,s,a,l=0;if(y(e))return this.each(function(t){D(this).addClass(e.call(this,t,Ce(this)))});if((t=Se(e)).length)for(;i=this[l++];
vendor: 2,169 bytes, line 1
1)if(o=Ce(i),n=1===i.nodeType&&" "+Ee(o)+" "){for(s=0;r=t[s++];)n.indexOf(" "+r+" ")<0&&(n+=r+" ");o!==(a=Ee(n))&&i.setAttribute("class",a)}return this},removeClass:function(e){var t,i,n,o,r,s,a,l=0;if(y(e))return this.each(function(t){D(this).removeClass(e.call(this,t,Ce(this)))});if(!arguments.length)return this.attr("class","");if((t=Se(e)).length)for(;i=this[l++];)if(o=Ce(i),n=1===i.nodeType&&" "+Ee(o)+" "){for(s=0;r=t[s++];)for(;-1<n.indexOf(" "+r+" ");)n=n.replace(" "+r+" "," ");o!==(a=Ee(n))&&i.setAttribute("class",a)}return this},toggleClass:function(o,e){var r=typeof o,s="string"==r||Array.isArray(o);return"boolean"==typeof e&&s?e?this.addClass(o):this.removeClass(o):y(o)?this.each(function(t){D(this).toggleClass(o.call(this,t,Ce(this),e),e)}):this.each(function(){var t,e,i,n;if(s)for(e=0,i=D(this),n=Se(o);t=n[e++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==o&&"boolean"!=r||((t=Ce(this))&&K.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===o?"":K.get(this,"__className__")||""))})},hasClass:function(t){var e,i,n=0;for(e=" "+t+" ";i=this[n++];)if(1===i.nodeType&&-1<(" "+Ee(Ce(i))+" ").indexOf(e))return!0;return!1}});var Me=/\r/g;D.fn.extend({val:function(i){var n,t,o,e=this[0];return arguments.length?(o=y(i),this.each(function(t){var e;1===this.nodeType&&(null==(e=o?i.call(this,t,D(this).val()):i)?e="":"number"==typeof e?e+="":Array.isArray(e)&&(e=D.map(e,function(t){return null==t?"":t+""})),(n=D.valHooks[this.type]||D.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,e,"value")||(this.value=e))})):e?(n=D.valHooks[e.type]||D.valHooks[e.nodeName.toLowerCase()])&&"get"in n&&void 0!==(t=n.get(e,"value"))?t:"string"==typeof(t=e.value)?t.replace(Me,""):null==t?"":t:void 0}}),D.extend({valHooks:{option:{get:function(t){var e=D.find.attr(t,"value");return null!=e?e:Ee(D.text(t))}},select:{get:function(t){var e,i,n,o=t.options,r=t.selectedIndex,s="select-one"===t.type,a=s?null:[],l=s?r+1:o.length;for(n=r<0?l:s?r:0;n<l;n++)if(((i=o[n]).selected||n===r)&&!i.disabled&&(!i.parentNode.disabled||!C(i.parentNode,"optgroup"))){if(e=D(i).val(),s)return e;a.push(e)}return a}
vendor: 4,446 bytes, line 1
1,set:function(t,e){for(var i,n,o=t.options,r=D.makeArray(e),s=o.length;s--;)((n=o[s]).selected=-1<D.inArray(D.valHooks.option.get(n),r))&&(i=!0);return i||(t.selectedIndex=-1),r}}}}),D.each(["radio","checkbox"],function(){D.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=-1<D.inArray(D(t).val(),e)}},v.checkOn||(D.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),v.focusin="onfocusin"in k;function Pe(t){t.stopPropagation()}var Ie=/^(?:focusinfocus|focusoutblur)$/;D.extend(D.event,{trigger:function(t,e,i,n){var o,r,s,a,l,h,u,c,d=[i||L],f=g.call(t,"type")?t.type:t,p=g.call(t,"namespace")?t.namespace.split("."):[];if(r=c=s=i=i||L,3!==i.nodeType&&8!==i.nodeType&&!Ie.test(f+D.event.triggered)&&(-1<f.indexOf(".")&&(f=(p=f.split(".")).shift(),p.sort()),l=f.indexOf(":")<0&&"on"+f,(t=t[D.expando]?t:new D.Event(f,"object"==typeof t&&t)).isTrigger=n?2:3,t.namespace=p.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),e=null==e?[t]:D.makeArray(e,[t]),u=D.event.special[f]||{},n||!u.trigger||!1!==u.trigger.apply(i,e))){if(!n&&!u.noBubble&&!_(i)){for(a=u.delegateType||f,Ie.test(a+f)||(r=r.parentNode);r;r=r.parentNode)d.push(r),s=r;s===(i.ownerDocument||L)&&d.push(s.defaultView||s.parentWindow||k)}for(o=0;(r=d[o++])&&!t.isPropagationStopped();)c=r,t.type=1<o?a:u.bindType||f,(h=(K.get(r,"events")||{})[t.type]&&K.get(r,"handle"))&&h.apply(r,e),(h=l&&r[l])&&h.apply&&$(r)&&(t.result=h.apply(r,e),!1===t.result&&t.preventDefault());return t.type=f,n||t.isDefaultPrevented()||u._default&&!1!==u._default.apply(d.pop(),e)||!$(i)||l&&y(i[f])&&!_(i)&&((s=i[l])&&(i[l]=null),D.event.triggered=f,t.isPropagationStopped()&&c.addEventListener(f,Pe),i[f](),t.isPropagationStopped()&&c.removeEventListener(f,Pe),D.event.triggered=void 0,s&&(i[l]=s)),t.result}},simulate:function(t,e,i){var n=D.extend(new D.Event,i,{type:t,isSimulated:!0});D.event.trigger(n,null,e)}}),D.fn.extend({trigger:function(t,e){return this.each(function(){D.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];if(i)return D.event.trigger(t,e,i,!0)}}),v.focusin||D.each({focus:"focusin",blur:"focusout"},function(i,n){function o(t){D.event.simulate(n,t.target,D.event.fix(t))}D.event.special[n]={setup:function(){var t=this.ownerDocument||this,e=K.access(t,n);e||t.addEventListener(i,o,!0),K.access(t,n,(e||0)+1)},teardown:function(){var t=this.ownerDocument||this,e=K.access(t,n)-1;e?K.access(t,n,e):(t.removeEventListener(i,o,!0),K.remove(t,n))}}});var Oe=k.location,Ae=Date.now(),Ne=/\?/;D.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new k.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||D.error("Invalid XML: "+t),e};var Fe=/\[\]$/,ze=/\r?\n/g,je=/^(?:submit|button|image|reset|file)$/i,Re=/^(?:input|select|textarea|keygen)/i;function He(i,t,n,o){var e;if(Array.isArray(t))D.each(t,function(t,e){n||Fe.test(i)?o(i,e):He(i+"["+("object"==typeof e&&null!=e?t:"")+"]",e,n,o)});else if(n||"object"!==w(t))o(i,t);else for(e in t)He(i+"["+e+"]",t[e],n,o)}D.param=function(t,e){function i(t,e){var i=y(e)?e():e;o[o.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==i?"":i)}var n,o=[];if(null==t)return"";if(Array.isArray(t)||t.jquery&&!D.isPlainObject(t))D.each(t,function(){i(this.name,this.value)});else for(n in t)He(n,t[n],e,i);return o.join("&")},D.fn.extend({serialize:function(){return D.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=D.prop(this,"elements");return t?D.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!D(this).is(":disabled")&&Re.test(this.nodeName)&&!je.test(t)&&(this.checked||!dt.test(t))}).map(function(t,e){var i=D(this).val();return null==i?null:Array.isArray(i)?D.map(i,function(t){return{name:e.name,value:t.replace(ze,"\r\n")}}):{name:e.name,value:i.replace(ze,"\r\n")}}).get()}});var Be=/%20/g,Ye=/#.*$/,We=/([?&])_=[^&]*/,Ue=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ve=/^(?:GET|HEAD)$/,Ze=/^\/\//,qe={},$e={},Ge="*/".concat("*"),Ke=L.createElement("a");function Qe(r){return function(t,e){"string"!=typeof t&&(e=t,t="*");var i,n=0,o=t.toLowerCase().match(F)||[];if(y(e))for(;i=o[n++];)"+"===i[0]?(i=i.slice(1)||"*",(r[i]=r[i]||[]).unshift(e)):(r[i]=r[i]||[]).push(e)}}function Xe(e,o,r,s){var a={},l=e===$e;function h(t){var n;
vendor: 4,234 bytes, line 1
1return a[t]=!0,D.each(e[t]||[],function(t,e){var i=e(o,r,s);return"string"!=typeof i||l||a[i]?l?!(n=i):void 0:(o.dataTypes.unshift(i),h(i),!1)}),n}return h(o.dataTypes[0])||!a["*"]&&h("*")}function Je(t,e){var i,n,o=D.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((o[i]?t:n=n||{})[i]=e[i]);return n&&D.extend(!0,t,n),t}Ke.href=Oe.href,D.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Oe.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Oe.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ge,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":D.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Je(Je(t,D.ajaxSettings),e):Je(D.ajaxSettings,t)},ajaxPrefilter:Qe(qe),ajaxTransport:Qe($e),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var u,c,d,i,f,n,p,_,o,r,m=D.ajaxSetup({},e),g=m.context||m,v=m.context&&(g.nodeType||g.jquery)?D(g):D.event,y=D.Deferred(),b=D.Callbacks("once memory"),w=m.statusCode||{},s={},a={},l="canceled",x={readyState:0,getResponseHeader:function(t){var e;if(p){if(!i)for(i={};e=Ue.exec(d);)i[e[1].toLowerCase()+" "]=(i[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=i[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return p?d:null},setRequestHeader:function(t,e){return null==p&&(t=a[t.toLowerCase()]=a[t.toLowerCase()]||t,s[t]=e),this},overrideMimeType:function(t){return null==p&&(m.mimeType=t),this},statusCode:function(t){var e;if(t)if(p)x.always(t[x.status]);else for(e in t)w[e]=[w[e],t[e]];return this},abort:function(t){var e=t||l;return u&&u.abort(e),h(0,e),this}};if(y.promise(x),m.url=((t||m.url||Oe.href)+"").replace(Ze,Oe.protocol+"//"),m.type=e.method||e.type||m.method||m.type,m.dataTypes=(m.dataType||"*").toLowerCase().match(F)||[""],null==m.crossDomain){n=L.createElement("a");try{n.href=m.url,n.href=n.href,m.crossDomain=Ke.protocol+"//"+Ke.host!=n.protocol+"//"+n.host}catch(t){m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=D.param(m.data,m.traditional)),Xe(qe,m,e,x),p)return x;for(o in(_=D.event&&m.global)&&0==D.active++&&D.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!Ve.test(m.type),c=m.url.replace(Ye,""),m.hasContent?m.data&&m.processData&&0===(m.contentType||"").indexOf("application/x-www-form-urlencoded")&&(m.data=m.data.replace(Be,"+")):(r=m.url.slice(c.length),m.data&&(m.processData||"string"==typeof m.data)&&(c+=(Ne.test(c)?"&":"?")+m.data,delete m.data),!1===m.cache&&(c=c.replace(We,"$1"),r=(Ne.test(c)?"&":"?")+"_="+Ae+++r),m.url=c+r),m.ifModified&&(D.lastModified[c]&&x.setRequestHeader("If-Modified-Since",D.lastModified[c]),D.etag[c]&&x.setRequestHeader("If-None-Match",D.etag[c])),(m.data&&m.hasContent&&!1!==m.contentType||e.contentType)&&x.setRequestHeader("Content-Type",m.contentType),x.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+Ge+"; q=0.01":""):m.accepts["*"]),m.headers)x.setRequestHeader(o,m.headers[o]);if(m.beforeSend&&(!1===m.beforeSend.call(g,x,m)||p))return x.abort();if(l="abort",b.add(m.complete),x.done(m.success),x.fail(m.error),u=Xe($e,m,e,x)){if(x.readyState=1,_&&v.trigger("ajaxSend",[x,m]),p)return x;m.async&&0<m.timeout&&(f=k.setTimeout(function(){x.abort("timeout")},m.timeout));try{p=!1,u.send(s,h)}catch(t){if(p)throw t;h(-1,t)}}else h(-1,"No Transport");function h(t,e,i,n){var o,r,s,a,l,h=e;p||(p=!0,f&&k.clearTimeout(f),u=void 0,d=n||"",x.readyState=0<t?4:0,o=200<=t&&t<300||304===t,i&&(a=function(t,e,i){for(var n,o,r,s,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader("Content-Type"));if(n)for(o in a)if(a[o]&&a[o].test(n)){l.unshift(o);break}if(l[0]in i)r=l[0];else{for(o in i){if(!l[0]||t.converters[o+" "+l[0]]){r=o;break}s=s||o}r=r||s}if(r)return r!==l[0]&&l.unshift(r),i[r]}
vendor: 4,257 bytes, line 1
1(m,x,i)),a=function(t,e,i,n){var o,r,s,a,l,h={},u=t.dataTypes.slice();if(u[1])for(s in t.converters)h[s.toLowerCase()]=t.converters[s];for(r=u.shift();r;)if(t.responseFields[r]&&(i[t.responseFields[r]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=u.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(s=h[l+" "+r]||h["* "+r]))for(o in h)if((a=o.split(" "))[1]===r&&(s=h[l+" "+a[0]]||h["* "+a[0]])){!0===s?s=h[o]:!0!==h[o]&&(r=a[0],u.unshift(a[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}(m,a,x,o),o?(m.ifModified&&((l=x.getResponseHeader("Last-Modified"))&&(D.lastModified[c]=l),(l=x.getResponseHeader("etag"))&&(D.etag[c]=l)),204===t||"HEAD"===m.type?h="nocontent":304===t?h="notmodified":(h=a.state,r=a.data,o=!(s=a.error))):(s=h,!t&&h||(h="error",t<0&&(t=0))),x.status=t,x.statusText=(e||h)+"",o?y.resolveWith(g,[r,h,x]):y.rejectWith(g,[x,h,s]),x.statusCode(w),w=void 0,_&&v.trigger(o?"ajaxSuccess":"ajaxError",[x,m,o?r:s]),b.fireWith(g,[x,h]),_&&(v.trigger("ajaxComplete",[x,m]),--D.active||D.event.trigger("ajaxStop")))}return x},getJSON:function(t,e,i){return D.get(t,e,i,"json")},getScript:function(t,e){return D.get(t,void 0,e,"script")}}),D.each(["get","post"],function(t,o){D[o]=function(t,e,i,n){return y(e)&&(n=n||i,i=e,e=void 0),D.ajax(D.extend({url:t,type:o,dataType:n,data:e,success:i},D.isPlainObject(t)&&t))}}),D._evalUrl=function(t,e){return D.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){D.globalEval(t,e)}})},D.fn.extend({wrapAll:function(t){var e;return this[0]&&(y(t)&&(t=t.call(this[0])),e=D(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(i){return y(i)?this.each(function(t){D(this).wrapInner(i.call(this,t))}):this.each(function(){var t=D(this),e=t.contents();e.length?e.wrapAll(i):t.append(i)})},wrap:function(e){var i=y(e);return this.each(function(t){D(this).wrapAll(i?e.call(this,t):e)})},unwrap:function(t){return this.parent(t).not("body").each(function(){D(this).replaceWith(this.childNodes)}),this}}),D.expr.pseudos.hidden=function(t){return!D.expr.pseudos.visible(t)},D.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},D.ajaxSettings.xhr=function(){try{return new k.XMLHttpRequest}catch(t){}};var ti={0:200,1223:204},ei=D.ajaxSettings.xhr();v.cors=!!ei&&"withCredentials"in ei,v.ajax=ei=!!ei,D.ajaxTransport(function(o){var r,s;if(v.cors||ei&&!o.crossDomain)return{send:function(t,e){var i,n=o.xhr();if(n.open(o.type,o.url,o.async,o.username,o.password),o.xhrFields)for(i in o.xhrFields)n[i]=o.xhrFields[i];for(i in o.mimeType&&n.overrideMimeType&&n.overrideMimeType(o.mimeType),o.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest"),t)n.setRequestHeader(i,t[i]);r=function(t){return function(){r&&(r=s=n.onload=n.onerror=n.onabort=n.ontimeout=n.onreadystatechange=null,"abort"===t?n.abort():"error"===t?"number"!=typeof n.status?e(0,"error"):e(n.status,n.statusText):e(ti[n.status]||n.status,n.statusText,"text"!==(n.responseType||"text")||"string"!=typeof n.responseText?{binary:n.response}:{text:n.responseText},n.getAllResponseHeaders()))}},n.onload=r(),s=n.onerror=n.ontimeout=r("error"),void 0!==n.onabort?n.onabort=s:n.onreadystatechange=function(){4===n.readyState&&k.setTimeout(function(){r&&s()})},r=r("abort");try{n.send(o.hasContent&&o.data||null)}catch(t){if(r)throw t}},abort:function(){r&&r()}}}),D.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),D.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return D.globalEval(t),t}}}),D.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),D.ajaxTransport("script",function(i){var n,o;if(i.crossDomain||i.scriptAttrs)return{send:function(t,e){n=D("<script>").attr(i.scriptAttrs||{}
vendor: 4,295 bytes, line 1
1).prop({charset:i.scriptCharset,src:i.url}).on("load error",o=function(t){n.remove(),o=null,t&&e("error"===t.type?404:200,t.type)}),L.head.appendChild(n[0])},abort:function(){o&&o()}}});var ii,ni=[],oi=/(=)\?(?=&|$)|\?\?/;D.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=ni.pop()||D.expando+"_"+Ae++;return this[t]=!0,t}}),D.ajaxPrefilter("json jsonp",function(t,e,i){var n,o,r,s=!1!==t.jsonp&&(oi.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&oi.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return n=t.jsonpCallback=y(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(oi,"$1"+n):!1!==t.jsonp&&(t.url+=(Ne.test(t.url)?"&":"?")+t.jsonp+"="+n),t.converters["script json"]=function(){return r||D.error(n+" was not called"),r[0]},t.dataTypes[0]="json",o=k[n],k[n]=function(){r=arguments},i.always(function(){void 0===o?D(k).removeProp(n):k[n]=o,t[n]&&(t.jsonpCallback=e.jsonpCallback,ni.push(n)),r&&y(o)&&o(r[0]),r=o=void 0}),"script"}),v.createHTMLDocument=((ii=L.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===ii.childNodes.length),D.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(v.createHTMLDocument?((n=(e=L.implementation.createHTMLDocument("")).createElement("base")).href=L.location.href,e.head.appendChild(n)):e=L),r=!i&&[],(o=S.exec(t))?[e.createElement(o[1])]:(o=wt([t],e,r),r&&r.length&&D(r).remove(),D.merge([],o.childNodes)));var n,o,r},D.fn.load=function(t,e,i){var n,o,r,s=this,a=t.indexOf(" ");return-1<a&&(n=Ee(t.slice(a)),t=t.slice(0,a)),y(e)?(i=e,e=void 0):e&&"object"==typeof e&&(o="POST"),0<s.length&&D.ajax({url:t,type:o||"GET",dataType:"html",data:e}).done(function(t){r=arguments,s.html(n?D("<div>").append(D.parseHTML(t)).find(n):t)}).always(i&&function(t,e){s.each(function(){i.apply(this,r||[t.responseText,e,t])})}),this},D.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){D.fn[e]=function(t){return this.on(e,t)}}),D.expr.pseudos.animated=function(e){return D.grep(D.timers,function(t){return e===t.elem}).length},D.offset={setOffset:function(t,e,i){var n,o,r,s,a,l,h=D.css(t,"position"),u=D(t),c={};"static"===h&&(t.style.position="relative"),a=u.offset(),r=D.css(t,"top"),l=D.css(t,"left"),o=("absolute"===h||"fixed"===h)&&-1<(r+l).indexOf("auto")?(s=(n=u.position()).top,n.left):(s=parseFloat(r)||0,parseFloat(l)||0),y(e)&&(e=e.call(t,i,D.extend({},a))),null!=e.top&&(c.top=e.top-a.top+s),null!=e.left&&(c.left=e.left-a.left+o),"using"in e?e.using.call(t,c):u.css(c)}},D.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){D.offset.setOffset(this,e,t)});var t,i,n=this[0];return n?n.getClientRects().length?(t=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:t.top+i.pageYOffset,left:t.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i,n=this[0],o={top:0,left:0};if("fixed"===D.css(n,"position"))e=n.getBoundingClientRect();else{for(e=this.offset(),i=n.ownerDocument,t=n.offsetParent||i.documentElement;t&&(t===i.body||t===i.documentElement)&&"static"===D.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&((o=D(t).offset()).top+=D.css(t,"borderTopWidth",!0),o.left+=D.css(t,"borderLeftWidth",!0))}return{top:e.top-o.top-D.css(n,"marginTop",!0),left:e.left-o.left-D.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===D.css(t,"position");)t=t.offsetParent;return t||ot})}}),D.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,o){var r="pageYOffset"===o;D.fn[e]=function(t){return W(this,function(t,e,i){var n;if(_(t)?n=t:9===t.nodeType&&(n=t.defaultView),void 0===i)return n?n[o]:t[e];n?n.scrollTo(r?n.pageXOffset:i,r?i:n.pageYOffset):t[e]=i},e,t,arguments.length)}}),D.each(["top","left"],function(t,i){D.cssHooks[i]=Qt(v.pixelPosition,function(t,e){if(e)return e=Kt(t,i),qt.test(e)?D(t).position()[i]+"px":e})}),D.each({Height:"height",Width:"width"},function(s,a){D.each({padding:"inner"+s,content:a,"":"outer"+s},function(n,r){D.fn[r]=function(t,e){var i=arguments.length&&(n||"boolean"!=typeof t),o=n||(!0===t||!0===e?"margin":"border");
vendor: 10,905 bytes, line 1
1return W(this,function(t,e,i){var n;return _(t)?0===r.indexOf("outer")?t["inner"+s]:t.document.documentElement["client"+s]:9===t.nodeType?(n=t.documentElement,Math.max(t.body["scroll"+s],n["scroll"+s],t.body["offset"+s],n["offset"+s],n["client"+s])):void 0===i?D.css(t,e,o):D.style(t,e,i,o)},a,i?t:void 0,i)}})}),D.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,i){D.fn[i]=function(t,e){return 0<arguments.length?this.on(i,null,t,e):this.trigger(i)}}),D.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),D.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)}}),D.proxy=function(t,e){var i,n,o;if("string"==typeof e&&(i=t[e],e=t,t=i),y(t))return n=a.call(arguments,2),(o=function(){return t.apply(e||this,n.concat(a.call(arguments)))}).guid=t.guid=t.guid||D.guid++,o},D.holdReady=function(t){t?D.readyWait++:D.ready(!0)},D.isArray=Array.isArray,D.parseJSON=JSON.parse,D.nodeName=C,D.isFunction=y,D.isWindow=_,D.camelCase=q,D.type=w,D.now=Date.now,D.isNumeric=function(t){var e=D.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return D});var ri=k.jQuery,si=k.$;return D.noConflict=function(t){return k.$===D&&(k.$=si),t&&k.jQuery===D&&(k.jQuery=ri),D},t||(k.jQuery=k.$=D),D}),jQuery.event.special.touchstart={setup:function(t,e,i){this.addEventListener("touchstart",i,{passive:!0})}},function(t){"function"==typeof define&&define.amd?define(["jquery","./version"],t):t(jQuery)}(function(u){var o,i=0,a=Array.prototype.slice;return u.cleanData=(o=u.cleanData,function(t){var e,i,n;for(n=0;null!=(i=t[n]);n++)try{(e=u._data(i,"events"))&&e.remove&&u(i).triggerHandler("remove")}catch(t){}o(t)}),u.widget=function(t,i,e){var n,o,r,s={},a=t.split(".")[0],l=a+"-"+(t=t.split(".")[1]);return e||(e=i,i=u.Widget),u.isArray(e)&&(e=u.extend.apply(null,[{}].concat(e))),u.expr[":"][l.toLowerCase()]=function(t){return!!u.data(t,l)},u[a]=u[a]||{},n=u[a][t],o=u[a][t]=function(t,e){if(!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},u.extend(o,n,{version:e.version,_proto:u.extend({},e),_childConstructors:[]}),(r=new i).options=u.widget.extend({},r.options),u.each(e,function(e,n){function o(){return i.prototype[e].apply(this,arguments)}function r(t){return i.prototype[e].apply(this,t)}u.isFunction(n)?s[e]=function(){var t,e=this._super,i=this._superApply;return this._super=o,this._superApply=r,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}:s[e]=n}),o.prototype=u.widget.extend(r,{widgetEventPrefix:n&&r.widgetEventPrefix||t},s,{constructor:o,namespace:a,widgetName:t,widgetFullName:l}),n?(u.each(n._childConstructors,function(t,e){var i=e.prototype;u.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete n._childConstructors):i._childConstructors.push(o),u.widget.bridge(t,o),o},u.widget.extend=function(t){for(var e,i,n=a.call(arguments,1),o=0,r=n.length;o<r;o++)for(e in n[o])i=n[o][e],n[o].hasOwnProperty(e)&&void 0!==i&&(u.isPlainObject(i)?t[e]=u.isPlainObject(t[e])?u.widget.extend({},t[e],i):u.widget.extend({},i):t[e]=i);return t},u.widget.bridge=function(r,e){var s=e.prototype.widgetFullName||r;u.fn[r]=function(i){var t="string"==typeof i,n=a.call(arguments,1),o=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=u.data(this,s);return"instance"===i?(o=e,!1):e?u.isFunction(e[i])&&"_"!==i.charAt(0)?(t=e[i].apply(e,n))!==e&&void 0!==t?(o=t&&t.jquery?o.pushStack(t.get()):t,!1):void 0:u.error("no such method '"+i+"' for "+r+" widget instance"):u.error("cannot call methods on "+r+" prior to initialization; attempted to call method '"+i+"'")}):o=void 0:(n.length&&(i=u.widget.extend.apply(null,[i].concat(n))),this.each(function(){var t=u.data(this,s);t?(t.option(i||{}),t._init&&t._init()):u.data(this,s,new e(i,this))})),o}},u.Widget=function(){},u.Widget._childConstructors=[],u.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=u(e||this.defaultElement||this)[0],this.element=u(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=u(),this.hoverable=u(),this.focusable=u(),this.classesElementLookup={},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.options=u.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:u.noop,_create:u.noop,_init:u.noop,destroy:function(){var i=this;this._destroy(),u.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:u.noop,widget:function(){return this.element},option:function(t,e){var i,n,o,r=t;if(0===arguments.length)return u.widget.extend({},this.options);if("string"==typeof t)if(r={},t=(i=t.split(".")).shift(),i.length){for(n=r[t]=u.widget.extend({},this.options[t]),o=0;o<i.length-1;o++)n[i[o]]=n[i[o]]||{},n=n[i[o]];if(t=i.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];r[t]=e}return this._setOptions(r),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,n;for(e in t)n=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&n&&n.length&&(i=u(n.get()),this._removeClass(n,e),i.addClass(this._classes({element:i,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(o){var r=[],s=this;function t(t,e){var i,n;for(n=0;n<t.length;n++)i=s.classesElementLookup[t[n]]||u(),i=o.add?u(u.unique(i.get().concat(o.element.get()))):u(i.not(o.element).get()),s.classesElementLookup[t[n]]=i,r.push(t[n]),e&&o.classes[t[n]]&&r.push(o.classes[t[n]])}return o=u.extend({element:this.element,classes:this.options.classes||{}},o),this._on(o.element,{remove:"_untrackClassesElement"}),o.keys&&t(o.keys.match(/\S+/g)||[],!0),o.extra&&t(o.extra.match(/\S+/g)||[]),r.join(" ")},_untrackClassesElement:function(i){var n=this;u.each(n.classesElementLookup,function(t,e){-1!==u.inArray(i.target,e)&&(n.classesElementLookup[t]=u(e.not(i.target).get()))})},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,n){n="boolean"==typeof n?n:i;var o="string"==typeof t||null===t,r={extra:o?e:i,keys:o?t:e,element:o?this.element:t,add:n};return r.element.toggleClass(this._classes(r),n),this},_on:function(s,a,t){var l,h=this;"boolean"!=typeof s&&(t=a,a=s,s=!1),t?(a=l=u(a),this.bindings=this.bindings.add(a)):(t=a,a=this.element,l=this.widget()),u.each(t,function(t,e){function i(){if(s||!0!==h.options.disabled&&!u(this).hasClass("ui-state-disabled"))return("string"==typeof e?h[e]:e).apply(h,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||u.guid++);var n=t.match(/^([\w:-]*)\s*(.*)$/),o=n[1]+h.eventNamespace,r=n[2];r?l.on(o,r,i):a.on(o,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(e).off(e),this.bindings=u(this.bindings.not(t).get()),this.focusable=u(this.focusable.not(t).get()),this.hoverable=u(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(u(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(u(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(u(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(u(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,e,i){var n,o,r=this.options[t];if(i=i||{},(e=u.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],o=e.originalEvent)for(n in o)n in e||(e[n]=o[n]);return this.element.trigger(e,i),!(u.isFunction(r)&&!1===r.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},u.each({show:"fadeIn",hide:"fadeOut"},function(r,s){u.Widget.prototype["_"+r]=function(e,t,i){var n;"string"==typeof t&&(t={effect:t});var o=t?!0===t||"number"==typeof t?s:t.effect||s:r;"number"==typeof(t=t||{})&&(t={duration:t}),n=!u.isEmptyObject(t),t.complete=i,t.delay&&e.delay(t.delay),n&&u.effects&&u.effects.effect[o]?e[r](t):o!==r&&e[o]?e[o](t.duration,t.easing,i):e.queue(function(t){u(this)[r](),i&&i.call(e[0]),t()})}}),u.widget}),function(t){"function"==typeof define&&define.amd?define(["jquery","../version","../keycode"],t):t(jQuery)}(function(k){var r;function t(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},k.extend(this._defaults,this.regional[""]),this.regional.en=k.extend(!0,{},this.regional[""]),this.regional["en-US"]=k.extend(!0,{},this.regional.en),this.dpDiv=i(k("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function i(t){var e="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return t.on("mouseout",e,function(){k(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&k(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&k(this).removeClass("ui-datepicker-next-hover")}).on("mouseover",e,s)}function s(){k.datepicker._isDisabledDatepicker(r.inline?r.dpDiv.parent()[0]:r.input[0])||(k(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),k(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&k(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&k(this).addClass("ui-datepicker-next-hover"))}function c(t,e){for(var i in k.extend(t,e),e)null==e[i]&&(t[i]=e[i]);return t}return k.extend(k.ui,{datepicker:{version:"1.12.1"}}),k.extend(t.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return c(this._defaults,t||{}),this},_attachDatepicker:function(t,e){var i,n,o;n="div"===(i=t.nodeName.toLowerCase())||"span"===i,t.id||(this.uuid+=1,t.id="dp"+this.uuid),(o=this._newInst(k(t),n)).settings=k.extend({},e||{}),"input"===i?this._connectDatepicker(t,o):n&&this._inlineDatepicker(t,o)},_newInst:function(t,e){return{id:t[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:e,dpDiv:e?i(k("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(t,e){var i=k(t);e.append=k([]),e.trigger=k([]),i.hasClass(this.markerClassName)||(this._attachments(i,e),i.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(e),k.data(t,"datepicker",e),e.settings.disabled&&this._disableDatepicker(t))},_attachments:function(t,e){var i,n,o,r=this._get(e,"appendText"),s=this._get(e,"isRTL");e.append&&e.append.remove(),r&&(e.append=k("<span class='"+this._appendClass+"'>"+r+"</span>"),t[s?"before":"after"](e.append)),t.off("focus",this._showDatepicker),e.trigger&&e.trigger.remove(),"focus"!==(i=this._get(e,"showOn"))&&"both"!==i||t.on("focus",this._showDatepicker),"button"!==i&&"both"!==i||(n=this._get(e,"buttonText"),o=this._get(e,"buttonImage"),e.trigger=k(this._get(e,"buttonImageOnly")?k("<img/>").addClass(this._triggerClass).attr({src:o,alt:n,title:n}):k("<button type='button'></button>").addClass(this._triggerClass).html(o?k("<img/>").attr({src:o,alt:n,title:n}):n)),t[s?"before":"after"](e.trigger),e.trigger.on("click",function(){return k.datepicker._datepickerShowing&&k.datepicker._lastInput===t[0]?k.datepicker._hideDatepicker():(k.datepicker._datepickerShowing&&k.datepicker._lastInput!==t[0]&&k.datepicker._hideDatepicker(),k.datepicker._showDatepicker(t[0])),!1}))},_autoSize:function(t){if(this._get(t,"autoSize")&&!t.inline){var e,i,n,o,r=new Date(2009,11,20),s=this._get(t,"dateFormat");s.match(/[DM]/)&&(e=function(t){for(o=n=i=0;o<t.length;o++)t[o].length>i&&(i=t[o].length,n=o);return n},r.setMonth(e(this._get(t,s.match(/MM/)?"monthNames":"monthNamesShort"))),r.setDate(e(this._get(t,s.match(/DD/)?"dayNames":"dayNamesShort"))+20-r.getDay())),t.input.attr("size",this._formatDate(t,r).length)}},_inlineDatepicker:function(t,e){var i=k(t);i.hasClass(this.markerClassName)||(i.addClass(this.markerClassName).append(e.dpDiv),k.data(t,"datepicker",e),this._setDate(e,this._getDefaultDate(e),!0),this._updateDatepicker(e),this._updateAlternate(e),e.settings.disabled&&this._disableDatepicker(t),e.dpDiv.css("display","block"))}
vendor: 9,171 bytes, line 1
1,_dialogDatepicker:function(t,e,i,n,o){var r,s,a,l,h,u=this._dialogInst;return u||(this.uuid+=1,r="dp"+this.uuid,this._dialogInput=k("<input type='text' id='"+r+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.on("keydown",this._doKeyDown),k("body").append(this._dialogInput),(u=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},k.data(this._dialogInput[0],"datepicker",u)),c(u.settings,n||{}),e=e&&e.constructor===Date?this._formatDate(u,e):e,this._dialogInput.val(e),this._pos=o?o.length?o:[o.pageX,o.pageY]:null,this._pos||(s=document.documentElement.clientWidth,a=document.documentElement.clientHeight,l=document.documentElement.scrollLeft||document.body.scrollLeft,h=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[s/2-100+l,a/2-150+h]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),u.settings.onSelect=i,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),k.blockUI&&k.blockUI(this.dpDiv),k.data(this._dialogInput[0],"datepicker",u),this},_destroyDatepicker:function(t){var e,i=k(t),n=k.data(t,"datepicker");i.hasClass(this.markerClassName)&&(e=t.nodeName.toLowerCase(),k.removeData(t,"datepicker"),"input"===e?(n.append.remove(),n.trigger.remove(),i.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==e&&"span"!==e||i.removeClass(this.markerClassName).empty(),r===n&&(r=null))},_enableDatepicker:function(e){var t,i,n=k(e),o=k.data(e,"datepicker");n.hasClass(this.markerClassName)&&("input"===(t=e.nodeName.toLowerCase())?(e.disabled=!1,o.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==t&&"span"!==t||((i=n.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=k.map(this._disabledInputs,function(t){return t===e?null:t}))},_disableDatepicker:function(e){var t,i,n=k(e),o=k.data(e,"datepicker");n.hasClass(this.markerClassName)&&("input"===(t=e.nodeName.toLowerCase())?(e.disabled=!0,o.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==t&&"span"!==t||((i=n.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=k.map(this._disabledInputs,function(t){return t===e?null:t}),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(t){if(!t)return!1;for(var e=0;e<this._disabledInputs.length;e++)if(this._disabledInputs[e]===t)return!0;return!1},_getInst:function(t){try{return k.data(t,"datepicker")}catch(t){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(t,e,i){var n,o,r,s,a=this._getInst(t);if(2===arguments.length&&"string"==typeof e)return"defaults"===e?k.extend({},k.datepicker._defaults):a?"all"===e?k.extend({},a.settings):this._get(a,e):null;n=e||{},"string"==typeof e&&((n={})[e]=i),a&&(this._curInst===a&&this._hideDatepicker(),o=this._getDateDatepicker(t,!0),r=this._getMinMaxDate(a,"min"),s=this._getMinMaxDate(a,"max"),c(a.settings,n),null!==r&&void 0!==n.dateFormat&&void 0===n.minDate&&(a.settings.minDate=this._formatDate(a,r)),null!==s&&void 0!==n.dateFormat&&void 0===n.maxDate&&(a.settings.maxDate=this._formatDate(a,s)),"disabled"in n&&(n.disabled?this._disableDatepicker(t):this._enableDatepicker(t)),this._attachments(k(t),a),this._autoSize(a),this._setDate(a,o),this._updateAlternate(a),this._updateDatepicker(a))},_changeDatepicker:function(t,e,i){this._optionDatepicker(t,e,i)},_refreshDatepicker:function(t){var e=this._getInst(t);e&&this._updateDatepicker(e)},_setDateDatepicker:function(t,e){var i=this._getInst(t);i&&(this._setDate(i,e),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(t,e){var i=this._getInst(t);return i&&!i.inline&&this._setDateFromField(i,e),i?this._getDate(i):null},_doKeyDown:function(t){var e,i,n,o=k.datepicker._getInst(t.target),r=!0,s=o.dpDiv.is(".ui-datepicker-rtl");if(o._keyEvent=!0,k.datepicker._datepickerShowing)switch(t.keyCode){case 9:k.datepicker._hideDatepicker(),r=!1;break;case 13:return(n=k("td."+k.datepicker._dayOverClass+":not(."+k.datepicker._currentClass+")",o.dpDiv))[0]&&k.datepicker._selectDay(t.target,o.selectedMonth,o.selectedYear,n[0]),(e=k.datepicker._get(o,"onSelect"))?(i=k.datepicker._formatDate(o),e.apply(o.input?o.input[0]:null,[i,o])):k.datepicker._hideDatepicker(),!1;case 27:k.datepicker._hideDatepicker();break;case 33:k.datepicker._adjustDate(t.target,t.ctrlKey?-k.datepicker._get(o,"stepBigMonths"):-k.datepicker._get(o,"stepMonths"),"M");break;case 34:k.datepicker._adjustDate(t.target,t.ctrlKey?+k.datepicker._get(o,"stepBigMonths"):+k.datepicker._get(o,"stepMonths"),"M");break;case 35:(t.ctrlKey||t.metaKey)&&k.datepicker._clearDate(t.target),r=t.ctrlKey||t.metaKey;break;case 36:(t.ctrlKey||t.metaKey)&&k.datepicker._gotoToday(t.target),r=t.ctrlKey||t.metaKey;break;case 37:(t.ctrlKey||t.metaKey)&&k.datepicker._adjustDate(t.target,s?1:-1,"D"),r=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&k.datepicker._adjustDate(t.target,t.ctrlKey?-k.datepicker._get(o,"stepBigMonths"):-k.datepicker._get(o,"stepMonths"),"M");break;case 38:(t.ctrlKey||t.metaKey)&&k.datepicker._adjustDate(t.target,-7,"D"),r=t.ctrlKey||t.metaKey;break;case 39:(t.ctrlKey||t.metaKey)&&k.datepicker._adjustDate(t.target,s?-1:1,"D"),r=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&k.datepicker._adjustDate(t.target,t.ctrlKey?+k.datepicker._get(o,"stepBigMonths"):+k.datepicker._get(o,"stepMonths"),"M");break;case 40:(t.ctrlKey||t.metaKey)&&k.datepicker._adjustDate(t.target,7,"D"),r=t.ctrlKey||t.metaKey;break;default:r=!1}else 36===t.keyCode&&t.ctrlKey?k.datepicker._showDatepicker(this):r=!1;r&&(t.preventDefault(),t.stopPropagation())},_doKeyPress:function(t){var e,i,n=k.datepicker._getInst(t.target);if(k.datepicker._get(n,"constrainInput"))return e=k.datepicker._possibleChars(k.datepicker._get(n,"dateFormat")),i=String.fromCharCode(null==t.charCode?t.keyCode:t.charCode),t.ctrlKey||t.metaKey||i<" "||!e||-1<e.indexOf(i)},_doKeyUp:function(t){var e=k.datepicker._getInst(t.target);if(e.input.val()!==e.lastVal)try{k.datepicker.parseDate(k.datepicker._get(e,"dateFormat"),e.input?e.input.val():null,k.datepicker._getFormatConfig(e))&&(k.datepicker._setDateFromField(e),k.datepicker._updateAlternate(e),k.datepicker._updateDatepicker(e))}catch(t){}return!0},_showDatepicker:function(t){var e,i,n,o,r,s,a;"input"!==(t=t.target||t).nodeName.toLowerCase()&&(t=k("input",t.parentNode)[0]),k.datepicker._isDisabledDatepicker(t)||k.datepicker._lastInput===t||(e=k.datepicker._getInst(t),k.datepicker._curInst&&k.datepicker._curInst!==e&&(k.datepicker._curInst.dpDiv.stop(!0,!0),e&&k.datepicker._datepickerShowing&&k.datepicker._hideDatepicker(k.datepicker._curInst.input[0])),!1!==(n=(i=k.datepicker._get(e,"beforeShow"))?i.apply(t,[t,e]):{})&&(c(e.settings,n),e.lastVal=null,k.datepicker._lastInput=t,k.datepicker._setDateFromField(e),k.datepicker._inDialog&&(t.value=""),k.datepicker._pos||(k.datepicker._pos=k.datepicker._findPos(t),k.datepicker._pos[1]+=t.offsetHeight),o=!1,k(t).parents().each(function(){return!(o|="fixed"===k(this).css("position"))}),r={left:k.datepicker._pos[0],top:k.datepicker._pos[1]},k.datepicker._pos=null,e.dpDiv.empty(),e.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),k.datepicker._updateDatepicker(e),r=k.datepicker._checkOffset(e,r,o),e.dpDiv.css({position:k.datepicker._inDialog&&k.blockUI?"static":o?"fixed":"absolute",display:"none",left:r.left+"px",top:r.top+"px"}),e.inline||(s=k.datepicker._get(e,"showAnim"),a=k.datepicker._get(e,"duration"),e.dpDiv.css("z-index",function(t){for(var e,i;t.length&&t[0]!==document;){if(("absolute"===(e=t.css("position"))||"relative"===e||"fixed"===e)&&(i=parseInt(t.css("zIndex"),10),!isNaN(i)&&0!==i))return i;t=t.parent()}return 0}(k(t))+1),k.datepicker._datepickerShowing=!0,k.effects&&k.effects.effect[s]?e.dpDiv.show(s,k.datepicker._get(e,"showOptions"),a):e.dpDiv[s||"show"](s?a:null),k.datepicker._shouldFocusInput(e)&&e.input.trigger("focus"),k.datepicker._curInst=e)))},_updateDatepicker:function(t){this.maxRows=4,(r=t).dpDiv.empty().append(this._generateHTML(t)),this._attachHandlers(t);var e,i=this._getNumberOfMonths(t),n=i[1],o=t.dpDiv.find("."+this._dayOverClass+" a");0<o.length&&s.apply(o.get(0)),t.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),1<n&&t.dpDiv.addClass("ui-datepicker-multi-"+n).css("width",17*n+"em"),t.dpDiv[(1!==i[0]||1!==i[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),t.dpDiv[(this._get(t,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),t===k.datepicker._curInst&&k.datepicker._datepickerShowing&&k.datepicker._shouldFocusInput(t)&&t.input.trigger("focus"),t.yearshtml&&(e=t.yearshtml,setTimeout(function(){e===t.yearshtml&&t.yearshtml&&t.dpDiv.f
vendor: 7,737 bytes, line 1
1ind("select.ui-datepicker-year:first").replaceWith(t.yearshtml),e=t.yearshtml=null},0))},_shouldFocusInput:function(t){return t.input&&t.input.is(":visible")&&!t.input.is(":disabled")&&!t.input.is(":focus")},_checkOffset:function(t,e,i){var n=t.dpDiv.outerWidth(),o=t.dpDiv.outerHeight(),r=t.input?t.input.outerWidth():0,s=t.input?t.input.outerHeight():0,a=document.documentElement.clientWidth+(i?0:k(document).scrollLeft()),l=document.documentElement.clientHeight+(i?0:k(document).scrollTop());return e.left-=this._get(t,"isRTL")?n-r:0,e.left-=i&&e.left===t.input.offset().left?k(document).scrollLeft():0,e.top-=i&&e.top===t.input.offset().top+s?k(document).scrollTop():0,e.left-=Math.min(e.left,e.left+n>a&&n<a?Math.abs(e.left+n-a):0),e.top-=Math.min(e.top,e.top+o>l&&o<l?Math.abs(o+s):0),e},_findPos:function(t){for(var e,i=this._getInst(t),n=this._get(i,"isRTL");t&&("hidden"===t.type||1!==t.nodeType||k.expr.filters.hidden(t));)t=t[n?"previousSibling":"nextSibling"];return[(e=k(t).offset()).left,e.top]},_hideDatepicker:function(t){var e,i,n,o,r=this._curInst;!r||t&&r!==k.data(t,"datepicker")||this._datepickerShowing&&(e=this._get(r,"showAnim"),i=this._get(r,"duration"),n=function(){k.datepicker._tidyDialog(r)},k.effects&&(k.effects.effect[e]||k.effects[e])?r.dpDiv.hide(e,k.datepicker._get(r,"showOptions"),i,n):r.dpDiv["slideDown"===e?"slideUp":"fadeIn"===e?"fadeOut":"hide"](e?i:null,n),e||n(),this._datepickerShowing=!1,(o=this._get(r,"onClose"))&&o.apply(r.input?r.input[0]:null,[r.input?r.input.val():"",r]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),k.blockUI&&(k.unblockUI(),k("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(t){t.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(t){if(k.datepicker._curInst){var e=k(t.target),i=k.datepicker._getInst(e[0]);(e[0].id===k.datepicker._mainDivId||0!==e.parents("#"+k.datepicker._mainDivId).length||e.hasClass(k.datepicker.markerClassName)||e.closest("."+k.datepicker._triggerClass).length||!k.datepicker._datepickerShowing||k.datepicker._inDialog&&k.blockUI)&&(!e.hasClass(k.datepicker.markerClassName)||k.datepicker._curInst===i)||k.datepicker._hideDatepicker()}},_adjustDate:function(t,e,i){var n=k(t),o=this._getInst(n[0]);this._isDisabledDatepicker(n[0])||(this._adjustInstDate(o,e+("M"===i?this._get(o,"showCurrentAtPos"):0),i),this._updateDatepicker(o))},_gotoToday:function(t){var e,i=k(t),n=this._getInst(i[0]);this._get(n,"gotoCurrent")&&n.currentDay?(n.selectedDay=n.currentDay,n.drawMonth=n.selectedMonth=n.currentMonth,n.drawYear=n.selectedYear=n.currentYear):(e=new Date,n.selectedDay=e.getDate(),n.drawMonth=n.selectedMonth=e.getMonth(),n.drawYear=n.selectedYear=e.getFullYear()),this._notifyChange(n),this._adjustDate(i)},_selectMonthYear:function(t,e,i){var n=k(t),o=this._getInst(n[0]);o["selected"+("M"===i?"Month":"Year")]=o["draw"+("M"===i?"Month":"Year")]=parseInt(e.options[e.selectedIndex].value,10),this._notifyChange(o),this._adjustDate(n)},_selectDay:function(t,e,i,n){var o,r=k(t);k(n).hasClass(this._unselectableClass)||this._isDisabledDatepicker(r[0])||((o=this._getInst(r[0])).selectedDay=o.currentDay=k("a",n).html(),o.selectedMonth=o.currentMonth=e,o.selectedYear=o.currentYear=i,this._selectDate(t,this._formatDate(o,o.currentDay,o.currentMonth,o.currentYear)))},_clearDate:function(t){var e=k(t);this._selectDate(e,"")},_selectDate:function(t,e){var i,n=k(t),o=this._getInst(n[0]);e=null!=e?e:this._formatDate(o),o.input&&o.input.val(e),this._updateAlternate(o),(i=this._get(o,"onSelect"))?i.apply(o.input?o.input[0]:null,[e,o]):o.input&&o.input.trigger("change"),o.inline?this._updateDatepicker(o):(this._hideDatepicker(),this._lastInput=o.input[0],"object"!=typeof o.input[0]&&o.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(t){var e,i,n,o=this._get(t,"altField");o&&(e=this._get(t,"altFormat")||this._get(t,"dateFormat"),i=this._getDate(t),n=this.formatDate(e,i,this._getFormatConfig(t)),k(o).val(n))},noWeekends:function(t){var e=t.getDay();return[0<e&&e<6,""]},iso8601Week:function(t){var e,i=new Date(t.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),e=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((e-i)/864e5)/7)+1},parseDate:function(i,r,t){if(null==i||null==r)throw"Invalid arguments";if(""===(r="object"==typeof r?r.toString():r+""))return null;function s(t){var e=a+1<i.length&&i.charAt(a+1)===t;return e&&a++,e}function e(t){var e=s(t),i="@"===t?14:"!"===t?20:"y"===t&&e?4:"o"===t?3:2,n=new RegExp("^\\d{"+("y"===t?i:1)+","+i+"}"),o=r.substring(c).match(n);if(!o)throw"Missing number at position "+c;return c+=o[0].length,parseInt(o[0],10)}function n(t,e,i){var n=-1,o=k.map(s(t)?i:e,function(t,e){return[[e,t]]}).sort(function(t,e){return-(t[1].length-e[1].length)});if(k.each(o,function(t,e){var i=e[1];if(r.substr(c,i.length).toLowerCase()===i.toLowerCase())return n=e[0],c+=i.length,!1}),-1!==n)return n+1;throw"Unknown name at position "+c}function o(){if(r.charAt(c)!==i.charAt(a))throw"Unexpected literal at position "+c;c++}var a,l,h,u,c=0,d=(t?t.shortYearCutoff:null)||this._defaults.shortYearCutoff,f="string"!=typeof d?d:(new Date).getFullYear()%100+parseInt(d,10),p=(t?t.dayNamesShort:null)||this._defaults.dayNamesShort,_=(t?t.dayNames:null)||this._defaults.dayNames,m=(t?t.monthNamesShort:null)||this._defaults.monthNamesShort,g=(t?t.monthNames:null)||this._defaults.monthNames,v=-1,y=-1,b=-1,w=-1,x=!1;for(a=0;a<i.length;a++)if(x)"'"!==i.charAt(a)||s("'")?o():x=!1;else switch(i.charAt(a)){case"d":b=e("d");break;case"D":n("D",p,_);break;case"o":w=e("o");break;case"m":y=e("m");break;case"M":y=n("M",m,g);break;case"y":v=e("y");break;case"@":v=(u=new Date(e("@"))).getFullYear(),y=u.getMonth()+1,b=u.getDate();break;case"!":v=(u=new Date((e("!")-this._ticksTo1970)/1e4)).getFullYear(),y=u.getMonth()+1,b=u.getDate();break;case"'":s("'")?o():x=!0;break;default:o()}if(c<r.length&&(h=r.substr(c),!/^\s+/.test(h)))throw"Extra/unparsed characters found in date: "+h;if(-1===v?v=(new Date).getFullYear():v<100&&(v+=(new Date).getFullYear()-(new Date).getFullYear()%100+(v<=f?0:-100)),-1<w)for(y=1,b=w;;){if(b<=(l=this._getDaysInMonth(v,y-1)))break;y++,b-=l}if((u=this._daylightSavingAdjust(new Date(v,y-1,b))).getFullYear()!==v||u.getMonth()+1!==y||u.getDate()!==b)throw"Invalid date";return u},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(i,t,e){if(!t)return"";function o(t){var e=s+1<i.length&&i.charAt(s+1)===t;return e&&s++,e}function n(t,e,i){var n=""+e;if(o(t))for(;n.length<i;)n="0"+n;return n}function r(t,e,i,n){return o(t)?n[e]:i[e]}var s,a=(e?e.dayNamesShort:null)||this._defaults.dayNamesShort,l=(e?e.dayNames:null)||this._defaults.dayNames,h=(e?e.monthNamesShort:null)||this._defaults.monthNamesShort,u=(e?e.monthNames:null)||this._defaults.monthNames,c="",d=!1;if(t)for(s=0;s<i.length;s++)if(d)"'"!==i.charAt(s)||o("'")?c+=i.charAt(s):d=!1;else switch(i.charAt(s)){case"d":c+=n("d",t.getDate(),2);break;case"D":c+=r("D",t.getDay(),a,l);break;case"o":c+=n("o",Math.round((new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()-new Date(t.getFullYear(),0,0).getTime())/864e5),3);break;case"m":c+=n("m",t.getMonth()+1,2);break;case"M":c+=r("M",t.getMonth(),h,u);break;case"y":c+=o("y")?t.getFullYear():(t.getFullYear()%100<10?"0":"")+t.getFullYear()%100;break;case"@":c+=t.getTime();break;case"!":c+=1e4*t.getTime()+this._ticksTo1970;break;
vendor: 8,792 bytes, line 1
1case"'":o("'")?c+="'":d=!0;break;default:c+=i.charAt(s)}return c},_possibleChars:function(i){function t(t){var e=n+1<i.length&&i.charAt(n+1)===t;return e&&n++,e}var n,e="",o=!1;for(n=0;n<i.length;n++)if(o)"'"!==i.charAt(n)||t("'")?e+=i.charAt(n):o=!1;else switch(i.charAt(n)){case"d":case"m":case"y":case"@":e+="0123456789";break;case"D":case"M":return null;case"'":t("'")?e+="'":o=!0;break;default:e+=i.charAt(n)}return e},_get:function(t,e){return void 0!==t.settings[e]?t.settings[e]:this._defaults[e]},_setDateFromField:function(t,e){if(t.input.val()!==t.lastVal){var i=this._get(t,"dateFormat"),n=t.lastVal=t.input?t.input.val():null,o=this._getDefaultDate(t),r=o,s=this._getFormatConfig(t);try{r=this.parseDate(i,n,s)||o}catch(t){n=e?"":n}t.selectedDay=r.getDate(),t.drawMonth=t.selectedMonth=r.getMonth(),t.drawYear=t.selectedYear=r.getFullYear(),t.currentDay=n?r.getDate():0,t.currentMonth=n?r.getMonth():0,t.currentYear=n?r.getFullYear():0,this._adjustInstDate(t)}},_getDefaultDate:function(t){return this._restrictMinMax(t,this._determineDate(t,this._get(t,"defaultDate"),new Date))},_determineDate:function(a,t,e){var i,n,o=null==t||""===t?e:"string"==typeof t?function(t){try{return k.datepicker.parseDate(k.datepicker._get(a,"dateFormat"),t,k.datepicker._getFormatConfig(a))}catch(t){}for(var e=(t.toLowerCase().match(/^c/)?k.datepicker._getDate(a):null)||new Date,i=e.getFullYear(),n=e.getMonth(),o=e.getDate(),r=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,s=r.exec(t);s;){switch(s[2]||"d"){case"d":case"D":o+=parseInt(s[1],10);break;case"w":case"W":o+=7*parseInt(s[1],10);break;case"m":case"M":n+=parseInt(s[1],10),o=Math.min(o,k.datepicker._getDaysInMonth(i,n));break;case"y":case"Y":i+=parseInt(s[1],10),o=Math.min(o,k.datepicker._getDaysInMonth(i,n))}s=r.exec(t)}return new Date(i,n,o)}(t):"number"==typeof t?isNaN(t)?e:(i=t,(n=new Date).setDate(n.getDate()+i),n):new Date(t.getTime());return(o=o&&"Invalid Date"===o.toString()?e:o)&&(o.setHours(0),o.setMinutes(0),o.setSeconds(0),o.setMilliseconds(0)),this._daylightSavingAdjust(o)},_daylightSavingAdjust:function(t){return t?(t.setHours(12<t.getHours()?t.getHours()+2:0),t):null},_setDate:function(t,e,i){var n=!e,o=t.selectedMonth,r=t.selectedYear,s=this._restrictMinMax(t,this._determineDate(t,e,new Date));t.selectedDay=t.currentDay=s.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=s.getMonth(),t.drawYear=t.selectedYear=t.currentYear=s.getFullYear(),o===t.selectedMonth&&r===t.selectedYear||i||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(n?"":this._formatDate(t))},_getDate:function(t){return!t.currentYear||t.input&&""===t.input.val()?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay))},_attachHandlers:function(t){var e=this._get(t,"stepMonths"),i="#"+t.id.replace(/\\\\/g,"\\");t.dpDiv.find("[data-handler]").map(function(){var t={prev:function(){k.datepicker._adjustDate(i,-e,"M")},next:function(){k.datepicker._adjustDate(i,+e,"M")},hide:function(){k.datepicker._hideDatepicker()},today:function(){k.datepicker._gotoToday(i)},selectDay:function(){return k.datepicker._selectDay(i,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return k.datepicker._selectMonthYear(i,this,"M"),!1},selectYear:function(){return k.datepicker._selectMonthYear(i,this,"Y"),!1}};k(this).on(this.getAttribute("data-event"),t[this.getAttribute("data-handler")])})},_generateHTML:function(t){var e,i,n,o,r,s,a,l,h,u,c,d,f,p,_,m,g,v,y,b,w,x,k,L,D,T,E,C,S,M,P,I,O,A,N,F,z,j,R,H=new Date,B=this._daylightSavingAdjust(new Date(H.getFullYear(),H.getMonth(),H.getDate())),Y=this._get(t,"isRTL"),W=this._get(t,"showButtonPanel"),U=this._get(t,"hideIfNoPrevNext"),V=this._get(t,"navigationAsDateFormat"),Z=this._getNumberOfMonths(t),q=this._get(t,"showCurrentAtPos"),$=this._get(t,"stepMonths"),G=1!==Z[0]||1!==Z[1],K=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),Q=this._getMinMaxDate(t,"min"),X=this._getMinMaxDate(t,"max"),J=t.drawMonth-q,tt=t.drawYear;if(J<0&&(J+=12,tt--),X)for(e=this._daylightSavingAdjust(new Date(X.getFullYear(),X.getMonth()-Z[0]*Z[1]+1,X.getDate())),e=Q&&e<Q?Q:e;this._daylightSavingAdjust(new Date(tt,J,1))>e;)--J<0&&(J=11,tt--);for(t.drawMonth=J,t.drawYear=tt,i=this._get(t,"prevText"),i=V?this.formatDate(i,this._daylightSavingAdjust(new Date(tt,J-$,1)),this._getFormatConfig(t)):i,n=this._canAdjustMonth(t,-1,tt,J)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"e":"w")+"'>"+i+"</span></a>":U?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"e":"w")+"'>"+i+"</span></a>",o=this._get(t,"nextText"),o=V?this.formatDate(o,this._daylightSavingAdjust(new Date(tt,J+$,1)),this._getFormatConfig(t)):o,r=this._canAdjustMonth(t,1,tt,J)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+o+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"w":"e")+"'>"+o+"</span></a>":U?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+o+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"w":"e")+"'>"+o+"</span></a>",s=this._get(t,"currentText"),a=this._get(t,"gotoCurrent")&&t.currentDay?K:B,s=V?this.formatDate(s,a,this._getFormatConfig(t)):s,l=t.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(t,"closeText")+"</button>",h=W?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(Y?l:"")+(this._isInRange(t,a)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+s+"</button>":"")+(Y?"":l)+"</div>":"",u=parseInt(this._get(t,"firstDay"),10),u=isNaN(u)?0:u,c=this._get(t,"showWeek"),d=this._get(t,"dayNames"),f=this._get(t,"dayNamesMin"),p=this._get(t,"monthNames"),_=this._get(t,"monthNamesShort"),m=this._get(t,"beforeShowDay"),g=this._get(t,"showOtherMonths"),v=this._get(t,"selectOtherMonths"),y=this._getDefaultDate(t),b="",x=0;x<Z[0];x++){for(k="",this.maxRows=4,L=0;L<Z[1];L++){if(D=this._daylightSavingAdjust(new Date(tt,J,t.selectedDay)),T=" ui-corner-all",E="",G){if(E+="<div class='ui-datepicker-group",1<Z[1])switch(L){case 0:E+=" ui-datepicker-group-first",T=" ui-corner-"+(Y?"right":"left");break;case Z[1]-1:E+=" ui-datepicker-group-last",T=" ui-corner-"+(Y?"left":"right");break;default:E+=" ui-datepicker-group-middle",T=""}E+="'>"}for(E+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+T+"'>"+(/all|left/.test(T)&&0===x?Y?r:n:"")+(/all|right/.test(T)&&0===x?Y?n:r:"")+this._generateMonthYearHeader(t,J,tt,Q,X,0<x||0<L,p,_)+"</div><table class='ui-datepicker-calendar'><thead><tr>",C=c?"<th class='ui-datepicker-week-col'>"+this._get(t,"weekHeader")+"</th>":"",w=0;w<7;w++)C+="<th scope='col'"+(5<=(w+u+6)%7?" class='ui-datepicker-week-end'":"")+"><span title='"+d[S=(w+u)%7]+"'>"+f[S]+"</span></th>";for(E+=C+"</tr></thead><tbody>",M=this._getDaysInMonth(tt,J),tt===t.selectedYear&&J===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,M)),P=(this._getFirstDayOfMonth(tt,J)-u+7)%7,I=Math.ceil((P+M)/7),O=G&&this.maxRows>I?this.maxRows:I,this.maxRows=O,A=this._daylightSavingAdjust(new Date(tt,J,1-P)),N=0;N<O;N++){for(E+="<tr>",F=c?"<td class='ui-datepicker-week-col'>"+this._get(t,"calculateWeek")(A)+"</td>":"",w=0;w<7;w++)z=m?m.apply(t.input?t.input[0]:null,[A]):[!0,""],R=(j=A.getMonth()!==J)&&!v||!z[0]||Q&&A<Q||X&&X<A,F+="<td class='"+(5<=(w+u+6)%7?" ui-datepicker-week-end":"")+(j?" ui-datepicker-other-month":"")+(A.getTime()===D.getTime()&&J===t.selectedMonth&&t._keyEvent||y.getTime()===A.getTime()&&y.getTime()===D.getTime()?" "+this._dayOverClass:"")+(R?" "+this._unselectableClass+" ui-state-disabled":"")+(j&&!g?"":" "+z[1]+(A.getTime()===K.getTime()?" "+this._currentClass:"")+(A.getTime()===B.getTime()?" ui-datepicker-today":""))+"'"+(j&&!g||!z[2]?"":" title='"+z[2].replace(/'/g,"&#39;")+"'")+(R?"":" data-handler='selectDay' data-event='click' data-month='"+A.getMonth()+"' data-year='"+A.getFullYear()+"'")+">"+(j&&!g?"&#xa0;":R?"<span class='ui-state-default'>"+A.getDate()+"</span>":"<a class='ui-state-default"+(A.getTime()===B.getTime()?" ui-state-highlight":"")+(A.getTime()===K.getTime()?" ui-state-active":"")+(j?" ui-priority-secondary":"")+"' href='#'>"+A.getDate()+"</a>")+"</td>",A.setDate(A.getDate()+1),A=this._daylightSavingAdjust(A);E+=F+"</tr>"}11<++J&&(J=0,tt++),k+=E+="</tbody></table>"+(G?"</div>"+(0<Z[0]&&L===Z[1]-1?"<div class='ui-datepicker-row-break'></div>":""):"")}b+=k}return b+=h,t._keyEvent=!1,b}
1,_generateMonthYearHeader:function(t,e,i,n,o,r,s,a){var l,h,u,c,d,f,p,_,m=this._get(t,"changeMonth"),g=this._get(t,"changeYear"),v=this._get(t,"showMonthAfterYear"),y="<div class='ui-datepicker-title'>",b="";if(r||!m)b+="<span class='ui-datepicker-month'>"+s[e]+"</span>";else{for(l=n&&n.getFullYear()===i,h=o&&o.getFullYear()===i,b+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",u=0;u<12;u++)(!l||u>=n.getMonth())&&(!h||u<=o.getMonth())&&(b+="<option value='"+u+"'"+(u===e?" selected='selected'":"")+">"+a[u]+"</option>");b+="</select>"}if(v||(y+=b+(!r&&m&&g?"":"&#xa0;")),!t.yearshtml)if(t.yearshtml="",r||!g)y+="<span class='ui-datepicker-year'>"+i+"</span>";else{for(c=this._get(t,"yearRange").split(":"),d=(new Date).getFullYear(),p=(f=function(t){var e=t.match(/c[+\-].*/)?i+parseInt(t.substring(1),10):t.match(/[+\-].*/)?d+parseInt(t,10):parseInt(t,10);return isNaN(e)?d:e})(c[0]),_=Math.max(p,f(c[1]||"")),p=n?Math.max(p,n.getFullYear()):p,_=o?Math.min(_,o.getFullYear()):_,t.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";p<=_;p++)t.yearshtml+="<option value='"+p+"'"+(p===i?" selected='selected'":"")+">"+p+"</option>";t.yearshtml+="</select>",y+=t.yearshtml,t.yearshtml=null}return y+=this._get(t,"yearSuffix"),v&&(y+=(!r&&m&&g?"":"&#xa0;")+b),y+="</div>"},_adjustInstDate:function(t,e,i){var n=t.selectedYear+("Y"===i?e:0),o=t.selectedMonth+("M"===i?e:0),r=Math.min(t.selectedDay,this._getDaysInMonth(n,o))+("D"===i?e:0),s=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(n,o,r)));t.selectedDay=s.getDate(),t.drawMonth=t.selectedMonth=s.getMonth(),t.drawYear=t.selectedYear=s.getFullYear(),"M"!==i&&"Y"!==i||this._notifyChange(t)},_restrictMinMax:function(t,e){var i=this._getMinMaxDate(t,"min"),n=this._getMinMaxDate(t,"max"),o=i&&e<i?i:e;return n&&n<o?n:o},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){var e=this._get(t,"numberOfMonths");return null==e?[1,1]:"number"==typeof e?[1,e]:e},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,i,n){var o=this._getNumberOfMonths(t),r=this._daylightSavingAdjust(new Date(i,n+(e<0?e:o[0]*o[1]),1));return e<0&&r.setDate(this._getDaysInMonth(r.getFullYear(),r.getMonth())),this._isInRange(t,r)},_isInRange:function(t,e){var i,n,o=this._getMinMaxDate(t,"min"),r=this._getMinMaxDate(t,"max"),s=null,a=null,l=this._get(t,"yearRange");return l&&(i=l.split(":"),n=(new Date).getFullYear(),s=parseInt(i[0],10),a=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(s+=n),i[1].match(/[+\-].*/)&&(a+=n)),(!o||e.getTime()>=o.getTime())&&(!r||e.getTime()<=r.getTime())&&(!s||e.getFullYear()>=s)&&(!a||e.getFullYear()<=a)},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return{shortYearCutoff:e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,i,n){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);var o=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(n,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),o,this._getFormatConfig(t))}}),k.fn.datepicker=function(t){if(!this.length)return this;k.datepicker.initialized||(k(document).on("mousedown",k.datepicker._checkExternalClick),k.datepicker.initialized=!0),0===k("#"+k.datepicker._mainDivId).length&&k("body").append(k.datepicker.dpDiv);var e=Array.prototype.slice.call(arguments,1);return"string"!=typeof t||"isDisabled"!==t&&"getDate"!==t&&"widget"!==t?"option"===t&&2===arguments.length&&"string"==typeof arguments[1]?k.datepicker["_"+t+"Datepicker"].apply(k.datepicker,[this[0]].concat(e)):this.each(function(){"string"==typeof t?k.datepicker["_"+t+"Datepicker"].apply(k.datepicker,[this].concat(e)):k.datepicker._attachDatepicker(this,t)}):k.datepicker["_"+t+"Datepicker"].apply(k.datepicker,[this[0]].concat(e))},k.datepicker=new t,k.datepicker.initialized=!1,k.datepicker.uuid=(new Date).getTime(),k.datepicker.version="1.12.1",k.datepicker}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Popper=e()}(this,function(){"use strict";for(var t="undefined"!=typeof window&&"undefined"!=typeof document,e=["Edge","Trident","Firefox"],i=0,n=0;n<e.length;n+=1)if(t&&0<=navigator.userAgent.indexOf(e[n])){i=1;break}var r=t&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},i))}};function s(t){return t&&"[object Function]"==={}.toString.call(t)}function b(t,e){if(1!==t.nodeType)return[];var i=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?i[e]:i}function p(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function _(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=b(t),i=e.overflow,n=e.overflowX,o=e.overflowY;
1return/(auto|scroll|overlay)/.test(i+o+n)?t:_(p(t))}var o=t&&!(!window.MSInputMethodContext||!document.documentMode),a=t&&/MSIE 10/.test(navigator.userAgent);function m(t){return 11===t?o:10===t?a:o||a}function y(t){if(!t)return document.documentElement;for(var e=m(10)?document.body:null,i=t.offsetParent||null;i===e&&t.nextElementSibling;)i=(t=t.nextElementSibling).offsetParent;var n=i&&i.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(i.nodeName)&&"static"===b(i,"position")?y(i):i:t?t.ownerDocument.documentElement:document.documentElement}function l(t){return null!==t.parentNode?l(t.parentNode):t}function g(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var i=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=i?t:e,o=i?e:t,r=document.createRange();r.setStart(n,0),r.setEnd(o,0);var s=r.commonAncestorContainer;if(t!==s&&e!==s||n.contains(o))return function(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||y(t.firstElementChild)===t)}(s)?s:y(s);var a=l(t);return a.host?g(a.host,e):g(t,l(e).host)}function v(t,e){var i="top"===(1<arguments.length&&void 0!==e?e:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"!==n&&"HTML"!==n)return t[i];var o=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||o)[i]}function c(t,e){var i="x"===e?"Left":"Top",n="Left"==i?"Right":"Bottom";return parseFloat(t["border"+i+"Width"],10)+parseFloat(t["border"+n+"Width"],10)}function h(t,e,i,n){return Math.max(e["offset"+t],e["scroll"+t],i["client"+t],i["offset"+t],i["scroll"+t],m(10)?parseInt(i["offset"+t])+parseInt(n["margin"+("Height"===t?"Top":"Left")])+parseInt(n["margin"+("Height"===t?"Bottom":"Right")]):0)}function w(t){var e=t.body,i=t.documentElement,n=m(10)&&getComputedStyle(i);return{height:h("Height",e,i,n),width:h("Width",e,i,n)}}var u=function(t,e,i){return e&&d(t.prototype,e),i&&d(t,i),t};function d(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function x(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var k=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t};function L(t){return k({},t,{right:t.left+t.width,bottom:t.top+t.height})}function D(t){var e={};try{if(m(10)){e=t.getBoundingClientRect();var i=v(t,"top"),n=v(t,"left");e.top+=i,e.left+=n,e.bottom+=i,e.right+=n}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},r="HTML"===t.nodeName?w(t.ownerDocument):{},s=r.width||t.clientWidth||o.right-o.left,a=r.height||t.clientHeight||o.bottom-o.top,l=t.offsetWidth-s,h=t.offsetHeight-a;if(l||h){var u=b(t);l-=c(u,"x"),h-=c(u,"y"),o.width-=l,o.height-=h}return L(o)}function T(t,e,i){var n=2<arguments.length&&void 0!==i&&i,o=m(10),r="HTML"===e.nodeName,s=D(t),a=D(e),l=_(t),h=b(e),u=parseFloat(h.borderTopWidth,10),c=parseFloat(h.borderLeftWidth,10);n&&r&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var d=L({top:s.top-a.top-u,left:s.left-a.left-c,width:s.width,height:s.height});if(d.marginTop=0,d.marginLeft=0,!o&&r){var f=parseFloat(h.marginTop,10),p=parseFloat(h.marginLeft,10);d.top-=u-f,d.bottom-=u-f,d.left-=c-p,d.right-=c-p,d.marginTop=f,d.marginLeft=p}return(o&&!n?e.contains(l):e===l&&"BODY"!==l.nodeName)&&(d=function(t,e,i){var n=2<arguments.length&&void 0!==i&&i,o=v(e,"top"),r=v(e,"left"),s=n?-1:1;return t.top+=o*s,t.bottom+=o*s,t.left+=r*s,t.right+=r*s,t}(d,e)),d}function E(t){if(!t||!t.parentElement||m())return document.documentElement;for(var e=t.parentElement;e&&"none"===b(e,"transform");)e=e.parentElement;return e||document.documentElement}function f(t,e,i,n,o){var r=4<arguments.length&&void 0!==o&&o,s={top:0,left:0},a=r?E(t):g(t,e);if("viewport"===n)s=function(t,e){var i=1<arguments.length&&void 0!==e&&e,n=t.ownerDocument.documentElement,o=T(t,n),r=Math.max(n.clientWidth,window.innerWidth||0),s=Math.max(n.clientHeight,window.innerHeight||0),a=i?0:v(n),l=i?0:v(n,"left");
vendor: 8,771 bytes, line 1
1return L({top:a-o.top+o.marginTop,left:l-o.left+o.marginLeft,width:r,height:s})}(a,r);else{var l=void 0;"scrollParent"===n?"BODY"===(l=_(p(e))).nodeName&&(l=t.ownerDocument.documentElement):l="window"===n?t.ownerDocument.documentElement:n;var h=T(l,a,r);if("HTML"!==l.nodeName||function t(e){var i=e.nodeName;if("BODY"===i||"HTML"===i)return!1;if("fixed"===b(e,"position"))return!0;var n=p(e);return!!n&&t(n)}(a))s=h;else{var u=w(t.ownerDocument),c=u.height,d=u.width;s.top+=h.top-h.marginTop,s.bottom=c+h.top,s.left+=h.left-h.marginLeft,s.right=d+h.left}}var f="number"==typeof(i=i||0);return s.left+=f?i:i.left||0,s.top+=f?i:i.top||0,s.right-=f?i:i.right||0,s.bottom-=f?i:i.bottom||0,s}function C(t,e,n,i,o,r){var s=5<arguments.length&&void 0!==r?r:0;if(-1===t.indexOf("auto"))return t;var a=f(n,i,s,o),l={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},h=Object.keys(l).map(function(t){return k({key:t},l[t],{area:function(t){return t.width*t.height}(l[t])})}).sort(function(t,e){return e.area-t.area}),u=h.filter(function(t){var e=t.width,i=t.height;return e>=n.clientWidth&&i>=n.clientHeight}),c=0<u.length?u[0].key:h[0].key,d=t.split("-")[1];return c+(d?"-"+d:"")}function S(t,e,i,n){var o=3<arguments.length&&void 0!==n?n:null;return T(i,o?E(e):g(e,i),o)}function M(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),i=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),n=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+n,height:t.offsetHeight+i}}function P(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function I(t,e,i){i=i.split("-")[0];var n=M(t),o={width:n.width,height:n.height},r=-1!==["right","left"].indexOf(i),s=r?"top":"left",a=r?"left":"top",l=r?"height":"width",h=r?"width":"height";return o[s]=e[s]+e[l]/2-n[l]/2,o[a]=i===a?e[a]-n[h]:e[P(a)],o}function O(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function A(t,i,e){return(void 0===e?t:t.slice(0,function(t,e,i){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===i});var n=O(t,function(t){return t[e]===i});return t.indexOf(n)}(t,"name",e))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var e=t.function||t.fn;t.enabled&&s(e)&&(i.offsets.popper=L(i.offsets.popper),i.offsets.reference=L(i.offsets.reference),i=e(i,t))}),i}function N(t,i){return t.some(function(t){var e=t.name;return t.enabled&&e===i})}function F(t){for(var e=[!1,"ms","Webkit","Moz","O"],i=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length;n++){var o=e[n],r=o?""+o+i:t;if(void 0!==document.body.style[r])return r}return null}function z(t){var e=t.ownerDocument;return e?e.defaultView:window}function j(t,e,i,n){i.updateBound=n,z(t).addEventListener("resize",i.updateBound,{passive:!0});var o=_(t);return function t(e,i,n,o){var r="BODY"===e.nodeName,s=r?e.ownerDocument.defaultView:e;s.addEventListener(i,n,{passive:!0}),r||t(_(s.parentNode),i,n,o),o.push(s)}(o,"scroll",i.updateBound,i.scrollParents),i.scrollElement=o,i.eventsEnabled=!0,i}function R(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=function(t,e){return z(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e}(this.reference,this.state))}function H(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function B(i,n){Object.keys(n).forEach(function(t){var e="";-1!==["width","height","top","right","bottom","left"].indexOf(t)&&H(n[t])&&(e="px"),i.style[t]=n[t]+e})}var Y=t&&/Firefox/i.test(navigator.userAgent);function W(t,e,i){var n=O(t,function(t){return t.name===e}),o=!!n&&t.some(function(t){return t.name===i&&t.enabled&&t.order<n.order});if(!o){var r="`"+e+"`",s="`"+i+"`";console.warn(s+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return o}var U=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],V=U.slice(3);function Z(t,e){var i=1<arguments.length&&void 0!==e&&e,n=V.indexOf(t),o=V.slice(n+1).concat(V.slice(0,n));return i?o.reverse():o}var q="flip",$="clockwise",G="counterclockwise";function K(t,o,r,e){var s=[0,0],a=-1!==["right","left"].indexOf(e),i=t.split(/(\+|\-)/).map(function(t){return t.trim()}),n=i.indexOf(O(i,function(t){return-1!==t.search(/,|\s/)}));i[n]&&-1===i[n].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,h=-1!==n?[i.slice(0,n).concat([i[n].split(l)[0]]),[i[n].split(l)[1]].concat(i.slice(n+1))]:[i];return(h=h.map(function(t,e){var i=(1===e?!a:a)?"height":"width",n=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,n=!0,t):n?(t[t.length-1]+=e,n=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,i,n){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],s=o[2];if(!r)return t;if(0!==s.indexOf("%"))return"vh"!==s&&"vw"!==s?r:("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r;var a=void 0;switch(s){case"%p":a=i;break;case"%":case"%r":default:a=n}return L(a)[e]/100*r}(t,i,o,r)})})).forEach(function(i,n){i.forEach(function(t,e){H(t)&&(s[n]+=t*("-"===i[e-1]?-1:1))})}),s}var Q={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,i=e.split("-")[0],n=e.split("-")[1];if(n){var o=t.offsets,r=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(i),l=a?"left":"top",h=a?"width":"height",u={start:x({},l,r[l]),end:x({},l,r[l]+r[h]-s[h])};t.offsets.popper=k({},s,u[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var i=e.offset,n=t.placement,o=t.offsets,r=o.popper,s=o.reference,a=n.split("-")[0],l=void 0;return l=H(+i)?[+i,0]:K(i,r,s,a),"left"===a?(r.top+=l[0],r.left-=l[1]):"right"===a?(r.top+=l[0],r.left+=l[1]):"top"===a?(r.left+=l[0],r.top-=l[1]):"bottom"===a&&(r.left+=l[0],r.top+=l[1]),t.popper=r,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,n){var e=n.boundariesElement||y(t.instance.popper);t.instance.reference===e&&(e=y(e));var i=F("transform"),o=t.instance.popper.style,r=o.top,s=o.left,a=o[i];o.top="",o.left="",o[i]="";var l=f(t.instance.popper,t.instance.reference,n.padding,e,t.positionFixed);o.top=r,o.left=s,o[i]=a,n.boundaries=l;var h=n.priority,u=t.offsets.popper,c={primary:function(t){var e=u[t];return u[t]<l[t]&&!n.escapeWithReference&&(e=Math.max(u[t],l[t])),x({},t,e)},secondary:function(t){var e="right"===t?"left":"top",i=u[e];return u[t]>l[t]&&!n.escapeWithReference&&(i=Math.min(u[e],l[t]-("right"===t?u.width:u.height))),x({},e,i)}};return h.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";u=k({},u,c[e](t))}),t.offsets.popper=u,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,i=e.popper,n=e.reference,o=t.placement.split("-")[0],r=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",h=s?"width":"height";return i[a]<r(n[l])&&(t.offsets.popper[l]=r(n[l])-i[h]),i[l]>r(n[a])&&(t.offsets.popper[l]=r(n[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var i;if(!W(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],r=t.offsets,s=r.popper,a=r.reference,l=-1!==["left","right"].indexOf(o),h=l?"height":"width",u=l?"Top":"Left",c=u.toLowerCase(),d=l?"left":"top",f=l?"bottom":"right",p=M(n)[h];a[f]-p<s[c]&&(t.offsets.popper[c]-=s[c]-(a[f]-p)),a[c]+p>s[f]&&(t.offsets.popper[c]+=a[c]+p-s[f]),t.offsets.popper=L(t.offsets.popper);var _=a[c]+a[h]/2-p/2,m=b(t.instance.popper),g=parseFloat(m["margin"+u],10),v=parseFloat(m["border"+u+"Width"],10),y=_-t.offsets.popper[c]-g-v;return y=Math.max(Math.min(s[h]-p,y),0),t.arrowElement=n,t.offsets.arrow=(x(i={},c,Math.round(y)),x(i,d,""),i),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(_,m){if(N(_.instance.modifiers,"inner"))return _;if(_.flipped&&_.placement===_.originalPlacement)return _;
vendor: 3,607 bytes, line 1
1var g=f(_.instance.popper,_.instance.reference,m.padding,m.boundariesElement,_.positionFixed),v=_.placement.split("-")[0],y=P(v),b=_.placement.split("-")[1]||"",w=[];switch(m.behavior){case q:w=[v,y];break;case $:w=Z(v);break;case G:w=Z(v,!0);break;default:w=m.behavior}return w.forEach(function(t,e){if(v!==t||w.length===e+1)return _;v=_.placement.split("-")[0],y=P(v);var i=_.offsets.popper,n=_.offsets.reference,o=Math.floor,r="left"===v&&o(i.right)>o(n.left)||"right"===v&&o(i.left)<o(n.right)||"top"===v&&o(i.bottom)>o(n.top)||"bottom"===v&&o(i.top)<o(n.bottom),s=o(i.left)<o(g.left),a=o(i.right)>o(g.right),l=o(i.top)<o(g.top),h=o(i.bottom)>o(g.bottom),u="left"===v&&s||"right"===v&&a||"top"===v&&l||"bottom"===v&&h,c=-1!==["top","bottom"].indexOf(v),d=!!m.flipVariations&&(c&&"start"===b&&s||c&&"end"===b&&a||!c&&"start"===b&&l||!c&&"end"===b&&h),f=!!m.flipVariationsByContent&&(c&&"start"===b&&a||c&&"end"===b&&s||!c&&"start"===b&&h||!c&&"end"===b&&l),p=d||f;(r||u||p)&&(_.flipped=!0,(r||u)&&(v=w[e+1]),p&&(b=function(t){return"end"===t?"start":"start"===t?"end":t}(b)),_.placement=v+(b?"-"+b:""),_.offsets.popper=k({},_.offsets.popper,I(_.instance.popper,_.offsets.reference,_.placement)),_=A(_.instance.modifiers,_,"flip"))}),_},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,i=e.split("-")[0],n=t.offsets,o=n.popper,r=n.reference,s=-1!==["left","right"].indexOf(i),a=-1===["top","left"].indexOf(i);return o[s?"left":"top"]=r[i]-(a?o[s?"width":"height"]:0),t.placement=P(e),t.offsets.popper=L(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!W(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,i=O(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<i.top||e.left>i.right||e.top>i.bottom||e.right<i.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var i=e.x,n=e.y,o=t.offsets.popper,r=O(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==r?r:e.gpuAcceleration,a=y(t.instance.popper),l=D(a),h={position:o.position},u=function(t,e){function i(t){return t}var n=t.offsets,o=n.popper,r=n.reference,s=Math.round,a=Math.floor,l=s(r.width),h=s(o.width),u=-1!==["left","right"].indexOf(t.placement),c=-1!==t.placement.indexOf("-"),d=e?u||c||l%2==h%2?s:a:i,f=e?s:i;return{left:d(l%2==1&&h%2==1&&!c&&e?o.left-1:o.left),top:f(o.top),bottom:f(o.bottom),right:d(o.right)}}(t,window.devicePixelRatio<2||!Y),c="bottom"===i?"top":"bottom",d="right"===n?"left":"right",f=F("transform"),p=void 0,_=void 0;if(_="bottom"==c?"HTML"===a.nodeName?-a.clientHeight+u.bottom:-l.height+u.bottom:u.top,p="right"==d?"HTML"===a.nodeName?-a.clientWidth+u.right:-l.width+u.right:u.left,s&&f)h[f]="translate3d("+p+"px, "+_+"px, 0)",h[c]=0,h[d]=0,h.willChange="transform";else{var m="bottom"==c?-1:1,g="right"==d?-1:1;h[c]=_*m,h[d]=p*g,h.willChange=c+", "+d}var v={"x-placement":t.placement};return t.attributes=k({},v,t.attributes),t.styles=k({},h,t.styles),t.arrowStyles=k({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){return B(t.instance.popper,t.styles),function(e,i){Object.keys(i).forEac
1h(function(t){!1!==i[t]?e.setAttribute(t,i[t]):e.removeAttribute(t)})}(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&&B(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,i,n,o){var r=S(o,e,t,i.positionFixed),s=C(i.placement,r,e,t,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return e.setAttribute("x-placement",s),B(e,{position:i.positionFixed?"fixed":"absolute"}),i},gpuAcceleration:void 0}}},X=(u(J,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=S(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=C(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=I(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=A(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,N(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[F("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=j(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return R.call(this)}}]),J);function J(t,e){var i=this,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,J),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=r(this.update.bind(this)),this.options=k({},J.Defaults,n),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=e&&e.jquery?e[0]:e,this.options.modifiers={},Object.keys(k({},J.Defaults.modifiers,n.modifiers)).forEach(function(t){i.options.modifiers[t]=k({},J.Defaults.modifiers[t]||{},n.modifiers?n.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return k({name:t},i.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&s(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return X.Utils=("undefined"!=typeof window?window:global).PopperUtils,X.placements=U,X.Defaults=Q,X}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],e):e((t=t||self).bootstrap={},t.jQuery,t.Popper)}(this,function(t,p,c){"use strict";function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function r(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}function s(o){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},e=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),e.forEach(function(t){var e,i,n;e=o,n=r[i=t],i in e?Object.defineProperty(e,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[i]=n})}return o}p=p&&p.hasOwnProperty("default")?p.default:p,c=c&&c.hasOwnProperty("default")?c.default:c;var e="transitionend";var _={TRANSITION_END:"bsTransitionEnd",getUID:function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var i=t.getAttribute("href");e=i&&"#"!==i?i.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var e=p(t).css("transition-duration"),i=p(t).css("transition-delay"),n=parseFloat(e),o=parseFloat(i);return n||o?(e=e.split(",")[0],i=i.split(",")[0],1e3*(parseFloat(e)+parseFloat(i))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){p(t).trigger(e)},supportsTransitionEnd:function(){return Boolean(e)},isElement:function(t){return(t[0]||t).nodeType}
1,typeCheckConfig:function(t,e,i){for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n)){var o=i[n],r=e[n],s=r&&_.isElement(r)?"element":(a=r,{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(o).test(s))throw new Error(t.toUpperCase()+': Option "'+n+'" provided type "'+s+'" but expected type "'+o+'".')}var a},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"!=typeof t.getRootNode)return t instanceof ShadowRoot?t:t.parentNode?_.findShadowRoot(t.parentNode):null;var e=t.getRootNode();return e instanceof ShadowRoot?e:null}};p.fn.emulateTransitionEnd=function(t){var e=this,i=!1;return p(this).one(_.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||_.triggerTransitionEnd(e)},t),this},p.event.special[_.TRANSITION_END]={bindType:e,delegateType:e,handle:function(t){if(p(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var i,o="alert",a="bs.alert",l="."+a,h=p.fn[o],u={CLOSE:"close"+l,CLOSED:"closed"+l,CLICK_DATA_API:"click"+l+".data-api"},d=((i=f.prototype).close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},i.dispose=function(){p.removeData(this._element,a),this._element=null},i._getRootElement=function(t){var e=_.getSelectorFromElement(t),i=!1;return e&&(i=document.querySelector(e)),i=i||p(t).closest(".alert")[0]},i._triggerCloseEvent=function(t){var e=p.Event(u.CLOSE);return p(t).trigger(e),e},i._removeElement=function(e){var i=this;if(p(e).removeClass("show"),p(e).hasClass("fade")){var t=_.getTransitionDurationFromElement(e);p(e).one(_.TRANSITION_END,function(t){return i._destroyElement(e,t)}).emulateTransitionEnd(t)}else this._destroyElement(e)},i._destroyElement=function(t){p(t).detach().trigger(u.CLOSED).remove()},f._jQueryInterface=function(i){return this.each(function(){var t=p(this),e=t.data(a);e||(e=new f(this),t.data(a,e)),"close"===i&&e[i](this)})},f._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},r(f,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),f);function f(t){this._element=t}p(document).on(u.CLICK_DATA_API,'[data-dismiss="alert"]',d._handleDismiss(new d)),p.fn[o]=d._jQueryInterface,p.fn[o].Constructor=d,p.fn[o].noConflict=function(){return p.fn[o]=h,d._jQueryInterface};var m,g="button",v="bs.button",y="."+v,b=".data-api",w=p.fn[g],x="active",k='[data-toggle^="button"]',L={CLICK_DATA_API:"click"+y+b,FOCUS_BLUR_DATA_API:"focus"+y+b+" blur"+y+b},D=((m=T.prototype).toggle=function(){var t=!0,e=!0,i=p(this._element).closest('[data-toggle="buttons"]')[0];if(i){var n=this._element.querySelector('input:not([type="hidden"])');if(n){if("radio"===n.type)if(n.checked&&this._element.classList.contains(x))t=!1;else{var o=i.querySelector(".active");o&&p(o).removeClass(x)}if(t){if(n.hasAttribute("disabled")||i.hasAttribute("disabled")||n.classList.contains("disabled")||i.classList.contains("disabled"))return;n.checked=!this._element.classList.contains(x),p(n).trigger("change")}n.focus(),e=!1}}e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(x)),t&&p(this._element).toggleClass(x)},m.dispose=function(){p.removeData(this._element,v),this._element=null},T._jQueryInterface=function(e){return this.each(function(){var t=p(this).data(v);t||(t=new T(this),p(this).data(v,t)),"toggle"===e&&t[e]()})},r(T,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),T);function T(t){this._element=t}p(document).on(L.CLICK_DATA_API,k,function(t){t.preventDefault();var e=t.target;p(e).hasClass("btn")||(e=p(e).closest(".btn")),D._jQueryInterface.call(p(e),"toggle")}).on(L.FOCUS_BLUR_DATA_API,k,function(t){var e=p(t.target).closest(".btn")[0];p(e).toggleClass("focus",/^focus(in)?$/.test(t.type))}),p.fn[g]=D._jQueryInterface,p.fn[g].Constructor=D,p.fn[g].noConflict=function(){return p.fn[g]=w,D._jQueryInterface};var E,C="carousel",S="bs.carousel",M="."+S,P=".data-api",I=p.fn[C],O={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},A={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},N="next",F="prev",z={SLIDE:"slide"+M,SLID:"slid"+M,KEYDOWN:"keydown"+M,MOUSEENTER:"mouseenter"+M,MOUSELEAVE:"mouseleave"+M,TOUCHSTART:"touchstart"+M,TOUCHMOVE:"touchmove"+M,TOUCHEND:"touchend"+M,POINTERDOWN:"pointerdown"+M,POINTERUP:"pointerup"+M,DRAG_START:"dragstart"+M,LOAD_DATA_API:"load"+M+P,CLICK_DATA_API:"click"+M+P},j="active",R=".active.carousel-item",H={TOUCH:"touch",PEN:"pen"},B=((E=Y.prototype).next=function(){this._isSliding||this._slide(N)},E.nextWhenVisible=function(){!document.hidden&&p(this._element).is(":visible")&&"hidden"
1!==p(this._element).css("visibility")&&this.next()},E.prev=function(){this._isSliding||this._slide(F)},E.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(_.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},E.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},E.to=function(t){var e=this;this._activeElement=this._element.querySelector(R);var i=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)p(this._element).one(z.SLID,function(){return e.to(t)});else{if(i===t)return this.pause(),void this.cycle();var n=i<t?N:F;this._slide(n,this._items[t])}},E.dispose=function(){p(this._element).off(M),p.removeData(this._element,S),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},E._getConfig=function(t){return t=s({},O,t),_.typeCheckConfig(C,t,A),t},E._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;0<e&&this.prev(),e<0&&this.next()}},E._addEventListeners=function(){var e=this;this._config.keyboard&&p(this._element).on(z.KEYDOWN,function(t){return e._keydown(t)}),"hover"===this._config.pause&&p(this._element).on(z.MOUSEENTER,function(t){return e.pause(t)}).on(z.MOUSELEAVE,function(t){return e.cycle(t)}),this._config.touch&&this._addTouchEventListeners()},E._addTouchEventListeners=function(){var i=this;if(this._touchSupported){var e=function(t){i._pointerEvent&&H[t.originalEvent.pointerType.toUpperCase()]?i.touchStartX=t.originalEvent.clientX:i._pointerEvent||(i.touchStartX=t.originalEvent.touches[0].clientX)},n=function(t){i._pointerEvent&&H[t.originalEvent.pointerType.toUpperCase()]&&(i.touchDeltaX=t.originalEvent.clientX-i.touchStartX),i._handleSwipe(),"hover"===i._config.pause&&(i.pause(),i.touchTimeout&&clearTimeout(i.touchTimeout),i.touchTimeout=setTimeout(function(t){return i.cycle(t)},500+i._config.interval))};p(this._element.querySelectorAll(".carousel-item img")).on(z.DRAG_START,function(t){return t.preventDefault()}),this._pointerEvent?(p(this._element).on(z.POINTERDOWN,function(t){return e(t)}),p(this._element).on(z.POINTERUP,function(t){return n(t)}),this._element.classList.add("pointer-event")):(p(this._element).on(z.TOUCHSTART,function(t){return e(t)}),p(this._element).on(z.TOUCHMOVE,function(t){var e;(e=t).originalEvent.touches&&1<e.originalEvent.touches.length?i.touchDeltaX=0:i.touchDeltaX=e.originalEvent.touches[0].clientX-i.touchStartX}),p(this._element).on(z.TOUCHEND,function(t){return n(t)}))}},E._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},E._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(t)},E._getItemByDirection=function(t,e){var i=t===N,n=t===F,o=this._getItemIndex(e),r=this._items.length-1;if((n&&0===o||i&&o===r)&&!this._config.wrap)return e;var s=(o+(t===F?-1:1))%this._items.length;return-1==s?this._items[this._items.length-1]:this._items[s]},E._triggerSlideEvent=function(t,e){var i=this._getItemIndex(t),n=this._getItemIndex(this._element.querySelector(R)),o=p.Event(z.SLIDE,{relatedTarget:t,direction:e,from:n,to:i});return p(this._element).trigger(o),o},E._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var e=[].slice.call(this._indicatorsElement.querySelectorAll(".active"));p(e).removeClass(j);var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&p(i).addClass(j)}},E._slide=function(t,e){var i,n,o,r=this,s=this._element.querySelector(R),a=this._getItemIndex(s),l=e||s&&this._getItemByDirection(t,s),h=this._getItemIndex(l),u=Boolean(this._interval);if(o=t===N?(i="carousel-item-left",n="carousel-item-next","left"):(i="carousel-item-right",n="carousel-item-prev","right"),l&&p(l).hasClass(j))this._isSliding=!1;else if(!this._triggerSlideEvent(l,o).isDefaultPrevented()&&s&&l){this._isSliding=!0,u&&this.pause(),this._setActiveIndicatorElement(l);var c=p.Event(z.SLID,{relatedTarget:l,direction:o,from:a,to:h});if(p(this._element).hasClass("slide")){p(l).addClass(n),_.reflow(l),p(s).addClass(i),p(l).addClass(i);var d=parseInt(l.getAttribute("data-interval"),10);this._config.interval=d?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,d):this._config.defaultInterval||this._config.interval;var f=_.getTransitionDurationFromElement(s);p(s).one(_.TRANSITION_END,function(){p(l).removeClass(i+" "+n).addClass(j),p(s).removeClass(j+" "+n+" "+i),r._isSliding=!1,setTimeout(function(){return p(r._element).trigger(c)},0)}).emulateTransitionEnd(f)}else p(s).removeClass(j),p(l).addClass(j),this._isSliding=!1,p(this._element).trigger(c);u&&this.cycle()}},Y._jQueryInterface=function(n){return this.each(function(){var t=p(this).data(S),e=s({},O,p(this).data());"object"==typeof n&&(e=s({},e,n));var i="string"==typeof n?n:e.slide;if(t||(t=new Y(this,e),p(this).data(S,t)),"number"==typeof n)t.to(n);else if("string"==typeof i){if(void 0===t[i])throw new TypeError('No method n
1amed "'+i+'"');t[i]()}else e.interval&&e.ride&&(t.pause(),t.cycle())})},Y._dataApiClickHandler=function(t){var e=_.getSelectorFromElement(this);if(e){var i=p(e)[0];if(i&&p(i).hasClass("carousel")){var n=s({},p(i).data(),p(this).data()),o=this.getAttribute("data-slide-to");o&&(n.interval=!1),Y._jQueryInterface.call(p(i),n),o&&p(i).data(S).to(o),t.preventDefault()}}},r(Y,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return O}}]),Y);function Y(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._element=t,this._indicatorsElement=this._element.querySelector(".carousel-indicators"),this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}p(document).on(z.CLICK_DATA_API,"[data-slide], [data-slide-to]",B._dataApiClickHandler),p(window).on(z.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),e=0,i=t.length;e<i;e++){var n=p(t[e]);B._jQueryInterface.call(n,n.data())}}),p.fn[C]=B._jQueryInterface,p.fn[C].Constructor=B,p.fn[C].noConflict=function(){return p.fn[C]=I,B._jQueryInterface};var W,U="collapse",V="bs.collapse",Z="."+V,q=p.fn[U],$={toggle:!0,parent:""},G={toggle:"boolean",parent:"(string|element)"},K={SHOW:"show"+Z,SHOWN:"shown"+Z,HIDE:"hide"+Z,HIDDEN:"hidden"+Z,CLICK_DATA_API:"click"+Z+".data-api"},Q="show",X="collapse",J="collapsing",tt="collapsed",et='[data-toggle="collapse"]',it=((W=nt.prototype).toggle=function(){p(this._element).hasClass(Q)?this.hide():this.show()},W.show=function(){var t,e,i=this;if(!(this._isTransitioning||p(this._element).hasClass(Q)||(this._parent&&0===(t=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter(function(t){return"string"==typeof i._config.parent?t.getAttribute("data-parent")===i._config.parent:t.classList.contains(X)})).length&&(t=null),t&&(e=p(t).not(this._selector).data(V))&&e._isTransitioning))){var n=p.Event(K.SHOW);if(p(this._element).trigger(n),!n.isDefaultPrevented()){t&&(nt._jQueryInterface.call(p(t).not(this._selector),"hide"),e||p(t).data(V,null));var o=this._getDimension();p(this._element).removeClass(X).addClass(J),this._element.style[o]=0,this._triggerArray.length&&p(this._triggerArray).removeClass(tt).attr("aria-expanded",!0),this.setTransitioning(!0);var r="scroll"+(o[0].toUpperCase()+o.slice(1)),s=_.getTransitionDurationFromElement(this._element);p(this._element).one(_.TRANSITION_END,function(){p(i._element).removeClass(J).addClass(X).addClass(Q),i._element.style[o]="",i.setTransitioning(!1),p(i._element).trigger(K.SHOWN)}).emulateTransitionEnd(s),this._element.style[o]=this._element[r]+"px"}}},W.hide=function(){var t=this;if(!this._isTransitioning&&p(this._element).hasClass(Q)){var e=p.Event(K.HIDE);if(p(this._element).trigger(e),!e.isDefaultPrevented()){var i=this._getDimension();this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",_.reflow(this._element),p(this._element).addClass(J).removeClass(X).removeClass(Q);var n=this._triggerArray.length;if(0<n)for(var o=0;o<n;o++){var r=this._triggerArray[o],s=_.getSelectorFromElement(r);null!==s&&(p([].slice.call(document.querySelectorAll(s))).hasClass(Q)||p(r).addClass(tt).attr("aria-expanded",!1))}this.setTransitioning(!0),this._element.style[i]="";var a=_.getTransitionDurationFromElement(this._element);p(this._element).one(_.TRANSITION_END,function(){t.setTransitioning(!1),p(t._element).removeClass(J).addClass(X).trigger(K.HIDDEN)}).emulateTransitionEnd(a)}}},W.setTransitioning=function(t){this._isTransitioning=t},W.dispose=function(){p.removeData(this._element,V),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},W._getConfig=function(t){return(t=s({},$,t)).toggle=Boolean(t.toggle),_.typeCheckConfig(U,t,G),t},W._getDimension=function(){return p(this._element).hasClass("width")?"width":"height"},W._getParent=function(){var t,i=this;_.isElement(this._config.parent)?(t=this._config.parent,void 0!==this._config.parent.jquery&&(t=this._config.parent[0])):t=document.querySelector(this._config.parent);var e='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',n=[].slice.call(t.querySelectorAll(e));return p(n).each(function(t,e){i._addAriaAndCollapsedClass(nt._getTargetFromElement(e),[e])}),t},W._addAriaAndCollapsedClass=function(t,e){var i=p(t).hasClass(Q);e.length&&p(e).toggleClass(tt,!i).attr("aria-expanded",i)},nt._getTargetFromElement=function(t){var e=_.getSelectorFromElement(t);return e?document.querySelector(e):null},nt._jQueryInterface=function(n){return this.each(function(){var t=p(this),e=t.data(V),i=s({},$,t.data(),"object"==typeof n&&n?n:{});if(!e&&i.toggle&&/show|hide/.test(n)&&(i.toggle=!1),e||(e=new nt(this,i),t.data(V,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method n
1amed "'+n+'"');e[n]()}})},r(nt,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return $}}]),nt);function nt(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var i=[].slice.call(document.querySelectorAll(et)),n=0,o=i.length;n<o;n++){var r=i[n],s=_.getSelectorFromElement(r),a=[].slice.call(document.querySelectorAll(s)).filter(function(t){return t===e});null!==s&&0<a.length&&(this._selector=s,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}p(document).on(K.CLICK_DATA_API,et,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var i=p(this),e=_.getSelectorFromElement(this),n=[].slice.call(document.querySelectorAll(e));p(n).each(function(){var t=p(this),e=t.data(V)?"toggle":i.data();it._jQueryInterface.call(t,e)})}),p.fn[U]=it._jQueryInterface,p.fn[U].Constructor=it,p.fn[U].noConflict=function(){return p.fn[U]=q,it._jQueryInterface};var ot,rt="dropdown",st="bs.dropdown",at="."+st,lt=".data-api",ht=p.fn[rt],ut=new RegExp("38|40|27"),ct={HIDE:"hide"+at,HIDDEN:"hidden"+at,SHOW:"show"+at,SHOWN:"shown"+at,CLICK:"click"+at,CLICK_DATA_API:"click"+at+lt,KEYDOWN_DATA_API:"keydown"+at+lt,KEYUP_DATA_API:"keyup"+at+lt},dt="disabled",ft="show",pt="dropdown-menu-right",_t='[data-toggle="dropdown"]',mt=".dropdown-menu",gt={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},vt={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},yt=((ot=bt.prototype).toggle=function(){if(!this._element.disabled&&!p(this._element).hasClass(dt)){var t=bt._getParentFromElement(this._element),e=p(this._menu).hasClass(ft);if(bt._clearMenus(),!e){var i={relatedTarget:this._element},n=p.Event(ct.SHOW,i);if(p(t).trigger(n),!n.isDefaultPrevented()){if(!this._inNavbar){if(void 0===c)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var o=this._element;"parent"===this._config.reference?o=t:_.isElement(this._config.reference)&&(o=this._config.reference,void 0!==this._config.reference.jquery&&(o=this._config.reference[0])),"scrollParent"!==this._config.boundary&&p(t).addClass("position-static"),this._popper=new c(o,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===p(t).closest(".navbar-nav").length&&p(document.body).children().on("mouseover",null,p.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),p(this._menu).toggleClass(ft),p(t).toggleClass(ft).trigger(p.Event(ct.SHOWN,i))}}}},ot.show=function(){if(!(this._element.disabled||p(this._element).hasClass(dt)||p(this._menu).hasClass(ft))){var t={relatedTarget:this._element},e=p.Event(ct.SHOW,t),i=bt._getParentFromElement(this._element);p(i).trigger(e),e.isDefaultPrevented()||(p(this._menu).toggleClass(ft),p(i).toggleClass(ft).trigger(p.Event(ct.SHOWN,t)))}},ot.hide=function(){if(!this._element.disabled&&!p(this._element).hasClass(dt)&&p(this._menu).hasClass(ft)){var t={relatedTarget:this._element},e=p.Event(ct.HIDE,t),i=bt._getParentFromElement(this._element);p(i).trigger(e),e.isDefaultPrevented()||(p(this._menu).toggleClass(ft),p(i).toggleClass(ft).trigger(p.Event(ct.HIDDEN,t)))}},ot.dispose=function(){p.removeData(this._element,st),p(this._element).off(at),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},ot.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},ot._addEventListeners=function(){var e=this;p(this._element).on(ct.CLICK,function(t){t.preventDefault(),t.stopPropagation(),e.toggle()})},ot._getConfig=function(t){return t=s({},this.constructor.Default,p(this._element).data(),t),_.typeCheckConfig(rt,t,this.constructor.DefaultType),t},ot._getMenuElement=function(){if(!this._menu){var t=bt._getParentFromElement(this._element);t&&(this._menu=t.querySelector(mt))}return this._menu},ot._getPlacement=function(){var t=p(this._element.parentNode),e="bottom-start";return t.hasClass("dropup")?(e="top-start",p(this._menu).hasClass(pt)&&(e="top-end")):t.hasClass("dropright")?e="right-start":t.hasClass("dropleft")?e="left-start":p(this._menu).hasClass(pt)&&(e="bottom-end"),e},ot._detectNavbar=function(){return 0<p(this._element).closest(".
1navbar").length},ot._getOffset=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=s({},t.offsets,e._config.offset(t.offsets,e._element)||{}),t}:t.offset=this._config.offset,t},ot._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),t},bt._jQueryInterface=function(e){return this.each(function(){var t=p(this).data(st);if(t||(t=new bt(this,"object"==typeof e?e:null),p(this).data(st,t)),"string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},bt._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var e=[].slice.call(document.querySelectorAll(_t)),i=0,n=e.length;i<n;i++){var o=bt._getParentFromElement(e[i]),r=p(e[i]).data(st),s={relatedTarget:e[i]};if(t&&"click"===t.type&&(s.clickEvent=t),r){var a=r._menu;if(p(o).hasClass(ft)&&!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&p.contains(o,t.target))){var l=p.Event(ct.HIDE,s);p(o).trigger(l),l.isDefaultPrevented()||("ontouchstart"in document.documentElement&&p(document.body).children().off("mouseover",null,p.noop),e[i].setAttribute("aria-expanded","false"),p(a).removeClass(ft),p(o).removeClass(ft).trigger(p.Event(ct.HIDDEN,s)))}}}},bt._getParentFromElement=function(t){var e,i=_.getSelectorFromElement(t);return i&&(e=document.querySelector(i)),e||t.parentNode},bt._dataApiKeydownHandler=function(t){if((/input|textarea/i.test(t.target.tagName)?!(32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||p(t.target).closest(mt).length)):ut.test(t.which))&&(t.preventDefault(),t.stopPropagation(),!this.disabled&&!p(this).hasClass(dt))){var e=bt._getParentFromElement(this),i=p(e).hasClass(ft);if(i&&(!i||27!==t.which&&32!==t.which)){var n=[].slice.call(e.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)"));if(0!==n.length){var o=n.indexOf(t.target);38===t.which&&0<o&&o--,40===t.which&&o<n.length-1&&o++,o<0&&(o=0),n[o].focus()}}else{if(27===t.which){var r=e.querySelector(_t);p(r).trigger("focus")}p(this).trigger("click")}}},r(bt,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return gt}},{key:"DefaultType",get:function(){return vt}}]),bt);function bt(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}p(document).on(ct.KEYDOWN_DATA_API,_t,yt._dataApiKeydownHandler).on(ct.KEYDOWN_DATA_API,mt,yt._dataApiKeydownHandler).on(ct.CLICK_DATA_API+" "+ct.KEYUP_DATA_API,yt._clearMenus).on(ct.CLICK_DATA_API,_t,function(t){t.preventDefault(),t.stopPropagation(),yt._jQueryInterface.call(p(this),"toggle")}).on(ct.CLICK_DATA_API,".dropdown form",function(t){t.stopPropagation()}),p.fn[rt]=yt._jQueryInterface,p.fn[rt].Constructor=yt,p.fn[rt].noConflict=function(){return p.fn[rt]=ht,yt._jQueryInterface};var wt,xt="modal",kt="bs.modal",Lt="."+kt,Dt=p.fn[xt],Tt={backdrop:!0,keyboard:!0,focus:!0,show:!0},Et={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},Ct={HIDE:"hide"+Lt,HIDDEN:"hidden"+Lt,SHOW:"show"+Lt,SHOWN:"shown"+Lt,FOCUSIN:"focusin"+Lt,RESIZE:"resize"+Lt,CLICK_DISMISS:"click.dismiss"+Lt,KEYDOWN_DISMISS:"keydown.dismiss"+Lt,MOUSEUP_DISMISS:"mouseup.dismiss"+Lt,MOUSEDOWN_DISMISS:"mousedown.dismiss"+Lt,CLICK_DATA_API:"click"+Lt+".data-api"},St="modal-open",Mt="fade",Pt="show",It=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Ot=".sticky-top",At=((wt=Nt.prototype).toggle=function(t){return this._isShown?this.hide():this.show(t)},wt.show=function(t){var e=this;if(!this._isShown&&!this._isTransitioning){p(this._element).hasClass(Mt)&&(this._isTransitioning=!0);var i=p.Event(Ct.SHOW,{relatedTarget:t});p(this._element).trigger(i),this._isShown||i.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),p(this._element).on(Ct.CLICK_DISMISS,'[data-dismiss="modal"]',function(t){return e.hide(t)}),p(this._dialog).on(Ct.MOUSEDOWN_DISMISS,function(){p(e._element).one(Ct.MOUSEUP_DISMISS,function(t){p(t.target).is(e._element)&&(e._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return e._showElement(t)}))}},wt.hide=function(t){var e=this;if(t&&t.preventDefault(),this._isShown&&!this._isTransitioning){var i=p.Event(Ct.HIDE);if(p(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented()){this._isShown=!1;var n=p(this._element).hasClass(Mt);if(n&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),p(document).off(Ct.FOCUSIN),p(this._element).removeClass(Pt),p(this._element).off(Ct.CLICK_DISMISS),p(this._dialog).off(Ct.MOUSEDOWN_DISMISS),n){var o=_.getTransitionDurationFromElement(this._element);p(this._element).one(_.TRANSITION_END,function(t){return e._hideModal(t)}).emulateTransitionEnd(o)}else this._hideModal()}}},wt.dispose=function(){[window,this._element,this._dialog].forEach(function(t){return p(t).off(Lt)}),p(document).off(Ct.FOCUSIN),p.removeData(this._element,kt),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},wt.handleUpdate=function(){this._adjustDialog()},wt._getConfig=function(t){return t=s({},Tt,t),_.typeCheckConfig(xt,t,Et),t},wt._showElement=function(t){var e=this,i=p(this._element).hasClass(Mt);function n(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,p(e._element).trigger(o)}this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),p(this._dialog).hasClass("modal-dialog-scrollable")?this._dialog.querySelector(".modal-body").scrollTop=0:this._element.scrollTop=0,i&&_.reflow(this._element),p(this._element).addClass(Pt),this._config.focus&&this._enforceFocus();var o=p.Event(Ct.SHOWN,{relatedTarget:t});if(i){var r=_.getTransitionDurationFromElement(this._dialog);p(this._dialog).one(_.TRANSITION_END,n).emulateTransitionEnd(r)}else n()},wt._enforceFocus=function(){var e=this;p(document).off(Ct.FOCUSIN).on(Ct.FOCUSIN,function(t){document!==t.target&&e._element!==t.target&&0===p(e._element).has(t.target).length&&e._element.focus()})},wt._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?p(this._element).on(Ct.KEYDOWN_DISMISS,function(t){27===t.which&&(t.preventDefault(),e.hide())}):this._isShown||p(this._element).off(Ct.KEYDOWN_DISMISS)},wt._setResizeEvent=function(){var e=this;this._isShown?p(window).on(Ct.RESIZE,function(t){return e.handleUpdate(t)}):p(window).off(Ct.RESIZE)},wt._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop(function(){p(document.body).removeClass(St),t._resetAdjustments(),t._resetScrollbar(),p(t._element).trigger(Ct.HIDDEN)})},wt._removeBackdrop=function(){this._backdrop&&(p(this._backdrop).remove(),this._backdrop=null)},wt._showBackdrop=function(t){var e=this,i=p(this._element).hasClass(Mt)?Mt:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",i&&this._backdrop.classList.add(i),p(this._backdrop).appendTo(document.body),p(this._element).on(Ct.CLICK_DISMISS,function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._element.focus():e.hide())}),i&&_.reflow(this._backdrop),p(this._backdrop).addClass(Pt),!t)return;if(!i)return void t();var n=_.getTransitionDurationFromElement(this._backdrop);p(this._backdrop).one(_.TRANSITION_END,t).emulateTransitionEnd(n)}else if(!this._isShown&&this._backdrop){p(this._backdrop).removeClass(Pt);var o=function(){e._removeBackdrop(),t&&t()};if(p(this._element).hasClass(Mt)){var r=_.getTransitionDurationFromElement(this._backdrop);p(this._backdrop).one(_.TRANSITION_END,o).emulateTransitionEnd(r)}else o()}else t&&t()},wt._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},wt._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},wt._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},wt._setScrollbar=function(){var o=this;if(this._isBodyOverflowing){var t=[].slice.call(document.querySelectorAll(It)),e=[].slice.call(document.querySelectorAll(Ot));p(t).each(function(t,e){var i=e.style.paddingRight,n=p(e).css("padding-right");p(e).data("padding-right",i).css("padding-right",parseFloat(n)+o._scrollbarWidth+"px")}),p(e).each(function(t,e){var i=e.style.marginRight,n=p(e).css("margin-right");p(e).data("margin-right",i).css("margin-right",parseFloat(n)-o._scrollbarWidth+"px")});var i=document.body.style.paddingRight,n=p(document.body).css("padding-right");p(document.body).data("padding-right",i).css("padding-right",parseFloat(n)+this._scrollbarWidth+"px")}p(document.body).addClass(St)},wt._resetScrollbar=function(){var t=[].slice.call(document.querySelectorAll(It));p(t).each(function(t,e){var i=p(e).data("padding-right");p(e).removeData("padding-right"),e.style.paddingRight=i||""});var e=[].slice.call(document.querySelectorAll(Ot));p(e).each(function(t,e){var i=p(e).data("margin-right");void 0!==i&&p(e).css("margin-right",i).removeData("margin-right")});var i=p(document.body).data("padding-right");p(document.body).removeData("padding-right"),document.body.style.paddingRight=i||""},wt._getScrollbarWidth=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},Nt._jQueryInterface=function(i,n){return this.each(function(){var t=p(this).data(kt),e=s({},Tt,p(this).data(),"object"==typeof i&&i?i:{});if(t||(t=new Nt(this,e),p(this).data(kt,t)),"string"==typeof i){if(void 0===t[i])throw new TypeError('No method n
1amed "'+i+'"');t[i](n)}else e.show&&t.show(n)})},r(Nt,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Tt}}]),Nt);function Nt(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(".modal-dialog"),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}p(document).on(Ct.CLICK_DATA_API,'[data-toggle="modal"]',function(t){var e,i=this,n=_.getSelectorFromElement(this);n&&(e=document.querySelector(n));var o=p(e).data(kt)?"toggle":s({},p(e).data(),p(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var r=p(e).one(Ct.SHOW,function(t){t.isDefaultPrevented()||r.one(Ct.HIDDEN,function(){p(i).is(":visible")&&i.focus()})});At._jQueryInterface.call(p(e),o,this)}),p.fn[xt]=At._jQueryInterface,p.fn[xt].Constructor=At,p.fn[xt].noConflict=function(){return p.fn[xt]=Dt,At._jQueryInterface};var Ft=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],zt=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,jt=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function Rt(t,s,e){if(0===t.length)return t;if(e&&"function"==typeof e)return e(t);for(var i=(new window.DOMParser).parseFromString(t,"text/html"),a=Object.keys(s),l=[].slice.call(i.body.querySelectorAll("*")),n=function(t,e){var i=l[t],n=i.nodeName.toLowerCase();if(-1===a.indexOf(i.nodeName.toLowerCase()))return i.parentNode.removeChild(i),"continue";var o=[].slice.call(i.attributes),r=[].concat(s["*"]||[],s[n]||[]);o.forEach(function(t){!function(t,e){var i=t.nodeName.toLowerCase();if(-1!==e.indexOf(i))return-1===Ft.indexOf(i)||Boolean(t.nodeValue.match(zt)||t.nodeValue.match(jt));for(var n=e.filter(function(t){return t instanceof RegExp}),o=0,r=n.length;o<r;o++)if(i.match(n[o]))return!0;return!1}(t,r)&&i.removeAttribute(t.nodeName)})},o=0,r=l.length;o<r;o++)n(o);return i.body.innerHTML}var Ht,Bt="tooltip",Yt="bs.tooltip",Wt="."+Yt,Ut=p.fn[Bt],Vt="bs-tooltip",Zt=new RegExp("(^|\\s)"+Vt+"\\S+","g"),qt=["sanitize","whiteList","sanitizeFn"],$t={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object"},Gt={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Kt={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]}},Qt="show",Xt={HIDE:"hide"+Wt,HIDDEN:"hidden"+Wt,SHOW:"show"+Wt,SHOWN:"shown"+Wt,INSERTED:"inserted"+Wt,CLICK:"click"+Wt,FOCUSIN:"focusin"+Wt,FOCUSOUT:"focusout"+Wt,MOUSEENTER:"mouseenter"+Wt,MOUSELEAVE:"mouseleave"+Wt},Jt="fade",te="show",ee="hover",ie="focus",ne=((Ht=oe.prototype).enable=function(){this._isEnabled=!0},Ht.disable=function(){this._isEnabled=!1},Ht.toggleEnabled=function(){this._isEnabled=!this._isEnabled},Ht.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,i=p(t.currentTarget).data(e);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),p(t.currentTarget).data(e,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(p(this.getTipElement()).hasClass(te))return void this._leave(null,this);this._enter(null,this)}},Ht.dispose=function(){clearTimeout(this._timeout),p.removeData(this.element,this.constructor.DATA_KEY),p(this.element).off(this.constructor.EVENT_KEY),p(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&p(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,(this._activeTrigger=null)!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},Ht.show=function(){var e=this;if("none"===p(this.element).css("display"))throw new Error("Please use show on visible elements");var t=p.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){p(this.element).trigger(t);var i=_.findShadowRoot(this.element),n=p.contains(null!==i?i:this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!n)return;var o=this.getTipElement(),r=_.getUID(this.constructor.NAME);o.setAttribute("id",r),this.element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&p(o).addClass(Jt);var s="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,a=this._getAttachment(s);this.addAttachmentClass(a);var l=this._getContainer();p(o).data(this.constructor.DATA_KEY,this),p.contains(this.element.ownerDocument.documentElement,this.tip)||p(o).appendTo(l),p(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new c(this.element,o,{placement:a,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"}
1,preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}}),p(o).addClass(te),"ontouchstart"in document.documentElement&&p(document.body).children().on("mouseover",null,p.noop);var h=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,p(e.element).trigger(e.constructor.Event.SHOWN),"out"===t&&e._leave(null,e)};if(p(this.tip).hasClass(Jt)){var u=_.getTransitionDurationFromElement(this.tip);p(this.tip).one(_.TRANSITION_END,h).emulateTransitionEnd(u)}else h()}},Ht.hide=function(t){function e(){i._hoverState!==Qt&&n.parentNode&&n.parentNode.removeChild(n),i._cleanTipClass(),i.element.removeAttribute("aria-describedby"),p(i.element).trigger(i.constructor.Event.HIDDEN),null!==i._popper&&i._popper.destroy(),t&&t()}var i=this,n=this.getTipElement(),o=p.Event(this.constructor.Event.HIDE);if(p(this.element).trigger(o),!o.isDefaultPrevented()){if(p(n).removeClass(te),"ontouchstart"in document.documentElement&&p(document.body).children().off("mouseover",null,p.noop),this._activeTrigger.click=!1,this._activeTrigger[ie]=!1,this._activeTrigger[ee]=!1,p(this.tip).hasClass(Jt)){var r=_.getTransitionDurationFromElement(n);p(n).one(_.TRANSITION_END,e).emulateTransitionEnd(r)}else e();this._hoverState=""}},Ht.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},Ht.isWithContent=function(){return Boolean(this.getTitle())},Ht.addAttachmentClass=function(t){p(this.getTipElement()).addClass(Vt+"-"+t)},Ht.getTipElement=function(){return this.tip=this.tip||p(this.config.template)[0],this.tip},Ht.setContent=function(){var t=this.getTipElement();this.setElementContent(p(t.querySelectorAll(".tooltip-inner")),this.getTitle()),p(t).removeClass(Jt+" "+te)},Ht.setElementContent=function(t,e){"object"!=typeof e||!e.nodeType&&!e.jquery?this.config.html?(this.config.sanitize&&(e=Rt(e,this.config.whiteList,this.config.sanitizeFn)),t.html(e)):t.text(e):this.config.html?p(e).parent().is(t)||t.empty().append(e):t.text(p(e).text())},Ht.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t=t||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},Ht._getOffset=function(){var e=this,t={};return"function"==typeof this.config.offset?t.fn=function(t){return t.offsets=s({},t.offsets,e.config.offset(t.offsets,e.element)||{}),t}:t.offset=this.config.offset,t},Ht._getContainer=function(){return!1===this.config.container?document.body:_.isElement(this.config.container)?p(this.config.container):p(document).find(this.config.container)},Ht._getAttachment=function(t){return Gt[t.toUpperCase()]},Ht._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(t){if("click"===t)p(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)});else if("manual"!==t){var e=t===ee?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,i=t===ee?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;p(n.element).on(e,n.config.selector,function(t){return n._enter(t)}).on(i,n.config.selector,function(t){return n._leave(t)})}}),p(this.element).closest(".modal").on("hide.bs.modal",function(){n.element&&n.hide()}),this.config.selector?this.config=s({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},Ht._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");!this.element.getAttribute("title")&&"string"==t||(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},Ht._enter=function(t,e){var i=this.constructor.DATA_KEY;(e=e||p(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),p(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusin"===t.type?ie:ee]=!0),p(e.getTipElement()).hasClass(te)||e._hoverState===Qt?e._hoverState=Qt:(clearTimeout(e._timeout),e._hoverState=Qt,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===Qt&&e.show()},e.config.delay.show):e.show())},Ht._leave=function(t,e){var i=this.constructor.DATA_KEY;(e=e||p(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),p(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusout"===t.type?ie:ee]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState="out",e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){"out"===e._hoverState&&e.hide()},e.config.delay.hide):e.hide())},Ht._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},Ht._getConfig=function(t){var e=p(this.element).data();return Object.keys(e).forEach(function(t){-1!==qt.indexOf(t)&&delete e[t]}),"number"==typeof(t=s({},this.constructor.Default,e,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),_.typeCheckConfig(Bt,t,this.constructor.DefaultType),t.sanitize&&(t.template=Rt(t.template,t.whiteList,t.sanitizeFn)),t},Ht._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},Ht._cleanTipClass=function(){var t=p(this.getTipElement()),e=t.attr("class").match(Zt);null!==e&&e.length&&t.removeClass(e.join(""))},Ht._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},Ht._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(p(t).removeClass(Jt),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},oe._jQueryInterface=function(i){return this.each(function(){var t=p(this).data(Yt),e="object"==typeof i&&i;if((t||!/dispose|hide/.test(i))&&(t||(t=new oe(this,e),p(this).data(Yt,t)),"string"==typeof i)){if(void 0===t[i])throw new TypeError('No method n
1amed "'+i+'"');t[i]()}})},r(oe,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Kt}},{key:"NAME",get:function(){return Bt}},{key:"DATA_KEY",get:function(){return Yt}},{key:"Event",get:function(){return Xt}},{key:"EVENT_KEY",get:function(){return Wt}},{key:"DefaultType",get:function(){return $t}}]),oe);function oe(t,e){if(void 0===c)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}p.fn[Bt]=ne._jQueryInterface,p.fn[Bt].Constructor=ne,p.fn[Bt].noConflict=function(){return p.fn[Bt]=Ut,ne._jQueryInterface};var re="popover",se="bs.popover",ae="."+se,le=p.fn[re],he="bs-popover",ue=new RegExp("(^|\\s)"+he+"\\S+","g"),ce=s({},ne.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),de=s({},ne.DefaultType,{content:"(string|element|function)"}),fe={HIDE:"hide"+ae,HIDDEN:"hidden"+ae,SHOW:"show"+ae,SHOWN:"shown"+ae,INSERTED:"inserted"+ae,CLICK:"click"+ae,FOCUSIN:"focusin"+ae,FOCUSOUT:"focusout"+ae,MOUSEENTER:"mouseenter"+ae,MOUSELEAVE:"mouseleave"+ae},pe=function(t){var e,i;function n(){return t.apply(this,arguments)||this}i=t,(e=n).prototype=Object.create(i.prototype),(e.prototype.constructor=e).__proto__=i;var o=n.prototype;return o.isWithContent=function(){return this.getTitle()||this._getContent()},o.addAttachmentClass=function(t){p(this.getTipElement()).addClass(he+"-"+t)},o.getTipElement=function(){return this.tip=this.tip||p(this.config.template)[0],this.tip},o.setContent=function(){var t=p(this.getTipElement());this.setElementContent(t.find(".popover-header"),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(".popover-body"),e),t.removeClass("fade show")},o._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},o._cleanTipClass=function(){var t=p(this.getTipElement()),e=t.attr("class").match(ue);null!==e&&0<e.length&&t.removeClass(e.join(""))},n._jQueryInterface=function(i){return this.each(function(){var t=p(this).data(se),e="object"==typeof i?i:null;if((t||!/dispose|hide/.test(i))&&(t||(t=new n(this,e),p(this).data(se,t)),"string"==typeof i)){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i]()}})},r(n,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return ce}},{key:"NAME",get:function(){return re}},{key:"DATA_KEY",get:function(){return se}},{key:"Event",get:function(){return fe}},{key:"EVENT_KEY",get:function(){return ae}},{key:"DefaultType",get:function(){return de}}]),n}(ne);p.fn[re]=pe._jQueryInterface,p.fn[re].Constructor=pe,p.fn[re].noConflict=function(){return p.fn[re]=le,pe._jQueryInterface};var _e,me="scrollspy",ge="bs.scrollspy",ve="."+ge,ye=p.fn[me],be={offset:10,method:"auto",target:""},we={offset:"number",method:"string",target:"(string|element)"},xe={ACTIVATE:"activate"+ve,SCROLL:"scroll"+ve,LOAD_DATA_API:"load"+ve+".data-api"},ke="active",Le=".nav, .list-group",De=".nav-link",Te=".list-group-item",Ee="position",Ce=((_e=Se.prototype).refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?"offset":Ee,o="auto"===this._config.method?t:this._config.method,r=o===Ee?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(t){var e,i=_.getSelectorFromElement(t);if(i&&(e=document.querySelector(i)),e){var n=e.getBoundingClientRect();if(n.width||n.height)return[p(e)[o]().top+r,i]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},_e.dispose=function(){p.removeData(this._element,ge),p(this._scrollElement).off(ve),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},_e._getConfig=function(t){if("string"!=typeof(t=s({},be,"object"==typeof t&&t?t:{})).target){var e=p(t.target).attr("id");e||(e=_.getUID(me),p(t.target).attr("id",e)),t.target="#"+e}return _.typeCheckConfig(me,t,we),t},_e._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},_e._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},_e._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},_e._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),i<=t){var n=this._targets[this._targets.length-1];this._activeTarget!==n&&this._activate(n)}else{if(this._activeTarget&&t<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;)this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&(void 0===this._offsets[o+1]||t<this._offsets[o+1])&&this._activate(this._targets[o])}},_e._activate=function(e){this._activeTarget=e,this._clear();var t=this._selector.split(",").map(function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'}),i=p([].slice.call(document.querySelectorAll(t.join(","))));i.hasClass("dropdown-item")?(i.closest(".dropdown").find(".dropdown-toggle").addClass(ke),i.addClass(ke)):(i.addClass(ke),i.parents(Le).prev(De+", "+Te).addClass(ke),i.parents(Le).prev(".nav-item").children(De).addClass(ke)),p(this._scrollElement).trigger(xe.ACTIVATE,{relatedTarget:e})},_e._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(t){return t.classList.contains(ke)}
1).forEach(function(t){return t.classList.remove(ke)})},Se._jQueryInterface=function(e){return this.each(function(){var t=p(this).data(ge);if(t||(t=new Se(this,"object"==typeof e&&e),p(this).data(ge,t)),"string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},r(Se,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return be}}]),Se);function Se(t,e){var i=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+De+","+this._config.target+" "+Te+","+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,p(this._scrollElement).on(xe.SCROLL,function(t){return i._process(t)}),this.refresh(),this._process()}p(window).on(xe.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll('[data-spy="scroll"]')),e=t.length;e--;){var i=p(t[e]);Ce._jQueryInterface.call(i,i.data())}}),p.fn[me]=Ce._jQueryInterface,p.fn[me].Constructor=Ce,p.fn[me].noConflict=function(){return p.fn[me]=ye,Ce._jQueryInterface};var Me,Pe="bs.tab",Ie="."+Pe,Oe=p.fn.tab,Ae={HIDE:"hide"+Ie,HIDDEN:"hidden"+Ie,SHOW:"show"+Ie,SHOWN:"shown"+Ie,CLICK_DATA_API:"click"+Ie+".data-api"},Ne="active",Fe=".active",ze="> li > .active",je=((Me=Re.prototype).show=function(){var i=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&p(this._element).hasClass(Ne)||p(this._element).hasClass("disabled"))){var t,n,e=p(this._element).closest(".nav, .list-group")[0],o=_.getSelectorFromElement(this._element);if(e){var r="UL"===e.nodeName||"OL"===e.nodeName?ze:Fe;n=(n=p.makeArray(p(e).find(r)))[n.length-1]}var s=p.Event(Ae.HIDE,{relatedTarget:this._element}),a=p.Event(Ae.SHOW,{relatedTarget:n});if(n&&p(n).trigger(s),p(this._element).trigger(a),!a.isDefaultPrevented()&&!s.isDefaultPrevented()){o&&(t=document.querySelector(o)),this._activate(this._element,e);var l=function(){var t=p.Event(Ae.HIDDEN,{relatedTarget:i._element}),e=p.Event(Ae.SHOWN,{relatedTarget:n});p(n).trigger(t),p(i._element).trigger(e)};t?this._activate(t,t.parentNode,l):l()}}},Me.dispose=function(){p.removeData(this._element,Pe),this._element=null},Me._activate=function(t,e,i){function n(){return o._transitionComplete(t,r,i)}var o=this,r=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?p(e).children(Fe):p(e).find(ze))[0],s=i&&r&&p(r).hasClass("fade");if(r&&s){var a=_.getTransitionDurationFromElement(r);p(r).removeClass("show").one(_.TRANSITION_END,n).emulateTransitionEnd(a)}else n()},Me._transitionComplete=function(t,e,i){if(e){p(e).removeClass(Ne);var n=p(e.parentNode).find("> .dropdown-menu .active")[0];n&&p(n).removeClass(Ne),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}if(p(t).addClass(Ne),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),_.reflow(t),t.classList.contains("fade")&&t.classList.add("show"),t.parentNode&&p(t.parentNode).hasClass("dropdown-menu")){var o=p(t).closest(".dropdown")[0];if(o){var r=[].slice.call(o.querySelectorAll(".dropdown-toggle"));p(r).addClass(Ne)}t.setAttribute("aria-expanded",!0)}i&&i()},Re._jQueryInterface=function(i){return this.each(function(){var t=p(this),e=t.data(Pe);if(e||(e=new Re(this),t.data(Pe,e)),"string"==typeof i){if(void 0===e[i])throw new TypeError('No method named "'+i+'"');e[i]()}})},r(Re,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),Re);function Re(t){this._element=t}p(document).on(Ae.CLICK_DATA_API,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(t){t.preventDefault(),je._jQueryInterface.call(p(this),"show")}),p.fn.tab=je._jQueryInterface,p.fn.tab.Constructor=je,p.fn.tab.noConflict=function(){return p.fn.tab=Oe,je._jQueryInterface};var He,Be="toast",Ye="bs.toast",We="."+Ye,Ue=p.fn[Be],Ve={CLICK_DISMISS:"click.dismiss"+We,HIDE:"hide"+We,HIDDEN:"hidden"+We,SHOW:"show"+We,SHOWN:"shown"+We},Ze="show",qe="showing",$e={animation:"boolean",autohide:"boolean",delay:"number"},Ge={animation:!0,autohide:!0,delay:500},Ke=((He=Qe.prototype).show=function(){var t=this;function e(){t._element.classList.remove(qe),t._element.classList.add(Ze),p(t._element).trigger(Ve.SHOWN),t._config.autohide&&t.hide()}if(p(this._element).trigger(Ve.SHOW),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),this._element.classList.add(qe),this._config.animation){var i=_.getTransitionDurationFromElement(this._element);p(this._element).one(_.TRANSITION_END,e).emulateTransitionEnd(i)}else e()},He.hide=function(t){var e=this;this._element.classList.contains(Ze)&&(p(this._element).trigger(Ve.HIDE),t?this._close():this._timeout=setTimeout(function(){e._close()},this._config.delay))},He.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(Ze)&&this._element.classList.remove(Ze),p(this._element).off(Ve.CLICK_DISMISS),p.removeData(this._element,Ye),this._element=null,this._config=null},He._getConfig=function(t){return t=s({},Ge,p(this._element).data(),"object"==typeof t&&t?t:{}),_.typeCheckConfig(Be,t,this.constructor.DefaultType),t},He._setListeners=function(){var t=this;p(this._element).on(Ve.CLICK_DISMISS,'[data-dismiss="toast"]',function(){return t.hide(!0)})},He._close=function(){function t(){e._element.classList.add("hide"),p(e._element).trigger(Ve.HIDDEN)}var e=this;if(this._element.classList.remove(Ze),this._config.animation){var i=_.getTransitionDurationFromElement(this._element);p(this._element).one(_.TRANSITION_END,t).emulateTransitionEnd(i)}else t()},Qe._jQueryInterface=function(i){return this.each(function(){var t=p(this),e=t.data(Ye);if(e||(e=new Qe(this,"object"==typeof i&&i),t.data(Ye,e)),"string"==typeof i){if(void 0===e[i])throw new TypeError('No method n
1amed "'+i+'"');e[i](this)}})},r(Qe,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"DefaultType",get:function(){return $e}},{key:"Default",get:function(){return Ge}}]),Qe);function Qe(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}p.fn[Be]=Ke._jQueryInterface,p.fn[Be].Constructor=Ke,p.fn[Be].noConflict=function(){return p.fn[Be]=Ue,Ke._jQueryInterface},function(){if(void 0===p)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=p.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||4<=t[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),t.Util=_,t.Alert=d,t.Button=D,t.Carousel=B,t.Collapse=it,t.Dropdown=yt,t.Modal=At,t.Popover=pe,t.Scrollspy=Ce,t.Tab=je,t.Toast=Ke,t.Tooltip=ne,Object.defineProperty(t,"__esModule",{value:!0})}),function(){var ns,os="Expected a function",rs="__lodash_hash_undefined__",ss="__lodash_placeholder__",as=9007199254740991,ls=NaN,hs=4294967295,us=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],cs="[object Arguments]",ds="[object Array]",fs="[object Boolean]",ps="[object Date]",_s="[object Error]",ms="[object Function]",gs="[object GeneratorFunction]",vs="[object Map]",ys="[object Number]",bs="[object Object]",ws="[object Promise]",xs="[object RegExp]",ks="[object Set]",Ls="[object String]",Ds="[object Symbol]",Ts="[object WeakMap]",Es="[object ArrayBuffer]",Cs="[object DataView]",Ss="[object Float32Array]",Ms="[object Float64Array]",Ps="[object Int8Array]",Is="[object Int16Array]",Os="[object Int32Array]",As="[object Uint8Array]",Ns="[object Uint8ClampedArray]",Fs="[object Uint16Array]",zs="[object Uint32Array]",js=/\b__p \+= '';/g,Rs=/\b(__p \+=) '' \+/g,Hs=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Bs=/&(?:amp|lt|gt|quot|#39);/g,Ys=/[&<>"']/g,Ws=RegExp(Bs.source),Us=RegExp(Ys.source),Vs=/<%-([\s\S]+?)%>/g,Zs=/<%([\s\S]+?)%>/g,qs=/<%=([\s\S]+?)%>/g,$s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Gs=/^\w*$/,Ks=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Qs=/[\\^$.*+?()[\]{}|]/g,Xs=RegExp(Qs.source),Js=/^\s+/,i=/\s/,ta=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ea=/\{\n\/\* \[wrapped with (.+)\] \*/,ia=/,? & /,na=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,oa=/[()=,{}\[\]\/\s]/,ra=/\\(\\)?/g,sa=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,aa=/\w*$/,la=/^[-+]0x[0-9a-f]+$/i,ha=/^0b[01]+$/i,ua=/^\[object .+?Constructor\]$/,ca=/^0o[0-7]+$/i,da=/^(?:0|[1-9]\d*)$/,fa=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 1,136 bytes, line 1
17f]/g,pa=/($^)/,_a=/['\n\r\u2028\u2029\\]/g,t="\\ud800-\\udfff",e="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",n="\\u2700-\\u27bf",o="a-z\\xdf-\\xf6\\xf8-\\xff",r="A-Z\\xc0-\\xd6\\xd8-\\xde",s="\\ufe0e\\ufe0f",a="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",l="["+t+"]",h="["+a+"]",u="["+e+"]",c="\\d+",d="["+n+"]",f="["+o+"]",p="[^"+t+a+c+n+o+r+"]",_="\\ud83c[\\udffb-\\udfff]",m="[^"+t+"]",g="(?:\\ud83c[\\udde6-\\uddff]){2}",v="[\\ud800-\\udbff][\\udc00-\\udfff]",y="["+r+"]",b="(?:"+f+"|"+p+")",w="(?:"+y+"|"+p+")",x="(?:['’](?:d|ll|m|re|s|t|ve))?",k="(?:['’](?:D|LL|M|RE|S|T|VE))?",L="(?:"+u+"|"+_+")"+"?",D="["+s+"]?",T=D+L+("(?:\\u200d(?:"+[m,g,v].join("|")+")"+D+L+")*"),E="(?:"+[d,g,v].join("|")+")"+T,C="(?:"+[m+u+"?",u,g,v,l].join("|")+")",ma=RegExp("['’]","g"),ga=RegExp(u,"g"),S=RegExp(_+"(?="+_+")|"+C+T,"g"),va=RegExp([y+"?"+f+"+"+x+"(?="+[h,y,"$"].join("|")+")",w+"+"+k+"(?="+[h,y+b,"$"].join("|")+")",y+"?"+b+"+"+x,y+"
1+"+k,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",c,E].join("|"),"g"),M=RegExp("[\\u200d"+t+e+s+"]"),ya=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ba=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],wa=-1,xa={};xa[Ss]=xa[Ms]=xa[Ps]=xa[Is]=xa[Os]=xa[As]=xa[Ns]=xa[Fs]=xa[zs]=!0,xa[cs]=xa[ds]=xa[Es]=xa[fs]=xa[Cs]=xa[ps]=xa[_s]=xa[ms]=xa[vs]=xa[ys]=xa[bs]=xa[xs]=xa[ks]=xa[Ls]=xa[Ts]=!1;var ka={};ka[cs]=ka[ds]=ka[Es]=ka[Cs]=ka[fs]=ka[ps]=ka[Ss]=ka[Ms]=ka[Ps]=ka[Is]=ka[Os]=ka[vs]=ka[ys]=ka[bs]=ka[xs]=ka[ks]=ka[Ls]=ka[Ds]=ka[As]=ka[Ns]=ka[Fs]=ka[zs]=!0,ka[_s]=ka[ms]=ka[Ts]=!1;var P={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},La=parseFloat,Da=parseInt,I="object"==typeof global&&global&&global.Object===Object&&global,O="object"==typeof self&&self&&self.Object===Object&&self,Ta=I||O||Function("return this")(),A="object"==typeof exports&&exports&&!exports.nodeType&&exports,N=A&&"object"==typeof module&&module&&!module.nodeType&&module,Ea=N&&N.exports===A,F=Ea&&I.process,z=function(){try{var t=N&&N.require&&N.require("util").types;return t||F&&F.binding&&F.binding("util")}catch(t){}}(),Ca=z&&z.isArrayBuffer,Sa=z&&z.isDate,Ma=z&&z.isMap,Pa=z&&z.isRegExp,Ia=z&&z.isSet,Oa=z&&z.isTypedArray;
vendor: 4,414 bytes, line 1
1function Aa(t,e,i){switch(i.length){case 0:return t.call(e);case 1:return t.call(e,i[0]);case 2:return t.call(e,i[0],i[1]);case 3:return t.call(e,i[0],i[1],i[2])}return t.apply(e,i)}function Na(t,e,i,n){for(var o=-1,r=null==t?0:t.length;++o<r;){var s=t[o];e(n,s,i(s),t)}return n}function Fa(t,e){for(var i=-1,n=null==t?0:t.length;++i<n&&!1!==e(t[i],i,t););return t}function za(t,e){for(var i=null==t?0:t.length;i--&&!1!==e(t[i],i,t););return t}function ja(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(!e(t[i],i,t))return!1;return!0}function Ra(t,e){for(var i=-1,n=null==t?0:t.length,o=0,r=[];++i<n;){var s=t[i];e(s,i,t)&&(r[o++]=s)}return r}function Ha(t,e){return!!(null==t?0:t.length)&&-1<Ga(t,e,0)}function Ba(t,e,i){for(var n=-1,o=null==t?0:t.length;++n<o;)if(i(e,t[n]))return!0;return!1}function Ya(t,e){for(var i=-1,n=null==t?0:t.length,o=Array(n);++i<n;)o[i]=e(t[i],i,t);return o}function Wa(t,e){for(var i=-1,n=e.length,o=t.length;++i<n;)t[o+i]=e[i];return t}function Ua(t,e,i,n){var o=-1,r=null==t?0:t.length;for(n&&r&&(i=t[++o]);++o<r;)i=e(i,t[o],o,t);return i}function Va(t,e,i,n){var o=null==t?0:t.length;for(n&&o&&(i=t[--o]);o--;)i=e(i,t[o],o,t);return i}function Za(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(e(t[i],i,t))return!0;return!1}var j=Ja("length");function qa(t,n,e){var o;return e(t,function(t,e,i){if(n(t,e,i))return o=e,!1}),o}function $a(t,e,i,n){for(var o=t.length,r=i+(n?1:-1);n?r--:++r<o;)if(e(t[r],r,t))return r;return-1}function Ga(t,e,i){return e==e?function(t,e,i){var n=i-1,o=t.length;for(;++n<o;)if(t[n]===e)return n;return-1}(t,e,i):$a(t,Qa,i)}function Ka(t,e,i,n){for(var o=i-1,r=t.length;++o<r;)if(n(t[o],e))return o;return-1}function Qa(t){return t!=t}function Xa(t,e){var i=null==t?0:t.length;return i?el(t,e)/i:ls}function Ja(e){return function(t){return null==t?ns:t[e]}}function R(e){return function(t){return null==e?ns:e[t]}}function tl(t,n,o,r,e){return e(t,function(t,e,i){o=r?(r=!1,t):n(o,t,e,i)}),o}function el(t,e){for(var i,n=-1,o=t.length;++n<o;){var r=e(t[n]);r!==ns&&(i=i===ns?r:i+r)}return i}function il(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n}function nl(t){return t?t.slice(0,yl(t)+1).replace(Js,""):t}function ol(e){return function(t){return e(t)}}function rl(e,t){return Ya(t,function(t){return e[t]})}function sl(t,e){return t.has(e)}function al(t,e){for(var i=-1,n=t.length;++i<n&&-1<Ga(e,t[i],0););return i}function ll(t,e){for(var i=t.length;i--&&-1<Ga(e,t[i],0););return i}var hl=R({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),ul=R({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function cl(t){return"\\"+P[t]}function dl(t){return M.test(t)}function fl(t){var i=-1,n=Array(t.size);return t.forEach(function(t,e){n[++i]=[e,t]}),n}
vendor: 4,494 bytes, line 1
1function pl(e,i){return function(t){return e(i(t))}}function _l(t,e){for(var i=-1,n=t.length,o=0,r=[];++i<n;){var s=t[i];s!==e&&s!==ss||(t[i]=ss,r[o++]=i)}return r}function ml(t){var e=-1,i=Array(t.size);return t.forEach(function(t){i[++e]=t}),i}function gl(t){return dl(t)?function(t){var e=S.lastIndex=0;for(;S.test(t);)++e;return e}(t):j(t)}function vl(t){return dl(t)?function(t){return t.match(S)||[]}(t):function(t){return t.split("")}(t)}function yl(t){for(var e=t.length;e--&&i.test(t.charAt(e)););return e}var bl=R({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var wl=function t(e){var i,D=(e=null==e?Ta:wl.defaults(Ta.Object(),e,wl.pick(Ta,ba))).Array,n=e.Date,m=e.Error,g=e.Function,o=e.Math,_=e.Object,v=e.RegExp,u=e.String,y=e.TypeError,r=D.prototype,s=g.prototype,c=_.prototype,a=e["__core-js_shared__"],l=s.toString,w=c.hasOwnProperty,h=0,d=(i=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",f=c.toString,p=l.call(_),b=Ta._,x=v("^"+l.call(w).replace(Qs,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),k=Ea?e.Buffer:ns,L=e.Symbol,T=e.Uint8Array,E=k?k.allocUnsafe:ns,C=pl(_.getPrototypeOf,_),S=_.create,M=c.propertyIsEnumerable,P=r.splice,I=L?L.isConcatSpreadable:ns,O=L?L.iterator:ns,A=L?L.toStringTag:ns,N=function(){try{var t=Hi(_,"defineProperty");return t({},"",{}),t}catch(t){}}(),F=e.clearTimeout!==Ta.clearTimeout&&e.clearTimeout,z=n&&n.now!==Ta.Date.now&&n.now,j=e.setTimeout!==Ta.setTimeout&&e.setTimeout,R=o.ceil,H=o.floor,B=_.getOwnPropertySymbols,Y=k?k.isBuffer:ns,W=e.isFinite,U=r.join,V=pl(_.keys,_),Z=o.max,q=o.min,$=n.now,G=e.parseInt,K=o.random,Q=r.reverse,X=Hi(e,"DataView"),J=Hi(e,"Map"),tt=Hi(e,"Promise"),et=Hi(e,"Set"),it=Hi(e,"WeakMap"),nt=Hi(_,"create"),ot=it&&new it,rt={},st=_n(X),at=_n(J),lt=_n(tt),ht=_n(et),ut=_n(it),ct=L?L.prototype:ns,dt=ct?ct.valueOf:ns,ft=ct?ct.toString:ns;function pt(t){if(Oo(t)&&!xo(t)&&!(t instanceof yt)){if(t instanceof vt)return t;if(w.call(t,"__wrapped__"))return mn(t)}return new vt(t)}var _t=function(t){if(!Io(t))return{};if(S)return S(t);mt.prototype=t;var e=new mt;return mt.prototype=ns,e};function mt(){}function gt(){}function vt(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=ns}function yt(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=hs,this.__views__=[]}function bt(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}function wt(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}function xt(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}function kt(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new xt;++e<i;)this.add(t[e])}function Lt(t){var e=this.__data__=new wt(t);this.size=e.size}function Dt(t,e){var i=xo(t),n=!i&&wo(t),o=!i&&!n&&To(t),r=!i&&!n&&!o&&Bo(t),s=i||n||o||r,a=s?il(t.length,u):[],l=a.length;for(var h in t)!e&&!w.call(t,h)||s&&("length"==h||o&&("offset"==h||"parent"==h)||r&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||qi(h,l))||a.push(h);return a}function Tt(t){var e=t.length;return e?t[ke(0,e-1)]:ns}function Et(t,e){return un(oi(t),Ft(e,0,t.length))}function Ct(t){return un(oi(t))}function St(t,e,i){(i===ns||vo(t[e],i))&&(i!==ns||e in t)||At(t,e,i)}function Mt(t,e,i){var n=t[e];w.call(t,e)&&vo(n,i)&&(i!==ns||e in t)||At(t,e,i)}function Pt(t,e){for(var i=t.length;i--;)if(vo(t[i][0],e))return i;return-1}function It(t,n,o,r){return Bt(t,function(t,e,i){n(r,t,o(t),i)}),r}function Ot(t,e){return t&&ri(e,hr(e),t)}function At(t,e,i){"__proto__"==e&&N?N(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i}function Nt(t,e){for(var i=-1,n=e.length,o=D(n),r=null==t;++i<n;)o[i]=r?ns:or(t,e[i]);return o}function Ft(t,e,i){return t==t&&(i!==ns&&(t=t<=i?t:i),e!==ns&&(t=e<=t?t:e)),t}function zt(i,n,o,t,e,r){var s,a=1&n,l=2&n,h=4&n;if(o&&(s=e?o(i,t,e,r):o(i)),s!==ns)return s;if(!Io(i))return i;var u=xo(i);if(u){if(s=function(t){var e=t.length,i=new t.constructor(e);e&&"string"==typeof t[0]&&w.call(t,"index")&&(i.index=t.index,i.input=t.input);return i}(i),!a)return oi(i,s)}else{var c=Wi(i),d=c==ms||c==gs;if(To(i))return Xe(i,a);if(c==bs||c==cs||d&&!e){if(s=l||d?{}:Vi(i),!a)return l?function(t,e){return ri(t,Yi(t),e)}(i,function(t,e){return t&&ri(e,ur(e),t)}(s,i)):function(t,e){return ri(t,Bi(t),e)}(i,Ot(s,i))}else{if(!ka[c])return e?i:{};
vendor: 15,077 bytes, line 1
1s=function(t,e,i){var n=t.constructor;switch(e){case Es:return Je(t);case fs:case ps:return new n(+t);case Cs:return function(t,e){var i=e?Je(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)}(t,i);case Ss:case Ms:case Ps:case Is:case Os:case As:case Ns:case Fs:case zs:return ti(t,i);case vs:return new n;case ys:case Ls:return new n(t);case xs:return function(t){var e=new t.constructor(t.source,aa.exec(t));return e.lastIndex=t.lastIndex,e}(t);case ks:return new n;case Ds:return function(t){return dt?_(dt.call(t)):{}}(t)}}(i,c,a)}}var f=(r=r||new Lt).get(i);if(f)return f;r.set(i,s),jo(i)?i.forEach(function(t){s.add(zt(t,n,o,t,i,r))}):Ao(i)&&i.forEach(function(t,e){s.set(e,zt(t,n,o,e,i,r))});var p=u?ns:(h?l?Oi:Ii:l?ur:hr)(i);return Fa(p||i,function(t,e){p&&(t=i[e=t]),Mt(s,e,zt(t,n,o,e,i,r))}),s}function jt(t,e,i){var n=i.length;if(null==t)return!n;for(t=_(t);n--;){var o=i[n],r=e[o],s=t[o];if(s===ns&&!(o in t)||!r(s))return!1}return!0}function Rt(t,e,i){if("function"!=typeof t)throw new y(os);return sn(function(){t.apply(ns,i)},e)}function Ht(t,e,i,n){var o=-1,r=Ha,s=!0,a=t.length,l=[],h=e.length;if(!a)return l;i&&(e=Ya(e,ol(i))),n?(r=Ba,s=!1):200<=e.length&&(r=sl,s=!1,e=new kt(e));t:for(;++o<a;){var u=t[o],c=null==i?u:i(u);if(u=n||0!==u?u:0,s&&c==c){for(var d=h;d--;)if(e[d]===c)continue t;l.push(u)}else r(e,c,n)||l.push(u)}return l}pt.templateSettings={escape:Vs,evaluate:Zs,interpolate:qs,variable:"",imports:{_:pt}},(pt.prototype=gt.prototype).constructor=pt,(vt.prototype=_t(gt.prototype)).constructor=vt,(yt.prototype=_t(gt.prototype)).constructor=yt,bt.prototype.clear=function(){this.__data__=nt?nt(null):{},this.size=0},bt.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},bt.prototype.get=function(t){var e=this.__data__;if(nt){var i=e[t];return i===rs?ns:i}return w.call(e,t)?e[t]:ns},bt.prototype.has=function(t){var e=this.__data__;return nt?e[t]!==ns:w.call(e,t)},bt.prototype.set=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=nt&&e===ns?rs:e,this},wt.prototype.clear=function(){this.__data__=[],this.size=0},wt.prototype.delete=function(t){var e=this.__data__,i=Pt(e,t);return!(i<0)&&(i==e.length-1?e.pop():P.call(e,i,1),--this.size,!0)},wt.prototype.get=function(t){var e=this.__data__,i=Pt(e,t);return i<0?ns:e[i][1]},wt.prototype.has=function(t){return-1<Pt(this.__data__,t)},wt.prototype.set=function(t,e){var i=this.__data__,n=Pt(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this},xt.prototype.clear=function(){this.size=0,this.__data__={hash:new bt,map:new(J||wt),string:new bt}},xt.prototype.delete=function(t){var e=ji(this,t).delete(t);return this.size-=e?1:0,e},xt.prototype.get=function(t){return ji(this,t).get(t)},xt.prototype.has=function(t){return ji(this,t).has(t)},xt.prototype.set=function(t,e){var i=ji(this,t),n=i.size;return i.set(t,e),this.size+=i.size==n?0:1,this},kt.prototype.add=kt.prototype.push=function(t){return this.__data__.set(t,rs),this},kt.prototype.has=function(t){return this.__data__.has(t)},Lt.prototype.clear=function(){this.__data__=new wt,this.size=0},Lt.prototype.delete=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i},Lt.prototype.get=function(t){return this.__data__.get(t)},Lt.prototype.has=function(t){return this.__data__.has(t)},Lt.prototype.set=function(t,e){var i=this.__data__;if(i instanceof wt){var n=i.__data__;if(!J||n.length<199)return n.push([t,e]),this.size=++i.size,this;i=this.__data__=new xt(n)}return i.set(t,e),this.size=i.size,this};var Bt=li(Gt),Yt=li(Kt,!0);function Wt(t,n){var o=!0;return Bt(t,function(t,e,i){return o=!!n(t,e,i)}),o}function Ut(t,e,i){for(var n=-1,o=t.length;++n<o;){var r=t[n],s=e(r);if(null!=s&&(a===ns?s==s&&!Ho(s):i(s,a)))var a=s,l=r}return l}function Vt(t,n){var o=[];return Bt(t,function(t,e,i){n(t,e,i)&&o.push(t)}),o}function Zt(t,e,i,n,o){var r=-1,s=t.length;for(i=i||Zi,o=o||[];++r<s;){var a=t[r];0<e&&i(a)?1<e?Zt(a,e-1,i,n,o):Wa(o,a):n||(o[o.length]=a)}return o}var qt=hi(),$t=hi(!0);function Gt(t,e){return t&&qt(t,e,hr)}function Kt(t,e){return t&&$t(t,e,hr)}function Qt(e,t){return Ra(t,function(t){return So(e[t])})}function Xt(t,e){for(var i=0,n=(e=$e(e,t)).length;null!=t&&i<n;)t=t[pn(e[i++])];return i&&i==n?t:ns}function Jt(t,e,i){var n=e(t);return xo(t)?n:Wa(n,i(t))}function te(t){return null==t?t===ns?"[object Undefined]":"[object Null]":A&&A in _(t)?function(t){var e=w.call(t,A),i=t[A];try{t[A]=ns;var n=!0}catch(t){}var o=f.call(t);n&&(e?t[A]=i:delete t[A]);return o}(t):function(t){return f.call(t)}(t)}function ee(t,e){return e<t}function ie(t,e){return null!=t&&w.call(t,e)}function ne(t,e){return null!=t&&e in _(t)}function oe(t,e,i){for(var n=i?Ba:Ha,o=t[0].length,r=t.length,s=r,a=D(r),l=1/0,h=[];s--;){var u=t[s];s&&e&&(u=Ya(u,ol(e))),l=q(u.length,l),a[s]=!i&&(e||120<=o&&120<=u.length)?new kt(s&&u):ns}u=t[0];var c=-1,d=a[0];t:for(;++c<o&&h.length<l;){var f=u[c],p=e?e(f):f;if(f=i||0!==f?f:0,!(d?sl(d,p):n(h,p,i))){for(s=r;--s;){var _=a[s];if(!(_?sl(_,p):n(t[s],p,i)))continue t}d&&d.push(p),h.push(f)}}return h}function re(t,e,i){var n=null==(t=nn(t,e=$e(e,t)))?t:t[pn(En(e))];return null==n?ns:Aa(n,t,i)}function se(t){return Oo(t)&&te(t)==cs}function ae(t,e,i,n,o){return t===e||(null==t||null==e||!Oo(t)&&!Oo(e)?t!=t&&e!=e:function(t,e,i,n,o,r){var s=xo(t),a=xo(e),l=s?ds:Wi(t),h=a?ds:Wi(e),u=(l=l==cs?bs:l)==bs,c=(h=h==cs?bs:h)==bs,d=l==h;if(d&&To(t)){if(!To(e))return!1;u=!(s=!0)}if(d&&!u)return r=r||new Lt,s||Bo(t)?Mi(t,e,i,n,o,r):function(t,e,i,n,o,r,s){switch(i){case Cs:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case Es:return!(t.byteLength!=e.byteLength||!r(new T(t),new T(e)));case fs:case ps:case ys:return vo(+t,+e);case _s:return t.name==e.name&&t.message==e.message;case xs:case Ls:return t==e+"";case vs:var a=fl;case ks:var l=1&n;if(a=a||ml,t.size!=e.size&&!l)return!1;var h=s.get(t);if(h)return h==e;n|=2,s.set(t,e);var u=Mi(a(t),a(e),n,o,r,s);return s.delete(t),u;case Ds:if(dt)return dt.call(t)==dt.call(e)}return!1}(t,e,l,i,n,o,r);if(!(1&i)){var f=u&&w.call(t,"__wrapped__"),p=c&&w.call(e,"__wrapped__");if(f||p){var _=f?t.value():t,m=p?e.value():e;return r=r||new Lt,o(_,m,i,n,r)}}return d&&(r=r||new Lt,function(t,e,i,n,o,r){var s=1&i,a=Ii(t),l=a.length,h=Ii(e).length;if(l!=h&&!s)return!1;var u=l;for(;u--;){var c=a[u];if(!(s?c in e:w.call(e,c)))return!1}var d=r.get(t),f=r.get(e);if(d&&f)return d==e&&f==t;var p=!0;r.set(t,e),r.set(e,t);var _=s;for(;++u<l;){c=a[u];var m=t[c],g=e[c];if(n)var v=s?n(g,m,c,e,t,r):n(m,g,c,t,e,r);if(!(v===ns?m===g||o(m,g,i,n,r):v)){p=!1;break}_=_||"constructor"==c}if(p&&!_){var y=t.constructor,b=e.constructor;y!=b&&"constructor"in t&&"constructor"in e&&!("function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b)&&(p=!1)}return r.delete(t),r.delete(e),p}(t,e,i,n,o,r))}(t,e,i,n,ae,o))}function le(t,e,i,n){var o=i.length,r=o,s=!n;if(null==t)return!r;for(t=_(t);o--;){var a=i[o];if(s&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++o<r;){var l=(a=i[o])[0],h=t[l],u=a[1];if(s&&a[2]){if(h===ns&&!(l in t))return!1}else{var c=new Lt;if(n)var d=n(h,u,l,t,e,c);if(!(d===ns?ae(u,h,3,n,c):d))return!1}}return!0}function he(t){return!(!Io(t)||function(t){return!!d&&d in t}(t))&&(So(t)?x:ua).test(_n(t))}function ue(t){return"function"==typeof t?t:null==t?Nr:"object"==typeof t?xo(t)?me(t[0],t[1]):_e(t):Ur(t)}function ce(t){if(!Xi(t))return V(t);var e=[];for(var i in _(t))w.call(t,i)&&"constructor"!=i&&e.push(i);return e}function de(t){if(!Io(t))return function(t){var e=[];if(null!=t)for(var i in _(t))e.push(i);return e}(t);var e=Xi(t),i=[];for(var n in t)("constructor"!=n||!e&&w.call(t,n))&&i.push(n);return i}function fe(t,e){return t<e}function pe(t,n){var o=-1,r=Lo(t)?D(t.length):[];return Bt(t,function(t,e,i){r[++o]=n(t,e,i)}),r}function _e(e){var i=Ri(e);return 1==i.length&&i[0][2]?tn(i[0][0],i[0][1]):function(t){return t===e||le(t,e,i)}}function me(i,n){return Gi(i)&&Ji(n)?tn(pn(i),n):function(t){var e=or(t,i);return e===ns&&e===n?rr(t,i):ae(n,e,3)}}function ge(n,o,r,s,a){n!==o&&qt(o,function(t,e){if(a=a||new Lt,Io(t))!function(t,e,i,n,o,r,s){var a=on(t,i),l=on(e,i),h=s.get(l);if(h)return St(t,i,h);var u=r?r(a,l,i+"",t,e,s):ns,c=u===ns;if(c){var d=xo(l),f=!d&&To(l),p=!d&&!f&&Bo(l);u=l,d||f||p?u=xo(a)?a:Do(a)?oi(a):f?Xe(l,!(c=!1)):p?ti(l,!(c=!1)):[]:Fo(l)||wo(l)?wo(u=a)?u=Go(a):Io(a)&&!So(a)||(u=Vi(l)):c=!1}c&&(s.set(l,u),o(u,l,n,r,s),s.delete(l));St(t,i,u)}(n,o,e,r,ge,s,a);else{var i=s?s(on(n,e),t,e+"",n,o,a):ns;i===ns&&(i=t),St(n,e,i)}},ur)}function ve(t,e){var i=t.length;if(i)return qi(e+=e<0?i:0,i)?t[e]:ns}function ye(t,n,i){n=n.length?Ya(n,function(e){return xo(e)?function(t){return Xt(t,1===e.length?e[0]:e)}:e}):[Nr];var o=-1;return n=Ya(n,ol(zi())),function(t,e){var i=t.length;for(t.sort(e);i--;)t[i]=t[i].value;return t}(pe(t,function(e,t,i){return{criteria:Ya(n,function(t){return t(e)}),index:++o,value:e}}),function(t,e){return function(t,e,i){var n=-1,o=t.criteria,r=e.criteria,s=o.length,a=i.length;for(;++n<s;){var l=ei(o[n],r[n]);if(l){if(a<=n)return l;var h=i[n];return l*("desc"==h?-1:1)}}return t.index-e.index}(t,e,i)})}function be(t,e,i){for(var n=-1,o=e.length,r={};++n<o;){var s=e[n],a=Xt(t,s);i(a,s)&&Ce(r,$e(s,t),a)}return r}function we(t,e,i,n){var o=n?Ka:Ga,r=-1,s=e.length,a=t;for(t===e&&(e=oi(e)),i&&(a=Ya(t,ol(i)));++r<s;)for(var l=0,h=e[r],u=i?i(h):h;-1<(l=o(a,u,l,n));)a!==t&&P.call(a,l,1),P.call(t,l,1);return t}function xe(t,e){for(var i=t?e.length:0,n=i-1;i--;){var o=e[i];if(i==n||o!==r){var r=o;qi(o)?P.call(t,o,1):He(t,o)}}return t}function ke(t,e){return t+H(K()*(e-t+1))}function Le(t,e){var i="";if(!t||e<1||as<e)return i;for(;e%2&&(i+=t),(e=H(e/2))&&(t+=t),e;);return i}function De(t,e){return an(en(t,e,Nr),t+"")}function Te(t){return Tt(vr(t))}function Ee(t,e){var i=vr(t);return un(i,Ft(e,0,i.length))}function Ce(t,e,i,n){if(!Io(t))return t;for(var o=-1,r=(e=$e(e,t)).length,s=r-1,a=t;null!=a&&++o<r;){var l=pn(e[o]),h=i;if("__proto__"===l||"constructor"===l||"prototype"===l)return t;if(o!=s){var u=a[l];(h=n?n(u,l,a):ns)===ns&&(h=Io(u)?u:qi(e[o+1])?[]:{})}Mt(a,l,h),a=a[l]}return t}var Se=ot?function(t,e){return ot.set(t,e),t}:Nr,Me=N?function(t,e){return N(t,"toString",{configurable:!0,enumerable:!1,value:Ir(e),writable:!0})}:Nr;function Pe(t){return un(vr(t))}function Ie(t,e,i){var n=-1,o=t.length;e<0&&(e=o<-e?0:o+e),(i=o<i?o:i)<0&&(i+=o),o=i<e?0:i-e>>>0,e>>>=0;for(var r=D(o);++n<o;)r[n]=t[n+e];return r}function Oe(t,n){var o;return Bt(t,function(t,e,i){return!(o=n(t,e,i))}),!!o}function Ae(t,e,i){var n=0,o=null==t?n:t.length;if("number"==typeof e&&e==e&&o<=2147483647){for(;n<o;){var r=n+o>>>1,s=t[r];null!==s&&!Ho(s)&&(i?s<=e:s<e)?n=1+r:o=r}return o}return Ne(t,e,Nr,i)}function Ne(t,e,i,n){var o=0,r=null==t?0:t.length;if(0===r)return 0;for(var s=(e=i(e))!=e,a=null===e,l=Ho(e),h=e===ns;o<r;){var u=H((o+r)/2),c=i(t[u]),d=c!==ns,f=null===c,p=c==c,_=Ho(c);if(s)var m=n||p;else m=h?p&&(n||d):a?p&&d&&(n||!f):l?p&&d&&!f&&(n||!_):!f&&!_&&(n?c<=e:c<e);m?o=u+1:r=u}return q(r,4294967294)}function Fe(t,e){for(var i=-1,n=t.length,o=0,r=[];++i<n;){var s=t[i],a=e?e(s):s;if(!i||!vo(a,l)){var l=a;r[o++]=0===s?0:s}}return r}function ze(t){return"number"==typeof t?t:Ho(t)?ls:+t}function je(t){if("string"==typeof t)return t;if(xo(t))return Ya(t,je)+"";if(Ho(t))return ft?ft.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Re(t,e,i){var n=-1,o=Ha,r=t.length,s=!0,a=[],l=a;if(i)s=!1,o=Ba;else if(200<=r){var h=e?null:Li(t);if(h)return ml(h);s=!1,o=sl,l=new kt}else l=e?[]:a;t:for(;++n<r;){var u=t[n],c=e?e(u):u;if(u=i||0!==u?u:0,s&&c==c){for(var d=l.length;d--;)if(l[d]===c)continue t;e&&l.push(c),a.push(u)}else o(l,c,i)||(l!==a&&l.push(c),a.push(u))}return a}function He(t,e){return null==(t=nn(t,e=$e(e,t)))||delete t[pn(En(e))]}function Be(t,e,i,n){return Ce(t,e,i(Xt(t,e)),n)}function Ye(t,e,i,n){for(var o=t.length,r=n?o:-1;(n?r--:++r<o)&&e(t[r],r,t););return i?Ie(t,n?0:r,n?r+1:o):Ie(t,n?r+1:0,n?o:r)}function We(t,e){var i=t;return i instanceof yt&&(i=i.value()),Ua(e,function(t,e){return e.func.apply(e.thisArg,Wa([t],e.args))},i)}function Ue(t,e,i){var n=t.length;if(n<2)return n?Re(t[0]):[];for(var o=-1,r=D(n);++o<n;)for(var s=t[o],a=-1;++a<n;)a!=o&&(r[o]=Ht(r[o]||s,t[a],e,i));return Re(Zt(r,1),e,i)}function Ve(t,e,i){for(var n=-1,o=t.length,r=e.length,s={};++n<o;){var a=n<r?e[n]:ns;i(s,t[n],a)}return s}function Ze(t){return Do(t)?t:[]}function qe(t){return"function"==typeof t?t:Nr}function $e(t,e){return xo(t)?t:Gi(t,e)?[t]:fn(Ko(t))}var Ge=De;function Ke(t,e,i){var n=t.length;return i=i===ns?n:i,!e&&n<=i?t:Ie(t,e,i)}var Qe=F||function(t){return Ta.clearTimeout(t)};function Xe(t,e){if(e)return t.slice();var i=t.length,n=E?E(i):new t.constructor(i);return t.copy(n),n}function Je(t){var e=new t.constructor(t.byteLength);return new T(e).set(new T(t)),e}function ti(t,e){var i=e?Je(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)}function ei(t,e){if(t!==e){var i=t!==ns,n=null===t,o=t==t,r=Ho(t),s=e!==ns,a=null===e,l=e==e,h=Ho(e);if(!a&&!h&&!r&&e<t||r&&s&&l&&!a&&!h||n&&s&&l||!i&&l||!o)return 1;if(!n&&!r&&!h&&t<e||h&&i&&o&&!n&&!r||a&&i&&o||!s&&o||!l)return-1}return 0}function ii(t,e,i,n){for(var o=-1,r=t.length,s=i.length,a=-1,l=e.length,h=Z(r-s,0),u=D(l+h),c=!n;++a<l;)u[a]=e[a];for(;++o<s;)(c||o<r)&&(u[i[o]]=t[o]);for(;h--;)u[a++]=t[o++];return u}function ni(t,e,i,n){for(var o=-1,r=t.length,s=-1,a=i.length,l=-1,h=e.length,u=Z(r-a,0),c=D(u+h),d=!n;++o<u;)c[o]=t[o];for(var f=o;++l<h;)c[f+l]=e[l];for(;++s<a;)(d||o<r)&&(c[f+i[s]]=t[o++]);return c}function oi(t,e){var i=-1,n=t.length;for(e=e||D(n);++i<n;)e[i]=t[i];return e}function ri(t,e,i,n){var o=!i;i=i||{};for(var r=-1,s=e.length;++r<s;){var a=e[r],l=n?n(i[a],t[a],a,i,t):ns;l===ns&&(l=t[a]),o?At(i,a,l):Mt(i,a,l)}return i}function si(o,r){return function(t,e){var i=xo(t)?Na:It,n=r?r():{};return i(t,o,zi(e,2),n)}}function ai(a){return De(function(t,e){var i=-1,n=e.length,o=1<n?e[n-1]:ns,r=2<n?e[2]:ns;for(o=3<a.length&&"function"==typeof o?(n--,o):ns,r&&$i(e[0],e[1],r)&&(o=n<3?ns:o,n=1),t=_(t);++i<n;){var s=e[i];s&&a(t,s,i,o)}return t})}function li(r,s){return function(t,e){if(null==t)return t;if(!Lo(t))return r(t,e);for(var i=t.length,n=s?i:-1,o=_(t);(s?n--:++n<i)&&!1!==e(o[n],n,o););return t}}function hi(l){return function(t,e,i){for(var n=-1,o=_(t),r=i(t),s=r.length;s--;){var a=r[l?s:++n];if(!1===e(o[a],a,o))break}return t}}function ui(o){return function(t){var e=dl(t=Ko(t))?vl(t):ns,i=e?e[0]:t.charAt(0),n=e?Ke(e,1).join(""):t.slice(1);return i[o]()+n}}function ci(e){return function(t){return Ua(Sr(wr(t).replace(ma,"")),e,"")}}function di(n){return function(){var t=arguments;switch(t.length){case 0:return new n;case 1:return new n(t[0]);case 2:return new n(t[0],t[1]);case 3:return new n(t[0],t[1],t[2]);case 4:return new n(t[0],t[1],t[2],t[3]);case 5:return new n(t[0],t[1],t[2],t[3],t[4]);case 6:return new n(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new n(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var e=_t(n.prototype),i=n.apply(e,t);return Io(i)?i:e}}
vendor: 4,518 bytes, line 1
1function fi(s){return function(t,e,i){var n=_(t);if(!Lo(t)){var o=zi(e,3);t=hr(t),e=function(t){return o(n[t],t,n)}}var r=s(t,e,i);return-1<r?n[o?t[r]:r]:ns}}function pi(l){return Pi(function(o){var r=o.length,t=r,e=vt.prototype.thru;for(l&&o.reverse();t--;){var i=o[t];if("function"!=typeof i)throw new y(os);if(e&&!s&&"wrapper"==Ni(i))var s=new vt([],!0)}for(t=s?t:r;++t<r;){var n=Ni(i=o[t]),a="wrapper"==n?Ai(i):ns;s=a&&Ki(a[0])&&424==a[1]&&!a[4].length&&1==a[9]?s[Ni(a[0])].apply(s,a[3]):1==i.length&&Ki(i)?s[n]():s.thru(i)}return function(){var t=arguments,e=t[0];if(s&&1==t.length&&xo(e))return s.plant(e).value();for(var i=0,n=r?o[i].apply(this,t):e;++i<r;)n=o[i].call(this,n);return n}})}function _i(h,u,c,d,f,p,_,m,g,v){var y=128&u,b=1&u,w=2&u,x=24&u,k=512&u,L=w?ns:di(h);return function t(){for(var e=arguments.length,i=D(e),n=e;n--;)i[n]=arguments[n];if(x)var o=Fi(t),r=function(t,e){for(var i=t.length,n=0;i--;)t[i]===e&&++n;return n}(i,o);if(d&&(i=ii(i,d,f,x)),p&&(i=ni(i,p,_,x)),e-=r,x&&e<v){var s=_l(i,o);return xi(h,u,_i,t.placeholder,c,i,s,m,g,v-e)}var a=b?c:this,l=w?a[h]:h;return e=i.length,m?i=function(t,e){for(var i=t.length,n=q(e.length,i),o=oi(t);n--;){var r=e[n];t[n]=qi(r,i)?o[r]:ns}return t}(i,m):k&&1<e&&i.reverse(),y&&g<e&&(i.length=g),this&&this!==Ta&&this instanceof t&&(l=L||di(l)),l.apply(a,i)}}function mi(i,n){return function(t,e){return function(t,n,o,r){return Gt(t,function(t,e,i){n(r,o(t),e,i)}),r}(t,i,n(e),{})}}function gi(n,o){return function(t,e){var i;if(t===ns&&e===ns)return o;if(t!==ns&&(i=t),e!==ns){if(i===ns)return e;e="string"==typeof t||"string"==typeof e?(t=je(t),je(e)):(t=ze(t),ze(e)),i=n(t,e)}return i}}function vi(n){return Pi(function(t){return t=Ya(t,ol(zi())),De(function(e){var i=this;return n(t,function(t){return Aa(t,i,e)})})})}function yi(t,e){var i=(e=e===ns?" ":je(e)).length;if(i<2)return i?Le(e,t):e;var n=Le(e,R(t/gl(e)));return dl(e)?Ke(vl(n),0,t).join(""):n.slice(0,t)}function bi(n){return function(t,e,i){return i&&"number"!=typeof i&&$i(t,e,i)&&(e=i=ns),t=Vo(t),e===ns?(e=t,t=0):e=Vo(e),function(t,e,i,n){for(var o=-1,r=Z(R((e-t)/(i||1)),0),s=D(r);r--;)s[n?r:++o]=t,t+=i;return s}(t,e,i=i===ns?t<e?1:-1:Vo(i),n)}}function wi(i){return function(t,e){return"string"==typeof t&&"string"==typeof e||(t=$o(t),e=$o(e)),i(t,e)}}function xi(t,e,i,n,o,r,s,a,l,h){var u=8&e;e|=u?32:64,4&(e&=~(u?64:32))||(e&=-4);var c=[t,e,o,u?r:ns,u?s:ns,u?ns:r,u?ns:s,a,l,h],d=i.apply(ns,c);return Ki(t)&&rn(d,c),d.placeholder=n,ln(d,t,e)}function ki(t){var n=o[t];return function(t,e){if(t=$o(t),(e=null==e?0:q(Zo(e),292))&&W(t)){var i=(Ko(t)+"e").split("e");return+((i=(Ko(n(i[0]+"e"+(+i[1]+e)))+"e").split("e"))[0]+"e"+(+i[1]-e))}return n(t)}}var Li=et&&1/ml(new et([,-0]))[1]==1/0?function(t){return new et(t)}:Hr;function Di(i){return function(t){var e=Wi(t);return e==vs?fl(t):e==ks?function(t){var e=-1,i=Array(t.size);return t.forEach(function(t){i[++e]=[t,t]}),i}(t):function(e,t){return Ya(t,function(t){return[t,e[t]]})}(t,i(t))}}function Ti(t,e,i,n,o,r,s,a){var l=2&e;if(!l&&"function"!=typeof t)throw new y(os);var h=n?n.length:0;if(h||(e&=-97,n=o=ns),s=s===ns?s:Z(Zo(s),0),a=a===ns?a:Zo(a),h-=o?o.length:0,64&e){var u=n,c=o;n=o=ns}var d=l?ns:Ai(t),f=[t,e,i,n,o,u,c,r,s,a];if(d&&function(t,e){var i=t[1],n=e[1],o=i|n,r=o<131,s=128==n&&8==i||128==n&&256==i&&t[7].length<=e[8]||384==n&&e[7].length<=e[8]&&8==i;if(!r&&!s)return;1&n&&(t[2]=e[2],o|=1&i?0:4);var a=e[3];if(a){var l=t[3];t[3]=l?ii(l,a,e[4]):a,t[4]=l?_l(t[3],ss):e[4]}(a=e[5])&&(l=t[5],t[5]=l?ni(l,a,e[6]):a,t[6]=l?_l(t[5],ss):e[6]);(a=e[7])&&(t[7]=a);128&n&&(t[8]=null==t[8]?e[8]:q(t[8],e[8]));null==t[9]&&(t[9]=e[9]);t[0]=e[0],t[1]=o}(f,d),t=f[0],e=f[1],i=f[2],n=f[3],o=f[4],!(a=f[9]=f[9]===ns?l?0:t.length:Z(f[9]-h,0))&&24&e&&(e&=-25),e&&1!=e)p=8==e||16==e?function(s,a,l){var h=di(s);return function t(){for(var e=arguments.length,i=D(e),n=e,o=Fi(t);n--;)i[n]=arguments[n];var r=e<3&&i[0]!==o&&i[e-1]!==o?[]:_l(i,o);return(e-=r.length)<l?xi(s,a,_i,t.placeholder,ns,i,r,ns,ns,l-e):Aa(this&&this!==Ta&&this instanceof t?h:s,this,i)}}(t,e,a):32!=e&&33!=e||o.length?_i.apply(ns,f):function(a,t,l,h){var u=1&t,c=di(a);return function t(){for(var e=-1,i=arguments.length,n=-1,o=h.length,r=D(o+i),s=this&&this!==Ta&&this instanceof t?c:a;++n<o;)r[n]=h[n];for(;i--;)r[n++]=arguments[++e];return Aa(s,u?l:this,r)}}(t,e,i,n);else var p=function(e,t,i){var n=1&t,o=di(e);return function t(){return(this&&this!==Ta&&this instanceof t?o:e).apply(n?i:this,arguments)}}(t,e,i);return ln((d?Se:rn)(p,f),t,e)}
vendor: 1,654 bytes, line 1
1function Ei(t,e,i,n){return t===ns||vo(t,c[i])&&!w.call(n,i)?e:t}function Ci(t,e,i,n,o,r){return Io(t)&&Io(e)&&(r.set(e,t),ge(t,e,ns,Ci,r),r.delete(e)),t}function Si(t){return Fo(t)?ns:t}function Mi(t,e,i,n,o,r){var s=1&i,a=t.length,l=e.length;if(a!=l&&!(s&&a<l))return!1;var h=r.get(t),u=r.get(e);if(h&&u)return h==e&&u==t;var c=-1,d=!0,f=2&i?new kt:ns;for(r.set(t,e),r.set(e,t);++c<a;){var p=t[c],_=e[c];if(n)var m=s?n(_,p,c,e,t,r):n(p,_,c,t,e,r);if(m!==ns){if(m)continue;d=!1;break}if(f){if(!Za(e,function(t,e){if(!sl(f,e)&&(p===t||o(p,t,i,n,r)))return f.push(e)})){d=!1;break}}else if(p!==_&&!o(p,_,i,n,r)){d=!1;break}}return r.delete(t),r.delete(e),d}function Pi(t){return an(en(t,ns,xn),t+"")}function Ii(t){return Jt(t,hr,Bi)}function Oi(t){return Jt(t,ur,Yi)}var Ai=ot?function(t){return ot.get(t)}:Hr;function Ni(t){for(var e=t.name+"",i=rt[e],n=w.call(rt,e)?i.length:0;n--;){var o=i[n],r=o.func;if(null==r||r==t)return o.name}return e}function Fi(t){return(w.call(pt,"placeholder")?pt:t).placeholder}function zi(){var t=pt.iteratee||Fr;return t=t===Fr?ue:t,arguments.length?t(arguments[0],arguments[1]):t}function ji(t,e){var i=t.__data__;return function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}(e)?i["string"==typeof e?"string":"hash"]:i.map}function Ri(t){for(var e=hr(t),i=e.length;i--;){var n=e[i],o=t[n];e[i]=[n,o,Ji(o)]}return e}function Hi(t,e){var i=function(t,e){return null==t?ns:t[e]}(t,e);return he(i)?i:ns}var Bi=B?function(e){return null==e?[]:(e=_(e),Ra(B(e),function(t){return M.call(e,t)}))}:qr,Yi=B?function(t){for(var e=[];t;)Wa(e,Bi(t)),t=C(t);return e}:qr,Wi=te;
vendor: 5,497 bytes, line 1
1function Ui(t,e,i){for(var n=-1,o=(e=$e(e,t)).length,r=!1;++n<o;){var s=pn(e[n]);if(!(r=null!=t&&i(t,s)))break;t=t[s]}return r||++n!=o?r:!!(o=null==t?0:t.length)&&Po(o)&&qi(s,o)&&(xo(t)||wo(t))}function Vi(t){return"function"!=typeof t.constructor||Xi(t)?{}:_t(C(t))}function Zi(t){return xo(t)||wo(t)||!!(I&&t&&t[I])}function qi(t,e){var i=typeof t;return!!(e=null==e?as:e)&&("number"==i||"symbol"!=i&&da.test(t))&&-1<t&&t%1==0&&t<e}function $i(t,e,i){if(!Io(i))return!1;var n=typeof e;return!!("number"==n?Lo(i)&&qi(e,i.length):"string"==n&&e in i)&&vo(i[e],t)}function Gi(t,e){if(xo(t))return!1;var i=typeof t;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=t&&!Ho(t))||(Gs.test(t)||!$s.test(t)||null!=e&&t in _(e))}function Ki(t){var e=Ni(t),i=pt[e];if("function"!=typeof i||!(e in yt.prototype))return!1;if(t===i)return!0;var n=Ai(i);return!!n&&t===n[0]}(X&&Wi(new X(new ArrayBuffer(1)))!=Cs||J&&Wi(new J)!=vs||tt&&Wi(tt.resolve())!=ws||et&&Wi(new et)!=ks||it&&Wi(new it)!=Ts)&&(Wi=function(t){var e=te(t),i=e==bs?t.constructor:ns,n=i?_n(i):"";if(n)switch(n){case st:return Cs;case at:return vs;case lt:return ws;case ht:return ks;case ut:return Ts}return e});var Qi=a?So:$r;function Xi(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||c)}function Ji(t){return t==t&&!Io(t)}function tn(e,i){return function(t){return null!=t&&(t[e]===i&&(i!==ns||e in _(t)))}}function en(r,s,a){return s=Z(s===ns?r.length-1:s,0),function(){for(var t=arguments,e=-1,i=Z(t.length-s,0),n=D(i);++e<i;)n[e]=t[s+e];e=-1;for(var o=D(s+1);++e<s;)o[e]=t[e];return o[s]=a(n),Aa(r,this,o)}}function nn(t,e){return e.length<2?t:Xt(t,Ie(e,0,-1))}function on(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var rn=hn(Se),sn=j||function(t,e){return Ta.setTimeout(t,e)},an=hn(Me);function ln(t,e,i){var n=e+"";return an(t,function(t,e){var i=e.length;if(!i)return t;var n=i-1;return e[n]=(1<i?"& ":"")+e[n],e=e.join(2<i?", ":" "),t.replace(ta,"{\n/* [wrapped with "+e+"] */\n")}(n,function(i,n){return Fa(us,function(t){var e="_."+t[0];n&t[1]&&!Ha(i,e)&&i.push(e)}),i.sort()}(function(t){var e=t.match(ea);return e?e[1].split(ia):[]}(n),i)))}function hn(i){var n=0,o=0;return function(){var t=$(),e=16-(t-o);if(o=t,0<e){if(800<=++n)return arguments[0]}else n=0;return i.apply(ns,arguments)}}function un(t,e){var i=-1,n=t.length,o=n-1;for(e=e===ns?n:e;++i<e;){var r=ke(i,o),s=t[r];t[r]=t[i],t[i]=s}return t.length=e,t}var cn,dn,fn=(dn=(cn=co(function(t){var o=[];return 46===t.charCodeAt(0)&&o.push(""),t.replace(Ks,function(t,e,i,n){o.push(i?n.replace(ra,"$1"):e||t)}),o},function(t){return 500===dn.size&&dn.clear(),t})).cache,cn);function pn(t){if("string"==typeof t||Ho(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function _n(t){if(null!=t){try{return l.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function mn(t){if(t instanceof yt)return t.clone();var e=new vt(t.__wrapped__,t.__chain__);return e.__actions__=oi(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var gn=De(function(t,e){return Do(t)?Ht(t,Zt(e,1,Do,!0)):[]}),vn=De(function(t,e){var i=En(e);return Do(i)&&(i=ns),Do(t)?Ht(t,Zt(e,1,Do,!0),zi(i,2)):[]}),yn=De(function(t,e){var i=En(e);return Do(i)&&(i=ns),Do(t)?Ht(t,Zt(e,1,Do,!0),ns,i):[]});function bn(t,e,i){var n=null==t?0:t.length;if(!n)return-1;var o=null==i?0:Zo(i);return o<0&&(o=Z(n+o,0)),$a(t,zi(e,3),o)}function wn(t,e,i){var n=null==t?0:t.length;if(!n)return-1;var o=n-1;return i!==ns&&(o=Zo(i),o=i<0?Z(n+o,0):q(o,n-1)),$a(t,zi(e,3),o,!0)}function xn(t){return(null==t?0:t.length)?Zt(t,1):[]}function kn(t){return t&&t.length?t[0]:ns}var Ln=De(function(t){var e=Ya(t,Ze);return e.length&&e[0]===t[0]?oe(e):[]}),Dn=De(function(t){var e=En(t),i=Ya(t,Ze);return e===En(i)?e=ns:i.pop(),i.length&&i[0]===t[0]?oe(i,zi(e,2)):[]}),Tn=De(function(t){var e=En(t),i=Ya(t,Ze);return(e="function"==typeof e?e:ns)&&i.pop(),i.length&&i[0]===t[0]?oe(i,ns,e):[]});function En(t){var e=null==t?0:t.length;return e?t[e-1]:ns}var Cn=De(Sn);function Sn(t,e){return t&&t.length&&e&&e.length?we(t,e):t}var Mn=Pi(function(t,e){var i=null==t?0:t.length,n=Nt(t,e);return xe(t,Ya(e,function(t){return qi(t,i)?+t:t}).sort(ei)),n});function Pn(t){return null==t?t:Q.call(t)}var In=De(function(t){return Re(Zt(t,1,Do,!0))}),On=De(function(t){var e=En(t);return Do(e)&&(e=ns),Re(Zt(t,1,Do,!0),zi(e,2))}),An=De(function(t){var e=En(t);return e="function"==typeof e?e:ns,Re(Zt(t,1,Do,!0),ns,e)});function Nn(e){if(!e||!e.length)return[];var i=0;return e=Ra(e,function(t){if(Do(t))return i=Z(t.length,i),!0}),il(i,function(t){return Ya(e,Ja(t))})}function Fn(t,e){if(!t||!t.length)return[];var i=Nn(t);return null==e?i:Ya(i,function(t){return Aa(e,ns,t)})}var zn=De(function(t,e){return Do(t)?Ht(t,e):[]}),jn=De(function(t){return Ue(Ra(t,Do))}),Rn=De(function(t){var e=En(t);return Do(e)&&(e=ns),Ue(Ra(t,Do),zi(e,2))}),Hn=De(function(t){var e=En(t);return e="function"==typeof e?e:ns,Ue(Ra(t,Do),ns,e)}),Bn=De(Nn);var Yn=De(function(t){var e=t.length,i=1<e?t[e-1]:ns;return i="function"==typeof i?(t.pop(),i):ns,Fn(t,i)});function Wn(t){var e=pt(t);return e.__chain__=!0,e}function Un(t,e){return e(t)}var Vn=Pi(function(e){function t(t){return Nt(t,e)}var i=e.length,n=i?e[0]:0,o=this.__wrapped__;return!(1<i||this.__actions__.length)&&o instanceof yt&&qi(n)?((o=o.slice(n,+n+(i?1:0))).__actions__.push({func:Un,args:[t],thisArg:ns}),new vt(o,this.__chain__).thru(function(t){return i&&!t.length&&t.push(ns),t})):this.thru(t)});
vendor: 5,362 bytes, line 1
1var Zn=si(function(t,e,i){w.call(t,i)?++t[i]:At(t,i,1)});var qn=fi(bn),$n=fi(wn);function Gn(t,e){return(xo(t)?Fa:Bt)(t,zi(e,3))}function Kn(t,e){return(xo(t)?za:Yt)(t,zi(e,3))}var Qn=si(function(t,e,i){w.call(t,i)?t[i].push(e):At(t,i,[e])});var Xn=De(function(t,e,i){var n=-1,o="function"==typeof e,r=Lo(t)?D(t.length):[];return Bt(t,function(t){r[++n]=o?Aa(e,t,i):re(t,e,i)}),r}),Jn=si(function(t,e,i){At(t,i,e)});function to(t,e){return(xo(t)?Ya:pe)(t,zi(e,3))}var eo=si(function(t,e,i){t[i?0:1].push(e)},function(){return[[],[]]});var io=De(function(t,e){if(null==t)return[];var i=e.length;return 1<i&&$i(t,e[0],e[1])?e=[]:2<i&&$i(e[0],e[1],e[2])&&(e=[e[0]]),ye(t,Zt(e,1),[])}),no=z||function(){return Ta.Date.now()};function oo(t,e,i){return e=i?ns:e,e=t&&null==e?t.length:e,Ti(t,128,ns,ns,ns,ns,e)}function ro(t,e){var i;if("function"!=typeof e)throw new y(os);return t=Zo(t),function(){return 0<--t&&(i=e.apply(this,arguments)),t<=1&&(e=ns),i}}var so=De(function(t,e,i){var n=1;if(i.length){var o=_l(i,Fi(so));n|=32}return Ti(t,n,e,i,o)}),ao=De(function(t,e,i){var n=3;if(i.length){var o=_l(i,Fi(ao));n|=32}return Ti(e,n,t,i,o)});function lo(n,i,t){var o,r,s,a,l,h,u=0,c=!1,d=!1,e=!0;if("function"!=typeof n)throw new y(os);function f(t){var e=o,i=r;return o=r=ns,u=t,a=n.apply(i,e)}function p(t){var e=t-h;return h===ns||i<=e||e<0||d&&s<=t-u}function _(){var t=no();if(p(t))return m(t);l=sn(_,function(t){var e=i-(t-h);return d?q(e,s-(t-u)):e}(t))}function m(t){return l=ns,e&&o?f(t):(o=r=ns,a)}function g(){var t=no(),e=p(t);if(o=arguments,r=this,h=t,e){if(l===ns)return function(t){return u=t,l=sn(_,i),c?f(t):a}(h);if(d)return Qe(l),l=sn(_,i),f(h)}return l===ns&&(l=sn(_,i)),a}return i=$o(i)||0,Io(t)&&(c=!!t.leading,s=(d="maxWait"in t)?Z($o(t.maxWait)||0,i):s,e="trailing"in t?!!t.trailing:e),g.cancel=function(){l!==ns&&Qe(l),u=0,o=h=r=l=ns},g.flush=function(){return l===ns?a:m(no())},g}var ho=De(function(t,e){return Rt(t,1,e)}),uo=De(function(t,e,i){return Rt(t,$o(e)||0,i)});function co(o,r){if("function"!=typeof o||null!=r&&"function"!=typeof r)throw new y(os);var s=function(){var t=arguments,e=r?r.apply(this,t):t[0],i=s.cache;if(i.has(e))return i.get(e);var n=o.apply(this,t);return s.cache=i.set(e,n)||i,n};return s.cache=new(co.Cache||xt),s}function fo(e){if("function"!=typeof e)throw new y(os);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}co.Cache=xt;var po=Ge(function(n,o){var r=(o=1==o.length&&xo(o[0])?Ya(o[0],ol(zi())):Ya(Zt(o,1),ol(zi()))).length;return De(function(t){for(var e=-1,i=q(t.length,r);++e<i;)t[e]=o[e].call(this,t[e]);return Aa(n,this,t)})}),_o=De(function(t,e){var i=_l(e,Fi(_o));return Ti(t,32,ns,e,i)}),mo=De(function(t,e){var i=_l(e,Fi(mo));return Ti(t,64,ns,e,i)}),go=Pi(function(t,e){return Ti(t,256,ns,ns,ns,e)});function vo(t,e){return t===e||t!=t&&e!=e}var yo=wi(ee),bo=wi(function(t,e){return e<=t}),wo=se(function(){return arguments}())?se:function(t){return Oo(t)&&w.call(t,"callee")&&!M.call(t,"callee")},xo=D.isArray,ko=Ca?ol(Ca):function(t){return Oo(t)&&te(t)==Es};function Lo(t){return null!=t&&Po(t.length)&&!So(t)}function Do(t){return Oo(t)&&Lo(t)}var To=Y||$r,Eo=Sa?ol(Sa):function(t){return Oo(t)&&te(t)==ps};function Co(t){if(!Oo(t))return!1;var e=te(t);return e==_s||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!Fo(t)}function So(t){if(!Io(t))return!1;var e=te(t);return e==ms||e==gs||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Mo(t){return"number"==typeof t&&t==Zo(t)}function Po(t){return"number"==typeof t&&-1<t&&t%1==0&&t<=as}function Io(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Oo(t){return null!=t&&"object"==typeof t}var Ao=Ma?ol(Ma):function(t){return Oo(t)&&Wi(t)==vs};function No(t){return"number"==typeof t||Oo(t)&&te(t)==ys}function Fo(t){if(!Oo(t)||te(t)!=bs)return!1;var e=C(t);if(null===e)return!0;var i=w.call(e,"constructor")&&e.constructor;return"function"==typeof i&&i instanceof i&&l.call(i)==p}var zo=Pa?ol(Pa):function(t){return Oo(t)&&te(t)==xs};var jo=Ia?ol(Ia):function(t){return Oo(t)&&Wi(t)==ks};function Ro(t){return"string"==typeof t||!xo(t)&&Oo(t)&&te(t)==Ls}function Ho(t){return"symbol"==typeof t||Oo(t)&&te(t)==Ds}var Bo=Oa?ol(Oa):function(t){return Oo(t)&&Po(t.length)&&!!xa[te(t)]};var Yo=wi(fe),Wo=wi(function(t,e){return t<=e});function Uo(t){if(!t)return[];if(Lo(t))return Ro(t)?vl(t):oi(t);if(O&&t[O])return function(t){for(var e,i=[];!(e=t.next()).done;)i.push(e.value);return i}(t[O]());var e=Wi(t);return(e==vs?fl:e==ks?ml:vr)(t)}function Vo(t){return t?(t=$o(t))!==1/0&&t!==-1/0?t==t?t:0:17976931348623157e292*(t<0?-1:1):0===t?t:0}function Zo(t){var e=Vo(t),i=e%1;return e==e?i?e-i:e:0}function qo(t){return t?Ft(Zo(t),0,hs):0}function $o(t){if("number"==typeof t)return t;if(Ho(t))return ls;if(Io(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Io(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=nl(t);var i=ha.test(t);return i||ca.test(t)?Da(t.slice(2),i?2:8):la.test(t)?ls:+t}function Go(t){return ri(t,ur(t))}function Ko(t){return null==t?"":je(t)}var Qo=ai(function(t,e){if(Xi(e)||Lo(e))ri(e,hr(e),t);else for(var i in e)w.call(e,i)&&Mt(t,i,e[i])}),Xo=ai(function(t,e){ri(e,ur(e),t)}
vendor: 4,940 bytes, line 1
1),Jo=ai(function(t,e,i,n){ri(e,ur(e),t,n)}),tr=ai(function(t,e,i,n){ri(e,hr(e),t,n)}),er=Pi(Nt);var ir=De(function(t,e){t=_(t);var i=-1,n=e.length,o=2<n?e[2]:ns;for(o&&$i(e[0],e[1],o)&&(n=1);++i<n;)for(var r=e[i],s=ur(r),a=-1,l=s.length;++a<l;){var h=s[a],u=t[h];(u===ns||vo(u,c[h])&&!w.call(t,h))&&(t[h]=r[h])}return t}),nr=De(function(t){return t.push(ns,Ci),Aa(dr,ns,t)});function or(t,e,i){var n=null==t?ns:Xt(t,e);return n===ns?i:n}function rr(t,e){return null!=t&&Ui(t,e,ne)}var sr=mi(function(t,e,i){null!=e&&"function"!=typeof e.toString&&(e=f.call(e)),t[e]=i},Ir(Nr)),ar=mi(function(t,e,i){null!=e&&"function"!=typeof e.toString&&(e=f.call(e)),w.call(t,e)?t[e].push(i):t[e]=[i]},zi),lr=De(re);function hr(t){return Lo(t)?Dt(t):ce(t)}function ur(t){return Lo(t)?Dt(t,!0):de(t)}var cr=ai(function(t,e,i){ge(t,e,i)}),dr=ai(function(t,e,i,n){ge(t,e,i,n)}),fr=Pi(function(e,t){var i={};if(null==e)return i;var n=!1;t=Ya(t,function(t){return t=$e(t,e),n=n||1<t.length,t}),ri(e,Oi(e),i),n&&(i=zt(i,7,Si));for(var o=t.length;o--;)He(i,t[o]);return i});var pr=Pi(function(t,e){return null==t?{}:function(i,t){return be(i,t,function(t,e){return rr(i,e)})}(t,e)});function _r(t,i){if(null==t)return{};var e=Ya(Oi(t),function(t){return[t]});return i=zi(i),be(t,e,function(t,e){return i(t,e[0])})}var mr=Di(hr),gr=Di(ur);function vr(t){return null==t?[]:rl(t,hr(t))}var yr=ci(function(t,e,i){return e=e.toLowerCase(),t+(i?br(e):e)});function br(t){return Cr(Ko(t).toLowerCase())}function wr(t){return(t=Ko(t))&&t.replace(fa,hl).replace(ga,"")}var xr=ci(function(t,e,i){return t+(i?"-":"")+e.toLowerCase()}),kr=ci(function(t,e,i){return t+(i?" ":"")+e.toLowerCase()}),Lr=ui("toLowerCase");var Dr=ci(function(t,e,i){return t+(i?"_":"")+e.toLowerCase()});var Tr=ci(function(t,e,i){return t+(i?" ":"")+Cr(e)});var Er=ci(function(t,e,i){return t+(i?" ":"")+e.toUpperCase()}),Cr=ui("toUpperCase");function Sr(t,e,i){return t=Ko(t),(e=i?ns:e)===ns?function(t){return ya.test(t)}(t)?function(t){return t.match(va)||[]}(t):function(t){return t.match(na)||[]}(t):t.match(e)||[]}var Mr=De(function(t,e){try{return Aa(t,ns,e)}catch(t){return Co(t)?t:new m(t)}}),Pr=Pi(function(e,t){return Fa(t,function(t){t=pn(t),At(e,t,so(e[t],e))}),e});function Ir(t){return function(){return t}}var Or=pi(),Ar=pi(!0);function Nr(t){return t}function Fr(t){return ue("function"==typeof t?t:zt(t,1))}var zr=De(function(e,i){return function(t){return re(t,e,i)}}),jr=De(function(e,i){return function(t){return re(e,t,i)}});function Rr(n,e,t){var i=hr(e),o=Qt(e,i);null!=t||Io(e)&&(o.length||!i.length)||(t=e,e=n,n=this,o=Qt(e,hr(e)));var r=!(Io(t)&&"chain"in t&&!t.chain),s=So(n);return Fa(o,function(t){var i=e[t];n[t]=i,s&&(n.prototype[t]=function(){var t=this.__chain__;if(r||t){var e=n(this.__wrapped__);return(e.__actions__=oi(this.__actions__)).push({func:i,args:arguments,thisArg:n}),e.__chain__=t,e}return i.apply(n,Wa([this.value()],arguments))})}),n}function Hr(){}var Br=vi(Ya),Yr=vi(ja),Wr=vi(Za);function Ur(t){return Gi(t)?Ja(pn(t)):function(e){return function(t){return Xt(t,e)}}(t)}var Vr=bi(),Zr=bi(!0);function qr(){return[]}function $r(){return!1}var Gr=gi(function(t,e){return t+e},0),Kr=ki("ceil"),Qr=gi(function(t,e){return t/e},1),Xr=ki("floor");var Jr,ts=gi(function(t,e){return t*e},1),es=ki("round"),is=gi(function(t,e){return t-e},0);return pt.after=function(t,e){if("function"!=typeof e)throw new y(os);return t=Zo(t),function(){if(--t<1)return e.apply(this,arguments)}},pt.ary=oo,pt.assign=Qo,pt.assignIn=Xo,pt.assignInWith=Jo,pt.assignWith=tr,pt.at=er,pt.before=ro,pt.bind=so,pt.bindAll=Pr,pt.bindKey=ao,pt.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return xo(t)?t:[t]},pt.chain=Wn,pt.chunk=function(t,e,i){e=(i?$i(t,e,i):e===ns)?1:Z(Zo(e),0);var n=null==t?0:t.length;if(!n||e<1)return[];for(var o=0,r=0,s=D(R(n/e));o<n;)s[r++]=Ie(t,o,o+=e);return s},pt.compact=function(t){for(var e=-1,i=null==t?0:t.length,n=0,o=[];++e<i;){var r=t[e];r&&(o[n++]=r)}return o},pt.concat=function(){var t=arguments.length;if(!t)return[];for(var e=D(t-1),i=arguments[0],n=t;n--;)e[n-1]=arguments[n];return Wa(xo(i)?oi(i):[i],Zt(e,1))},pt.cond=function(n){var o=null==n?0:n.length,e=zi();return n=o?Ya(n,function(t){if("function"!=typeof t[1])throw new y(os);return[e(t[0]),t[1]]}):[],De(function(t){for(var e=-1;++e<o;){var i=n[e];if(Aa(i[0],this,t))return Aa(i[1],this,t)}})},pt.conforms=function(t){return function(e){var i=hr(e);return function(t){return jt(t,e,i)}}(zt(t,1))},pt.constant=Ir,pt.countBy=Zn,pt.create=function(t,e){var i=_t(t);return null==e?i:Ot(i,e)},pt.curry=function t(e,i,n){var o=Ti(e,8,ns,ns,ns,ns,ns,i=n?ns:i);return o.placeholder=t.placeholder,o},pt.curryRight=function t(e,i,n){var o=Ti(e,16,ns,ns,ns,ns,ns,i=n?ns:i);return o.placeholder=t.placeholder,o},pt.debounce=lo,pt.defaults=ir,pt.defaultsDeep=nr,pt.defer=ho,pt.delay=uo,pt.difference=gn,pt.differenceBy=vn,pt.differenceWith=yn,pt.drop=function(t,e,
vendor: 17,053 bytes, line 1
1i){var n=null==t?0:t.length;return n?Ie(t,(e=i||e===ns?1:Zo(e))<0?0:e,n):[]},pt.dropRight=function(t,e,i){var n=null==t?0:t.length;return n?Ie(t,0,(e=n-(e=i||e===ns?1:Zo(e)))<0?0:e):[]},pt.dropRightWhile=function(t,e){return t&&t.length?Ye(t,zi(e,3),!0,!0):[]},pt.dropWhile=function(t,e){return t&&t.length?Ye(t,zi(e,3),!0):[]},pt.fill=function(t,e,i,n){var o=null==t?0:t.length;return o?(i&&"number"!=typeof i&&$i(t,e,i)&&(i=0,n=o),function(t,e,i,n){var o=t.length;for((i=Zo(i))<0&&(i=o<-i?0:o+i),(n=n===ns||o<n?o:Zo(n))<0&&(n+=o),n=n<i?0:qo(n);i<n;)t[i++]=e;return t}(t,e,i,n)):[]},pt.filter=function(t,e){return(xo(t)?Ra:Vt)(t,zi(e,3))},pt.flatMap=function(t,e){return Zt(to(t,e),1)},pt.flatMapDeep=function(t,e){return Zt(to(t,e),1/0)},pt.flatMapDepth=function(t,e,i){return i=i===ns?1:Zo(i),Zt(to(t,e),i)},pt.flatten=xn,pt.flattenDeep=function(t){return(null==t?0:t.length)?Zt(t,1/0):[]},pt.flattenDepth=function(t,e){return(null==t?0:t.length)?Zt(t,e=e===ns?1:Zo(e)):[]},pt.flip=function(t){return Ti(t,512)},pt.flow=Or,pt.flowRight=Ar,pt.fromPairs=function(t){for(var e=-1,i=null==t?0:t.length,n={};++e<i;){var o=t[e];n[o[0]]=o[1]}return n},pt.functions=function(t){return null==t?[]:Qt(t,hr(t))},pt.functionsIn=function(t){return null==t?[]:Qt(t,ur(t))},pt.groupBy=Qn,pt.initial=function(t){return(null==t?0:t.length)?Ie(t,0,-1):[]},pt.intersection=Ln,pt.intersectionBy=Dn,pt.intersectionWith=Tn,pt.invert=sr,pt.invertBy=ar,pt.invokeMap=Xn,pt.iteratee=Fr,pt.keyBy=Jn,pt.keys=hr,pt.keysIn=ur,pt.map=to,pt.mapKeys=function(t,n){var o={};return n=zi(n,3),Gt(t,function(t,e,i){At(o,n(t,e,i),t)}),o},pt.mapValues=function(t,n){var o={};return n=zi(n,3),Gt(t,function(t,e,i){At(o,e,n(t,e,i))}),o},pt.matches=function(t){return _e(zt(t,1))},pt.matchesProperty=function(t,e){return me(t,zt(e,1))},pt.memoize=co,pt.merge=cr,pt.mergeWith=dr,pt.method=zr,pt.methodOf=jr,pt.mixin=Rr,pt.negate=fo,pt.nthArg=function(e){return e=Zo(e),De(function(t){return ve(t,e)})},pt.omit=fr,pt.omitBy=function(t,e){return _r(t,fo(zi(e)))},pt.once=function(t){return ro(2,t)},pt.orderBy=function(t,e,i,n){return null==t?[]:(xo(e)||(e=null==e?[]:[e]),xo(i=n?ns:i)||(i=null==i?[]:[i]),ye(t,e,i))},pt.over=Br,pt.overArgs=po,pt.overEvery=Yr,pt.overSome=Wr,pt.partial=_o,pt.partialRight=mo,pt.partition=eo,pt.pick=pr,pt.pickBy=_r,pt.property=Ur,pt.propertyOf=function(e){return function(t){return null==e?ns:Xt(e,t)}},pt.pull=Cn,pt.pullAll=Sn,pt.pullAllBy=function(t,e,i){return t&&t.length&&e&&e.length?we(t,e,zi(i,2)):t},pt.pullAllWith=function(t,e,i){return t&&t.length&&e&&e.length?we(t,e,ns,i):t},pt.pullAt=Mn,pt.range=Vr,pt.rangeRight=Zr,pt.rearg=go,pt.reject=function(t,e){return(xo(t)?Ra:Vt)(t,fo(zi(e,3)))},pt.remove=function(t,e){var i=[];if(!t||!t.length)return i;var n=-1,o=[],r=t.length;for(e=zi(e,3);++n<r;){var s=t[n];e(s,n,t)&&(i.push(s),o.push(n))}return xe(t,o),i},pt.rest=function(t,e){if("function"!=typeof t)throw new y(os);return De(t,e=e===ns?e:Zo(e))},pt.reverse=Pn,pt.sampleSize=function(t,e,i){return e=(i?$i(t,e,i):e===ns)?1:Zo(e),(xo(t)?Et:Ee)(t,e)},pt.set=function(t,e,i){return null==t?t:Ce(t,e,i)},pt.setWith=function(t,e,i,n){return n="function"==typeof n?n:ns,null==t?t:Ce(t,e,i,n)},pt.shuffle=function(t){return(xo(t)?Ct:Pe)(t)},pt.slice=function(t,e,i){var n=null==t?0:t.length;return n?(i=i&&"number"!=typeof i&&$i(t,e,i)?(e=0,n):(e=null==e?0:Zo(e),i===ns?n:Zo(i)),Ie(t,e,i)):[]},pt.sortBy=io,pt.sortedUniq=function(t){return t&&t.length?Fe(t):[]},pt.sortedUniqBy=function(t,e){return t&&t.length?Fe(t,zi(e,2)):[]},pt.split=function(t,e,i){return i&&"number"!=typeof i&&$i(t,e,i)&&(e=i=ns),(i=i===ns?hs:i>>>0)?(t=Ko(t))&&("string"==typeof e||null!=e&&!zo(e))&&!(e=je(e))&&dl(t)?Ke(vl(t),0,i):t.split(e,i):[]},pt.spread=function(n,o){if("function"!=typeof n)throw new y(os);return o=null==o?0:Z(Zo(o),0),De(function(t){var e=t[o],i=Ke(t,0,o);return e&&Wa(i,e),Aa(n,this,i)})},pt.tail=function(t){var e=null==t?0:t.length;return e?Ie(t,1,e):[]},pt.take=function(t,e,i){return t&&t.length?Ie(t,0,(e=i||e===ns?1:Zo(e))<0?0:e):[]},pt.takeRight=function(t,e,i){var n=null==t?0:t.length;return n?Ie(t,(e=n-(e=i||e===ns?1:Zo(e)))<0?0:e,n):[]},pt.takeRightWhile=function(t,e){return t&&t.length?Ye(t,zi(e,3),!1,!0):[]},pt.takeWhile=function(t,e){return t&&t.length?Ye(t,zi(e,3)):[]},pt.tap=function(t,e){return e(t),t},pt.throttle=function(t,e,i){var n=!0,o=!0;if("function"!=typeof t)throw new y(os);return Io(i)&&(n="leading"in i?!!i.leading:n,o="trailing"in i?!!i.trailing:o),lo(t,e,{leading:n,maxWait:e,trailing:o})},pt.thru=Un,pt.toArray=Uo,pt.toPairs=mr,pt.toPairsIn=gr,pt.toPath=function(t){return xo(t)?Ya(t,pn):Ho(t)?[t]:oi(fn(Ko(t)))},pt.toPlainObject=Go,pt.transform=function(t,n,o){var e=xo(t),i=e||To(t)||Bo(t);if(n=zi(n,4),null==o){var r=t&&t.constructor;o=i?e?new r:[]:Io(t)&&So(r)?_t(C(t)):{}}return(i?Fa:Gt)(t,function(t,e,i){return n(o,t,e,i)}),o},pt.unary=function(t){return oo(t,1)},pt.union=In,pt.unionBy=On,pt.unionWith=An,pt.uniq=function(t){return t&&t.length?Re(t):[]},pt.uniqBy=function(t,e){return t&&t.length?Re(t,zi(e,2)):[]},pt.uniqWith=function(t,e){return e="function"==typeof e?e:ns,t&&t.length?Re(t,ns,e):[]},pt.unset=function(t,e){return null==t||He(t,e)},pt.unzip=Nn,pt.unzipWith=Fn,pt.update=function(t,e,i){return null==t?t:Be(t,e,qe(i))},pt.updateWith=function(t,e,i,n){return n="function"==typeof n?n:ns,null==t?t:Be(t,e,qe(i),n)},pt.values=vr,pt.valuesIn=function(t){return null==t?[]:rl(t,ur(t))},pt.without=zn,pt.words=Sr,pt.wrap=function(t,e){return _o(qe(e),t)},pt.xor=jn,pt.xorBy=Rn,pt.xorWith=Hn,pt.zip=Bn,pt.zipObject=function(t,e){return Ve(t||[],e||[],Mt)},pt.zipObjectDeep=function(t,e){return Ve(t||[],e||[],Ce)},pt.zipWith=Yn,pt.entries=mr,pt.entriesIn=gr,pt.extend=Xo,pt.extendWith=Jo,Rr(pt,pt),pt.add=Gr,pt.attempt=Mr,pt.camelCase=yr,pt.capitalize=br,pt.ceil=Kr,pt.clamp=function(t,e,i){return i===ns&&(i=e,e=ns),i!==ns&&(i=(i=$o(i))==i?i:0),e!==ns&&(e=(e=$o(e))==e?e:0),Ft($o(t),e,i)},pt.clone=function(t){return zt(t,4)},pt.cloneDeep=function(t){return zt(t,5)},pt.cloneDeepWith=function(t,e){return zt(t,5,e="function"==typeof e?e:ns)},pt.cloneWith=function(t,e){return zt(t,4,e="function"==typeof e?e:ns)},pt.conformsTo=function(t,e){return null==e||jt(t,e,hr(e))},pt.deburr=wr,pt.defaultTo=function(t,e){return null==t||t!=t?e:t},pt.divide=Qr,pt.endsWith=function(t,e,i){t=Ko(t),e=je(e);var n=t.length,o=i=i===ns?n:Ft(Zo(i),0,n);return 0<=(i-=e.length)&&t.slice(i,o)==e},pt.eq=vo,pt.escape=function(t){return(t=Ko(t))&&Us.test(t)?t.replace(Ys,ul):t},pt.escapeRegExp=function(t){return(t=Ko(t))&&Xs.test(t)?t.replace(Qs,"\\$&"):t},pt.every=function(t,e,i){var n=xo(t)?ja:Wt;return i&&$i(t,e,i)&&(e=ns),n(t,zi(e,3))},pt.find=qn,pt.findIndex=bn,pt.findKey=function(t,e){return qa(t,zi(e,3),Gt)},pt.findLast=$n,pt.findLastIndex=wn,pt.findLastKey=function(t,e){return qa(t,zi(e,3),Kt)},pt.floor=Xr,pt.forEach=Gn,pt.forEachRight=Kn,pt.forIn=function(t,e){return null==t?t:qt(t,zi(e,3),ur)},pt.forInRight=function(t,e){return null==t?t:$t(t,zi(e,3),ur)},pt.forOwn=function(t,e){return t&&Gt(t,zi(e,3))},pt.forOwnRight=function(t,e){return t&&Kt(t,zi(e,3))},pt.get=or,pt.gt=yo,pt.gte=bo,pt.has=function(t,e){return null!=t&&Ui(t,e,ie)},pt.hasIn=rr,pt.head=kn,pt.identity=Nr,pt.includes=function(t,e,i,n){t=Lo(t)?t:vr(t),i=i&&!n?Zo(i):0;var o=t.length;return i<0&&(i=Z(o+i,0)),Ro(t)?i<=o&&-1<t.indexOf(e,i):!!o&&-1<Ga(t,e,i)},pt.indexOf=function(t,e,i){var n=null==t?0:t.length;if(!n)return-1;var o=null==i?0:Zo(i);return o<0&&(o=Z(n+o,0)),Ga(t,e,o)},pt.inRange=function(t,e,i){return e=Vo(e),i===ns?(i=e,e=0):i=Vo(i),function(t,e,i){return t>=q(e,i)&&t<Z(e,i)}(t=$o(t),e,i)},pt.invoke=lr,pt.isArguments=wo,pt.isArray=xo,pt.isArrayBuffer=ko,pt.isArrayLike=Lo,pt.isArrayLikeObject=Do,pt.isBoolean=function(t){return!0===t||!1===t||Oo(t)&&te(t)==fs},pt.isBuffer=To,pt.isDate=Eo,pt.isElement=function(t){return Oo(t)&&1===t.nodeType&&!Fo(t)},pt.isEmpty=function(t){if(null==t)return!0;if(Lo(t)&&(xo(t)||"string"==typeof t||"function"==typeof t.splice||To(t)||Bo(t)||wo(t)))return!t.length;var e=Wi(t);if(e==vs||e==ks)return!t.size;if(Xi(t))return!ce(t).length;for(var i in t)if(w.call(t,i))return!1;return!0},pt.isEqual=function(t,e){return ae(t,e)},pt.isEqualWith=function(t,e,i){var n=(i="function"==typeof i?i:ns)?i(t,e):ns;return n===ns?ae(t,e,ns,i):!!n},pt.isError=Co,pt.isFinite=function(t){return"number"==typeof t&&W(t)},pt.isFunction=So,pt.isInteger=Mo,pt.isLength=Po,pt.isMap=Ao,pt.isMatch=function(t,e){return t===e||le(t,e,Ri(e))},pt.isMatchWith=function(t,e,i){return i="function"==typeof i?i:ns,le(t,e,Ri(e),i)},pt.isNaN=function(t){return No(t)&&t!=+t},pt.isNative=function(t){if(Qi(t))throw new m("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return he(t)},pt.isNil=function(t){return null==t},pt.isNull=function(t){return null===t},pt.isNumber=No,pt.isObject=Io,pt.isObjectLike=Oo,pt.isPlainObject=Fo,pt.isRegExp=zo,pt.isSafeInteger=function(t){return Mo(t)&&-as<=t&&t<=as},pt.isSet=jo,pt.isString=Ro,pt.isSymbol=Ho,pt.isTypedArray=Bo,pt.isUndefined=function(t){return t===ns},pt.isWeakMap=function(t){return Oo(t)&&Wi(t)==Ts},pt.isWeakSet=function(t){return Oo(t)&&"[object WeakSet]"==te(t)},pt.join=function(t,e){return null==t?"":U.call(t,e)},pt.kebabCase=xr,pt.last=En,pt.lastIndexOf=function(t,e,i){var n=null==t?0:t.length;if(!n)return-1;var o=n;return i!==ns&&(o=(o=Zo(i))<0?Z(n+o,0):q(o,n-1)),e==e?function(t,e,i){for(var n=i+1;n--;)if(t[n]===e)return n;return n}(t,e,o):$a(t,Qa,o,!0)},pt.lowerCase=kr,pt.lowerFirst=Lr,pt.lt=Yo,pt.lte=Wo,pt.max=function(t){return t&&t.length?Ut(t,Nr,ee):ns},pt.maxBy=function(t,e){return t&&t.length?Ut(t,zi(e,2),ee):ns},pt.mean=function(t){return Xa(t,Nr)},pt.meanBy=function(t,e){return Xa(t,zi(e,2))},pt.min=function(t){return t&&t.length?Ut(t,Nr,fe):ns},pt.minBy=function(t,e){return t&&t.length?Ut(t,zi(e,2),fe):ns},pt.stubArray=qr,pt.stubFalse=$r,pt.stubObject=function(){return{}},pt.stubString=function(){return""},pt.stubTrue=function(){return!0},pt.multiply=ts,pt.nth=function(t,e){return t&&t.length?ve(t,Zo(e)):ns},pt.noConflict=function(){return Ta._===this&&(Ta._=b),this},pt.noop=Hr,pt.now=no,pt.pad=function(t,e,i){t=Ko(t);var n=(e=Zo(e))?gl(t):0;if(!e||e<=n)return t;var o=(e-n)/2;return yi(H(o),i)+t+yi(R(o),i)},pt.padEnd=function(t,e,i){t=Ko(t);var n=(e=Zo(e))?gl(t):0;return e&&n<e?t+yi(e-n,i):t},pt.padStart=function(t,e,i){t=Ko(t);var n=(e=Zo(e))?gl(t):0;return e&&n<e?yi(e-n,i)+t:t},pt.parseInt=function(t,e,i){return e=i||null==e?0:e&&+e,G(Ko(t).replace(Js,""),e||0)},pt.random=function(t,e,i){if(i&&"boolean"!=typeof i&&$i(t,e,i)&&(e=i=ns),i===ns&&("boolean"==typeof e?(i=e,e=ns):"boolean"==typeof t&&(i=t,t=ns)),t===ns&&e===ns?(t=0,e=1):(t=Vo(t),e===ns?(e=t,t=0):e=Vo(e)),e<t){var n=t;t=e,e=n}if(i||t%1||e%1){var o=K();return q(t+o*(e-t+La("1e-"+((o+"").length-1))),e)}return ke(t,e)},pt.reduce=function(t,e,i){var n=xo(t)?Ua:tl,o=arguments.length<3;return n(t,zi(e,4),i,o,Bt)},pt.reduceRight=function(t,e,i){var n=xo(t)?Va:tl,o=arguments.length<3;return n(t,zi(e,4),i,o,Yt)},pt.repeat=function(t,e,i){return e=(i?$i(t,e,i):e===ns)?1:Zo(e),Le(Ko(t),e)},pt.replace=function(){var t=arguments,e=Ko(t[0]);return t.length<3?e:e.replace(t[1],t[2])},pt.result=function(t,e,i){var n=-1,o=(e=$e(e,t)).length;for(o||(o=1,t=ns);++n<o;){var r=null==t?ns:t[pn(e[n])];r===ns&&(n=o,r=i),t=So(r)?r.call(t):r}return t},pt.round=es,pt.runInContext=t,pt.sample=function(t){return(xo(t)?Tt:Te)(t)},pt.size=function(t){if(null==t)return 0;if(Lo(t))return Ro(t)?gl(t):t.length;var e=Wi(t);return e==vs||e==ks?t.size:ce(t).length},pt.snakeCase=Dr,pt.some=function(t,e,i){var n=xo(t)?Za:Oe;return i&&$i(t,e,i)&&(e=ns),n(t,zi(e,3))},pt.sortedIndex=function(t,e){return Ae(t,e)},pt.sortedIndexBy=function(t,e,i){return Ne(t,e,zi(i,2))},pt.sortedIndexOf=function(t,e){var i=null==t?0:t.length;if(i){var n=Ae(t,e);if(n<i&&vo(t[n],e))return n}return-1},pt.sortedLastIndex=function(t,e){return Ae(t,e,!0)},pt.sortedLastIndexBy=function(t,e,i){return Ne(t,e,zi(i,2),!0)},pt.sortedLastIndexOf=function(t,e){if(null==t?0:t.length){var i=Ae(t,e,!0)-1;if(vo(t[i],e))return i}return-1},pt.startCase=Tr,pt.startsWith=function(t,e,i){return t=Ko(t),i=null==i?0:Ft(Zo(i),0,t.length),e=je(e),t.slice(i,i+e.length)==e},pt.subtract=is,pt.sum=function(t){return t&&t.length?el(t,Nr):0},pt.sumBy=function(t,e){return t&&t.length?el(t,zi(e,2)):0},pt.template=function(s,t,e){var i=pt.templateSettings;e&&$i(s,t,e)&&(t=ns),s=Ko(s),t=Jo({},t,i,Ei);var a,l,n=Jo({},t.imports,i.imports,Ei),o=hr(n),r=rl(n,o),h=0,u=t.interpolate||pa,c="__p += '",d=v((t.escape||pa).source+"|"+u.source+"|"+(u===qs?sa:pa).source+"|"+(t.evaluate||pa).source+"|$","g"),f="//# sourceURL="+(w.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++wa+"]")+"\n";s.replace(d,function(t,e,i,n,o,r){return i=i||n,c+=s.slice(h,r).replace(_a,cl),e&&(a=!0,c+="' +\n__e("+e+") +\n'"),o&&(l=!0,c+="';\n"+o+";\n__p += '"),i&&(c+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),h=r+t.length,t}),c+="';\n";var p=w.call(t,"variable")&&t.variable;if(p){if(oa.test(p))throw new m("Invalid `variable` option passed into `_.template`")}else c="with (obj) {\n"+c+"\n}\n";c=(l?c.replace(js,""):c).replace(Rs,"$1").replace(Hs,"$1;"),c="function("+(p||"obj")+") {\n"+(p?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(l?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+c+"return __p\n}";var _=Mr(function(){return g(o,f+"return "+c).apply(ns,r)});if(_.source=c,Co(_))throw _;return _},pt.times=function(t,e){if((t=Zo(t))<1||as<t)return[];var i=hs,n=q(t,hs);e=zi(e),t-=hs;for(var o=il(n,e);++i<t;)e(i);return o},pt.toFinite=Vo,pt.toInteger=Zo,pt.toLength=qo,pt.toLower=function(t){return Ko(t).toLowerCase()},pt.toNumber=$o,pt.toSafeInteger=function(t){return t?Ft(Zo(t),-as,as):0===t?t:0},pt.toString=Ko,pt.toUpper=function(t){return Ko(t).toUpperCase()},pt.trim=function(t,e,i){if((t=Ko(t))&&(i||e===ns))return nl(t);if(!t||!(e=je(e)))return t;var n=vl(t),o=vl(e);return Ke(n,al(n,o),ll(n,o)+1).join("")},pt.trimEnd=function(t,e,i){if((t=Ko(t))&&(i||e===ns))return t.slice(0,yl(t)+1);if(!t||!(e=je(e)))return t;var n=vl(t);return Ke(n,0,ll(n,vl(e))+1).join("")},pt.trimStart=function(t,e,i){if((t=Ko(t))&&(i||e===ns))return t.replace(Js,"");if(!t||!(e=je(e)))return t;var n=vl(t);return Ke(n,al(n,vl(e))).join("")},pt.truncate=function(t,e){var i=30,n="...";if(Io(e)){var o="separator"in e?e.separator:o;i="length"in e?Zo(e.length):i,n="omission"in e?je(e.omission):n}var r=(t=Ko(t)).length;if(dl(t)){var s=vl(t);r=s.length}if(r<=i)return t;var a=i-gl(n);if(a<1)return n;var l=s?Ke(s,0,a).join(""):t.slice(0,a);if(o===ns)return l+n;if(s&&(a+=l.length-a),zo(o)){if(t.slice(a).search(o)){var h,u=l;for(o.global||(o=v(o.source,Ko(aa.exec(o))+"g")),o.lastIndex=0;h=o.exec(u);)var c=h.index;l=l.slice(0,c===ns?a:c)}}else if(t.indexOf(je(o),a)!=a){var d=l.lastIndexOf(o);-1<d&&(l=l.slice(0,d))}return l+n},pt.unescape=function(t){return(t=Ko(t))&&Ws.test(t)?t.replace(Bs,bl):t},pt.uniqueId=function(t){var e=++h;return Ko(t)+e},pt.upperCase=Er,pt.upperFirst=Cr,pt.each=Gn,pt.eachRight=Kn,pt.first=kn,Rr(pt,(Jr={},Gt(pt,function(t,e){w.call(pt.prototype,e)||(Jr[e]=t)}),Jr),{chain:!1}),pt.VERSION="4.17.21",Fa(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){pt[t].placeholder=pt}),Fa(["drop","take"],function(i,n){yt.prototype[i]=function(t){t=t===ns?1:Z(Zo(t),0);var e=this.__filtered__&&!n?new yt(this):this.clone();return e.__filtered__?e.__takeCount__=q(t,e.__takeCount__):e.__views__.push({size:q(t,hs),type:i+(e.__dir__<0?"Right":"")}),e},yt.prototype[i+"Right"]=function(t){return this.reverse()[i](t).reverse()}}),Fa(["filter","map","takeWhile"],function(t,e){var i=e+1,n=1==i||3==i;yt.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:zi(t,3),type:i}),e.__filtered__=e.__filtered__||n,e}}),Fa(["head","last"],function(t,e){var i="take"+(e?"Right":"");yt.prototype[t]=function(){return this[i](1).value()[0]}}),Fa(["initial","tail"],function(t,e){var i="drop"+(e?"":"Right");yt.prototype[t]=function(){return this.__filtered__?new yt(this):this[i](1)}}),yt.prototype.compact=function(){return this.filter(Nr)},yt.prototype.find=function(t){return this.filter(t).head()},yt.prototype.findLast=function(t){return this.reverse().find(t)},yt.prototype.invokeMap=De(function(e,i){return"function"==typeof e?new yt(this):this.map(function(t){return re(t,e,i)})}),yt.prototype.reject=function(t){return this.filter(fo(zi(t)))},yt.prototype.slice=function(t,e){t=Zo(t);var i=this;return i.__filtered__&&(0<t||e<0)?new yt(i):(t<0?i=i.takeRight(-t):t&&(i=i.drop(t)),e!==ns&&(i=(e=Zo(e))<0?i.dropRight(-e):i.take(e-t)),i)},yt.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},yt.prototype.toArray=function(){return this.take(hs)},Gt(yt.prototype,function(c,t){var d=/^(?:filter|find|map|reject)|While$/.test(t),f=/^(?:head|last)$/.test(t),p=pt[f?"take"+("last"==t?"Right":""):t],_=f||/^find/.test(t);
1p&&(pt.prototype[t]=function(){function t(t){var e=p.apply(pt,Wa([t],i));return f&&s?e[0]:e}var e=this.__wrapped__,i=f?[1]:arguments,n=e instanceof yt,o=i[0],r=n||xo(e);r&&d&&"function"==typeof o&&1!=o.length&&(n=r=!1);var s=this.__chain__,a=!!this.__actions__.length,l=_&&!s,h=n&&!a;if(_||!r)return l&&h?c.apply(this,i):(u=this.thru(t),l?f?u.value()[0]:u.value():u);e=h?e:new yt(this);var u=c.apply(e,i);return u.__actions__.push({func:Un,args:[t],thisArg:ns}),new vt(u,s)})}),Fa(["pop","push","shift","sort","splice","unshift"],function(t){var i=r[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",o=/^(?:pop|shift)$/.test(t);pt.prototype[t]=function(){var e=arguments;if(!o||this.__chain__)return this[n](function(t){return i.apply(xo(t)?t:[],e)});var t=this.value();return i.apply(xo(t)?t:[],e)}}),Gt(yt.prototype,function(t,e){var i=pt[e];if(i){var n=i.name+"";w.call(rt,n)||(rt[n]=[]),rt[n].push({name:e,func:i})}}),rt[_i(ns,2).name]=[{name:"wrapper",func:ns}],yt.prototype.clone=function(){var t=new yt(this.__wrapped__);return t.__actions__=oi(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=oi(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=oi(this.__views__),t},yt.prototype.reverse=function(){if(this.__filtered__){var t=new yt(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},yt.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,i=xo(t),n=e<0,o=i?t.length:0,r=function(t,e,i){var n=-1,o=i.length;for(;++n<o;){var r=i[n],s=r.size;switch(r.type){case"drop":t+=s;break;case"dropRight":e-=s;break;case"take":e=q(e,t+s);break;case"takeRight":t=Z(t,e-s)}}return{start:t,end:e}}(0,o,this.__views__),s=r.start,a=r.end,l=a-s,h=n?a:s-1,u=this.__iteratees__,c=u.length,d=0,f=q(l,this.__takeCount__);if(!i||!n&&o==l&&f==l)return We(t,this.__actions__);var p=[];t:for(;l--&&d<f;){for(var _=-1,m=t[h+=e];++_<c;){var g=u[_],v=g.iteratee,y=g.type,b=v(m);if(2==y)m=b;else if(!b){if(1==y)continue t;break t}}p[d++]=m}return p},pt.prototype.at=Vn,pt.prototype.chain=function(){return Wn(this)},pt.prototype.commit=function(){return new vt(this.value(),this.__chain__)},pt.prototype.next=function(){this.__values__===ns&&(this.__values__=Uo(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?ns:this.__values__[this.__index__++]}},pt.prototype.plant=function(t){for(var e,i=this;i instanceof gt;){var n=mn(i);n.__index__=0,n.__values__=ns,e?o.__wrapped__=n:e=n;var o=n;i=i.__wrapped__}return o.__wrapped__=t,e},pt.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof yt){var e=t;return this.__actions__.length&&(e=new yt(this)),(e=e.reverse()).__actions__.push({func:Un,args:[Pn],thisArg:ns}),new vt(e,this.__chain__)}return this.thru(Pn)},pt.prototype.toJSON=pt.prototype.valueOf=pt.prototype.value=function(){return We(this.__wrapped__,this.__actions__)},pt.prototype.first=pt.prototype.head,O&&(pt.prototype[O]=function(){return this}),pt}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(Ta._=wl,define(function(){return wl})):N?((N.exports=wl)._=wl,A._=wl):Ta._=wl}.call(this),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";var t,o;function v(){return t.apply(null,arguments)}function a(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function l(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function h(t){return void 0===t}function u(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function c(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function d(t,e){var i,n=[];for(i=0;i<t.length;++i)n.push(e(t[i],i));return n}function y(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function f(t,e){for(var i in e)y(e,i)&&(t[i]=e[i]);return y(e,"toString")&&(t.toString=e.toString),y(e,"valueOf")&&(t.valueOf=e.valueOf),t}function p(t,e,i,n){return De(t,e,i,n,!0).utc()}function b(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invali
vendor: 27,638 bytes, line 1
1dFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function _(t){if(null==t._isValid){var e=b(t),i=o.call(e.parsedDateParts,function(t){return null!=t}),n=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&i);if(t._strict&&(n=n&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return n;t._isValid=n}return t._isValid}function m(t){var e=p(NaN);return null!=t?f(b(e),t):b(e).userInvalidated=!0,e}o=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),i=e.length>>>0,n=0;n<i;n++)if(n in e&&t.call(this,e[n],n,e))return!0;return!1};var r=v.momentProperties=[];function g(t,e){var i,n,o;if(h(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),h(e._i)||(t._i=e._i),h(e._f)||(t._f=e._f),h(e._l)||(t._l=e._l),h(e._strict)||(t._strict=e._strict),h(e._tzm)||(t._tzm=e._tzm),h(e._isUTC)||(t._isUTC=e._isUTC),h(e._offset)||(t._offset=e._offset),h(e._pf)||(t._pf=b(e)),h(e._locale)||(t._locale=e._locale),0<r.length)for(i=0;i<r.length;i++)h(o=e[n=r[i]])||(t[n]=o);return t}var e=!1;function w(t){g(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===e&&(e=!0,v.updateOffset(this),e=!1)}function x(t){return t instanceof w||null!=t&&null!=t._isAMomentObject}function k(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function L(t){var e=+t,i=0;return 0!=e&&isFinite(e)&&(i=k(e)),i}function s(t,e,i){var n,o=Math.min(t.length,e.length),r=Math.abs(t.length-e.length),s=0;for(n=0;n<o;n++)(i&&t[n]!==e[n]||!i&&L(t[n])!==L(e[n]))&&s++;return s+r}function D(t){!1===v.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function i(o,r){var s=!0;return f(function(){if(null!=v.deprecationHandler&&v.deprecationHandler(null,o),s){for(var t,e=[],i=0;i<arguments.length;i++){if(t="","object"==typeof arguments[i]){for(var n in t+="\n["+i+"] ",arguments[0])t+=n+": "+arguments[0][n]+", ";t=t.slice(0,-2)}else t=arguments[i];e.push(t)}D(o+"\nArguments: "+Array.prototype.slice.call(e).join("")+"\n"+(new Error).stack),s=!1}return r.apply(this,arguments)},r)}var n,T={};function E(t,e){null!=v.deprecationHandler&&v.deprecationHandler(t,e),T[t]||(D(e),T[t]=!0)}function C(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function S(t,e){var i,n=f({},t);for(i in e)y(e,i)&&(l(t[i])&&l(e[i])?(n[i]={},f(n[i],t[i]),f(n[i],e[i])):null!=e[i]?n[i]=e[i]:delete n[i]);for(i in t)y(t,i)&&!y(e,i)&&l(t[i])&&(n[i]=f({},n[i]));return n}function M(t){null!=t&&this.set(t)}v.suppressDeprecationWarnings=!1,v.deprecationHandler=null,n=Object.keys?Object.keys:function(t){var e,i=[];for(e in t)y(t,e)&&i.push(e);return i};var P={};function I(t,e){var i=t.toLowerCase();P[i]=P[i+"s"]=P[e]=t}function O(t){return"string"==typeof t?P[t]||P[t.toLowerCase()]:void 0}function A(t){var e,i,n={};for(i in t)y(t,i)&&(e=O(i))&&(n[e]=t[i]);return n}var N={};function F(t,e){N[t]=e}function z(t,e,i){var n=""+Math.abs(t),o=e-n.length;return(0<=t?i?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+n}var j=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,H={},B={};function Y(t,e,i,n){var o=n;"string"==typeof n&&(o=function(){return this[n]()}),t&&(B[t]=o),e&&(B[e[0]]=function(){return z(o.apply(this,arguments),e[1],e[2])}),i&&(B[i]=function(){return this.localeData().ordinal(o.apply(this,arguments),t)})}function W(t,e){return t.isValid()?(e=U(e,t.localeData()),H[e]=H[e]||function(n){var t,o,e,r=n.match(j);for(t=0,o=r.length;t<o;t++)B[r[t]]?r[t]=B[r[t]]:r[t]=(e=r[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(t){var e,i="";for(e=0;e<o;e++)i+=C(r[e])?r[e].call(t,n):r[e];return i}}(e),H[e](t)):t.localeData().invalidDate()}function U(t,e){var i=5;function n(t){return e.longDateFormat(t)||t}for(R.lastIndex=0;0<=i&&R.test(t);)t=t.replace(R,n),R.lastIndex=0,i-=1;return t}var V=/\d/,Z=/\d\d/,q=/\d{3}/,$=/\d{4}/,G=/[+-]?\d{6}/,K=/\d\d?/,Q=/\d\d\d\d?/,X=/\d\d\d\d\d\d?/,J=/\d{1,3}/,tt=/\d{1,4}/,et=/[+-]?\d{1,6}/,it=/\d+/,nt=/[+-]?\d+/,ot=/Z|[+-]\d\d:?\d\d/gi,rt=/Z|[+-]\d\d(?::?\d\d)?/gi,st=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,at={};function lt(t,i,n){at[t]=C(i)?i:function(t,e){return t&&n?n:i}}function ht(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ut={};function ct(t,i){var e,n=i;for("string"==typeof t&&(t=[t]),u(i)&&(n=function(t,e){e[i]=L(t)}),e=0;e<t.length;e++)ut[t[e]]=n}function dt(t,o){ct(t,function(t,e,i,n){i._w=i._w||{},o(t,i._w,i,n)})}var ft=0,pt=1,_t=2,mt=3,gt=4,vt=5,yt=6,bt=7,wt=8;function xt(t){return kt(t)?366:365}function kt(t){return t%4==0&&t%100!=0||t%400==0}Y("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),Y(0,["YY",2],0,function(){return this.year()%100}),Y(0,["YYYY",4],0,"year"),Y(0,["YYYYY",5],0,"year"),Y(0,["YYYYYY",6,!0],0,"year"),I("year","y"),F("year",1),lt("Y",nt),lt("YY",K,Z),lt("YYYY",tt,$),lt("YYYYY",et,G),lt("YYYYYY",et,G),ct(["YYYYY","YYYYYY"],ft),ct("YYYY",function(t,e){e[ft]=2===t.length?v.parseTwoDigitYear(t):L(t)}),ct("YY",function(t,e){e[ft]=v.parseTwoDigitYear(t)}),ct("Y",function(t,e){e[ft]=parseInt(t,10)}),v.parseTwoDigitYear=function(t){return L(t)+(68<L(t)?1900:2e3)};var Lt,Dt=Tt("FullYear",!0);function Tt(e,i){return function(t){return null!=t?(Ct(this,e,t),v.updateOffset(this,i),this):Et(this,e)}}function Et(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Ct(t,e,i){t.isValid()&&!isNaN(i)&&("FullYear"===e&&kt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](i,t.month(),St(i,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](i))}function St(t,e){if(isNaN(t)||isNaN(e))return NaN;var i=(e%12+12)%12;return t+=(e-i)/12,1==i?kt(t)?29:28:31-i%7%2}Lt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},Y("M",["MM",2],"Mo",function(){return this.month()+1}),Y("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),Y("MMMM",0,0,function(t){return this.localeData().months(this,t)}),I("month","M"),F("month",8),lt("M",K),lt("MM",K,Z),lt("MMM",function(t,e){return e.monthsShortRegex(t)}),lt("MMMM",function(t,e){return e.monthsRegex(t)}),ct(["M","MM"],function(t,e){e[pt]=L(t)-1}),ct(["MMM","MMMM"],function(t,e,i,n){var o=i._locale.monthsParse(t,n,i._strict);null!=o?e[pt]=o:b(i).invalidMonth=t});var Mt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Pt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),It="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Ot(t,e){var i;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=L(e);else if(!u(e=t.localeData().monthsParse(e)))return t;return i=Math.min(t.date(),St(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,i),t}function At(t){return null!=t?(Ot(this,t),v.updateOffset(this,!0),this):Et(this,"Month")}var Nt=st,Ft=st;function zt(){function t(t,e){return e.length-t.length}var e,i,n=[],o=[],r=[];for(e=0;e<12;e++)i=p([2e3,e]),n.push(this.monthsShort(i,"")),o.push(this.months(i,"")),r.push(this.months(i,"")),r.push(this.monthsShort(i,""));for(n.sort(t),o.sort(t),r.sort(t),e=0;e<12;e++)n[e]=ht(n[e]),o[e]=ht(o[e]);for(e=0;e<24;e++)r[e]=ht(r[e]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function jt(t){var e;if(t<100&&0<=t){var i=Array.prototype.slice.call(arguments);i[0]=t+400,e=new Date(Date.UTC.apply(null,i)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)}else e=new Date(Date.UTC.apply(null,arguments));return e}function Rt(t,e,i){var n=7+e-i;return-(7+jt(t,0,n).getUTCDay()-e)%7+n-1}function Ht(t,e,i,n,o){var r,s,a=1+7*(e-1)+(7+i-n)%7+Rt(t,n,o);return s=a<=0?xt(r=t-1)+a:a>xt(t)?(r=t+1,a-xt(t)):(r=t,a),{year:r,dayOfYear:s}}function Bt(t,e,i){var n,o,r=Rt(t.year(),e,i),s=Math.floor((t.dayOfYear()-r-1)/7)+1;return s<1?n=s+Yt(o=t.year()-1,e,i):s>Yt(t.year(),e,i)?(n=s-Yt(t.year(),e,i),o=t.year()+1):(o=t.year(),n=s),{week:n,year:o}}function Yt(t,e,i){var n=Rt(t,e,i),o=Rt(t+1,e,i);return(xt(t)-n+o)/7}function Wt(t,e){return t.slice(e,7).concat(t.slice(0,e))}Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),I("week","w"),I("isoWeek","W"),F("week",5),F("isoWeek",5),lt("w",K),lt("ww",K,Z),lt("W",K),lt("WW",K,Z),dt(["w","ww","W","WW"],function(t,e,i,n){e[n.substr(0,1)]=L(t)}),Y("d",0,"do","day"),Y("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),Y("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),Y("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),I("day","d"),I("weekday","e"),I("isoWeekday","E"),F("day",11),F("weekday",11),F("isoWeekday",11),lt("d",K),lt("e",K),lt("E",K),lt("dd",function(t,e){return e.weekdaysMinRegex(t)}),lt("ddd",function(t,e){return e.weekdaysShortRegex(t)}),lt("dddd",function(t,e){return e.weekdaysRegex(t)}),dt(["dd","ddd","dddd"],function(t,e,i,n){var o=i._locale.weekdaysParse(t,n,i._strict);null!=o?e.d=o:b(i).invalidWeekday=t}),dt(["d","e","E"],function(t,e,i,n){e[n]=L(t)});var Ut="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Vt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Zt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),qt=st,$t=st,Gt=st;function Kt(){function t(t,e){return e.length-t.length}var e,i,n,o,r,s=[],a=[],l=[],h=[];for(e=0;e<7;e++)i=p([2e3,1]).day(e),n=this.weekdaysMin(i,""),o=this.weekdaysShort(i,""),r=this.weekdays(i,""),s.push(n),a.push(o),l.push(r),h.push(n),h.push(o),h.push(r);for(s.sort(t),a.sort(t),l.sort(t),h.sort(t),e=0;e<7;e++)a[e]=ht(a[e]),l[e]=ht(l[e]),h[e]=ht(h[e]);this._weekdaysRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Qt(){return this.hours()%12||12}function Xt(t,e){Y(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Jt(t,e){return e._meridiemParse}Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,Qt),Y("k",["kk",2],0,function(){return this.hours()||24}),Y("hmm",0,0,function(){return""+Qt.apply(this)+z(this.minutes(),2)}),Y("hmmss",0,0,function(){return""+Qt.apply(this)+z(this.minutes(),2)+z(this.seconds(),2)}),Y("Hmm",0,0,function(){return""+this.hours()+z(this.minutes(),2)}),Y("Hmmss",0,0,function(){return""+this.hours()+z(this.minutes(),2)+z(this.seconds(),2)}),Xt("a",!0),Xt("A",!1),I("hour","h"),F("hour",13),lt("a",Jt),lt("A",Jt),lt("H",K),lt("h",K),lt("k",K),lt("HH",K,Z),lt("hh",K,Z),lt("kk",K,Z),lt("hmm",Q),lt("hmmss",X),lt("Hmm",Q),lt("Hmmss",X),ct(["H","HH"],mt),ct(["k","kk"],function(t,e,i){var n=L(t);e[mt]=24===n?0:n}),ct(["a","A"],function(t,e,i){i._isPm=i._locale.isPM(t),i._meridiem=t}),ct(["h","hh"],function(t,e,i){e[mt]=L(t),b(i).bigHour=!0}),ct("hmm",function(t,e,i){var n=t.length-2;e[mt]=L(t.substr(0,n)),e[gt]=L(t.substr(n)),b(i).bigHour=!0}),ct("hmmss",function(t,e,i){var n=t.length-4,o=t.length-2;e[mt]=L(t.substr(0,n)),e[gt]=L(t.substr(n,2)),e[vt]=L(t.substr(o)),b(i).bigHour=!0}),ct("Hmm",function(t,e,i){var n=t.length-2;e[mt]=L(t.substr(0,n)),e[gt]=L(t.substr(n))}),ct("Hmmss",function(t,e,i){var n=t.length-4,o=t.length-2;e[mt]=L(t.substr(0,n)),e[gt]=L(t.substr(n,2)),e[vt]=L(t.substr(o))});var te,ee=Tt("Hours",!0),ie={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Pt,monthsShort:It,week:{dow:0,doy:6},weekdays:Ut,weekdaysMin:Zt,weekdaysShort:Vt,meridiemParse:/[ap]\.?m?\.?/i},ne={},oe={};function re(t){return t?t.toLowerCase().replace("_","-"):t}function se(t){var e=null;if(!ne[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=te._abbr,require("./locale/"+t),ae(e)}catch(t){}return ne[t]}function ae(t,e){var i;return t&&((i=h(e)?he(t):le(t,e))?te=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),te._abbr}function le(t,e){if(null===e)return delete ne[t],null;var i,n=ie;if(e.abbr=t,null!=ne[t])E("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=ne[t]._config;else if(null!=e.parentLocale)if(null!=ne[e.parentLocale])n=ne[e.parentLocale]._config;else{if(null==(i=se(e.parentLocale)))return oe[e.parentLocale]||(oe[e.parentLocale]=[]),oe[e.parentLocale].push({name:t,config:e}),null;n=i._config}return ne[t]=new M(S(n,e)),oe[t]&&oe[t].forEach(function(t){le(t.name,t.config)}),ae(t),ne[t]}function he(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return te;if(!a(t)){if(e=se(t))return e;t=[t]}return function(t){for(var e,i,n,o,r=0;r<t.length;){for(e=(o=re(t[r]).split("-")).length,i=(i=re(t[r+1]))?i.split("-"):null;0<e;){if(n=se(o.slice(0,e).join("-")))return n;if(i&&i.length>=e&&s(o,i,!0)>=e-1)break;e--}r++}return te}(t)}function ue(t){var e,i=t._a;return i&&-2===b(t).overflow&&(e=i[pt]<0||11<i[pt]?pt:i[_t]<1||i[_t]>St(i[ft],i[pt])?_t:i[mt]<0||24<i[mt]||24===i[mt]&&(0!==i[gt]||0!==i[vt]||0!==i[yt])?mt:i[gt]<0||59<i[gt]?gt:i[vt]<0||59<i[vt]?vt:i[yt]<0||999<i[yt]?yt:-1,b(t)._overflowDayOfYear&&(e<ft||_t<e)&&(e=_t),b(t)._overflowWeeks&&-1===e&&(e=bt),b(t)._overflowWeekday&&-1===e&&(e=wt),b(t).overflow=e),t}function ce(t,e,i){return null!=t?t:null!=e?e:i}function de(t){var e,i,n,o,r,s=[];if(!t._d){var a,l;for(a=t,l=new Date(v.now()),n=a._useUTC?[l.getUTCFullYear(),l.getUTCMonth(),l.getUTCDate()]:[l.getFullYear(),l.getMonth(),l.getDate()],t._w&&null==t._a[_t]&&null==t._a[pt]&&function(t){var e,i,n,o,r,s,a,l;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)r=1,s=4,i=ce(e.GG,t._a[ft],Bt(Te(),1,4).year),n=ce(e.W,1),((o=ce(e.E,1))<1||7<o)&&(l=!0);else{r=t._locale._week.dow,s=t._locale._week.doy;var h=Bt(Te(),r,s);i=ce(e.gg,t._a[ft],h.year),n=ce(e.w,h.week),null!=e.d?((o=e.d)<0||6<o)&&(l=!0):null!=e.e?(o=e.e+r,(e.e<0||6<e.e)&&(l=!0)):o=r}n<1||n>Yt(i,r,s)?b(t)._overflowWeeks=!0:null!=l?b(t)._overflowWeekday=!0:(a=Ht(i,n,o,r,s),t._a[ft]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(r=ce(t._a[ft],n[ft]),(t._dayOfYear>xt(r)||0===t._dayOfYear)&&(b(t)._overflowDayOfYear=!0),i=jt(r,0,t._dayOfYear),t._a[pt]=i.getUTCMonth(),t._a[_t]=i.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=n[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[mt]&&0===t._a[gt]&&0===t._a[vt]&&0===t._a[yt]&&(t._nextDay=!0,t._a[mt]=0),t._d=(t._useUTC?jt:function(t,e,i,n,o,r,s){var a;return t<100&&0<=t?(a=new Date(t+400,e,i,n,o,r,s),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,e,i,n,o,r,s),a}).apply(null,s),o=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[mt]=24),t._w&&void 0!==t._w.d&&t._w.d!==o&&(b(t).weekdayMismatch=!0)}}var fe=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,pe=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,_e=/Z|[+-]\d\d(?::?\d\d)?/,me=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],ge=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ve=/^\/?Date\((\-?\d+)/i;function ye(t){var e,i,n,o,r,s,a=t._i,l=fe.exec(a)||pe.exec(a);if(l){for(b(t).iso=!0,e=0,i=me.length;e<i;e++)if(me[e][1].exec(l[1])){o=me[e][0],n=!1!==me[e][2];break}if(null==o)return void(t._isValid=!1);if(l[3]){for(e=0,i=ge.length;e<i;e++)if(ge[e][1].exec(l[3])){r=(l[2]||" ")+ge[e][0];break}if(null==r)return void(t._isValid=!1)}if(!n&&null!=r)return void(t._isValid=!1);if(l[4]){if(!_e.exec(l[4]))return void(t._isValid=!1);s="Z"}t._f=o+(r||"")+(s||""),ke(t)}else t._isValid=!1}var be=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;var we={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function xe(t){var e,i,n,o=be.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(o){var r=function(t,e,i,n,o,r){var s,a=[(s=parseInt(t,10),s<=49?2e3+s:s<=999?1900+s:s),It.indexOf(e),parseInt(i,10),parseInt(n,10),parseInt(o,10)];return r&&a.push(parseInt(r,10)),a}(o[4],o[3],o[2],o[5],o[6],o[7]);if(i=r,n=t,(e=o[1])&&Vt.indexOf(e)!==new Date(i[0],i[1],i[2]).getDay()&&(b(n).weekdayMismatch=!0,!(n._isValid=!1)))return;t._a=r,t._tzm=function(t,e,i){if(t)return we[t];if(e)return 0;var n=parseInt(i,10),o=n%100;return(n-o)/100*60+o}(o[8],o[9],o[10]),t._d=jt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),b(t).rfc2822=!0}else t._isValid=!1}function ke(t){if(t._f!==v.ISO_8601)if(t._f!==v.RFC_2822){t._a=[],b(t).empty=!0;var e,i,n,o,r,s,a,l,h=""+t._i,u=h.length,c=0;for(n=U(t._f,t._locale).match(j)||[],e=0;e<n.length;e++)o=n[e],(i=(h.match((g=t,y(at,m=o)?at[m](g._strict,g._locale):new RegExp(ht(m.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,i,n,o){return e||i||n||o})))))||[])[0])&&(0<(r=h.substr(0,h.indexOf(i))).length&&b(t).unusedInput.push(r),h=h.slice(h.indexOf(i)+i.length),c+=i.length),B[o]?(i?b(t).empty=!1:b(t).unusedTokens.push(o),s=o,l=t,null!=(a=i)&&y(ut,s)&&ut[s](a,l._a,l,s)):t._strict&&!i&&b(t).unusedTokens.push(o);b(t).charsLeftOver=u-c,0<h.length&&b(t).unusedInput.push(h),t._a[mt]<=12&&!0===b(t).bigHour&&0<t._a[mt]&&(b(t).bigHour=void 0),b(t).parsedDateParts=t._a.slice(0),b(t).meridiem=t._meridiem,t._a[mt]=(d=t._locale,f=t._a[mt],null==(p=t._meridiem)?f:null!=d.meridiemHour?d.meridiemHour(f,p):(null!=d.isPM&&((_=d.isPM(p))&&f<12&&(f+=12),_||12!==f||(f=0)),f)),de(t),ue(t)}else xe(t);else ye(t);var d,f,p,_,m,g}function Le(t){var e,i,n,o,r=t._i,s=t._f;return t._locale=t._locale||he(t._l),null===r||void 0===s&&""===r?m({nullInput:!0}):("string"==typeof r&&(t._i=r=t._locale.preparse(r)),x(r)?new w(ue(r)):(c(r)?t._d=r:a(s)?function(t){var e,i,n,o,r;if(0===t._f.length)return b(t).invalidFormat=!0,t._d=new Date(NaN);for(o=0;o<t._f.length;o++)r=0,e=g({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[o],ke(e),_(e)&&(r+=b(e).charsLeftOver,r+=10*b(e).unusedTokens.length,b(e).score=r,(null==n||r<n)&&(n=r,i=e));f(t,i||e)}(t):s?ke(t):h(i=(e=t)._i)?e._d=new Date(v.now()):c(i)?e._d=new Date(i.valueOf()):"string"==typeof i?(n=e,null===(o=ve.exec(n._i))?(ye(n),!1===n._isValid&&(delete n._isValid,xe(n),!1===n._isValid&&(delete n._isValid,v.createFromInputFallback(n)))):n._d=new Date(+o[1])):a(i)?(e._a=d(i.slice(0),function(t){return parseInt(t,10)}),de(e)):l(i)?function(t){if(!t._d){var e=A(t._i);t._a=d([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),de(t)}}(e):u(i)?e._d=new Date(i):v.createFromInputFallback(e),_(t)||(t._d=null),t))}function De(t,e,i,n,o){var r,s={};return!0!==i&&!1!==i||(n=i,i=void 0),(l(t)&&function(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}(t)||a(t)&&0===t.length)&&(t=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=o,s._l=i,s._i=t,s._f=e,s._strict=n,(r=new w(ue(Le(s))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function Te(t,e,i,n){return De(t,e,i,n,!1)}v.createFromInputFallback=i("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),v.ISO_8601=function(){},v.RFC_2822=function(){};var Ee=i("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Te.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:m()}),Ce=i("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Te.apply(null,arguments);return this.isValid()&&t.isValid()?this<t?this:t:m()});function Se(t,e){var i,n;if(1===e.length&&a(e[0])&&(e=e[0]),!e.length)return Te();for(i=e[0],n=1;n<e.length;++n)e[n].isValid()&&!e[n][t](i)||(i=e[n]);return i}var Me=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pe(t){var e=A(t),i=e.year||0,n=e.quarter||0,o=e.month||0,r=e.week||e.isoWeek||0,s=e.day||0,a=e.hour||0,l=e.minute||0,h=e.second||0,u=e.millisecond||0;this._isValid=function(t){for(var e in t)if(-1===Lt.call(Me,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var i=!1,n=0;n<Me.length;++n)if(t[Me[n]]){if(i)return!1;parseFloat(t[Me[n]])!==L(t[Me[n]])&&(i=!0)}return!0}(e),this._milliseconds=+u+1e3*h+6e4*l+1e3*a*60*60,this._days=+s+7*r,this._months=+o+3*n+12*i,this._data={},this._locale=he(),this._bubble()}function Ie(t){return t instanceof Pe}function Oe(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Ae(t,i){Y(t,0,0,function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+z(~~(t/60),2)+i+z(~~t%60,2)})}Ae("Z",":"),Ae("ZZ",""),lt("Z",rt),lt("ZZ",rt),ct(["Z","ZZ"],function(t,e,i){i._useUTC=!0,i._tzm=Fe(rt,t)});var Ne=/([\+\-]|\d\d)/gi;function Fe(t,e){var i=(e||"").match(t);if(null===i)return null;var n=((i[i.length-1]||[])+"").match(Ne)||["-",0,0],o=60*n[1]+L(n[2]);return 0===o?0:"+"===n[0]?o:-o}function ze(t,e){var i,n;return e._isUTC?(i=e.clone(),n=(x(t)||c(t)?t.valueOf():Te(t).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+n),v.updateOffset(i,!1),i):Te(t).local()}function je(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Re(){return!!this.isValid()&&this._isUTC&&0===this._offset}v.updateOffset=function(){};var He=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Be=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ye(t,e){var i,n,o,r,s,a,l=t,h=null;return Ie(t)?l={ms:t._milliseconds,d:t._days,M:t._months}:u(t)?(l={},e?l[e]=t:l.milliseconds=t):(h=He.exec(t))?(i="-"===h[1]?-1:1,l={y:0,d:L(h[_t])*i,h:L(h[mt])*i,m:L(h[gt])*i,s:L(h[vt])*i,ms:L(Oe(1e3*h[yt]))*i}):(h=Be.exec(t))?(i="-"===h[1]?-1:1,l={y:We(h[2],i),M:We(h[3],i),w:We(h[4],i),d:We(h[5],i),h:We(h[6],i),m:We(h[7],i),s:We(h[8],i)}):null==l?l={}:"object"==typeof l&&("from"in l||"to"in l)&&(r=Te(l.from),s=Te(l.to),o=r.isValid()&&s.isValid()?(s=ze(s,r),r.isBefore(s)?a=Ue(r,s):((a=Ue(s,r)).milliseconds=-a.milliseconds,a.months=-a.months),a):{milliseconds:0,months:0},(l={}).ms=o.milliseconds,l.M=o.months),n=new Pe(l),Ie(t)&&y(t,"_locale")&&(n._locale=t._locale),n}function We(t,e){var i=t&&parseFloat(t.replace(",","."));return(isNaN(i)?0:i)*e}function Ue(t,e){var i={};return i.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(i.months,"M").isAfter(e)&&--i.months,i.milliseconds=+e-+t.clone().add(i.months,"M"),i}function Ve(n,o){return function(t,e){var i;return null===e||isNaN(+e)||(E(o,"moment()."+o+"(period, number) is deprecated. Please use moment()."+o+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=t,t=e,e=i),Ze(this,Ye(t="string"==typeof t?+t:t,e),n),this}}function Ze(t,e,i,n){var o=e._milliseconds,r=Oe(e._days),s=Oe(e._months);t.isValid()&&(n=null==n||n,s&&Ot(t,Et(t,"Month")+s*i),r&&Ct(t,"Date",Et(t,"Date")+r*i),o&&t._d.setTime(t._d.valueOf()+o*i),n&&v.updateOffset(t,r||s))}Ye.fn=Pe.prototype,Ye.invalid=function(){return Ye(NaN)};var qe=Ve(1,"add"),$e=Ve(-1,"subtract");function Ge(t,e){var i=12*(e.year()-t.year())+(e.month()-t.month()),n=t.clone().add(i,"months");return-(i+(e-n<0?(e-n)/(n-t.clone().add(i-1,"months")):(e-n)/(t.clone().add(1+i,"months")-n)))||0}function Ke(t){var e;return void 0===t?this._locale._abbr:(null!=(e=he(t))&&(this._locale=e),this)}v.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",v.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Qe=i("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function Xe(){return this._locale}function Je(t,e){return(t%e+e)%e}function ti(t,e,i){return t<100&&0<=t?new Date(t+400,e,i)-126227808e5:new Date(t,e,i).valueOf()}function ei(t,e,i){return t<100&&0<=t?Date.UTC(t+400,e,i)-126227808e5:Date.UTC(t,e,i)}function ii(t,e){Y(0,[t,t.length],0,e)}function ni(t,e,i,n,o){var r;return null==t?Bt(this,n,o).year:((r=Yt(t,n,o))<e&&(e=r),function(t,e,i,n,o){var r=Ht(t,e,i,n,o),s=jt(r.year,0,r.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}.call(this,t,e,i,n,o))}Y(0,["gg",2],0,function(){return this.weekYear()%100}),Y(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ii("gggg","weekYear"),ii("ggggg","weekYear"),ii("GGGG","isoWeekYear"),ii("GGGGG","isoWeekYear"),I("weekYear","gg"),I("isoWeekYear","GG"),F("weekYear",1),F("isoWeekYear",1),lt("G",nt),lt("g",nt),lt("GG",K,Z),lt("gg",K,Z),lt("GGGG",tt,$),lt("gggg",tt,$),lt("GGGGG",et,G),lt("ggggg",et,G),dt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,i,n){e[n.substr(0,2)]=L(t)}),dt(["gg","GG"],function(t,e,i,n){e[n]=v.parseTwoDigitYear(t)}),Y("Q",0,"Qo","quarter"),I("quarter","Q"),F("quarter",7),lt("Q",V),ct("Q",function(t,e){e[pt]=3*(L(t)-1)}),Y("D",["DD",2],"Do","date"),I("date","D"),F("date",9),lt("D",K),lt("DD",K,Z),lt("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),ct(["D","DD"],_t),ct("Do",function(t,e){e[_t]=L(t.match(K)[0])});var oi=Tt("Date",!0);Y("DDD",["DDDD",3],"DDDo","dayOfYear"),I("dayOfYear","DDD"),F("dayOfYear",4),lt("DDD",J),lt("DDDD",q),ct(["DD
1D","DDDD"],function(t,e,i){i._dayOfYear=L(t)}),Y("m",["mm",2],0,"minute"),I("minute","m"),F("minute",14),lt("m",K),lt("mm",K,Z),ct(["m","mm"],gt);var ri=Tt("Minutes",!1);Y("s",["ss",2],0,"second"),I("second","s"),F("second",15),lt("s",K),lt("ss",K,Z),ct(["s","ss"],vt);var si,ai=Tt("Seconds",!1);for(Y("S",0,0,function(){return~~(this.millisecond()/100)}),Y(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Y(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Y(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Y(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Y(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Y(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),I("millisecond","ms"),F("millisecond",16),lt("S",J,V),lt("SS",J,Z),lt("SSS",J,q),si="SSSS";si.length<=9;si+="S")lt(si,it);function li(t,e){e[yt]=L(1e3*("0."+t))}for(si="S";si.length<=9;si+="S")ct(si,li);var hi=Tt("Milliseconds",!1);Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var ui=w.prototype;function ci(t){return t}ui.add=qe,ui.calendar=function(t,e){var i=t||Te(),n=ze(i,this).startOf("day"),o=v.calendarFormat(this,n)||"sameElse",r=e&&(C(e[o])?e[o].call(this,i):e[o]);return this.format(r||this.localeData().calendar(o,this,Te(i)))},ui.clone=function(){return new w(this)},ui.diff=function(t,e,i){var n,o,r;if(!this.isValid())return NaN;if(!(n=ze(t,this)).isValid())return NaN;switch(o=6e4*(n.utcOffset()-this.utcOffset()),e=O(e)){case"year":r=Ge(this,n)/12;break;case"month":r=Ge(this,n);break;case"quarter":r=Ge(this,n)/3;break;case"second":r=(this-n)/1e3;break;case"minute":r=(this-n)/6e4;break;case"hour":r=(this-n)/36e5;break;case"day":r=(this-n-o)/864e5;break;case"week":r=(this-n-o)/6048e5;break;default:r=this-n}return i?r:k(r)},ui.endOf=function(t){var e;if(void 0===(t=O(t))||"millisecond"===t||!this.isValid())return this;var i=this._isUTC?ei:ti;switch(t){case"year":e=i(this.year()+1,0,1)-1;break;case"quarter":e=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=i(this.year(),this.month()+1,1)-1;break;case"week":e=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-Je(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-Je(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-Je(e,1e3)-1}return this._d.setTime(e),v.updateOffset(this,!0),this},ui.format=function(t){t=t||(this.isUtc()?v.defaultFormatUtc:v.defaultFormat);var e=W(this,t);return this.localeData().postformat(e)},ui.from=function(t,e){return this.isValid()&&(x(t)&&t.isValid()||Te(t).isValid())?Ye({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},ui.fromNow=function(t){return this.from(Te(),t)},ui.to=function(t,e){return this.isValid()&&(x(t)&&t.isValid()||Te(t).isValid())?Ye({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},ui.toNow=function(t){return this.to(Te(),t)},ui.get=function(t){return C(this[t=O(t)])?this[t]():this},ui.invalidAt=function(){return b(this).overflow},ui.isAfter=function(t,e){var i=x(t)?t:Te(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=O(e)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(e).valueOf())},ui.isBefore=function(t,e){var i=x(t)?t:Te(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=O(e)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(e).valueOf()<i.valueOf())},ui.isBetween=function(t,e,i,n){var o=x(t)?t:Te(t),r=x(e)?e:Te(e);return!!(this.isValid()&&o.isValid()&&r.isValid())&&("("===(n=n||"()")[0]?this.isAfter(o,i):!this.isBefore(o,i))&&(")"===n[1]?this.isBefore(r,i):!this.isAfter(r,i))},ui.isSame=function(t,e){var i,n=x(t)?t:Te(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=O(e)||"millisecond")?this.valueOf()===n.valueOf():(i=n.valueOf(),this.clone().startOf(e).valueOf()<=i&&i<=this.clone().endOf(e).valueOf()))},ui.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},ui.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},ui.isValid=function(){return _(this)},ui.lang=Qe,ui.locale=Ke,ui.localeData=Xe,ui.max=Ce,ui.min=Ee,ui.parsingFlags=function(){return f({},b(this))},ui.set=function(t,e){if("object"==typeof t)for(var i=function(t){var e=[];for(var i in t)e.push({unit:i,priority:N[i]});return e.sort(function(t,e){return t.priority-e.priority}),e}(t=A(t)),n=0;n<i.length;n++)this[i[n].unit](t[i[n].unit]);else if(C(this[t=O(t)]))return this[t](e);return this},ui.startOf=function(t){var e;if(void 0===(t=O(t))||"millisecond"===t||!this.isValid())return this;var i=this._isUTC?ei:ti;switch(t){case"year":e=i(this.year(),0,1);break;case"quarter":e=i(this.year(),this.month()-this.month()%3,1);break;case"month":e=i(this.year(),this.month(),1);break;case"week":e=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=i(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=Je(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=Je(e,6e4);break;case"second":e=this._d.valueOf(),e-=Je(e,1e3)}return this._d.setTime(e),v.updateOffset(this,!0),this},ui.subtract=$e,ui.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},ui.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},ui.toDate=function(){return new Date(this.valueOf())},ui.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,i=e?this.clone().utc():this;
vendor: 4,775 bytes, line 1
1return i.year()<0||9999<i.year()?W(i,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):C(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(i,"Z")):W(i,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ui.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var i="["+t+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o=e+'[")]';return this.format(i+n+"-MM-DD[T]HH:mm:ss.SSS"+o)},ui.toJSON=function(){return this.isValid()?this.toISOString():null},ui.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ui.unix=function(){return Math.floor(this.valueOf()/1e3)},ui.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ui.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ui.year=Dt,ui.isLeapYear=function(){return kt(this.year())},ui.weekYear=function(t){return ni.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ui.isoWeekYear=function(t){return ni.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},ui.quarter=ui.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},ui.month=At,ui.daysInMonth=function(){return St(this.year(),this.month())},ui.week=ui.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},ui.isoWeek=ui.isoWeeks=function(t){var e=Bt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},ui.weeksInYear=function(){var t=this.localeData()._week;return Yt(this.year(),t.dow,t.doy)},ui.isoWeeksInYear=function(){return Yt(this.year(),1,4)},ui.date=oi,ui.day=ui.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e,i,n=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(e=t,i=this.localeData(),t="string"!=typeof e?e:isNaN(e)?"number"==typeof(e=i.weekdaysParse(e))?e:null:parseInt(e,10),this.add(t-n,"d")):n},ui.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},ui.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null==t)return this.day()||7;var e,i,n=(e=t,i=this.localeData(),"string"==typeof e?i.weekdaysParse(e)%7||7:isNaN(e)?null:e);return this.day(this.day()%7?n:n-7)},ui.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},ui.hour=ui.hours=ee,ui.minute=ui.minutes=ri,ui.second=ui.seconds=ai,ui.millisecond=ui.milliseconds=hi,ui.utcOffset=function(t,e,i){var n,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null==t)return this._isUTC?o:je(this);if("string"==typeof t){if(null===(t=Fe(rt,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&e&&(n=je(this)),this._offset=t,this._isUTC=!0,null!=n&&this.add(n,"m"),o!==t&&(!e||this._changeInProgress?Ze(this,Ye(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,v.updateOffset(this,!0),this._changeInProgress=null)),this},ui.utc=function(t){return this.utcOffset(0,t)},ui.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(je(this),"m")),this},ui.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Fe(ot,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},ui.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Te(t).utcOffset():0,(this.utcOffset()-t)%60==0)},ui.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ui.isLocal=function(){return!!this.isValid()&&!this._isUTC},ui.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ui.isUtc=Re,ui.isUTC=Re,ui.zoneAbbr=function(){return this._isUTC?"UTC":""},ui.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ui.dates=i("dates accessor is deprecated. Use date instead.",oi),ui.months=i("months accessor is deprecated. Use month instead",At),ui.years=i("years accessor is deprecated. Use year instead",Dt),ui.zone=i("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),ui.isDSTShifted=i("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!h(this._isDSTShifted))return this._isDSTShifted;var t={};
vendor: 11,215 bytes, line 1
1if(g(t,this),(t=Le(t))._a){var e=t._isUTC?p(t._a):Te(t._a);this._isDSTShifted=this.isValid()&&0<s(t._a,e.toArray())}else this._isDSTShifted=!1;return this._isDSTShifted});var di=M.prototype;function fi(t,e,i,n){var o=he(),r=p().set(n,e);return o[i](r,t)}function pi(t,e,i){if(u(t)&&(e=t,t=void 0),t=t||"",null!=e)return fi(t,e,i,"month");var n,o=[];for(n=0;n<12;n++)o[n]=fi(t,n,i,"month");return o}function _i(t,e,i,n){"boolean"==typeof t?u(e)&&(i=e,e=void 0):(e=t,t=!1,u(i=e)&&(i=e,e=void 0)),e=e||"";var o,r=he(),s=t?r._week.dow:0;if(null!=i)return fi(e,(i+s)%7,n,"day");var a=[];for(o=0;o<7;o++)a[o]=fi(e,(o+s)%7,n,"day");return a}di.calendar=function(t,e,i){var n=this._calendar[t]||this._calendar.sameElse;return C(n)?n.call(e,i):n},di.longDateFormat=function(t){var e=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return e||!i?e:(this._longDateFormat[t]=i.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])},di.invalidDate=function(){return this._invalidDate},di.ordinal=function(t){return this._ordinal.replace("%d",t)},di.preparse=ci,di.postformat=ci,di.relativeTime=function(t,e,i,n){var o=this._relativeTime[i];return C(o)?o(t,e,i,n):o.replace(/%d/i,t)},di.pastFuture=function(t,e){var i=this._relativeTime[0<t?"future":"past"];return C(i)?i(e):i.replace(/%s/i,e)},di.set=function(t){var e,i;for(i in t)C(e=t[i])?this[i]=e:this["_"+i]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},di.months=function(t,e){return t?a(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Mt).test(e)?"format":"standalone"][t.month()]:a(this._months)?this._months:this._months.standalone},di.monthsShort=function(t,e){return t?a(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Mt.test(e)?"format":"standalone"][t.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},di.monthsParse=function(t,e,i){var n,o,r;if(this._monthsParseExact)return function(t,e,i){var n,o,r,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)r=p([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(r,"").toLocaleLowerCase();return i?"MMM"===e?-1!==(o=Lt.call(this._shortMonthsParse,s))?o:null:-1!==(o=Lt.call(this._longMonthsParse,s))?o:null:"MMM"===e?-1!==(o=Lt.call(this._shortMonthsParse,s))?o:-1!==(o=Lt.call(this._longMonthsParse,s))?o:null:-1!==(o=Lt.call(this._longMonthsParse,s))?o:-1!==(o=Lt.call(this._shortMonthsParse,s))?o:null}.call(this,t,e,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(o=p([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(r="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[n]=new RegExp(r.replace(".",""),"i")),i&&"MMMM"===e&&this._longMonthsParse[n].test(t))return n;if(i&&"MMM"===e&&this._shortMonthsParse[n].test(t))return n;if(!i&&this._monthsParse[n].test(t))return n}},di.monthsRegex=function(t){return this._monthsParseExact?(y(this,"_monthsRegex")||zt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(y(this,"_monthsRegex")||(this._monthsRegex=Ft),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},di.monthsShortRegex=function(t){return this._monthsParseExact?(y(this,"_monthsRegex")||zt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(y(this,"_monthsShortRegex")||(this._monthsShortRegex=Nt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},di.week=function(t){return Bt(t,this._week.dow,this._week.doy).week},di.firstDayOfYear=function(){return this._week.doy},di.firstDayOfWeek=function(){return this._week.dow},di.weekdays=function(t,e){var i=a(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Wt(i,this._week.dow):t?i[t.day()]:i},di.weekdaysMin=function(t){return!0===t?Wt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},di.weekdaysShort=function(t){return!0===t?Wt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},di.weekdaysParse=function(t,e,i){var n,o,r;if(this._weekdaysParseExact)return function(t,e,i){var n,o,r,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)r=p([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(r,"").toLocaleLowerCase();return i?"dddd"===e?-1!==(o=Lt.call(this._weekdaysParse,s))?o:null:"ddd"===e?-1!==(o=Lt.call(this._shortWeekdaysParse,s))?o:null:-1!==(o=Lt.call(this._minWeekdaysParse,s))?o:null:"dddd"===e?-1!==(o=Lt.call(this._weekdaysParse,s))?o:-1!==(o=Lt.call(this._shortWeekdaysParse,s))?o:-1!==(o=Lt.call(this._minWeekdaysParse,s))?o:null:"ddd"===e?-1!==(o=Lt.call(this._shortWeekdaysParse,s))?o:-1!==(o=Lt.call(this._weekdaysParse,s))?o:-1!==(o=Lt.call(this._minWeekdaysParse,s))?o:null:-1!==(o=Lt.call(this._minWeekdaysParse,s))?o:-1!==(o=Lt.call(this._weekdaysParse,s))?o:-1!==(o=Lt.call(this._shortWeekdaysParse,s))?o:null}.call(this,t,e,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(o=p([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(r="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[n]=new RegExp(r.replace(".",""),"i")),i&&"dddd"===e&&this._fullWeekdaysParse[n].test(t))return n;if(i&&"ddd"===e&&this._shortWeekdaysParse[n].test(t))return n;if(i&&"dd"===e&&this._minWeekdaysParse[n].test(t))return n;if(!i&&this._weekdaysParse[n].test(t))return n}},di.weekdaysRegex=function(t){return this._weekdaysParseExact?(y(this,"_weekdaysRegex")||Kt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(y(this,"_weekdaysRegex")||(this._weekdaysRegex=qt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},di.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(y(this,"_weekdaysRegex")||Kt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(y(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=$t),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},di.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(y(this,"_weekdaysRegex")||Kt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(y(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Gt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},di.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},di.meridiem=function(t,e,i){return 11<t?i?"pm":"PM":i?"am":"AM"},ae("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===L(t%100/10)?"th":1==e?"st":2==e?"nd":3==e?"rd":"th")}}),v.lang=i("moment.lang is deprecated. Use moment.locale instead.",ae),v.langData=i("moment.langData is deprecated. Use moment.localeData instead.",he);var mi=Math.abs;function gi(t,e,i,n){var o=Ye(e,i);return t._milliseconds+=n*o._milliseconds,t._days+=n*o._days,t._months+=n*o._months,t._bubble()}function vi(t){return t<0?Math.floor(t):Math.ceil(t)}function yi(t){return 4800*t/146097}function bi(t){return 146097*t/4800}function wi(t){return function(){return this.as(t)}}var xi=wi("ms"),ki=wi("s"),Li=wi("m"),Di=wi("h"),Ti=wi("d"),Ei=wi("w"),Ci=wi("M"),Si=wi("Q"),Mi=wi("y");function Pi(t){return function(){return this.isValid()?this._data[t]:NaN}}var Ii=Pi("milliseconds"),Oi=Pi("seconds"),Ai=Pi("minutes"),Ni=Pi("hours"),Fi=Pi("days"),zi=Pi("months"),ji=Pi("years"),Ri=Math.round,Hi={ss:44,s:45,m:45,h:22,d:26,M:11},Bi=Math.abs;function Yi(t){return(0<t)-(t<0)||+t}function Wi(){if(!this.isValid())return this.localeData().invalidDate();var t,e,i=Bi(this._milliseconds)/1e3,n=Bi(this._days),o=Bi(this._months);e=k((t=k(i/60))/60),i%=60,t%=60;var r=k(o/12),s=o%=12,a=n,l=e,h=t,u=i?i.toFixed(3).replace(/\.?0+$/,""):"",c=this.asSeconds();if(!c)return"P0D";var d=c<0?"-":"",f=Yi(this._months)!==Yi(c)?"-":"",p=Yi(this._days)!==Yi(c)?"-":"",_=Yi(this._milliseconds)!==Yi(c)?"-":"";return d+"P"+(r?f+r+"Y":"")+(s?f+s+"M":"")+(a?p+a+"D":"")+(l||h||u?"T":"")+(l?_+l+"H":"")+(h?_+h+"M":"")+(u?_+u+"S":"")}var Ui=Pe.prototype;return Ui.isValid=function(){return this._isValid},Ui.abs=function(){var t=this._data;return this._milliseconds=mi(this._milliseconds),this._days=mi(this._days),this._months=mi(this._months),t.milliseconds=mi(t.milliseconds),t.seconds=mi(t.seconds),t.minutes=mi(t.minutes),t.hours=mi(t.hours),t.months=mi(t.months),t.years=mi(t.years),this},Ui.add=function(t,e){return gi(this,t,e,1)},Ui.subtract=function(t,e){return gi(this,t,e,-1)},Ui.as=function(t){if(!this.isValid())return NaN;var e,i,n=this._milliseconds;if("month"===(t=O(t))||"quarter"===t||"year"===t)switch(e=this._days+n/864e5,i=this._months+yi(e),t){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(e=this._days+Math.round(bi(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return 24*e+n/36e5;case"minute":return 1440*e+n/6e4;case"second":return 86400*e+n/1e3;case"millisecond":return Math.floor(864e5*e)+n;default:throw new Error("Unknown unit "+t)}},Ui.asMilliseconds=xi,Ui.asSeconds=ki,Ui.asMinutes=Li,Ui.asHours=Di,Ui.asDays=Ti,Ui.asWeeks=Ei,Ui.asMonths=Ci,Ui.asQuarters=Si,Ui.asYears=Mi,Ui.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*L(this._months/12):NaN},Ui._bubble=function(){var t,e,i,n,o,r=this._milliseconds,s=this._days,a=this._months,l=this._data;return 0<=r&&0<=s&&0<=a||r<=0&&s<=0&&a<=0||(r+=864e5*vi(bi(a)+s),a=s=0),l.milliseconds=r%1e3,t=k(r/1e3),l.seconds=t%60,e=k(t/60),l.minutes=e%60,i=k(e/60),l.hours=i%24,a+=o=k(yi(s+=k(i/24))),s-=vi(bi(o)),n=k(a/12),a%=12,l.days=s,l.months=a,l.years=n,this},Ui.clone=function(){return Ye(this)},Ui.get=function(t){return t=O(t),this.isValid()?this[t+"s"]():NaN},Ui.milliseconds=Ii,Ui.seconds=Oi,Ui.minutes=Ai,Ui.hours=Ni,Ui.days=Fi,Ui.weeks=function(){return k(this.days()/7)},Ui.months=zi,Ui.years=ji,Ui.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e,i,n,o,r,s,a,l,h,u,c=this.localeData(),d=(e=!t,i=c,n=Ye(this).abs(),o=Ri(n.as("s")),r=Ri(n.as("m")),s=Ri(n.as("h")),a=Ri(n.as("d")),l=Ri(n.as("M")),h=Ri(n.as("y")),(u=
1o<=Hi.ss&&["s",o]||o<Hi.s&&["ss",o]||r<=1&&["m"]||r<Hi.m&&["mm",r]||s<=1&&["h"]||s<Hi.h&&["hh",s]||a<=1&&["d"]||a<Hi.d&&["dd",a]||l<=1&&["M"]||l<Hi.M&&["MM",l]||h<=1&&["y"]||["yy",h])[2]=e,u[3]=0<+this,u[4]=i,function(t,e,i,n,o){return o.relativeTime(e||1,!!i,t,n)}.apply(null,u));return t&&(d=c.pastFuture(+this,d)),c.postformat(d)},Ui.toISOString=Wi,Ui.toString=Wi,Ui.toJSON=Wi,Ui.locale=Ke,Ui.localeData=Xe,Ui.toIsoString=i("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Wi),Ui.lang=Qe,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),lt("x",nt),lt("X",/[+-]?\d+(\.\d{1,3})?/),ct("X",function(t,e,i){i._d=new Date(1e3*parseFloat(t,10))}),ct("x",function(t,e,i){i._d=new Date(L(t))}),v.version="2.24.0",t=Te,v.fn=ui,v.min=function(){return Se("isBefore",[].slice.call(arguments,0))},v.max=function(){return Se("isAfter",[].slice.call(arguments,0))},v.now=function(){return Date.now?Date.now():+new Date},v.utc=p,v.unix=function(t){return Te(1e3*t)},v.months=function(t,e){return pi(t,e,"months")},v.isDate=c,v.locale=ae,v.invalid=m,v.duration=Ye,v.isMoment=x,v.weekdays=function(t,e,i){return _i(t,e,i,"weekdays")},v.parseZone=function(){return Te.apply(null,arguments).parseZone()},v.localeData=he,v.isDuration=Ie,v.monthsShort=function(t,e){return pi(t,e,"monthsShort")},v.weekdaysMin=function(t,e,i){return _i(t,e,i,"weekdaysMin")},v.defineLocale=le,v.updateLocale=function(t,e){if(null!=e){var i,n,o=ie;null!=(n=se(t))&&(o=n._config),(i=new M(e=S(o,e))).parentLocale=ne[t],ne[t]=i,ae(t)}else null!=ne[t]&&(null!=ne[t].parentLocale?ne[t]=ne[t].parentLocale:null!=ne[t]&&delete ne[t]);return ne[t]},v.locales=function(){return n(ne)},v.weekdaysShort=function(t,e,i){return _i(t,e,i,"weekdaysShort")},v.normalizeUnits=O,v.relativeTimeRounding=function(t){return void 0===t?Ri:"function"==typeof t&&(Ri=t,!0)},v.relativeTimeThreshold=function(t,e){return void 0!==Hi[t]&&(void 0===e?Hi[t]:(Hi[t]=e,"s"===t&&(Hi.ss=e-1),!0))},v.calendarFormat=function(t,e){var i=t.diff(e,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},v.prototype=ui,v.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},v}),function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof module&&module.exports?module.exports=e():t.numeral=e()}(this,function(){function r(t,e){this._input=t,this._value=e}var v,s,l,h,t,a={},y={},e={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},u={currentLocale:e.currentLocale,zeroFormat:e.zeroFormat,nullFormat:e.nullFormat,defaultFormat:e.defaultFormat,scalePercentBy100:e.scalePercentBy100};return(v=function(t){var e,i,n,o;if(v.isNumeral(t))e=t.value();else if(0===t||void 0===t)e=0;else if(null===t||s.isNaN(t))e=null;else if("string"==typeof t)if(u.zeroFormat&&t===u.zeroFormat)e=0;else if(u.nullFormat&&t===u.nullFormat||!t.replace(/[^0-9]+/g,"").length)e=null;else{for(i in a)if((o="function"==typeof a[i].regexps.unformat?a[i].regexps.unformat():a[i].regexps.unformat)&&t.match(o)){n=a[i].unformat;break}e=(n=n||v._.stringToNumber)(t)}else e=Number(t)||null;return new r(t,e)}
1).version="2.0.6",v.isNumeral=function(t){return t instanceof r},v._=s={numberToFormat:function(t,e,i){var n,o,r,s,a,l,h,u,c=y[v.options.currentLocale],d=!1,f=!1,p="",_="",m=!1;if(t=t||0,o=Math.abs(t),v._.includes(e,"(")?(d=!0,e=e.replace(/[\(|\)]/g,"")):(v._.includes(e,"+")||v._.includes(e,"-"))&&(a=v._.includes(e,"+")?e.indexOf("+"):t<0?e.indexOf("-"):-1,e=e.replace(/[\+|\-]/g,"")),v._.includes(e,"a")&&(n=!!(n=e.match(/a(k|m|b|t)?/))&&n[1],v._.includes(e," a")&&(p=" "),e=e.replace(new RegExp(p+"a[kmbt]?"),""),1e12<=o&&!n||"t"===n?(p+=c.abbreviations.trillion,t/=1e12):o<1e12&&1e9<=o&&!n||"b"===n?(p+=c.abbreviations.billion,t/=1e9):o<1e9&&1e6<=o&&!n||"m"===n?(p+=c.abbreviations.million,t/=1e6):(o<1e6&&1e3<=o&&!n||"k"===n)&&(p+=c.abbreviations.thousand,t/=1e3)),v._.includes(e,"[.]")&&(f=!0,e=e.replace("[.]",".")),r=t.toString().split(".")[0],s=e.split(".")[1],l=e.indexOf(","),u=(e.split(".")[0].split(",")[0].match(/0/g)||[]).length,s?(r=(_=v._.includes(s,"[")?(s=(s=s.replace("]","")).split("["),v._.toFixed(t,s[0].length+s[1].length,i,s[1].length)):v._.toFixed(t,s.length,i)).split(".")[0],_=v._.includes(_,".")?c.delimiters.decimal+_.split(".")[1]:"",f&&0===Number(_.slice(1))&&(_="")):r=v._.toFixed(t,0,i),p&&!n&&1e3<=Number(r)&&p!==c.abbreviations.trillion)switch(r=String(Number(r)/1e3),p){case c.abbreviations.thousand:p=c.abbreviations.million;break;case c.abbreviations.million:p=c.abbreviations.billion;break;case c.abbreviations.billion:p=c.abbreviations.trillion}if(v._.includes(r,"-")&&(r=r.slice(1),m=!0),r.length<u)for(var g=u-r.length;0<g;g--)r="0"+r;return-1<l&&(r=r.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+c.delimiters.thousands)),0===e.indexOf(".")&&(r=""),h=r+_+(p||""),d?h=(d&&m?"(":"")+h+(d&&m?")":""):0<=a?h=0===a?(m?"-":"+")+h:h+(m?"-":"+"):m&&(h="-"+h),h},stringToNumber:function(t){var e,i,n,o=y[u.currentLocale],r=t,s={thousand:3,million:6,billion:9,trillion:12};if(u.zeroFormat&&t===u.zeroFormat)i=0;else if(u.nullFormat&&t===u.nullFormat||!t.replace(/[^0-9]+/g,"").length)i=null;else{for(e in i=1,"."!==o.delimiters.decimal&&(t=t.replace(/\./g,"").replace(o.delimiters.decimal,".")),s)if(n=new RegExp("[^a-zA-Z]"+o.abbreviations[e]+"(?:\\)|(\\"+o.currency.symbol+")?(?:\\))?)?$"),r.match(n)){i*=Math.pow(10,s[e]);break}i*=(t.split("-").length+Math.min(t.split("(").length-1,t.split(")").length-1))%2?1:-1,t=t.replace(/[^0-9\.]+/g,""),i*=Number(t)}return i},isNaN:function(t){return"number"==typeof t&&isNaN(t)},includes:function(t,e){return-1!==t.indexOf(e)},insert:function(t,e,i){return t.slice(0,i)+e+t.slice(i)},reduce:function(t,e){if(null===this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof e)throw new TypeError(e+" is not a function");var i,n=Object(t),o=n.length>>>0,r=0;if(3===arguments.length)i=arguments[2];else{for(;r<o&&!(r in n);)r++;if(o<=r)throw new TypeError("Reduce of empty array with no initial value");i=n[r++]}for(;r<o;r++)r in n&&(i=e(i,n[r],r,n));return i},multiplier:function(t){var e=t.toString().split(".");return e.length<2?1:Math.pow(10,e[1].length)},correctionFactor:function(){return Array.prototype.slice.call(arguments).reduce(function(t,e){var i=s.multiplier(e);return i<t?t:i},1)},toFixed:function(t,e,i,n){var o,r,s,a,l=t.toString().split("."),h=e-(n||0);return o=2===l.length?Math.min(Math.max(l[1].length,h),e):h,s=Math.pow(10,o),a=(i(t+"e+"+o)/s).toFixed(o),e-o<n&&(r=new RegExp("\\.?0{1,"+(n-(e-o))+"}$"),a=a.replace(r,"")),a}},v.options=u,v.formats=a,v.locales=y,v.locale=function(t){return t&&(u.currentLocale=t.toLowerCase()),u.currentLocale},v.localeData=function(t){if(!t)return y[u.currentLocale];if(t=t.toLowerCase(),!y[t])throw new Error("Unknown locale : "+t);return y[t]},v.reset=function(){for(var t in e)u[t]=e[t]},v.zeroFormat=function(t){u.zeroFormat="string"==typeof t?t:null},v.nullFormat=function(t){u.nullFormat="string"==typeof t?t:null},v.defaultFormat=function(t){u.defaultFormat="string"==typeof t?t:"0.0"},v.register=function(t,e,i){if(e=e.toLowerCase(),this[t+"s"][e])throw new TypeError(e+" "+t+" already registered.");return this[t+"s"][e]=i},v.validate=function(t,e){var i,n,o,r,s,a,l,h;if("string"!=typeof t&&(t+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",t)),(t=t.trim()).match(/^\d+$/))return!0;
1if(""===t)return!1;try{l=v.localeData(e)}catch(t){l=v.localeData(v.locale())}return o=l.currency.symbol,s=l.abbreviations,i=l.delimiters.decimal,n="."===l.delimiters.thousands?"\\.":l.delimiters.thousands,(null===(h=t.match(/^[^\d]+/))||(t=t.substr(1),h[0]===o))&&((null===(h=t.match(/[^\d]+$/))||(t=t.slice(0,-1),h[0]===s.thousand||h[0]===s.million||h[0]===s.billion||h[0]===s.trillion))&&(a=new RegExp(n+"{2}"),!t.match(/[^\d.,]/g)&&(!(2<(r=t.split(i)).length)&&(r.length<2?!!r[0].match(/^\d+.*\d$/)&&!r[0].match(a):1===r[0].length?!!r[0].match(/^\d+$/)&&!r[0].match(a)&&!!r[1].match(/^\d+$/):!!r[0].match(/^\d+.*\d$/)&&!r[0].match(a)&&!!r[1].match(/^\d+$/)))))},v.fn=r.prototype={clone:function(){return v(this)},format:function(t,e){var i,n,o,r=this._value,s=t||u.defaultFormat;if(e=e||Math.round,0===r&&null!==u.zeroFormat)n=u.zeroFormat;else if(null===r&&null!==u.nullFormat)n=u.nullFormat;else{for(i in a)if(s.match(a[i].regexps.format)){o=a[i].format;break}n=(o=o||v._.numberToFormat)(r,s,e)}return n},value:function(){return this._value},input:function(){return this._input},set:function(t){return this._value=Number(t),this},add:function(t){var o=s.correctionFactor.call(null,this._value,t);return this._value=s.reduce([this._value,t],function(t,e,i,n){return t+Math.round(o*e)},0)/o,this},subtract:function(t){var o=s.correctionFactor.call(null,this._value,t);return this._value=s.reduce([t],function(t,e,i,n){return t-Math.round(o*e)},Math.round(this._value*o))/o,this},multiply:function(t){return this._value=s.reduce([this._value,t],function(t,e,i,n){var o=s.correctionFactor(t,e);return Math.round(t*o)*Math.round(e*o)/Math.round(o*o)},1),this},divide:function(t){return this._value=s.reduce([this._value,t],function(t,e,i,n){var o=s.correctionFactor(t,e);return Math.round(t*o)/Math.round(e*o)}),this},difference:function(t){return Math.abs(v(this._value).subtract(t).value())}},v.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(t){var e=t%10;return 1==~~(t%100/10)?"th":1==e?"st":2==e?"nd":3==e?"rd":"th"},currency:{symbol:"$"}}),v.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(t,e,i){var n,o=v._.includes(e," BPS")?" ":"";return t*=1e4,e=e.replace(/\s?BPS/,""),n=v._.numberToFormat(t,e,i),n=v._.includes(n,")")?((n=n.split("")).splice(-1,0,o+"BPS"),n.join("")):n+o+"BPS"},unformat:function(t){return+(1e-4*v._.stringToNumber(t)).toFixed(15)}}),h={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},t="("+(t=(l={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}).suffixes.concat(h.suffixes.filter(function(t){return l.suffixes.indexOf(t)<0})).join("|")).replace("B","B(?!PS)")+")",v.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(t)},format:function(t,e,i){var n,o,r,s=v._.includes(e,"ib")?h:l,a=v._.includes(e," b")||v._.includes(e," ib")?" ":"";for(e=e.replace(/\s?i?b/,""),n=0;n<=s.suffixes.length;n++)if(o=Math.pow(s.base,n),r=Math.pow(s.base,n+1),null===t||0===t||o<=t&&t<r){a+=s.suffixes[n],0<o&&(t/=o);break}return v._.numberToFormat(t,e,i)+a},unformat:function(t){var e,i,n=v._.stringToNumber(t);if(n){for(e=l.suffixes.length-1;0<=e;e--){if(v._.includes(t,l.suffixes[e])){i=Math.pow(l.base,e);break}if(v._.includes(t,h.suffixes[e])){i=Math.pow(h.base,e);break}}n*=i||1}return n}}),v.register("format","currency",{regexps:{format:/(\$)/},format:function(t,e,i){var n,o,r=v.locales[v.options.currentLocale],s={before:e.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:e.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(e=e.replace(/\s?\$\s?/,""),n=v._.numberToFormat(t,e,i),0<=t?(s.before=s.before.replace(/[\-\(]/,""),s.after=s.after.replace(/[\-\)]/,"")):t<0&&!v._.includes(s.before,"-")&&!v._.includes(s.before,"(")&&(s.before="-"+s.before),o=0;o<s.before.length;o++)switch(s.before[o]){case"$":n=v._.insert(n,r.currency.symbol,o);break;case" ":n=v._.insert(n," ",o+r.currency.symbol.length-1)}for(o=s.after.length-1;0<=o;o--)switch(s.after[o]){case"$":n=o===s.after.length-1?n+r.currency.symbol:v._.insert(n,r.currency.symbol,-(s.after.length-(1+o)));break;case" ":n=o===s.after.length-1?n+" ":v._.insert(n," ",-(s.after.length-(1+o)+r.currency.symbol.length-1))}return n}}),v.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/}
1,format:function(t,e,i){var n=("number"!=typeof t||v._.isNaN(t)?"0e+0":t.toExponential()).split("e");return e=e.replace(/e[\+|\-]{1}0/,""),v._.numberToFormat(Number(n[0]),e,i)+"e"+n[1]},unformat:function(t){var e=v._.includes(t,"e+")?t.split("e+"):t.split("e-"),i=Number(e[0]),n=Number(e[1]);return n=v._.includes(t,"e-")?n*=-1:n,v._.reduce([i,Math.pow(10,n)],function(t,e,i,n){var o=v._.correctionFactor(t,e);return t*o*(e*o)/(o*o)},1)}}),v.register("format","ordinal",{regexps:{format:/(o)/},format:function(t,e,i){var n=v.locales[v.options.currentLocale],o=v._.includes(e," o")?" ":"";return e=e.replace(/\s?o/,""),o+=n.ordinal(t),v._.numberToFormat(t,e,i)+o}}),v.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(t,e,i){var n,o=v._.includes(e," %")?" ":"";return v.options.scalePercentBy100&&(t*=100),e=e.replace(/\s?\%/,""),n=v._.numberToFormat(t,e,i),n=v._.includes(n,")")?((n=n.split("")).splice(-1,0,o+"%"),n.join("")):n+o+"%"},unformat:function(t){var e=v._.stringToNumber(t);return v.options.scalePercentBy100?.01*e:e}}),v.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(t,e,i){var n=Math.floor(t/60/60),o=Math.floor((t-60*n*60)/60),r=Math.round(t-60*n*60-60*o);return n+":"+(o<10?"0"+o:o)+":"+(r<10?"0"+r:r)},unformat:function(t){var e=t.split(":"),i=0;return 3===e.length?(i+=60*Number(e[0])*60,i+=60*Number(e[1]),i+=Number(e[2])):2===e.length&&(i+=60*Number(e[0]),i+=Number(e[1])),Number(i)}}),v}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.L={})}(this,function(t){"use strict";var e=Object.freeze;function l(t){var e,i,n,o;for(i=1,n=arguments.length;i<n;i++)for(e in o=arguments[i])t[e]=o[e];return t}Object.freeze=function(t){return t};var r=Object.create||function(t){return i.prototype=t,new i};function i(){}function p(t,e){var i=Array.prototype.slice;if(t.bind)return t.bind.apply(t,i.call(arguments,1));var n=i.call(arguments,2);return function(){return t.apply(e,n.length?n.concat(i.call(arguments)):arguments)}}var n=0;function h(t){return t._leaflet_id=t._leaflet_id||++n,t._leaflet_id}function o(t,e,i){var n,o,r,s;return s=function(){n=!1,o&&(r.apply(i,o),o=!1)},r=function(){n?o=arguments:(t.apply(i,arguments),setTimeout(s,e),n=!0)}}function s(t,e,i){var n=e[1],o=e[0],r=n-o;return t===n&&i?t:((t-o)%r+r)%r+o}function a(){return!1}function u(t,e){return e=void 0===e?6:e,+(Math.round(t+"e+"+e)+"e-"+e)}function c(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function d(t){return c(t).split(/\s+/)}function f(t,e){for(var i in t.hasOwnProperty("options")||(t.options=t.options?r(t.options):{}),e)t.options[i]=e[i];return t.options}function _(t,e,i){var n=[];for(var o in t)n.push(encodeURIComponent(i?o.toUpperCase():o)+"="+encodeURIComponent(t[o]));return(e&&-1!==e.indexOf("?")?"&":"?")+n.join("&")}var m=/\{ *([\w_-]+) *\}/g;function g(t,n){return t.replace(m,function(t,e){var i=n[e];if(void 0===i)throw new Error("No value provided for variable "+t);return"function"==typeof i&&(i=i(n)),i})}var v=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function y(t,e){for(var i=0;i<t.length;i++)if(t[i]===e)return i;return-1}var b="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function w(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var x=0;function k(t){var e=+new Date,i=Math.max(0,16-(e-x));return x=e+i,window.setTimeout(t,i)}var D=window.requestAnimationFrame||w("RequestAnimationFrame")||k,T=window.cancelAnimationFrame||w("CancelAnimationFrame")||w("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function E(t,e,i){if(!i||D!==k)return D.call(window,p(t,e));t.call(e)}function C(t){t&&T.call(window,t)}var S=(Object.freeze||Object)({freeze:e,extend:l,create:r,bind:p,lastId:n,stamp:h,throttle:o,wrapNum:s,falseFn:a,formatNum:u,trim:c,splitWords:d,setOptions:f,getParamString:_,template:g,isArray:v,indexOf:y,emptyImageUrl:b,requestFn:D,cancelFn:T,requestAnimFrame:E,cancelAnimFrame:C});function M(){}M.extend=function(t){function e(){this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()}var i=e.__super__=this.prototype,n=r(i);for(var o in(n.constructor=e).prototype=n,this)this.hasOwnProperty(o)&&"prototype"!==o&&"__super__"!==o&&(e[o]=this[o]);return t.statics&&(l(e,t.statics),delete t.statics),t.includes&&(function(t){if("undefined"!=typeof L&&L&&L.Mixin){t=v(t)?t:[t];for(var e=0;e<t.length;
vendor: 7,489 bytes, line 1
1e++)t[e]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}}(t.includes),l.apply(null,[n].concat(t.includes)),delete t.includes),n.options&&(t.options=l(r(n.options),t.options)),l(n,t),n._initHooks=[],n.callInitHooks=function(){if(!this._initHooksCalled){i.callInitHooks&&i.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,e=n._initHooks.length;t<e;t++)n._initHooks[t].call(this)}},e},M.include=function(t){return l(this.prototype,t),this},M.mergeOptions=function(t){return l(this.prototype.options,t),this},M.addInitHook=function(t){var e=Array.prototype.slice.call(arguments,1),i="function"==typeof t?t:function(){this[t].apply(this,e)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(i),this};var P={on:function(t,e,i){if("object"==typeof t)for(var n in t)this._on(n,t[n],e);else for(var o=0,r=(t=d(t)).length;o<r;o++)this._on(t[o],e,i);return this},off:function(t,e,i){if(t)if("object"==typeof t)for(var n in t)this._off(n,t[n],e);else for(var o=0,r=(t=d(t)).length;o<r;o++)this._off(t[o],e,i);else delete this._events;return this},_on:function(t,e,i){this._events=this._events||{};var n=this._events[t];n||(n=[],this._events[t]=n),i===this&&(i=void 0);for(var o={fn:e,ctx:i},r=n,s=0,a=r.length;s<a;s++)if(r[s].fn===e&&r[s].ctx===i)return;r.push(o)},_off:function(t,e,i){var n,o,r;if(this._events&&(n=this._events[t]))if(e){if(i===this&&(i=void 0),n)for(o=0,r=n.length;o<r;o++){var s=n[o];if(s.ctx===i&&s.fn===e)return s.fn=a,this._firingCount&&(this._events[t]=n=n.slice()),void n.splice(o,1)}}else{for(o=0,r=n.length;o<r;o++)n[o].fn=a;delete this._events[t]}},fire:function(t,e,i){if(!this.listens(t,i))return this;var n=l({},e,{type:t,target:this,sourceTarget:e&&e.sourceTarget||this});if(this._events){var o=this._events[t];if(o){this._firingCount=this._firingCount+1||1;for(var r=0,s=o.length;r<s;r++){var a=o[r];a.fn.call(a.ctx||this,n)}this._firingCount--}}return i&&this._propagateEvent(n),this},listens:function(t,e){var i=this._events&&this._events[t];if(i&&i.length)return!0;if(e)for(var n in this._eventParents)if(this._eventParents[n].listens(t,e))return!0;return!1},once:function(t,e,i){if("object"==typeof t){for(var n in t)this.once(n,t[n],e);return this}var o=p(function(){this.off(t,e,i).off(t,o,i)},this);return this.on(t,e,i).on(t,o,i)},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[h(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[h(t)],this},_propagateEvent:function(t){for(var e in this._eventParents)this._eventParents[e].fire(t.type,l({layer:t.target,propagatedFrom:t.target},t),!0)}};P.addEventListener=P.on,P.removeEventListener=P.clearAllEventListeners=P.off,P.addOneTimeEventListener=P.once,P.fireEvent=P.fire,P.hasEventListeners=P.listens;var I=M.extend(P);function O(t,e,i){this.x=i?Math.round(t):t,this.y=i?Math.round(e):e}var A=Math.trunc||function(t){return 0<t?Math.floor(t):Math.ceil(t)};function N(t,e,i){return t instanceof O?t:v(t)?new O(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new O(t.x,t.y):new O(t,e,i)}function F(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])}function z(t,e){return!t||t instanceof F?t:new F(t,e)}function j(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])}function R(t,e){return t instanceof j?t:new j(t,e)}function H(t,e,i){if(isNaN(t)||isNaN(e))throw new Error("Invalid LatLng object: ("+t+", "+e+")");this.lat=+t,this.lng=+e,void 0!==i&&(this.alt=+i)}function B(t,e,i){return t instanceof H?t:v(t)&&"object"!=typeof t[0]?3===t.length?new H(t[0],t[1],t[2]):2===t.length?new H(t[0],t[1]):null:null==t?t:"object"==typeof t&&"lat"in t?new H(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===e?null:new H(t,e,i)}O.prototype={clone:function(){return new O(this.x,this.y)},add:function(t){return this.clone()._add(N(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(N(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new O(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new O(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=A(this.x),this.y=A(this.y),this},distanceTo:function(t){var e=(t=N(t)).x-this.x,i=t.y-this.y;return Math.sqrt(e*e+i*i)},equals:function(t){return(t=N(t)).x===this.x&&t.y===this.y},contains:function(t){return t=N(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+u(this.x)+", "+u(this.y)+")"}},F.prototype={extend:function(t){return t=N(t),this.min||this.max?(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(t.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(t.y,this.max.y)):(this.min=t.clone(),this.max=t.clone()),this},getCenter:function(t){return new O((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return new O(this.min.x,this.max.y)},getTopRight:function(){return new O(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var e,i;return(t="number"==typeof t[0]||t instanceof O?N(t):z(t))instanceof F?(e=t.min,i=t.max):e=i=t,e.x>=this.min.x&&i.x<=this.max.x&&e.y>=this.min.y&&i.y<=this.max.y},intersects:function(t){t=z(t);var e=this.min,i=this.max,n=t.min,o=t.max,r=o.x>=e.x&&n.x<=i.x,s=o.y>=e.y&&n.y<=i.y;return r&&s},overlaps:function(t){t=z(t);var e=this.min,i=this.max,n=t.min,o=t.max,r=o.x>e.x&&n.x<i.x,s=o.y>e.y&&n.y<i.y;return r&&s},isValid:function(){return!(!this.min||!this.max)}},j.prototype={extend:function(t){var e,i,n=this._southWest,o=this._northEast;if(t instanceof H)i=e=t;else{if(!(t instanceof j))return t?this.extend(B(t)||R(t)):this;if(e=t._southWest,i=t._northEast,!e||!i)return this}return n||o?(n.lat=Math.min(e.lat,n.lat),n.lng=Math.min(e.lng,n.lng),o.lat=Math.max(i.lat,o.lat),o.lng=Math.max(i.lng,o.lng)):(this._southWest=new H(e.lat,e.lng),this._northEast=new H(i.lat,i.lng)),this},pad:function(t){var e=this._southWest,i=this._northEast,n=Math.abs(e.lat-i.lat)*t,o=Math.abs(e.lng-i.lng)*t;return new j(new H(e.lat-n,e.lng-o),new H(i.lat+n,i.lng+o))},getCenter:function(){return new H((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new H(this.getNorth(),this.getWest())},getSouthEast:function(){return new H(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat}
1,getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t="number"==typeof t[0]||t instanceof H||"lat"in t?B(t):R(t);var e,i,n=this._southWest,o=this._northEast;return t instanceof j?(e=t.getSouthWest(),i=t.getNorthEast()):e=i=t,e.lat>=n.lat&&i.lat<=o.lat&&e.lng>=n.lng&&i.lng<=o.lng},intersects:function(t){t=R(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),r=o.lat>=e.lat&&n.lat<=i.lat,s=o.lng>=e.lng&&n.lng<=i.lng;return r&&s},overlaps:function(t){t=R(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),r=o.lat>e.lat&&n.lat<i.lat,s=o.lng>e.lng&&n.lng<i.lng;return r&&s},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,e){return!!t&&(t=R(t),this._southWest.equals(t.getSouthWest(),e)&&this._northEast.equals(t.getNorthEast(),e))},isValid:function(){return!(!this._southWest||!this._northEast)}};var Y,W={latLngToPoint:function(t,e){var i=this.projection.project(t),n=this.scale(e);return this.transformation._transform(i,n)},pointToLatLng:function(t,e){var i=this.scale(e),n=this.transformation.untransform(t,i);return this.projection.unproject(n)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){if(this.infinite)return null;var e=this.projection.bounds,i=this.scale(t);return new F(this.transformation.transform(e.min,i),this.transformation.transform(e.max,i))},infinite:(H.prototype={equals:function(t,e){return!!t&&(t=B(t),Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng))<=(void 0===e?1e-9:e))},toString:function(t){return"LatLng("+u(this.lat,t)+", "+u(this.lng,t)+")"},distanceTo:function(t){return U.distance(this,B(t))},wrap:function(){return U.wrapLatLng(this)},toBounds:function(t){var e=180*t/40075017,i=e/Math.cos(Math.PI/180*this.lat);return R([this.lat-e,this.lng-i],[this.lat+e,this.lng+i])},clone:function(){return new H(this.lat,this.lng,this.alt)}},!1),wrapLatLng:function(t){var e=this.wrapLng?s(t.lng,this.wrapLng,!0):t.lng;return new H(this.wrapLat?s(t.lat,this.wrapLat,!0):t.lat,e,t.alt)},wrapLatLngBounds:function(t){var e=t.getCenter(),i=this.wrapLatLng(e),n=e.lat-i.lat,o=e.lng-i.lng;if(0==n&&0==o)return t;
1var r=t.getSouthWest(),s=t.getNorthEast();return new j(new H(r.lat-n,r.lng-o),new H(s.lat-n,s.lng-o))}},U=l({},W,{wrapLng:[-180,180],R:6371e3,distance:function(t,e){var i=Math.PI/180,n=t.lat*i,o=e.lat*i,r=Math.sin((e.lat-t.lat)*i/2),s=Math.sin((e.lng-t.lng)*i/2),a=r*r+Math.cos(n)*Math.cos(o)*s*s,l=2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a));return this.R*l}}),V={R:6378137,MAX_LATITUDE:85.0511287798,project:function(t){var e=Math.PI/180,i=this.MAX_LATITUDE,n=Math.max(Math.min(i,t.lat),-i),o=Math.sin(n*e);return new O(this.R*t.lng*e,this.R*Math.log((1+o)/(1-o))/2)},unproject:function(t){var e=180/Math.PI;return new H((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*e,t.x*e/this.R)},bounds:(Y=6378137*Math.PI,new F([-Y,-Y],[Y,Y]))};function Z(t,e,i,n){if(v(t))return this._a=t[0],this._b=t[1],this._c=t[2],void(this._d=t[3]);this._a=t,this._b=e,this._c=i,this._d=n}function q(t,e,i,n){return new Z(t,e,i,n)}Z.prototype={transform:function(t,e){return this._transform(t.clone(),e)},_transform:function(t,e){return e=e||1,t.x=e*(this._a*t.x+this._b),t.y=e*(this._c*t.y+this._d),t},untransform:function(t,e){return e=e||1,new O((t.x/e-this._b)/this._a,(t.y/e-this._d)/this._c)}};var $,G=l({},U,{code:"EPSG:3857",projection:V,transformation:($=.5/(Math.PI*V.R),q($,.5,-$,.5))}),K=l({},G,{code:"EPSG:900913"});function Q(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function X(t,e){var i,n,o,r,s,a,l="";for(i=0,o=t.length;i<o;i++){for(n=0,r=(s=t[i]).length;n<r;n++)l+=(n?"L":"M")+(a=s[n]).x+" "+a.y;l+=e?St?"z":"x":""}return l||"M0 0"}var J=document.documentElement.style,tt="ActiveXObject"in window,et=tt&&!document.addEventListener,it="msLaunchUri"in navigator&&!("documentMode"in document),nt=Pt("webkit"),ot=Pt("android"),rt=Pt("android 2")||Pt("android 3"),st=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),at=ot&&Pt("Google")&&st<537&&!("AudioNode"in window),lt=!!window.opera,ht=Pt("chrome"),ut=Pt("gecko")&&!nt&&!lt&&!tt,ct=!ht&&Pt("safari"),dt=Pt("phantom"),ft="OTransition"in J,pt=0===navigator.platform.indexOf("Win"),_t=tt&&"transition"in J,mt="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!rt,gt="MozPerspective"in J,vt=!window.L_DISABLE_3D&&(_t||mt||gt)&&!ft&&!dt,yt="undefined"!=typeof orientation||Pt("mobile"),bt=yt&&nt,wt=yt&&mt,xt=!window.PointerEvent&&window.MSPointerEvent,kt=!(!window.PointerEvent&&!xt),Lt=!window.L_NO_TOUCH&&(kt||"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),Dt=yt&&lt,Tt=yt&&ut,Et=1<(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI),Ct=!!document.createElement("canvas").getContext,St=!(!document.createElementNS||!Q("svg").createSVGRect),Mt=!St&&function(){try{var t=document.createElement("div");t.innerHTML='<v:shape adj="1"/>';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"==typeof e.adj}catch(t){return!1}}();function Pt(t){return 0<=navigator.userAgent.toLowerCase().indexOf(t)}var It=(Object.freeze||Object)({ie:tt,ielt9:et,edge:it,webkit:nt,android:ot,android23:rt,androidStock:at,opera:lt,chrome:ht,gecko:ut,safari:ct,phantom:dt,opera12:ft,win:pt,ie3d:_t,webkit3d:mt,gecko3d:gt,any3d:vt,mobile:yt,mobileWebkit:bt,mobileWebkit3d:wt,msPointer:xt,pointer:kt,touch:Lt,mobileOpera:Dt,mobileGecko:Tt,retina:Et,canvas:Ct,svg:St,vml:Mt}),Ot=xt?"MSPointerDown":"pointerdown",At=xt?"MSPointerMove":"pointermove",Nt=xt?"MSPointerUp":"pointerup",Ft=xt?"MSPointerCancel":"pointercancel",zt=["INPUT","SELECT","OPTION"],jt={},Rt=!1,Ht=0;function Bt(t){jt[t.pointerId]=t,Ht++}function Yt(t){jt[t.pointerId]&&(jt[t.pointerId]=t)}function Wt(t){delete jt[t.pointerId],Ht--}function Ut(t,e){for(var i in t.touches=[],jt)t.touches.push(jt[i]);t.changedTouches=[t],e(t)}var Vt=xt?"MSPointerDown":kt?"pointerdown":"touchstart",Zt=xt?"MSPointerUp":kt?"pointerup":"touchend",qt="_leaflet_";var $t,Gt,Kt,Qt,Xt,Jt=_e(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),te=_e(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),ee="webkitTransition"===te||"OTransition"===te?te+"End":"transitionend";function ie(t){return"string"==typeof t?document.getElementById(t):t}function ne(t,e){var i=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!i||"auto"===i)&&document.defaultView){var n=document.defaultView.getComputedStyle(t,null);i=n?n[e]:null}return"auto"===i?null:i}function oe(t,e,i){var n=document.createElement(t);return n.className=e||"",i&&i.appendChild(n),n}function re(t){var e=t.parentNode;e&&e.removeChild(t)}function se(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function ae(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function le(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function he(t,e){if(void 0!==t.classList)return t.classList.contains(e);var i=fe(t);return 0<i.length&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(i)}function ue(t,e){if(void 0!==t.classList)for(var i=d(e),n=0,o=i.length;n<o;n++)t.classList.add(i[n]);else if(!he(t,e)){var r=fe(t);de(t,(r?r+" ":"")+e)}}function ce(t,e){void 0!==t.classList?t.classList.remove(e):de(t,c((" "+fe(t)+" ").replace(" "+e+" "," ")))}function de(t,e){void 0===t.className.baseVal?t.className=e:t.className.baseVal=e}function fe(t){return t.correspondingElement&&(t=t.correspondingElement),void 0===t.className.baseVal?t.className:t.className.baseVal}function pe(t,e){"opacity"in t.style?t.style.opacity=e:"filter"in t.style&&function(t,e){var i=!1,n="DXImageTransform.Microsoft.Alpha";try{i=t.filters.item(n)}catch(t){if(1===e)return}e=Math.round(100*e),i?(i.Enabled=100!==e,i.Opacity=e):t.style.filter+=" progid:"+n+"(opacity="+e+")"}(t,e)}function _e(t){for(var e=document.documentElement.style,i=0;i<t.length;i++)if(t[i]in e)return t[i];return!1}function me(t,e,i){var n=e||new O(0,0);t.style[Jt]=(_t?"translate("+n.x+"px,"+n.y+"px)":"translate3d("+n.x+"px,"+n.y+"px,0)")+(i?" scale("+i+")":"")}function ge(t,e){t._leaflet_pos=e,vt?me(t,e):(t.style.left=e.x+"px",t.style.top=e.y+"px")}function ve(t){return t._leaflet_pos||new O(0,0)}if("onselectstart"in document)$t=function(){Ee(window,"selectstart",Ne)},Gt=function(){Se(window,"selectstart",Ne)};else{var ye=_e(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);$t=function(){if(ye){var t=document.documentElement.style;Kt=t[ye],t[ye]="none"}},Gt=function(){ye&&(document.documentElement.style[ye]=Kt,Kt=void 0)}}function be(){Ee(window,"dragstart",Ne)}function we(){Se(window,"dragstart",Ne)}function xe(t){for(;-1===t.tabIndex;)t=t.parentNode;t.style&&(ke(),Xt=(Qt=t).style.outline,t.style.outline="none",Ee(window,"keydown",ke))}function ke(){Qt&&(Qt.style.outline=Xt,Xt=Qt=void 0,Se(window,"keydown",ke))}function Le(t){for(;!((t=t.parentNode).offsetWidth&&t.offsetHeight||t===document.body););return t}function De(t){var e=t.getBoundingClientRect();
1return{x:e.width/t.offsetWidth||1,y:e.height/t.offsetHeight||1,boundingClientRect:e}}var Te=(Object.freeze||Object)({TRANSFORM:Jt,TRANSITION:te,TRANSITION_END:ee,get:ie,getStyle:ne,create:oe,remove:re,empty:se,toFront:ae,toBack:le,hasClass:he,addClass:ue,removeClass:ce,setClass:de,getClass:fe,setOpacity:pe,testProp:_e,setTransform:me,setPosition:ge,getPosition:ve,disableTextSelection:$t,enableTextSelection:Gt,disableImageDrag:be,enableImageDrag:we,preventOutline:xe,restoreOutline:ke,getSizedParentNode:Le,getScale:De});function Ee(t,e,i,n){if("object"==typeof e)for(var o in e)Me(t,o,e[o],i);else for(var r=0,s=(e=d(e)).length;r<s;r++)Me(t,e[r],i,n);return this}var Ce="_leaflet_events";function Se(t,e,i,n){if("object"==typeof e)for(var o in e)Pe(t,o,e[o],i);else if(e)for(var r=0,s=(e=d(e)).length;r<s;r++)Pe(t,e[r],i,n);else{for(var a in t[Ce])Pe(t,a,t[Ce][a]);delete t[Ce]}return this}function Me(e,t,i,n){var o=t+h(i)+(n?"_"+h(n):"");if(e[Ce]&&e[Ce][o])return this;var r=function(t){return i.call(n||e,t||window.event)},s=r;kt&&0===t.indexOf("touch")?function(t,e,i,n){return"touchstart"===e?(h=t,u=i,c=n,d=p(function(t){if("mouse"!==t.pointerType&&t.MSPOINTER_TYPE_MOUSE&&t.pointerType!==t.MSPOINTER_TYPE_MOUSE){if(!(zt.indexOf(t.target.tagName)<0))return;Ne(t)}Ut(t,u)}),h["_leaflet_touchstart"+c]=d,h.addEventListener(Ot,d,!1),Rt||(document.documentElement.addEventListener(Ot,Bt,!0),document.documentElement.addEventListener(At,Yt,!0),document.documentElement.addEventListener(Nt,Wt,!0),document.documentElement.addEventListener(Ft,Wt,!0),Rt=!0)):"touchmove"===e?(l=i,(a=t)["_leaflet_touchmove"+n]=f,a.addEventListener(At,f,!1)):"touchend"===e&&(s=i,(r=t)["_leaflet_touchend"+n]=o,r.addEventListener(Nt,o,!1),r.addEventListener(Ft,o,!1));function o(t){Ut(t,s)}var r,s,a,l,h,u,c,d;function f(t){(t.pointerType!==t.MSPOINTER_TYPE_MOUSE&&"mouse"!==t.pointerType||0!==t.buttons)&&Ut(t,l)}}(e,t,r,o):!Lt||"dblclick"!==t||kt&&ht?"addEventListener"in e?"mousewheel"===t?e.addEventListener("onwheel"in e?"wheel":"mousewheel",r,!1):"mouseenter"===t||"mouseleave"===t?(r=function(t){t=t||window.event,Ue(e,t)&&s(t)},e.addEventListener("mouseenter"===t?"mouseover":"mouseout",r,!1)):("click"===t&&ot&&(r=function(t){!function(t,e){var i=t.timeStamp||t.originalEvent&&t.originalEvent.timeStamp,n=He&&i-He;if(n&&100<n&&n<500||t.target._simulatedClick&&!t._simulated)return Fe(t);He=i,e(t)}(t,s)}),e.addEventListener(t,r,!1)):"attachEvent"in e&&e.attachEvent("on"+t,r):function(t,o,e){var r,s,a=!1;function i(t){var e;if(kt){if(!it||"mouse"===t.pointerType)return;e=Ht}else e=t.touches.length;if(!(1<e)){var i=Date.now(),n=i-(r||i);s=t.touches?t.touches[0]:t,a=0<n&&n<=250,r=i}}function n(t){if(a&&!s.cancelBubble){if(kt){if(!it||"mouse"===t.pointerType)return;var e,i,n={};for(i in s)e=s[i],n[i]=e&&e.bind?e.bind(s):e;s=n}s.type="dblclick",s.button=0,o(s),r=null}}t[qt+Vt+e]=i,t[qt+Zt+e]=n,t[qt+"dblclick"+e]=o,t.addEventListener(Vt,i,!1),t.addEventListener(Zt,n,!1),t.addEventListener("dblclick",o,!1)}(e,r,o),e[Ce]=e[Ce]||{},e[Ce][o]=r}function Pe(t,e,i,n){var o,r,s,a=e+h(i)+(n?"_"+h(n):""),l=t[Ce]&&t[Ce][a];if(!l)return this;kt&&0===e.indexOf("touch")?(s=(o=t)["_leaflet_"+(r=e)+a],"touchstart"===r?o.removeEventListener(Ot,s,!1):"touchmove"===r?o.removeEventListener(At,s,!1):"touchend"===r&&(o.removeEventListener(Nt,s,!1),o.removeEventListener(Ft,s,!1))):!Lt||"dblclick"!==e||kt&&ht?"removeEventListener"in t?"mousewheel"===e?t.removeEventListener("onwheel"in t?"wheel":"mousewheel",l,!1):t.removeEventListener("mouseenter"===e?"mouseover":"mouseleave"===e?"mouseout":e,l,!1):"detachEvent"in t&&t.detachEvent("on"+e,l):function(t,e){var i=t[qt+Vt+e],n=t[qt+Zt+e],o=t[qt+"dblclick"+e];t.removeEventListener(Vt,i,!1),t.removeEventListener(Zt,n,!1),it||t.removeEventListener("dblclick",o,!1)}(t,a),t[Ce][a]=null}function Ie(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,We(t),this}function Oe(t){return Me(t,"mousewheel",Ie),this}function Ae(t){return Ee(t,"mousedown touchstart dblclick",Ie),Me(t,"click",Ye),this}function Ne(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function Fe(t){return Ne(t),Ie(t),this}function ze(t,e){if(!e)return new O(t.clientX,t.clientY);var i=De(e),n=i.boundingClientRect;return new O((t.clientX-n.left)/i.x-e.clientLeft,(t.clientY-n.top)/i.y-e.clientTop)}var je=pt&&ht?2*window.devicePixelRatio:ut?window.devicePixelRatio:1;function Re(t){return it?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/je:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail
vendor: 18,369 bytes, line 1
1:t.detail?t.detail/-32765*60:0}var He,Be={};function Ye(t){Be[t.type]=!0}function We(t){var e=Be[t.type];return Be[t.type]=!1,e}function Ue(t,e){var i=e.relatedTarget;if(!i)return!0;try{for(;i&&i!==t;)i=i.parentNode}catch(t){return!1}return i!==t}var Ve=(Object.freeze||Object)({on:Ee,off:Se,stopPropagation:Ie,disableScrollPropagation:Oe,disableClickPropagation:Ae,preventDefault:Ne,stop:Fe,getMousePosition:ze,getWheelDelta:Re,fakeStop:Ye,skipped:We,isExternalTarget:Ue,addListener:Ee,removeListener:Se}),Ze=I.extend({run:function(t,e,i,n){this.stop(),this._el=t,this._inProgress=!0,this._duration=i||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=ve(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=E(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,i=1e3*this._duration;e<i?this._runFrame(this._easeOut(e/i),t):(this._runFrame(1),this._complete())},_runFrame:function(t,e){var i=this._startPos.add(this._offset.multiplyBy(t));e&&i._round(),ge(this._el,i),this.fire("step")},_complete:function(){C(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),qe=I.extend({options:{crs:G,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(t,e){e=f(this,e),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(t),this._initLayout(),this._onResize=p(this._onResize,this),this._initEvents(),e.maxBounds&&this.setMaxBounds(e.maxBounds),void 0!==e.zoom&&(this._zoom=this._limitZoom(e.zoom)),e.center&&void 0!==e.zoom&&this.setView(B(e.center),e.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=te&&vt&&!Dt&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),Ee(this._proxy,ee,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(t,e,i){return e=void 0===e?this._zoom:this._limitZoom(e),t=this._limitCenter(B(t),e,this.options.maxBounds),i=i||{},this._stop(),this._loaded&&!i.reset&&!0!==i&&(void 0!==i.animate&&(i.zoom=l({animate:i.animate},i.zoom),i.pan=l({animate:i.animate,duration:i.duration},i.pan)),this._zoom!==e?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,e,i.zoom):this._tryAnimatedPan(t,i.pan))?clearTimeout(this._sizeTimer):this._resetView(t,e),this},setZoom:function(t,e){return this._loaded?this.setView(this.getCenter(),t,{zoom:e}):(this._zoom=t,this)},zoomIn:function(t,e){return t=t||(vt?this.options.zoomDelta:1),this.setZoom(this._zoom+t,e)},zoomOut:function(t,e){return t=t||(vt?this.options.zoomDelta:1),this.setZoom(this._zoom-t,e)},setZoomAround:function(t,e,i){var n=this.getZoomScale(e),o=this.getSize().divideBy(2),r=(t instanceof O?t:this.latLngToContainerPoint(t)).subtract(o).multiplyBy(1-1/n),s=this.containerPointToLatLng(o.add(r));return this.setView(s,e,{zoom:i})},_getBoundsCenterZoom:function(t,e){e=e||{},t=t.getBounds?t.getBounds():R(t);var i=N(e.paddingTopLeft||e.padding||[0,0]),n=N(e.paddingBottomRight||e.padding||[0,0]),o=this.getBoundsZoom(t,!1,i.add(n));if((o="number"==typeof e.maxZoom?Math.min(e.maxZoom,o):o)===1/0)return{center:t.getCenter(),zoom:o};var r=n.subtract(i).divideBy(2),s=this.project(t.getSouthWest(),o),a=this.project(t.getNorthEast(),o);return{center:this.unproject(s.add(a).divideBy(2).add(r),o),zoom:o}},fitBounds:function(t,e){if(!(t=R(t)).isValid())throw new Error("Bounds are not valid.");var i=this._getBoundsCenterZoom(t,e);return this.setView(i.center,i.zoom,e)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,e){return this.setView(t,this._zoom,{pan:e})},panBy:function(t,e){if(e=e||{},!(t=N(t).round()).x&&!t.y)return this.fire("moveend");if(!0!==e.animate&&!this.getSize().contains(t))return this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new Ze,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),!1!==e.animate){ue(this._mapPane,"leaflet-pan-anim");var i=this._getMapPanePos().subtract(t).round();this._panAnim.run(this._mapPane,i,e.duration||.25,e.easeLinearity)}else this._rawPanBy(t),this.fire("move").fire("moveend");return this},flyTo:function(r,s,t){if(!1===(t=t||{}).animate||!vt)return this.setView(r,s,t);this._stop();var a=this.project(this.getCenter()),l=this.project(r),e=this.getSize(),h=this._zoom;r=B(r),s=void 0===s?h:s;var u=Math.max(e.x,e.y),n=u*this.getZoomScale(h,s),c=l.distanceTo(a)||1,d=1.42,f=d*d;function i(t){var e=(n*n-u*u+(t?-1:1)*f*f*c*c)/(2*(t?n:u)*f*c),i=Math.sqrt(e*e+1)-e;return i<1e-9?-18:Math.log(i)}function p(t){return(Math.exp(t)-Math.exp(-t))/2}function _(t){return(Math.exp(t)+Math.exp(-t))/2}var m=i(0);var g=Date.now(),v=(i(1)-m)/d,y=t.duration?1e3*t.duration:1e3*v*.8;return this._moveStart(!0,t.noMoveStart),function t(){var e,i,n=(Date.now()-g)/y,o=(e=n,(1-Math.pow(1-e,1.5))*v);n<=1?(this._flyToFrame=E(t,this),this._move(this.unproject(a.add(l.subtract(a).multiplyBy(function(t){return u*(_(m)*(p(e=m+d*t)/_(e))-p(m))/f;var e}(o)/c)),h),this.getScaleZoom(u/(i=o,u*(_(m)/_(m+d*i))),h),{flyTo:!0})):this._move(r,s)._moveEnd(!0)}.call(this),this},flyToBounds:function(t,e){var i=this._getBoundsCenterZoom(t,e);return this.flyTo(i.center,i.zoom,e)},setMaxBounds:function(t){return(t=R(t)).isValid()?(this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this.off("moveend",this._panInsideMaxBounds))},setMinZoom:function(t){var e=this.options.minZoom;return this.options.minZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var e=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var i=this.getCenter(),n=this._limitCenter(i,this._zoom,R(t));return i.equals(n)||this.panTo(n,e),this._enforcingBounds=!1,this},panInside:function(t,e){var i=N((e=e||{}).paddingTopLeft||e.padding||[0,0]),n=N(e.paddingBottomRight||e.padding||[0,0]),o=this.getCenter(),r=this.project(o),s=this.project(t),a=this.getPixelBounds(),l=a.getSize().divideBy(2),h=z([a.min.add(i),a.max.subtract(n)]);if(!h.contains(s)){this._enforcingBounds=!0;var u=r.subtract(s),c=N(s.x+u.x,s.y+u.y);(s.x<h.min.x||s.x>h.max.x)&&(c.x=r.x-u.x,0<u.x?c.x+=l.x-i.x:c.x-=l.x-n.x),(s.y<h.min.y||s.y>h.max.y)&&(c.y=r.y-u.y,0<u.y?c.y+=l.y-i.y:c.y-=l.y-n.y),this.panTo(this.unproject(c),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=l({animate:!1,pan:!0},!0===t?{animate:!0}:t);var e=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var i=this.getSize(),n=e.divideBy(2).round(),o=i.divideBy(2).round(),r=n.subtract(o);return r.x||r.y?(t.animate&&t.pan?this.panBy(r):(t.pan&&this._rawPanBy(r),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(p(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:e,newSize:i})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=l({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var e=p(this._handleGeolocationResponse,this),i=p(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,i,t):navigator.geolocation.getCurrentPosition(e,i,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var e=t.code,i=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+i+"."})},_handleGeolocationResponse:function(t){var e=new H(t.coords.latitude,t.coords.longitude),i=e.toBounds(2*t.coords.accuracy),n=this._locateOptions;if(n.setView){var o=this.getBoundsZoom(i);this.setView(e,n.maxZoom?Math.min(o,n.maxZoom):o)}var r={latlng:e,bounds:i,timestamp:t.timestamp};for(var s in t.coords)"number"==typeof t.coords[s]&&(r[s]=t.coords[s]);this.fire("locationfound",r)},addHandler:function(t,e){if(!e)return this;var i=this[t]=new e(this);return this._handlers.push(i),this.options[t]&&i.enable(),this},remove:function(){if(this._initEvents(!0),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=void 0,this._containerId=void 0}var t;for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),re(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(C(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)re(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var i=oe("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane);return t&&(this._panes[t]=i),i},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new j(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,i){t=R(t),i=N(i||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),r=this.getMaxZoom(),s=t.getNorthWest(),a=t.getSouthEast(),l=this.getSize().subtract(i),h=z(this.project(a,n),this.project(s,n)).getSize(),u=vt?this.options.zoomSnap:1,c=l.x/h.x,d=l.y/h.y,f=e?Math.max(c,d):Math.min(c,d);return n=this.getScaleZoom(f,n),u&&(n=Math.round(n/(u/100))*(u/100),n=e?Math.ceil(n/u)*u:Math.floor(n/u)*u),Math.max(o,Math.min(r,n))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new O(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var i=this._getTopLeftPoint(t,e);return new F(i,i.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var i=this.options.crs;return e=void 0===e?this._zoom:e,i.scale(t)/i.scale(e)},getScaleZoom:function(t,e){var i=this.options.crs;e=void 0===e?this._zoom:e;var n=i.zoom(t*i.scale(e));return isNaN(n)?1/0:n},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(B(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(N(t),e)},layerPointToLatLng:function(t){var e=N(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){return this.project(B(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(B(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(R(t))},distance:function(t,e){return this.options.crs.distance(B(t),B(e))},containerPointToLayerPoint:function(t){return N(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return N(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(N(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(B(t)))},mouseEventToContainerPoint:function(t){return ze(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=ie(t);if(!e)throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");Ee(e,"scroll",this._onScroll,this),this._containerId=h(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&vt,ue(t,"leaflet-container"+(Lt?" leaflet-touch":"")+(Et?" leaflet-retina":"")+(et?" leaflet-oldie":"")+(ct?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=ne(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),ge(this._mapPane,new O(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(ue(t.markerPane,"leaflet-zoom-hide"),ue(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e){ge(this._mapPane,new O(0,0));var i=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var n=this._zoom!==e;this._moveStart(n,!1)._move(t,e)._moveEnd(n),this.fire("viewreset"),i&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,i){void 0===e&&(e=this._zoom);var n=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),(n||i&&i.pinch)&&this.fire("zoom",i),this.fire("move",i)},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return C(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){ge(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={};var e=t?Se:Ee;e((this._targets[h(this._container)]=this)._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),vt&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){C(this._resizeRequest),this._resizeRequest=E(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var i,n=[],o="mouseout"===e||"mouseover"===e,r=t.target||t.srcElement,s=!1;r;){if((i=this._targets[h(r)])&&("click"===e||"preclick"===e)&&!t._simulated&&this._draggableMoved(i)){s=!0;break}if(i&&i.listens(e,!0)){if(o&&!Ue(r,t))break;if(n.push(i),o)break}if(r===this._container)break;r=r.parentNode}return n.length||s||o||!Ue(r,t)||(n=[this]),n},_handleDOMEvent:function(t){if(this._loaded&&!We(t)){var e=t.type;"mousedown"!==e&&"keypress"!==e&&"keyup"!==e&&"keydown"!==e||xe(t.target||t.srcElement),this._fireDOMEvent(t,e)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,e,i){if("click"===t.type){var n=l({},t);n.type="preclick",this._fireDOMEvent(n,n.type,i)}if(!t._stopped&&(i=(i||[]).concat(this._findEventTargets(t,e))).length){var o=i[0];"contextmenu"===e&&o.listens(e,!0)&&Ne(t);var r={originalEvent:t};if("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type){var s=o.getLatLng&&(!o._radius||o._radius<=10);r.containerPoint=s?this.latLngToContainerPoint(o.getLatLng()):this.mouseEventToContainerPoint(t),r.layerPoint=this.containerPointToLayerPoint(r.containerPoint),r.latlng=s?o.getLatLng():this.layerPointToLatLng(r.layerPoint)}for(var a=0;a<i.length;a++)if(i[a].fire(e,r,!0),r.originalEvent._stopped||!1===i[a].options.bubblingMouseEvents&&-1!==y(this._mouseEvents,e))return}},_draggableMoved:function(t){return(t=t.dragging&&t.dragging.enabled()?t:this).dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,e=this._handlers.length;t<e;t++)this._handlers[t].disable()},whenReady:function(t,e){return this._loaded?t.call(e||this,{target:this}):this.on("load",t,e),this},_getMapPanePos:function(){return ve(this._mapPane)||new O(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,e){return(t&&void 0!==e?this._getNewPixelOrigin(t,e):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,e){var i=this.getSize()._divideBy(2);return this.project(t,e)._subtract(i)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,e,i){var n=this._getNewPixelOrigin(i,e);return this.project(t,e)._subtract(n)},_latLngBoundsToNewLayerBounds:function(t,e,i){var n=this._getNewPixelOrigin(i,e);
1return z([this.project(t.getSouthWest(),e)._subtract(n),this.project(t.getNorthWest(),e)._subtract(n),this.project(t.getSouthEast(),e)._subtract(n),this.project(t.getNorthEast(),e)._subtract(n)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,e,i){if(!i)return t;var n=this.project(t,e),o=this.getSize().divideBy(2),r=new F(n.subtract(o),n.add(o)),s=this._getBoundsOffset(r,i,e);return s.round().equals([0,0])?t:this.unproject(n.add(s),e)},_limitOffset:function(t,e){if(!e)return t;var i=this.getPixelBounds(),n=new F(i.min.add(t),i.max.add(t));return t.add(this._getBoundsOffset(n,e))},_getBoundsOffset:function(t,e,i){var n=z(this.project(e.getNorthEast(),i),this.project(e.getSouthWest(),i)),o=n.min.subtract(t.min),r=n.max.subtract(t.max);return new O(this._rebound(o.x,-r.x),this._rebound(o.y,-r.y))},_rebound:function(t,e){return 0<t+e?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),i=this.getMaxZoom(),n=vt?this.options.zoomSnap:1;return n&&(t=Math.round(t/n)*n),Math.max(e,Math.min(i,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){ce(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var i=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(i)||(this.panBy(i,e),0))},_createAnimProxy:function(){var t=this._proxy=oe("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(t){var e=Jt,i=this._proxy.style[e];me(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),i===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",function(){var t=this.getCenter(),e=this.getZoom();me(this._proxy,this.project(t,e),this.getZoomScale(e,1))},this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){re(this._proxy),delete this._proxy},_catchTransitionEnd:function(t){this._animatingZoom&&0<=t.propertyName.indexOf("transform")&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,i){if(this._animatingZoom)return!0;if(i=i||{},!this._zoomAnimated||!1===i.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(e),o=this._getCenterOffset(t)._divideBy(1-1/n);return!(!0!==i.animate&&!this.getSize().contains(o)||(E(function(){this._moveStart(!0,!1)._animateZoom(t,e,!0)},this),0))},_animateZoom:function(t,e,i,n){this._mapPane&&(i&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,ue(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:n}),setTimeout(p(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&ce(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),E(function(){this._moveEnd(!0)},this))}});function $e(t){return new Ge(t)}var Ge=M.extend({options:{position:"topright"},initialize:function(t){f(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),i=this.getPosition(),n=t._controlCorners[i];return ue(e,"leaflet-control"),-1!==i.indexOf("bottom")?n.insertBefore(e,n.firstChild):n.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map&&(re(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null),this},_refocusOnMap:function(t){this._map&&t&&0<t.screenX&&0<t.screenY&&this._map.getContainer().focus()}});qe.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this}
vendor: 6,588 bytes, line 1
1,_initControlPos:function(){var n=this._controlCorners={},o="leaflet-",r=this._controlContainer=oe("div",o+"control-container",this._container);function t(t,e){var i=o+t+" "+o+e;n[t+e]=oe("div",i,r)}t("top","left"),t("top","right"),t("bottom","left"),t("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)re(this._controlCorners[t]);re(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Ke=Ge.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,i,n){return i<n?-1:n<i?1:0}},initialize:function(t,e,i){for(var n in f(this,i),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,t)this._addLayer(t[n],n);for(n in e)this._addLayer(e[n],n,!0)},onAdd:function(t){this._initLayout(),this._update(),(this._map=t).on("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(t){return Ge.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,e){return this._addLayer(t,e),this._map?this._update():this},addOverlay:function(t,e){return this._addLayer(t,e,!0),this._map?this._update():this},removeLayer:function(t){t.off("add remove",this._onLayerChange,this);var e=this._getLayer(h(t));return e&&this._layers.splice(this._layers.indexOf(e),1),this._map?this._update():this},expand:function(){ue(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._section.clientHeight?(ue(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=t+"px"):ce(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return ce(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",e=this._container=oe("div",t),i=this.options.collapsed;e.setAttribute("aria-haspopup",!0),Ae(e),Oe(e);var n=this._section=oe("section",t+"-list");i&&(this._map.on("click",this.collapse,this),ot||Ee(e,{mouseenter:this.expand,mouseleave:this.collapse},this));var o=this._layersLink=oe("a",t+"-toggle",e);o.href="#",o.title="Layers",Lt?(Ee(o,"click",Fe),Ee(o,"click",this.expand,this)):Ee(o,"focus",this.expand,this),i||this.expand(),this._baseLayersList=oe("div",t+"-base",n),this._separator=oe("div",t+"-separator",n),this._overlaysList=oe("div",t+"-overlays",n),e.appendChild(n)},_getLayer:function(t){for(var e=0;e<this._layers.length;e++)if(this._layers[e]&&h(this._layers[e].layer)===t)return this._layers[e]},_addLayer:function(t,e,i){this._map&&t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:e,overlay:i}),this.options.sortLayers&&this._layers.sort(p(function(t,e){return this.options.sortFunction(t.layer,e.layer,t.name,e.name)},this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;se(this._baseLayersList),se(this._overlaysList),this._layerControlInputs=[];var t,e,i,n,o=0;for(i=0;i<this._layers.length;i++)n=this._layers[i],this._addItem(n),e=e||n.overlay,t=t||!n.overlay,o+=n.overlay?0:1;return this.options.hideSingleBase&&(t=t&&1<o,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(h(t.target)),i=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;i&&this._map.fire(i,e)},_createRadioElement:function(t,e){var i='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(e?' checked="checked"':"")+"/>",n=document.createElement("div");return n.innerHTML=i,n.firstChild},_addItem:function(t){var e,i=document.createElement("label"),n=this._map.hasLayer(t.layer);t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=n):e=this._createRadioElement("leaflet-base-layers_"+h(this),n),this._layerControlInputs.push(e),e.layerId=h(t.layer),Ee(e,"click",this._onInputClick,this);var o=document.createElement("span");o.innerHTML=" "+t.name;var r=document.createElement("div");return i.appendChild(r),r.appendChild(e),r.appendChild(o),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(i),this._checkDisabledLayers(),i},_onInputClick:function(){var t,e,i=this._layerControlInputs,n=[],o=[];this._handlingClick=!0;for(var r=i.length-1;0<=r;r--)t=i[r],e=this._getLayer(t.layerId).layer,t.checked?n.push(e):t.checked||o.push(e);for(r=0;r<o.length;r++)this._map.hasLayer(o[r])&&this._map.removeLayer(o[r]);for(r=0;r<n.length;r++)this._map.hasLayer(n[r])||this._map.addLayer(n[r]);this._handlingClick=!1,this._refocusOnMap()},_checkDisabledLayers:function(){for(var t,e,i=this._layerControlInputs,n=this._map.getZoom(),o=i.length-1;0<=o;o--)t=i[o],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&n<e.options.minZoom||void 0!==e.options.maxZoom&&n>e.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),Qe=Ge.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"&#x2212;",zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",i=oe("div",e+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,e+"-in",i,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,e+"-out",i,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),i},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))}
1,_createButton:function(t,e,i,n,o){var r=oe("a",i,n);return r.innerHTML=t,r.href="#",r.title=e,r.setAttribute("role","button"),r.setAttribute("aria-label",e),Ae(r),Ee(r,"click",Fe),Ee(r,"click",o,this),Ee(r,"click",this._refocusOnMap,this),r},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";ce(this._zoomInButton,e),ce(this._zoomOutButton,e),!this._disabled&&t._zoom!==t.getMinZoom()||ue(this._zoomOutButton,e),!this._disabled&&t._zoom!==t.getMaxZoom()||ue(this._zoomInButton,e)}});qe.mergeOptions({zoomControl:!0}),qe.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Qe,this.addControl(this.zoomControl))});var Xe=Ge.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",i=oe("div",e),n=this.options;return this._addScales(n,e+"-line",i),t.on(n.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),i},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,i){t.metric&&(this._mScale=oe("div",e,i)),t.imperial&&(this._iScale=oe("div",e,i))},_update:function(){var t=this._map,e=t.getSize().y/2,i=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(i)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t),i=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,i,e/t)},_updateImperial:function(t){var e,i,n,o=3.2808399*t;5280<o?(e=o/5280,i=this._getRoundNum(e),this._updateScale(this._iScale,i+" mi",i/e)):(n=this._getRoundNum(o),this._updateScale(this._iScale,n+" ft",n/o))},_updateScale:function(t,e,i){t.style.width=Math.round(this.options.maxWidth*i)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),i=t/e;return e*(10<=i?10:5<=i?5:3<=i?3:2<=i?2:1)}}),Je=Ge.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JS library for interactive maps">Leaflet</a>'},initialize:function(t){f(this,t),this._attributions={}},onAdd:function(t){for(var e in(t.attributionControl=this)._container=oe("div","leaflet-control-attribution"),Ae(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),this._container},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t&&(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update()),this},removeAttribution:function(t){return t&&this._attributions[t]&&(this._attributions[t]--,this._update()),this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var i=[];this.options.prefix&&i.push(this.options.prefix),t.length&&i.push(t.join(", ")),this._container.innerHTML=i.join(" | ")}}});qe.mergeOptions({attributionControl:!0}),qe.addInitHook(function(){this.options.attributionControl&&(new Je).addTo(this)}),Ge.Layers=Ke,Ge.Zoom=Qe,Ge.Scale=Xe,Ge.Attribution=Je,$e.layers=function(t,e,i){return new Ke(t,e,i)},$e.zoom=function(t){return new Qe(t)},$e.scale=function(t){return new Xe(t)},$e.attribution=function(t){return new Je(t)};var ti=M.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled&&(this._enabled=!1,this.removeHooks()),this},enabled:function(){return!!this._enabled}});ti.addTo=function(t,e){return t.addHandler(e,this),this};var ei,ii={Events:P},ni=Lt?"touchstart mousedown":"mousedown",oi={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},ri={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},si=I.extend({options:{clickTolerance:3},initialize:function(t,e,i,n){f(this,n),this._element=t,this._dragStartTarget=e||t,this._preventOutline=i},enable:function(){this._enabled||(Ee(this._dragStartTarget,ni,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(si._dragging===this&&this.finishDrag(),Se(this._dragStartTarget,ni,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!t._simulated&&this._enabled&&(this._moved=!1,!he(this._element,"leaflet-zoom-anim")&&!(si._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||((si._dragging=this)._preventOutline&&xe(this._element),be(),$t(),this._moving)))){this.fire("down");var e=t.touches?t.touches[0]:t,i=Le(this._element);this._startPoint=new O(e.clientX,e.clientY),this._parentScale=De(i),Ee(document,ri[t.type],this._onMove,this),Ee(document,oi[t.type],this._onUp,this)}},_onMove:function(t){if(!t._simulated&&this._enabled)if(t.touches&&1<t.touches.length)this._moved=!0;else{var e=t.touches&&1===t.touches.length?t.touches[0]:t,i=new O(e.clientX,e.clientY)._subtract(this._startPoint);(i.x||i.y)&&(Math.abs(i.x)+Math.abs(i.y)<this.options.clickTolerance||(i.x/=this._parentScale.x,i.y/=this._parentScale.y,Ne(t),this._moved||(this.fire("dragstart"),this._moved=!0,this._startPos=ve(this._element).subtract(i),ue(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),ue(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(i),this._moving=!0,C(this._animRequest),this._lastEvent=t,this._animRequest=E(this._updatePosition,this,!0)))}},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),ge(this._element,this._newPos),this.fire("drag",t)},_onUp:function(t){!t._simulated&&this._enabled&&this.finishDrag()},finishDrag:function(){for(var t in ce(document.body,"leaflet-dragging"),this._lastTarget&&(ce(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),ri)Se(document,ri[t],this._onMove,this),Se(document,oi[t],this._onUp,this);we(),Gt(),this._moved&&this._moving&&(C(this._animRequest),this.fire("dragend",{distance:this._newPos.distanceTo(this._startPos)})),this._moving=!1,si._dragging=!1}});function ai(t,e){if(!e||!t.length)return t.slice();var i=e*e;return function(t,e){var i=t.length,n=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(i);n[0]=n[i-1]=1,function t(e,i,n,o,r){var s,a,l,h=0;for(a=o+1;a<=r-1;
1a++)h<(l=di(e[a],e[o],e[r],!0))&&(s=a,h=l);n<h&&(i[s]=1,t(e,i,n,o,s),t(e,i,n,s,r))}(t,n,e,0,i-1);var o,r=[];for(o=0;o<i;o++)n[o]&&r.push(t[o]);return r}(t=function(t,e){for(var i=[t[0]],n=1,o=0,r=t.length;n<r;n++)s=t[n],e<(l=(a=t[o]).x-s.x)*l+(h=a.y-s.y)*h&&(i.push(t[n]),o=n);var s,a,l,h;return o<r-1&&i.push(t[r-1]),i}(t,i),i)}function li(t,e,i){return Math.sqrt(di(t,e,i,!0))}function hi(t,e,i,n,o){var r,s,a,l=n?ei:ci(t,i),h=ci(e,i);for(ei=h;;){if(!(l|h))return[t,e];if(l&h)return!1;a=ci(s=ui(t,e,r=l||h,i,o),i),r===l?(t=s,l=a):(e=s,h=a)}}function ui(t,e,i,n,o){var r,s,a=e.x-t.x,l=e.y-t.y,h=n.min,u=n.max;return 8&i?(r=t.x+a*(u.y-t.y)/l,s=u.y):4&i?(r=t.x+a*(h.y-t.y)/l,s=h.y):2&i?(r=u.x,s=t.y+l*(u.x-t.x)/a):1&i&&(r=h.x,s=t.y+l*(h.x-t.x)/a),new O(r,s,o)}function ci(t,e){var i=0;return t.x<e.min.x?i|=1:t.x>e.max.x&&(i|=2),t.y<e.min.y?i|=4:t.y>e.max.y&&(i|=8),i}function di(t,e,i,n){var o,r=e.x,s=e.y,a=i.x-r,l=i.y-s,h=a*a+l*l;return 0<h&&(1<(o=((t.x-r)*a+(t.y-s)*l)/h)?(r=i.x,s=i.y):0<o&&(r+=a*o,s+=l*o)),a=t.x-r,l=t.y-s,n?a*a+l*l:new O(r,s)}function fi(t){return!v(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function pi(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),fi(t)}var _i=(Object.freeze||Object)({simplify:ai,pointToSegmentDistance:li,closestPointOnSegment:function(t,e,i){return di(t,e,i)},clipSegment:hi,_getEdgeIntersection:ui,_getBitCode:ci,_sqClosestPointOnSegment:di,isFlat:fi,_flat:pi});function mi(t,e,i){var n,o,r,s,a,l,h,u,c,d=[1,4,2,8];for(o=0,h=t.length;o<h;o++)t[o]._code=ci(t[o],e);for(s=0;s<4;s++){for(u=d[s],n=[],o=0,r=(h=t.length)-1;o<h;r=o++)a=t[o],l=t[r],a._code&u?l._code&u||((c=ui(l,a,u,e,i))._code=ci(c,e),n.push(c)):(l._code&u&&((c=ui(l,a,u,e,i))._code=ci(c,e),n.push(c)),n.push(a));t=n}return t}var gi,vi=(Object.freeze||Object)({clipPolygon:mi}),yi={project:function(t){return new O(t.lng,t.lat)},unproject:function(t){return new H(t.y,t.x)},bounds:new F([-180,-90],[180,90])},bi={R:6378137,R_MINOR:6356752.314245179,bounds:new F([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var e=Math.PI/180,i=this.R,n=t.lat*e,o=this.R_MINOR/i,r=Math.sqrt(1-o*o),s=r*Math.sin(n),a=Math.tan(Math.PI/4-n/2)/Math.pow((1-s)/(1+s),r/2);return n=-i*Math.log(Math.max(a,1e-10)),new O(t.lng*e*i,n)},unproject:function(t){for(var e,i=180/Math.PI,n=this.R,o=this.R_MINOR/n,r=Math.sqrt(1-o*o),s=Math.exp(-t.y/n),a=Math.PI/2-2*Math.atan(s),l=0,h=.1;l<15&&1e-7<Math.abs(h);l++)e=r*Math.sin(a),e=Math.pow((1-e)/(1+e),r/2),a+=h=Math.PI/2-2*Math.atan(s*e)-a;return new H(a*i,t.x*i/n)}},wi=(Object.freeze||Object)({LonLat:yi,Mercator:bi,SphericalMercator:V}),xi=l({},U,{code:"EPSG:3395",projection:bi,transformation:(gi=.5/(Math.PI*bi.R),q(gi,.5,-gi,.5))}),ki=l({},U,{code:"EPSG:4326",projection:yi,transformation:q(1/180,1,-1/180,.5)}),Li=l({},W,{projection:yi,transformation:q(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var i=e.lng-t.lng,n=e.lat-t.lat;return Math.sqrt(i*i+n*n)},infinite:!0});W.Earth=U,W.EPSG3395=xi,W.EPSG3857=G,W.EPSG900913=K,W.EPSG4326=ki,W.Simple=Li;var Di=I.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[h(t)]=this},removeInteractiveTarget:function(t){return delete this._map._targets[h(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var i=this.getEvents();e.on(i,this),this.once("remove",function(){e.off(i,this)},this)}this.onAdd(e),this.getAttribution&&e.attributionControl&&e.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),e.fire("layeradd",{layer:this})}}});qe.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=h(t);return this._layers[e]||((this._layers[e]=t)._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var e=h(t);return this._layers[e]&&(this._loaded&&t.onRemove(this),t.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(t.getAttribution()),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null),this},hasLayer:function(t){return!!t&&h(t)in this._layers},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},_addLayers:function(t){for(var e=0,i=(t=t?v(t)?t:[t]:[]).length;e<i;e++)this.addLayer(t[e])}
vendor: 9,730 bytes, line 1
1,_addZoomLimit:function(t){!isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[h(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){var e=h(t);this._zoomBoundLayers[e]&&(delete this._zoomBoundLayers[e],this._updateZoomLevels())},_updateZoomLevels:function(){var t=1/0,e=-1/0,i=this._getZoomSpan();for(var n in this._zoomBoundLayers){var o=this._zoomBoundLayers[n].options;t=void 0===o.minZoom?t:Math.min(t,o.minZoom),e=void 0===o.maxZoom?e:Math.max(e,o.maxZoom)}this._layersMaxZoom=e===-1/0?void 0:e,this._layersMinZoom=t===1/0?void 0:t,i!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var Ti=Di.extend({initialize:function(t,e){var i,n;if(f(this,e),this._layers={},t)for(i=0,n=t.length;i<n;i++)this.addLayer(t[i])},addLayer:function(t){var e=this.getLayerId(t);return this._layers[e]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){var e=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[e]&&this._map.removeLayer(this._layers[e]),delete this._layers[e],this},hasLayer:function(t){return!!t&&(t in this._layers||this.getLayerId(t)in this._layers)},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var e,i,n=Array.prototype.slice.call(arguments,1);for(e in this._layers)(i=this._layers[e])[t]&&i[t].apply(i,n);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:function(t){return h(t)}}),Ei=Ti.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),Ti.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?(t in this._layers&&(t=this._layers[t]),t.removeEventParent(this),Ti.prototype.removeLayer.call(this,t),this.fire("layerremove",{layer:t})):this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t=new j;for(var e in this._layers){var i=this._layers[e];t.extend(i.getBounds?i.getBounds():i.getLatLng())}return t}}),Ci=M.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0]},initialize:function(t){f(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,e){var i=this._getIconUrl(t);if(!i){if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var n=this._createImg(i,e&&"IMG"===e.tagName?e:null);return this._setIconStyles(n,t),n},_setIconStyles:function(t,e){var i=this.options,n=i[e+"Size"];"number"==typeof n&&(n=[n,n]);var o=N(n),r=N("shadow"===e&&i.shadowAnchor||i.iconAnchor||o&&o.divideBy(2,!0));t.className="leaflet-marker-"+e+" "+(i.className||""),r&&(t.style.marginLeft=-r.x+"px",t.style.marginTop=-r.y+"px"),o&&(t.style.width=o.x+"px",t.style.height=o.y+"px")},_createImg:function(t,e){return(e=e||document.createElement("img")).src=t,e},_getIconUrl:function(t){return Et&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}}),Si=Ci.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){return Si.imagePath||(Si.imagePath=this._detectIconPath()),(this.options.imagePath||Si.imagePath)+Ci.prototype._getIconUrl.call(this,t)},_detectIconPath:function(){var t=oe("div","leaflet-default-icon-path",document.body),e=ne(t,"background-image")||ne(t,"backgroundImage");return document.body.removeChild(t),null===e||0!==e.indexOf("url")?"":e.replace(/^url\(["']?/,"").replace(/marker-icon\.png["']?\)$/,"")}}),Mi=ti.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new si(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),ue(t,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&ce(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var e=this._marker,i=e._map,n=this._marker.options.autoPanSpeed,o=this._marker.options.autoPanPadding,r=ve(e._icon),s=i.getPixelBounds(),a=i.getPixelOrigin(),l=z(s.min._subtract(a).add(o),s.max._subtract(a).subtract(o));if(!l.contains(r)){var h=N((Math.max(l.max.x,r.x)-l.max.x)/(s.max.x-l.max.x)-(Math.min(l.min.x,r.x)-l.min.x)/(s.min.x-l.min.x),(Math.max(l.max.y,r.y)-l.max.y)/(s.max.y-l.max.y)-(Math.min(l.min.y,r.y)-l.min.y)/(s.min.y-l.min.y)).multiplyBy(n);i.panBy(h,{animate:!1}),this._draggable._newPos._add(h),this._draggable._startPos._add(h),ge(e._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=E(this._adjustPan.bind(this,t))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup().fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(C(this._panRequest),this._panRequest=E(this._adjustPan.bind(this,t)))},_onDrag:function(t){var e=this._marker,i=e._shadow,n=ve(e._icon),o=e._map.layerPointToLatLng(n);i&&ge(i,n),e._latlng=o,t.latlng=o,t.oldLatLng=this._oldLatLng,e.fire("move",t).fire("drag",t)},_onDragEnd:function(t){C(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),Pi=Di.extend({options:{icon:new Si,interactive:!0,keyboard:!0,title:"",alt:"",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(t,e){f(this,e),this._latlng=B(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(t){var e=this._latlng;return this._latlng=B(t),this.update(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},getIcon:function(){return this.options.icon},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,e="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),i=t.icon.createIcon(this._icon),n=!1;i!==this._icon&&(this._icon&&this._removeIcon(),n=!0,t.title&&(i.title=t.title),"IMG"===i.tagName&&(i.alt=t.alt||"")),ue(i,e),t.keyboard&&(i.tabIndex="0"),this._icon=i,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex});var o=t.icon.createShadow(this._shadow),r=!1;o!==this._shadow&&(this._removeShadow(),r=!0),o&&(ue(o,e),o.alt=""),this._shadow=o,t.opacity<1&&this._updateOpacity(),n&&this.getPane().appendChild(this._icon),this._initInteraction(),o&&r&&this.getPane(t.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),re(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&re(this._shadow),this._shadow=null},_setPos:function(t){ge(this._icon,t),this._shadow&&ge(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon.style.zIndex=this._zIndex+t},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(e)},_initInteraction:function(){if(this.options.interactive&&(ue(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),Mi)){var t=this.options.draggable;this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new Mi(this),t&&this.dragging.enable()}},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;this._icon&&pe(this._icon,t),this._shadow&&pe(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}}),Ii=Di.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,f
1illRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(t){this._renderer=t.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(t){return f(this,t),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&t.hasOwnProperty("weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+this._renderer.options.tolerance}}),Oi=Ii.extend({options:{fill:!0,radius:10},initialize:function(t,e){f(this,e),this._latlng=B(t),this._radius=this.options.radius},setLatLng:function(t){return this._latlng=B(t),this.redraw(),this.fire("move",{latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius}
vendor: 2,418 bytes, line 1
1,setStyle:function(t){var e=t&&t.radius||this._radius;return Ii.prototype.setStyle.call(this,t),this.setRadius(e),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,e=this._radiusY||t,i=this._clickTolerance(),n=[t+i,e+i];this._pxBounds=new F(this._point.subtract(n),this._point.add(n))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}}),Ai=Oi.extend({initialize:function(t,e,i){if("number"==typeof e&&(e=l({},i,{radius:e})),f(this,e),this._latlng=B(t),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new j(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:Ii.prototype.setStyle,_project:function(){var t=this._latlng.lng,e=this._latlng.lat,i=this._map,n=i.options.crs;if(n.distance===U.distance){var o=Math.PI/180,r=this._mRadius/U.R/o,s=i.project([e+r,t]),a=i.project([e-r,t]),l=s.add(a).divideBy(2),h=i.unproject(l).lat,u=Math.acos((Math.cos(r*o)-Math.sin(e*o)*Math.sin(h*o))/(Math.cos(e*o)*Math.cos(h*o)))/o;!isNaN(u)&&0!==u||(u=r/Math.cos(Math.PI/180*e)),this._point=l.subtract(i.getPixelOrigin()),this._radius=isNaN(u)?0:l.x-i.project([h,t-u]).x,this._radiusY=l.y-s.y}else{var c=n.unproject(n.project(this._latlng).subtract([this._mRadius,0]));this._point=i.latLngToLayerPoint(this._latlng),this._radius=this._point.x-i.latLngToLayerPoint(c).x}this._updateBounds()}}),Ni=Ii.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,e){f(this,e),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var e,i,n=1/0,o=null,r=di,s=0,a=this._parts.length;s<a;s++)for(var l=this._parts[s],h=1,u=l.length;h<u;h++){var c=r(t,e=l[h-1],i=l[h],!0);c<n&&(n=c,o=r(t,e,i))}return o&&(o.distance=Math.sqrt(n)),o}
1,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,e,i,n,o,r,s,a=this._rings[0],l=a.length;if(!l)return null;for(e=t=0;t<l-1;t++)e+=a[t].distanceTo(a[t+1])/2;if(0===e)return this._map.layerPointToLatLng(a[0]);for(n=t=0;t<l-1;t++)if(o=a[t],r=a[t+1],e<(n+=i=o.distanceTo(r)))return s=(n-e)/i,this._map.layerPointToLatLng([r.x-s*(r.x-o.x),r.y-s*(r.y-o.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=B(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new j,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return fi(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],i=fi(t),n=0,o=t.length;n<o;n++)i?(e[n]=B(t[n]),this._bounds.extend(e[n])):e[n]=this._convertLatLngs(t[n]);return e},_project:function(){var t=new F;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t),this._bounds.isValid()&&t.isValid()&&(this._rawPxBounds=t,this._updateBounds())},_updateBounds:function(){var t=this._clickTolerance(),e=new O(t,t);this._pxBounds=new F([this._rawPxBounds.min.subtract(e),this._rawPxBounds.max.add(e)])},_projectLatlngs:function(t,e,i){var n,o,r=t[0]instanceof H,s=t.length;if(r){for(o=[],n=0;n<s;n++)o[n]=this._map.latLngToLayerPoint(t[n]),i.extend(o[n]);e.push(o)}else for(n=0;n<s;n++)this._projectLatlngs(t[n],e,i)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else{var e,i,n,o,r,s,a,l=this._parts;for(n=e=0,o=this._rings.length;e<o;e++)for(i=0,r=(a=this._rings[e]).length;i<r-1;i++)(s=hi(a[i],a[i+1],t,i,!0))&&(l[n]=l[n]||[],l[n].push(s[0]),s[1]===a[i+1]&&i!==r-2||(l[n].push(s[1]),n++))}},_simplifyPoints:function(){for(var t=this._parts,e=this.options.smoothFactor,i=0,n=t.length;i<n;i++)t[i]=ai(t[i],e)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,e){var i,n,o,r,s,a,l=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(i=0,r=this._parts.length;i<r;i++)for(n=0,o=(s=(a=this._parts[i]).length)-1;n<s;o=n++)if((e||0!==n)&&li(t,a[o],a[n])<=l)return!0;return!1}});Ni._flat=pi;var Fi=Ni.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length}
vendor: 4,475 bytes, line 1
1,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,e,i,n,o,r,s,a,l,h=this._rings[0],u=h.length;if(!u)return null;for(r=s=a=0,t=0,e=u-1;t<u;e=t++)i=h[t],n=h[e],o=i.y*n.x-n.y*i.x,s+=(i.x+n.x)*o,a+=(i.y+n.y)*o,r+=3*o;return l=0===r?h[0]:[s/r,a/r],this._map.layerPointToLatLng(l)},_convertLatLngs:function(t){var e=Ni.prototype._convertLatLngs.call(this,t),i=e.length;return 2<=i&&e[0]instanceof H&&e[0].equals(e[i-1])&&e.pop(),e},_setLatLngs:function(t){Ni.prototype._setLatLngs.call(this,t),fi(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return fi(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,i=new O(e,e);if(t=new F(t.min.subtract(i),t.max.add(i)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var n,o=0,r=this._rings.length;o<r;o++)(n=mi(this._rings[o],t,!0)).length&&this._parts.push(n)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var e,i,n,o,r,s,a,l,h=!1;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(o=0,a=this._parts.length;o<a;o++)for(r=0,s=(l=(e=this._parts[o]).length)-1;r<l;s=r++)i=e[r],n=e[s],i.y>t.y!=n.y>t.y&&t.x<(n.x-i.x)*(t.y-i.y)/(n.y-i.y)+i.x&&(h=!h);return h||Ni.prototype._containsPoint.call(this,t,!0)}}),zi=Ei.extend({initialize:function(t,e){f(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,i,n,o=v(t)?t:t.features;if(o){for(e=0,i=o.length;e<i;e++)((n=o[e]).geometries||n.geometry||n.features||n.coordinates)&&this.addData(n);return this}var r=this.options;if(r.filter&&!r.filter(t))return this;var s=ji(t,r);return s?(s.feature=Ui(t),s.defaultOptions=s.options,this.resetStyle(s),r.onEachFeature&&r.onEachFeature(t,s),this.addLayer(s)):this},resetStyle:function(t){return t.options=l({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this},setStyle:function(e){return this.eachLayer(function(t){this._setLayerStyle(t,e)},this)},_setLayerStyle:function(t,e){t.setStyle&&("function"==typeof e&&(e=e(t.feature)),t.setStyle(e))}});function ji(t,e){var i,n,o,r,s="Feature"===t.type?t.geometry:t,a=s?s.coordinates:null,l=[],h=e&&e.pointToLayer,u=e&&e.coordsToLatLng||Ri;if(!a&&!s)return null;switch(s.type){case"Point":return i=u(a),h?h(t,i):new Pi(i);case"MultiPoint":for(o=0,r=a.length;o<r;o++)i=u(a[o]),l.push(h?h(t,i):new Pi(i));return new Ei(l);case"LineString":case"MultiLineString":return n=Hi(a,"LineString"===s.type?0:1,u),new Ni(n,e);case"Polygon":case"MultiPolygon":return n=Hi(a,"Polygon"===s.type?1:2,u),new Fi(n,e);case"GeometryCollection":for(o=0,r=s.geometries.length;o<r;o++){var c=ji({geometry:s.geometries[o],type:"Feature",properties:t.properties},e);c&&l.push(c)}return new Ei(l);default:throw new Error("Invalid GeoJSON object.")}}function Ri(t){return new H(t[1],t[0],t[2])}function Hi(t,e,i){for(var n,o=[],r=0,s=t.length;r<s;r++)n=e?Hi(t[r],e-1,i):(i||Ri)(t[r]),o.push(n);return o}function Bi(t,e){return e="number"==typeof e?e:6,void 0!==t.alt?[u(t.lng,e),u(t.lat,e),u(t.alt,e)]:[u(t.lng,e),u(t.lat,e)]}function Yi(t,e,i,n){for(var o=[],r=0,s=t.length;r<s;r++)o.push(e?Yi(t[r],e-1,i,n):Bi(t[r],n));return!e&&i&&o.push(o[0]),o}function Wi(t,e){return t.feature?l({},t.feature,{geometry:e}):Ui(e)}function Ui(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}var Vi={toGeoJSON:function(t){return Wi(this,{type:"Point",coordinates:Bi(this.getLatLng(),t)})}};function Zi(t,e){return new zi(t,e)}Pi.include(Vi),Ai.include(Vi),Oi.include(Vi),Ni.include({toGeoJSON:function(t){var e=!fi(this._latlngs);return Wi(this,{type:(e?"Multi":"")+"LineString",coordinates:Yi(this._latlngs,e?1:0,!1,t)})}}),Fi.include({toGeoJSON:function(t){var e=!fi(this._latlngs),i=e&&!fi(this._latlngs[0]),n=Yi(this._latlngs,i?2:e?1:0,!0,t);return e||(n=[n]),Wi(this,{type:(i?"Multi":"")+"Polygon",coordinates:n})}}),Ti.include({toMultiPoint:function(e){var i=[];return this.eachLayer(function(t){i.push(t.toGeoJSON(e).geometry.coordinates)}),Wi(this,{type:"MultiPoint",coordinates:i})},toGeoJSON:function(n){var t=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===t)return this.toMultiPoint(n);var o="GeometryCollection"===t,r=[];return this.eachLayer(function(t){if(t.toGeoJSON){var e=t.toGeoJSON(n);if(o)r.push(e.geometry);else{var i=Ui(e);
vendor: 5,052 bytes, line 1
1"FeatureCollection"===i.type?r.push.apply(r,i.features):r.push(i)}}}),o?Wi(this,{geometries:r,type:"GeometryCollection"}):{type:"FeatureCollection",features:r}}});var qi=Zi,$i=Di.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,e,i){this._url=t,this._bounds=R(e),f(this,i)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(ue(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){re(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&ae(this._image),this},bringToBack:function(){return this._map&&le(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=R(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,e=this._image=t?this._url:oe("img");ue(e,"leaflet-image-layer"),this._zoomAnimated&&ue(e,"leaflet-zoom-animated"),this.options.className&&ue(e,this.options.className),e.onselectstart=a,e.onmousemove=a,e.onload=p(this.fire,this,"load"),e.onerror=p(this._overlayOnError,this,"error"),!this.options.crossOrigin&&""!==this.options.crossOrigin||(e.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t?this._url=e.src:(e.src=this._url,e.alt=this.options.alt)},_animateZoom:function(t){var e=this._map.getZoomScale(t.zoom),i=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;me(this._image,i,e)},_reset:function(){var t=this._image,e=new F(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),i=e.getSize();ge(t,e.min),t.style.width=i.x+"px",t.style.height=i.y+"px"},_updateOpacity:function(){pe(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)}}),Gi=$i.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0},_initImage:function(){var t="VIDEO"===this._url.tagName,e=this._image=t?this._url:oe("video");if(ue(e,"leaflet-image-layer"),this._zoomAnimated&&ue(e,"leaflet-zoom-animated"),e.onselectstart=a,e.onmousemove=a,e.onloadeddata=p(this.fire,this,"load"),t){for(var i=e.getElementsByTagName("source"),n=[],o=0;o<i.length;o++)n.push(i[o].src);this._url=0<i.length?n:[e.src]}else{v(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&e.style.hasOwnProperty("objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop;for(var r=0;r<this._url.length;r++){var s=oe("source");s.src=this._url[r],e.appendChild(s)}}}}),Ki=$i.extend({_initImage:function(){var t=this._image=this._url;ue(t,"leaflet-image-layer"),this._zoomAnimated&&ue(t,"leaflet-zoom-animated"),t.onselectstart=a,t.onmousemove=a}}),Qi=Di.extend({options:{offset:[0,7],className:"",pane:"popupPane"},initialize:function(t,e){f(this,t),this._source=e},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&pe(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&pe(this._container,1),this.bringToFront()},onRemove:function(t){t._fadeAnimated?(pe(this._container,0),this._removeTimeout=setTimeout(p(re,void 0,this._container),200)):re(this._container)},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=B(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&ae(this._container),this},bringToBack:function(){return this._map&&le(this._container),this}
vendor: 5,583 bytes, line 1
1,_prepareOpen:function(t,e,i){if(e instanceof Di||(i=e,e=t),e instanceof Ei)for(var n in t._layers){e=t._layers[n];break}if(!i)if(e.getCenter)i=e.getCenter();else{if(!e.getLatLng)throw new Error("Unable to get source layer LatLng.");i=e.getLatLng()}return this._source=e,this.update(),i},_updateContent:function(){if(this._content){var t=this._contentNode,e="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof e)t.innerHTML=e;else{for(;t.hasChildNodes();)t.removeChild(t.firstChild);t.appendChild(e)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var t=this._map.latLngToLayerPoint(this._latlng),e=N(this.options.offset),i=this._getAnchor();this._zoomAnimated?ge(this._container,t.add(i)):e=e.add(t).add(i);var n=this._containerBottom=-e.y,o=this._containerLeft=-Math.round(this._containerWidth/2)+e.x;this._container.style.bottom=n+"px",this._container.style.left=o+"px"}},_getAnchor:function(){return[0,0]}}),Xi=Qi.extend({options:{maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(t){return t.openPopup(this),this},onAdd:function(t){Qi.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof Ii||this._source.on("preclick",Ie))},onRemove:function(t){Qi.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof Ii||this._source.off("preclick",Ie))},getEvents:function(){var t=Qi.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this._close),this.options.keepInView&&(t.moveend=this._adjustPan),t},_close:function(){this._map&&this._map.closePopup(this)},_initLayout:function(){var t="leaflet-popup",e=this._container=oe("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),i=this._wrapper=oe("div",t+"-content-wrapper",e);if(this._contentNode=oe("div",t+"-content",i),Ae(i),Oe(this._contentNode),Ee(i,"contextmenu",Ie),this._tipContainer=oe("div",t+"-tip-container",e),this._tip=oe("div",t+"-tip",this._tipContainer),this.options.closeButton){var n=this._closeButton=oe("a",t+"-close-button",e);n.href="#close",n.innerHTML="&#215;",Ee(n,"click",this._onCloseButtonClick,this)}},_updateLayout:function(){var t=this._contentNode,e=t.style;e.width="",e.whiteSpace="nowrap";var i=t.offsetWidth;i=Math.min(i,this.options.maxWidth),i=Math.max(i,this.options.minWidth),e.width=i+1+"px",e.whiteSpace="",e.height="";var n=t.offsetHeight,o=this.options.maxHeight,r="leaflet-popup-scrolled";o&&o<n?(e.height=o+"px",ue(t,r)):ce(t,r),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),i=this._getAnchor();ge(this._container,e.add(i))},_adjustPan:function(){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var t=this._map,e=parseInt(ne(this._container,"marginBottom"),10)||0,i=this._container.offsetHeight+e,n=this._containerWidth,o=new O(this._containerLeft,-i-this._containerBottom);o._add(ve(this._container));var r=t.layerPointToContainerPoint(o),s=N(this.options.autoPanPadding),a=N(this.options.autoPanPaddingTopLeft||s),l=N(this.options.autoPanPaddingBottomRight||s),h=t.getSize(),u=0,c=0;r.x+n+l.x>h.x&&(u=r.x+n-h.x+l.x),r.x-u-a.x<0&&(u=r.x-a.x),r.y+i+l.y>h.y&&(c=r.y+i-h.y+l.y),r.y-c-a.y<0&&(c=r.y-a.y),(u||c)&&t.fire("autopanstart").panBy([u,c])}},_onCloseButtonClick:function(t){this._close(),Fe(t)},_getAnchor:function(){return N(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});qe.mergeOptions({closePopupOnClick:!0}),qe.include({openPopup:function(t,e,i){return t instanceof Xi||(t=new Xi(i).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=t,this.addLayer(t))},closePopup:function(t){return t&&t!==this._popup||(t=this._popup,this._popup=null),t&&this.removeLayer(t),this}}),Di.include({bindPopup:function(t,e){return t instanceof Xi?(f(t,e),(this._popup=t)._source=this):(this._popup&&!e||(this._popup=new Xi(e,this)),this._popup.setContent(t)),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t,e){return this._popup&&this._map&&(e=this._popup._prepareOpen(this,t,e),this._map.openPopup(this._popup,e)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(t){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(t)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var e=t.layer||t.target;this._popup&&this._map&&(Fe(t),e instanceof Ii?this.openPopup(t.layer||t.target,t.latlng):this._map.hasLayer(this._popup)&&this._popup._source===e?this.closePopup():this.openPopup(e,t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)}
1,_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var Ji=Qi.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(t){Qi.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(t){Qi.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var t=Qi.prototype.getEvents.call(this);return Lt&&!this.options.permanent&&(t.preclick=this._close),t},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=oe("div",t)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e=this._map,i=this._container,n=e.latLngToContainerPoint(e.getCenter()),o=e.layerPointToContainerPoint(t),r=this.options.direction,s=i.offsetWidth,a=i.offsetHeight,l=N(this.options.offset),h=this._getAnchor();t="top"===r?t.add(N(-s/2+l.x,-a+l.y+h.y,!0)):"bottom"===r?t.subtract(N(s/2-l.x,-l.y,!0)):"center"===r?t.subtract(N(s/2+l.x,a/2-h.y+l.y,!0)):"right"===r||"auto"===r&&o.x<n.x?(r="right",t.add(N(l.x+h.x,h.y-a/2+l.y,!0))):(r="left",t.subtract(N(s+h.x-l.x,a/2-h.y-l.y,!0))),ce(i,"leaflet-tooltip-right"),ce(i,"leaflet-tooltip-left"),ce(i,"leaflet-tooltip-top"),ce(i,"leaflet-tooltip-bottom"),ue(i,"leaflet-tooltip-"+r),ge(i,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&pe(this._container,t)},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(e)},_getAnchor:function(){return N(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}});qe.include({openTooltip:function(t,e,i){return t instanceof Ji||(t=new Ji(i).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:this.addLayer(t)},closeTooltip:function(t){return t&&this.removeLayer(t),this}}),Di.include({bindTooltip:function(t,e){return t instanceof Ji?(f(t,e),(this._tooltip=t)._source=this):(this._tooltip&&!e||(this._tooltip=new Ji(e,this)),this._tooltip.setContent(t)),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){if(t||!this._tooltipHandlersAdded){var e=t?"off":"on",i={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?i.add=this._openTooltip:(i.mouseover=this._openTooltip,i.mouseout=this.closeTooltip,this._tooltip.options.sticky&&(i.mousemove=this._moveTooltip),Lt&&(i.click=this._openTooltip)),this[e](i),this._tooltipHandlersAdded=!t}},openTooltip:function(t,e){return this._tooltip&&this._map&&(e=this._tooltip._prepareOpen(this,t,e),this._map.openTooltip(this._tooltip,e),this._tooltip.options.interactive&&this._tooltip._container&&(ue(this._tooltip._container,"leaflet-clickable"),this.addInteractiveTarget(this._tooltip._container))),this},closeTooltip:function(){return this._tooltip&&(this._tooltip._close(),this._tooltip.options.interactive&&this._tooltip._container&&(ce(this._tooltip._container,"leaflet-clickable"),this.removeInteractiveTarget(this._tooltip._container))),this},toggleTooltip:function(t){return this._tooltip&&(this._tooltip._map?this.closeTooltip():this.openTooltip(t)),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_openTooltip:function(t){var e=t.layer||t.target;this._tooltip&&this._map&&this.openTooltip(e,this._tooltip.options.sticky?t.latlng:void 0)},_moveTooltip:function(t){var e,i,n=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(e=this._map.mouseEventToContainerPoint(t.originalEvent),i=this._map.containerPointToLayerPoint(e),n=this._map.layerPointToLatLng(i)),this._tooltip.setLatLng(n)}});var tn=Ci.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var e=t&&"DIV"===t.tagName?t:document.createElement("div"),i=this.options;if(i.html instanceof Element?(se(e),e.appendChild(i.html)):e.innerHTML=!1!==i.html?i.html:"",i.bgPos){var n=N(i.bgPos);e.style.backgroundPosition=-n.x+"px "+-n.y+"px"}return this._setIconStyles(e,"icon"),e},createShadow:function(){return null}});Ci.Default=Si;var en=Di.extend({options:{tileSize:256,opacity:1,updateWhenIdle:yt,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(t){f(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView(),this._update()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),re(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(ae(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(le(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){return this._map&&(this._removeAllTiles(),this._update()),this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=o(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof O?t:new O(t,t)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var e,i=this.getPane().children,n=-t(-1/0,1/0),o=0,r=i.length;o<r;o++)e=i[o].style.zIndex,i[o]!==this._container&&e&&(n=t(n,+e));isFinite(n)&&(this.options.zIndex=n+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!et){pe(this._container,this.options.opacity);var t=+new Date,e=!1,i=!1;for(var n in this._tiles){var o=this._tiles[n];if(o.current&&o.loaded){var r=Math.min(1,(t-o.loaded)/200);pe(o.el,r),r<1?e=!0:(o.active?i=!0:this._onOpaqueTile(o),o.active=!0)}}i&&!this._noPrune&&this._pruneTiles(),e&&(C(this._fadeFrame),this._fadeFrame=E(this._updateOpacity,this))}}
vendor: 35,372 bytes, line 1
1,_onOpaqueTile:a,_initContainer:function(){this._container||(this._container=oe("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,e=this.options.maxZoom;if(void 0!==t){for(var i in this._levels)this._levels[i].el.children.length||i===t?(this._levels[i].el.style.zIndex=e-Math.abs(t-i),this._onUpdateLevel(i)):(re(this._levels[i].el),this._removeTilesAtZoom(i),this._onRemoveLevel(i),delete this._levels[i]);var n=this._levels[t],o=this._map;return n||((n=this._levels[t]={}).el=oe("div","leaflet-tile-container leaflet-zoom-animated",this._container),n.el.style.zIndex=e,n.origin=o.project(o.unproject(o.getPixelOrigin()),t).round(),n.zoom=t,this._setZoomTransform(n,o.getCenter(),o.getZoom()),n.el.offsetWidth,this._onCreateLevel(n)),this._level=n}},_onUpdateLevel:a,_onRemoveLevel:a,_onCreateLevel:a,_pruneTiles:function(){if(this._map){var t,e,i=this._map.getZoom();if(i>this.options.maxZoom||i<this.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)(e=this._tiles[t]).retain=e.current;for(t in this._tiles)if((e=this._tiles[t]).current&&!e.active){var n=e.coords;this._retainParent(n.x,n.y,n.z,n.z-5)||this._retainChildren(n.x,n.y,n.z,n.z+2)}for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}}},_removeTilesAtZoom:function(t){for(var e in this._tiles)this._tiles[e].coords.z===t&&this._removeTile(e)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)re(this._levels[t].el),this._onRemoveLevel(t),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(t,e,i,n){var o=Math.floor(t/2),r=Math.floor(e/2),s=i-1,a=new O(+o,+r);a.z=+s;var l=this._tileCoordsToKey(a),h=this._tiles[l];return h&&h.active?h.retain=!0:(h&&h.loaded&&(h.retain=!0),n<s&&this._retainParent(o,r,s,n))},_retainChildren:function(t,e,i,n){for(var o=2*t;o<2*t+2;o++)for(var r=2*e;r<2*e+2;r++){var s=new O(o,r);s.z=i+1;var a=this._tileCoordsToKey(s),l=this._tiles[a];l&&l.active?l.retain=!0:(l&&l.loaded&&(l.retain=!0),i+1<n&&this._retainChildren(o,r,i+1,n))}},_resetView:function(t){var e=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),e,e)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var e=this.options;return void 0!==e.minNativeZoom&&t<e.minNativeZoom?e.minNativeZoom:void 0!==e.maxNativeZoom&&e.maxNativeZoom<t?e.maxNativeZoom:t},_setView:function(t,e,i,n){var o=this._clampZoom(Math.round(e));(void 0!==this.options.maxZoom&&o>this.options.maxZoom||void 0!==this.options.minZoom&&o<this.options.minZoom)&&(o=void 0);var r=this.options.updateWhenZooming&&o!==this._tileZoom;n&&!r||(this._tileZoom=o,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==o&&this._update(t),i||this._pruneTiles(),this._noPrune=!!i),this._setZoomTransforms(t,e)},_setZoomTransforms:function(t,e){for(var i in this._levels)this._setZoomTransform(this._levels[i],t,e)},_setZoomTransform:function(t,e,i){var n=this._map.getZoomScale(i,t.zoom),o=t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(e,i)).round();vt?me(t.el,o,n):ge(t.el,o)},_resetGrid:function(){var t=this._map,e=t.options.crs,i=this._tileSize=this.getTileSize(),n=this._tileZoom,o=this._map.getPixelWorldBounds(this._tileZoom);o&&(this._globalTileRange=this._pxBoundsToTileRange(o)),this._wrapX=e.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,e.wrapLng[0]],n).x/i.x),Math.ceil(t.project([0,e.wrapLng[1]],n).x/i.y)],this._wrapY=e.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([e.wrapLat[0],0],n).y/i.x),Math.ceil(t.project([e.wrapLat[1],0],n).y/i.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(t){var e=this._map,i=e._animatingZoom?Math.max(e._animateToZoom,e.getZoom()):e.getZoom(),n=e.getZoomScale(i,this._tileZoom),o=e.project(t,this._tileZoom).floor(),r=e.getSize().divideBy(2*n);return new F(o.subtract(r),o.add(r))},_update:function(t){var e=this._map;if(e){var i=this._clampZoom(e.getZoom());if(void 0===t&&(t=e.getCenter()),void 0!==this._tileZoom){var n=this._getTiledPixelBounds(t),o=this._pxBoundsToTileRange(n),r=o.getCenter(),s=[],a=this.options.keepBuffer,l=new F(o.getBottomLeft().subtract([a,-a]),o.getTopRight().add([a,-a]));if(!(isFinite(o.min.x)&&isFinite(o.min.y)&&isFinite(o.max.x)&&isFinite(o.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var h in this._tiles){var u=this._tiles[h].coords;u.z===this._tileZoom&&l.contains(new O(u.x,u.y))||(this._tiles[h].current=!1)}if(1<Math.abs(i-this._tileZoom))this._setView(t,i);else{for(var c=o.min.y;c<=o.max.y;c++)for(var d=o.min.x;d<=o.max.x;d++){var f=new O(d,c);if(f.z=this._tileZoom,this._isValidTile(f)){var p=this._tiles[this._tileCoordsToKey(f)];p?p.current=!0:s.push(f)}}if(s.sort(function(t,e){return t.distanceTo(r)-e.distanceTo(r)}),0!==s.length){this._loading||(this._loading=!0,this.fire("loading"));var _=document.createDocumentFragment();for(d=0;d<s.length;d++)this._addTile(s[d],_);this._level.el.appendChild(_)}}}}},_isValidTile:function(t){var e=this._map.options.crs;if(!e.infinite){var i=this._globalTileRange;if(!e.wrapLng&&(t.x<i.min.x||t.x>i.max.x)||!e.wrapLat&&(t.y<i.min.y||t.y>i.max.y))return!1}if(!this.options.bounds)return!0;var n=this._tileCoordsToBounds(t);return R(this.options.bounds).overlaps(n)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,i=this.getTileSize(),n=t.scaleBy(i),o=n.add(i);return[e.unproject(n,t.z),e.unproject(o,t.z)]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),i=new j(e[0],e[1]);return this.options.noWrap||(i=this._map.wrapLatLngBounds(i)),i},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),i=new O(+e[0],+e[1]);return i.z=+e[2],i},_removeTile:function(t){var e=this._tiles[t];e&&(re(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){ue(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=a,t.onmousemove=a,et&&this.options.opacity<1&&pe(t,this.options.opacity),ot&&!rt&&(t.style.WebkitBackfaceVisibility="hidden")},_addTile:function(t,e){var i=this._getTilePos(t),n=this._tileCoordsToKey(t),o=this.createTile(this._wrapCoords(t),p(this._tileReady,this,t));this._initTile(o),this.createTile.length<2&&E(p(this._tileReady,this,t,null,o)),ge(o,i),this._tiles[n]={el:o,coords:t,current:!0},e.appendChild(o),this.fire("tileloadstart",{tile:o,coords:t})},_tileReady:function(t,e,i){e&&this.fire("tileerror",{error:e,tile:i,coords:t});var n=this._tileCoordsToKey(t);(i=this._tiles[n])&&(i.loaded=+new Date,this._map._fadeAnimated?(pe(i.el,0),C(this._fadeFrame),this._fadeFrame=E(this._updateOpacity,this)):(i.active=!0,this._pruneTiles()),e||(ue(i.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:i.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),et||!this._map._fadeAnimated?E(this._pruneTiles,this):setTimeout(p(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new O(this._wrapX?s(t.x,this._wrapX):t.x,this._wrapY?s(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new F(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}}),nn=en.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(t,e){this._url=t,(e=f(this,e)).detectRetina&&Et&&0<e.maxZoom&&(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom++):(e.zoomOffset++,e.maxZoom--),e.minZoom=Math.max(0,e.minZoom)),"string"==typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),ot||this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var i=document.createElement("img");return Ee(i,"load",p(this._tileOnLoad,this,e,i)),Ee(i,"error",p(this._tileOnError,this,e,i)),!this.options.crossOrigin&&""!==this.options.crossOrigin||(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),i.alt="",i.setAttribute("role","presentation"),i.src=this.getTileUrl(t),i},getTileUrl:function(t){var e={r:Et?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var i=this._globalTileRange.max.y-t.y;this.options.tms&&(e.y=i),e["-y"]=i}return g(this._url,l(e,this.options))},_tileOnLoad:function(t,e){et?setTimeout(p(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,i){var n=this.options.errorTileUrl;n&&e.getAttribute("src")!==n&&(e.src=n),t(i,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom;return this.options.zoomReverse&&(t=e-t),t+this.options.zoomOffset},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&((e=this._tiles[t].el).onload=a,e.onerror=a,e.complete||(e.src=b,re(e),delete this._tiles[t]))},_removeTile:function(t){var e=this._tiles[t];if(e)return at||e.el.setAttribute("src",b),en.prototype._removeTile.call(this,t)},_tileReady:function(t,e,i){if(this._map&&(!i||i.getAttribute("src")!==b))return en.prototype._tileReady.call(this,t,e,i)}});function on(t,e){return new nn(t,e)}var rn=nn.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,e){this._url=t;var i=l({},this.defaultWmsParams);for(var n in e)n in this.options||(i[n]=e[n]);var o=(e=f(this,e)).detectRetina&&Et?2:1,r=this.getTileSize();i.width=r.x*o,i.height=r.y*o,this.wmsParams=i},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=1.3<=this._wmsVersion?"crs":"srs";this.wmsParams[e]=this._crs.code,nn.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),i=this._crs,n=z(i.project(e[0]),i.project(e[1])),o=n.min,r=n.max,s=(1.3<=this._wmsVersion&&this._crs===ki?[o.y,o.x,r.y,r.x]:[o.x,o.y,r.x,r.y]).join(","),a=nn.prototype.getTileUrl.call(this,t);return a+_(this.wmsParams,a,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+s},setParams:function(t,e){return l(this.wmsParams,t),e||this.redraw(),this}});nn.WMS=rn,on.wms=function(t,e){return new rn(t,e)};var sn=Di.extend({options:{padding:.1,tolerance:0},initialize:function(t){f(this,t),h(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&ue(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var i=this._map.getZoomScale(e,this._zoom),n=ve(this._container),o=this._map.getSize().multiplyBy(.5+this.options.padding),r=this._map.project(this._center,e),s=this._map.project(t,e).subtract(r),a=o.multiplyBy(-i).add(n).add(o).subtract(s);vt?me(this._container,a,i):ge(this._container,a)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),i=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new F(i,i.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),an=sn.extend({getEvents:function(){var t=sn.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){sn.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");Ee(t,"mousemove",o(this._onMouseMove,32,this),this),Ee(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Ee(t,"mouseout",this._handleMouseOut,this),this._ctx=t.getContext("2d")},_destroyContainer:function(){C(this._redrawRequest),delete this._ctx,re(this._container),Se(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){sn.prototype._update.call(this);var t=this._bounds,e=this._container,i=t.getSize(),n=Et?2:1;ge(e,t.min),e.width=n*i.x,e.height=n*i.y,e.style.width=i.x+"px",e.style.height=i.y+"px",Et&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){sn.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t);var e=(this._layers[h(t)]=t)._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,i=e.next,n=e.prev;i?i.prev=n:this._drawLast=n,n?n.next=i:this._drawFirst=i,delete t._order,delete this._layers[h(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"==typeof t.options.dashArray){var e,i,n=t.options.dashArray.split(/[, ]+/),o=[];for(i=0;i<n.length;i++){if(e=Number(n[i]),isNaN(e))return;o.push(e)}t.options._dashArray=o}else t.options._dashArray=t.options.dashArray},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||E(this._redraw,this))},_extendRedrawBounds:function(t){if(t._pxBounds){var e=(t.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new F,this._redrawBounds.extend(t._pxBounds.min.subtract([e,e])),this._redrawBounds.extend(t._pxBounds.max.add([e,e]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var t=this._redrawBounds;if(t){var e=t.getSize();this._ctx.clearRect(t.min.x,t.min.y,e.x,e.y)}else this._ctx.clearRect(0,0,this._container.width,this._container.height)},_draw:function(){var t,e=this._redrawBounds;if(this._ctx.save(),e){var i=e.getSize();this._ctx.beginPath(),this._ctx.rect(e.min.x,e.min.y,i.x,i.y),this._ctx.clip()}this._drawing=!0;for(var n=this._drawFirst;n;n=n.next)t=n.layer,(!e||t._pxBounds&&t._pxBounds.intersects(e))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,e){if(this._drawing){var i,n,o,r,s=t._parts,a=s.length,l=this._ctx;if(a){for(l.beginPath(),i=0;i<a;i++){for(n=0,o=s[i].length;n<o;n++)r=s[i][n],l[n?"lineTo":"moveTo"](r.x,r.y);e&&l.closePath()}this._fillStroke(l,t)}}},_updateCircle:function(t){if(this._drawing&&!t._empty()){var e=t._point,i=this._ctx,n=Math.max(Math.round(t._radius),1),o=(Math.max(Math.round(t._radiusY),1)||n)/n;1!=o&&(i.save(),i.scale(1,o)),i.beginPath(),i.arc(e.x,e.y/o,n,0,2*Math.PI,!1),1!=o&&i.restore(),this._fillStroke(i,t)}},_fillStroke:function(t,e){var i=e.options;i.fill&&(t.globalAlpha=i.fillOpacity,t.fillStyle=i.fillColor||i.color,t.fill(i.fillRule||"evenodd")),i.stroke&&0!==i.weight&&(t.setLineDash&&t.setLineDash(e.options&&e.options._dashArray||[]),t.globalAlpha=i.opacity,t.lineWidth=i.weight,t.strokeStyle=i.color,t.lineCap=i.lineCap,t.lineJoin=i.lineJoin,t.stroke())},_onClick:function(t){for(var e,i,n=this._map.mouseEventToLayerPoint(t),o=this._drawFirst;o;o=o.next)(e=o.layer).options.interactive&&e._containsPoint(n)&&!this._map._draggableMoved(e)&&(i=e);i&&(Ye(t),this._fireEvent([i],t))},_onMouseMove:function(t){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var e=this._map.mouseEventToLayerPoint(t);this._handleMouseHover(t,e)}},_handleMouseOut:function(t){var e=this._hoveredLayer;e&&(ce(this._container,"leaflet-interactive"),this._fireEvent([e],t,"mouseout"),this._hoveredLayer=null)},_handleMouseHover:function(t,e){for(var i,n,o=this._drawFirst;o;o=o.next)(i=o.layer).options.interactive&&i._containsPoint(e)&&(n=i);n!==this._hoveredLayer&&(this._handleMouseOut(t),n&&(ue(this._container,"leaflet-interactive"),this._fireEvent([n],t,"mouseover"),this._hoveredLayer=n)),this._hoveredLayer&&this._fireEvent([this._hoveredLayer],t)},_fireEvent:function(t,e,i){this._map._fireDOMEvent(e,i||e.type,t)},_bringToFront:function(t){var e=t._order;if(e){var i=e.next,n=e.prev;i&&((i.prev=n)?n.next=i:i&&(this._drawFirst=i),e.prev=this._drawLast,(this._drawLast.next=e).next=null,this._drawLast=e,this._requestRedraw(t))}},_bringToBack:function(t){var e=t._order;if(e){var i=e.next,n=e.prev;n&&((n.next=i)?i.prev=n:n&&(this._drawLast=n),e.prev=null,e.next=this._drawFirst,this._drawFirst.prev=e,this._drawFirst=e,this._requestRedraw(t))}}});function ln(t){return Ct?new an(t):null}var hn=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return document.createElement("<lvml:"+t+' class="lvml">')}}catch(t){return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),un={_initContainer:function(){this._container=oe("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(sn.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=hn("shape");ue(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=hn("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[h(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;re(e),t.removeInteractiveTarget(e),delete this._layers[h(t)]},_updateStyle:function(t){var e=t._stroke,i=t._fill,n=t.options,o=t._container;o.stroked=!!n.stroke,o.filled=!!n.fill,n.stroke?(e=e||(t._stroke=hn("stroke")),o.appendChild(e),e.weight=n.weight+"px",e.color=n.color,e.opacity=n.opacity,n.dashArray?e.dashStyle=v(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=n.lineCap.replace("butt","flat"),e.joinstyle=n.lineJoin):e&&(o.removeChild(e),t._stroke=null),n.fill?(i=i||(t._fill=hn("fill")),o.appendChild(i),i.color=n.fillColor||n.color,i.opacity=n.fillOpacity):i&&(o.removeChild(i),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),i=Math.round(t._radius),n=Math.round(t._radiusY||i);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+i+","+n+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){ae(t._container)},_bringToBack:function(t){le(t._container)}},cn=Mt?hn:Q,dn=sn.extend({getEvents:function(){var t=sn.prototype.getEvents.call(this);return t.zoomstart=this._onZoomStart,t},_initContainer:function(){this._container=cn("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=cn("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){re(this._container),Se(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!this._map._animatingZoom||!this._bounds){sn.prototype._update.call(this);var t=this._bounds,e=t.getSize(),i=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,i.setAttribute("width",e.x),i.setAttribute("height",e.y)),ge(i,t.min),i.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=cn("path");t.options.className&&ue(e,t.options.className),t.options.interactive&&ue(e,"leaflet-interactive"),this._updateStyle(t),this._layers[h(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){re(t._path),t.removeInteractiveTarget(t._path),delete this._layers[h(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,i=t.options;e&&(i.stroke?(e.setAttribute("stroke",i.color),e.setAttribute("stroke-opacity",i.opacity),e.setAttribute("stroke-width",i.weight),e.setAttribute("stroke-linecap",i.lineCap),e.setAttribute("stroke-linejoin",i.lineJoin),i.dashArray?e.setAttribute("stroke-dasharray",i.dashArray):e.removeAttribute("stroke-dasharray"),i.dashOffset?e.setAttribute("stroke-dashoffset",i.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),i.fill?(e.setAttribute("fill",i.fillColor||i.color),e.setAttribute("fill-opacity",i.fillOpacity),e.setAttribute("fill-rule",i.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,X(t._parts,e))},_updateCircle:function(t){var e=t._point,i=Math.max(Math.round(t._radius),1),n="a"+i+","+(Math.max(Math.round(t._radiusY),1)||i)+" 0 1,0 ",o=t._empty()?"M0 0":"M"+(e.x-i)+","+e.y+n+2*i+",0 "+n+2*-i+",0 ";this._setPath(t,o)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){ae(t._path)},_bringToBack:function(t){le(t._path)}});function fn(t){return St||Mt?new dn(t):null}Mt&&dn.include(un),qe.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e=e||(this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var e=this._paneRenderers[t];return void 0===e&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&ln(t)||fn(t)}});var pn=Fi.extend({initialize:function(t,e){Fi.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=R(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});dn.create=cn,dn.pointsToPath=X,zi.geometryToLayer=ji,zi.coordsToLatLng=Ri,zi.coordsToLatLngs=Hi,zi.latLngToCoords=Bi,zi.latLngsToCoords=Yi,zi.getFeature=Wi,zi.asFeature=Ui,qe.mergeOptions({boxZoom:!0});var _n=ti.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){Ee(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Se(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){re(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),$t(),be(),this._startPoint=this._map.mouseEventToContainerPoint(t),Ee(document,{contextmenu:Fe,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=oe("div","leaflet-zoom-box",this._container),ue(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new F(this._point,this._startPoint),i=e.getSize();ge(this._box,e.min),this._box.style.width=i.x+"px",this._box.style.height=i.y+"px"},_finish:function(){this._moved&&(re(this._box),ce(this._container,"leaflet-crosshair")),Gt(),we(),Se(document,{contextmenu:Fe,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(p(this._resetState,this),0);var e=new j(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&this._finish()}});qe.addInitHook("addHandler","boxZoom",_n),qe.mergeOptions({doubleClickZoom:!0});var mn=ti.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,i=e.getZoom(),n=e.options.zoomDelta,o=t.originalEvent.shiftKey?i-n:i+n;"center"===e.options.doubleClickZoom?e.setZoom(o):e.setZoomAround(t.containerPoint,o)}});qe.addInitHook("addHandler","doubleClickZoom",mn),qe.mergeOptions({dragging:!0,inertia:!rt,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var gn=ti.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new si(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}ue(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){ce(this._map._container,"leaflet-grab"),ce(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=R(this._map.options.maxBounds);this._offsetLimit=z(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,i=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(i),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;1<this._positions.length&&50<t-this._times[0];)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.x<e.min.x&&(t.x=this._viscousLimit(t.x,e.min.x)),t.y<e.min.y&&(t.y=this._viscousLimit(t.y,e.min.y)),t.x>e.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),i=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-e+i)%t+e-i,r=(n+e+i)%t-e-i,s=Math.abs(o+i)<Math.abs(r+i)?o:r;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=s},_onDragEnd:function(t){var e=this._map,i=e.options,n=!i.inertia||this._times.length<2;if(e.fire("dragend",t),n)e.fire("moveend");else{this._prunePositions(+new Date);var o=this._lastPos.subtract(this._positions[0]),r=(this._lastTime-this._times[0])/1e3,s=i.easeLinearity,a=o.multiplyBy(s/r),l=a.distanceTo([0,0]),h=Math.min(i.inertiaMaxSpeed,l),u=a.multiplyBy(h/l),c=h/(i.inertiaDeceleration*s),d=u.multiplyBy(-c/2).round();d.x||d.y?(d=e._limitOffset(d,e.options.maxBounds),E(function(){e.panBy(d,{duration:c,easeLinearity:s,noMoveStart:!0,animate:!0})})):e.fire("moveend")}}});qe.addInitHook("addHandler","dragging",gn),qe.mergeOptions({keyboard:!0,keyboardPanDelta:80});var vn=ti.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex<=0&&(t.tabIndex="0"),Ee(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),Se(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var t=document.body,e=document.documentElement,i=t.scrollTop||e.scrollTop,n=t.scrollLeft||e.scrollLeft;this._map._container.focus(),window.scrollTo(n,i)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){var e,i,n=this._panKeys={},o=this.keyCodes;for(e=0,i=o.left.length;e<i;e++)n[o.left[e]]=[-1*t,0];for(e=0,i=o.right.length;e<i;e++)n[o.right[e]]=[t,0];for(e=0,i=o.down.length;e<i;e++)n[o.down[e]]=[0,t];for(e=0,i=o.up.length;e<i;e++)n[o.up[e]]=[0,-1*t]},_setZoomDelta:function(t){var e,i,n=this._zoomKeys={},o=this.keyCodes;for(e=0,i=o.zoomIn.length;e<i;e++)n[o.zoomIn[e]]=t;for(e=0,i=o.zoomOut.length;e<i;e++)n[o.zoomOut[e]]=-t},_addHooks:function(){Ee(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){Se(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var e,i=t.keyCode,n=this._map;if(i in this._panKeys)n._panAnim&&n._panAnim._inProgress||(e=this._panKeys[i],t.shiftKey&&(e=N(e).multiplyBy(3)),n.panBy(e),n.options.maxBounds&&n.panInsideBounds(n.options.maxBounds));else if(i in this._zoomKeys)n.setZoom(n.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[i]);else{if(27!==i||!n._popup||!n._popup.options.closeOnEscapeKey)return;n.closePopup()}Fe(t)}}});qe.addInitHook("addHandler","keyboard",vn),qe.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var yn=ti.extend({addHooks:function(){Ee(this._map._container,"mousewheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){Se(this._map._container,"mousewheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var e=Re(t),i=this._map.options.wheelDebounceTime;this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var n=Math.max(i-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(p(this._performZoom,this),n),Fe(t)},_performZoom:function(){var t=this._map,e=t.getZoom(),i=this._map.options.zoomSnap||0;t._stop();var n=this._delta/(4*this._map.options.wheelPxPerZoomLevel),o=4*Math.log(2/(1+Math.exp(-Math.abs(n))))/Math.LN2,r=i?Math.ceil(o/i)*i:o,s=t._limitZoom(e+(0<this._delta?r:-r))-e;this._delta=0,this._startTime=null,s&&("center"===t.options.scrollWheelZoom?t.setZoom(e+s):t.setZoomAround(this._lastMousePos,e+s))}});qe.addInitHook("addHandler","scrollWheelZoom",yn),qe.mergeOptions({tap:!0,tapTolerance:15});var bn=ti.extend({addHooks:function(){Ee(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Se(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(t.touches){if(Ne(t),this._fireClick=!0,1<t.touches.length)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var e=t.touches[0],i=e.target;this._startPos=this._newPos=new O(e.clientX,e.clientY),i.tagName&&"a"===i.tagName.toLowerCase()&&ue(i,"leaflet-active"),this._holdTimeout=setTimeout(p(function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",e))},this),1e3),this._simulateEvent("mousedown",e),Ee(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(t){if(clearTimeout(this._holdTimeout),Se(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&t&&t.changedTouches){var e=t.changedTouches[0],i=e.target;i&&i.tagName&&"a"===i.tagName.toLowerCase()&&ce(i,"leaflet-active"),this._simulateEvent("mouseup",e),this._isTapValid()&&this._simulateEvent("click",e)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(t){var e=t.touches[0];this._newPos=new O(e.clientX,e.clientY),this._simulateEvent("mousemove",e)},_simulateEvent:function(t,e){var i=document.createEvent("MouseEvents");i._simulated=!0,e.target._simulatedClick=!0,i.initMouseEvent(t,!0,!0,window,1,e.screenX,e.screenY,e.clientX,e.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(i)}});Lt&&!kt&&qe.addInitHook("addHandler","tap",bn),qe.mergeOptions({touchZoom:Lt&&!rt,bounceAtZoomLimits:!0});var wn=ti.extend({addHooks:function(){ue(this._map._container,"leaflet-touch-zoom"),Ee(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){ce(this._map._container,"leaflet-touch-zoom"),Se(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&!e._animatingZoom&&!this._zooming){var i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),"center"!==e.options.touchZoom&&(this._pinchStartLatLng=e.containerPointToLatLng(i.add(n)._divideBy(2))),this._startDist=i.distanceTo(n),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),Ee(document,"touchmove",this._onTouchMove,this),Ee(document,"touchend",this._onTouchEnd,this),Ne(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]),o=i.distanceTo(n)/this._startDist;if(this._zoom=e.getScaleZoom(o,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoom<e.getMin
1Zoom()&&o<1||this._zoom>e.getMaxZoom()&&1<o)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1==o)return}else{var r=i._add(n)._divideBy(2)._subtract(this._centerPoint);if(1==o&&0===r.x&&0===r.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(r),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),C(this._animRequest);var s=p(e._move,e,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=E(s,this,!0),Ne(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,C(this._animRequest),Se(document,"touchmove",this._onTouchMove),Se(document,"touchend",this._onTouchEnd),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});qe.addInitHook("addHandler","touchZoom",wn),qe.BoxZoom=_n,qe.DoubleClickZoom=mn,qe.Drag=gn,qe.Keyboard=vn,qe.ScrollWheelZoom=yn,qe.Tap=bn,qe.TouchZoom=wn,Object.freeze=e,t.version="1.5.1+build.2e3e0ffb",t.Control=Ge,t.control=$e,t.Browser=It,t.Evented=I,t.Mixin=ii,t.Util=S,t.Class=M,t.Handler=ti,t.extend=l,t.bind=p,t.stamp=h,t.setOptions=f,t.DomEvent=Ve,t.DomUtil=Te,t.PosAnimation=Ze,t.Draggable=si,t.LineUtil=_i,t.PolyUtil=vi,t.Point=O,t.point=N,t.Bounds=F,t.bounds=z,t.Transformation=Z,t.transformation=q,t.Projection=wi,t.LatLng=H,t.latLng=B,t.LatLngBounds=j,t.latLngBounds=R,t.CRS=W,t.GeoJSON=zi,t.geoJSON=Zi,t.geoJson=qi,t.Layer=Di,t.LayerGroup=Ti,t.layerGroup=function(t,e){return new Ti(t,e)},t.FeatureGroup=Ei,t.featureGroup=function(t){return new Ei(t)},t.ImageOverlay=$i,t.imageOverlay=function(t,e,i){return new $i(t,e,i)},t.VideoOverlay=Gi,t.videoOverlay=function(t,e,i){return new Gi(t,e,i)},t.SVGOverlay=Ki,t.svgOverlay=function(t,e,i){return new Ki(t,e,i)},t.DivOverlay=Qi,t.Popup=Xi,t.popup=function(t,e){return new Xi(t,e)},t.Tooltip=Ji,t.tooltip=function(t,e){return new Ji(t,e)},t.Icon=Ci,t.icon=function(t){return new Ci(t)},t.DivIcon=tn,t.divIcon=function(t){return new tn(t)},t.Marker=Pi,t.marker=function(t,e){return new Pi(t,e)},t.TileLayer=nn,t.tileLayer=on,t.GridLayer=en,t.gridLayer=function(t){return new en(t)},t.SVG=dn,t.svg=fn,t.Renderer=sn,t.Canvas=an,t.canvas=ln,t.Path=Ii,t.CircleMarker=Oi,t.circleMarker=function(t,e){return new Oi(t,e)},t.Circle=Ai,t.circle=function(t,e,i){return new Ai(t,e,i)},t.Polyline=Ni,t.polyline=function(t,e){return new Ni(t,e)},t.Polygon=Fi,t.polygon=function(t,e){return new Fi(t,e)},t.Rectangle=pn,t.rectangle=function(t,e){return new pn(t,e)},t.Map=qe,t.map=function(t,e){return new qe(t,e)};var xn=window.L;t.noConflict=function(){return window.L=xn,this},window.L=t}),L.Control.Fullscreen=L.Control.extend({options:{position:"topleft",title:{false:"View Fullscreen",true:"Exit Fullscreen"}},onAdd:function(t){var e=L.DomUtil.create("div","leaflet-control-fullscreen leaflet-bar leaflet-control");return this.link=L.DomUtil.create("a","leaflet-control-fullscreen-button leaflet-bar-part",e),this.link.href="#",this._map=t,this._map.on("fullscreenchange",this._toggleTitle,this),this._toggleTitle(),L.DomEvent.on(this.link,"click",this._click,this),e},_click:function(t){L.DomEvent.stopPropagation(t),L.DomEvent.preventDefault(t),this._map.toggleFullscreen(this.options)},_toggleTitle:function(){this.link.title=this.options.title[this._map.isFullscreen()]}}),L.Map.include({isFullscreen:function(){return this._isFullscreen||!1},toggleFullscreen:function(t){var e=this.getContainer();this.isFullscreen()?t&&t.pseudoFullscreen?this._disablePseudoFullscreen(e):document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.msExitFullscreen?document.msExitFullscreen():this._disablePseudoFullscreen(e):t&&t.pseudoFullscreen?this._enablePseudoFullscreen(e):e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):e.msRequestFullscreen?e.msRequestFullscreen():this._enablePseudoFullscreen(e)},_enablePseudoFullscreen:function(t){L.DomUtil.addClass(t,"leaflet-pseudo-fullscreen"),this._setFullscreen(!0),this.fire("fullscreenchange")},_disablePseudoFullscreen:function(t){L.DomUtil.removeClass(t,"leaflet-pseudo-fullscreen"),this._setFullscreen(!1),this.fire("fullscreenchange")},_setFullscreen:function(t){this._isFullscreen=t;var e=this.getContainer();t?L.DomUtil.addClass(e,"leaflet-fullscreen-on"):L.DomUtil.removeClass(e,"leaflet-fullscreen-on"),this.invalidateSize()},_onFullscreenChange:function(t){var e=document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement;e!==this.getContainer()||this._isFullscreen?e!==this.getContainer()&&this._isFullscreen&&(this._setFullscreen(!1),this.fire("fullscreenchange")):(this._setFullscreen(!0),this.fire("fullscreenchange"))}}),L.Map.mergeOptions({fullscreenControl:!1}),L.Map.addInitHook(function(){var t;if(this.options.fullscreenControl&&(this.fullscreenControl=new L.Control.Fullscreen(this.options.fullscreenControl),this.addControl(this.fullscreenControl)),"onfullscreenchange"in document?t="fullscreenchange":"onmozfullscreenchange"in document?t="mozfullscreenchange":"onwebkitfullscreenchange"in document?t="webkitfullscreenchange":"onmsfullscreenchange"in document&&(t="MSFullscreenChange"),t){var e=L.bind(this._onFullscreenChange,this);this.whenReady(function(){L.DomEvent.on(document,t,e)}),this.on("unload",function(){L.DomEvent.off(document,t,e)})}}),L.control.fullscreen=function(t){return new L.Control.Fullscreen(t)},function(r,e){var s;L.drawVersion="1.0.4",L.Draw={},L.drawLocal={draw:{toolbar:{actions:{title:"Cancel drawing",text:"Cancel"},finish:{title:"Finish drawing",text:"Finish"},undo:{title:"Delete last point drawn",text:"Delete last point"},buttons:{polyline:"Draw a polyline",polygon:"Draw a polygon",rectangle:"Draw a rectangle",circle:"Draw a circle",marker:"Draw a marker",circlemarker:"Draw a circlemarker"}},handlers:{circle:{tooltip:{start:"Click and drag to draw circle."},radius:"Radius"},circlemarker:{tooltip:{start:"Click map to place circle marker."}},marker:{tooltip:{start:"Click map to place marker."}},polygon:{tooltip:{start:"Click to start drawing shape.",cont:"Click to continue drawing shape.",end:"Click first point to close this shape."}},polyline:{error:"<strong>Error:</strong> shape edges cannot cross!",tooltip:{start:"Click to start drawing line.",cont:"Click to continue drawing line.",end:"Click last point to finish line."}},rectangle:{tooltip:{start:"Click and drag to draw rectangle."}},simpleshape:{tooltip:{end:"Release mouse to finish drawing."}}}},edit:{toolbar:{actions:{save:{title:"Save changes",text:"Save"},cancel:{title:"Cancel editing, discards all changes",text:"Cancel"}
vendor: 22,087 bytes, line 1
1,clearAll:{title:"Clear all layers",text:"Clear All"}},buttons:{edit:"Edit layers",editDisabled:"No layers to edit",remove:"Delete layers",removeDisabled:"No layers to delete"}},handlers:{edit:{tooltip:{text:"Drag handles or markers to edit features.",subtext:"Click cancel to undo changes."}},remove:{tooltip:{text:"Click on a feature to remove."}}}}},L.Draw.Event={},L.Draw.Event.CREATED="draw:created",L.Draw.Event.EDITED="draw:edited",L.Draw.Event.DELETED="draw:deleted",L.Draw.Event.DRAWSTART="draw:drawstart",L.Draw.Event.DRAWSTOP="draw:drawstop",L.Draw.Event.DRAWVERTEX="draw:drawvertex",L.Draw.Event.EDITSTART="draw:editstart",L.Draw.Event.EDITMOVE="draw:editmove",L.Draw.Event.EDITRESIZE="draw:editresize",L.Draw.Event.EDITVERTEX="draw:editvertex",L.Draw.Event.EDITSTOP="draw:editstop",L.Draw.Event.DELETESTART="draw:deletestart",L.Draw.Event.DELETESTOP="draw:deletestop",L.Draw.Event.TOOLBAROPENED="draw:toolbaropened",L.Draw.Event.TOOLBARCLOSED="draw:toolbarclosed",L.Draw.Event.MARKERCONTEXT="draw:markercontext",L.Draw=L.Draw||{},L.Draw.Feature=L.Handler.extend({initialize:function(t,e){this._map=t,this._container=t._container,this._overlayPane=t._panes.overlayPane,this._popupPane=t._panes.popupPane,e&&e.shapeOptions&&(e.shapeOptions=L.Util.extend({},this.options.shapeOptions,e.shapeOptions)),L.setOptions(this,e);var i=L.version.split(".");1===parseInt(i[0],10)&&2<=parseInt(i[1],10)?L.Draw.Feature.include(L.Evented.prototype):L.Draw.Feature.include(L.Mixin.Events)},enable:function(){this._enabled||(L.Handler.prototype.enable.call(this),this.fire("enabled",{handler:this.type}),this._map.fire(L.Draw.Event.DRAWSTART,{layerType:this.type}))},disable:function(){this._enabled&&(L.Handler.prototype.disable.call(this),this._map.fire(L.Draw.Event.DRAWSTOP,{layerType:this.type}),this.fire("disabled",{handler:this.type}))},addHooks:function(){var t=this._map;t&&(L.DomUtil.disableTextSelection(),t.getContainer().focus(),this._tooltip=new L.Draw.Tooltip(this._map),L.DomEvent.on(this._container,"keyup",this._cancelDrawing,this))},removeHooks:function(){this._map&&(L.DomUtil.enableTextSelection(),this._tooltip.dispose(),this._tooltip=null,L.DomEvent.off(this._container,"keyup",this._cancelDrawing,this))},setOptions:function(t){L.setOptions(this,t)},_fireCreatedEvent:function(t){this._map.fire(L.Draw.Event.CREATED,{layer:t,layerType:this.type})},_cancelDrawing:function(t){27===t.keyCode&&(this._map.fire("draw:canceled",{layerType:this.type}),this.disable())}}),L.Draw.Polyline=L.Draw.Feature.extend({statics:{TYPE:"polyline"},Poly:L.Polyline,options:{allowIntersection:!0,repeatMode:!1,drawError:{color:"#b00b00",timeout:2500},icon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon"}),touchIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-touch-icon"}),guidelineDistance:20,maxGuideLineLength:4e3,shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!1,clickable:!0},metric:!0,feet:!0,nautic:!1,showLength:!0,zIndexOffset:2e3,factor:1,maxPoints:0},initialize:function(t,e){L.Browser.touch&&(this.options.icon=this.options.touchIcon),this.options.drawError.message=L.drawLocal.draw.handlers.polyline.error,e&&e.drawError&&(e.drawError=L.Util.extend({},this.options.drawError,e.drawError)),this.type=L.Draw.Polyline.TYPE,L.Draw.Feature.prototype.initialize.call(this,t,e)},addHooks:function(){L.Draw.Feature.prototype.addHooks.call(this),this._map&&(this._markers=[],this._markerGroup=new L.LayerGroup,this._map.addLayer(this._markerGroup),this._poly=new L.Polyline([],this.options.shapeOptions),this._tooltip.updateContent(this._getTooltipText()),this._mouseMarker||(this._mouseMarker=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"leaflet-mouse-marker",iconAnchor:[20,20],iconSize:[40,40]}),opacity:0,zIndexOffset:this.options.zIndexOffset})),this._mouseMarker.on("mouseout",this._onMouseOut,this).on("mousemove",this._onMouseMove,this).on("mousedown",this._onMouseDown,this).on("mouseup",this._onMouseUp,this).addTo(this._map),this._map.on("mouseup",this._onMouseUp,this).on("mousemove",this._onMouseMove,this).on("zoomlevelschange",this._onZoomEnd,this).on("touchstart",this._onTouch,this).on("zoomend",this._onZoomEnd,this))},removeHooks:function(){L.Draw.Feature.prototype.removeHooks.call(this),this._clearHideErrorTimeout(),this._cleanUpShape(),this._map.removeLayer(this._markerGroup),delete this._markerGroup,delete this._markers,this._map.removeLayer(this._poly),delete this._poly,this._mouseMarker.off("mousedown",this._onMouseDown,this).off("mouseout",this._onMouseOut,this).off("mouseup",this._onMouseUp,this).off("mousemove",this._onMouseMove,this),this._map.removeLayer(this._mouseMarker),delete this._mouseMarker,this._clearGuides(),this._map.off("mouseup",this._onMouseUp,this).off("mousemove",this._onMouseMove,this).off("zoomlevelschange",this._onZoomEnd,this).off("zoomend",this._onZoomEnd,this).off("touchstart",this._onTouch,this).off("click",this._onTouch,this)},deleteLastVertex:function(){if(!(this._markers.length<=1)){var t=this._markers.pop(),e=this._poly,i=e.getLatLngs(),n=i.splice(-1,1)[0];this._poly.setLatLngs(i),this._markerGroup.removeLayer(t),e.getLatLngs().length<2&&this._map.removeLayer(e),this._vertexChanged(n,!1)}},addVertex:function(t){2<=this._markers.length&&!this.options.allowIntersection&&this._poly.newLatLngIntersects(t)?this._showErrorTooltip():(this._errorShown&&this._hideErrorTooltip(),this._markers.push(this._createMarker(t)),this._poly.addLatLng(t),2===this._poly.getLatLngs().length&&this._map.addLayer(this._poly),this._vertexChanged(t,!0))},completeShape:function(){this._markers.length<=1||!this._shapeIsValid()||(this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable())},_finishShape:function(){var t=this._poly._defaultShape?this._poly._defaultShape():this._poly.getLatLngs(),e=this._poly.newLatLngIntersects(t[t.length-1]);!this.options.allowIntersection&&e||!this._shapeIsValid()?this._showErrorTooltip():(this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable())},_shapeIsValid:function(){return!0},_onZoomEnd:function(){null!==this._markers&&this._updateGuide()},_onMouseMove:function(t){var e=this._map.mouseEventToLayerPoint(t.originalEvent),i=this._map.layerPointToLatLng(e);this._currentLatLng=i,this._updateTooltip(i),this._updateGuide(e),this._mouseMarker.setLatLng(i),L.DomEvent.preventDefault(t.originalEvent)},_vertexChanged:function(t,e){this._map.fire(L.Draw.Event.DRAWVERTEX,{layers:this._markerGroup}),this._updateFinishHandler(),this._updateRunningMeasure(t,e),this._clearGuides(),this._updateTooltip()},_onMouseDown:function(t){if(!this._clickHandled&&!this._touchHandled&&!this._disableMarkers){this._onMouseMove(t),this._clickHandled=!0,this._disableNewMarkers();var e=t.originalEvent,i=e.clientX,n=e.clientY;this._startPoint.call(this,i,n)}},_startPoint:function(t,e){this._mouseDownOrigin=L.point(t,e)},_onMouseUp:function(t){var e=t.originalEvent,i=e.clientX,n=e.clientY;this._endPoint.call(this,i,n,t),this._clickHandled=null},_endPoint:function(t,e,i){if(this._mouseDownOrigin){var n=L.point(t,e).distanceTo(this._mouseDownOrigin),o=this._calculateFinishDistance(i.latlng);1<this.options.maxPoints&&this.options.maxPoints==this._markers.length+1?(this.addVertex(i.latlng),this._finishShape()):o<10&&L.Browser.touch?this._finishShape():Math.abs(n)<9*(r.devicePixelRatio||1)&&this.addVertex(i.latlng),this._enableNewMarkers()}this._mouseDownOrigin=null},_onTouch:function(t){var e,i,n=t.originalEvent;!n.touches||!n.touches[0]||this._clickHandled||this._touchHandled||this._disableMarkers||(e=n.touches[0].clientX,i=n.touches[0].clientY,this._disableNewMarkers(),this._touchHandled=!0,this._startPoint.call(this,e,i),this._endPoint.call(this,e,i,t),this._touchHandled=null),this._clickHandled=null},_onMouseOut:function(){this._tooltip&&this._tooltip._onMouseOut.call(this._tooltip)},_calculateFinishDistance:function(t){var e;if(0<this._markers.length){var i;if(this.type===L.Draw.Polyline.TYPE)i=this._markers[this._markers.length-1];else{if(this.type!==L.Draw.Polygon.TYPE)return 1/0;i=this._markers[0]}var n=this._map.latLngToContainerPoint(i.getLatLng()),o=new L.Marker(t,{icon:this.options.icon,zIndexOffset:2*this.options.zIndexOffset}),r=this._map.latLngToContainerPoint(o.getLatLng());e=n.distanceTo(r)}else e=1/0;return e},_updateFinishHandler:function(){var t=this._markers.length;1<t&&this._markers[t-1].on("click",this._finishShape,this),2<t&&this._markers[t-2].off("click",this._finishShape,this)},_createMarker:function(t){var e=new L.Marker(t,{icon:this.options.icon,zIndexOffset:2*this.options.zIndexOffset});return this._markerGroup.addLayer(e),e},_updateGuide:function(t){var e=this._markers?this._markers.length:0;0<e&&(t=t||this._map.latLngToLayerPoint(this._currentLatLng),this._clearGuides(),this._drawGuide(this._map.latLngToLayerPoint(this._markers[e-1].getLatLng()),t))},_updateTooltip:function(t){var e=this._getTooltipText();t&&this._tooltip.updatePosition(t),this._errorShown||this._tooltip.updateContent(e)},_drawGuide:function(t,e){var i,n,o,r=Math.floor(Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))),s=this.options.guidelineDistance,a=this.options.maxGuideLineLength,l=a<r?r-a:s;for(this._guidesContainer||(this._guidesContainer=L.DomUtil.create("div","leaflet-draw-guides",this._overlayPane));l<r;l+=this.options.guidelineDistance)i=l/r,n={x:Math.floor(t.x*(1-i)+i*e.x),y:Math.floor(t.y*(1-i)+i*e.y)},(o=L.DomUtil.create("div","leaflet-draw-guide-dash",this._guidesContainer)).style.backgroundColor=this._errorShown?this.options.drawError.color:this.options.shapeOptions.color,L.DomUtil.setPosition(o,n)},_updateGuideColor:function(t){if(this._guidesContainer)for(var e=0,i=this._guidesContainer.childNodes.length;e<i;e++)this._guidesContainer.childNodes[e].style.backgroundColor=t},_clearGuides:function(){if(this._guidesContainer)for(;this._guidesContainer.firstChild;)this._guidesContainer.removeChild(this._guidesContainer.firstChild)},_getTooltipText:function(){var t,e=this.options.showLength;return 0===this._markers.length?{text:L.drawLocal.draw.handlers.polyline.tooltip.start}:(t=e?this._getMeasurementString():"",1===this._markers.length?{text:L.drawLocal.draw.handlers.polyline.tooltip.cont,subtext:t}:{text:L.drawLocal.draw.handlers.polyline.tooltip.end,subtext:t})},_updateRunningMeasure:function(t,e){var i,n,o=this._markers.length;1===this._markers.length?this._measurementRunningTotal=0:(i=o-(e?2:1),n=L.GeometryUtil.isVersion07x()?t.distanceTo(this._markers[i].getLatLng())*(this.options.factor||1):this._map.distance(t,this._markers[i].getLatLng())*(this.options.factor||1),this._measurementRunningTotal+=n*(e?1:-1))},_getMeasurementString:function(){var t,e=this._currentLatLng,i=this._markers[this._markers.length-1].getLatLng();return t=L.GeometryUtil.isVersion07x()?i&&e&&e.distanceTo?this._measurementRunningTotal+e.distanceTo(i)*(this.options.factor||1):this._measurementRunningTotal||0:i&&e?this._measurementRunningTotal+this._map.distance(e,i)*(this.options.factor||1):this._measurementRunningTotal||0,L.GeometryUtil.readableDistance(t,this.options.metric,this.options.feet,this.options.nautic,this.options.precision)},_showErrorTooltip:function(){this._errorShown=!0,this._tooltip.showAsError().updateContent({text:this.options.drawError.message}),this._updateGuideColor(this.options.drawError.color),this._poly.setStyle({color:this.options.drawError.color}),this._clearHideErrorTimeout(),this._hideErrorTimeout=setTimeout(L.Util.bind(this._hideErrorTooltip,this),this.options.drawError.timeout)},_hideErrorTooltip:function(){this._errorShown=!1,this._clearHideErrorTimeout(),this._tooltip.removeError().updateContent(this._getTooltipText()),this._updateGuideColor(this.options.shapeOptions.color),this._poly.setStyle({color:this.options.shapeOptions.color})},_clearHideErrorTimeout:function(){this._hideErrorTimeout&&(clearTimeout(this._hideErrorTimeout),this._hideErrorTimeout=null)},_disableNewMarkers:function(){this._disableMarkers=!0},_enableNewMarkers:function(){setTimeout(function(){this._disableMarkers=!1}.bind(this),50)},_cleanUpShape:function(){1<this._markers.length&&this._markers[this._markers.length-1].off("click",this._finishShape,this)},_fireCreatedEvent:function(){var t=new this.Poly(this._poly.getLatLngs(),this.options.shapeOptions);L.Draw.Feature.prototype._fireCreatedEvent.call(this,t)}}),L.Draw.Polygon=L.Draw.Polyline.extend({statics:{TYPE:"polygon"},Poly:L.Polygon,options:{showArea:!1,showLength:!1,shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0},metric:!0,feet:!0,nautic:!1,precision:{}},initialize:function(t,e){L.Draw.Polyline.prototype.initialize.call(this,t,e),this.type=L.Draw.Polygon.TYPE},_updateFinishHandler:function(){var t=this._markers.length;1===t&&this._markers[0].on("click",this._finishShape,this),2<t&&(this._markers[t-1].on("dblclick",this._finishShape,this),3<t&&this._markers[t-2].off("dblclick",this._finishShape,this))},_getTooltipText:function(){var t,e;return 0===this._markers.length?t=L.drawLocal.draw.handlers.polygon.tooltip.start:e=(t=this._markers.length<3?L.drawLocal.draw.handlers.polygon.tooltip.cont:L.drawLocal.draw.handlers.polygon.tooltip.end,this._getMeasurementString()),{text:t,subtext:e}},_getMeasurementString:function(){var t=this._area,e="";return t||this.options.showLength?(this.options.showLength&&(e=L.Draw.Polyline.prototype._getMeasurementString.call(this)),t&&(e+="<br>"+L.GeometryUtil.readableArea(t,this.options.metric,this.options.precision)),e):null},_shapeIsValid:function(){return 3<=this._markers.length},_vertexChanged:function(t,e){var i;!this.options.allowIntersection&&this.options.showArea&&(i=this._poly.getLatLngs(),this._area=L.GeometryUtil.geodesicArea(i)),L.Draw.Polyline.prototype._vertexChanged.call(this,t,e)},_cleanUpShape:function(){var t=this._markers.length;0<t&&(this._markers[0].off("click",this._finishShape,this),2<t&&this._markers[t-1].off("dblclick",this._finishShape,this))}}),L.SimpleShape={},L.Draw.SimpleShape=L.Draw.Feature.extend({options:{repeatMode:!1},initialize:function(t,e){this._endLabelText=L.drawLocal.draw.handlers.simpleshape.tooltip.end,L.Draw.Feature.prototype.initialize.call(this,t,e)},addHooks:function(){L.Draw.Feature.prototype.addHooks.call(this),this._map&&(this._mapDraggable=this._map.dragging.enabled(),this._mapDraggable&&this._map.dragging.disable(),this._container.style.cursor="crosshair",this._tooltip.updateContent({text:this._initialLabelText}),this._map.on("mousedown",this._onMouseDown,this).on("mousemove",this._onMouseMove,this).on("touchstart",this._onMouseDown,this).on("touchmove",this._onMouseMove,this),e.addEventListener("touchstart",L.DomEvent.preventDefault,{passive:!1}))},removeHooks:function(){L.Draw.Feature.prototype.removeHooks.call(this),this._map&&(this._mapDraggable&&this._map.dragging.enable(),this._container.style.cursor="",this._map.off("mousedown",this._onMouseDown,this).off("mousemove",this._onMouseMove,this).off("touchstart",this._onMouseDown,this).off("touchmove",this._onMouseMove,this),L.DomEvent.off(e,"mouseup",this._onMouseUp,this),L.DomEvent.off(e,"touchend",this._onMouseUp,this),e.removeEventListener("touchstart",L.DomEvent.preventDefault),this._shape&&(this._map.removeLayer(this._shape),delete this._shape)),this._isDrawing=!1},_getTooltipText:function(){return{text:this._endLabelText}},_onMouseDown:function(t){this._isDrawing=!0,this._startLatLng=t.latlng,L.DomEvent.on(e,"mouseup",this._onMouseUp,this).on(e,"touchend",this._onMouseUp,this).preventDefault(t.originalEvent)},_onMouseMove:function(t){var e=t.latlng;this._tooltip.updatePosition(e),this._isDrawing&&(this._tooltip.updateContent(this._getTooltipText()),this._drawShape(e))},_onMouseUp:function(){this._shape&&this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable()}}),L.Draw.Rectangle=L.Draw.SimpleShape.extend({statics:{TYPE:"rectangle"},options:{shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0},showArea:!0,metric:!0},initialize:function(t,e){this.type=L.Draw.Rectangle.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.rectangle.tooltip.start,L.Draw.SimpleShape.prototype.initialize.call(this,t,e)},disable:function(){this._enabled&&(this._isCurrentlyTwoClickDrawing=!1,L.Draw.SimpleShape.prototype.disable.call(this))},_onMouseUp:function(t){this._shape||this._isCurrentlyTwoClickDrawing?this._isCurrentlyTwoClickDrawing&&!function(t,e){for(;(t=t.parentElement)&&!t.classList.contains(e););return t}(t.target,"leaflet-pane")||L.Draw.SimpleShape.prototype._onMouseUp.call(this):this._isCurrentlyTwoClickDrawing=!0},_drawShape:function(t){this._shape?this._shape.setBounds(new L.LatLngBounds(this._startLatLng,t)):(this._shape=new L.Rectangle(new L.LatLngBounds(this._startLatLng,t),this.options.shapeOptions),this._map.addLayer(this._shape))},_fireCreatedEvent:function(){var t=new L.Rectangle(this._shape.getBounds(),this.options.shapeOptions);L.Draw.SimpleShape.prototype._fireCreatedEvent.call(this,t)},_getTooltipText:function(){var t,e,i,n=L.Draw.SimpleShape.prototype._getTooltipText.call(this),o=this._shape,r=this.options.showArea;return o&&(t=this._shape._defaultShape?this._shape._defaultShape():this._shape.getLatLngs(),e=L.GeometryUtil.geodesicArea(t),i=r?L.GeometryUtil.readableArea(e,this.options.metric):""),{text:n.text,subtext:i}}}),L.Draw.Marker=L.Draw.Feature.extend({statics:{TYPE:"marker"},options:{icon:new L.Icon.Default,repeatMode:!1,zIndexOffset:2e3},initialize:function(t,e){this.type=L.Draw.Marker.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.marker.tooltip.start,L.Draw.Feature.prototype.initialize.call(this,t,e)},addHooks:function(){L.Draw.Feature.prototype.addHooks.call(this),this._map&&(this._tooltip.updateContent({text:this._initialLabelText}),this._mouseMarker||(this._mouseMarker=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"leaflet-mouse-marker",iconAnchor:[20,20],iconSize:[40,40]}),opacity:0,zIndexOffset:this.options.zIndexOffset})),this._mouseMarker.on("click",this._onClick,this).addTo(this._map),this._map.on("mousemove",this._onMouseMove,this),this._map.on("click",this._onTouch,this))},removeHooks:function(){L.Draw.Feature.prototype.removeHooks.call(this),this._map&&(this._map.off("click",this._onClick,this).off("click",this._onTouch,this),this._marker&&(this._marker.off("click",this._onClick,this),this._map.removeLayer(this._marker),delete this._marker),this._mouseMarker.off("click",this._onClick,this),this._map.removeLayer(this._mouseMarker),delete this._mouseMarker,this._map.off("mousemove",this._onMouseMove,this))},_onMouseMove:function(t){var e=t.latlng;this._tooltip.updatePosition(e),this._mouseMarker.setLatLng(e),this._marker?(e=this._mouseMarker.getLatLng(),this._marker.setLatLng(e)):(this._marker=this._createMarker(e),this._marker.on("click",this._onClick,this),this._map.on("click",this._onClick,this).addLayer(this._marker))},_createMarker:function(t){return new L.Marker(t,{icon:this.options.icon,zIndexOffset:this.options.zIndexOffset})},_onClick:function(){this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable()},_onTouch:function(t){this._onMouseMove(t),this._onClick()},_fireCreatedEvent:function(){var t=new L.Marker.Touch(this._marker.getLatLng(),{icon:this.options.icon});L.Draw.Feature.prototype._fireCreatedEvent.call(this,t)}}),L.Draw.CircleMarker=L.Draw.Marker.extend({statics:{TYPE:"circlemarker"},options:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0,zIndexOffset:2e3},initialize:function(t,e){this.type=L.Draw.CircleMarker.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.circlemarker.tooltip.start,L.Draw.Feature.prototype.initialize.call(this,t,e)},_fireCreatedEvent:function(){var t=new L.CircleMarker(this._marker.getLatLng(),this.options);L.Draw.Feature.prototype._fireCreatedEvent.call(this,t)},_createMarker:function(t){return new L.CircleMarker(t,this.options)}}),L.Draw.Circle=L.Draw.SimpleShape.extend({statics:{TYPE:"circle"},options:{shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0},showRadius:!0,metric:!0,feet:!0,nautic:!1},initialize:function(t,e){this.type=L.Draw.Circle.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.circle.tooltip.start,L.Draw.SimpleShape.prototype.initialize.call(this,t,e)},_drawShape:function(t){if(L.GeometryUtil.isVersion07x())var e=this._startLatLng.distanceTo(t);else e=this._map.distance(this._startLatLng,t);this._shape?this._shape.setRadius(e):(this._shape=new L.Circle(this._startLatLng,e,this.options.shapeOptions),this._map.addLayer(this._shape))},_fireCreatedEvent:function(){var t=new L.Circle(this._startLatLng,this._shape.getRadius(),this.options.shapeOptions);L.Draw.SimpleShape.prototype._fireCreatedEvent.call(this,t)},_onMouseMove:function(t){var e,i=t.latlng,n=this.options.showRadius,o=this.options.metric;if(this._tooltip.updatePosition(i),this._isDrawing){this._drawShape(i),e=this._shape.getRadius().toFixed(1);var r="";n&&(r=L.drawLocal.draw.handlers.circle.radius+": "+L.GeometryUtil.readableDistance(e,o,this.options.feet,this.options.nautic)),this._tooltip.updateContent({text:this._endLabelText,subtext:r})}}}),L.Edit=L.Edit||{},L.Edit.Marker=L.Handler.extend({initialize:function(t,e){this._marker=t,L.setOptions(this,e)},addHooks:function(){var t=this._marker;t.dragging.enable(),t.on("dragend",this._onDragEnd,t),this._toggleMarkerHighlight()},removeHooks:function(){var t=this._marker;t.dragging.disable(),t.off("dragend",this._onDragEnd,t),this._toggleMarkerHighlight()},_onDragEnd:function(t){var e=t.target;e.edited=!0,this._map.fire(L.Draw.Event.EDITMOVE,{layer:e})},_toggleMarkerHighlight:function(){var t=this._marker._icon;t&&(t.style.display="none",L.DomUtil.hasClass(t,"leaflet-edit-marker-selected")?(L.DomUtil.removeClass(t,"leaflet-edit-marker-selected"),this._offsetMarker(t,-4)):(L.Dom
vendor: 13,368 bytes, line 1
1Util.addClass(t,"leaflet-edit-marker-selected"),this._offsetMarker(t,4)),t.style.display="")},_offsetMarker:function(t,e){var i=parseInt(t.style.marginTop,10)-e,n=parseInt(t.style.marginLeft,10)-e;t.style.marginTop=i+"px",t.style.marginLeft=n+"px"}}),L.Marker.addInitHook(function(){L.Edit.Marker&&(this.editing=new L.Edit.Marker(this),this.options.editable&&this.editing.enable())}),L.Edit=L.Edit||{},L.Edit.Poly=L.Handler.extend({initialize:function(t){this.latlngs=[t._latlngs],t._holes&&(this.latlngs=this.latlngs.concat(t._holes)),this._poly=t,this._poly.on("revert-edited",this._updateLatLngs,this)},_defaultShape:function(){return L.Polyline._flat?L.Polyline._flat(this._poly._latlngs)?this._poly._latlngs:this._poly._latlngs[0]:this._poly._latlngs},_eachVertexHandler:function(t){for(var e=0;e<this._verticesHandlers.length;e++)t(this._verticesHandlers[e])},addHooks:function(){this._initHandlers(),this._eachVertexHandler(function(t){t.addHooks()})},removeHooks:function(){this._eachVertexHandler(function(t){t.removeHooks()})},updateMarkers:function(){this._eachVertexHandler(function(t){t.updateMarkers()})},_initHandlers:function(){this._verticesHandlers=[];for(var t=0;t<this.latlngs.length;t++)this._verticesHandlers.push(new L.Edit.PolyVerticesEdit(this._poly,this.latlngs[t],this._poly.options.poly))},_updateLatLngs:function(t){this.latlngs=[t.layer._latlngs],t.layer._holes&&(this.latlngs=this.latlngs.concat(t.layer._holes))}}),L.Edit.PolyVerticesEdit=L.Handler.extend({options:{icon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon"}),touchIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-touch-icon"}),drawError:{color:"#b00b00",timeout:1e3}},initialize:function(t,e,i){L.Browser.touch&&(this.options.icon=this.options.touchIcon),this._poly=t,i&&i.drawError&&(i.drawError=L.Util.extend({},this.options.drawError,i.drawError)),this._latlngs=e,L.setOptions(this,i)},_defaultShape:function(){return L.Polyline._flat?L.Polyline._flat(this._latlngs)?this._latlngs:this._latlngs[0]:this._latlngs},addHooks:function(){var t=this._poly,e=t._path;t instanceof L.Polygon||(t.options.fill=!1,t.options.editing&&(t.options.editing.fill=!1)),e&&t.options.editing&&t.options.editing.className&&(t.options.original.className&&t.options.original.className.split(" ").forEach(function(t){L.DomUtil.removeClass(e,t)}),t.options.editing.className.split(" ").forEach(function(t){L.DomUtil.addClass(e,t)})),t.setStyle(t.options.editing),this._poly._map&&(this._map=this._poly._map,this._markerGroup||this._initMarkers(),this._poly._map.addLayer(this._markerGroup))},removeHooks:function(){var t=this._poly,e=t._path;e&&t.options.editing&&t.options.editing.className&&(t.options.editing.className.split(" ").forEach(function(t){L.DomUtil.removeClass(e,t)}),t.options.original.className&&t.options.original.className.split(" ").forEach(function(t){L.DomUtil.addClass(e,t)})),t.setStyle(t.options.original),t._map&&(t._map.removeLayer(this._markerGroup),delete this._markerGroup,delete this._markers)},updateMarkers:function(){this._markerGroup.clearLayers(),this._initMarkers()},_initMarkers:function(){this._markerGroup||(this._markerGroup=new L.LayerGroup),this._markers=[];var t,e,i,n,o,r,s=this._defaultShape();for(t=0,i=s.length;t<i;t++)(n=this._createMarker(s[t],t)).on("click",this._onMarkerClick,this),n.on("contextmenu",this._onContextMenu,this),this._markers.push(n);for(t=0,e=i-1;t<i;e=t++)(0!==t||L.Polygon&&this._poly instanceof L.Polygon)&&(o=this._markers[e],r=this._markers[t],this._createMiddleMarker(o,r),this._updatePrevNext(o,r))},_createMarker:function(t,e){var i=new L.Marker.Touch(t,{draggable:!0,icon:this.options.icon});return i._origLatLng=t,i._index=e,i.on("dragstart",this._onMarkerDragStart,this).on("drag",this._onMarkerDrag,this).on("dragend",this._fireEdit,this).on("touchmove",this._onTouchMove,this).on("touchend",this._fireEdit,this).on("MSPointerMove",this._onTouchMove,this).on("MSPointerUp",this._fireEdit,this),this._markerGroup.addLayer(i),i},_onMarkerDragStart:function(){this._poly.fire("editstart")},_spliceLatLngs:function(){var t=this._defaultShape(),e=[].splice.apply(t,arguments);return this._poly._convertLatLngs(t,!0),this._poly.redraw(),e},_removeMarker:function(t){var e=t._index;this._markerGroup.removeLayer(t),this._markers.splice(e,1),this._spliceLatLngs(e,1),this._updateIndexes(e,-1),t.off("dragstart",this._onMarkerDragStart,this).off("drag",this._onMarkerDrag,this).off("dragend",this._fireEdit,this).off("touchmove",this._onMarkerDrag,this).off("touchend",this._fireEdit,this).off("click",this._onMarkerClick,this).off("MSPointerMove",this._onTouchMove,this).off("MSPointerUp",this._fireEdit,this)},_fireEdit:function(){this._poly.edited=!0,this._poly.fire("edit"),this._poly._map.fire(L.Draw.Event.EDITVERTEX,{layers:this._markerGroup,poly:this._poly})},_onMarkerDrag:function(t){var e=t.target,i=this._poly,n=L.LatLngUtil.cloneLatLng(e._origLatLng);if(L.extend(e._origLatLng,e._latlng),i.options.poly){var o=i._map._editTooltip;if(!i.options.poly.allowIntersection&&i.intersects()){L.extend(e._origLatLng,n),e.setLatLng(n);var r=i.options.color;i.setStyle({color:this.options.drawError.color}),o&&o.updateContent({text:L.drawLocal.draw.handlers.polyline.error}),setTimeout(function(){i.setStyle({color:r}),o&&o.updateContent({text:L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.edit.handlers.edit.tooltip.subtext})},1e3)}}e._middleLeft&&e._middleLeft.setLatLng(this._getMiddleLatLng(e._prev,e)),e._middleRight&&e._middleRight.setLatLng(this._getMiddleLatLng(e,e._next)),this._poly._bounds._southWest=L.latLng(1/0,1/0),this._poly._bounds._northEast=L.latLng(-1/0,-1/0);var s=this._poly.getLatLngs();this._poly._convertLatLngs(s,!0),this._poly.redraw(),this._poly.fire("editdrag")},_onMarkerClick:function(t){var e=L.Polygon&&this._poly instanceof L.Polygon?4:3,i=t.target;this._defaultShape().length<e||(this._removeMarker(i),this._updatePrevNext(i._prev,i._next),i._middleLeft&&this._markerGroup.removeLayer(i._middleLeft),i._middleRight&&this._markerGroup.removeLayer(i._middleRight),i._prev&&i._next?this._createMiddleMarker(i._prev,i._next):i._prev?i._next||(i._prev._middleRight=null):i._next._middleLeft=null,this._fireEdit())},_onContextMenu:function(t){var e=t.target;this._poly,this._poly._map.fire(L.Draw.Event.MARKERCONTEXT,{marker:e,layers:this._markerGroup,poly:this._poly}),L.DomEvent.stopPropagation},_onTouchMove:function(t){var e=this._map.mouseEventToLayerPoint(t.originalEvent.touches[0]),i=this._map.layerPointToLatLng(e),n=t.target;L.extend(n._origLatLng,i),n._middleLeft&&n._middleLeft.setLatLng(this._getMiddleLatLng(n._prev,n)),n._middleRight&&n._middleRight.setLatLng(this._getMiddleLatLng(n,n._next)),this._poly.redraw(),this.updateMarkers()},_updateIndexes:function(e,i){this._markerGroup.eachLayer(function(t){t._index>e&&(t._index+=i)})},_createMiddleMarker:function(e,i){var n,o,t,r=this._getMiddleLatLng(e,i),s=this._createMarker(r);s.setOpacity(.6),e._middleRight=i._middleLeft=s,o=function(){s.off("touchmove",o,this);var t=i._index;s._index=t,s.off("click",n,this).on("click",this._onMarkerClick,this),r.lat=s.getLatLng().lat,r.lng=s.getLatLng().lng,this._spliceLatLngs(t,0,r),this._markers.splice(t,0,s),s.setOpacity(1),this._updateIndexes(t,1),i._index++,this._updatePrevNext(e,s),this._updatePrevNext(s,i),this._poly.fire("editstart")},t=function(){s.off("dragstart",o,this),s.off("dragend",t,this),s.off("touchmove",o,this),this._createMiddleMarker(e,s),this._createMiddleMarker(s,i)},n=function(){o.call(this),t.call(this),this._fireEdit()},s.on("click",n,this).on("dragstart",o,this).on("dragend",t,this).on("touchmove",o,this),this._markerGroup.addLayer(s)},_updatePrevNext:function(t,e){t&&(t._next=e),e&&(e._prev=t)},_getMiddleLatLng:function(t,e){var i=this._poly._map,n=i.project(t.getLatLng()),o=i.project(e.getLatLng());return i.unproject(n._add(o)._divideBy(2))}}),L.Polyline.addInitHook(function(){this.editing||(L.Edit.Poly&&(this.editing=new L.Edit.Poly(this),this.options.editable&&this.editing.enable()),this.on("add",function(){this.editing&&this.editing.enabled()&&this.editing.addHooks()}),this.on("remove",function(){this.editing&&this.editing.enabled()&&this.editing.removeHooks()}))}),L.Edit=L.Edit||{},L.Edit.SimpleShape=L.Handler.extend({options:{moveIcon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-move"}),resizeIcon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-resize"}),touchMoveIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-move leaflet-touch-icon"}),touchResizeIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-resize leaflet-touch-icon"})},initialize:function(t,e){L.Browser.touch&&(this.options.moveIcon=this.options.touchMoveIcon,this.options.resizeIcon=this.options.touchResizeIcon),this._shape=t,L.Util.setOptions(this,e)},addHooks:function(){var t=this._shape;this._shape._map&&(this._map=this._shape._map,t.setStyle(t.options.editing),t._map&&(this._map=t._map,this._markerGroup||this._initMarkers(),this._map.addLayer(this._markerGroup)))},removeHooks:function(){var t=this._shape;if(t.setStyle(t.options.original),t._map){this._unbindMarker(this._moveMarker);for(var e=0,i=this._resizeMarkers.length;e<i;e++)this._unbindMarker(this._resizeMarkers[e]);this._resizeMarkers=null,this._map.removeLayer(this._markerGroup),delete this._markerGroup}this._map=null},updateMarkers:function(){this._markerGroup.clearLayers(),this._initMarkers()},_initMarkers:function(){this._markerGroup||(this._markerGroup=new L.LayerGroup),this._createMoveMarker(),this._createResizeMarker()},_createMoveMarker:function(){},_createResizeMarker:function(){},_createMarker:function(t,e){var i=new L.Marker.Touch(t,{draggable:!0,icon:e,zIndexOffset:10});return this._bindMarker(i),this._markerGroup.addLayer(i),i},_bindMarker:function(t){t.on("dragstart",this._onMarkerDragStart,this).on("drag",this._onMarkerDrag,this).on("dragend",this._onMarkerDragEnd,this).on("touchstart",this._onTouchStart,this).on("touchmove",this._onTouchMove,this).on("MSPointerMove",this._onTouchMove,this).on("touchend",this._onTouchEnd,this).on("MSPointerUp",this._onTouchEnd,this)},_unbindMarker:function(t){t.off("dragstart",this._onMarkerDragStart,this).off("drag",this._onMarkerDrag,this).off("dragend",this._onMarkerDragEnd,this).off("touchstart",this._onTouchStart,this).off("touchmove",this._onTouchMove,this).off("MSPointerMove",this._onTouchMove,this).off("touchend",this._onTouchEnd,this).off("MSPointerUp",this._onTouchEnd,this)},_onMarkerDragStart:function(t){t.target.setOpacity(0),this._shape.fire("editstart")},_fireEdit:function(){this._shape.edited=!0,this._shape.fire("edit")},_onMarkerDrag:function(t){var e=t.target,i=e.getLatLng();e===this._moveMarker?this._move(i):this._resize(i),this._shape.redraw(),this._shape.fire("editdrag")},_onMarkerDragEnd:function(t){t.target.setOpacity(1),this._fireEdit()},_onTouchStart:function(t){if(L.Edit.SimpleShape.prototype._onMarkerDragStart.call(this,t),"function"==typeof this._getCorners){var e=this._getCorners(),i=t.target,n=i._cornerIndex;i.setOpacity(0),this._oppositeCorner=e[(n+2)%4],this._toggleCornerMarkers(0,n)}this._shape.fire("editstart")},_onTouchMove:function(t){var e=this._map.mouseEventToLayerPoint(t.originalEvent.touches[0]),i=this._map.layerPointToLatLng(e);return t.target===this._moveMarker?this._move(i):this._resize(i),this._shape.redraw(),!1},_onTouchEnd:function(t){t.target.setOpacity(1),this.updateMarkers(),this._fireEdit()},_move:function(){},_resize:function(){}}),L.Edit=L.Edit||{},L.Edit.Rectangle=L.Edit.SimpleShape.extend({_createMoveMarker:function(){var t=this._shape.getBounds().getCenter();this._moveMarker=this._createMarker(t,this.options.moveIcon)},_createResizeMarker:function(){var t=this._getCorners();this._resizeMarkers=[];for(var e=0,i=t.length;e<i;e++)this._resizeMarkers.push(this._createMarker(t[e],this.options.resizeIcon)),this._resizeMarkers[e]._cornerIndex=e},_onMarkerDragStart:function(t){L.Edit.SimpleShape.prototype._onMarkerDragStart.call(this,t);var e=this._getCorners(),i=t.target._cornerIndex;this._oppositeCorner=e[(i+2)%4],this._toggleCornerMarkers(0,i)},_onMarkerDragEnd:function(t){var e,i=t.target;i===this._moveMarker&&(e=this._shape.getBounds().getCenter(),i.setLatLng(e)),this._toggleCornerMarkers(1),this._repositionCornerMarkers(),L.Edit.SimpleShape.prototype._onMarkerDragEnd.call(this,t)},_move:function(t){for(var e,i=this._shape._defaultShape?this._shape._defaultShape():this._shape.getLatLngs(),n=this._shape.getBounds().getCenter(),o=[],r=0,s=i.length;r<s;r++)e=[i[r].lat-n.lat,i[r].lng-n.lng],o.push([t.lat+e[0],t.lng+e[1]]);this._shape.setLatLngs(o),this._repositionCornerMarkers(),this._map.fire(L.Draw.Event.EDITMOVE,{layer:this._shape})},_resize:function(t){var e;this._shape.setBounds(L.latLngBounds(t,this._oppositeCorner)),e=this._shape.getBounds(),this._moveMarker.setLatLng(e.getCenter()),this._map.fire(L.Draw.Event.EDITRESIZE,{layer:this._shape})},_getCorners:function(){var t=this._shape.getBounds();return[t.getNorthWest(),t.getNorthEast(),t.getSouthEast(),t.getSouthWest
1()]},_toggleCornerMarkers:function(t){for(var e=0,i=this._resizeMarkers.length;e<i;e++)this._resizeMarkers[e].setOpacity(t)},_repositionCornerMarkers:function(){for(var t=this._getCorners(),e=0,i=this._resizeMarkers.length;e<i;e++)this._resizeMarkers[e].setLatLng(t[e])}}),L.Rectangle.addInitHook(function(){L.Edit.Rectangle&&(this.editing=new L.Edit.Rectangle(this),this.options.editable&&this.editing.enable())}),L.Edit=L.Edit||{},L.Edit.CircleMarker=L.Edit.SimpleShape.extend({_createMoveMarker:function(){var t=this._shape.getLatLng();this._moveMarker=this._createMarker(t,this.options.moveIcon)},_createResizeMarker:function(){this._resizeMarkers=[]},_move:function(t){if(this._resizeMarkers.length){var e=this._getResizeMarkerPoint(t);this._resizeMarkers[0].setLatLng(e)}this._shape.setLatLng(t),this._map.fire(L.Draw.Event.EDITMOVE,{layer:this._shape})}}),L.CircleMarker.addInitHook(function(){L.Edit.CircleMarker&&(this.editing=new L.Edit.CircleMarker(this),this.options.editable&&this.editing.enable()),this.on("add",function(){this.editing&&this.editing.enabled()&&this.editing.addHooks()}),this.on("remove",function(){this.editing&&this.editing.enabled()&&this.editing.removeHooks()})}),L.Edit=L.Edit||{},L.Edit.Circle=L.Edit.CircleMarker.extend({_createResizeMarker:function(){var t=this._shape.getLatLng(),e=this._getResizeMarkerPoint(t);this._resizeMarkers=[],this._resizeMarkers.push(this._createMarker(e,this.options.resizeIcon))},_getResizeMarkerPoint:function(t){var e=this._shape._radius*Math.cos(Math.PI/4),i=this._map.project(t);return this._map.unproject([i.x+e,i.y-e])},_resize:function(t){var e=this._moveMarker.getLatLng();L.GeometryUtil.isVersion07x()?radius=e.distanceTo(t):radius=this._map.distance(e,t),this._shape.setRadius(radius),this._map.editTooltip&&this._map._editTooltip.updateContent({text:L.drawLocal.edit.handlers.edit.tooltip.subtext+"<br />"+L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.draw.handlers.circle.radius+": "+L.GeometryUtil.readableDistance(radius,!0,this.options.feet,this.options.nautic)}),this._shape.setRadius(radius),this._map.fire(L.Draw.Event.EDITRESIZE,{layer:this._shape})}}),L.Circle.addInitHook(function(){L.Edit.Circle&&(this.editing=new L.Edit.Circle(this),this.options.editable&&this.editing.enable())}),L.Map.mergeOptions({touchExtend:!0}),L.Map.TouchExtend=L.Handler.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane},addHooks:function(){L.DomEvent.on(this._container,"touchstart",this._onTouchStart,this),L.DomEvent.on(this._container,"touchend",this._onTouchEnd,this),L.DomEvent.on(this._container,"touchmove",this._onTouchMove,this),this._detectIE()?(L.DomEvent.on(this._container,"MSPointerDown",this._onTouchStart,this),L.DomEvent.on(this._container,"MSPointerUp",this._onTouchEnd,this),L.DomEvent.on(this._container,"MSPointerMove",this._onTouchMove,this),L.DomEvent.on(this._container,"MSPointerCancel",this._onTouchCancel,this)):(L.DomEvent.on(this._container,"touchcancel",this._onTouchCancel,this),L.DomEvent.on(this._container,"touchleave",this._onTouchLeave,this))},removeHooks:function(){L.DomEvent.off(this._container,"touchstart",this._onTouchStart,this),L.DomEvent.off(this._container,"touchend",this._onTouchEnd,this),L.DomEvent.off(this._container,"touchmove",this._onTouchMove,this),this._detectIE()?(L.DomEvent.off(this._container,"MSPointerDown",this._onTouchStart,this),L.DomEvent.off(this._container,"MSPointerUp",this._onTouchEnd,this),L.DomEvent.off(this._container,"MSPointerMove",this._onTouchMove,this),L.DomEvent.off(this._container,"MSPointerCancel",this._onTouchCancel,this)):(L.DomEvent.off(this._container,"touchcancel",this._onTouchCancel,this),L.DomEvent.off(this._container,"touchleave",this._onTouchLeave,this))},_touchEvent:function(t,e){var i={};if(void 0!==t.touches){if(!t.touches.length)return;i=t.touches[0]}else{if("touch"!==t.pointerType)return;if(i=t,!this._filterClick(t))return}var n=this._map.mouseEventToContainerPoint(i),o=this._map.mouseEventToLayerPoint(i),r=this._map.layerPointToLatLng(o);this._map.fire(e,{latlng:r,layerPoint:o,containerPoint:n,pageX:i.pageX,pageY:i.pageY,originalEvent:t})},_filterClick:function(t){var e=t.timeStamp||t.originalEvent.timeStamp,i=L.DomEvent._lastClick&&e-L.DomEvent._lastClick;return i&&100<i&&i<500||t.target._simulatedClick&&!t._simulated?(L.DomEvent.stop(t),!1):(L.DomEvent._lastClick=e,!0)},_onTouchStart:function(t){this._map._loaded&&this._touchEvent(t,"touchstart")},_onTouchEnd:function(t){this._map._loaded&&this._touchEvent(t,"touchend")},_onTouchCancel:function(t){if(this._map._loaded){var e="touchcancel";this._detectIE()&&(e="pointercancel"),this._touchEvent(t,e)}},_onTouchLeave:function(t){this._map._loaded&&this._touchEvent(t,"touchleave")},_onTouchMove:function(t){this._map._loaded&&this._touchEvent(t,"touchmove")},_detectIE:function(){var t=r.navigator.userAgent,e=t.indexOf("MSIE ");if(0<e)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);if(0<t.indexOf("Trident/")){var i=t.indexOf("rv:");return parseInt(t.substring(i+3,t.indexOf(".",i)),10)}var n=t.indexOf("Edge/");return 0<n&&parseInt(t.substring(n+5,t.indexOf(".",n)),10)}}),L.Map.addInitHook("addHandler","touchExtend",L.Map.TouchExtend),L.Marker.Touch=L.Marker.extend({_initInteraction:function(){return this.addInteractiveTarget?L.Marker.prototype._initInteraction.apply(this):this._initInteractionLegacy()},_initInteractionLegacy:function(){if(this.options.clickable){var t=this._icon,e=["dblclick","mousedown","mouseover","mouseout","contextmenu","touchstart","touchend","touchmove"];this._detectIE?e.concat(["MSPointerDown","MSPointerUp","MSPointerMove","MSPointerCancel"]):e.concat(["touchcancel"]),L.DomUtil.addClass(t,"leaflet-clickable"),L.DomEvent.on(t,"click",this._onMouseClick,this),L.DomEvent.on(t,"keypress",this._onKeyPress,this);for(var i=0;i<e.length;i++)L.DomEvent.on(t,e[i],this._fireMouseEvent,this);L.Handler.MarkerDrag&&(this.dragging=new L.Handler.MarkerDrag(this),this.options.draggable&&this.dragging.enable())}},_detectIE:function(){var t=r.navigator.userAgent,e=t.indexOf("MSIE ");if(0<e)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);if(0<t.indexOf("Trident/")){var i=t.indexOf("rv:");return parseInt(t.substring(i+3,t.indexOf(".",i)),10)}var n=t.indexOf("Edge/");return 0<n&&parseInt(t.substring(n+5,t.indexOf(".",n)),10)}}),L.LatLngUtil={cloneLatLngs:function(t){for(var e=[],i=0,n=t.length;i<n;i++)Array.isArray(t[i])?e.push(L.LatLngUtil.cloneLatLngs(t[i])):e.push(this.cloneLatLng(t[i]));return e},cloneLatLng:function(t){return L.latLng(t.lat,t.lng)}},s={km:2,ha:2,m:0,mi:2,ac:2,yd:0,ft:0,nm:2},L.GeometryUtil=L.extend(L.GeometryUtil||{},{geodesicArea:function(t){var e,i,n=t.length,o=0,r=Math.PI/180;if(2<n){for(var s=0;s<n;s++)e=t[s],o+=((i=t[(s+1)%n]).lng-e.lng)*r*(2+Math.sin(e.lat*r)+Math.sin(i.lat*r));o=6378137*o*6378137/2}return Math.abs(o)},formattedNumber:function(t,e){var i=parseFloat(t).toFixed(e),n=L.drawLocal.format&&L.drawLocal.format.numeric,o=n&&n.delimiters,r=o&&o.thousands,s=o&&o.decimal;if(r||s){var a=i.split(".");i=r?a[0].replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+r):a[0],s=s||".",1<a.length&&(i=i+s+a[1])}return i}
1,readableArea:function(t,e,i){var n;return i=L.Util.extend({},s,i),e?(n=["ha","m"],type=typeof e,"string"===type?n=[e]:"boolean"!==type&&(n=e),1e6<=t&&-1!==n.indexOf("km")?L.GeometryUtil.formattedNumber(1e-6*t,i.km)+" km²":1e4<=t&&-1!==n.indexOf("ha")?L.GeometryUtil.formattedNumber(1e-4*t,i.ha)+" ha":L.GeometryUtil.formattedNumber(t,i.m)+" m²"):3097600<=(t/=.836127)?L.GeometryUtil.formattedNumber(t/3097600,i.mi)+" mi²":4840<=t?L.GeometryUtil.formattedNumber(t/4840,i.ac)+" acres":L.GeometryUtil.formattedNumber(t,i.yd)+" yd²"},readableDistance:function(t,e,i,n,o){var r;switch(o=L.Util.extend({},s,o),e?"string"==typeof e?e:"metric":i?"feet":n?"nauticalMile":"yards"){case"metric":r=1e3<t?L.GeometryUtil.formattedNumber(t/1e3,o.km)+" km":L.GeometryUtil.formattedNumber(t,o.m)+" m";break;case"feet":t*=3.28083,r=L.GeometryUtil.formattedNumber(t,o.ft)+" ft";break;case"nauticalMile":t*=.53996,r=L.GeometryUtil.formattedNumber(t/1e3,o.nm)+" nm";break;case"yards":default:r=1760<(t*=1.09361)?L.GeometryUtil.formattedNumber(t/1760,o.mi)+" miles":L.GeometryUtil.formattedNumber(t,o.yd)+" yd"}return r},isVersion07x:function(){var t=L.version.split(".");return 0===parseInt(t[0],10)&&7===parseInt(t[1],10)}}),L.Util.extend(L.LineUtil,{segmentsIntersect:function(t,e,i,n){return this._checkCounterclockwise(t,i,n)!==this._checkCounterclockwise(e,i,n)&&this._checkCounterclockwise(t,e,i)!==this._checkCounterclockwise(t,e,n)},_checkCounterclockwise:function(t,e,i){return(i.y-t.y)*(e.x-t.x)>(e.y-t.y)*(i.x-t.x)}}),L.Polyline.include({intersects:function(){var t,e,i,n=this._getProjectedPoints(),o=n?n.length:0;if(this._tooFewPointsForIntersection())return!1;for(t=o-1;3<=t;t--)if(e=n[t-1],i=n[t],this._lineSegmentsIntersectsRange(e,i,t-2))return!0;return!1},newLatLngIntersects:function(t,e){return!!this._map&&this.newPointIntersects(this._map.latLngToLayerPoint(t),e)},newPointIntersects:function(t,e){var i=this._getProjectedPoints(),n=i?i.length:0,o=i?i[n-1]:null,r=n-2;return!this._tooFewPointsForIntersection(1)&&this._lineSegmentsIntersectsRange(o,t,r,e?1:0)},_tooFewPointsForIntersection:function(t){var e=this._getProjectedPoints(),i=e?e.length:0;return!e||(i+=t||0)<=3},_lineSegmentsIntersectsRange:function(t,e,i,n){var o,r,s=this._getProjectedPoints();n=n||0;for(var a=i;n<a;a--)if(o=s[a-1],r=s[a],L.LineUtil.segmentsIntersect(t,e,o,r))return!0;return!1},_getProjectedPoints:function(){if(!this._defaultShape)return this._originalPoints;for(var t=[],e=this._defaultShape(),i=0;i<e.length;i++)t.push(this._map.latLngToLayerPoint(e[i]));return t}}),L.Polygon.include({intersects:function(){var t,e,i,n,o=this._getProjectedPoints();return!this._tooFewPointsForIntersection()&&(!!L.Polyline.prototype.intersects.call(this)||(t=o.length,e=o[0],i=o[t-1],n=t-2,this._lineSegmentsIntersectsRange(i,e,n,1)))}}),L.Control.Draw=L.Control.extend({options:{position:"topleft",draw:{},edit:!1},initialize:function(t){if(L.version<"0.7")throw new Error("Leaflet.draw 0.2.3+ requires Leaflet 0.7.0+. Download latest from https://github.com/Leaflet/Leaflet/");var e;L.Control.prototype.initialize.call(this,t),this._toolbars={},L.DrawToolbar&&this.options.draw&&(e=new L.DrawToolbar(this.options.draw),this._toolbars[L.DrawToolbar.TYPE]=e,this._toolbars[L.DrawToolbar.TYPE].on("enable",this._toolbarEnabled,this)),L.EditToolbar&&this.options.edit&&(e=new L.EditToolbar(this.options.edit),this._toolbars[L.EditToolbar.TYPE]=e,this._toolbars[L.EditToolbar.TYPE].on("enable",this._toolbarEnabled,this)),L.toolbar=this},onAdd:function(t){var e,i=L.DomUtil.create("div","leaflet-draw"),n=!1;for(var o in this._toolbars)this._toolbars.hasOwnProperty(o)&&(e=this._toolbars[o].addToolbar(t))&&(n||(L.DomUtil.hasClass(e,"leaflet-draw-toolbar-top")||L.DomUtil.addClass(e.childNodes[0],"leaflet-draw-toolbar-top"),n=!0),i.appendChild(e));return i},onRemove:function(){for(var t in this._toolbars)this._toolbars.hasOwnProperty(t)&&this._toolbars[t].removeToolbar()},setDrawingOptions:function(t){for(var e in this._toolbars)this._toolbars[e]instanceof L.DrawToolbar&&this._toolbars[e].setOptions(t)},_toolbarEnabled:function(t){var e=t.target;for(var i in this._toolbars)this._toolbars[i]!==e&&this._toolbars[i].disable()}}),L.Map.mergeOptions({drawControlTooltips:!0,drawControl:!1}),L.Map.addInitHook(function(){this.options.drawControl&&(this.drawControl
vendor: 5,597 bytes, line 1
1=new L.Control.Draw,this.addControl(this.drawControl))}),L.Toolbar=L.Class.extend({initialize:function(t){L.setOptions(this,t),this._modes={},this._actionButtons=[],this._activeMode=null;var e=L.version.split(".");1===parseInt(e[0],10)&&2<=parseInt(e[1],10)?L.Toolbar.include(L.Evented.prototype):L.Toolbar.include(L.Mixin.Events)},enabled:function(){return null!==this._activeMode},disable:function(){this.enabled()&&this._activeMode.handler.disable()},addToolbar:function(t){var e,i=L.DomUtil.create("div","leaflet-draw-section"),n=0,o=this._toolbarClass||"",r=this.getModeHandlers(t);for(this._toolbarContainer=L.DomUtil.create("div","leaflet-draw-toolbar leaflet-bar"),this._map=t,e=0;e<r.length;e++)r[e].enabled&&this._initModeHandler(r[e].handler,this._toolbarContainer,n++,o,r[e].title);if(n)return this._lastButtonIndex=--n,this._actionsContainer=L.DomUtil.create("ul","leaflet-draw-actions"),i.appendChild(this._toolbarContainer),i.appendChild(this._actionsContainer),i},removeToolbar:function(){for(var t in this._modes)this._modes.hasOwnProperty(t)&&(this._disposeButton(this._modes[t].button,this._modes[t].handler.enable,this._modes[t].handler),this._modes[t].handler.disable(),this._modes[t].handler.off("enabled",this._handlerActivated,this).off("disabled",this._handlerDeactivated,this));this._modes={};for(var e=0,i=this._actionButtons.length;e<i;e++)this._disposeButton(this._actionButtons[e].button,this._actionButtons[e].callback,this);this._actionButtons=[],this._actionsContainer=null},_initModeHandler:function(t,e,i,n,o){var r=t.type;this._modes[r]={},this._modes[r].handler=t,this._modes[r].button=this._createButton({type:r,title:o,className:n+"-"+r,container:e,callback:this._modes[r].handler.enable,context:this._modes[r].handler}),this._modes[r].buttonIndex=i,this._modes[r].handler.on("enabled",this._handlerActivated,this).on("disabled",this._handlerDeactivated,this)},_detectIOS:function(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!r.MSStream},_createButton:function(t){var e=L.DomUtil.create("a",t.className||"",t.container),i=L.DomUtil.create("span","sr-only",t.container);e.href="#",e.appendChild(i),t.title&&(e.title=t.title,i.innerHTML=t.title),t.text&&(e.innerHTML=t.text,i.innerHTML=t.text);var n=this._detectIOS()?"touchstart":"click";return L.DomEvent.on(e,"click",L.DomEvent.stopPropagation).on(e,"mousedown",L.DomEvent.stopPropagation).on(e,"dblclick",L.DomEvent.stopPropagation).on(e,"touchstart",L.DomEvent.stopPropagation).on(e,"click",L.DomEvent.preventDefault).on(e,n,t.callback,t.context),e},_disposeButton:function(t,e){var i=this._detectIOS()?"touchstart":"click";L.DomEvent.off(t,"click",L.DomEvent.stopPropagation).off(t,"mousedown",L.DomEvent.stopPropagation).off(t,"dblclick",L.DomEvent.stopPropagation).off(t,"touchstart",L.DomEvent.stopPropagation).off(t,"click",L.DomEvent.preventDefault).off(t,i,e)},_handlerActivated:function(t){this.disable(),this._activeMode=this._modes[t.handler],L.DomUtil.addClass(this._activeMode.button,"leaflet-draw-toolbar-button-enabled"),this._showActionsToolbar(),this.fire("enable")},_handlerDeactivated:function(){this._hideActionsToolbar(),L.DomUtil.removeClass(this._activeMode.button,"leaflet-draw-toolbar-button-enabled"),this._activeMode=null,this.fire("disable")},_createActions:function(t){var e,i,n,o,r=this._actionsContainer,s=this.getActions(t),a=s.length;for(i=0,n=this._actionButtons.length;i<n;i++)this._disposeButton(this._actionButtons[i].button,this._actionButtons[i].callback);for(this._actionButtons=[];r.firstChild;)r.removeChild(r.firstChild);for(var l=0;l<a;l++)"enabled"in s[l]&&!s[l].enabled||(e=L.DomUtil.create("li","",r),o=this._createButton({title:s[l].title,text:s[l].text,container:e,callback:s[l].callback,context:s[l].context}),this._actionButtons.push({button:o,callback:s[l].callback}))},_showActionsToolbar:function(){var t=this._activeMode.buttonIndex,e=this._lastButtonIndex,i=this._activeMode.button.offsetTop-1;this._createActions(this._activeMode.handler),this._actionsContainer.style.top=i+"px",0===t&&(L.DomUtil.addClass(this._toolbarContainer,"leaflet-draw-toolbar-notop"),L.DomUtil.addClass(this._actionsContainer,"leaflet-draw-actions-top")),t===e&&(L.DomUtil.addClass(this._toolbarContainer,"leaflet-draw-toolbar-nobottom"),L.DomUtil.addClass(this._actionsContainer,"leaflet-draw-actions-bottom")),this._actionsContainer.style.display="block",this._map.fire(L.Draw.Event.TOOLBAROPENED)},_hideActionsToolbar:function(){this._actionsContainer.style.display="none",L.DomUtil.removeClass(this._toolbarContainer,"leaflet-draw-toolbar-notop"),L.DomUtil.removeClass(this._toolbarContainer,"leaflet-draw-toolbar-nobottom"),L.DomUtil.removeClass(this._actionsContainer,"leaflet-draw-actions-top"),L.DomUtil.removeClass(this._actionsContainer,"leaflet-draw-actions-bottom"),this._map.fire(L.Draw.Event.TOOLBARCLOSED)}}),L.Draw=L.Draw||{},L.Draw.Tooltip=L.Class.extend({initialize:function(t){this._map=t,this._popupPane=t._panes.popupPane,this._visible=!1,this._container=t.options.drawControlTooltips?L.DomUtil.create("div","leaflet-draw-tooltip",this._popupPane):null,this._singleLineLabel=!1,this._map.on("mouseout",this._onMouseOut,this)},dispose:function(){this._map.off("mouseout",this._onMouseOut,this),this._container&&(this._popupPane.removeChild(this._container),this._container=null)},updateContent:function(t){return this._container&&(t.subtext=t.subtext||"",0!==t.subtext.length||this._singleLineLabel?0<t.subtext.length&&this._singleLineLabel&&(L.DomUtil.removeClass(this._container,"leaflet-draw-tooltip-single"),this._singleLineLabel=!1):(L.Dom
vendor: 10,373 bytes, line 1
1Util.addClass(this._container,"leaflet-draw-tooltip-single"),this._singleLineLabel=!0),this._container.innerHTML=(0<t.subtext.length?'<span class="leaflet-draw-tooltip-subtext">'+t.subtext+"</span><br />":"")+"<span>"+t.text+"</span>",t.text||t.subtext?(this._visible=!0,this._container.style.visibility="inherit"):(this._visible=!1,this._container.style.visibility="hidden")),this},updatePosition:function(t){var e=this._map.latLngToLayerPoint(t),i=this._container;return this._container&&(this._visible&&(i.style.visibility="inherit"),L.DomUtil.setPosition(i,e)),this},showAsError:function(){return this._container&&L.DomUtil.addClass(this._container,"leaflet-error-draw-tooltip"),this},removeError:function(){return this._container&&L.DomUtil.removeClass(this._container,"leaflet-error-draw-tooltip"),this},_onMouseOut:function(){this._container&&(this._container.style.visibility="hidden")}}),L.DrawToolbar=L.Toolbar.extend({statics:{TYPE:"draw"},options:{polyline:{},polygon:{},rectangle:{},circle:{},marker:{},circlemarker:{}},initialize:function(t){for(var e in this.options)this.options.hasOwnProperty(e)&&t[e]&&(t[e]=L.extend({},this.options[e],t[e]));this._toolbarClass="leaflet-draw-draw",L.Toolbar.prototype.initialize.call(this,t)},getModeHandlers:function(t){return[{enabled:this.options.polyline,handler:new L.Draw.Polyline(t,this.options.polyline),title:L.drawLocal.draw.toolbar.buttons.polyline},{enabled:this.options.polygon,handler:new L.Draw.Polygon(t,this.options.polygon),title:L.drawLocal.draw.toolbar.buttons.polygon},{enabled:this.options.rectangle,handler:new L.Draw.Rectangle(t,this.options.rectangle),title:L.drawLocal.draw.toolbar.buttons.rectangle},{enabled:this.options.circle,handler:new L.Draw.Circle(t,this.options.circle),title:L.drawLocal.draw.toolbar.buttons.circle},{enabled:this.options.marker,handler:new L.Draw.Marker(t,this.options.marker),title:L.drawLocal.draw.toolbar.buttons.marker},{enabled:this.options.circlemarker,handler:new L.Draw.CircleMarker(t,this.options.circlemarker),title:L.drawLocal.draw.toolbar.buttons.circlemarker}]},getActions:function(t){return[{enabled:t.completeShape,title:L.drawLocal.draw.toolbar.finish.title,text:L.drawLocal.draw.toolbar.finish.text,callback:t.completeShape,context:t},{enabled:t.deleteLastVertex,title:L.drawLocal.draw.toolbar.undo.title,text:L.drawLocal.draw.toolbar.undo.text,callback:t.deleteLastVertex,context:t},{title:L.drawLocal.draw.toolbar.actions.title,text:L.drawLocal.draw.toolbar.actions.text,callback:this.disable,context:this}]},setOptions:function(t){for(var e in L.setOptions(this,t),this._modes)this._modes.hasOwnProperty(e)&&t.hasOwnProperty(e)&&this._modes[e].handler.setOptions(t[e])}}),L.EditToolbar=L.Toolbar.extend({statics:{TYPE:"edit"},options:{edit:{selectedPathOptions:{dashArray:"10, 10",fill:!0,fillColor:"#fe57a1",fillOpacity:.1,maintainColor:!1}},remove:{},poly:null,featureGroup:null},initialize:function(t){t.edit&&(void 0===t.edit.selectedPathOptions&&(t.edit.selectedPathOptions=this.options.edit.selectedPathOptions),t.edit.selectedPathOptions=L.extend({},this.options.edit.selectedPathOptions,t.edit.selectedPathOptions)),t.remove&&(t.remove=L.extend({},this.options.remove,t.remove)),t.poly&&(t.poly=L.extend({},this.options.poly,t.poly)),this._toolbarClass="leaflet-draw-edit",L.Toolbar.prototype.initialize.call(this,t),this._selectedFeatureCount=0},getModeHandlers:function(t){var e=this.options.featureGroup;return[{enabled:this.options.edit,handler:new L.EditToolbar.Edit(t,{featureGroup:e,selectedPathOptions:this.options.edit.selectedPathOptions,poly:this.options.poly}),title:L.drawLocal.edit.toolbar.buttons.edit},{enabled:this.options.remove,handler:new L.EditToolbar.Delete(t,{featureGroup:e}),title:L.drawLocal.edit.toolbar.buttons.remove}]},getActions:function(t){var e=[{title:L.drawLocal.edit.toolbar.actions.save.title,text:L.drawLocal.edit.toolbar.actions.save.text,callback:this._save,context:this},{title:L.drawLocal.edit.toolbar.actions.cancel.title,text:L.drawLocal.edit.toolbar.actions.cancel.text,callback:this.disable,context:this}];return t.removeAllLayers&&e.push({title:L.drawLocal.edit.toolbar.actions.clearAll.title,text:L.drawLocal.edit.toolbar.actions.clearAll.text,callback:this._clearAllLayers,context:this}),e},addToolbar:function(t){var e=L.Toolbar.prototype.addToolbar.call(this,t);return this._checkDisabled(),this.options.featureGroup.on("layeradd layerremove",this._checkDisabled,this),e},removeToolbar:function(){this.options.featureGroup.off("layeradd layerremove",this._checkDisabled,this),L.Toolbar.prototype.removeToolbar.call(this)},disable:function(){this.enabled()&&(this._activeMode.handler.revertLayers(),L.Toolbar.prototype.disable.call(this))},_save:function(){this._activeMode.handler.save(),this._activeMode&&this._activeMode.handler.disable()},_clearAllLayers:function(){this._activeMode.handler.removeAllLayers(),this._activeMode&&this._activeMode.handler.disable()},_checkDisabled:function(){var t,e=0!==this.options.featureGroup.getLayers().length;this.options.edit&&(t=this._modes[L.EditToolbar.Edit.TYPE].button,e?L.DomUtil.removeClass(t,"leaflet-disabled"):L.DomUtil.addClass(t,"leaflet-disabled"),t.setAttribute("title",e?L.drawLocal.edit.toolbar.buttons.edit:L.drawLocal.edit.toolbar.buttons.editDisabled)),this.options.remove&&(t=this._modes[L.EditToolbar.Delete.TYPE].button,e?L.DomUtil.removeClass(t,"leaflet-disabled"):L.DomUtil.addClass(t,"leaflet-disabled"),t.setAttribute("title",e?L.drawLocal.edit.toolbar.buttons.remove:L.drawLocal.edit.toolbar.buttons.removeDisabled))}}),L.EditToolbar.Edit=L.Handler.extend({statics:{TYPE:"edit"},initialize:function(t,e){if(L.Handler.prototype.initialize.call(this,t),L.setOptions(this,e),this._featureGroup=e.featureGroup,!(this._featureGroup instanceof L.FeatureGroup))throw new Error("options.featureGroup must be a L.FeatureGroup");this._uneditedLayerProps={},this.type=L.EditToolbar.Edit.TYPE;var i=L.version.split(".");1===parseInt(i[0],10)&&2<=parseInt(i[1],10)?L.EditToolbar.Edit.include(L.Evented.prototype):L.EditToolbar.Edit.include(L.Mixin.Events)},enable:function(){!this._enabled&&this._hasAvailableLayers()&&(this.fire("enabled",{handler:this.type}),this._map.fire(L.Draw.Event.EDITSTART,{handler:this.type}),L.Handler.prototype.enable.call(this),this._featureGroup.on("layeradd",this._enableLayerEdit,this).on("layerremove",this._disableLayerEdit,this))},disable:function(){this._enabled&&(this._featureGroup.off("layeradd",this._enableLayerEdit,this).off("layerremove",this._disableLayerEdit,this),L.Handler.prototype.disable.call(this),this._map.fire(L.Draw.Event.EDITSTOP,{handler:this.type}),this.fire("disabled",{handler:this.type}))},addHooks:function(){var t=this._map;t&&(t.getContainer().focus(),this._featureGroup.eachLayer(this._enableLayerEdit,this),this._tooltip=new L.Draw.Tooltip(this._map),this._tooltip.updateContent({text:L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.edit.handlers.edit.tooltip.subtext}),t._editTooltip=this._tooltip,this._updateTooltip(),this._map.on("mousemove",this._onMouseMove,this).on("touchmove",this._onMouseMove,this).on("MSPointerMove",this._onMouseMove,this).on(L.Draw.Event.EDITVERTEX,this._updateTooltip,this))},removeHooks:function(){this._map&&(this._featureGroup.eachLayer(this._disableLayerEdit,this),this._uneditedLayerProps={},this._tooltip.dispose(),this._tooltip=null,this._map.off("mousemove",this._onMouseMove,this).off("touchmove",this._onMouseMove,this).off("MSPointerMove",this._onMouseMove,this).off(L.Draw.Event.EDITVERTEX,this._updateTooltip,this))},revertLayers:function(){this._featureGroup.eachLayer(function(t){this._revertLayer(t)},this)},save:function(){var e=new L.LayerGroup;this._featureGroup.eachLayer(function(t){t.edited&&(e.addLayer(t),t.edited=!1)}),this._map.fire(L.Draw.Event.EDITED,{layers:e})},_backupLayer:function(t){var e=L.Util.stamp(t);this._uneditedLayerProps[e]||(t instanceof L.Polyline||t instanceof L.Polygon||t instanceof L.Rectangle?this._uneditedLayerProps[e]={latlngs:L.LatLngUtil.cloneLatLngs(t.getLatLngs())}:t instanceof L.Circle?this._uneditedLayerProps[e]={latlng:L.LatLngUtil.cloneLatLng(t.getLatLng()),radius:t.getRadius()}:(t instanceof L.Marker||t instanceof L.CircleMarker)&&(this._uneditedLayerProps[e]={latlng:L.LatLngUtil.cloneLatLng(t.getLatLng())}))},_getTooltipText:function(){return{text:L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.edit.handlers.edit.tooltip.subtext}},_updateTooltip:function(){this._tooltip.updateContent(this._getTooltipText())},_revertLayer:function(t){var e=L.Util.stamp(t);t.edited=!1,this._uneditedLayerProps.hasOwnProperty(e)&&(t instanceof L.Polyline||t instanceof L.Polygon||t instanceof L.Rectangle?t.setLatLngs(this._uneditedLayerProps[e].latlngs):t instanceof L.Circle?(t.setLatLng(this._uneditedLayerProps[e].latlng),t.setRadius(this._uneditedLayerProps[e].radius)):(t instanceof L.Marker||t instanceof L.CircleMarker)&&t.setLatLng(this._uneditedLayerProps[e].latlng),t.fire("revert-edited",{layer:t}))},_enableLayerEdit:function(t){var e,i,n=t.layer||t.target||t;this._backupLayer(n),this.options.poly&&(i=L.Util.extend({},this.options.poly),n.options.poly=i),this.options.selectedPathOptions&&((e=L.Util.extend({},this.options.selectedPathOptions)).maintainColor&&(e.color=n.options.color,e.fillColor=n.options.fillColor),n.options.original=L.extend({},n.options),n.options.editing=e),n instanceof L.Marker?(n.editing&&n.editing.enable(),n.dragging.enable(),n.on("dragend",this._onMarkerDragEnd).on("touchmove",this._onTouchMove,this).on("MSPointerMove",this._onTouchMove,this).on("touchend",this._onMarkerDragEnd,this).on("MSPointerUp",this._onMarkerDragEnd,this)):n.editing.enable()},_disableLayerEdit:function(t){var e=t.layer||t.target||t;e.edited=!1,e.editing&&e.editing.disable(),delete e.options.editing,delete e.options.original,this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e):(e.setStyle(e.options.previousOptions),delete e.options.previousOptions)),e instanceof L.Marker?(e.dragging.disable(),e.off("dragend",this._onMarkerDragEnd,this).off("touchmove",this._onTouchMove,this).off("MSPointerMove",this._onTouchMove,this).off("touchend",this._onMarkerDragEnd,this).off("MSPointerUp",this._onMarkerDragEnd,this)):e.editing.disable()},_onMouseMove:function(t){this._tooltip.updatePosition(t.latlng)}
1,_onMarkerDragEnd:function(t){var e=t.target;e.edited=!0,this._map.fire(L.Draw.Event.EDITMOVE,{layer:e})},_onTouchMove:function(t){var e=t.originalEvent.changedTouches[0],i=this._map.mouseEventToLayerPoint(e),n=this._map.layerPointToLatLng(i);t.target.setLatLng(n)},_hasAvailableLayers:function(){return 0!==this._featureGroup.getLayers().length}}),L.EditToolbar.Delete=L.Handler.extend({statics:{TYPE:"remove"},initialize:function(t,e){if(L.Handler.prototype.initialize.call(this,t),L.Util.setOptions(this,e),this._deletableLayers=this.options.featureGroup,!(this._deletableLayers instanceof L.FeatureGroup))throw new Error("options.featureGroup must be a L.FeatureGroup");this.type=L.EditToolbar.Delete.TYPE;var i=L.version.split(".");1===parseInt(i[0],10)&&2<=parseInt(i[1],10)?L.EditToolbar.Delete.include(L.Evented.prototype):L.EditToolbar.Delete.include(L.Mixin.Events)},enable:function(){!this._enabled&&this._hasAvailableLayers()&&(this.fire("enabled",{handler:this.type}),this._map.fire(L.Draw.Event.DELETESTART,{handler:this.type}),L.Handler.prototype.enable.call(this),this._deletableLayers.on("layeradd",this._enableLayerDelete,this).on("layerremove",this._disableLayerDelete,this))},disable:function(){this._enabled&&(this._deletableLayers.off("layeradd",this._enableLayerDelete,this).off("layerremove",this._disableLayerDelete,this),L.Handler.prototype.disable.call(this),this._map.fire(L.Draw.Event.DELETESTOP,{handler:this.type}),this.fire("disabled",{handler:this.type}))},addHooks:function(){var t=this._map;t&&(t.getContainer().focus(),this._deletableLayers.eachLayer(this._enableLayerDelete,this),this._deletedLayers=new L.LayerGroup,this._tooltip=new L.Draw.Tooltip(this._map),this._tooltip.updateContent({text:L.drawLocal.edit.handlers.remove.tooltip.text}),this._map.on("mousemove",this._onMouseMove,this))},removeHooks:function(){this._map&&(this._deletableLayers.eachLayer(this._disableLayerDelete,this),this._deletedLayers=null,this._tooltip.dispose(),this._tooltip=null,this._map.off("mousemove",this._onMouseMove,this))},revertLayers:function(){this._deletedLayers.eachLayer(function(t){this._deletableLayers.addLayer(t),t.fire("revert-deleted",{layer:t})},this)},save:function(){this._map.fire(L.Draw.Event.DELETED,{layers:this._deletedLayers})},removeAllLayers:function(){this._deletableLayers.eachLayer(function(t){this._removeLayer({layer:t})},this),this.save()},_enableLayerDelete:function(t){(t.layer||t.target||t).on("click",this._removeLayer,this)},_disableLayerDelete:function(t){var e=t.layer||t.target||t;e.off("click",this._removeLayer,this),this._deletedLayers.removeLayer(e)},_removeLayer:function(t){var e=t.layer||t.target||t;this._deletableLayers.removeLayer(e),this._deletedLayers.addLayer(e),e.fire("deleted")},_onMouseMove:function(t){this._tooltip.updatePosition(t.latlng)},_hasAvailableLayers:function(){return 0!==this._deletableLayers.getLayers().length}})}(window,document),L.Control.Sidebar=L.Control.extend({includes:L.Mixin.Events,options:{closeButton:!0,position:"left",autoPan:!0},initialize:function(t,e){L.setOptions(this,e);var i=this._contentContainer=L.DomUtil.get(t);i.parentNode.removeChild(i);var n=this._container=L.DomUtil.create("div","leaflet-sidebar "+this.options.position);L.DomUtil.addClass(i,"leaflet-control"),n.appendChild(i),this.options.closeButton&&((this._closeButton=L.DomUtil.create("a","close",n)).innerHTML="&times;")},addTo:function(t){var e=this._container,i=this._contentContainer;if(this.options.closeButton){var n=this._closeButton;L.DomEvent.on(n,"click",this.hide,this)}L.DomEvent.on(e,"transitionend",this._handleTransitionEvent,this).on(e,"webkitTransitionEnd",this._handleTransitionEvent,this);var o=t._controlContainer;o.insertBefore(e,o.firstChild),this._map=t;var r=L.DomEvent.stopPropagation,s=L.DomEvent._fakeStop||r;return L.DomEvent.on(i,"contextmenu",r).on(i,"click",s).on(i,"mousedown",r).on(i,"touchstart",r).on(i,"dblclick",s).on(i,"mousewheel",r).on(i,"MozMousePixelScroll",r),this},removeFrom:function(t){this.hide();var e=this._container,i=this._contentContainer;t._controlContainer.removeChild(e),this._map=null;var n=L.DomEvent.stopPropagation,o=L.DomEvent._fakeStop||n;if(L.DomEvent.off(i,"contextmenu",n).off(i,"click",o).off(i,"mousedown",n).off(i,"touchstart",n).off(i,"dblclick",o).off(i,"mousewheel",n).off(i,"MozMousePixelScroll",n),L.DomEvent.off(e,"transitionend",this._handleTransitionEvent,this).off(e,"webkitTransitionEnd",this._handleTransitionEvent,this),this._closeButton&&this._close){var r=this._closeButton;L.DomEvent.off(r,"click",this.hide,this)}return this},isVisible:function(){return L.DomUtil.hasClass(this._container,"visible")},show:function(){if(!this.isVisible()){if(L.DomUtil.addClass(this._container,"visible"),this.options.autoPan){var t=[-this.getOffset()/2,0];"bottom"===this.options.position&&(t=[0,-this.getOffset()/2.5]),this._map.panBy(t,{duration:.5})}this.fire("show")}},hide:function(t){if(this.isVisible()){if(L.DomUtil.removeClass(this._container,"visible"),this.options.autoPan){var e=[this.getOffset()/2,0];"bottom"===this.options.position&&(e=[0,this.getOffset()/2.5]),this._map.panBy(e,{duration:.5})}this.fire("hide")}t&&L.DomEvent.stopPropagation(t)},toggle:function(){this.isVisible()?this.hide():this.show()},getContainer:function(){return this._contentContainer},getCloseButton:function(){return this._closeButton},setContent:function(t){var e=this.getContainer();if("string"==typeof t)e.innerHTML=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(t)}return this},getOffset:function(){return"right"===this.options.position?-this._container.offsetWidth:"left"===this.options.position?this._container.offsetWidth:-this._container.offsetHeight},_handleTransitionEvent:function(t){"left"!=t.propertyName&&"right"!=t.propertyName&&"bottom"!=t.propertyName||this.fire(this.isVisible()?"shown":"hidden")}}),L.control.sidebar=function(t,e){return new L.Control.Sidebar(t,e)},"undefined"==typeof jQuery)throw new Error("Tempus Dominus Bootstrap4's requires jQuery. jQuery must be included before Tempus Dominus Bootstrap4's JavaScript.");if(function(){var t=jQuery.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||4<=t[0])throw new Error("Tempus Dominus Bootstrap4's requires at least jQuery v3.0.0 but less than v4.0.0")}(),"undefined"==typeof moment)throw new Error("Tempus Dominus Bootstrap4's requires moment.js. Moment.js must be included before Tempus Dominus Bootstrap4's JavaScript.");var version=moment.version.split(".");if(version[0]<=2&&version[1]<17||3<=version[0])throw new Error("Tempus Dominus Bootstrap4's requires at least moment.js v2.17.0 but less than v3.0.0");!function(){var o="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}
vendor: 21,813 bytes, line 1
1,t=function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t};function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var s,i,e,a,l,h,u,c,d,f,p,_,m,g,T=(s=jQuery,i=moment,h={DATA_TOGGLE:'[data-toggle="'+(a=e="datetimepicker")+'"]'},u={INPUT:e+"-input"},c={CHANGE:"change"+(l="."+a),BLUR:"blur"+l,KEYUP:"keyup"+l,KEYDOWN:"keydown"+l,FOCUS:"focus"+l,CLICK_DATA_API:"click"+l+".data-api",UPDATE:"update"+l,ERROR:"error"+l,HIDE:"hide"+l,SHOW:"show"+l},d=[{CLASS_NAME:"days",NAV_FUNCTION:"M",NAV_STEP:1},{CLASS_NAME:"months",NAV_FUNCTION:"y",NAV_STEP:1},{CLASS_NAME:"years",NAV_FUNCTION:"y",NAV_STEP:10},{CLASS_NAME:"decades",NAV_FUNCTION:"y",NAV_STEP:100}],g={timeZone:"",format:!(m={}),dayViewHeaderFormat:"MMMM YYYY",extraFormats:!(_={}),stepping:1,minDate:!(p=["times","days","months","years","decades"]),maxDate:!(f={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"}),useCurrent:!0,collapse:!0,locale:i.locale(),defaultDate:!1,disabledDates:!1,enabledDates:!1,icons:{time:"fa fa-clock-o",date:"fa fa-calendar",up:"fa fa-arrow-up",down:"fa fa-arrow-down",previous:"fa fa-chevron-left",next:"fa fa-chevron-right",today:"fa fa-calendar-check-o",clear:"fa fa-delete",close:"fa fa-times"},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",selectDate:"Select Date"},useStrict:!1,sideBySide:!1,daysOfWeekDisabled:!1,calendarWeeks:!1,viewMode:"days",toolbarPlacement:"default",buttons:{showToday:!1,showClear:!1,showClose:!1},widgetPositioning:{horizontal:"auto",vertical:"auto"},widgetParent:null,ignoreReadonly:!1,keepOpen:!1,focusOnShow:!0,inline:!1,keepInvalid:!1,keyBinds:{up:function(){if(!this.widget)return!1;var t=this._dates[0]||this.getMoment();return this.widget.find(".datepicker").is(":visible")?this.date(t.clone().subtract(7,"d")):this.date(t.clone().add(this.stepping(),"m")),!0},down:function(){if(!this.widget)return this.show(),!1;var t=this._dates[0]||this.getMoment();return this.widget.find(".datepicker").is(":visible")?this.date(t.clone().add(7,"d")):this.date(t.clone().subtract(this.stepping(),"m")),!0},"control up":function(){if(!this.widget)return!1;var t=this._dates[0]||this.getMoment();return this.widget.find(".datepicker").is(":visible")?this.date(t.clone().subtract(1,"y")):this.date(t.clone().add(1,"h")),!0},"control down":function(){if(!this.widget)return!1;var t=this._dates[0]||this.getMoment();return this.widget.find(".datepicker").is(":visible")?this.date(t.clone().add(1,"y")):this.date(t.clone().subtract(1,"h")),!0},left:function(){if(!this.widget)return!1;var t=this._dates[0]||this.getMoment();return this.widget.find(".datepicker").is(":visible")&&this.date(t.clone().subtract(1,"d")),!0},right:function(){if(!this.widget)return!1;var t=this._dates[0]||this.getMoment();return this.widget.find(".datepicker").is(":visible")&&this.date(t.clone().add(1,"d")),!0},pageUp:function(){if(!this.widget)return!1;var t=this._dates[0]||this.getMoment();return this.widget.find(".datepicker").is(":visible")&&this.date(t.clone().subtract(1,"M")),!0},pageDown:function(){if(!this.widget)return!1;var t=this._dates[0]||this.getMoment();return this.widget.find(".datepicker").is(":visible")&&this.date(t.clone().add(1,"M")),!0},enter:function(){return!!this.widget&&(this.hide(),!0)},escape:function(){return!!this.widget&&(this.hide(),!0)},"control space":function(){return!!this.widget&&(this.widget.find(".timepicker").is(":visible")&&this.widget.find('.btn[data-action="togglePeriod"]').click(),!0)},t:function(){return!!this.widget&&(this.date(this.getMoment()),!0)},delete:function(){return!!this.widget&&(this.clear(),!0)}},debug:!1,allowInputToggle:!1,disabledTimeIntervals:!1,disabledHours:!1,enabledHours:!1,viewDate:!1,allowMultidate:!1,multidateSeparator:","},v.prototype._int=function(){var t=this._element.data("target-input");this._element.is("input")?this.input=this._element:void 0!==t&&(this.input="nearest"===t?this._element.find("input"):s(t)),this._dates=[],this._dates[0]=this.getMoment(),this._viewDate=this.getMoment().clone(),s.extend(!0,this._options,this._dataToOptions()),this.options(this._options),this._initFormatting(),void 0!==this.input&&this.input.is("input")&&0!==this.input.val().trim().length?this._setValue(this._parseInputDate(this.input.val().trim()),0):this._options.defaultDate&&void 0!==this.input&&void 0===this.input.attr("placeholder")&&this._setValue(this._options.defaultDate,0),this._options.inline&&this.show()},v.prototype._update=function(){this.widget&&(this._fillDate(),this._fillTime())},v.prototype._setValue=function(t,e){var i=this.unset?null:this._dates[e],n="";if(!t)return this._options.allowMultidate&&1!==this._dates.length?(n=(n=this._element.data("date")+",").replace(i.format(this.actualFormat)+",","").replace(",,","").replace(/,\s*$/,""),this._dates.splice(e,1),this._datesFormatted.splice(e,1)):(this.unset=!0,this._dates=[],this._datesFormatted=[]),void 0!==this.input&&(this.input.val(n),this.input.trigger("input")),this._element.data("date",n),this._notifyEvent({type:v.Event.CHANGE,date:!1,oldDate:i}),void this._update();if(t=t.clone().locale(this._options.locale),this._hasTimeZone()&&t.tz(this._options.timeZone),1!==this._options.stepping&&t.minutes(Math.round(t.minutes()/this._options.stepping)*this._options.stepping).seconds(0),this._isValid(t)){if(this._dates[e]=t,this._datesFormatted[e]=t.format("YYYY-MM-DD"),this._viewDate=t.clone(),this._options.allowMultidate&&1<this._dates.length){for(var o=0;o<this._dates.length;o++)n+=""+this._dates[o].format(this.actualFormat)+this._options.multidateSeparator;n=n.replace(/,\s*$/,"")}else n=this._dates[e].format(this.actualFormat);void 0!==this.input&&(this.input.val(n),this.input.trigger("input")),this._element.data("date",n),this.unset=!1,this._update(),this._notifyEvent({type:v.Event.CHANGE,date:this._dates[e].clone(),oldDate:i})}else this._options.keepInvalid?this._notifyEvent({type:v.Event.CHANGE,date:t,oldDate:i}):void 0!==this.input&&(this.input.val(""+(this.unset?"":this._dates[e].format(this.actualFormat))),this.input.trigger("input")),this._notifyEvent({type:v.Event.ERROR,date:t,oldDate:i})},v.prototype._change=function(t){var e=s(t.target).val().trim(),i=e?this._parseInputDate(e):null;return this._setValue(i),t.stopImmediatePropagation(),!1},v.prototype._getOptions=function(t){return t=s.extend(!0,{},g,t)},v.prototype._hasTimeZone=function(){return void 0!==i.tz&&void 0!==this._options.timeZone&&null!==this._options.timeZone&&""!==this._options.timeZone},v.prototype._isEnabled=function(t){if("string"!=typeof t||1<t.length)throw new TypeError("isEnabled expects a single character string parameter");switch(t){case"y":return-1!==this.actualFormat.indexOf("Y");case"M":return-1!==this.actualFormat.indexOf("M");case"d":return-1!==this.actualFormat.toLowerCase().indexOf("d");case"h":case"H":return-1!==this.actualFormat.toLowerCase().indexOf("h");case"m":return-1!==this.actualFormat.indexOf("m");case"s":return-1!==this.actualFormat.indexOf("s");case"a":case"A":return-1!==this.actualFormat.toLowerCase().indexOf("a");default:return!1}},v.prototype._hasTime=function(){return this._isEnabled("h")||this._isEnabled("m")||this._isEnabled("s")},v.prototype._hasDate=function(){return this._isEnabled("y")||this._isEnabled("M")||this._isEnabled("d")},v.prototype._dataToOptions=function(){var i=this._element.data(),n={};return i.dateOptions&&i.dateOptions instanceof Object&&(n=s.extend(!0,n,i.dateOptions)),s.each(this._options,function(t){var e="date"+t.charAt(0).toUpperCase()+t.slice(1);void 0!==i[e]?n[t]=i[e]:delete n[t]}),n},v.prototype._notifyEvent=function(t){t.type===v.Event.CHANGE&&(t.date&&t.date.isSame(t.oldDate)||!t.date&&!t.oldDate)||this._element.trigger(t)},v.prototype._viewUpdate=function(t){"y"===t&&(t="YYYY"),this._notifyEvent({type:v.Event.UPDATE,change:t,viewDate:this._viewDate.clone()})},v.prototype._showMode=function(t){this.widget&&(t&&(this.currentViewMode=Math.max(this.MinViewModeNumber,Math.min(3,this.currentViewMode+t))),this.widget.find(".datepicker > div").hide().filter(".datepicker-"+d[this.currentViewMode].CLASS_NAME).show())},v.prototype._isInDisabledDates=function(t){return!0===this._options.disabledDates[t.format("YYYY-MM-DD")]},v.prototype._isInEnabledDates=function(t){return!0===this._options.enabledDates[t.format("YYYY-MM-DD")]},v.prototype._isInDisabledHours=function(t){return!0===this._options.disabledHours[t.format("H")]},v.prototype._isInEnabledHours=function(t){return!0===this._options.enabledHours[t.format("H")]},v.prototype._isValid=function(t,e){if(!t.isValid())return!1;if(this._options.disabledDates&&"d"===e&&this._isInDisabledDates(t))return!1;if(this._options.enabledDates&&"d"===e&&!this._isInEnabledDates(t))return!1;if(this._options.minDate&&t.isBefore(this._options.minDate,e))return!1;if(this._options.maxDate&&t.isAfter(this._options.maxDate,e))return!1;if(this._options.daysOfWeekDisabled&&"d"===e&&-1!==this._options.daysOfWeekDisabled.indexOf(t.day()))return!1;if(this._options.disabledHours&&("h"===e||"m"===e||"s"===e)&&this._isInDisabledHours(t))return!1;if(this._options.enabledHours&&("h"===e||"m"===e||"s"===e)&&!this._isInEnabledHours(t))return!1;if(this._options.disabledTimeIntervals&&("h"===e||"m"===e||"s"===e)){var i=!1;if(s.each(this._options.disabledTimeIntervals,function(){if(t.isBetween(this[0],this[1]))return!(i=!0)}),i)return!1}return!0},v.prototype._parseInputDate=function(t){return void 0===this._options.parseInputDate?i.isMoment(t)||(t=this.getMoment(t)):t=this._options.parseInputDate(t),t},v.prototype._keydown=function(t){var e=null,i=void 0,n=void 0,o=void 0,r=void 0,s=[],a={},l=t.which;for(i in _[l]="p",_)_.hasOwnProperty(i)&&"p"===_[i]&&(s.push(i),parseInt(i,10)!==l&&(a[i]=!0));for(i in this._options.keyBinds)if(this._options.keyBinds.hasOwnProperty(i)&&"function"==typeof this._options.keyBinds[i]&&(o=i.split(" ")).length===s.length&&f[l]===o[o.length-1]){for(r=!0,n=o.length-2;0<=n;n--)if(!(f[o[n]]in a)){r=!1;break}if(r){e=this._options.keyBinds[i];break}}e&&e.call(this)&&(t.stopPropagation(),t.preventDefault())},v.prototype._keyup=function(t){_[t.which]="r",m[t.which]&&(m[t.which]=!1,t.stopPropagation(),t.preventDefault())},v.prototype._indexGivenDates=function(t){var e={},i=this;return s.each(t,function(){var t=i._parseInputDate(this);t.isValid()&&(e[t.format("YYYY-MM-DD")]=!0)}),!!Object.keys(e).length&&e},v.prototype._indexGivenHours=function(t){var e={};return s.each(t,function(){e[this]=!0}),!!Object.keys(e).length&&e},v.prototype._initFormatting=function(){var t=this._options.format||"L LT",e=this;this.actualFormat=t.replace(/(\[[^\[]*])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(t){return e._dates[0].localeData().longDateFormat(t)||t}),this.parseFormats=this._options.extraFormats?this._options.extraFormats.slice():[],this.parseFormats.indexOf(t)<0&&this.parseFormats.indexOf(this.actualFormat)<0&&this.parseFormats.push(this.actualFormat),this.use24Hours=this.actualFormat.toLowerCase().indexOf("a")<1&&this.actualFormat.replace(/\[.*?]/g,"").indexOf("h")<1,this._isEnabled("y")&&(this.MinViewModeNumber=2),this._isEnabled("M")&&(this.MinViewModeNumber=1),this._isEnabled("d")&&(this.MinViewModeNumber=0),this.currentViewMode=Math.max(this.MinViewModeNumber,this.currentViewMode),this.unset||this._setValue(this._dates[0],0)},v.prototype._getLastPickedDate=function(){return this._dates[this._getLastPickedDateIndex()]},v.prototype._getLastPickedDateIndex=function(){return this._dates.length-1},v.prototype.getMoment=function(t){var e=void 0;return e=null==t?i():this._hasTimeZone()?i.tz(t,this.parseFormats,this._options.locale,this._options.useStrict,this._options.timeZone):i(t,this.parseFormats,this._options.locale,this._options.useStrict),this._hasTimeZone()&&e.tz(this._options.timeZone),e},v.prototype.toggle=function(){return this.widget?this.hide():this.show()},v.prototype.ignoreReadonly=function(t){if(0===arguments.length)return this._options.ignoreReadonly;if("boolean"!=typeof t)throw new TypeError("ignoreReadonly () expects a boolean parameter");this._options.ignoreReadonly=t},v.prototype.options=function(t){if(0===arguments.length)return s.extend(!0,{},this._options);if(!(t instanceof Object))throw new TypeError("options() this.options parameter should be an object");s.extend(!0,this._options,t);var i=this;s.each(this._options,function(t,e){void 0!==i[t]&&i[t](e)})},v.prototype.date=function(t,e){if(e=e||0,0===arguments.length)return this.unset?null:this._options.allowMultidate?this._dates.join(this._options.multidateSeparator):this._dates[e].clone();if(!(null===t||"string"==typeof t||i.isMoment(t)||t instanceof Date))throw new TypeError("date() parameter must be one of [null, string, moment or Date]");this._setValue(null===t?null:this._parseInputDate(t),e)},v.prototype.format=function(t){if(0===arguments.length)return this._options.format;if("string"!=typeof t&&("boolean"!=typeof t||!1!==t))throw new TypeError("format() expects a string or boolean:false parameter "+t);this._options.format=t,this.actualFormat&&this._initFormatting()},v.prototype.timeZone=function(t){if(0===arguments.length)return this._options.timeZone;if("string"!=typeof t)throw new TypeError("newZone() expects a string parameter");this._options.timeZone=t},v.prototype.dayViewHeaderFormat=function(t){if(0===arguments.length)return this._options.dayViewHeaderFormat;if("string"!=typeof t)throw new TypeError("dayViewHeaderFormat() expects a string parameter");this._options.dayViewHeaderFormat=t},v.prototype.extraFormats=function(t){if(0===arguments.length)return this._options.extraFormats;if(!1!==t&&!(t instanceof Array))throw new TypeError("extraFormats() expects an array or false parameter");this._options.extraFormats=t,this.parseFormats&&this._initFormatting()},v.prototype.disabledDates=function(t){if(0===arguments.length)return this._options.disabledDates?s.extend({},this._options.disabledDates):this._options.disabledDates;if(!t)return this._options.disabledDates=!1,this._update(),!0;if(!(t instanceof Array))throw new TypeError("disabledDates() expects an array parameter");this._options.disabledDates=this._indexGivenDates(t),this._options.enabledDates=!1,this._update()},v.prototype.enabledDates=function(t){if(0===arguments.length)return this._options.enabledDates?s.extend({},this._options.enabledDates):this._options.enabledDates;if(!t)return this._options.enabledDates=!1,this._update(),!0;if(!(t instanceof Array))throw new TypeError("enabledDates() expects an array parameter");this._options.enabledDates=this._indexGivenDates(t),this._options.disabledDates=!1,this._update()},v.prototype.daysOfWeekDisabled=function(t){if(0===arguments.length)return this._options.daysOfWeekDisabled.splice(0);if("boolean"==typeof t&&!t)return this._options.daysOfWeekDisabled=!1,this._update(),!0;if(!(t instanceof Array))throw new TypeError("daysOfWeekDisabled() expects an array parameter");if(this._options.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(),this._options.useCurrent&&!this._options.keepInvalid)for(var e=0;e<this._dates.length;e++){for(var i=0;!this._isValid(this._dates[e],"d");){if(this._dates[e].add(1,"d"),31===i)throw"Tried 31 times to find a valid date";i++}this._setValue(this._dates[e],e)}this._update()},v.prototype.maxDate=function(t){if(0===arguments.length)return this._options.maxDate?this._options.maxDate.clone():this._options.maxDate;if("boolean"==typeof t&&!1===t)return this._options.maxDate=!1,this._update(),!0;"string"==typeof t&&("now"!==t&&"moment"!==t||(t=this.getMoment()));var e=this._parseInputDate(t);if(!e.isValid())throw new TypeError("maxDate() Could not parse date parameter: "+t);if(this._options.minDate&&e.isBefore(this._options.minDate))throw new TypeError("maxDate() date parameter is before this.options.minDate: "+e.format(this.actualFormat));this._options.maxDate=e;for(var i=0;i<this._dates.length;i++)this._options.useCurrent&&!this._options.keepInvalid&&this._dates[i].isAfter(t)&&this._setValue(this._options.maxDate,i);this._viewDate.isAfter(e)&&(this._viewDate=e.clone().subtract(this._options.stepping,"m")),this._update()},v.prototype.minDate=function(t){if(0===arguments.length)return this._options.minDate?this._options.minDate.clone():this._options.minDate;if("boolean"==typeof t&&!1===t)return this._options.minDate=!1,this._update(),!0;"string"==typeof t&&("now"!==t&&"moment"!==t||(t=this.getMoment()));var e=this._parseInputDate(t);if(!e.isValid())throw new TypeError("minDate() Could not parse date parameter: "+t);if(this._options.maxDate&&e.isAfter(this._options.maxDate))throw new TypeError("minDate() date parameter is after this.options.maxDate: "+e.format(this.actualFormat));this._options.minDate=e;for(var i=0;i<this._dates.length;i++)this._options.useCurrent&&!this._options.keepInvalid&&this._dates[i].isBefore(t)&&this._setValue(this._options.minDate,i);this._viewDate.isBefore(e)&&(this._viewDate=e.clone().add(this._options.stepping,"m")),this._update()},v.prototype.defaultDate=function(t){if(0===arguments.length)return this._options.defaultDate?this._options.defaultDate.clone():this._options.defaultDate;if(!t)return!(this._options.defaultDate=!1);"string"==typeof t&&(t="now"===t||"moment"===t?this.getMoment():this.getMoment(t));var e=this._parseInputDate(t);if(!e.isValid())throw new TypeError("defaultDate() Could not parse date parameter: "+t);if(!this._isValid(e))throw new TypeError("defaultDate() date passed is invalid according to component setup validations");this._options.defaultDate=e,(this._options.defaultDate&&this._options.inline||void 0!==this.input&&""===this.input.val().trim())&&this._setValue(this._options.defaultDate,0)},v.prototype.locale=function(t){if(0===arguments.length)return this._options.locale;if(!i.localeData(t))throw new TypeError("locale() locale "+t+" is not loaded from moment locales!");this._options.locale=t;for(var e=0;e<this._dates.length;e++)this._dates[e].locale(this._options.locale);this._viewDate.locale(this._options.locale),this.actualFormat&&this._initFormatting(),this.widget&&(this.hide(),this.show())},v.prototype.stepping=function(t){if(0===arguments.length)return this._options.stepping;t=parseInt(t,10),(isNaN(t)||t<1)&&(t=1),this._options.stepping=t},v.prototype.useCurrent=function(t){var e=["year","month","day","hour","minute"];if(0===arguments.length)return this._options.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(", "));this._options.useCurrent=t},v.prototype.collapse=function(t){if(0===arguments.length)return this._options.collapse;if("boolean"!=typeof t)throw new TypeError("collapse() expects a boolean parameter");if(this._options.collapse===t)return!0;this._options.collapse=t,this.widget&&(this.hide(),this.show())},v.prototype.icons=function(t){if(0===arguments.length)return s.extend({},this._options.icons);if(!(t instanceof Object))throw new TypeError("icons() expects parameter to be an Object");s.extend(this._options.icons,t),this.widget&&(this.hide(),this.show())},v.prototype.tooltips=function(t){if(0===arguments.length)return s.extend({},this._options.tooltips);if(!(t instanceof Object))throw new TypeError("tooltips() expects parameter to be an Object");s.extend(this._options.tooltips,t),this.widget&&(this.hide(),this.show())},v.prototype.useStrict=function(t){if(0===arguments.length)return this._options.useStrict;if("boolean"!=typeof t)throw new TypeError("useStrict() expects a boolean parameter");this._options.useStrict=t},v.prototype.sideBySide=function(t){if(0===arguments.length)return this._options.sideBySide;if("boolean"!=typeof t)throw new TypeError("sideBySide() expects a boolean parameter");this._options.sideBySide=t,this.widget&&(this.hide(),this.show())},v.prototype.viewMode=function(t){if(0===arguments.length)return this._options.viewMode;if("string"!=typeof t)throw new TypeError("viewMode() expects a string parameter");if(-1===v.ViewModes.indexOf(t))throw new TypeError("viewMode() parameter must be one of ("+v.ViewModes.join(", ")+") value");this._options.viewMode=t,this.currentViewMode=Math.max(v.ViewModes.indexOf(t)-1,this.MinViewModeNumber),this._showMode()},v.prototype.calendarWeeks=function(t){if(0===arguments.length)return this._options.calendarWeeks;if("boolean"!=typeof t)throw new TypeError("calendarWeeks() expects parameter to be a boolean value");this._options.calendarWeeks=t,this._update()},v.prototype.buttons=function(t){if(0===arguments.length)return s.extend({},this._options.buttons);if(!(t instanceof Object))throw new TypeError("buttons() expects parameter to be an Object");
1if(s.extend(this._options.buttons,t),"boolean"!=typeof this._options.buttons.showToday)throw new TypeError("buttons.showToday expects a boolean parameter");if("boolean"!=typeof this._options.buttons.showClear)throw new TypeError("buttons.showClear expects a boolean parameter");if("boolean"!=typeof this._options.buttons.showClose)throw new TypeError("buttons.showClose expects a boolean parameter");this.widget&&(this.hide(),this.show())},v.prototype.keepOpen=function(t){if(0===arguments.length)return this._options.keepOpen;if("boolean"!=typeof t)throw new TypeError("keepOpen() expects a boolean parameter");this._options.keepOpen=t},v.prototype.focusOnShow=function(t){if(0===arguments.length)return this._options.focusOnShow;if("boolean"!=typeof t)throw new TypeError("focusOnShow() expects a boolean parameter");this._options.focusOnShow=t},v.prototype.inline=function(t){if(0===arguments.length)return this._options.inline;if("boolean"!=typeof t)throw new TypeError("inline() expects a boolean parameter");this._options.inline=t},v.prototype.clear=function(){this._setValue(null)},v.prototype.keyBinds=function(t){if(0===arguments.length)return this._options.keyBinds;this._options.keyBinds=t},v.prototype.debug=function(t){if("boolean"!=typeof t)throw new TypeError("debug() expects a boolean parameter");this._options.debug=t},v.prototype.allowInputToggle=function(t){if(0===arguments.length)return this._options.allowInputToggle;if("boolean"!=typeof t)throw new TypeError("allowInputToggle() expects a boolean parameter");this._options.allowInputToggle=t},v.prototype.keepInvalid=function(t){if(0===arguments.length)return this._options.keepInvalid;if("boolean"!=typeof t)throw new TypeError("keepInvalid() expects a boolean parameter");this._options.keepInvalid=t},v.prototype.datepickerInput=function(t){if(0===arguments.length)return this._options.datepickerInput;if("string"!=typeof t)throw new TypeError("datepickerInput() expects a string parameter");this._options.datepickerInput=t},v.prototype.parseInputDate=function(t){if(0===arguments.length)return this._options.parseInputDate;if("function"!=typeof t)throw new TypeError("parseInputDate() should be as function");this._options.parseInputDate=t},v.prototype.disabledTimeIntervals=function(t){if(0===arguments.length)return this._options.disabledTimeIntervals?s.extend({},this._options.disabledTimeIntervals):this._options.disabledTimeIntervals;if(!t)return this._options.disabledTimeIntervals=!1,this._update(),!0;if(!(t instanceof Array))throw new TypeError("disabledTimeIntervals() expects an array parameter");this._options.disabledTimeIntervals=t,this._update()},v.prototype.disabledHours=function(t){if(0===arguments.length)return this._options.disabledHours?s.extend({},this._options.disabledHours):this._options.disabledHours;if(!t)return this._options.disabledHours=!1,this._update(),!0;if(!(t instanceof Array))throw new TypeError("disabledHours() expects an array parameter");if(this._options.disabledHours=this._indexGivenHours(t),this._options.enabledHours=!1,this._options.useCurrent&&!this._options.keepInvalid)for(var e=0;e<this._dates.length;e++){for(var i=0;!this._isValid(this._dates[e],"h");){if(this._dates[e].add(1,"h"),24===i)throw"Tried 24 times to find a valid date";i++}this._setValue(this._dates[e],e)}this._update()},v.prototype.enabledHours=function(t){if(0===arguments.length)return this._options.enabledHours?s.extend({},this._options.enabledHours):this._options.enabledHours;if(!t)return this._options.enabledHours=!1,this._update(),!0;if(!(t instanceof Array))throw new TypeError("enabledHours() expects an array parameter");if(this._options.enabledHours=this._indexGivenHours(t),this._options.disabledHours=!1,this._options.useCurrent&&!this._options.keepInvalid)for(var e=0;e<this._dates.length;e++){for(var i=0;!this._isValid(this._dates[e],"h");){if(this._dates[e].add(1,"h"),24===i)throw"Tried 24 times to find a valid date";i++}this._setValue(this._dates[e],e)}this._update()},v.prototype.viewDate=function(t){if(0===arguments.length)return this._viewDate.clone();if(!t)return this._viewDate=(this._dates[0]||this.getMoment()).clone(),!0;if(!("string"==typeof t||i.isMoment(t)||t instanceof Date))throw new TypeError("viewDate() parameter must be one of [string, moment or Date]");this._viewDate=this._parseInputDate(t),this._viewUpdate()},v.prototype.allowMultidate=function(t){if("boolean"!=typeof t)throw new TypeError("allowMultidate() expects a boolean parameter");this._options.allowMultidate=t},v.prototype.multidateSeparator=function(t){if(0===arguments.length)return this._options.multidateSeparator;if("string"!=typeof t||1<t.length)throw new TypeError("multidateSeparator expects a single character string parameter");this._options.multidateSeparator=t},t(v,null,[{key:"NAME",get:function(){return e}},{key:"DATA_KEY",get:function(){return a}},{key:"EVENT_KEY",get:function(){return l}},{key:"DATA_API_KEY",get:function(){return".data-api"}},{key:"DatePickerModes",get:function(){return d}},{key:"ViewModes",get:function(){return p}},{key:"Event",get:function(){return c}},{key:"Selector",get:function(){return h}},{key:"Default",get:function(){return g},set:function(t){g=t}},{key:"ClassName",get:function(){return u}}]),v);function v(t,e){r(this,v),this._options=this._getOptions(e),this._element=t,this._dates=[],this._datesFormatted=[],this._viewDate=null,this.unset=!0,this.component=!1,this.widget=!1,this.use24Hours=null,this.actualFormat=null,this.parseFormats=null,this.currentViewMode=null,this.MinViewModeNumber=0,this._int()}var E,y,b,w,x,k,L;E=jQuery,b=E.fn[T.NAME],w=["top","bottom","auto"],x=["left","right","auto"],k=["default","to
1p","bottom"],function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(C,y=T),C.prototype._init=function(){if(this._element.hasClass("input-group")){var t=this._element.find(".datepickerbutton");0===t.length?this.component=this._element.find('[data-toggle="datetimepicker"]'):this.component=t}},C.prototype._getDatePickerTemplate=function(){var t=E("<thead>").append(E("<tr>").append(E("<th>").addClass("prev").attr("data-action","previous").append(E("<span>").addClass(this._options.icons.previous))).append(E("<th>").addClass("picker-switch").attr("data-action","pickerSwitch").attr("colspan",this._options.calendarWeeks?"6":"5")).append(E("<th>").addClass("next").attr("data-action","next").append(E("<span>").addClass(this._options.icons.next)))),e=E("<tbody>").append(E("<tr>").append(E("<td>").attr("colspan",this._options.calendarWeeks?"8":"7")));return[E("<div>").addClass("datepicker-days").append(E("<table>").addClass("table table-sm").append(t).append(E("<tbody>"))),E("<div>").addClass("datepicker-months").append(E("<table>").addClass("table-condensed").append(t.clone()).append(e.clone())),E("<div>").addClass("datepicker-years").append(E("<table>").addClass("table-condensed").append(t.clone()).append(e.clone())),E("<div>").addClass("datepicker-decades").append(E("<table>").addClass("table-condensed").append(t.clone()).append(e.clone()))]},C.prototype._getTimePickerMainTemplate=function(){var t=E("<tr>"),e=E("<tr>"),i=E("<tr>");return this._isEnabled("h")&&(t.append(E("<td>").append(E("<a>").attr({href:"#",tabindex:"-1",title:this._options.tooltips.incrementHour}).addClass("btn").attr("data-action","incrementHours").append(E("<span>").addClass(this._options.icons.up)))),e.append(E("<td>").append(E("<span>").addClass("timepicker-hour").attr({"data-time-component":"hours",title:this._options.tooltips.pickHour}).attr("data-action","showHours"))),i.append(E("<td>").append(E("<a>").attr({href:"#",tabindex:"-1",title:this._options.tooltips.decrementHour}).addClass("btn").attr("data-action","decrementHours").append(E("<span>").addClass(this._options.icons.down))))),this._isEnabled("m")&&(this._isEnabled("h")&&(t.append(E("<td>").addClass("separator")),e.append(E("<td>").addClass("separator").html(":")),i.append(E("<td>").addClass("separator"))),t.append(E("<td>").append(E("<a>").attr({href:"#",tabindex:"-1",title:this._options.tooltips.incrementMinute}).addClass("btn").attr("data-action","incrementMinutes").append(E("<span>").addClass(this._options.icons.up)))),e.append(E("<td>").append(E("<span>").addClass("timepicker-minute").attr({"data-time-component":"minutes",title:this._options.tooltips.pickMinute}).attr("data-action","showMinutes"))),i.append(E("<td>").append(E("<a>").attr({href:"#",tabindex:"-1",title:this._options.tooltips.decrementMinute}).addClass("btn").attr("data-action","decrementMinutes").append(E("<span>").addClass(this._options.icons.down))))),this._isEnabled("s")&&(this._isEnabled("m")&&(t.append(E("<td>").addClass("separator")),e.append(E("<td>").addClass("separator").html(":")),i.append(E("<td>").addClass("separator"))),t.append(E("<td>").append(E("<a>").attr({href:"#",tabindex:"-1",title:this._options.tooltips.incrementSecond}).addClass("btn").attr("data-action","incrementSeconds").append(E("<span>").addClass(this._options.icons.up)))),e.append(E("<td>").append(E("<span>").addClass("timepicker-second").attr({"data-time-component":"seconds",title:this._options.tooltips.pickSecond}).attr("data-action","showSeconds"))),i.append(E("<td>").append(E("<a>").attr({href:"#",tabindex:"-1",title:this._options.tooltips.decrementSecond}).addClass("btn").attr("data-action","decrementSeconds").append(E("<span>").addClass(this._options.icons.down))))),this.use24Hours||(t.append(E("<td>").addClass("separator")),e.append(E("<td>").append(E("<button>").addClass("btn btn-primary").attr({"data-action":"togglePeriod",tabindex:"-1",title:this._options.tooltips.togglePeriod}))),i.append(E("<td>").addClass("separator"))),E("<div>").addClass("timepicker-picker").append(E("<table>").addClass("table-condensed").append([t,e,i]))},C.prototype._getTimePickerTemplate=function(){var t=E("<div>").addClass("timepicker-hours").append(E("<table>").addClass("table-condensed")),e=E("<div>").addClass("timepicker-minutes").append(E("<table>").addClass("table-condensed")),i=E("<div>").addClass("timepicker-seconds").append(E("<table>").addClass("table-condensed")),n=[this._getTimePickerMainTemplate()];return this._isEnabled("h")&&n.push(t),this._isEnabled("m")&&n.push(e),this._isEnabled("s")&&n.push(i),n},C.prototype._getToolbar=function(){var t=[];if(this._options.buttons.showToday&&t.push(E("<td>").append(E("<a>").attr({href:"#",tabindex:"-1","data-action":"today",title:this._options.tooltips.today}).append(E("<span>").addClass(this._options.icons.today)))),!this._options.sideBySide&&this._hasDate(
1)&&this._hasTime()){var e=void 0,i=void 0;i="times"===this._options.viewMode?(e=this._options.tooltips.selectDate,this._options.icons.date):(e=this._options.tooltips.selectTime,this._options.icons.time),t.push(E("<td>").append(E("<a>").attr({href:"#",tabindex:"-1","data-action":"togglePicker",title:e}).append(E("<span>").addClass(i))))}return this._options.buttons.showClear&&t.push(E("<td>").append(E("<a>").attr({href:"#",tabindex:"-1","data-action":"clear",title:this._options.tooltips.clear}).append(E("<span>").addClass(this._options.icons.clear)))),this._options.buttons.showClose&&t.push(E("<td>").append(E("<a>").attr({href:"#",tabindex:"-1","data-action":"close",title:this._options.tooltips.close}).append(E("<span>").addClass(this._options.icons.close)))),0===t.length?"":E("<table>").addClass("table-condensed").append(E("<tbody>").append(E("<tr>").append(t)))},C.prototype._getTemplate=function(){var t=E("<div>").addClass("bootstrap-datetimepicker-widget dropdown-menu"),e=E("<div>").addClass("datepicker").append(this._getDatePickerTemplate()),i=E("<div>").addClass("timepicker").append(this._getTimePickerTemplate()),n=E("<ul>").addClass("list-unstyled"),o=E("<li>").addClass("picker-switch"+(this._options.collapse?" accordion-toggle":"")).append(this._getToolbar());return this._options.inline&&t.removeClass("dropdown-menu"),this.use24Hours&&t.addClass("usetwentyfour"),this._isEnabled("s")&&!this.use24Hours&&t.addClass("wider"),this._options.sideBySide&&this._hasDate()&&this._hasTime()?(t.addClass("timepicker-sbs"),"top"===this._options.toolbarPlacement&&t.append(o),t.append(E("<div>").addClass("row").append(e.addClass("col-md-6")).append(i.addClass("col-md-6"))),"bottom"!==this._options.toolbarPlacement&&"default"!==this._options.toolbarPlacement||t.append(o),t):("top"===this._options.toolbarPlacement&&n.append(o),this._hasDate()&&n.append(E("<li>").addClass(this._options.collapse&&this._hasTime()?"collapse":"").addClass(this._options.collapse&&this._hasTime()&&"times"===this._options.viewMode?"":"show").append(e)),"default"===this._options.toolbarPlacement&&n.append(o),this._hasTime()&&n.append(E("<li>").addClass(this._options.collapse&&this._hasDate()?"collapse":"").addClass(this._options.collapse&&this._hasDate()&&"times"===this._options.viewMode?"show":"").append(i)),"bottom"===this._options.toolbarPlacement&&n.append(o),t.append(n))},C.prototype._place=function(t){var e=t&&t.data&&t.data.picker||this,i=e._options.widgetPositioning.vertical,n=e._options.widgetPositioning.horizontal,o=void 0,r=(e.component&&e.component.length?e.component:e._element).position(),s=(e.component&&e.component.length?e.component:e._element).offset();if(e._options.widgetParent)o=e._options.widgetParent.append(e.widget);else if(e._element.is("input"))o=e._element.after(e.widget).parent();else{if(e._options.inline)return void(o=e._element.append(e.widget));o=e._element,e._element.children().first().after(e.widget)}if("auto"===i&&(i=s.top+1.5*e.widget.height()>=E(window).height()+E(window).scrollTop()&&e.widget.height()+e._element.outerHeight()<s.top?"top":"bottom"),"auto"===n&&(n=o.width()<s.left+e.widget.outerWidth()/2&&s.left+e.widget.outerWidth()>E(window).width()?"right":"left"),"top"===i?e.widget.addClass("top").removeClass("bottom"):e.widget.addClass("bottom").removeClass("top"),"right"===n?e.widget.addClass("float-right"):e.widget.removeClass("float-right"),"relative"!==o.css("position")&&(o=o.parents().filter(function(){return"relative"===E(this).css("position")}).first()),0===o.length)throw new Error("datetimepicker component should be placed within a relative positioned container");e.widget.css({top:"top"===i?"auto":r.top+e._element.outerHeight()+"px",bottom:"top"===i?o.outerHeight()-(o===e._element?0:r.top)+"px":"auto",left:"left"===n?(o===e._element?0:r.left)+"px":"auto",right:"left"===n?"auto":o.outerWidth()-e._element.outerWidth()-(o===e._element?0:r.left)+"px"})},C.prototype._fillDow=function(){var t=E("<tr>"),e=this._viewDate.clone().startOf("w").startOf("d");for(!0===this._options.calendarWeeks&&t.append(E("<th>").addClass("cw").text("#"));e.isBefore(this._viewDate.clone().endOf("w"));)t.append(E("<th>").addClass("dow").text(e.format("dd"))),e.add(1,"d");this.widget.find(".datepicker-days thead").append(t)},C.prototype._fillMonths=function(){for(var t=[],e=this._viewDate.clone().startOf("y").startOf("d");e.isSame(this._viewDate,"y");)t.push(E("<span>").attr("data-action","selectMonth").addClass("month").text(e.format("MMM"))),e.add(1,"M");this.widget.find(".datepicker-months td").empty().append(t)},C.prototype._updateMonths=function(){var t=this.widget.find(".datepicker-months"),e=t.find("th"),i=t.find("tbody").find("span"),n=this;e.eq(0).find("span").attr("title",this._options.tooltips.prevYear),e.eq(1).attr("title",this._options.tooltips.selectYear),e.eq(2).find("span").attr("title",this._options.tooltips.nextYear),t.find(".disabled").removeClass("disabled"),this._isValid(this._viewDate.clone().subtract(1,"y"),"y")||e.eq(0).addClass("disabled"),e.eq(1).text(this._viewDate.year()),this._isValid(this._viewDate.clone().add(1,"y"),"y")||e.eq(2).addClass("disabled"),i.removeClass("active"),this._getLastPickedDate().isSame(this._viewDate,"y")&&!this.unset&&i.eq(this._getLastPickedDate().month()).addClass("active"),i.each(function(t){n._isValid(n._viewDate.clone().month(t),"M")||E(this).addClass("disabled")})},C.prototype._getStartEndYear=function(t,e){var i=t/10,n=Math.floor(e/t)*t;return[n,n+9*i,Math.floor(e/i)*i]},C.prototype._updateYears=function(){var t=this.widget.find(".datepicker-years"),e=t.find("th"),i=this._getStartEndYear(10,this._viewDate.year()),n=this._viewDate.clone().year
1(i[0]),o=this._viewDate.clone().year(i[1]),r="";for(e.eq(0).find("span").attr("title",this._options.tooltips.prevDecade),e.eq(1).attr("title",this._options.tooltips.selectDecade),e.eq(2).find("span").attr("title",this._options.tooltips.nextDecade),t.find(".disabled").removeClass("disabled"),this._options.minDate&&this._options.minDate.isAfter(n,"y")&&e.eq(0).addClass("disabled"),e.eq(1).text(n.year()+"-"+o.year()),this._options.maxDate&&this._options.maxDate.isBefore(o,"y")&&e.eq(2).addClass("disabled"),r+='<span data-action="selectYear" class="year old'+(this._isValid(n,"y")?"":" disabled")+'">'+(n.year()-1)+"</span>";!n.isAfter(o,"y");)r+='<span data-action="selectYear" class="year'+(n.isSame(this._getLastPickedDate(),"y")&&!this.unset?" active":"")+(this._isValid(n,"y")?"":" disabled")+'">'+n.year()+"</span>",n.add(1,"y");r+='<span data-action="selectYear" class="year old'+(this._isValid(n,"y")?"":" disabled")+'">'+n.year()+"</span>",t.find("td").html(r)},C.prototype._updateDecades=function(){var t=this.widget.find(".datepicker-decades"),e=t.find("th"),i=this._getStartEndYear(100,this._viewDate.year()),n=this._viewDate.clone().year(i[0]),o=this._viewDate.clone().year(i[1]),r=!1,s=!1,a=void 0,l="";for(e.eq(0).find("span").attr("title",this._options.tooltips.prevCentury),e.eq(2).find("span").attr("title",this._options.tooltips.nextCentury),t.find(".disabled").removeClass("disabled"),(0===n.year()||this._options.minDate&&this._options.minDate.isAfter(n,"y"))&&e.eq(0).addClass("disabled"),e.eq(1).text(n.year()+"-"+o.year()),this._options.maxDate&&this._options.maxDate.isBefore(o,"y")&&e.eq(2).addClass("disabled"),n.year()-10<0?l+="<span>&nbsp;</span>":l+='<span data-action="selectDecade" class="decade old" data-selection="'+(n.year()+6)+'">'+(n.year()-10)+"</span>";!n.isAfter(o,"y");)a=n.year()+11,r=this._options.minDate&&this._options.minDate.isAfter(n,"y")&&this._options.minDate.year()<=a,s=this._options.maxDate&&this._options.maxDate.isAfter(n,"y")&&this._options.maxDate.year()<=a,l+='<span data-action="selectDecade" class="decade'+(this._getLastPickedDate().isAfter(n)&&this._getLastPickedDate().year()<=a?" active":"")+(this._isValid(n,"y")||r||s?"":" disabled")+'" data-selection="'+(n.year()+6)+'">'+n.year()+"</span>",n.add(10,"y");l+='<span data-action="selectDecade" class="decade old" data-selection="'+(n.year()+6)+'">'+n.year()+"</span>",t.find("td").html(l)},C.prototype._fillDate=function(){var t=this.widget.find(".datepicker-days"),e=t.find("th"),i=[],n=void 0,o=void 0,r=void 0,s=void 0;if(this._hasDate()){for(e.eq(0).find("span").attr("title",this._options.tooltips.prevMonth),e.eq(1).attr("title",this._options.tooltips.selectMonth),e.eq(2).find("span").attr("title",this._options.tooltips.nextMonth),t.find(".disabled").removeClass("disabled"),e.eq(1).text(this._viewDate.format(this._options.dayViewHeaderFormat)),this._isValid(this._viewDate.clone().subtract(1,"M"),"M")||e.eq(0).addClass("disabled"),this._isValid(this._viewDate.clone().add(1,"M"),"M")||e.eq(2).addClass("disabled"),n=this._viewDate.clone().startOf("M").startOf("w").startOf("d"),s=0;s<42;s++){if(0===n.weekday()&&(o=E("<tr>"),this._options.calendarWeeks&&o.append('<td class="cw">'+n.week()+"</td>"),i.push(o)),r="",n.isBefore(this._viewDate,"M")&&(r+=" old"),n.isAfter(this._viewDate,"M")&&(r+=" new"),this._options.allowMultidate){var a=this._datesFormatted.indexOf(n.format("YYYY-MM-DD"));-1!==a&&n.isSame(this._datesFormatted[a],"d")&&!this.unset&&(r+=" active")}else n.isSame(this._getLastPickedDate(),"d")&&!this.unset&&(r+=" active");this._isValid(n,"d")||(r+=" disabled"),n.isSame(this.getMoment(),"d")&&(r+=" today"),0!==n.day()&&6!==n.day()||(r+=" weekend"),o.append('<td data-action="selectDay" data-day="'+n.format("L")+'" class="day'+r+'">'+n.date()+"</td>"),n.add(1,"d")}t.find("tbody").empty().append(i),this._updateMonths(),this._updateYears(),this._updateDecades()}},C.prototype._fillHours=function(){var t=this.widget.find(".timepicker-hours table"),e=this._viewDate.clone().startOf("d"),i=[],n=E("<tr>");for(11<this._viewDate.hour()&&!this.use24Hours&&e.hour(12);e.isSame(this._viewDate,"d")&&(this.use24Hours||this._viewDate.hour()<12&&e.hour()<12||11<this._viewDate.hour());)e.hour()%4==0&&(n=E("<tr>"),i.push(n)),n.append('<td data-action="selectHour" class="hour'+(this._isValid(e,"h")?"":" disabled")+'">'+e.format(this.use24Hours?"HH":"hh")+"</td>"),e.add(1,"h");t.empty().append(i)},C.prototype._fillMinutes=function(){for(var t=this.widget.find(".timepicker-minutes table"),e=this._viewDate.clone().startOf("h"),i=[],n=1===this._options.stepping?5:this._options.stepping,o=E("<tr>");this._viewDate.isSame(e,"h");)e.minute()%(4*n)==0&&(o=E("<tr>"),i.push(o)),o.append('<td data-action="selectMinute" class="minute'+(this._isValid(e,"m")?"":" disabled")+'">'+e.format("mm")+"</td>"),e.add(n,"m");t.empty().append(i)},C.prototype._fillSeconds=function(){for(var t=this.widget.find(".timepicker-seconds table"),e=this._viewDate.clone().startOf("m"),i=[],n=E("<tr>");this._viewDate.isSame(e,"m");)e.second()%20==0&&(n=E("<tr>"),i.push(n)),n.append('<td data-action="selectSecond" class="second'+(this._isValid(e,"s")?"":" disabled")+'">'+e.format("ss")+"</td>"),e.add(5,"s");t.empty().append(i)},C.prototype._fillTime=function(){var t=void 0,e=void 0,i=this.widget.find(".timepicker span[data-time-component]");this.use24Hours||(t=this.widget.find(".timepicker [data-action=togglePeriod]"),e=this._getLastPickedDate().clone().add(12<=this._getLastPickedDate().hours()?-12:12,"h"),t.text(this._getLastPickedDate().format("A")),this._isValid(e,"h")?t.removeClass("disabled"):t.addClass("disabled")),i.filter("[data-time-component=hours]").text(this._getLastPickedDate().format(this.use24Hours?"HH":"hh")),i.filter("[data-time-component=minutes]").text(this._getLastPickedDate().format("mm")),i.filter("[data-time-component=seconds]").text(this._getLastPickedDate().format("ss")),this._fillHours(),this._fillMinutes(),this._fillSeconds()},C.prototype._doAction=function(t,e){var i=this._getLastPickedDate();if(E(t.currentTarget).is(".disabled"))return!1;switch(e=e||E(t.currentTarget).data("action")){case"next":var n=T.DatePickerModes[this.currentViewMode].NAV_FUNCTION;this._viewDate.add(T.DatePickerModes[this.currentViewMode].NAV_STEP,n),this._fillDate(),this._viewUpdate(n);break;case"previous":var o=T.DatePickerModes[this.currentViewMode].NAV_FUNCTION;this._viewDate.subtract(T.DatePickerModes[this.currentViewMode].NAV_STEP,o),this._fillDate(),this._viewUpdate(o);break;case"pickerSwitch":this._showMode(1);break;case"selectMonth":var r=E(t.target).closest("tbody").find("span").index(E(t.target));this._viewDate.month(r),this.currentViewMode===this.MinViewModeNumber?(this._setValue(i.clone().year
vendor: 4,208 bytes, line 1
1(this._viewDate.year()).month(this._viewDate.month()),this._getLastPickedDateIndex()),this._options.inline||this.hide()):(this._showMode(-1),this._fillDate()),this._viewUpdate("M");break;case"selectYear":var s=parseInt(E(t.target).text(),10)||0;this._viewDate.year(s),this.currentViewMode===this.MinViewModeNumber?(this._setValue(i.clone().year(this._viewDate.year()),this._getLastPickedDateIndex()),this._options.inline||this.hide()):(this._showMode(-1),this._fillDate()),this._viewUpdate("YYYY");break;case"selectDecade":var a=parseInt(E(t.target).data("selection"),10)||0;this._viewDate.year(a),this.currentViewMode===this.MinViewModeNumber?(this._setValue(i.clone().year(this._viewDate.year()),this._getLastPickedDateIndex()),this._options.inline||this.hide()):(this._showMode(-1),this._fillDate()),this._viewUpdate("YYYY");break;case"selectDay":var l=this._viewDate.clone();E(t.target).is(".old")&&l.subtract(1,"M"),E(t.target).is(".new")&&l.add(1,"M");var h=l.date(parseInt(E(t.target).text(),10)),u=0;this._options.allowMultidate?-1!==(u=this._datesFormatted.indexOf(h.format("YYYY-MM-DD")))?this._setValue(null,u):this._setValue(h,this._getLastPickedDateIndex()+1):this._setValue(h,this._getLastPickedDateIndex()),this._hasTime()||this._options.keepOpen||this._options.inline||this._options.allowMultidate||this.hide();break;case"incrementHours":var c=i.clone().add(1,"h");this._isValid(c,"h")&&this._setValue(c,this._getLastPickedDateIndex());break;case"incrementMinutes":var d=i.clone().add(this._options.stepping,"m");this._isValid(d,"m")&&this._setValue(d,this._getLastPickedDateIndex());break;case"incrementSeconds":var f=i.clone().add(1,"s");this._isValid(f,"s")&&this._setValue(f,this._getLastPickedDateIndex());break;case"decrementHours":var p=i.clone().subtract(1,"h");this._isValid(p,"h")&&this._setValue(p,this._getLastPickedDateIndex());break;case"decrementMinutes":var _=i.clone().subtract(this._options.stepping,"m");this._isValid(_,"m")&&this._setValue(_,this._getLastPickedDateIndex());break;case"decrementSeconds":var m=i.clone().subtract(1,"s");this._isValid(m,"s")&&this._setValue(m,this._getLastPickedDateIndex());break;case"togglePeriod":this._setValue(i.clone().add(12<=i.hours()?-12:12,"h"),this._getLastPickedDateIndex());break;case"togglePicker":var g=E(t.target),v=g.closest("a"),y=g.closest("ul"),b=y.find(".show"),w=y.find(".collapse:not(.show)"),x=g.is("span")?g:g.find("span"),k=void 0;if(b&&b.length){if((k=b.data("collapse"))&&k.transitioning)return!0;b.collapse?(b.collapse("hide"),w.collapse("show")):(b.removeClass("show"),w.addClass("show")),x.toggleClass(this._options.icons.time+" "+this._options.icons.date),x.hasClass(this._options.icons.date)?v.attr("title",this._options.tooltips.selectDate):v.attr("title",this._options.tooltips.selectTime)}break;case"showPicker":this.widget.find(".timepicker > div:not(.timepicker-picker)").hide(),this.widget.find(".timepicker .timepicker-picker").show();break;case"showHours":this.widget.find(".timepicker .timepicker-picker").hide(),this.widget.find(".timepicker .timepicker-hours").show();break;case"showMinutes":this.widget.find(".timepicker .timepicker-picker").hide(),this.widget.find(".timepicker .timepicker-minutes").show();break;case"showSeconds":this.widget.find(".timepicker .timepicker-picker").hide(),this.widget.find(".timepicker .timepicker-seconds").show();break;case"selectHour":var L=parseInt(E(t.target).text(),10);this.use24Hours||(12<=i.hours()?12!==L&&(L+=12):12===L&&(L=0)),this._setValue(i.clone().hours(L),this._getLastPickedDateIndex()),this._isEnabled("a")||this._isEnabled("m")||this._options.keepOpen||this._options.inline?this._doAction(t,"showPicker"):this.hide();break;case"selectMinute":this._setValue(i.clone().minutes(parseInt(E(t.target).text(),10)),this._getLastPickedDateIndex()),this._isEnabled("a")||this._isEnabled("s")||this._options.keepOpen||this._options.inline?this._doAction(t,"showPicker"):this.hide();break;case"selectSecond":this._setValue(i.clone().seconds(parseInt(E(t.target).text(),10)),this._getLastPickedDateIndex()),this._isEnabled("a")||this._options.keepOpen||this._options.inline?this._doAction(t,"showPicker"):this.hide();break;case"clear":this.clear();break;
1case"close":this.hide();break;case"today":var D=this.getMoment();this._isValid(D,"d")&&this._setValue(D,this._getLastPickedDateIndex())}return!1},C.prototype.hide=function(){var e=!1;this.widget&&(this.widget.find(".collapse").each(function(){var t=E(this).data("collapse");return!t||!t.transitioning||!(e=!0)}),e||(this.component&&this.component.hasClass("btn")&&this.component.toggleClass("active"),this.widget.hide(),E(window).off("resize",this._place()),this.widget.off("click","[data-action]"),this.widget.off("mousedown",!1),this.widget.remove(),this.widget=!1,this._notifyEvent({type:T.Event.HIDE,date:this._getLastPickedDate().clone()}),void 0!==this.input&&this.input.blur(),this._viewDate=this._getLastPickedDate().clone()))},C.prototype.show=function(){var t=void 0,e={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)}};if(void 0!==this.input){if(this.input.prop("disabled")||!this._options.ignoreReadonly&&this.input.prop("readonly")||this.widget)return;void 0!==this.input.val()&&0!==this.input.val().trim().length?this._setValue(this._parseInputDate(this.input.val().trim()),0):this.unset&&this._options.useCurrent&&(t=this.getMoment(),"string"==typeof this._options.useCurrent&&(t=e[this._options.useCurrent](t)),this._setValue(t,0))}else this.unset&&this._options.useCurrent&&(t=this.getMoment(),"string"==typeof this._options.useCurrent&&(t=e[this._options.useCurrent](t)),this._setValue(t,0));this.widget=this._getTemplate(),this._fillDow(),this._fillMonths(),this.widget.find(".timepicker-hours").hide(),this.widget.find(".timepicker-minutes").hide(),this.widget.find(".timepicker-seconds").hide(),this._update(),this._showMode(),E(window).on("resize",{picker:this},this._place),this.widget.on("click","[data-action]",E.proxy(this._doAction,this)),this.widget.on("mousedown",!1),this.component&&this.component.hasClass("btn")&&this.component.toggleClass("active"),this._place(),this.widget.show(),void 0!==this.input&&this._options.focusOnShow&&!this.input.is(":focus")&&this.input.focus(),this._notifyEvent({type:T.Event.SHOW})},C.prototype.destroy=function(){this.hide(),this._element.removeData(T.DATA_KEY),this._element.removeData("date")},C.prototype.disable=function(){this.hide(),this.component&&this.component.hasClass("btn")&&this.component.addClass("disabled"),void 0!==this.input&&this.input.prop("disabled",!0)},C.prototype.enable=function(){this.component&&this.component.hasClass("btn")&&this.component.removeClass("disabled"),void 0!==this.input&&this.input.prop("disabled",!1)},C.prototype.toolbarPlacement=function(t){if(0===arguments.length)return this._options.toolbarPlacement;if("string"!=typeof t)throw new TypeError("toolbarPlacement() expects a string parameter");if(-1===k.indexOf(t))throw new TypeError("toolbarPlacement() parameter must be one of ("+k.join(", ")+") value");this._options.toolbarPlacement=t,this.widget&&(this.hide(),this.show())},C.prototype.widgetPositioning=function(t){if(0===arguments.length)return E.extend({},this._options.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===x.indexOf(t.horizontal))throw new TypeError("widgetPositioning() expects horizontal parameter to be one of ("+x.join(", ")+")");this._options.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===w.indexOf(t.vertical))throw new TypeError("widgetPositioning() expects vertical parameter to be one of ("+w.join(", ")+")");this._options.widgetPositioning.vertical=t.vertical}this._update()},C.prototype.widgetParent=function(t){if(0===arguments.length)return this._options.widgetParent;if("string"==typeof t&&(t=E(t)),null!==t&&"string"!=typeof t&&!(t instanceof E))throw new TypeError("widgetParent() expects a string or a jQuery object parameter");this._options.widgetParent=t,this.widget&&(this.hide(),this.show())}
1,C._jQueryHandleThis=function(t,e,i){var n=E(t).data(T.DATA_KEY);if("object"===(void 0===e?"undefined":o(e))&&E.extend({},T.Default,e),n||(n=new C(E(t),e),E(t).data(T.DATA_KEY,n)),"string"==typeof e){if(void 0===n[e])throw new Error('No method named "'+e+'"');return void 0===i?n[e]():n[e](i)}},C._jQueryInterface=function(t,e){return 1===this.length?C._jQueryHandleThis(this[0],t,e):this.each(function(){C._jQueryHandleThis(this,t,e)})},L=C,E(document).on(T.Event.CLICK_DATA_API,T.Selector.DATA_TOGGLE,function(){var t=D(E(this));0!==t.length&&L._jQueryInterface.call(t,"toggle")}).on(T.Event.CHANGE,"."+T.ClassName.INPUT,function(t){var e=D(E(this));0!==e.length&&L._jQueryInterface.call(e,"_change",t)}).on(T.Event.BLUR,"."+T.ClassName.INPUT,function(t){var e=D(E(this)),i=e.data(T.DATA_KEY);0!==e.length&&(i._options.debug||window.debug||L._jQueryInterface.call(e,"hide",t))}).on(T.Event.KEYDOWN,"."+T.ClassName.INPUT,function(t){var e=D(E(this));0!==e.length&&L._jQueryInterface.call(e,"_keydown",t)}).on(T.Event.KEYUP,"."+T.ClassName.INPUT,function(t){var e=D(E(this));0!==e.length&&L._jQueryInterface.call(e,"_keyup",t)}).on(T.Event.FOCUS,"."+T.ClassName.INPUT,function(t){var e=D(E(this)),i=e.data(T.DATA_KEY);0!==e.length&&i._options.allowInputToggle&&L._jQueryInterface.call(e,"show",t)}),E.fn[T.NAME]=L._jQueryInterface,E.fn[T.NAME].Constructor=L,E.fn[T.NAME].noConflict=function(){return E.fn[T.NAME]=b,L._jQueryInterface};function D(t){var e=t.data("target"),i=void 0;return e||(e=t.attr("href")||"",e=/^#[a-z]/i.test(e)?e:null),0===(i=E(e)).length||i.data(T.DATA_KEY)||E.extend({},i.data(),E(this).data()),i}function C(t,e){r(this,C);var i=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,y.call(this,t,e));return i._init(),i}}(),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).Shuffle=e()}(this,function(){"use strict";function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function t(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}function o(t){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function e(){}e.prototype={on:function(t,e,i){var n=this.e||(this.e={});return(n[t]||(n[t]=[])).push({fn:e,ctx:i}),this},once:function(t,e,i){var n=this;function o(){n.off(t,o),e.apply(i,arguments)}return o._=e,this.on(t,o,i)},emit:function(t){for(var e=[].slice.call(arguments,1),i=((this.e||(this.e={}))[t]||[]).slice(),n=0,o=i.length;n<o;n++)i[n].fn.apply(i[n].ctx,e);return this},off:function(t,e){var i=this.e||(this.e={}),n=i[t],o=[];if(n&&e)for(var r=0,s=n.length;r<s;r++)n[r].fn!==e&&n[r].fn._!==e&&o.push(n[r]);return o.length?i[t]=o:delete i[t],this}};var l=e,r=e;l.TinyEmitter=r;var h="undefined"!=typeof Element?Element.prototype:{},u=h.matches||h.matchesSelector||h.webkitMatchesSelector||h.mozMatchesSelector||h.msMatchesSelector||h.oMatchesSelector,c=function(t,e){if(!t||1!==t.nodeType)return!1;if(u)return u.call(t,e);for(var i=t.parentNode.querySelectorAll(e),n=0;n<i.length;n++)if(i[n]==t)return!0;return!1};function d(t,e){var i,n,o,r,s=0;return function(){i=this,n=arguments;var t=new Date-s;return r||(e<=t?a():r=setTimeout(a,e-t)),o};function a(){r=0,s=+new Date,o=t.apply(i,n),n=i=null}}function f(){}function p(t){return parseFloat(t)||0}var _=function(){function i(t,e){s(this,i),this.x=p(t),this.y=p(e)}return t(i,null,[{key:"equals",value:function(t,e){return t.x===e.x&&t.y===e.y}}]),i}(),m=function(){function r(t,e,i,n,o){s(this,r),this.id=o,this.left=t,this.top=e,this.width=i,this.height=n}return t(r,null,[{key:"intersects",value:function(t,e){return t.left<e.left+e.width&&e.left<t.left+t.width&&t.top<e.top+e.height&&e.top<t.top+t.height}}]),r}(),g={BASE:"shuffle",SHUFFLE_ITEM:"shuffle-item",VISIBLE:"shuffle-item--visible",HIDDEN:"shuffle-item--hidden"},v=0,y=function(){function e(t){s(this,e),v+=1,this.id=v,this.element=t,this.isVisible=!0,this.isHidden=!1}return t(e,[{key:"show",value:function(){this.isVisible=!0,this.element.classList.remove(g.HIDDEN),this.element.classList.add(g.VISIBLE),this.element.removeAttribute("aria-hidden")}},{key:"hide",value:function(){this.isVisible=!1,this.element.classList.remove(g.VISIBLE),this.element.classList.add(g.HIDDEN),this.element.setAttribute("aria-hidden",!0)}},{key:"init",value:function(){this.addClasses([g.SHUFFLE_ITEM,g.VISIBLE]),this.applyCss(e.Css.INITIAL),this.scale=e.Scale.VISIBLE,this.point=new _}},{key:"addClasses",value:function(t){var e=this;t.forEach(function(t){e.element.classList.add(t)})}},{key:"removeClasses",value:function(t){var e=this;t.forEach(function(t){e.element.classList.remove(t)})}},{key:"applyCss",value:function(e){var i=this;Object.keys(e).forEach(function(t){i.element.style[t]=e[t]})}},{key:"dispose",value:function(){this.removeClasses([g.HIDDEN,g.VISIBLE,g.SHUFFLE_ITEM]),this.element.removeAttribute("style"),this.element=null}}]),e}();y.Css={INITIAL:{position:"absolute",top:0,left:0,visibility:"visible",willChange:"transform"},VISIBLE:{before:{opacity:1,visibility:"visible"},after:{transitionDelay:""}},HIDDEN:{before:{opacity:0}
1,after:{visibility:"hidden",transitionDelay:""}}},y.Scale={VISIBLE:1,HIDDEN:.001};function b(){if(null!==w)return w;var t=document.body||document.documentElement,e=document.createElement("div");return e.style.cssText="width:10px;padding:2px;box-sizing:border-box;",t.appendChild(e),w="10px"===window.getComputedStyle(e,null).width,t.removeChild(e),w}var w=null;function x(t,e,i){var n=2<arguments.length&&void 0!==i?i:window.getComputedStyle(t,null),o=p(n[e]);return b()||"width"!==e?b()||"height"!==e||(o+=p(n.paddingTop)+p(n.paddingBottom)+p(n.borderTopWidth)+p(n.borderBottomWidth)):o+=p(n.paddingLeft)+p(n.paddingRight)+p(n.borderLeftWidth)+p(n.borderRightWidth),o}var k={reverse:!1,by:null,compare:null,randomize:!1,key:"element"};function L(t,e){var o=Object.assign({},k,e),i=Array.from(t),r=!1;return t.length?o.randomize?function(t){for(var e=t.length;e;){e-=1;var i=Math.floor(Math.random()*(e+1)),n=t[i];t[i]=t[e],t[e]=n}return t}(t):("function"==typeof o.by?t.sort(function(t,e){if(r)return 0;var i=o.by(t[o.key]),n=o.by(e[o.key]);return void 0===i&&void 0===n?(r=!0,0):i<n||"sortFirst"===i||"sortLast"===n?-1:n<i||"sortLast"===i||"sortFirst"===n?1:0}):"function"==typeof o.compare&&t.sort(o.compare),r?i:(o.reverse&&t.reverse(),t)):[]}var D={},T="transitionend",E=0;function C(t){return!!D[t]&&(D[t].element.removeEventListener(T,D[t].listener),!(D[t]=null))}function S(t,e){function i(t){t.currentTarget===t.target&&(C(n),e(t))}var n=T+(E+=1);return t.addEventListener(T,i),D[n]={element:t,listener:i},n}function M(t){return Math.max.apply(Math,t)}function P(t,e,i,n){var o=t/e;return Math.abs(Math.round(o)-o)<n&&(o=Math.round(o)),Math.min(Math.ceil(o),i)}function I(t,e,i){if(1===e)return t;for(var n=[],o=0;o<=i-e;o++)n.push(M(t.slice(o,o+e)));return n}function O(t,e){for(var i=function(t){return Math.min.apply(Math,t)}(t),n=0,o=t.length;n<o;n++)if(t[n]>=i-e&&t[n]<=i+e)return n;return 0}function A(t,u){var c={};t.forEach(function(t){c[t.top]?c[t.top].push(t):c[t.top]=[t]});var d=[],f=[],p=[];return Object.keys(c).forEach(function(t){var e=c[t];f.push(e);var n,i=e[e.length-1],o=i.left+i.width,r=Math.round((u-o)/2),s=e,a=!1;if(0<r){var l=[];(a=e.every(function(t){var e=new m(t.left+r,t.top,t.width,t.height,t.id),i=!d.some(function(t){return m.intersects(e,t)});return l.push(e),i}))&&(s=l)}if(!a&&e.some(function(i){return d.some(function(t){var e=m.intersects(i,t);return e&&(n=t),e})})){var h=p.findIndex(function(t){return t.includes(n)});p.splice(h,1,f[h])}d=d.concat(s),p.push(s)}),[].concat.apply([],p).sort(function(t,e){return t.id-e.id}).map(function(t){return new _(t.left,t.top)})}function N(t){return Array.from(new Set(t))}var F=0,z=function(){function r(t){var e,i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};s(this,r),(e=a(this,o(r).call(this))).options=Object.assign({},r.options,i),e.options.delimeter&&(e.options.delimiter=e.options.delimeter),e.lastSort={},e.group=r.ALL_ITEMS,e.lastFilter=r.ALL_ITEMS,e.isEnabled=!0,e.isDestroyed=!1,e.isInitialized=!1,e._transitions=[],e.isTransitioning=!1,e._queue=[];var n=e._getElementOption(t);if(!n)throw new TypeError("Shuffle needs to be initialized with an element.");return e.element=n,e.id="shuffle_"+F,F+=1,e._init(),e.isInitialized=!0,e}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(r,l),t(r,[{key:"_init",value:function(){if(this.items=this._getItems(),this.options.sizer=this._getElementOption(this.options.sizer),this.element.classList.add(r.Classes.BASE),this._initItems(this.items),this._onResize=this._getResizeFunction(),window.addEventListener("resize",this._onResize),"complete"!==document.readyState){var e=this.layout.bind(this);window.addEventListener("load",function t(){window.removeEventListener("load",t),e()})}var t=window.getComputedStyle(this.element,null),i=r.getSize(this.element).width;this._validateStyles(t),this._setColumns(i),this.filter(this.options.group,this.options.initialSort),this.element.offsetWidth,this.setItemTransitions(this.items),this.element.style.transition="height ".concat(this.options.speed,"ms ").concat(this.options.easing)}},{key:"_getResizeFunction",value:function(){var t=this._handleResize.bind(this);return this.options.throttle?this.options.throttle(t,this.options.throttleTime):t}},{key:"_getElementOption",value:function(t){return"string"==typeof t?this.element.querySelector(t):t&&t.nodeType&&1===t.nodeType?t:t&&t.jquery?t[0]:null}},{key:"_validateStyles",value:function(t){"static"===t.position&&(this.element.style.position="relative"),"hidden"
1!==t.overflow&&(this.element.style.overflow="hidden")}},{key:"_filter",value:function(t,e){var i=0<arguments.length&&void 0!==t?t:this.lastFilter,n=1<arguments.length&&void 0!==e?e:this.items,o=this._getFilteredSets(i,n);return this._toggleFilterClasses(o),"string"==typeof(this.lastFilter=i)&&(this.group=i),o}},{key:"_getFilteredSets",value:function(e,t){var i=this,n=[],o=[];return e===r.ALL_ITEMS?n=t:t.forEach(function(t){i._doesPassFilter(e,t.element)?n.push(t):o.push(t)}),{visible:n,hidden:o}}},{key:"_doesPassFilter",value:function(t,e){if("function"==typeof t)return t.call(e,e,this);var i=e.getAttribute("data-"+r.FILTER_ATTRIBUTE_KEY),n=this.options.delimiter?i.split(this.options.delimiter):JSON.parse(i);function o(t){return n.includes(t)}return Array.isArray(t)?this.options.filterMode===r.FilterMode.ANY?t.some(o):t.every(o):n.includes(t)}},{key:"_toggleFilterClasses",value:function(t){var e=t.visible,i=t.hidden;e.forEach(function(t){t.show()}),i.forEach(function(t){t.hide()})}},{key:"_initItems",value:function(t){t.forEach(function(t){t.init()})}},{key:"_disposeItems",value:function(t){t.forEach(function(t){t.dispose()})}},{key:"_updateItemCount",value:function(){this.visibleItems=this._getFilteredItems().length}},{key:"setItemTransitions",value:function(t){var e=this.options,i=e.speed,n=e.easing,o=this.options.useTransforms?["transform"]:["top","left"],r=Object.keys(y.Css.HIDDEN.before).map(function(t){return function(t){return t.replace(/([A-Z])/g,function(t,e){return"-".concat(e.toLowerCase())})}(t)}),s=o.concat(r).join();t.forEach(function(t){t.element.style.transitionDuration=i+"ms",t.element.style.transitionTimingFunction=n,t.element.style.transitionProperty=s})}},{key:"_getItems",value:function(){var e=this;return Array.from(this.element.children).filter(function(t){return c(t,e.options.itemSelector)}).map(function(t){return new y(t)})}},{key:"_mergeNewItems",value:function(t){var e=Array.from(this.element.children);return L(this.items.concat(t),{by:function(t){return e.indexOf(t)}})}},{key:"_getFilteredItems",value:function(){return this.items.filter(function(t){return t.isVisible})}},{key:"_getConcealedItems",value:function(){return this.items.filter(function(t){return!t.isVisible})}},{key:"_getColumnSize",value:function(t,e){var i;return 0===(i="function"==typeof this.options.columnWidth?this.options.columnWidth(t):this.options.sizer?r.getSize(this.options.sizer).width:this.options.columnWidth?this.options.columnWidth:0<this.items.length?r.getSize(this.items[0].element,!0).width:t)&&(i=t),i+e}},{key:"_getGutterSize",value:function(t){return"function"==typeof this.options.gutterWidth?this.options.gutterWidth(t):this.options.sizer?x(this.options.sizer,"marginLeft"):this.options.gutterWidth}},{key:"_setColumns",value:function(t){var e=0<arguments.length&&void 0!==t?t:r.getSize(this.element).width,i=this._getGutterSize(e),n=this._getColumnSize(e,i),o=(e+i)/n;Math.abs(Math.round(o)-o)<this.options.columnThreshold&&(o=Math.round(o)),this.cols=Math.max(Math.floor(o||0),1),this.containerWidth=e,this.colWidth=n}},{key:"_setContainerSize",value:function(){this.element.style.height=this._getContainerSize()+"px"}},{key:"_getContainerSize",value:function(){return M(this.positions)}},{key:"_getStaggerAmount",value:function(t){return Math.min(t*this.options.staggerAmount,this.options.staggerAmountMax)}},{key:"_dispatch",value:function(t,e){var i=1<arguments.length&&void 0!==e?e:{};this.isDestroyed||(i.shuffle=this).emit(t,i)}},{key:"_resetCols",value:function(){var t=this.cols;for(this.positions=[];t;)t-=1,this.positions.push(0)}},{key:"_layout",value:function(t){var o=this,r=this._getNextPositions(t),s=0;t.forEach(function(t,e){function i(){t.applyCss(y.Css.VISIBLE.after)}if(_.equals(t.point,r[e])&&!t.isHidden)return t.applyCss(y.Css.VISIBLE.before),void i();t.point=r[e],t.scale=y.Scale.VISIBLE,t.isHidden=!1;var n=o.getStylesForTransition(t,y.Css.VISIBLE.before);n.transitionDelay=o._getStaggerAmount(s)+"ms",o._queue.push({item:t,styles:n,callback:i}),s+=1})}},{key:"_getNextPositions",value:function(t){var o=this;if(this.options.isCentered){var e=t.map(function(t,e){var i=r.getSize(t.element,!0),n=o._getItemPosition(i);return new m(n.x,n.y,i.width,i.height,e)});return this.getTransformedPositions(e,this.containerWidth)}return t.map(function(t){return o._getItemPosition(r.getSize(t.element,!0))})}},{key:"_getItemPosition",value:function(t){return function(t){for(var e=t.itemSize,i=t.positions,n=t.gridSize,o=t.total,r=t.threshold,s=t.buffer,a=P(e.width,n,o,r),l=I(i,a,o),h=O(l,s),u=new _(n*h,l[h]
1),c=l[h]+e.height,d=0;d<a;d++)i[h+d]=c;return u}({itemSize:t,positions:this.positions,gridSize:this.colWidth,total:this.cols,threshold:this.options.columnThreshold,buffer:this.options.buffer})}},{key:"getTransformedPositions",value:function(t,e){return A(t,e)}},{key:"_shrink",value:function(t){var n=this,e=0<arguments.length&&void 0!==t?t:this._getConcealedItems(),o=0;e.forEach(function(t){function e(){t.applyCss(y.Css.HIDDEN.after)}if(t.isHidden)return t.applyCss(y.Css.HIDDEN.before),void e();t.scale=y.Scale.HIDDEN,t.isHidden=!0;var i=n.getStylesForTransition(t,y.Css.HIDDEN.before);i.transitionDelay=n._getStaggerAmount(o)+"ms",n._queue.push({item:t,styles:i,callback:e}),o+=1})}},{key:"_handleResize",value:function(){this.isEnabled&&!this.isDestroyed&&this.update()}},{key:"getStylesForTransition",value:function(t,e){var i=Object.assign({},e);if(this.options.useTransforms){var n=this.options.roundTransforms?Math.round(t.point.x):t.point.x,o=this.options.roundTransforms?Math.round(t.point.y):t.point.y;i.transform="translate(".concat(n,"px, ").concat(o,"px) scale(").concat(t.scale,")")}else i.left=t.point.x+"px",i.top=t.point.y+"px";return i}},{key:"_whenTransitionDone",value:function(t,e,i){var n=S(t,function(t){e(),i(null,t)});this._transitions.push(n)}},{key:"_getTransitionFunction",value:function(e){var i=this;return function(t){e.item.applyCss(e.styles),i._whenTransitionDone(e.item.element,e.callback,t)}}},{key:"_processQueue",value:function(){this.isTransitioning&&this._cancelMovement();var t=0<this.options.speed,e=0<this._queue.length;e&&t&&this.isInitialized?this._startTransitions(this._queue):(e&&this._styleImmediately(this._queue),this._dispatch(r.EventType.LAYOUT)),this._queue.length=0}},{key:"_startTransitions",value:function(t){var e=this;this.isTransitioning=!0,function(t,i,n){n||("function"==typeof i?(n=i,i=null):n=f);var o=t&&t.length;if(!o)return n(null,[]);var r=!1,s=new Array(o);function a(i){return function(t,e){if(!r){if(t)return n(t,s),void(r=!0);s[i]=e,--o||n(null,s)}}}t.forEach(i?function(t,e){t.call(i,a(e))}:function(t,e){t(a(e))})}(t.map(function(t){return e._getTransitionFunction(t)}),this._movementFinished.bind(this))}},{key:"_cancelMovement",value:function(){this._transitions.forEach(C),this._transitions.length=0,this.isTransitioning=!1}},{key:"_styleImmediately",value:function(t){if(t.length){var e=t.map(function(t){return t.item.element});r._skipTransitions(e,function(){t.forEach(function(t){t.item.applyCss(t.styles),t.callback()})})}}},{key:"_movementFinished",value:function(){this._transitions.length=0,this.isTransitioning=!1,this._dispatch(r.EventType.LAYOUT)}},{key:"filter",value:function(t,e){this.isEnabled&&((!t||t&&0===t.length)&&(t=r.ALL_ITEMS),this._filter(t),this._shrink(),this._updateItemCount(),this.sort(e))}},{key:"sort",value:function(t){var e=0<arguments.length&&void 0!==t?t:this.lastSort;if(this.isEnabled){this._resetCols();var i=L(this._getFilteredItems(),e);this._layout(i),this._processQueue(),this._setContainerSize(),this.lastSort=e}}},{key:"update",value:function(t){var e=0<arguments.length&&void 0!==t&&t;this.isEnabled&&(e||this._setColumns(),this.sort())}},{key:"layout",value:function(){this.update(!0)}},{key:"add",value:function(t){var i=this,e=N(t).map(function(t){return new y(t)});this._initItems(e),this._resetCols();function n(t){return e.includes(t)}function o(t){t.scale=y.Scale.HIDDEN,t.isHidden=!0,t.applyCss(y.Css.HIDDEN.before),t.applyCss(y.Css.HIDDEN.after)}var r=L(this._mergeNewItems(e),this.lastSort),s=this._filter(this.lastFilter,r),a=this._getNextPositions(s.visible);s.visible.forEach(function(t,e){n(t)&&(t.point=a[e],o(t),t.applyCss(i.getStylesForTransition(t,{})))}),s.hidden.forEach(function(t){n(t)&&o(t)}),this.element.offsetWidth,this.setItemTransitions(e),this.items=this._mergeNewItems(e),this.filter(this.lastFilter)}},{key:"disable",value:function(){this.isEnabled=!1}},{key:"enable",value:function(t){var e=!(0<arguments.length&&void 0!==t)||t;this.isEnabled=!0,e&&this.update()}},{key:"remove",value:function(t){var e=this;if(t.length){var i=N(t),n=i.map(function(t){return e.getItemByElement(t)}).filter(function(t){return!!t});this._toggleFilterClasses({visible:[],hidden:n}),this._shrink(n),this.sort(),this.items=this.items.filter(function(t){return!n.includes(t)}),this._updateItemCount(),this.once(r.EventType.LAYOUT,function(){e._disposeItems(n),i.forEac
1h(function(t){t.parentNode.removeChild(t)}),e._dispatch(r.EventType.REMOVED,{collection:i})})}}},{key:"getItemByElement",value:function(e){return this.items.find(function(t){return t.element===e})}},{key:"resetItems",value:function(){var t=this;this._disposeItems(this.items),this.isInitialized=!1,this.items=this._getItems(),this._initItems(this.items),this.once(r.EventType.LAYOUT,function(){t.setItemTransitions(t.items),t.isInitialized=!0}),this.filter(this.lastFilter)}},{key:"destroy",value:function(){this._cancelMovement(),window.removeEventListener("resize",this._onResize),this.element.classList.remove("shuffle"),this.element.removeAttribute("style"),this._disposeItems(this.items),this.items.length=0,this._transitions.length=0,this.options.sizer=null,this.element=null,this.isDestroyed=!0,this.isEnabled=!1}}],[{key:"getSize",value:function(t,e){var i=1<arguments.length&&void 0!==e&&e,n=window.getComputedStyle(t,null),o=x(t,"width",n),r=x(t,"height",n);i&&(o+=x(t,"marginLeft",n)+x(t,"marginRight",n),r+=x(t,"marginTop",n)+x(t,"marginBottom",n));return{width:o,height:r}}},{key:"_skipTransitions",value:function(t,e){var i=t.map(function(t){var e=t.style,i=e.transitionDuration,n=e.transitionDelay;return e.transitionDuration="0ms",e.transitionDelay="0ms",{duration:i,delay:n}});e(),t[0].offsetWidth,t.forEach(function(t,e){t.style.transitionDuration=i[e].duration,t.style.transitionDelay=i[e].delay})}}]),r}();return z.ShuffleItem=y,z.ALL_ITEMS="all",z.FILTER_ATTRIBUTE_KEY="groups",z.EventType={LAYOUT:"shuffle:layout",REMOVED:"shuffle:removed"},z.Classes=g,z.FilterMode={ANY:"any",ALL:"all"},z.options={group:z.ALL_ITEMS,speed:250,easing:"cubic-bezier(0.4, 0.0, 0.2, 1)",itemSelector:"*",sizer:null,gutterWidth:0,columnWidth:0,delimiter:null,buffer:0,columnThreshold:.01,initialSort:null,throttle:d,throttleTime:300,staggerAmount:15,staggerAmountMax:150,useTransforms:!0,filterMode:z.FilterMode.ANY,isCentered:!1,roundTransforms:!0},z.Point=_,z.Rect=m,z.__sorter=L,z.__getColumnSpan=P,z.__getAvailablePositions=I,z.__getShortColumn=O,z.__getCenteredPositions=A,z}),function(e){!jQuery&&"function"==typeof define&&define.amd?define(["jquery"],function(t){return e(t,document,window,navigator)}):jQuery||"object"!=typeof exports?e(jQuery,document,window,navigator):e(require("jquery"),document,window,navigator)}(function(l,h,u,t,c){"use strict";var e,i,n=0,o=(e=t.userAgent,i=/msie\s\d+/i,0<e.search(i)&&i.exec(e).toString().split(" ")[1]<9&&(l("html").addClass("lt-ie9"),!0));Function.prototype.bind||(Function.prototype.bind=function(n){var o=this,r=[].slice;if("function"!=typeof o)throw new TypeError;var s=r.call(arguments,1),a=function(){if(this instanceof a){var t=function(){};t.prototype=o.prototype;var e=new t,i=o.apply(e,s.concat(r.call(arguments)));return Object(i)===i?i:e}return o.apply(n,s.concat(r.call(arguments)))};return a}),Array.prototype.indexOf||(Array.prototype.indexOf=function(t,e){var i;if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),o=n.length>>>0;if(0==o)return-1;var r=+e||0;if(Math.abs(r)===1/0&&(r=0),o<=r)return-1;for(i=Math.max(0<=r?r:o-Math.abs(r),0);i<o;){if(i in n&&n[i]===t)return i;i++}return-1});function r(t,e,i){this.VERSION="2.3.0",this.input=t,this.plugin_count=i,this.current_plugin=0,this.calc_count=0,this.update_tm=0,this.old_from=0,this.old_to=0,this.old_min_interval=null,this.raf_id=null,this.dragging=!1,this.force_redraw=!1,this.no_diapason=!1,this.has_tab_index=!0,this.is_key=!1,this.is_update=!1,this.is_start=!0,this.is_finish=!1,this.is_active=!1,this.is_resize=!1,this.is_click=!1,e=e||{},this.$cache={win:l(u),body:l(h.body),input:l(t),cont:null,rs:null,min:null,max:null,from:null,to:null,single:null,bar:null,line:null,s_single:null,s_from:null,s_to:null,shad_single:null,shad_from:null,shad_to:null,edge:null,grid:null,grid_labels:[]},this.coords={x_gap:0,x_pointer:0,w_rs:0,w_rs_old:0,w_handle:0,p_gap:0,p_gap_left:0,p_gap_right:0,p_step:0,p_pointer:0,p_handle:0,p_single_fake:0,p_single_real:0,p_from_fake:0,p_from_real:0,p_to_fake:0,p_to_real:0,p_bar_x:0,p_bar_w:0,grid_gap:0,big_num:0,big:[],big_w:[],big_p:[],big_x:[]},this.labels={w_min:0,w_max:0,w_from:0,w_to:0,w_single:0,p_min:0,p_max:0,p_from_fake:0,p_from_left:0,p_to_fake:0,p_to_left:0,p_single_fake:0,p_single_left:0};var n,o,r,s=this.$cache.input,a=s.prop("value");for(r in n={skin:"flat",type:"single",min:10,max:100,from:null,to:null,step:1,min_interval:0,max_interval:0,drag_interval:!1,values:[],p_values:[],from_fixed:!1,from_min:null,from_max:null,from_shadow:!1,to_fixed:!1,to_min:null,to_max:null,to_
1shadow:!1,prettify_enabled:!0,prettify_separator:" ",prettify:null,force_edges:!1,keyboard:!0,grid:!1,grid_margin:!0,grid_num:4,grid_snap:!1,hide_min_max:!1,hide_from_to:!1,prefix:"",postfix:"",max_postfix:"",decorate_both:!0,values_separator:" — ",input_values_separator:";",disable:!1,block:!1,extra_classes:"",scope:null,onStart:null,onChange:null,onFinish:null,onUpdate:null},"INPUT"!==s[0].nodeName&&console&&console.warn&&console.warn("Base element should be <input>!",s[0]),(o={skin:s.data("skin"),type:s.data("type"),min:s.data("min"),max:s.data("max"),from:s.data("from"),to:s.data("to"),step:s.data("step"),min_interval:s.data("minInterval"),max_interval:s.data("maxInterval"),drag_interval:s.data("dragInterval"),values:s.data("values"),from_fixed:s.data("fromFixed"),from_min:s.data("fromMin"),from_max:s.data("fromMax"),from_shadow:s.data("fromShadow"),to_fixed:s.data("toFixed"),to_min:s.data("toMin"),to_max:s.data("toMax"),to_shadow:s.data("toShadow"),prettify_enabled:s.data("prettifyEnabled"),prettify_separator:s.data("prettifySeparator"),force_edges:s.data("forceEdges"),keyboard:s.data("keyboard"),grid:s.data("grid"),grid_margin:s.data("gridMargin"),grid_num:s.data("gridNum"),grid_snap:s.data("gridSnap"),hide_min_max:s.data("hideMinMax"),hide_from_to:s.data("hideFromTo"),prefix:s.data("prefix"),postfix:s.data("postfix"),max_postfix:s.data("maxPostfix"),decorate_both:s.data("decorateBoth"),values_separator:s.data("valuesSeparator"),input_values_separator:s.data("inputValuesSeparator"),disable:s.data("disable"),block:s.data("block"),extra_classes:s.data("extraClasses")}).values=o.values&&o.values.split(","),o)o.hasOwnProperty(r)&&(o[r]!==c&&""!==o[r]||delete o[r]);a!==c&&""!==a&&((a=a.split(o.input_values_separator||e.input_values_separator||";"))[0]&&a[0]==+a[0]&&(a[0]=+a[0]),a[1]&&a[1]==+a[1]&&(a[1]=+a[1]),e&&e.values&&e.values.length?(n.from=a[0]&&e.values.indexOf(a[0]),n.to=a[1]&&e.values.indexOf(a[1])):(n.from=a[0]&&+a[0],n.to=a[1]&&+a[1])),l.extend(n,e),l.extend(n,o),this.options=n,this.update_check={},this.validate(),this.result={input:this.$cache.input,slider:null,min:this.options.min,max:this.options.max,from:this.options.from,from_percent:0,from_value:null,to:this.options.to,to_percent:0,to_value:null},this.init()}r.prototype={init:function(t){this.no_diapason=!1,this.coords.p_step=this.convertToPercent(this.options.step,!0),this.target="base",this.toggleInput(),this.append(),this.setMinMax(),t?(this.force_redraw=!0,this.calc(!0),this.callOnUpdate()):(this.force_redraw=!0,this.calc(!0),this.callOnStar
vendor: 2,601 bytes, line 1
1t()),this.updateScene()},append:function(){var t='<span class="irs irs--'+this.options.skin+" js-irs-"+this.plugin_count+" "+this.options.extra_classes+'"></span>';this.$cache.input.before(t),this.$cache.input.prop("readonly",!0),this.$cache.cont=this.$cache.input.prev(),this.result.slider=this.$cache.cont,this.$cache.cont.html('<span class="irs"><span class="irs-line" tabindex="0"></span><span class="irs-min">0</span><span class="irs-max">1</span><span class="irs-from">0</span><span class="irs-to">0</span><span class="irs-single">0</span></span><span class="irs-grid"></span>'),this.$cache.rs=this.$cache.cont.find(".irs"),this.$cache.min=this.$cache.cont.find(".irs-min"),this.$cache.max=this.$cache.cont.find(".irs-max"),this.$cache.from=this.$cache.cont.find(".irs-from"),this.$cache.to=this.$cache.cont.find(".irs-to"),this.$cache.single=this.$cache.cont.find(".irs-single"),this.$cache.line=this.$cache.cont.find(".irs-line"),this.$cache.grid=this.$cache.cont.find(".irs-grid"),"single"===this.options.type?(this.$cache.cont.append('<span class="irs-bar irs-bar--single"></span><span class="irs-shadow shadow-single"></span><span class="irs-handle single"><i></i><i></i><i></i></span>'),this.$cache.bar=this.$cache.cont.find(".irs-bar"),this.$cache.edge=this.$cache.cont.find(".irs-bar-edge"),this.$cache.s_single=this.$cache.cont.find(".single"),this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.shad_single=this.$cache.cont.find(".shadow-single")):(this.$cache.cont.append('<span class="irs-bar"></span><span class="irs-shadow shadow-from"></span><span class="irs-shadow shadow-to"></span><span class="irs-handle from"><i></i><i></i><i></i></span><span class="irs-handle to"><i></i><i></i><i></i></span>'),this.$cache.bar=this.$cache.cont.find(".irs-bar"),this.$cache.s_from=this.$cache.cont.find(".from"),this.$cache.s_to=this.$cache.cont.find(".to"),this.$cache.shad_from=this.$cache.cont.find(".shadow-from"),this.$cache.shad_to=this.$cache.cont.find(".shadow-to"),this.setTopHandler()),this.options.hide_from_to&&(this.$cache.from[0].style.display="none",this.$cache.to[0].style.display="none",this.$cache.single[0].style.display="none"),this.appendGrid(),this.options.disable?(this.appendDisableMask(),this.$cache.input[0].disabled=!0):(this.$cache.input[0].disabled=!1,this.removeDisableMask(),this.bindEvents()),this.options.disable||(this.options.block?this.appendDisableMask():this.removeDisableMask()),this.options.drag_interval&&(this.$cache.bar[0].style.cursor="ew-resize")},setTopHandler:function(){var t=this.options.min,
vendor: 5,016 bytes, line 1
1e=this.options.max,i=this.options.from,n=this.options.to;t<i&&n===e?this.$cache.s_from.addClass("type_last"):n<e&&this.$cache.s_to.addClass("type_last")},changeLevel:function(t){switch(t){case"single":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_single_fake),this.$cache.s_single.addClass("state_hover");break;case"from":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_from_fake),this.$cache.s_from.addClass("state_hover"),this.$cache.s_from.addClass("type_last"),this.$cache.s_to.removeClass("type_last");break;case"to":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_to_fake),this.$cache.s_to.addClass("state_hover"),this.$cache.s_to.addClass("type_last"),this.$cache.s_from.removeClass("type_last");break;case"both":this.coords.p_gap_left=this.toFixed(this.coords.p_pointer-this.coords.p_from_fake),this.coords.p_gap_right=this.toFixed(this.coords.p_to_fake-this.coords.p_pointer),this.$cache.s_to.removeClass("type_last"),this.$cache.s_from.removeClass("type_last")}},appendDisableMask:function(){this.$cache.cont.append('<span class="irs-disable-mask"></span>'),this.$cache.cont.addClass("irs-disabled")},removeDisableMask:function(){this.$cache.cont.remove(".irs-disable-mask"),this.$cache.cont.removeClass("irs-disabled")},remove:function(){this.$cache.cont.remove(),this.$cache.cont=null,this.$cache.line.off("keydown.irs_"+this.plugin_count),this.$cache.body.off("touchmove.irs_"+this.plugin_count),this.$cache.body.off("mousemove.irs_"+this.plugin_count),this.$cache.win.off("touchend.irs_"+this.plugin_count),this.$cache.win.off("mouseup.irs_"+this.plugin_count),o&&(this.$cache.body.off("mouseup.irs_"+this.plugin_count),this.$cache.body.off("mouseleave.irs_"+this.plugin_count)),this.$cache.grid_labels=[],this.coords.big=[],this.coords.big_w=[],this.coords.big_p=[],this.coords.big_x=[],cancelAnimationFrame(this.raf_id)},bindEvents:function(){this.no_diapason||(this.$cache.body.on("touchmove.irs_"+this.plugin_count,this.pointerMove.bind(this)),this.$cache.body.on("mousemove.irs_"+this.plugin_count,this.pointerMove.bind(this)),this.$cache.win.on("touchend.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.win.on("mouseup.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.line.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.line.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.line.on("focus.irs_"+this.plugin_count,this.pointerFocus.bind(this)),this.options.drag_interval&&"double"===this.options.type?(this.$cache.bar.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"both")),this.$cache.bar.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"both"))):(this.$cache.bar.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.bar.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))),"single"===this.options.type?(this.$cache.single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.s_single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.shad_single.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.s_single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.edge.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_single.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))):(this.$cache.single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,null)),this.$cache.single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,null)),this.$cache.from.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.s_from.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.to.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.s_to.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.shad_from.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_to.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.from.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.s_from.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.to.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.s_to.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.shad_from.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_to.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))),this.options.keyboard&&this.$cache.line.on("key
1down.irs_"+this.plugin_count,this.key.bind(this,"keyboard")),o&&(this.$cache.body.on("mouseup.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.body.on("mouseleave.irs_"+this.plugin_count,this.pointerUp.bind(this))))},pointerFocus:function(t){var e,i;this.target||(e=(i="single"===this.options.type?this.$cache.single:this.$cache.from).offset().left,e+=i.width()/2-1,this.pointerClick("single",{preventDefault:function(){},pageX:e}))},pointerMove:function(t){if(this.dragging){var e=t.pageX||t.originalEvent.touches&&t.originalEvent.touches[0].pageX;this.coords.x_pointer=e-this.coords.x_gap,this.calc()}},pointerUp:function(t){this.current_plugin===this.plugin_count&&this.is_active&&(this.is_active=!1,this.$cache.cont.find(".state_hover").removeClass("state_hover"),this.force_redraw=!0,o&&l("*").prop("unselectable",!1),this.updateScene(),this.restoreOriginalMinInterval(),(l.contains(this.$cache.cont[0],t.target)||this.dragging)&&this.callOnFinish(),this.dragging=!1)},pointerDown:function(t,e){e.preventDefault();var i=e.pageX||e.originalEvent.touches&&e.originalEvent.touches[0].pageX;2!==e.button&&("both"===t&&this.setTempMinInterval(),t=t||(this.target||"from"),this.current_plugin=this.plugin_count,this.target=t,this.is_active=!0,this.dragging=!0,this.coords.x_gap=this.$cache.rs.offset().left,this.coords.x_pointer=i-this.coords.x_gap,this.calcPointerPercent(),this.changeLevel(t),o&&l("*").prop("unselectable",!0),this.$cache.line.trigger("focus"),this.updateScene())},pointerClick:function(t,e){e.preventDefault();var i=e.pageX||e.originalEvent.touches&&e.originalEvent.touches[0].pageX;2!==e.button&&(this.current_plugin=this.plugin_count,this.target=t,this.is_click=!0,this.coords.x_gap=this.$cache.rs.offset().left,this.coords.x_pointer=+(i-this.coords.x_gap).toFixed(),this.force_redraw=!0,this.calc(),this.$cache.line.trigger("focus"))},key:function(t,e){if(!(this.current_plugin!==this.plugin_count||e.altKey||e.ctrlKey||e.shiftKey||e.metaKey)){switch(e.which){case 83:case 65:case 40:case 37:e.preventDefault(),this.moveByKey(!1);break;case 87:case 68:case 38:case 39:e.preventDefault(),this.moveByKey(!0)}return!0}},moveByKey:function(t){var e=this.coords.p_pointer,i=(this.options.max-this.options.min)/100;i=this.options.step/i,t?e+=i:e-=i,this.coords.x_pointer=this.toFixed(this.coords.w_rs/100*e),this.is_key=!0,this.calc()},setMinMax:function(){if(this.options){if(this.options.hide_min_max)return this.$cache.min[0].style.display="none",void(this.$cache.max[0].style.display="none");if(this.options.values.length)this.$cache.min.html(this.decorate(this.options.p_values[this.options.min])),this.$cache.max.html(this.decorate(this.options.p_values[this.options.max]));else{var t=this._prettify(this.options.min),e=this._prettify(this.options.max);this.result.min_pretty=t,this.result.max_pretty=e,this.$cache.min.html(this.decorate(t,this.options.min)),this.$cache.max.html(this.decorate(e,this.options.max))}this.labels.w_min=this.$cache.min.outerWidth(!1),this.labels.w_max=this.$cache.max.outerWidth(!1)}},setTempMinInterval:function(){var t=this.result.to-this.result.from;null===this.old_min_interval&&(this.old_min_interval=this.options.min_interval),this.options.min_interval=t},restoreOriginalMinInterval:function(){null!==this.old_min_interval&&(this.options.min_interval=this.old_min_interval,this.old_min_interval=null)},calc:function(t){if(this.options&&(this.calc_count++,10!==this.calc_count&&!t||(this.calc_count=0,this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.calcHandlePercent()),this.coords.w_rs)){this.calcPointerPercent();var e=this.getHandleX();switch("both"===this.target&&(this.coords.p_gap=0,e=this.getHandleX()),"click"===this.target&&(this.coords.p_gap=this.coords.p_handle/2,e=this.getHandleX(),this.options.drag_interval?this.target="both_one":this.target=this.chooseHandle(e)),this.target){case"base":var i=(this.options.max-this.options.min)/100,n=(this.result.from-this.options.min)/i,o=(this.result.to-this.options.min)/i;this.coords.p_single_real=this.toFixed(n),this.coords.p_from_real=this.toFixed(n),this.coords.p_to_real=this.toFixed(o),this.coords.p_single_real=this.checkDiapason(this.coords.p_single_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_single_fake=this.convertToFakePercent(this.coords.p_single_real),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real),this.target=null;break;case"single":if(this.options.from_fixed)break;this.coords.p_single_real=this.convertToRealPercent(e),this.coords.p_single_real=this.calcWithStep(this.coords.p_single_real),this.coords.p_single_real=this.checkDiapason(this.coords.p_single_real,this.options.from_min,this.options.from_max),this.coords.p_single_fake=this.convertToFakePercent(this.coords.p_single_real);break;case"from":if(this.options.from_fixed)break;this.coords.p_from_real=this.convertToRealPercent(e),this.coords.p_from_real=this.calcWithStep(this.coords.p_from_real),this.coords.p_from_real>this.coords.p_to_real&&(this.coords.p_from_real=this.coords.p_to_real),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkMinInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_real=this.checkMaxInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real);break;case"to":if(this.options.to_fixed)break;this.coords.p_to_real=this.convertToRealPercent(e),this.coords.p_to_real=this.calcWithStep(this.coords.p_to_real),this.coords.p_to_real<this.coords.p_from_real&&(this.coords.p_to_real=this.coords.p_from_real),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_real=this.checkMinInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_real=this.checkMaxInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real);break;case"both":if(this.options.from_fixed||this.options.to_fixed)break;e=this.toFixed(e+.001*this.coords.p_handle),this.coords.p_from_real=this.convertToRealPercent(e)-this.coords.p_gap_left,this.coords.p_from_real=this.calcWithStep(this.coords.p_from_real),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkMinInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_real=this.convertToRealPercent(e)+this.coords.p_gap_right,this.coords.p_to_real=this.calcWithStep(this.coords.p_to_real),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_real=this.checkMinInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real);break;case"both_one":if(this.options.from_fixed||this.options.to_fixed)break;var r=this.convertToRealPercent(e),s=this.result.from_percent,a=this.result.to_percent-s,l=a/2,h=r-l,u=r+l;h<0&&(u=(h=0)+a),100<u&&(h=(u=100)-a),this.coords.p_from_real=this.calcWithStep(h),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_real=this.calcWithStep(u),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real)}"single"===this.options.type?(this.coords.p_bar_x=this.coords.p_handle/2,this.coords.p_bar_w=this.coords.p_single_fake,this.result.from_percent=this.coords.p_single_real,this.result.from=this.convertToValue(this.coords.p_single_real),this.result.from_pretty=this._prettify(this.result.from),this.options.values.length&&(this.result.from_value=this.options.values[this.result.from])):(this.coords.p_bar_x=this.toFixed(this.coords.p_from_fake+this.coords.p_handle/2),this.coords.p_bar_w=this.toFixed(this.coords.p_to_fake-this.coords.p_from_fake),this.result.from_percent=this.coords.p_from_real,this.result.from=this.convertToValue(this.coords.p_from_real),this.result.from_pretty=this._prettify(this.result.from),this.result.to_percent=this.coords.p_to_real,this.result.to=this.convertToValue(this.coords.p_to_real),this.result.to_pretty=this._prettify(this.result.to),this.options.values.length&&(this.result.from_value=this.options.values[this.result.from],this.result.to_value=this.options.values[this.result.to])),this.calcMinMax(),this.calcLabels()}}
1,calcPointerPercent:function(){this.coords.w_rs?(this.coords.x_pointer<0||isNaN(this.coords.x_pointer)?this.coords.x_pointer=0:this.coords.x_pointer>this.coords.w_rs&&(this.coords.x_pointer=this.coords.w_rs),this.coords.p_pointer=this.toFixed(this.coords.x_pointer/this.coords.w_rs*100)):this.coords.p_pointer=0},convertToRealPercent:function(t){return t/(100-this.coords.p_handle)*100},convertToFakePercent:function(t){return t/100*(100-this.coords.p_handle)},getHandleX:function(){var t=100-this.coords.p_handle,e=this.toFixed(this.coords.p_pointer-this.coords.p_gap);return e<0?e=0:t<e&&(e=t),e},calcHandlePercent:function(){"single"===this.options.type?this.coords.w_handle=this.$cache.s_single.outerWidth(!1):this.coords.w_handle=this.$cache.s_from.outerWidth(!1),this.coords.p_handle=this.toFixed(this.coords.w_handle/this.coords.w_rs*100)},chooseHandle:function(t){return"single"===this.options.type?"single":this.coords.p_from_real+(this.coords.p_to_real-this.coords.p_from_real)/2<=t?this.options.to_fixed?"from":"to":this.options.from_fixed?"to":"from"},calcMinMax:function(){this.coords.w_rs&&(this.labels.p_min=this.labels.w_min/this.coords.w_rs*100,this.labels.p_max=this.labels.w_max/this.coords.w_rs*100)},calcLabels:function(){this.coords.w_rs&&!this.options.hide_from_to&&("single"===this.options.type?(this.labels.w_single=this.$cache.single.outerWidth(!1),this.labels.p_single_fake=this.labels.w_single/this.coords.w_rs*100,this.labels.p_single_left=this.coords.p_single_fake+this.coords.p_handle/2-this.labels.p_single_fake/2):(this.labels.w_from=this.$cache.from.outerWidth(!1),this.labels.p_from_fake=this.labels.w_from/this.coords.w_rs*100,this.labels.p_from_left=this.coords.p_from_fake+this.coords.p_handle/2-this.labels.p_from_fake/2,this.labels.p_from_left=this.toFixed(this.labels.p_from_left),this.labels.p_from_left=this.checkEdges(this.labels.p_from_left,this.labels.p_from_fake),this.labels.w_to=this.$cache.to.outerWidth(!1),this.labels.p_to_fake=this.labels.w_to/this.coords.w_rs*100,this.labels.p_to_left=this.coords.p_to_fake+this.coords.p_handle/2-this.labels.p_to_fake/2,this.labels.p_to_left=this.toFixed(this.labels.p_to_left),this.labels.p_to_left=this.checkEdges(this.labels.p_to_left,this.labels.p_to_fake),this.labels.w_single=this.$cache.single.outerWidth(!1),this.labels.p_single_fake=this.labels.w_single/this.coords.w_rs*100,this.labels.p_single_left=(this.labels.p_from_left+this.labels.p_to_left+this.labels.p_to_fake)/2-this.labels.p_single_fake/2,this.labels.p_single_left=this.toFixed(this.labels.p_single_left)),this.labels.p_single_left=this.checkEdges(this.labels.p_single_left,this.labels.p_single_fake))},updateScene:function(){this.raf_id&&(cancelAnimationFrame(this.raf_id),this.raf_id=null),clearTimeout(this.update_tm),this.update_tm=null,this.options&&(this.drawHandles(),this.is_active?this.raf_id=requestAnimationFrame(this.updateScene.bind(this)):this.update_tm=setTimeout(this.updateScene.bind(this),300))},drawHandles:function(){this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.coords.w_rs&&(this.coords.w_rs!==this.coords.w_rs_old&&(this.target="base",this.is_resize=!0),this.coords.w_rs===this.coords.w_rs_old&&!this.force_redraw||(this.setMinMax(),this.calc(!0),this.drawLabels(),this.options.grid&&(this.calcGridMargin(),this.calcGridLabels()),this.force_redraw=!0,this.coords.w_rs_old=this.coords.w_rs,this.drawShadow()),this.coords.w_rs&&(this.dragging||this.force_redraw||this.is_key)&&((this.old_from!==this.result.from||this.old_to!==this.result.to||this.force_redraw||this.is_key)&&(this.drawLabels(),this.$cache.bar[0].style.left=this.coords.p_bar_x+"%",this.$cache.bar[0].style.width=this.coords.p_bar_w+"%","single"===this.options.type?(this.$cache.bar[0].style.left=0,this.$cache.bar[0].style.width=this.coords.p_bar_w+this.coords.p_bar_x+"%",this.$cache.s_single[0].style.left=this.coords.p_single_fake+"%"):(this.$cache.s_from[0].style.left=this.coords.p_from_fake+"%",this.$cache.s_to[0].style.left=this.coords.p_to_fake+"%",this.old_from===this.result.from&&!this.force_redraw||(this.$cache.from[0].style.left=this.labels.p_from_left+"%"),this.old_to===this.result.to&&!this.force_redraw||(this.$cache.to[0].style.left=this.labels.p_to_left+"%")),this.$cache.single[0].style.left=this.labels.p_single_left+"%",this.writeToInput(),this.old_from===this.result.from&&this.old_to===this.result.to||this.is_start||(this.$cache.input.trigger("change"),this.$cache.input.trigger("input")),this.old_from=this.result.from,this.old_to=this.result.to,this.is_resize||this.is_update||this.is_start||this.is_finish||this.callOnChange(),(this.is_key||this.is_click)&&(this.is_key=!1,this.is_click=!1,this.callOnFinish()),this.is_update=!1,this.is_resize=!1,this.is_finish=!1),this.is_start=!1,this.is_key=!1,this.is_click=!1,this.force_redraw=!1))},drawLabels:function(){if(this.options){var t,e,i,n,o,r=this.options.values.length,s=this.options.p_values;if(!this.options.hide_from_to)if("single"===this.options.type)t=r?this.decorate(s[this.result.from]):(n=this._prettify(this.result.from),this.decorate(n,this.result.from)),this.$cache.single.html(t),this.calcLabels(),this.labels.p_single_left<this.labels.p_min+1?this.$cache.min[0].style.visibility="hidden":this.$cache.min[0].style.visibility="visible",this.labels.p_single_left+this.labels.p_single_fake>100-this.labels.p_max-1?this.$cache.max[0].style.visibility="hidden":this.$cache.max[0].style.visibility="visible";else{i=r?(this.options.decorate_both?(t=this.decorate(s[this.result.from]),t+=this.options.values_separator,t+=this.decorate(s[this.result.to])):t=this.decorate(s[this.result.from]+this.options.values_separator+s[this.result.to]),e=this.decorate(s[this.result.from]),this.decorate(s[this.result.to])):(n=this._prettify(this.result.from),o=this._prettify(this.result.to),this.options.decorate_both?(t=this.decorate(n,this.result.from),t+=this.options.values_separator,t+=this.decorate(o,this.result.to)):t=this.decorate(n+this.options.values_separator+o,this.result.to),e=this.decorate(n,this.result.from),this.decorate(o,this.result.to)),this.$cache.single.html(t),this.$cache.from.html(e),this.$cache.to.html(i),this.calcLabels();var a=Math.min(this.labels.p_single_left,this.labels.p_from_left),l=this.labels.p_single_left+this.labels.p_single_fake,h=this.labels.p_to_left+this.labels.p_to_fake,u=Math.max(l,h);this.labels.p_from_left+this.labels.p_from_fake>=this.labels.p_to_left?(this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.single[0].style.visibility="visible",u=this.result.from===this.result.to?("from"===this.target?this.$cache.from[0].style.visibility="visible":"to"===this.target?this.$cache.to[0].style.visibility="visible":this.target||(this.$cache.from[0].style.visibility="visible"),this.$cache.single[0].style.visibility="hidden",h):(this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.single[0].style.visibility="visible",Math.max(l,h))):(this.$cache.from[0].style.visibility="visible",this.$cache.to[0].style.visibility="visible",this.$cache.single[0].style.visibility="hidden"),a<this.labels.p_min+1?this.$cache.min[0].style.visibility="hidden":this.$cache.min[0].style.visibility="visible",u>100-this.labels.p_max-1?this.$cache.max[0].style.visibility="hidden":this.$cache.max[0].style.visibility="visible"}}},drawShadow:function(){var t,e,i,n,o=this.options,r=this.$cache,s="number"==typeof o.from_min&&!isNaN(o.from_min),a="number"==typeof o.from_max&&!isNaN(o.from_max),l="number"==typeof o.to_min&&!isNaN(o.to_min),h="number"==typeof o.to_max&&!isNaN(o.to_max);"single"===o.type?o.from_shadow&&(s||a)?(t=this.convertToPercent(s?o.from_min:o.min),e=this.convertToPercent(a?o.from_max:o.max)-t,t=this.toFixed(t-this.coords.p_handle/100*t),e=this.toFixed(e-this.coords.p_handle/100*e),t+=this.coords.p_handle/2,r.shad_single[0].style.display="block",r.shad_single[0].style.left=t+"%",r.shad_single[0].style.width=e+"%"):r.shad_single[0].style.display="none":(o.from_shadow&&(s||a)?(t=this.convertToPercent(s?o.from_min:o.min),e=this.convertToPercent(a?o.from_max:o.max)-t,t=this.toFixed(t-this.coords.p_handle/100*t),e=this.toFixed(e-this.coords.p_handle/100*e),t+=this.coords.p_handle/2,r.shad_from[0].style.display="block",r.shad_from[0].style.left=t+"%",r.shad_from[0].style.width=e+"%"):r.shad_from[0].style.display="none",o.to_shadow&&(l||h)?(i=this.convertToPercent(l?o.to_min:o.min),n=this.convertToPercent(h?o.to_max:o.max)-i,i=this.toFixed(i-this.coords.p_handle/100*i),n=this.toFixed(n-this.coords.p_handle/100*n),i+=this.coords.p_handle/2,r.shad_to[0].style.display="block",r.shad_to[0].style.left=i+"%",r.shad_to[0].style.width=n+"%"):r.shad_to[0].style.display="none")}
1,writeToInput:function(){"single"===this.options.type?(this.options.values.length?this.$cache.input.prop("value",this.result.from_value):this.$cache.input.prop("value",this.result.from),this.$cache.input.data("from",this.result.from)):(this.options.values.length?this.$cache.input.prop("value",this.result.from_value+this.options.input_values_separator+this.result.to_value):this.$cache.input.prop("value",this.result.from+this.options.input_values_separator+this.result.to),this.$cache.input.data("from",this.result.from),this.$cache.input.data("to",this.result.to))},callOnStart:function(){this.writeToInput(),this.options.onStart&&"function"==typeof this.options.onStart&&(this.options.scope?this.options.onStart.call(this.options.scope,this.result):this.options.onStart(this.result))},callOnChange:function(){this.writeToInput(),this.options.onChange&&"function"==typeof this.options.onChange&&(this.options.scope?this.options.onChange.call(this.options.scope,this.result):this.options.onChange(this.result))},callOnFinish:function(){this.writeToInput(),this.options.onFinish&&"function"==typeof this.options.onFinish&&(this.options.scope?this.options.onFinish.call(this.options.scope,this.result):this.options.onFinish(this.result))},callOnUpdate:function(){this.writeToInput(),this.options.onUpdate&&"function"==typeof this.options.onUpdate&&(this.options.scope?this.options.onUpdate.call(this.options.scope,this.result):this.options.onUpdate(this.result))},toggleInput:function(){this.$cache.input.toggleClass("irs-hidden-input"),this.has_tab_index?this.$cache.input.prop("tabindex",-1):this.$cache.input.removeProp("tabindex"),this.has_tab_index=!this.has_tab_index},convertToPercent:function(t,e){var i,n=this.options.max-this.options.min,o=n/100;return n?(i=(e?t:t-this.options.min)/o,this.toFixed(i)):(this.no_diapason=!0,0)},convertToValue:function(t){var e,i,n=this.options.min,o=this.options.max,r=n.toString().split(".")[1],s=o.toString().split(".")[1],a=0,l=0;if(0===t)return this.options.min;if(100===t)return this.options.max;r&&(a=e=r.length),s&&(a=i=s.length),e&&i&&(a=i<=e?e:i),n<0&&(n=+(n+(l=Math.abs(n))).toFixed(a),o=+(o+l).toFixed(a));var h,u=(o-n)/100*t+n,c=this.options.step.toString().split(".")[1];return u=c?+u.toFixed(c.length):(u/=this.options.step,+(u*=this.options.step).toFixed(0)),l&&(u-=l),(h=c?+u.toFixed(c.length):this.toFixed(u))<this.options.min?h=this.options.min:h>this.options.max&&(h=this.options.max),h},calcWithStep:function(t){var e=Math.round(t/this.coords.p_step)*this.coords.p_step;return 100<e&&(e=100),100===t&&(e=100),this.toFixed(e)},checkMinInterval:function(t,e,i){var n,o,r=this.options;return r.min_interval?(n=this.convertToValue(t),o=this.convertToValue(e),"from"===i?o-n<r.min_interval&&(n=o-r.min_interval):n-o<r.min_interval&&(n=o+r.min_interval),this.convertToPercent(n)):t},checkMaxInterval:function(t,e,i){var n,o,r=this.options;return r.max_interval?(n=this.convertToValue(t),o=this.convertToValue(e),"from"===i?o-n>r.max_interval&&(n=o-r.max_interval):n-o>r.max_interval&&(n=o+r.max_interval),this.convertToPercent(n)):t},checkDiapason:function(t,e,i){var n=this.convertToValue(t),o=this.options;return"number"!=typeof e&&(e=o.min),"number"!=typeof i&&(i=o.max),n<e&&(n=e),i<n&&(n=i),this.convertToPercent(n)},toFixed:function(t){return+(t=t.toFixed(20))},_prettify:function(t){return this.options.prettify_enabled?this.options.prettify&&"function"==typeof this.options.prettify?this.options.prettify(t):this.prettify(t):t},prettify:function(t){return t.toString().replace(/(\d{1,3}(?=(?:\d\d\d)+(?!\d)))/g,"$1"+this.options.prettify_separator)},checkEdges:function(t,e){return this.options.force_edges&&(t<0?t=0:100-e<t&&(t=100-e)),this.toFixed(t)},validate:function(){var t,e,i=this.options,n=this.result,o=i.values,r=o.length;if("string"==typeof i.min&&(i.min=+i.min),"string"==typeof i.max&&(i.max=+i.max),"string"==typeof i.from&&(i.from=+i.from),"string"==typeof i.to&&(i.to=+i.to),"string"==typeof i.step&&(i.step=+i.step),"string"==typeof i.from_min&&(i.from_min=+i.from_min),"string"==typeof i.from_max&&(i.from_max=+i.from_max),"string"==typeof i.to_min&&(i.to_min=+i.to_min),"string"==typeof i.to_max&&(i.to_max=+i.to_max),"string"==typeof i.grid_num&&(i.grid_num=+i.grid_num),i.max<i.min&&(i.max=i.min),r)for(i.p_values=[],i.min=0,i.max=r-1,i.step=1,i.grid_num=i.max,i.grid_snap=!0,e=0;e<r;e++)t=+o[e],t=isNaN(t)?o[e]:(o[e]=t,this._prettify(t)),i.p_values.push(t);"number"==typeof i.from&&!isNaN(i.from)||(i.from=i.min),"number"==typeof i.to&&!isNaN(i.to)||(i.to=i.max),"single"===i.type?(i.from<i.min&&(i.from=i.min),i.from>
1i.max&&(i.from=i.max)):(i.from<i.min&&(i.from=i.min),i.from>i.max&&(i.from=i.max),i.to<i.min&&(i.to=i.min),i.to>i.max&&(i.to=i.max),this.update_check.from&&(this.update_check.from!==i.from&&i.from>i.to&&(i.from=i.to),this.update_check.to!==i.to&&i.to<i.from&&(i.to=i.from)),i.from>i.to&&(i.from=i.to),i.to<i.from&&(i.to=i.from)),("number"!=typeof i.step||isNaN(i.step)||!i.step||i.step<0)&&(i.step=1),"number"==typeof i.from_min&&i.from<i.from_min&&(i.from=i.from_min),"number"==typeof i.from_max&&i.from>i.from_max&&(i.from=i.from_max),"number"==typeof i.to_min&&i.to<i.to_min&&(i.to=i.to_min),"number"==typeof i.to_max&&i.from>i.to_max&&(i.to=i.to_max),n&&(n.min!==i.min&&(n.min=i.min),n.max!==i.max&&(n.max=i.max),(n.from<n.min||n.from>n.max)&&(n.from=i.from),(n.to<n.min||n.to>n.max)&&(n.to=i.to)),("number"!=typeof i.min_interval||isNaN(i.min_interval)||!i.min_interval||i.min_interval<0)&&(i.min_interval=0),("number"!=typeof i.max_interval||isNaN(i.max_interval)||!i.max_interval||i.max_interval<0)&&(i.max_interval=0),i.min_interval&&i.min_interval>i.max-i.min&&(i.min_interval=i.max-i.min),i.max_interval&&i.max_interval>i.max-i.min&&(i.max_interval=i.max-i.min)},decorate:function(t,e){var i="",n=this.options;return n.prefix&&(i+=n.prefix),i+=t,n.max_postfix&&(n.values.length&&t===n.p_values[n.max]?(i+=n.max_postfix,n.postfix&&(i+=" ")):e===n.max&&(i+=n.max_postfix,n.postfix&&(i+=" "))),n.postfix&&(i+=n.postfix),i},updateFrom:function(){this.result.from=this.options.from,this.result.from_percent=this.convertToPercent(this.result.from),this.result.from_pretty=this._prettify(this.result.from),this.options.values&&(this.result.from_value=this.options.values[this.result.from])},updateTo:function(){this.result.to=this.options.to,this.result.to_percent=this.convertToPercent(this.result.to),this.result.to_pretty=this._prettify(this.result.to),this.options.values&&(this.result.to_value=this.options.values[this.result.to])},updateResult:function(){this.result.min=this.options.min,this.result.max=this.options.max,this.updateFrom(),this.updateTo()},appendGrid:function(){if(this.options.grid){var t,e,i,n,o,r,s=this.options,a=s.max-s.min,l=s.grid_num,h=0,u=4,c="";for(this.calcGridMargin(),s.grid_snap&&(l=a/s.step),50<l&&(l=50),i=this.toFixed(100/l),4<l&&(u=3),7<l&&(u=2),14<l&&(u=1),28<l&&(u=0),t=0;t<l+1;t++){for(n=u,100<(h=this.toFixed(i*t))&&(h=100),o=((this.coords.big[t]=h)-i*(t-1))/(n+1),e=1;e<=n&&0!==h;e++)c+='<span class="irs-grid-pol small" style="left: '+this.toFixed(h-o*e)+'%"></span>';c+='<span class="irs-grid-pol" style="left: '+h+'%"></span>',r=this.convertToValue(h),c+='<span class="irs-grid-text js-grid-text-'+t+'" style="left: '+h+'%">'+(r=s.values.length?s.p_values[r]:this._prettify(r))+"</span>"}this.coords.big_num=Math.ceil(l+1),this.$cache.cont.addClass("irs-with-grid"),this.$cache.grid.html(c),this.cacheGridLabels()}},cacheGridLabels:function(){var t,e,i=this.coords.big_num;for(e=0;e<i;e++)t=this.$cache.grid.find(".js-grid-text-"+e),this.$cache.grid_labels.push(t);this.calcGridLabels()},calcGridLabels:function(){var t,e,i=[],n=[],o=this.coords.big_num;for(t=0;t<o;t++)this.coords.big_w[t]=this.$cache.grid_labels[t].outerWidth(!1),this.coords.big_p[t]=this.toFixed(this.coords.big_w[t]/this.coords.w_rs*100),this.coords.big_x[t]=this.toFixed(this.coords.big_p[t]/2),i[t]=this.toFixed(this.coords.big[t]-this.coords.big_x[t]),n[t]=this.toFixed(i[t]+this.coords.big_p[t]);for(this.options.force_edges&&(i[0]<-this.coords.grid_gap&&(i[0]=-this.coords.grid_gap,n[0]=this.toFixed(i[0]+this.coords.big_p[0]),this.coords.big_x[0]=this.coords.grid_gap),n[o-1]>100+this.coords.grid_gap&&(n[o-1]=100+this.coords.grid_gap,i[o-1]=this.toFixed(n[o-1]-this.coords.big_p[o-1]),this.coords.big_x[o-1]=this.toFixed(this.coords.big_p[o-1]-this.coords.grid_gap))),this.calcGridCollision(2,i,n),this.calcGridCollision(4,i,n),t=0;t<o;t++)e=this.$cache.grid_labels[t][0],this.coords.big_x[t]!==Number.POSITIVE_INFINITY&&(e.style.marginLeft=-this.coords.big_x[t]+"%")},calcGridCollision:function(t,e,i){var n,o,r,s=this.coords.big_num;for(n=0;n<s&&!(s<=(o=n+t/2));n+=t)r=this.$cache.grid_labels[o][0],i[n]<=e[o]?r.style.visibility="visible":r.style.visibility="hidden"},calcGridMargin:function(){this.options.grid_margin&&(this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.coords.w_rs&&("single"===this.options.type?this.coords.w_handle=this.$cache.s_single.outerWidth(!1):this.coords.w_handle=this.$cache.s_from.outerWidth(!1),this.coords.p_handle=this.toFixed(this.coords.w_handle/this.coords.w_rs*100),this.coords.grid_gap=this.toFixed(this.coords.p_handle/2-.1),this.$cache.grid[
10].style.width=this.toFixed(100-this.coords.p_handle)+"%",this.$cache.grid[0].style.left=this.coords.grid_gap+"%"))},update:function(t){this.input&&(this.is_update=!0,this.options.from=this.result.from,this.options.to=this.result.to,this.update_check.from=this.result.from,this.update_check.to=this.result.to,this.options=l.extend(this.options,t),this.validate(),this.updateResult(t),this.toggleInput(),this.remove(),this.init(!0))},reset:function(){this.input&&(this.updateResult(),this.update())},destroy:function(){this.input&&(this.toggleInput(),this.$cache.input.prop("readonly",!1),l.data(this.input,"ionRangeSlider",null),this.remove(),this.input=null,this.options=null)}},l.fn.ionRangeSlider=function(t){return this.each(function(){l.data(this,"ionRangeSlider")||l.data(this,"ionRangeSlider",new r(this,t,n++))})},function(){for(var r=0,t=["ms","moz","webkit","o"],e=0;e<t.length&&!u.requestAnimationFrame;++e)u.requestAnimationFrame=u[t[e]+"RequestAnimationFrame"],u.cancelAnimationFrame=u[t[e]+"CancelAnimationFrame"]||u[t[e]+"CancelRequestAnimationFrame"];u.requestAnimationFrame||(u.requestAnimationFrame=function(t,e){var i=(new Date).getTime(),n=Math.max(0,16-(i-r)),o=u.setTimeout(function(){t(i+n)},n);return r=i+n,o}),u.cancelAnimationFrame||(u.cancelAnimationFrame=function(t){clearTimeout(t)})}()}),function(){"use strict";function e(t){if(!t)throw new Error("No options passed to Waypoint constructor");if(!t.element)throw new Error("No element option passed to Waypoint constructor");if(!t.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+i,this.options=e.Adapter.extend({},e.defaults,t),this.element=this.options.element,this.adapter=new e.Adapter(this.element),this.callback=t.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=e.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=e.Context.findOrCreateByElement(this.options.context),e.offsetAliases[this.options.offset]&&(this.options.offset=e.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),r[this.key]=this,i+=1}var i=0,r={};e.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},e.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},e.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete r[this.key]},e.prototype.disable=function(){return this.enabled=!1,this},e.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},e.prototype.next=function(){return this.group.next(this)},e.prototype.previous=function(){return this.group.previous(this)},e.invokeAll=function(t){var e=[];for(var i in r)e.push(r[i]);for(var n=0,o=e.length;n<o;n++)e[n][t]()},e.destroyAll=function(){e.invokeAll("destroy")},e.disableAll=function(){e.invokeAll("disable")},e.enableAll=function(){for(var t in e.Context.refreshAll(),r)r[t].enabled=!0;return this},e.refreshAll=function(){e.Context.refreshAll()},e.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},e.viewportWidth=function(){return document.documentElement.clientWidth},e.adapters=[],e.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},e.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=e}(),function(){"use strict";function e(t){window.setTimeout(t,1e3/60)}function i(t){this.element=t,this.Adapter=m.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+n,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,o[t.waypointContextKey]=this,n+=1,m.windowContext||(m.windowContext=!0,m.windowContext=new i(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var n=0,o={},m=window.Waypoint,t=window.onload;i.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},i.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical),i=this.element==this.element.window;t&&e&&!i&&(this.adapter.off(".waypoints"),delete o[this.key])},i.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",function(){e.didResize||(e.didResize=!0,m.requestAnimationFrame(t))})},i.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",function(){e.didScroll&&!m.isTouch||(e.didScroll=!0,m.requestAnimationFrame(t))})},i.prototype.handleResize=function(){m.Context.refreshAll()},i.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in e){var n=e[i],o=n.newScroll>n.oldScroll?n.forward:n.backward;for(var r in this.waypoints[i]){var s=this.waypoints[i][r];if(null!==s.triggerPoint){var a=n.oldScroll<s.triggerPoint,l=n.newScroll>=s.triggerPoint;(a&&l||!a&&!l)&&(s.queueTrigger(o),t[s.group.id]=s.group)}}}for(var h in t)t[h].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}}
1,i.prototype.innerHeight=function(){return this.element==this.element.window?m.viewportHeight():this.adapter.innerHeight()},i.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},i.prototype.innerWidth=function(){return this.element==this.element.window?m.viewportWidth():this.adapter.innerWidth()},i.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var n=0,o=t.length;n<o;n++)t[n].destroy()},i.prototype.refresh=function(){var t,e=this.element==this.element.window,i=e?void 0:this.adapter.offset(),n={};for(var o in this.handleScroll(),t={horizontal:{contextOffset:e?0:i.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:i.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var r=t[o];for(var s in this.waypoints[o]){var a,l,h,u,c=this.waypoints[o][s],d=c.options.offset,f=c.triggerPoint,p=0,_=null==f;c.element!==c.element.window&&(p=c.adapter.offset()[r.offsetProp]),"function"==typeof d?d=d.apply(c):"string"==typeof d&&(d=parseFloat(d),-1<c.options.offset.indexOf("%")&&(d=Math.ceil(r.contextDimension*d/100))),a=r.contextScroll-r.contextOffset,c.triggerPoint=Math.floor(p+a-d),l=f<r.oldScroll,h=c.triggerPoint>=r.oldScroll,u=!l&&!h,!_&&(l&&h)?(c.queueTrigger(r.backward),n[c.group.id]=c.group):!_&&u?(c.queueTrigger(r.forward),n[c.group.id]=c.group):_&&r.oldScroll>=c.triggerPoint&&(c.queueTrigger(r.forward),n[c.group.id]=c.group)}}return m.requestAnimationFrame(function(){for(var t in n)n[t].flushTriggers()}),this},i.findOrCreateByElement=function(t){return i.findByElement(t)||new i(t)},i.refreshAll=function(){for(var t in o)o[t].refresh()},i.findByElement=function(t){return o[t.waypointContextKey]},window.onload=function(){t&&t(),i.refreshAll()},m.requestAnimationFrame=function(t){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||e).call(window,t)},m.Context=i}(),function(){"use strict";function s(t,e){return t.triggerPoint-e.triggerPoint}function a(t,e){return e.triggerPoint-t.triggerPoint}function e(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),i[this.axis][this.name]=this}var i={vertical:{},horizontal:{}},n=window.Waypoint;e.prototype.add=function(t){this.waypoints.push(t)},e.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},e.prototype.flushTriggers=function(){for(var t in this.triggerQueues){var e=this.triggerQueues[t],i="up"===t||"left"===t;e.sort(i?a:s);for(var n=0,o=e.length;n<o;n+=1){var r=e[n];!r.options.continuous&&n!==e.length-1||r.trigger([t])}}this.clearTriggerQueues()},e.prototype.next=function(t){this.waypoints.sort(s);var e=n.Adapter.inArray(t,this.waypoints);return e===this.waypoints.length-1?null:this.waypoints[e+1]},e.prototype.previous=function(t){this.waypoints.sort(s);var e=n.Adapter.inArray(t,this.waypoints);return e?this.waypoints[e-1]:null},e.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},e.prototype.remove=function(t){var e=n.Adapter.inArray(t,this.waypoints);-1<e&&this.waypoints.splice(e,1)},e.prototype.first=function(){return this.waypoints[0]},e.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},e.findOrCreate=function(t){return i[t.axis][t.name]||new e(t)},n.Group=e}(),function(){"use strict";function i(t){this.$element=n(t)}var n=window.jQuery,t=window.Waypoint;n.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(t,e){i.prototype[e]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[e].apply(this.$element,t)}}),n.each(["extend","inArray","isEmptyObject"],function(t,e){i[e]=n[e]}),t.adapters.push({name:"jquery",Adapter:i}),t.Adapter=i}(),function(){"use strict";function t(n){return function(){var e=[],i=arguments[0];return n.isFunction(arguments[0])&&((i=n.extend({},arguments[1])).handler=arguments[0]),this.each(function(){var t=n.extend({},i,{element:this});"string"==typeof t.context&&(t.context=n(this).closest(t.context)[0]),e.push(new o(t))}),e}}var o=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}();"use strict";function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function _createClass(t,e,i){return e&&_defineProperties(t.prototype,e),i&&_defineProperties(t,i),t}function _typeof(t){return(_typeof="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){"function"==typeof define&&define.amd?define(["jquery"],i):"object"===("undefined"==typeof module?"undefined":_typeof(module))&&module.exports?module.exports=function(t,e){return void 0===e&&(e="undefined"!=typeof window?require("jquery"):require("jquery")(t)),i(e),e}:i(jQuery)}(function(m){var i={selected:0,theme:"default",justified:!0,darkMode:!1,autoAdjustHeight:!0,cycleSteps:!1,backButtonSupport:!0,enableURLhash:!0,transition:{animation:"none",speed:"400",easing:""},toolbarSettings:{toolbarPosition:"bottom",toolbarButtonPosition:"right",showNextButton:!0,showPreviousButton:!0,toolbarExtraButtons:[]},anchorSettings:{anchorClickable:!0,enableAllAnchors:!1,markDoneStep:!0,markAllPreviousStepsAsDone:!0,removeDoneStepOnNavigateBack:!1,enableAnchorOnDoneStep:!0},keyboardSettings:{keyNavigation:!0,keyLeft:[37],keyRight:[39]},lang:{next:"Next",previous:"Previous"},disabledSteps:[],errorSteps:[],hiddenSteps:[]},n=(_createClass(o,[{key:"_initLoad",value:function(){this.pages.hide(),this.steps.removeClass("done active"),this.current_index=null;var t=this._getStepIndex();this._setPreviousStepsDone(t),this._showStep(t)}},{key:"_initOptions",value:function(){this._setElements(),this._setToolbar(),this._setEvents()}},{key:"_getFirstDescendant",value:function(n){var o=this.main.children(n);return 0<o.length?o:(this.main.children().each(function(t,e){var i=m(e).children(n);if(0<i.length)return o=i,!1}),0<o.length?o:(this._showError("Element not found "+n),!1))}},{key:"_setElements",value:function(){this.main.addClass("sw"),this._setTheme(this.options.theme),this._setJustify(this.options.justified),this._setDarkMode(this.options.darkMode),!0===this.options.anchorSettings.enableAllAnchors&&!0===this.options.anchorSettings.anchorClickable||this.steps.addClass("inactive"),this._setCSSClass(this.options.disabledSteps,"disabled"),this._setCSSClass(this.options.errorSteps,"danger"),this._setCSSClass(this.options.hiddenSteps,"hidden")}},{key:"_setEvents",value:function(){var i=this;if(this.main.data("click-init"))return!0;this.main.data("click-init",!0),m(this.steps).on("click",function(t){if(t.preventDefault(),!1===i.options.anchorSettings.anchorClickable)return!0;var e=i.steps.index(t.currentTarget);return e===i.current_index||!(!1!==i.options.anchorSettings.enableAnchorOnDoneStep||!i._isDone(e))||void(!1===i.options.anchorSettings.enableAllAnchors&&!i._isDone(e)||i._showStep(e))}),this.main.find(".sw-btn-next").on("click",function(t){t.preventDefault(),i._showNext()}),this.main.find(".sw-btn-prev").on("click",function(t){t.preventDefault(),i._showPrevious()}),this.options.keyboardSettings.keyNavigation&&m(document).keyup(function(t){i._keyNav(t)}),this.options.backButtonSupport&&m(window).on("hashchange",function(t){var e=i._getURLHashIndex();!1!==e&&(t.preventDefault(),i._showStep(e))})}},{key:"_setToolbar",value:function(){if("none"===this.options.toolbarSettings.toolbarPosition)return!0;switch(this.options.toolbarSettings.toolbarPosition){case"top":this.container.before(this._createToolbar("top"));break;case"bottom":this.container.after(this._createToolbar("bottom"));break;case"both":this.container.before(this._createToolbar("top")),this.container.after(this._createToolbar("bottom"));break;default:this.container.after(this._createToolbar("bottom"))}}},{key:"_createToolbar",value:function(t){if(0<this.main.find(".toolbar-"+t).length)return null;var i=m("<div></div>").addClass("toolbar toolbar-"+t).attr("role","toolbar"),e=!1!==this.options.toolbarSettings.showNextButton?m("<button></button>").text(this.options.lang.next).addClass("btn sw-btn-next").attr("type","button"):null,n=!1!==this.options.toolbarSettings.showPreviousButton?m("<button></button>").text(this.options.lang.previous).addClass("btn sw-btn-prev").attr("type","button"):null;return i.append(n,e),this.options.toolbarSettings.toolbarExtraButtons&&0<this.options.toolbarSettings.toolbarExtraButtons.length&&m.each(this.options.toolbarSettings.toolbarExtraButtons,function(t,e){i.append(e.clone(!0))}),i.css("text-align",this.options.toolbarSettings.toolbarButtonPosition),i}},{key:"_showNext",value:function(){var t=this._getNextShowable(this.current_index);if(!1===t)return!1;this._showStep(t)}},{key:"_showPrevious",value:function(){var t=this._getPreviousShowable(this.current_index);if(!1===t)return!1;this._showStep(t)}},{key:"_showStep",value:function(t){return t!=this.current_index&&!!this.steps.eq(t)&&!!this._isShowable(t)&&void this._loadStep(t)}},{key:"_getNextShowable",value:function(t){for(var e=!1,i=t+1;i<this.steps.length;i++)if(this._isShowable(i)){e=i;break}if(!1!==e&&this.steps.length<=e){if(!this.options.cycleSteps)return!1;e=0}return e}},{key:"_getPreviousShowable",value:function(t){for(var e=!1,i=t-1;0<=i;i--)if(this._isShowable(i)){e=i;break}if(!1!==e&&e<0){if(!this.options.cycleSteps)return!1;e=this.steps.length-1}return e}},{key:"_isShowable",value:function(t){var e=this.steps.eq(t);return!e.hasClass("disabled")&&!e.hasClass("hidden")}},{key:"_isDone",value:function(t){return!!this.steps.eq(t).hasClass("done")}},{key:"_setPreviousStepsDone",value:function(t){if(0<t&&this.options.anchorSettings.markDoneStep&&this.options.anchorSettings.markAllPreviousStepsAsDone)for(var e=t;0<=e;e--)this._setCSSClass(e,"done")}},{key:"_setCSSClass",value:function(t,e){var i=this;if(null===t)return!1;(m.isArray(t)?t:[t]).map(function(t){i.steps.eq(t).addClass(e)})}},{key:"_resetCSSClass",value:function(t,e){var i=this;(m.isArray(t)?t:[t]).map(function(t){i.steps.eq(t).removeClass(e)})}},{key:"_getStepDirection",value:function(t){return null==this.current_index?"":this.current_index<t?"forward":"backward"}},{key:"_getStepPosition",value:function(t){var e="middle";return 0===t?e="first":t===this.steps.length-1&&(e="last"),e}},{key:"_getStepAnchor",value:function(t){return null==t?null:this.steps.eq(t)}},{key:"_getStepPage",value:function(t){if(null==t)return null;var e=this._getStepAnchor(t);return 0<e.length?this.main.find(e.attr("href")):null}},{key:"_setStepContent",value:function(t,e){var i=this._getStepPage(t);i&&i.html(e)}},{key:"_loadStep",value:function(e){var i=this,t=this._getStepAnchor(this.current_index),n=this._getStepDirection(e);if(null!==this.current_index&&!1===this._triggerEvent("leaveStep",[t,this.current_index,e,n]))return!1;var o=this._getStepAnchor(e),r=this._triggerEvent("stepContent",[o,e,n]);r?"object"==_typeof(r)?r.then(function(t){i._setStepContent(e,t),i._transitStep(e)}).catch(function(t){console.error(t),i._setStepContent(e,t),i._transitStep(e)}):("string"==typeof r&&this._setStepContent(e,r),this._transitStep(e)):this._transitStep(e)}},{key:"_transitStep",value:function(t){var e=this,i=this._getStepAnchor(t);this._setURLHash(i.attr("href")),this._setAnchor(t);var n=this._getStepDirection(t),o=this._getStepPosition(t);this._doStepAnimation(t,function(){e._fixHeight(t),e._triggerEvent("showStep",[i,e.current_index,n,o])}),this.current_index=t,this._setButtons(t)}},{key:"_doStepAnimation",value:function(t,e){var i=this,n=this._getStepPage(this.current_index),o=this._getStepPage(t),r=this.options.transition.animation.toLowerCase();switch(this._stopAnimations(),r){case"slide-horizontal":case"slide-h":var s,a,l=this.container.width(),h=l,u=-2*l;t>this.current_index&&(h=-1*l,u=l),null==this.current_index&&this.container.height(o.outerHeight()),n&&(s=n.css("position"),a=n.css("left"),n.css("position","absolute").css("left",0).animate({left:h},this.options.transition.speed,this.options.transition.easing,function(){m(this).hide(),n.css("position",s).css("left",a)})),s=o.css("position"),a=o.css("left"),o.css("position","absolute").css("left",u).outerWidth(l).show().animate({left:0},this.options.transition.speed,this.options.transition.easing,function(){o.css("position",s).css("left",a),e()});break;case"slide-vertical":case"slide-v":var c,d,f=this.container.height(),p=f,_=-2*f;t>this.current_index&&(p=-1*f,_=f),n&&(c=n.css("position"),d=n.css("top"),n.css("position","absolute").css("top",0).animate({top:p},this.options.transition.speed,this.options.transition.easing,function(){m(this).hide(),n.css("position",c).css("top",d)})),c=o.css("position"),d=o.css("top"),o.css("position","absolute").css("top",_).show().animate({top:0},this.options.transition.speed,this.options.transition.easing,function(){o.css("position",c).css("top",d),e()});break;case"slide-swing":case"slide-s":n?n.slideUp("fast",this.options.transition.easing,function(){o.slideDown(i.options.transition.speed,i.options.transition.easing,function(){e()})}):o.slideDown(this.options.transition.speed,this.options.transition.easing,function(){e()});break;case"fade":n?n.fadeOut("fast",this.options.transition.easing,function(){o.fadeIn("fast",i.options.transition.easing,function(){e()})}):o.fadeIn(this.options.transition.speed,this.options.transition.easing,function(){e()});break;default:n&&n.hide(),o.show(),e()}}},{key:"_stopAnimations",value:function(){this.pages.finish(),this.container.finish()}},{key:"_setAnchor",value:function(t){this._resetCSSClass(this.current_index,"active"),!1!==this.options.anchorSettings.markDoneStep&&null!==this.current_index&&(this._setCSSClass(this.current_index,"done"),!1!==this.options.anchorSettings.removeDoneStepOnNavigateBack&&"backward"===this._getStepDirection(t)&&this._resetCSSClass(this.current_index,"done")),this._resetCSSClass(t,"done"),this._setCSSClass(t,"active")}},{key:"_setButtons",value:function(t){if(!this.options.cycleSteps)switch(this.main.find(".sw-btn-prev").removeClass("disabled"),this.main.find(".sw-btn-next").removeClass("disabled"),this._getStepPosition(t)){case"first":this.main.find(".sw-btn-prev").addClass("disabled");break;case"last":this.main.find(".sw-btn-next").addClass("disabled");break;default:!1===this._getNextShowable(t)&&this.main.find(".sw-btn-next").addClass("disabled"),!1===this._getPreviousShowable(t)&&this.main.find(".sw-btn-prev").addClass("disabled")}}},{key:"_getStepIndex",value:function(){var t=this._getURLHashIndex();return!1===t?this.options.selected:t}},{key:"_setTheme",value:function(t){this.main.removeClass(function(t,e){return(e.match(/(^|\s)sw-theme-\S+/g)||[]).join(" ")}).addClass("sw-theme-"+t)}},{key:"_setJustify",value:function(t){!0===t?this.main.addClass("sw-justified"):this.main.removeClass("sw-justified")}},{key:"_setDarkMode",value:function(t){!0===t?this.main.addClass("sw-dark"):this.main.removeClass("sw-dark")}},{key:"_keyNav",value:function(t){if(-1<m.inArray(t.which,this.options.keyboardSettings.keyLeft))this._showPrevious(),t.preventDefault();else{if(!(-1<m.inArray(t.which,this.options.keyboardSettings.keyRight)))return;this._showNext(),t.preventDefault()}}},{key:"_fixHeight",value:function(t){var e;this.options.autoAdjustHeight&&(e=this._getStepPage(t),this.container.finish().animate({height:e.outerHeight()},this.options.transition.speed))}},{key:"_triggerEvent",value:function(t,e){var i=m.Event(t);return this.main.trigger(i,e),!i.isDefaultPrevented()&&i.result}},{key:"_setURLHash",value:function(t){this.options.enableURLhash&&window.location.hash!==t&&history.pushState(null,null,t)}},{key:"_getURLHashIndex",value:function(){if(this.options.enableURLhash){var t=window.location.hash;if(0<t.leng
1th){var e=this.nav.find("a[href*='"+t+"']");if(0<e.length)return this.steps.index(e)}}return!1}},{key:"_loader",value:function(t){switch(t){case"show":this.main.addClass("sw-loading");break;case"hide":this.main.removeClass("sw-loading");break;default:this.main.toggleClass("sw-loading")}}},{key:"_showError",value:function(t){console.error(t)}},{key:"goToStep",value:function(t){this._showStep(t)}},{key:"next",value:function(){this._showNext()}},{key:"prev",value:function(){this._showPrevious()}},{key:"reset",value:function(){this._setURLHash("#"),this._initOptions(),this._initLoad()}},{key:"stepState",value:function(t,e){if(!t)return!1;switch(e){case"disable":this._setCSSClass(t,"disabled");break;case"enable":this._resetCSSClass(t,"disabled");break;case"hide":this._setCSSClass(t,"hidden");break;case"show":this._resetCSSClass(t,"hidden");break;case"error-on":this._setCSSClass(t,"danger");break;case"error-off":this._resetCSSClass(t,"danger")}}},{key:"setOptions",value:function(t){this.options=m.extend(!0,{},this.options,t),this._initOptions()}},{key:"getStepIndex",value:function(){return this.current_index}},{key:"loader",value:function(t){"show"===t?this.main.addClass("sw-loading"):this.main.removeClass("sw-loading")}}]),o);function o(t,e){_classCallCheck(this,o),this.options=m.extend(!0,{},i,e),this.main=m(t),this.nav=this._getFirstDescendant(".nav"),this.steps=this.nav.find(".nav-link"),this.container=this._getFirstDescendant(".tab-content"),this.pages=this.container.children(".tab-pane"),this._initOptions(),this._initLoad()}m.fn.smartWizard=function(t){if(void 0===t||"object"===_typeof(t))return this.each(function(){m.data(this,"smartWizard")||m.data(this,"smartWizard",new n(this,t))});if("string"==typeof t&&"_"!==t[0]&&"init"!==t){var e=m.data(this[0],"smartWizard");return"destroy"===t&&m.data(this,"smartWizard",null),e instanceof n&&"function"==typeof e[t]?e[t].apply(e,Array.prototype.slice.call(arguments,1)):this}}}),function(i){var n={};function o(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return i[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}o.m=i,o.c=n,o.d=function(t,e,i){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(i,n,function(t){return e[t]}.bind(null,n));return i},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=0)}([function(t,e,i){function n(t){if(!t.hasAttribute("autocompleted")){t.setAttribute("autocompleted","");var e=new window.CustomEvent("onautocomplete",{bubbles:!0,cancelable:!0,detail:null});t.dispatchEvent(e)||(t.value="")}}function o(t){t.hasAttribute("autocompleted")&&(t.removeAttribute("autocompleted"),t.dispatchEvent(new window.CustomEvent("onautocomplete",{bubbles:!0,cancelable:!1,detail:null})))}i.r(e),i(1),i(5),document.addEventListener("animationstart",function(t){"onautofillstart"===t.animationName?n(t.target):o(t.target)},!0),document.addEventListener("input",function(t){"insertReplacementText"!==t.inputType&&"data"in t?o(t.target):n(t.target)},!0)},function(t,e,i){var n=i(2),o=i(3);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[t.i,o,""]]);var r=(n(o,{insert:"head",singleton:!1}),o.locals?o.locals:{});t.exports=r},function(t,e,r){var i,n,s=(n={},function(t){if(void 0===n[t]){var e=document.querySelector(t);if(window.HTMLIFrameElement&&e instanceof window.HTMLIFrameElement)try{e=e.contentDocument.head}catch(t){e=null}n[t]=e}return n[t]}),c=[];function d(t){for(var e=-1,i=0;i<c.length;i++)if(c[i].identifier===t){e=i;break}return e}function l(t,e){for(var i={},n=[],o=0;o<t.length;o++){var r=t[o],s=e.base?r[0]+e.base:r[0],a=i[s]||0,l="".concat(s," ").concat(a);i[s]=a+1;var h=d(l),u={css:r[1],media:r[2],sourceMap:r[3]};-1!==h?(c[h].references++,c[h].updater(u)):c.push({identifier:l,updater:_(u,e),references:1}),n.push(l)}return n}function a(t){var e=document.createElement("style"),i=t.attributes||{};if(void 0===i.nonce){var n=r.nc;n&&(i.nonce=n)}
1if(Object.keys(i).forEach(function(t){e.setAttribute(t,i[t])}),"function"==typeof t.insert)t.insert(e);else{var o=s(t.insert||"head");if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(e)}return e}var o,h=(o=[],function(t,e){return o[t]=e,o.filter(Boolean).join("\n")});function u(t,e,i,n){var o=i?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(t.styleSheet)t.styleSheet.cssText=h(e,o);else{var r=document.createTextNode(o),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(r,s[e]):t.appendChild(r)}}var f=null,p=0;function _(e,t){var i,n,o;if(t.singleton){var r=p++;i=f=f||a(t),n=u.bind(null,i,r,!1),o=u.bind(null,i,r,!0)}else i=a(t),n=function(t,e,i){var n=i.css,o=i.media,r=i.sourceMap;if(o?t.setAttribute("media",o):t.removeAttribute("media"),r&&btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,i,t),o=function(){!function(t){if(null===t.parentNode)return;t.parentNode.removeChild(t)}(i)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}t.exports=function(t,s){(s=s||{}).singleton||"boolean"==typeof s.singleton||(s.singleton=(void 0===i&&(i=Boolean(window&&document&&document.all&&!window.atob)),i));var a=l(t=t||[],s);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var e=0;e<a.length;e++){var i=d(a[e]);c[i].references--}for(var n=l(t,s),o=0;o<a.length;o++){var r=d(a[o]);0===c[r].references&&(c[r].updater(),c.splice(r,1))}a=n}}}},function(t,e,i){(e=i(4)(!1)).push([t.i,"INPUT:-webkit-autofill,SELECT:-webkit-autofill,TEXTAREA:-webkit-autofill{animation-name:onautofillstart}INPUT:not(:-webkit-autofill),SELECT:not(:-webkit-autofill),TEXTAREA:not(:-webkit-autofill){animation-name:onautofillcancel}@keyframes onautofillstart{from{}}@keyframes onautofillcancel{from{}}\n",""]),t.exports=e},function(t,e,i){t.exports=function(i){var l=[];return l.toString=function(){return this.map(function(t){var e=function(t,e){var i,n,o,r=t[1]||"",s=t[3];if(!s)return r;if(e&&"function"==typeof btoa){var a=(i=s,n=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(n),"/*# ".concat(o," */")),l=s.sources.map(function(t){return"/*# sourceURL=".concat(s.sourceRoot||"").concat(t," */")});return[r].concat(l).concat([a]).join("\n")}return[r].join("\n")}(t,i);return t[2]?"@media ".concat(t[2]," {").concat(e,"}"):e}).join("")},l.i=function(t,e,i){"string"==typeof t&&(t=[[null,t,""]]);var n={};if(i)for(var o=0;o<this.length;o++){var r=this[o][0];null!=r&&(n[r]=!0)}for(var s=0;s<t.length;s++){var a=[].concat(t[s]);i&&n[a[0]]||(e&&(a[2]?a[2]="".concat(e," and ").concat(a[2]):a[2]=e),l.push(a))}},l}},function(t,e){!function(){if("undefined"!=typeof window)try{var t=new window.CustomEvent("test",{cancelable:!0});if(t.preventDefault(),!0!==t.defaultPrevented)throw new Error("Could not prevent default")}catch(t){var e=function(t,e){var i,n;return(e=e||{}).bubbles=!!e.bubbles,e.cancelable=!!e.cancelable,(i=document.createEvent("CustomEvent")).initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n=i.preventDefault,i.preventDefault=function(){n.call(this);try{Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}catch(t){this.defaultPrevented=!0}},i};e.prototype=window.Event.prototype,window.CustomEvent=e}}()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.