PageSourceSearch

https://www.bienvenue-hautemarne.fr/app/themes/hautemarne/assets/dist/main-1789453899.min.js

js bienvenue-hautemarne.fr collected 2026-09-25 02:49:04 UTC 925,545 bytes, 1 lines download raw bytes

vendor: 4,125 bytes, line 1
1((t,e)=>{"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(t.document)return e(t);throw new Error("jQuery requires a window with a document")}:e(t)})("undefined"!=typeof window?window:this,function(k,O){function y(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item}function m(t){return null!=t&&t===t.window}var e=[],N=Object.getPrototypeOf,s=e.slice,B=e.flat?function(t){return e.flat.call(t)}:function(t){return e.concat.apply([],t)},R=e.push,F=e.indexOf,$={},W=$.toString,H=$.hasOwnProperty,U=H.toString,q=U.call(Object),g={},x=k.document,V={type:!0,src:!0,nonce:!0,noModule:!0};function Z(t,e,i){var n,o,a=(i=i||x).createElement("script");if(a.text=t,e)for(n in V)(o=e[n]||e.getAttribute&&e.getAttribute(n))&&a.setAttribute(n,o);i.head.appendChild(a).parentNode.removeChild(a)}function f(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?$[W.call(t)]||"object":typeof t}var t="3.6.0",C=function(t,e){return new C.fn.init(t,e)};function Y(t){var e=!!t&&"length"in t&&t.length,i=f(t);return!y(t)&&!m(t)&&("array"===i||0===e||"number"==typeof e&&0<e&&e-1 in t)}C.fn=C.prototype={jquery:t,constructor:C,length:0,toArray:function(){return s.call(this)},get:function(t){return null==t?s.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){t=C.merge(this.constructor(),t);return t.prevObject=this,t},each:function(t){return C.each(this,t)},map:function(i){return this.pushStack(C.map(this,function(t,e){return i.call(t,e,t)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(C.grep(this,function(t,e){return(e+1)%2}))},odd:function(){return this.pushStack(C.grep(this,function(t,e){return e%2}))},eq:function(t){var e=this.length,t=+t+(t<0?e:0);return this.pushStack(0<=t&&t<e?[this[t]]:[])},end:function(){return this.prevObject||this.constructor()},push:R,sort:e.sort,splice:e.splice},C.extend=C.fn.extend=function(){var t,e,i,n,o,a=arguments[0]||{},r=1,s=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[r]||{},r++),"object"==typeof a||y(a)||(a={}),r===s&&(a=this,r--);r<s;r++)if(null!=(t=arguments[r]))for(e in t)i=t[e],"__proto__"!==e&&a!==i&&(l&&i&&(C.isPlainObject(i)||(n=Array.isArray(i)))?(o=a[e],o=n&&!Array.isArray(o)?[]:n||C.isPlainObject(o)?o:{},n=!1,a[e]=C.extend(l,o,i)):void 0!==i&&(a[e]=i));return a},C.extend({expando:"jQuery"+(t+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){return!(!t||"[object Object]"!==W.call(t)||(t=N(t))&&("function"!=typeof(t=H.call(t,"constructor")&&t.constructor)||U.call(t)!==q))},isEmptyObject:function(t){for(var e in t)return!1;return!0},globalEval:function(t,e,i){Z(t,{nonce:e&&e.nonce},i)},each:function(t,e){var i,n=0;if(Y(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},makeArray:function(t,e){e=e||[];return null!=t&&(Y(Object(t))?C.merge(e,"string"==typeof t?[t]:t):R.call(e,t)),e},inArray:function(t,e,i){return null==e?-1:F.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,a=t.length,r=!i;o<a;o++)!e(t[o],o)!=r&&n.push(t[o]);return n},map:function(t,e,i){var n,o,a=0,r=[];if(Y(t))for(n=t.length;a<n;a++)null!=(o=e(t[a],a,i))&&r.push(o);else for(a in t)null!=(o=e(t[a],a,i))&&r.push(o);return B(r)},guid:1,support:g}),"function"==typeof Symbol&&(C.fn[Symbol.iterator]=e[Symbol.iterator]),C.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){$["[object "+e+"]"]=e.toLowerCase()});function n(t,e,i){for(var n=[],o=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&C(t).is(i))break;n.push(t)}return n}function G(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}var t=(O=>{function d(t,e){return t="0x"+t.slice(1)-65536,e||(t<0?String.fromCharCode(65536+t):String.fromCharCode(t>>
vendor: 20,099 bytes, line 1
110|55296,1023&t|56320))}function N(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}function B(){k()}var t,h,b,a,R,p,F,$,w,l,c,k,x,i,C,f,n,o,m,S="sizzle"+ +new Date,u=O.document,M=0,W=0,H=D(),U=D(),q=D(),g=D(),V=function(t,e){return t===e&&(c=!0),0},Z={}.hasOwnProperty,e=[],Y=e.pop,G=e.push,L=e.push,X=e.slice,A=function(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",r="[\\x20\\t\\r\\n\\f]",s="(?:\\\\[\\da-fA-F]{1,6}"+r+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",J="\\["+r+"*("+s+")(?:"+r+"*([*^$|!~]?=)"+r+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+s+"))|)"+r+"*\\]",Q=":("+s+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+J+")*)|.*)\\)|)",tt=new RegExp(r+"+","g"),T=new RegExp("^"+r+"+|((?:^|[^\\\\])(?:\\\\.)*)"+r+"+$","g"),et=new RegExp("^"+r+"*,"+r+"*"),it=new RegExp("^"+r+"*([>+~]|"+r+")"+r+"*"),nt=new RegExp(r+"|>"),ot=new RegExp(Q),at=new RegExp("^"+s+"$"),v={ID:new RegExp("^#("+s+")"),CLASS:new RegExp("^\\.("+s+")"),TAG:new RegExp("^("+s+"|[*])"),ATTR:new RegExp("^"+J),PSEUDO:new RegExp("^"+Q),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("^(?:"+K+")$","i"),needsContext:new RegExp("^"+r+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+r+"*((?:-\\d)?\\d*)"+r+"*\\)|)(?=[^-]|$)","i")},rt=/HTML$/i,st=/^(?:input|select|textarea|button)$/i,lt=/^h\d$/i,y=/^[^{]+\{\s*\[native \w/,ct=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ut=/[+~]/,_=new RegExp("\\\\[\\da-fA-F]{1,6}"+r+"?|\\\\([^\\r\\n\\f])","g"),dt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ht=yt(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{L.apply(e=X.call(u.childNodes),u.childNodes),e[u.childNodes.length].nodeType}catch(t){L={apply:e.length?function(t,e){G.apply(t,X.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}function I(t,e,i,n){var o,a,r,s,l,c,u=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&&(k(e),e=e||x,C)){if(11!==d&&(s=ct.exec(t)))if(o=s[1]){if(9===d){if(!(c=e.getElementById(o)))return i;if(c.id===o)return i.push(c),i}else if(u&&(c=u.getElementById(o))&&m(e,c)&&c.id===o)return i.push(c),i}else{if(s[2])return L.apply(i,e.getElementsByTagName(t)),i;if((o=s[3])&&h.getElementsByClassName&&e.getElementsByClassName)return L.apply(i,e.getElementsByClassName(o)),i}if(h.qsa&&!g[t+" "]&&(!f||!f.test(t))&&(1!==d||"object"!==e.nodeName.toLowerCase())){if(c=t,u=e,1===d&&(nt.test(t)||it.test(t))){for((u=ut.test(t)&&gt(e.parentNode)||e)===e&&h.scope||((r=e.getAttribute("id"))?r=r.replace(dt,N):e.setAttribute("id",r=S)),a=(l=p(t)).length;a--;)l[a]=(r?"#"+r:":scope")+" "+j(l[a]);c=l.join(",")}try{return L.apply(i,u.querySelectorAll(c)),i}catch(e){g(t,!0)}finally{r===S&&e.removeAttribute("id")}}}return $(t.replace(T,"$1"),e,i,n)}function D(){var n=[];return function t(e,i){return n.push(e+" ")>b.cacheLength&&delete t[n.shift()],t[e+" "]=i}}function P(t){return t[S]=!0,t}function E(t){var e=x.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e)}}function pt(t,e){for(var i=t.split("|"),n=i.length;n--;)b.attrHandle[i[n]]=e}function ft(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 mt(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&&ht(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function z(r){return P(function(a){return a=+a,P(function(t,e){for(var i,n=r([],t.length,a),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 h=I.support={},R=I.isXML=function(t){var e=t&&t.namespaceURI,t=t&&(t.ownerDocument||t).documentElement;return!rt.test(e||t&&t.nodeName||"HTML")},k=I.setDocument=function(t){var t=t?t.ownerDocument||t:u;return t!=x&&9===t.nodeType&&t.documentElement&&(i=(x=t).documentElement,C=!R(x),u!=x&&(t=x.defaultView)&&t.top!==t&&(t.addEventListener?t.addEventListener("unload",B,!1):t.attachEvent&&t.attachEvent("onunload",B)),h.scope=E(function(t){return i.appendChild(t).appendChild(x.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),h.attributes=E(function(t){return t.className="i",!t.getAttribute("className")}),h.getElementsByTagName=E(function(t){return t.appendChild(x.createComment("")),!t.getElementsByTagName("*").length}),h.getElementsByClassName=y.test(x.getElementsByClassName),h.getById=E(function(t){return i.appendChild(t).id=S,!x.getElementsByName||!x.getElementsByName(S).length}),h.getById?(b.filter.ID=function(t){var e=t.replace(_,d);return function(t){return t.getAttribute("id")===e}},b.find.ID=function(t,e){if(void 0!==e.getElementById&&C)return(e=e.getElementById(t))?[e]:[]}):(b.filter.ID=function(t){var e=t.replace(_,d);return function(t){t=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return t&&t.value===e}},b.find.ID=function(t,e){if(void 0!==e.getElementById&&C){var i,n,o,a=e.getElementById(t);if(a){if((i=a.getAttributeNode("id"))&&i.value===t)return[a];for(o=e.getElementsByName(t),n=0;a=o[n++];)if((i=a.getAttributeNode("id"))&&i.value===t)return[a]}return[]}}),b.find.TAG=h.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):h.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],o=0,a=e.getElementsByTagName(t);if("*"!==t)return a;for(;i=a[o++];)1===i.nodeType&&n.push(i);return n},b.find.CLASS=h.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&C)return e.getElementsByClassName(t)},n=[],f=[],(h.qsa=y.test(x.querySelectorAll))&&(E(function(t){var e;i.appendChild(t).innerHTML="<a id='"+S+"'></a><select id='"+S+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&f.push("[*^$]="+r+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||f.push("\\["+r+"*(?:value|"+K+")"),t.querySelectorAll("[id~="+S+"-]").length||f.push("~="),(e=x.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||f.push("\\["+r+"*name"+r+"*="+r+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||f.push(":checked"),t.querySelectorAll("a#"+S+"+*").length||f.push(".#.+[+~]"),t.querySelectorAll("\\\f"),f.push("[\\r\\n\\f]")}),E(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=x.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&f.push("name"+r+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&f.push(":enabled",":disabled"),i.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&f.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),f.push(",.*:")})),(h.matchesSelector=y.test(o=i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.oMatchesSelector||i.msMatchesSelector))&&E(function(t){h.disconnectedMatch=o.call(t,"*"),o.call(t,"[s!='']:x"),n.push("!=",Q)}),f=f.length&&new RegExp(f.join("|")),n=n.length&&new RegExp(n.join("|")),t=y.test(i.compareDocumentPosition),m=t||y.test(i.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,e=e&&e.parentNode;return t===e||!(!e||1!==e.nodeType||!(i.contains?i.contains(e):t.compareDocumentPosition&&16&t.compareDocumentPosition(e)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},V=t?function(t,e){var i;return t===e?(c=!0,0):!t.compareDocumentPosition-!e.compareDocumentPosition||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!h.sortDetached&&e.compareDocumentPosition(t)===i?t==x||t.ownerDocument==u&&m(u,t)?-1:e==x||e.ownerDocument==u&&m(u,e)?1:l?A(l,t)-A(l,e):0:4&i?-1:1)}:function(t,e){if(t===e)return c=!0,0;var i,n=0,o=t.parentNode,a=e.parentNode,r=[t],s=[e];if(!o||!a)return t==x?-1:e==x?1:o?-1:a?1:l?A(l,t)-A(l,e):0;if(o===a)return ft(t,e);for(i=t;i=i.parentNode;)r.unshift(i);for(i=e;i=i.parentNode;)s.unshift(i);for(;r[n]===s[n];)n++;return n?ft(r[n],s[n]):r[n]==u?-1:s[n]==u?1:0}),x},I.matches=function(t,e){return I(t,null,null,e)},I.matchesSelector=function(t,e){if(k(t),h.matchesSelector&&C&&!g[e+" "]&&(!n||!n.test(e))&&(!f||!f.test(e)))try{var i=o.call(t,e);if(i||h.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){g(e,!0)}return 0<I(e,x,null,[t]).length},I.contains=function(t,e){return(t.ownerDocument||t)!=x&&k(t),m(t,e)},I.attr=function(t,e){(t.ownerDocument||t)!=x&&k(t);var i=b.attrHandle[e.toLowerCase()],i=i&&Z.call(b.attrHandle,e.toLowerCase())?i(t,e,!C):void 0;return void 0!==i?i:h.attributes||!C?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},I.escape=function(t){return(t+"").replace(dt,N)},I.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},I.uniqueSort=function(t){var e,i=[],n=0,o=0;if(c=!h.detectDuplicates,l=!h.sortStable&&t.slice(0),t.sort(V),c){for(;e=t[o++];)e===t[o]&&(n=i.push(o));for(;n--;)t.splice(i[n],1)}return l=null,t},a=I.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+=a(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[n++];)i+=a(e);return i},(b=I.selectors={cacheLength:50,createPseudo:P,match:v,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(_,d),t[3]=(t[3]||t[4]||t[5]||"").replace(_,d),"~="===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]||I.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]&&I.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return v.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&ot.test(i)&&(e=(e=p(i,!0))&&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(_,d).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=H[t+" "];return e||(e=new RegExp("(^|"+r+")"+t+"("+r+"|$)"))&&H(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(e,i,n){return function(t){t=I.attr(t,e);return null==t?"!="===i:!i||(t+="","="===i?t===n:"!="===i?t!==n:"^="===i?n&&0===t.indexOf(n):"*="===i?n&&-1<t.indexOf(n):"$="===i?n&&t.slice(-n.length)===n:"~="===i?-1<(" "+t.replace(tt," ")+" ").indexOf(n):"|="===i&&(t===n||t.slice(0,n.length+1)===n+"-"))}},CHILD:function(f,t,e,m,g){var v="nth"!==f.slice(0,3),y="last"!==f.slice(-4),_="of-type"===t;return 1===m&&0===g?function(t){return!!t.parentNode}:function(t,e,i){var n,o,a,r,s,l,c=v!=y?"nextSibling":"previousSibling",u=t.parentNode,d=_&&t.nodeName.toLowerCase(),h=!i&&!_,p=!1;if(u){if(v){for(;c;){for(r=t;r=r[c];)if(_?r.nodeName.toLowerCase()===d:1===r.nodeType)return!1;l=c="only"===f&&!l&&"nextSibling"}return!0}if(l=[y?u.firstChild:u.lastChild],y&&h){for(p=(s=(n=(o=(a=(r=u)[S]||(r[S]={}))[r.uniqueID]||(a[r.uniqueID]={}))[f]||[])[0]===M&&n[1])&&n[2],r=s&&u.childNodes[s];r=++s&&r&&r[c]||(p=s=0,l.pop());)if(1===r.nodeType&&++p&&r===t){o[f]=[M,s,p];break}}else if(!1===(p=h?s=(n=(o=(a=(r=t)[S]||(r[S]={}))[r.uniqueID]||(a[r.uniqueID]={}))[f]||[])[0]===M&&n[1]:p))for(;(r=++s&&r&&r[c]||(p=s=0,l.pop()))&&((_?r.nodeName.toLowerCase()!==d:1!==r.nodeType)||!++p||(h&&((o=(a=r[S]||(r[S]={}))[r.uniqueID]||(a[r.uniqueID]={}))[f]=[M,p]),r!==t)););return(p-=g)===m||p%m==0&&0<=p/m}}},PSEUDO:function(t,a){var e,r=b.pseudos[t]||b.setFilters[t.toLowerCase()]||I.error("unsupported pseudo: "+t);return r[S]?r(a):1<r.length?(e=[t,t,"",a],b.setFilters.hasOwnProperty(t.toLowerCase())?P(function(t,e){for(var i,n=r(t,a),o=n.length;o--;)t[i=A(t,n[o])]=!(e[i]=n[o])}):function(t){return r(t,0,e)}):r}},pseudos:{not:P(function(t){var n=[],o=[],s=F(t.replace(T,"$1"));return s[S]?P(function(t,e,i,n){for(var o,a=s(t,null,n,[]),r=t.length;r--;)(o=a[r])&&(t[r]=!(e[r]=o))}):function(t,e,i){return n[0]=t,s(n,null,i,o),n[0]=null,!o.pop()}}),has:P(function(e){return function(t){return 0<I(e,t).length}}),contains:P(function(e){return e=e.replace(_,d),function(t){return-1<(t.textContent||a(t)).indexOf(e)}}),lang:P(function(i){return at.test(i||"")||I.error("unsupported lang: "+i),i=i.replace(_,d).toLowerCase(),function(t){var e;do{if(e=C?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=O.location&&O.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===i},focus:function(t){return t===x.activeElement&&(!x.hasFocus||x.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:mt(!1),disabled:mt(!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 lt.test(t.nodeName)},input:function(t){return st.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(t=t.getAttribute("type"))||"text"===t.toLowerCase())},first:z(function(){return[0]}),last:z(function(t,e){return[e-1]}),eq:z(function(t,e,i){return[i<0?i+e:i]}),even:z(function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t}),odd:z(function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t}),lt:z(function(t,e,i){for(var n=i<0?i+e:e<i?e:i;0<=--n;)t.push(n);return t}),gt:z(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]=(e=>function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e})(t);for(t in{submit:!0,reset:!0})b.pseudos[t]=(i=>function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===i})(t);function vt(){}function j(t){for(var e=0,i=t.length,n="";e<i;e++)n+=t[e].value;return n}function yt(r,t,e){var s=t.dir,l=t.next,c=l||s,u=e&&"parentNode"===c,d=W++;return t.first?function(t,e,i){for(;t=t[s];)if(1===t.nodeType||u)return r(t,e,i);return!1}:function(t,e,i){var n,o,a=[M,d];if(i){for(;t=t[s];)if((1===t.nodeType||u)&&r(t,e,i))return!0}else for(;t=t[s];)if(1===t.nodeType||u)if(o=(o=t[S]||(t[S]={}))[t.uniqueID]||(o[t.uniqueID]={}),l&&l===t.nodeName.toLowerCase())t=t[s]||t;else{if((n=o[c])&&n[0]===M&&n[1]===d)return a[2]=n[2];if((o[c]=a)[2]=r(t,e,i))return!0}return!1}}function _t(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 bt(t,e,i,n,o){for(var a,r=[],s=0,l=t.length,c=null!=e;s<l;s++)!(a=t[s])||i&&!i(a,n,o)||(r.push(a),c&&e.push(s));return r}function wt(p,f,m,g,v,t){return g&&!g[S]&&(g=wt(g)),v&&!v[S]&&(v=wt(v,t)),P(function(t,e,i,n){var o,a,r,s=[],l=[],c=e.length,u=t||((t,e,i)=>{for(var n=0,o=e.length;n<o;n++)I(t,e[n],i);return i})(f||"*",i.nodeType?[i]:i,[]),d=!p||!t&&f?u:bt(u,s,p,i,n),h=m?v||(t?p:c||g)?[]:e:d;if(m&&m(d,h,i,n),g)for(o=bt(h,l),g(o,[],i,n),a=o.length;a--;)(r=o[a])&&(h[l[a]]=!(d[l[a]]=r));if(t){if(v||p){if(v){for(o=[],a=h.length;a--;)(r=h[a])&&o.push(d[a]=r);v(null,h=[],o,n)}for(a=h.length;a--;)(r=h[a])&&-1<(o=v?A(t,r):s[a])&&(t[o]=!(e[o]=r))}}else h=bt(h===e?h.splice(c,h.length):h),v?v(null,e,h,n):L.apply(e,h)})}return vt.prototype=b.filters=b.pseudos,b.setFilters=new vt,p=I.tokenize=function(t,e){var i,n,o,a,r,s,l,c=U[t+" "];if(c)return e?0:c.slice(0);for(r=t,s=[],l=b.preFilter;r;){for(a in i&&!(n=et.exec(r))||(n&&(r=r.slice(n[0].length)||r),s.push(o=[])),i=!1,(n=it.exec(r))&&(i=n.shift(),o.push({value:i,type:n[0].replace(T," ")}),r=r.slice(i.length)),b.filter)!(n=v[a].exec(r))||l[a]&&!(n=l[a](n))||(i=n.shift(),o.push({value:i,type:a,matches:n}),r=r.slice(i.length));if(!i)break}return e?r.length:r?I.error(t):U(t,s).slice(0)},F=I.compile=function(t,e){var i,g,v,y,_,n,o=[],a=[],r=q[t+" "];if(!r){for(i=(e=e||p(t)).length;i--;)((r=function t(e){for(var n,i,o,a=e.length,r=b.relative[e[0].type],s=r||b.relative[" "],l=r?1:0,c=yt(function(t){return t===n},s,!0),u=yt(function(t){return-1<A(n,t)},s,!0),d=[function(t,e,i){return t=!r&&(i||e!==w)||((n=e).nodeType?c:u)(t,e,i),n=null,t}];l<a;l++)if(i=b.relative[e[l].type])d=[yt(_t(d),i)];else{if((i=b.filter[e[l].type].apply(null,e[l].matches))[S]){for(o=++l;o<a&&!b.relative[e[o].type];o++);return wt(1<l&&_t(d),1<l&&j(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(T,"$1"),i,l<o&&t(e.slice(l,o)),o<a&&t(e=e.slice(o)),o<a&&j(e))}d.push(i)}return _t(d)}(e[i]))[S]?o:a).push(r);(r=q(t,(y=0<(v=o).length,_=0<(g=a).length,n=function(t,e,i,n,o){var a,r,s,l=0,c="0",u=t&&[],d=[],h=w,p=t||_&&b.find.TAG("*",o),f=M+=null==h?1:Math.random()||.1,m=p.length;for(o&&(w=e==x||e||o);c!==m&&null!=(a=p[c]);c++){if(_&&a){for(r=0,e||a.ownerDocument==x||(k(a),i=!C);s=g[r++];)if(s(a,e||x,i)){n.push(a);break}o&&(M=f)}y&&((a=!s&&a)&&l--,t)&&u.push(a)}if(l+=c,y&&c!==l){for(r=0;s=v[r++];)s(u,d,e,i);if(t){if(0<l)for(;c--;)u[c]||d[c]||(d[c]=Y.call(n));d=bt(d)}L.apply(n,d),o&&!t&&0<d.length&&1<l+v.length&&I.uniqueSort(n)}return o&&(M=f,w=h),u},y?P(n):n))).selector=t}return r},$=I.select=function(t,e,i,n){var o,a,r,s,l,c="function"==typeof t&&t,u=!n&&p(t=c.selector||t);if(i=i||[],1===u.length){if(2<(a=u[0]=u[0].slice(0)).length&&"ID"===(r=a[0]).type&&9===e.nodeType&&C&&b.relative[a[1].type]){if(!(e=(b.find.ID(r.matches[0].replace(_,d),e)||[])[0]))return i;c&&(e=e.parentNode),t=t.slice(a.shift().value.length)}for(o=v.needsContext.test(t)?0:a.length;o--&&(r=a[o],!b.relative[s=r.type]);)if((l=b.find[s])&&(n=l(r.matches[0].replace(_,d),ut.test(a[0].type)&&gt(e.parentNode)||e))){if(a.splice(o,1),t=n.length&&j(a))break;return L.apply(i,n),i}}return(c||F(t,u))(n,e,!C,i,!e||ut.test(t)&&gt(e.parentNode)||e),i},h.sortStable=S.split("").sort(V).join("")===S,h.detectDuplicates=!!c,k(),h.sortDetached=E(function(t){return 1&t.compareDocumentPosition(x.createElement("fieldset"))}),E(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||pt("type|href|height|width",function(t,e,i){if(!i)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),h.attributes&&E(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||pt("value",function(t,e,i){if(!i&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),E(function(t){return null==t.getAttribute("disabled")})||pt(K,function(t,e,i){if(!i)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),I})(k),X=(C.find=t,C.expr=t.selectors,C.expr[":"]=C.expr.pseudos,C.uniqueSort=C.unique=t.uniqueSort,C.text=t.getText,C.isXMLDoc=t.isXML,C.contains=t.contains,C.escapeSelector=t.escape,C.expr.match.needsContext);function l(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var K=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function J(t,i,n){return y(i)?C.grep(t,function(t,e){return!!i.call(t,e,t)!==n}):i.nodeType?C.grep(t,function(t){return t===i!==n}):"string"!=typeof i?C.grep(t,function(t){return-1<F.call(i,t)!==n}):C.filter(i,t,n)}
vendor: 4,633 bytes, line 1
1C.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?C.find.matchesSelector(n,t)?[n]:[]:C.find.matches(t,C.grep(e,function(t){return 1===t.nodeType}))},C.fn.extend({find:function(t){var e,i,n=this.length,o=this;if("string"!=typeof t)return this.pushStack(C(t).filter(function(){for(e=0;e<n;e++)if(C.contains(o[e],this))return!0}));for(i=this.pushStack([]),e=0;e<n;e++)C.find(t,o[e],i);return 1<n?C.uniqueSort(i):i},filter:function(t){return this.pushStack(J(this,t||[],!1))},not:function(t){return this.pushStack(J(this,t||[],!0))},is:function(t){return!!J(this,"string"==typeof t&&X.test(t)?C(t):t||[],!1).length}});var Q,tt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,et=((C.fn.init=function(t,e,i){if(t){if(i=i||Q,"string"!=typeof t)return t.nodeType?(this[0]=t,this.length=1,this):y(t)?void 0!==i.ready?i.ready(t):t(C):C.makeArray(t,this);if(!(n="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:tt.exec(t))||!n[1]&&e)return(!e||e.jquery?e||i:this.constructor(e)).find(t);if(n[1]){if(e=e instanceof C?e[0]:e,C.merge(this,C.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:x,!0)),K.test(n[1])&&C.isPlainObject(e))for(var n in e)y(this[n])?this[n](e[n]):this.attr(n,e[n])}else(i=x.getElementById(n[2]))&&(this[0]=i,this.length=1)}return this}).prototype=C.fn,Q=C(x),/^(?:parents|prev(?:Until|All))/),it={children:!0,contents:!0,next:!0,prev:!0};function nt(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}C.fn.extend({has:function(t){var e=C(t,this),i=e.length;return this.filter(function(){for(var t=0;t<i;t++)if(C.contains(this,e[t]))return!0})},closest:function(t,e){var i,n=0,o=this.length,a=[],r="string"!=typeof t&&C(t);if(!X.test(t))for(;n<o;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(r?-1<r.index(i):1===i.nodeType&&C.find.matchesSelector(i,t))){a.push(i);break}return this.pushStack(1<a.length?C.uniqueSort(a):a)},index:function(t){return t?"string"==typeof t?F.call(C(t),this[0]):F.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),C.each({parent:function(t){t=t.parentNode;return t&&11!==t.nodeType?t:null},parents:function(t){return n(t,"parentNode")},parentsUntil:function(t,e,i){return n(t,"parentNode",i)},next:function(t){return nt(t,"nextSibling")},prev:function(t){return nt(t,"previousSibling")},nextAll:function(t){return n(t,"nextSibling")},prevAll:function(t){return n(t,"previousSibling")},nextUntil:function(t,e,i){return n(t,"nextSibling",i)},prevUntil:function(t,e,i){return n(t,"previousSibling",i)},siblings:function(t){return G((t.parentNode||{}).firstChild,t)},children:function(t){return G(t.firstChild)},contents:function(t){return null!=t.contentDocument&&N(t.contentDocument)?t.contentDocument:(l(t,"template")&&(t=t.content||t),C.merge([],t.childNodes))}},function(n,o){C.fn[n]=function(t,e){var i=C.map(this,o,t);return(e="Until"!==n.slice(-5)?t:e)&&"string"==typeof e&&(i=C.filter(e,i)),1<this.length&&(it[n]||C.uniqueSort(i),et.test(n))&&i.reverse(),this.pushStack(i)}});var S=/[^\x20\t\r\n\f]+/g;function u(t){return t}function ot(t){throw t}function at(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])}}C.Callbacks=function(n){var t,i;n="string"==typeof n?(t=n,i={},C.each(t.match(S)||[],function(t,e){i[e]=!0}),i):C.extend({},n);function o(){for(s=s||n.once,r=a=!0;c.length;u=-1)for(e=c.shift();++u<l.length;)!1===l[u].apply(e[0],e[1])&&n.stopOnFalse&&(u=l.length,e=!1);n.memory||(e=!1),a=!1,s&&(l=e?[]:"")}var a,e,r,s,l=[],c=[],u=-1,d={add:function(){return l&&(e&&!a&&(u=l.length-1,c.push(e)),function i(t){C.each(t,function(t,e){y(e)?n.unique&&d.has(e)||l.push(e):e&&e.length&&"string"!==f(e)&&i(e)})}(arguments),e)&&!a&&o(),this},remove:function(){return C.each(arguments,function(t,e){for(var i;-1<(i=C.inArray(e,l,i));)l.splice(i,1),i<=u&&u--}),this},has:function(t){return t?-1<C.inArray(t,l):0<l.length},empty:function(){return l=l&&[],this},disable:function(){return s=c=[],l=e="",this},disabled:function(){return!l},lock:function(){return s=c=[],e||a||(l=e=""),this},locked:function(){return!!s},fireWith:function(t,e){return s||(e=[t,(e=e||[]).slice?e.slice():e],c.push(e),a)||o(),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!r}};return d},C.extend({Deferred:function(t){var a=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.
vendor: 4,198 bytes, line 1
1Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],o="pending",r={state:function(){return o},always:function(){return s.done(arguments).fail(arguments),this},catch:function(t){return r.then(null,t)},pipe:function(){var o=arguments;return C.Deferred(function(n){C.each(a,function(t,e){var i=y(o[e[4]])&&o[e[4]];s[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 c(o,a,r,s){return function(){function t(){var t,e;if(!(o<l)){if((t=r.apply(i,n))===a.promise())throw new TypeError("Thenable self-resolution");e=t&&("object"==typeof t||"function"==typeof t)&&t.then,y(e)?s?e.call(t,c(l,a,u,s),c(l,a,ot,s)):(l++,e.call(t,c(l,a,u,s),c(l,a,ot,s),c(l,a,u,a.notifyWith))):(r!==u&&(i=void 0,n=[t]),(s||a.resolveWith)(i,n))}}var i=this,n=arguments,e=s?t:function(){try{t()}catch(t){C.Deferred.exceptionHook&&C.Deferred.exceptionHook(t,e.stackTrace),l<=o+1&&(r!==ot&&(i=void 0,n=[t]),a.rejectWith(i,n))}};o?e():(C.Deferred.getStackHook&&(e.stackTrace=C.Deferred.getStackHook()),k.setTimeout(e))}}return C.Deferred(function(t){a[0][3].add(c(0,t,y(n)?n:u,t.notifyWith)),a[1][3].add(c(0,t,y(e)?e:u)),a[2][3].add(c(0,t,y(i)?i:ot))}).promise()},promise:function(t){return null!=t?C.extend(t,r):r}},s={};return C.each(a,function(t,e){var i=e[2],n=e[5];r[e[1]]=i.add,n&&i.add(function(){o=n},a[3-t][2].disable,a[3-t][3].disable,a[0][2].lock,a[0][3].lock),i.add(e[3].fire),s[e[0]]=function(){return s[e[0]+"With"](this===s?void 0:this,arguments),this},s[e[0]+"With"]=i.fireWith}),r.promise(s),t&&t.call(s,s),s},when:function(t){function e(e){return function(t){o[e]=this,a[e]=1<arguments.length?s.call(arguments):t,--i||r.resolveWith(o,a)}}var i=arguments.length,n=i,o=Array(n),a=s.call(arguments),r=C.Deferred();if(i<=1&&(at(t,r.done(e(n)).resolve,r.reject,!i),"pending"===r.state()||y(a[n]&&a[n].then)))return r.then();for(;n--;)at(a[n],e(n),r.reject);return r.promise()}});var rt=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/,st=(C.Deferred.exceptionHook=function(t,e){k.console&&k.console.warn&&t&&rt.test(t.name)&&k.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},C.readyException=function(t){k.setTimeout(function(){throw t})},C.Deferred());function lt(){x.removeEventListener("DOMContentLoaded",lt),k.removeEventListener("load",lt),C.ready()}C.fn.ready=function(t){return st.then(t).catch(function(t){C.readyException(t)}),this},C.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--C.readyWait:C.isReady)||(C.isReady=!0)!==t&&0<--C.readyWait||st.resolveWith(x,[C])}}),C.ready.then=st.then,"complete"===x.readyState||"loading"!==x.readyState&&!x.documentElement.doScroll?k.setTimeout(C.ready):(x.addEventListener("DOMContentLoaded",lt),k.addEventListener("load",lt));function d(t,e,i,n,o,a,r){var s=0,l=t.length,c=null==i;if("object"===f(i))for(s in o=!0,i)d(t,e,s,i[s],!0,a,r);else if(void 0!==n&&(o=!0,y(n)||(r=!0),e=c?r?(e.call(t,n),null):(c=e,function(t,e,i){return c.call(C(t),i)}):e))for(;s<l;s++)e(t[s],i,r?n:n.call(t[s],s,e(t[s],i)));return o?t:c?e.call(t):l?e(t[0],i):a}var ct=/^-ms-/,ut=/-([a-z])/g;function dt(t,e){return e.toUpperCase()}function _(t){return t.replace(ct,"ms-").replace(ut,dt)}function v(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType}function ht(){this.expando=C.expando+ht.uid++}ht.uid=1,ht.prototype={cache:function(t){var e=t[this.expando];return e||(e={},v(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[_(e)]=i;else for(n in e)o[_(n)]=e[n];return o},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][_(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(_):(e=_(e))in n?[e]:e.match(S)||[]).length;for(;i--;)delete n[e[i]]}
1void 0!==e&&!C.isEmptyObject(n)||(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){t=t[this.expando];return void 0!==t&&!C.isEmptyObject(t)}};var b=new ht,c=new ht,pt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ft=/[A-Z]/g;function mt(t,e,i){var n,o;if(void 0===i&&1===t.nodeType)if(n="data-"+e.replace(ft,"-$&").toLowerCase(),"string"==typeof(i=t.getAttribute(n))){try{i="true"===(o=i)||"false"!==o&&("null"===o?null:o===+o+""?+o:pt.test(o)?JSON.parse(o):o)}catch(t){}c.set(t,e,i)}else i=void 0;return i}C.extend({hasData:function(t){return c.hasData(t)||b.hasData(t)},data:function(t,e,i){return c.access(t,e,i)},removeData:function(t,e){c.remove(t,e)},_data:function(t,e,i){return b.access(t,e,i)},_removeData:function(t,e){b.remove(t,e)}}),C.fn.extend({data:function(i,t){var e,n,o,a=this[0],r=a&&a.attributes;if(void 0!==i)return"object"==typeof i?this.each(function(){c.set(this,i)}):d(this,function(t){var e;if(a&&void 0===t)return void 0!==(e=c.get(a,i))||void 0!==(e=mt(a,i))?e:void 0;this.each(function(){c.set(this,i,t)})},null,t,1<arguments.length,null,!0);if(this.length&&(o=c.get(a),1===a.nodeType)&&!b.get(a,"hasDataAttrs")){for(e=r.length;e--;)r[e]&&0===(n=r[e].name).indexOf("data-")&&(n=_(n.slice(5)),mt(a,n,o[n]));b.set(a,"hasDataAttrs",!0)}return o},removeData:function(t){return this.each(function(){c.remove(this,t)})}}),C.extend({queue:function(t,e,i){var n;if(t)return n=b.get(t,e=(e||"fx")+"queue"),i&&(!n||Array.isArray(i)?n=b.access(t,e,C.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=C.queue(t,e),n=i.length,o=i.shift(),a=C._queueHooks(t,e);"inprogress"===o&&(o=i.shift(),n--),o&&("fx"===e&&i.unshift("inprogress"),delete a.stop,o.call(t,function(){C.dequeue(t,e)},a)),!n&&a&&a.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return b.get(t,i)||b.access(t,i,{empty:C.Callbacks("once memory").add(function(){b.remove(t,[e+"queue",i])})})}}),C.fn.extend({queue:function(e,i){var t=2;return"string"!=typeof e&&(i=e,e="fx",t--),arguments.length<t?C.queue(this[0],e):void 0===i?this:this.each(function(){var t=C.queue(this,e,i);C._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&C.dequeue(this,e)})},dequeue:function(t){return this.each(function(){C.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){function i(){--o||a.resolveWith(r,[r])}var n,o=1,a=C.Deferred(),r=this,s=this.length;for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)(n=b.get(r[s],t+"queueHooks"))&&n.empty&&(o++,n.empty.add(i));return i(),a.promise(e)}});function gt(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&M(t)&&"none"===C.css(t,"display")}var t=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,vt=new RegExp("^(?:([+-])=|)("+t+")([a-z%]*)$","i"),h=["Top","Right","Bottom","Left"],w=x.documentElement,M=function(t){return C.contains(t.ownerDocument,t)},yt={composed:!0};w.getRootNode&&(M=function(t){return C.contains(t.ownerDocument,t)||t.getRootNode(yt)===t.ownerDocument});function _t(t,e,i,n){var o,a,r=20,s=n?function(){return n.cur()}:function(){return C.css(t,e,"")},l=s(),c=i&&i[3]||(C.cssNumber[e]?"":"px"),u=t.nodeType&&(C.cssNumber[e]||"px"!==c&&+l)&&vt.exec(C.css(t,e));if(u&&u[3]!==c){for(c=c||u[3],u=+(l/=2)||1;r--;)C.style(t,e,u+c),(1-a)*(1-(a=s()/l||.5))<=0&&(r=0),u/=a;C.style(t,e,(u*=2)+c),i=i||[]}return i&&(u=+u||+l||0,o=i[1]?u+(i[1]+1)*i[2]:+i[2],n)&&(n.unit=c,n.start=u,n.end=o),o}var bt={};function L(t,e){for(var i,n,o,a,r,s,l=[],c=0,u=t.length;c<u;c++)(n=t[c]).style&&(i=n.style.display,e?("none"===i&&(l[c]=b.get(n,"display")||null,l[c]||(n.style.display="")),""===n.style.display&&gt(n)&&(l[c]=(s=a=o=void 0,a=n.ownerDocument,(s=bt[r=n.nodeName])||(o=a.body.appendChild(a.createElement(r)),s=C.css(o,"display"),o.parentNode.removeChild(o),bt[r]=s="none"===s?"block":s)))):"none"!==i&&(l[c]="none",b.set(n,"display",i)));for(c=0;c<u;c++)null!=l[c]&&(t[c].style.display=l[c]);return t}C.fn.extend({show:function(){return L(this,!0)},hide:function(){return L(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){gt(this)?C(this).show():C(this).hide()})}});var wt=/^(?:checkbox|radio)$/i,kt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,xt=/^$|^module$|\/(?:java|ecma)script/i,i=x.createDocumentFragment().appendChild(x.createElement("div")),A=((P=x.createElement("input")).setAttribute("type","radio"),P.setAttribute("checked","checked"),P.setAttribute("name","t"),i.appendChild(P),g.checkClone
vendor: 4,947 bytes, line 1
1=i.cloneNode(!0).cloneNode(!0).lastChild.checked,i.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!i.cloneNode(!0).lastChild.defaultValue,i.innerHTML="<option></option>",g.option=!!i.lastChild,{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 T(t,e){var i=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&l(t,e)?C.merge([t],i):i}function Ct(t,e){for(var i=0,n=t.length;i<n;i++)b.set(t[i],"globalEval",!e||b.get(e[i],"globalEval"))}A.tbody=A.tfoot=A.colgroup=A.caption=A.thead,A.th=A.td,g.option||(A.optgroup=A.option=[1,"<select multiple='multiple'>","</select>"]);var St=/<|&#?\w+;/;function Mt(t,e,i,n,o){for(var a,r,s,l,c,u=e.createDocumentFragment(),d=[],h=0,p=t.length;h<p;h++)if((a=t[h])||0===a)if("object"===f(a))C.merge(d,a.nodeType?[a]:a);else if(St.test(a)){for(r=r||u.appendChild(e.createElement("div")),s=(kt.exec(a)||["",""])[1].toLowerCase(),s=A[s]||A._default,r.innerHTML=s[1]+C.htmlPrefilter(a)+s[2],c=s[0];c--;)r=r.lastChild;C.merge(d,r.childNodes),(r=u.firstChild).textContent=""}else d.push(e.createTextNode(a));for(u.textContent="",h=0;a=d[h++];)if(n&&-1<C.inArray(a,n))o&&o.push(a);else if(l=M(a),r=T(u.appendChild(a),"script"),l&&Ct(r),i)for(c=0;a=r[c++];)xt.test(a.type||"")&&i.push(a);return u}var Lt=/^([^.]*)(?:\.(.+)|)/;function r(){return!0}function p(){return!1}function At(t,e){return t===(()=>{try{return x.activeElement}catch(t){}})()==("focus"===e)}function Tt(t,e,i,n,o,a){var r,s;if("object"==typeof e){for(s in"string"!=typeof i&&(n=n||i,i=void 0),e)Tt(t,s,i,n,e[s],a);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=p;else if(!o)return t;return 1===a&&(r=o,(o=function(t){return C().off(t),r.apply(this,arguments)}).guid=r.guid||(r.guid=C.guid++)),t.each(function(){C.event.add(this,e,o,n,i)})}function It(t,o,a){a?(b.set(t,o,!1),C.event.add(t,o,{namespace:!1,handler:function(t){var e,i,n=b.get(this,o);if(1&t.isTrigger&&this[o]){if(n.length)(C.event.special[o]||{}).delegateType&&t.stopPropagation();else if(n=s.call(arguments),b.set(this,o,n),e=a(this,o),this[o](),n!==(i=b.get(this,o))||e?b.set(this,o,!1):i={},n!==i)return t.stopImmediatePropagation(),t.preventDefault(),i&&i.value}else n.length&&(b.set(this,o,{value:C.event.trigger(C.extend(n[0],C.Event.prototype),n.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===b.get(t,o)&&C.event.add(t,o,r)}C.event={global:{},add:function(e,t,i,n,o){var a,r,s,l,c,u,d,h,p,f=b.get(e);if(v(e))for(i.handler&&(i=(a=i).handler,o=a.selector),o&&C.find.matchesSelector(w,o),i.guid||(i.guid=C.guid++),s=(s=f.events)||(f.events=Object.create(null)),r=(r=f.handle)||(f.handle=function(t){return void 0!==C&&C.event.triggered!==t.type?C.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(S)||[""]).length;l--;)d=p=(h=Lt.exec(t[l])||[])[1],h=(h[2]||"").split(".").sort(),d&&(c=C.event.special[d]||{},d=(o?c.delegateType:c.bindType)||d,c=C.event.special[d]||{},p=C.extend({type:d,origType:p,data:n,handler:i,guid:i.guid,selector:o,needsContext:o&&C.expr.match.needsContext.test(o),namespace:h.join(".")},a),(u=s[d])||((u=s[d]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(e,n,h,r))||e.addEventListener&&e.addEventListener(d,r),c.add&&(c.add.call(e,p),p.handler.guid||(p.handler.guid=i.guid)),o?u.splice(u.delegateCount++,0,p):u.push(p),C.event.global[d]=!0)},remove:function(t,e,i,n,o){var a,r,s,l,c,u,d,h,p,f,m,g=b.hasData(t)&&b.get(t);if(g&&(l=g.events)){for(c=(e=(e||"").match(S)||[""]).length;c--;)if(p=m=(s=Lt.exec(e[c])||[])[1],f=(s[2]||"").split(".").sort(),p){for(d=C.event.special[p]||{},h=l[p=(n?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=a=h.length;a--;)u=h[a],!o&&m!==u.origType||i&&i.guid!==u.guid||s&&!s.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(h.splice(a,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(t,u));r&&!h.length&&(d.teardown&&!1!==d.teardown.call(t,f,g.handle)||C.removeEvent(t,p,g.handle),delete l[p])}else for(p in l)C.event.remove(t,p+e[c],i,n,!0);C.isEmptyObject(l)&&b.remove(t,"handle events")}},dispatch:function(t){var e,i,n,o,a,r=new Array(arguments.length),s=C.event.fix(t),t=(b.get(this,"events")||Object.create(null))[s.type]||[],l=C.event.special[s.type]||{};for(r[0]=s,e=1;e<arguments.length;e++)r[e]=arguments[e];if(s.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,s)){for(a=C.event.handlers.call(this,s,t),e=0;(n=a[e++])&&!s.isPropagationStopped();)for(s.currentTarget=n.elem,i=0;(o=n.handlers[i++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!1!==o.namespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,void 0!==(o=((C.event.special[o.origType]||{}
vendor: 7,627 bytes, line 1
1).handle||o.handler).apply(n.elem,r))&&!1===(s.result=o)&&(s.preventDefault(),s.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,s),s.result}},handlers:function(t,e){var i,n,o,a,r,s=[],l=e.delegateCount,c=t.target;if(l&&c.nodeType&&!("click"===t.type&&1<=t.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(a=[],r={},i=0;i<l;i++)void 0===r[o=(n=e[i]).selector+" "]&&(r[o]=n.needsContext?-1<C(o,this).index(c):C.find(o,this,null,[c]).length),r[o]&&a.push(n);a.length&&s.push({elem:c,handlers:a})}return c=this,l<e.length&&s.push({elem:c,handlers:e.slice(l)}),s},addProp:function(e,t){Object.defineProperty(C.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[C.expando]?t:new C.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){t=this||t;return wt.test(t.type)&&t.click&&l(t,"input")&&It(t,"click",r),!1},trigger:function(t){t=this||t;return wt.test(t.type)&&t.click&&l(t,"input")&&It(t,"click"),!0},_default:function(t){t=t.target;return wt.test(t.type)&&t.click&&l(t,"input")&&b.get(t,"click")||l(t,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},C.removeEvent=function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i)},C.Event=function(t,e){if(!(this instanceof C.Event))return new C.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?r:p,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&&C.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[C.expando]=!0},C.Event.prototype={constructor:C.Event,isDefaultPrevented:p,isPropagationStopped:p,isImmediatePropagationStopped:p,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=r,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=r,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=r,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},C.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:!0},C.event.addProp),C.each({focus:"focusin",blur:"focusout"},function(t,e){C.event.special[t]={setup:function(){return It(this,t,At),!1},trigger:function(){return It(this,t),!0},_default:function(){return!0},delegateType:e}}),C.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,o){C.event.special[t]={delegateType:o,bindType:o,handle:function(t){var e,i=t.relatedTarget,n=t.handleObj;return i&&(i===this||C.contains(this,i))||(t.type=n.origType,e=n.handler.apply(this,arguments),t.type=o),e}}}),C.fn.extend({on:function(t,e,i,n){return Tt(this,t,e,i,n)},one:function(t,e,i,n){return Tt(this,t,e,i,n,1)},off:function(t,e,i){var n,o;if(t&&t.preventDefault&&t.handleObj)n=t.handleObj,C(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler);else{if("object"!=typeof t)return!1!==e&&"function"!=typeof e||(i=e,e=void 0),!1===i&&(i=p),this.each(function(){C.event.remove(this,t,i,e)});for(o in t)this.off(o,e,t[o])}return this}});var Dt=/<script|<style|<link/i,Pt=/checked\s*(?:[^=]|=\s*.checked.)/i,Et=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function zt(t,e){return l(t,"table")&&l(11!==e.nodeType?e:e.firstChild,"tr")&&C(t).children("tbody")[0]||t}function jt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Ot(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Nt(t,e){var i,n,o,a;if(1===e.nodeType){if(b.hasData(t)&&(a=b.get(t).events))for(o in b.remove(e,"handle events"),a)for(i=0,n=a[o].length;i<n;i++)C.event.add(e,o,a[o][i]);c.hasData(t)&&(t=c.access(t),t=C.extend({},t),c.set(e,t))}}function I(i,n,o,a){n=B(n);var t,e,r,s,l,c,u=0,d=i.length,h=d-1,p=n[0],f=y(p);if(f||1<d&&"string"==typeof p&&!g.checkClone&&Pt.test(p))return i.each(function(t){var e=i.eq(t);f&&(n[0]=p.call(this,t,e.html())),I(e,n,o,a)});if(d&&(e=(t=Mt(n,i[0].ownerDocument,!1,i,a)).firstChild,1===t.childNodes.length&&(t=e),e||a)){for(s=(r=C.map(T(t,"script"),jt)).length;u<d;u++)l=t,u!==h&&(l=C.clone(l,!0,!0),s)&&C.merge(r,T(l,"script")),o.call(i[u],l,u);if(s)for(c=r[r.length-1].ownerDocument,C.map(r,Ot),u=0;u<s;u++)l=r[u],xt.test(l.type||"")&&!b.access(l,"globalEval")&&C.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?C._evalUrl&&!l.noModule&&C._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):Z(l.textContent.replace(Et,""),l,c))}return i}function Bt(t,e,i){for(var n,o=e?C.filter(e,t):t,a=0;null!=(n=o[a]);a++)i||1!==n.nodeType||C.cleanData(T(n)),n.parentNode&&(i&&M(n)&&Ct(T(n,"script")),n.parentNode.removeChild(n));return t}C.extend({htmlPrefilter:function(t){return t},clone:function(t,e,i){var n,o,a,r,s,l,c,u=t.cloneNode(!0),d=M(t);if(!(g.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||C.isXMLDoc(t)))for(r=T(u),n=0,o=(a=T(t)).length;n<o;n++)s=a[n],"input"===(c=(l=r[n]).nodeName.toLowerCase())&&wt.test(s.type)?l.checked=s.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=s.defaultValue);if(e)if(i)for(a=a||T(t),r=r||T(u),n=0,o=a.length;n<o;n++)Nt(a[n],r[n]);else Nt(t,u);return 0<(r=T(u,"script")).length&&Ct(r,!d&&T(t,"script")),u},cleanData:function(t){for(var e,i,n,o=C.event.special,a=0;void 0!==(i=t[a]);a++)if(v(i)){if(e=i[b.expando]){if(e.events)for(n in e.events)o[n]?C.event.remove(i,n):C.removeEvent(i,n,e.handle);i[b.expando]=void 0}i[c.expando]&&(i[c.expando]=void 0)}}}),C.fn.extend({detach:function(t){return Bt(this,t,!0)},remove:function(t){return Bt(this,t)},text:function(t){return d(this,function(t){return void 0===t?C.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 I(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||zt(this,t).appendChild(t)})},prepend:function(){return I(this,arguments,function(t){var e;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(e=zt(this,t)).insertBefore(t,e.firstChild)})},before:function(){return I(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return I(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&&(C.cleanData(T(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return C.clone(this,t,e)})},html:function(t){return d(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&&!Dt.test(t)&&!A[(kt.exec(t)||["",""])[1].toLowerCase()]){t=C.htmlPrefilter(t);try{for(;i<n;i++)1===(e=this[i]||{}
1).nodeType&&(C.cleanData(T(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var i=[];return I(this,arguments,function(t){var e=this.parentNode;C.inArray(this,i)<0&&(C.cleanData(T(this)),e)&&e.replaceChild(t,this)},i)}}),C.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,r){C.fn[t]=function(t){for(var e,i=[],n=C(t),o=n.length-1,a=0;a<=o;a++)e=a===o?this:this.clone(!0),C(n[a])[r](e),R.apply(i,e.get());return this.pushStack(i)}});function Rt(t){var e=t.ownerDocument.defaultView;return(e=e&&e.opener?e:k).getComputedStyle(t)}function Ft(t,e,i){var n,o={};for(n in e)o[n]=t.style[n],t.style[n]=e[n];for(n in i=i.call(t),e)t.style[n]=o[n];return i}var $t,Wt,Ht,Ut,qt,Vt,Zt,o,Yt=new RegExp("^("+t+")(?!px)[a-z%]+$","i"),Gt=new RegExp(h.join("|"),"i");function Xt(t,e,i){var n,o,a=t.style;return(i=i||Rt(t))&&(""!==(o=i.getPropertyValue(e)||i[e])||M(t)||(o=C.style(t,e)),!g.pixelBoxStyles())&&Yt.test(o)&&Gt.test(e)&&(t=a.width,e=a.minWidth,n=a.maxWidth,a.minWidth=a.maxWidth=a.width=o,o=i.width,a.width=t,a.minWidth=e,a.maxWidth=n),void 0!==o?o+"":o}function Kt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}function Jt(){var t;o&&(Zt.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",o.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",w.appendChild(Zt).appendChild(o),t=k.getComputedStyle(o),$t="1%"!==t.top,Vt=12===Qt(t.marginLeft),o.style.right="60%",Ut=36===Qt(t.right),Wt=36===Qt(t.width),o.style.position="absolute",Ht=12===Qt(o.offsetWidth/3),w.removeChild(Zt),o=null)}function Qt(t){return Math.round(parseFloat(t))}Zt=x.createElement("div"),(o=x.createElement("div")).style&&(o.style.backgroundClip="content-box",o.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===o.style.backgroundClip,C.extend(g,{boxSizingReliable:function(){return Jt(),Wt},pixelBoxStyles:function(){return Jt(),Ut},pixelPosition:function(){return Jt(),$t},reliableMarginLeft:function(){return Jt(),Vt},scrollboxSize:function(){return Jt(),Ht},reliableTrDimensions:function(){var t,e,i;return null==qt&&(t=x.createElement("table"),e=x.createElement("tr"),i=x.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",e.style.cssText="border:1px solid",e.style.height="1px",
vendor: 12,694 bytes, line 1
1i.style.height="9px",i.style.display="block",w.appendChild(t).appendChild(e).appendChild(i),i=k.getComputedStyle(e),qt=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===e.offsetHeight,w.removeChild(t)),qt}}));var te=["Webkit","Moz","ms"],ee=x.createElement("div").style,ie={};function ne(t){return C.cssProps[t]||ie[t]||(t in ee?t:ie[t]=(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]).+)/,ae=/^--/,re={position:"absolute",visibility:"hidden",display:"block"},se={letterSpacing:"0",fontWeight:"400"};function le(t,e,i){var n=vt.exec(e);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):e}function ce(t,e,i,n,o,a){var r="width"===e?1:0,s=0,l=0;if(i===(n?"border":"content"))return 0;for(;r<4;r+=2)"margin"===i&&(l+=C.css(t,i+h[r],!0,o)),n?("content"===i&&(l-=C.css(t,"padding"+h[r],!0,o)),"margin"!==i&&(l-=C.css(t,"border"+h[r]+"Width",!0,o))):(l+=C.css(t,"padding"+h[r],!0,o),"padding"!==i?l+=C.css(t,"border"+h[r]+"Width",!0,o):s+=C.css(t,"border"+h[r]+"Width",!0,o));return!n&&0<=a&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-a-l-s-.5))||0),l}function ue(t,e,i){var n=Rt(t),o=(!g.boxSizingReliable()||i)&&"border-box"===C.css(t,"boxSizing",!1,n),a=o,r=Xt(t,e,n),s="offset"+e[0].toUpperCase()+e.slice(1);if(Yt.test(r)){if(!i)return r;r="auto"}return(!g.boxSizingReliable()&&o||!g.reliableTrDimensions()&&l(t,"tr")||"auto"===r||!parseFloat(r)&&"inline"===C.css(t,"display",!1,n))&&t.getClientRects().length&&(o="border-box"===C.css(t,"boxSizing",!1,n),a=s in t)&&(r=t[s]),(r=parseFloat(r)||0)+ce(t,e,i||(o?"border":"content"),a,n,r)+"px"}function a(t,e,i,n,o){return new a.prototype.init(t,e,i,n,o)}C.extend({cssHooks:{opacity:{get:function(t,e){if(e)return""===(e=Xt(t,"opacity"))?"1":e}}},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,a,r,s=_(e),l=ae.test(e),c=t.style;if(l||(e=ne(s)),r=C.cssHooks[e]||C.cssHooks[s],void 0===i)return r&&"get"in r&&void 0!==(o=r.get(t,!1,n))?o:c[e];"string"==(a=typeof i)&&(o=vt.exec(i))&&o[1]&&(i=_t(t,e,o),a="number"),null!=i&&i==i&&("number"!==a||l||(i+=o&&o[3]||(C.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==i||0!==e.indexOf("background")||(c[e]="inherit"),r&&"set"in r&&void 0===(i=r.set(t,i,n))||(l?c.setProperty(e,i):c[e]=i))}},css:function(t,e,i,n){var o,a=_(e);return ae.test(e)||(e=ne(a)),"normal"===(o=void 0===(o=(a=C.cssHooks[e]||C.cssHooks[a])&&"get"in a?a.get(t,!0,i):o)?Xt(t,e,n):o)&&e in se&&(o=se[e]),(""===i||i)&&(a=parseFloat(o),!0===i||isFinite(a))?a||0:o}}),C.each(["height","width"],function(t,r){C.cssHooks[r]={get:function(t,e,i){if(e)return!oe.test(C.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?ue(t,r,i):Ft(t,re,function(){return ue(t,r,i)})},set:function(t,e,i){var n=Rt(t),o=!g.scrollboxSize()&&"absolute"===n.position,a=(o||i)&&"border-box"===C.css(t,"boxSizing",!1,n),i=i?ce(t,r,i,a,n):0;return a&&o&&(i-=Math.ceil(t["offset"+r[0].toUpperCase()+r.slice(1)]-parseFloat(n[r])-ce(t,r,"border",!1,n)-.5)),i&&(a=vt.exec(e))&&"px"!==(a[3]||"px")&&(t.style[r]=e,e=C.css(t,r)),le(0,e,i)}}}),C.cssHooks.marginLeft=Kt(g.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Xt(t,"marginLeft"))||t.getBoundingClientRect().left-Ft(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),C.each({margin:"",padding:"",border:"Width"},function(o,a){C.cssHooks[o+a]={expand:function(t){for(var e=0,i={},n="string"==typeof t?t.split(" "):[t];e<4;e++)i[o+h[e]+a]=n[e]||n[e-2]||n[0];return i}},"margin"!==o&&(C.cssHooks[o+a].set=le)}),C.fn.extend({css:function(t,e){return d(this,function(t,e,i){var n,o,a={},r=0;if(Array.isArray(e)){for(n=Rt(t),o=e.length;r<o;r++)a[e[r]]=C.css(t,e[r],!1,n);return a}return void 0!==i?C.style(t,e,i):C.css(t,e)},t,e,1<arguments.length)}}),((C.Tween=a).prototype={constructor:a,init:function(t,e,i,n,o,a){this.elem=t,this.prop=i,this.easing=o||C.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=a||(C.cssNumber[i]?"":"px")},cur:function(){var t=a.propHooks[this.prop];return(t&&t.get?t:a.propHooks._default).get(this)},run:function(t){var e,i=a.propHooks[this.prop];return this.options.duration?this.pos=e=C.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:a.propHooks._default).set(this),this}}).init.prototype=a.prototype,(a.propHooks={_default:{get:function(t){return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(t=C.css(t.elem,t.prop,""))&&"auto"!==t?t:0},set:function(t){C.fx.step[t.prop]?C.fx.step[t.prop](t):1!==t.elem.nodeType||!C.cssHooks[t.prop]&&null==t.elem.style[ne(t.prop)]?t.elem[t.prop]=t.now:C.style(t.elem,t.prop,t.now+t.unit)}}}).scrollTop=a.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},C.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},C.fx=a.prototype.init,C.fx.step={};var D,de,P,he=/^(?:toggle|show|hide)$/,pe=/queueHooks$/;function fe(){de&&(!1===x.hidden&&k.requestAnimationFrame?k.requestAnimationFrame(fe):k.setTimeout(fe,C.fx.interval),C.fx.tick())}function me(){return k.setTimeout(function(){D=void 0}),D=Date.now()}function ge(t,e){var i,n=0,o={height:t};for(e=e?1:0;n<4;n+=2-e)o["margin"+(i=h[n])]=o["padding"+i]=t;return e&&(o.opacity=o.width=t),o}function ve(t,e,i){for(var n,o=(E.tweeners[e]||[]).concat(E.tweeners["*"]),a=0,r=o.length;a<r;a++)if(n=o[a].call(i,e,t))return n}function E(o,t,e){var i,a,n,r,s,l,c,u=0,d=E.prefilters.length,h=C.Deferred().always(function(){delete p.elem}),p=function(){if(a)return!1;for(var t=D||me(),t=Math.max(0,f.startTime+f.duration-t),e=1-(t/f.duration||0),i=0,n=f.tweens.length;i<n;i++)f.tweens[i].run(e);return h.notifyWith(o,[f,e,t]),e<1&&n?t:(n||h.notifyWith(o,[f,1,0]),h.resolveWith(o,[f]),!1)},f=h.promise({elem:o,props:C.extend({},t),opts:C.extend(!0,{specialEasing:{},easing:C.easing._default},e),originalProperties:t,originalOptions:e,startTime:D||me(),duration:e.duration,tweens:[],createTween:function(t,e){e=C.Tween(o,f.opts,t,e,f.opts.specialEasing[t]||f.opts.easing);return f.tweens.push(e),e},stop:function(t){var e=0,i=t?f.tweens.length:0;if(!a){for(a=!0;e<i;e++)f.tweens[e].run(1);t?(h.notifyWith(o,[f,1,0]),h.resolveWith(o,[f,t])):h.rejectWith(o,[f,t])}return this}}),m=f.props,g=m,v=f.opts.specialEasing;for(n in g)if(s=v[r=_(n)],l=g[n],Array.isArray(l)&&(s=l[1],l=g[n]=l[0]),n!==r&&(g[r]=l,delete g[n]),(c=C.cssHooks[r])&&"expand"in c)for(n in l=c.expand(l),delete g[r],l)n in g||(g[n]=l[n],v[n]=s);else v[r]=s;for(;u<d;u++)if(i=E.prefilters[u].call(f,o,m,f.opts))return y(i.stop)&&(C._queueHooks(f.elem,f.opts.queue).stop=i.stop.bind(i)),i;return C.map(m,ve,f),y(f.opts.start)&&f.opts.start.call(o,f),f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always),C.fx.timer(C.extend(p,{elem:o,anim:f,queue:f.opts.queue})),f}C.Animation=C.extend(E,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);return _t(i.elem,t,vt.exec(e),i),i}]},tweener:function(t,e){for(var i,n=0,o=(t=y(t)?(e=t,["*"]):t.match(S)).length;n<o;n++)i=t[n],E.tweeners[i]=E.tweeners[i]||[],E.tweeners[i].unshift(e)},prefilters:[function(t,e,i){var n,o,a,r,s,l,c,u="width"in e||"height"in e,d=this,h={},p=t.style,f=t.nodeType&&gt(t),m=b.get(t,"fxshow");for(n in i.queue||(null==(r=C._queueHooks(t,"fx")).unqueued&&(r.unqueued=0,s=r.empty.fire,r.empty.fire=function(){r.unqueued||s()}),r.unqueued++,d.always(function(){d.always(function(){r.unqueued--,C.queue(t,"fx").length||r.empty.fire()})})),e)if(o=e[n],he.test(o)){if(delete e[n],a=a||"toggle"===o,o===(f?"hide":"show")){if("show"!==o||!m||void 0===m[n])continue;f=!0}h[n]=m&&m[n]||C.style(t,n)}if((l=!C.isEmptyObject(e))||!C.isEmptyObject(h))for(n in u&&1===t.nodeType&&(i.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=m&&m.display)&&(c=b.get(t,"display")),"none"===(u=C.css(t,"display"))&&(c?u=c:(L([t],!0),c=t.style.display||c,u=C.css(t,"display"),L([t]))),"inline"===u||"inline-block"===u&&null!=c)&&"none"===C.css(t,"float")&&(l||(d.done(function(){p.display=c}),null==c&&(u=p.display,c="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,h)l||(m?"hidden"in m&&(f=m.hidden):m=b.access(t,"fxshow",{display:c}),a&&(m.hidden=!f),f&&L([t],!0),d.done(function(){for(n in f||L([t]),b.remove(t,"fxshow"),h)C.style(t,n,h[n])})),l=ve(f?m[n]:0,n,d),n in m||(m[n]=l.start,f&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?E.prefilters.unshift(t):E.prefilters.push(t)}}),C.speed=function(t,e,i){var n=t&&"object"==typeof t?C.extend({},t):{complete:i||!i&&e||y(t)&&t,duration:t,easing:i&&e||e&&!y(e)&&e};return C.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in C.fx.speeds?n.duration=C.fx.speeds[n.duration]:n.duration=C.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&&C.dequeue(this,n.queue)},n},C.fn.extend({fadeTo:function(t,e,i,n){return this.filter(gt).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(e,t,i,n){function o(){var t=E(this,C.extend({},e),r);(a||b.get(this,"finish"))&&t.stop(!0)}var a=C.isEmptyObject(e),r=C.speed(t,i,n);return o.finish=o,a||!1===r.queue?this.each(o):this.queue(r.queue,o)},stop:function(o,t,a){function r(t){var e=t.stop;delete t.stop,e(a)}return"string"!=typeof o&&(a=t,t=o,o=void 0),t&&this.queue(o||"fx",[]),this.each(function(){var t=!0,e=null!=o&&o+"queueHooks",i=C.timers,n=b.get(this);if(e)n[e]&&n[e].stop&&r(n[e]);else for(e in n)n[e]&&n[e].stop&&pe.test(e)&&r(n[e]);for(e=i.length;e--;)i[e].elem!==this||null!=o&&i[e].queue!==o||(i[e].anim.stop(a),t=!1,i.splice(e,1));!t&&a||C.dequeue(this,o)})},finish:function(r){return!1!==r&&(r=r||"fx"),this.each(function(){var t,e=b.get(this),i=e[r+"queue"],n=e[r+"queueHooks"],o=C.timers,a=i?i.length:0;for(e.finish=!0,C.queue(this,r,[]),n&&n.stop&&n.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===r&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete e.finish})}}),C.each(["toggle","show","hide"],function(t,n){var o=C.fn[n];C.fn[n]=function(t,e,i){return null==t||"boolean"==typeof t?o.apply(this,arguments):this.animate(ge(n,!0),t,e,i)}}),C.each({slideDown:ge("show"),slideUp:ge("hide"),slideToggle:ge("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,n){C.fn[t]=function(t,e,i){return this.animate(n,t,e,i)}}),C.timers=[],C.fx.tick=function(){var t,e=0,i=C.timers;for(D=Date.now();e<i.length;e++)(t=i[e])()||i[e]!==t||i.splice(e--,1);i.length||C.fx.stop(),D=void 0},C.fx.timer=function(t){C.timers.push(t),C.fx.start()},C.fx.interval=13,C.fx.start=function(){de||(de=!0,fe())},C.fx.stop=function(){de=null},C.fx.speeds={slow:600,fast:200,_default:400},C.fn.delay=function(n,t){return n=C.fx&&C.fx.speeds[n]||n,this.queue(t=t||"fx",function(t,e){var i=k.setTimeout(t,n);e.stop=function(){k.clearTimeout(i)}})},P=x.createElement("input"),i=x.createElement("select").appendChild(x.createElement("option")),P.type="checkbox",g.checkOn=""!==P.value,g.optSelected=i.selected,(P=x.createElement("input")).value="t",P.type="radio",g.radioValue="t"===P.value;var ye,_e=C.expr.attrHandle,be=(C.fn.extend({attr:function(t,e){return d(this,C.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){C.removeAttr(this,t)})}}),C.extend({attr:function(t,e,i){var n,o,a=t.nodeType;if(3!==a&&8!==a&&2!==a)return void 0===t.getAttribute?C.prop(t,e,i):(1===a&&C.isXMLDoc(t)||(o=C.attrHooks[e.toLowerCase()]||(C.expr.match.bool.test(e)?ye:void 0)),void 0!==i?null===i?void C.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)))&&null==(n=C.find.attr(t,e))?void 0:n)},attrHooks:{type:{set:function(t,e){var i;if(!g.radioValue&&"radio"===e&&l(t,"input"))return i=t.value,t.setAttribute("type",e),i&&(t.value=i),e}}},removeAttr:function(t,e){var i,n=0,o=e&&e.match(S);if(o&&1===t.nodeType)for(;i=o[n++];)t.removeAttribute(i)}}
1),ye={set:function(t,e,i){return!1===e?C.removeAttr(t,i):t.setAttribute(i,i),i}},C.each(C.expr.match.bool.source.match(/\w+/g),function(t,e){var r=_e[e]||C.find.attr;_e[e]=function(t,e,i){var n,o,a=e.toLowerCase();return i||(o=_e[a],_e[a]=n,n=null!=r(t,e,i)?a:null,_e[a]=o),n}}),/^(?:input|select|textarea|button)$/i),we=/^(?:a|area)$/i;function z(t){return(t.match(S)||[]).join(" ")}function j(t){return t.getAttribute&&t.getAttribute("class")||""}function ke(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(S)||[]}C.fn.extend({prop:function(t,e){return d(this,C.prop,t,e,1<arguments.length)},removeProp:function(t){return this.each(function(){delete this[C.propFix[t]||t]})}}),C.extend({prop:function(t,e,i){var n,o,a=t.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&C.isXMLDoc(t)||(e=C.propFix[e]||e,o=C.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=C.find.attr(t,"tabindex");return e?parseInt(e,10):be.test(t.nodeName)||we.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(C.propHooks.selected={get:function(t){t=t.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(t){t=t.parentNode;t&&(t.selectedIndex,t.parentNode)&&t.parentNode.selectedIndex}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){C.propFix[this.toLowerCase()]=this}),C.fn.extend({addClass:function(e){var t,i,n,o,a,r,s=0;if(y(e))return this.each(function(t){C(this).addClass(e.call(this,t,j(this)))});if((t=ke(e)).length)for(;i=this[s++];)if(r=j(i),n=1===i.nodeType&&" "+z(r)+" "){for(a=0;o=t[a++];)n.indexOf(" "+o+" ")<0&&(n+=o+" ");r!==(r=z(n))&&i.setAttribute("class",r)}return this},removeClass:function(e){var t,i,n,o,a,r,s=0;if(y(e))return this.each(function(t){C(this).removeClass(e.call(this,t,j(this)))});if(!arguments.length)return this.attr("class","");if((t=ke(e)).length)for(;i=this[s++];)if(r=j(i),n=1===i.nodeType&&" "+z(r)+" "){for(a=0;o=t[a++];)for(;-1<n.indexOf(" "+o+" ");)n=n.replace(" "+o+" "," ");r!==(r=z(n))&&i.setAttribute("class",r)}return this},toggleClass:function(o,e){var a=typeof o,r="string"==a||Array.isArray(o);return"boolean"==typeof e&&r?e?this.addClass(o):this.removeClass(o):y(o)?this.each(function(t){C(this).toggleClass(o.call(this,t,j(this),e),e)}):this.each(function(){var t,e,i,n;if(r)for(e=0,i=C(this),n=ke(o);t=n[e++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==o&&"boolean"!=a||((t=j(this))&&b.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",!t&&!1!==o&&b.get(this,"__className__")||""))})},hasClass:function(t){for(var e,i=0,n=" "+t+" ";e=this[i++];)if(1===e.nodeType&&-1<(" "+z(j(e))+" ").indexOf(n))return!0;return!1}});function xe(t){t.stopPropagation()}var Ce=/\r/g,Se=(C.fn.extend({val:function(e){var i,t,n,o=this[0];return arguments.length?(n=y(e),this.each(function(t){1===this.nodeType&&(null==(t=n?e.call(this,t,C(this).val()):e)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=C.map(t,function(t){return null==t?"":t+""})),(i=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&void 0!==i.set(this,t,"value")||(this.value=t))})):o?(i=C.valHooks[o.type]||C.valHooks[o.nodeName.toLowerCase()])&&"get"in i&&void 0!==(t=i.get(o,"value"))?t:"string"==typeof(t=o.value)?t.replace(Ce,""):null==t?"":t:void 0}}),C.extend({valHooks:{option:{get:function(t){var e=C.find.attr(t,"value");return null!=e?e:z(C.text(t))}},select:{get:function(t){for(var e,i=t.options,n=t.selectedIndex,o="select-one"===t.type,a=o?null:[],r=o?n+1:i.length,s=n<0?r:o?n:0;s<r;s++)if(((e=i[s]).selected||s===n)&&!e.disabled&&(!e.parentNode.disabled||!l(e.parentNode,"optgroup"))){if(e=C(e).val(),o)return e;a.push(e)}return a}
vendor: 5,452 bytes, line 1
1,set:function(t,e){for(var i,n,o=t.options,a=C.makeArray(e),r=o.length;r--;)((n=o[r]).selected=-1<C.inArray(C.valHooks.option.get(n),a))&&(i=!0);return i||(t.selectedIndex=-1),a}}}}),C.each(["radio","checkbox"],function(){C.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=-1<C.inArray(C(t).val(),e)}},g.checkOn||(C.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),g.focusin="onfocusin"in k,/^(?:focusinfocus|focusoutblur)$/),Me=(C.extend(C.event,{trigger:function(t,e,i,n){var o,a,r,s,l,c,u,d=[i||x],h=H.call(t,"type")?t.type:t,p=H.call(t,"namespace")?t.namespace.split("."):[],f=u=a=i=i||x;if(3!==i.nodeType&&8!==i.nodeType&&!Se.test(h+C.event.triggered)&&(-1<h.indexOf(".")&&(h=(p=h.split(".")).shift(),p.sort()),s=h.indexOf(":")<0&&"on"+h,(t=t[C.expando]?t:new C.Event(h,"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]:C.makeArray(e,[t]),c=C.event.special[h]||{},n||!c.trigger||!1!==c.trigger.apply(i,e))){if(!n&&!c.noBubble&&!m(i)){for(r=c.delegateType||h,Se.test(r+h)||(f=f.parentNode);f;f=f.parentNode)d.push(f),a=f;a===(i.ownerDocument||x)&&d.push(a.defaultView||a.parentWindow||k)}for(o=0;(f=d[o++])&&!t.isPropagationStopped();)u=f,t.type=1<o?r:c.bindType||h,(l=(b.get(f,"events")||Object.create(null))[t.type]&&b.get(f,"handle"))&&l.apply(f,e),(l=s&&f[s])&&l.apply&&v(f)&&(t.result=l.apply(f,e),!1===t.result)&&t.preventDefault();return t.type=h,n||t.isDefaultPrevented()||c._default&&!1!==c._default.apply(d.pop(),e)||!v(i)||s&&y(i[h])&&!m(i)&&((a=i[s])&&(i[s]=null),C.event.triggered=h,t.isPropagationStopped()&&u.addEventListener(h,xe),i[h](),t.isPropagationStopped()&&u.removeEventListener(h,xe),C.event.triggered=void 0,a)&&(i[s]=a),t.result}},simulate:function(t,e,i){i=C.extend(new C.Event,i,{type:t,isSimulated:!0});C.event.trigger(i,null,e)}}),C.fn.extend({trigger:function(t,e){return this.each(function(){C.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];if(i)return C.event.trigger(t,e,i,!0)}}),g.focusin||C.each({focus:"focusin",blur:"focusout"},function(i,n){function o(t){C.event.simulate(n,t.target,C.event.fix(t))}C.event.special[n]={setup:function(){var t=this.ownerDocument||this.document||this,e=b.access(t,n);e||t.addEventListener(i,o,!0),b.access(t,n,(e||0)+1)},teardown:function(){var t=this.ownerDocument||this.document||this,e=b.access(t,n)-1;e?b.access(t,n,e):(t.removeEventListener(i,o,!0),b.remove(t,n))}}}),k.location),Le={guid:Date.now()},Ae=/\?/,Te=(C.parseXML=function(t){var e,i;if(!t||"string"!=typeof t)return null;try{e=(new k.DOMParser).parseFromString(t,"text/xml")}catch(t){}return i=e&&e.getElementsByTagName("parsererror")[0],e&&!i||C.error("Invalid XML: "+(i?C.map(i.childNodes,function(t){return t.textContent}).join("\n"):t)),e},/\[\]$/),Ie=/\r?\n/g,De=/^(?:submit|button|image|reset|file)$/i,Pe=/^(?:input|select|textarea|keygen)/i;C.param=function(t,e){function i(t,e){e=y(e)?e():e,o[o.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==e?"":e)}var n,o=[];if(null==t)return"";if(Array.isArray(t)||t.jquery&&!C.isPlainObject(t))C.each(t,function(){i(this.name,this.value)});else for(n in t)!function i(n,t,o,a){if(Array.isArray(t))C.each(t,function(t,e){o||Te.test(n)?a(n,e):i(n+"["+("object"==typeof e&&null!=e?t:"")+"]",e,o,a)});else if(o||"object"!==f(t))a(n,t);else for(var e in t)i(n+"["+e+"]",t[e],o,a)}(n,t[n],e,i);return o.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=C.prop(this,"elements");return t?C.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!C(this).is(":disabled")&&Pe.test(this.nodeName)&&!De.test(t)&&(this.checked||!wt.test(t))}).map(function(t,e){var i=C(this).val();return null==i?null:Array.isArray(i)?C.map(i,function(t){return{name:e.name,value:t.replace(Ie,"\r\n")}}):{name:e.name,value:i.replace(Ie,"\r\n")}}).get()}});var Ee=/%20/g,ze=/#.*$/,je=/([?&])_=[^&]*/,Oe=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ne=/^(?:GET|HEAD)$/,Be=/^\/\//,Re={},Fe={},$e="*/".concat("*"),We=x.createElement("a");function He(a){return function(t,e){"string"!=typeof t&&(e=t,t="*");var i,n=0,o=t.toLowerCase().match(S)||[];if(y(e))for(;i=o[n++];)"+"===i[0]?(i=i.slice(1)||"*",(a[i]=a[i]||[]).unshift(e)):(a[i]=a[i]||[]).push(e)}}function Ue(e,n,o,a){var r={},s=e===Fe;function l(t){var i;return r[t]=!0,C.each(e[t]||[],function(t,e){e=e(n,o,a);return"string"!=typeof e||s||r[e]?s?!(i=e):void 0:(n.dataTypes.unshift(e),l(e),!1)}),i}return l(n.dataTypes[0])||!r["*"]&&l("*")}function qe(t,e){var i,n,o=C.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((o[i]?t:n=n||{})[i]=e[i]);return n&&C.extend(!0,t,n),t}We.href=Me.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Me.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Me.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$e,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":C.parseXML}
vendor: 4,551 bytes, line 1
1,flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?qe(qe(t,C.ajaxSettings),e):qe(C.ajaxSettings,t)},ajaxPrefilter:He(Re),ajaxTransport:He(Fe),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0);var l,c,u,i,d,h,p,n,o,f=C.ajaxSetup({},e=e||{}),m=f.context||f,g=f.context&&(m.nodeType||m.jquery)?C(m):C.event,v=C.Deferred(),y=C.Callbacks("once memory"),_=f.statusCode||{},a={},r={},s="canceled",b={readyState:0,getResponseHeader:function(t){var e;if(h){if(!i)for(i={};e=Oe.exec(u);)i[e[1].toLowerCase()+" "]=(i[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=i[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return h?u:null},setRequestHeader:function(t,e){return null==h&&(t=r[t.toLowerCase()]=r[t.toLowerCase()]||t,a[t]=e),this},overrideMimeType:function(t){return null==h&&(f.mimeType=t),this},statusCode:function(t){if(t)if(h)b.always(t[b.status]);else for(var e in t)_[e]=[_[e],t[e]];return this},abort:function(t){t=t||s;return l&&l.abort(t),w(0,t),this}};if(v.promise(b),f.url=((t||f.url||Me.href)+"").replace(Be,Me.protocol+"//"),f.type=e.method||e.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(S)||[""],null==f.crossDomain){o=x.createElement("a");try{o.href=f.url,o.href=o.href,f.crossDomain=We.protocol+"//"+We.host!=o.protocol+"//"+o.host}catch(t){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=C.param(f.data,f.traditional)),Ue(Re,f,e,b),!h){for(n in(p=C.event&&f.global)&&0==C.active++&&C.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Ne.test(f.type),c=f.url.replace(ze,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Ee,"+")):(o=f.url.slice(c.length),f.data&&(f.processData||"string"==typeof f.data)&&(c+=(Ae.test(c)?"&":"?")+f.data,delete f.data),!1===f.cache&&(c=c.replace(je,"$1"),o=(Ae.test(c)?"&":"?")+"_="+Le.guid+++o),f.url=c+o),f.ifModified&&(C.lastModified[c]&&b.setRequestHeader("If-Modified-Since",C.lastModified[c]),C.etag[c])&&b.setRequestHeader("If-None-Match",C.etag[c]),(f.data&&f.hasContent&&!1!==f.contentType||e.contentType)&&b.setRequestHeader("Content-Type",f.contentType),b.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+$e+"; q=0.01":""):f.accepts["*"]),f.headers)b.setRequestHeader(n,f.headers[n]);if(f.beforeSend&&(!1===f.beforeSend.call(m,b,f)||h))return b.abort();if(s="abort",y.add(f.complete),b.done(f.success),b.fail(f.error),l=Ue(Fe,f,e,b)){if(b.readyState=1,p&&g.trigger("ajaxSend",[b,f]),h)return b;f.async&&0<f.timeout&&(d=k.setTimeout(function(){b.abort("timeout")},f.timeout));try{h=!1,l.send(a,w)}catch(t){if(h)throw t;w(-1,t)}}else w(-1,"No Transport")}return b;function w(t,e,i,n){var o,a,r,s=e;h||(h=!0,d&&k.clearTimeout(d),l=void 0,u=n||"",b.readyState=0<t?4:0,n=200<=t&&t<300||304===t,i&&(r=((t,e,i)=>{for(var n,o,a,r,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader("Content-Type"));if(n)for(o in s)if(s[o]&&s[o].test(n)){l.unshift(o);break}if(l[0]in i)a=l[0];else{for(o in i){if(!l[0]||t.converters[o+" "+l[0]]){a=o;break}r=r||o}a=a||r}if(a)return a!==l[0]&&l.unshift(a),i[a]})(f,b,i)),!n&&-1<C.inArray("script",f.dataTypes)&&C.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),r=((t,e,i,n)=>{var o,a,r,s,l,c={},u=t.dataTypes.slice();if(u[1])for(r in t.converters)c[r.toLowerCase()]=t.converters[r];for(a=u.shift();a;)if(t.responseFields[a]&&(i[t.responseFields[a]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=a,a=u.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(!(r=c[l+" "+a]||c["* "+a]))for(o in c)if((s=o.split(" "))[1]===a&&(r=c[l+" "+s[0]]||c["* "+s[0]])){!0===r?r=c[o]:!0!==c[o]&&(a=s[0],u.unshift(s[1]));break}if(!0!==r)if(r&&t.throws)e=r(e);else try{e=r(e)}catch(t){return{state:"parsererror",error:r?t:"No conversion from "+l+" to "+a}}}return{state:"success",data:e}})(f,r,b,n),n?(f.ifModified&&((i=b.getResponseHeader("Last-Modified"))&&(C.lastModified[c]=i),i=b.getResponseHeader("etag"))&&(C.etag[c]=i),204===t||"HEAD"===f.type?s="nocontent":304===t?s="notmodified":(s=r.state,o=r.data,n=!(a=r.error))):(a=s,!t&&s||(s="error",t<0&&(t=0))),b.status=t,b.statusText=(e||s)+"",n?v.resolveWith(m,[o,s,b]):v.rejectWith(m,[b,s,a]),b.statusCode(_),_=void 0,p&&g.trigger(n?"ajaxSuccess":"ajaxError",[b,f,n?o:a]),y.fireWith(m,[b,s]),p&&(g.trigger("ajaxComplete",[b,f]),--C.active||C.event.trigger("ajaxStop")))}}
vendor: 4,353 bytes, line 1
1,getJSON:function(t,e,i){return C.get(t,e,i,"json")},getScript:function(t,e){return C.get(t,void 0,e,"script")}}),C.each(["get","post"],function(t,o){C[o]=function(t,e,i,n){return y(e)&&(n=n||i,i=e,e=void 0),C.ajax(C.extend({url:t,type:o,dataType:n,data:e,success:i},C.isPlainObject(t)&&t))}}),C.ajaxPrefilter(function(t){for(var e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),C._evalUrl=function(t,e,i){return C.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){C.globalEval(t,e,i)}})},C.fn.extend({wrapAll:function(t){return this[0]&&(y(t)&&(t=t.call(this[0])),t=C(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.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){C(this).wrapInner(i.call(this,t))}):this.each(function(){var t=C(this),e=t.contents();e.length?e.wrapAll(i):t.append(i)})},wrap:function(e){var i=y(e);return this.each(function(t){C(this).wrapAll(i?e.call(this,t):e)})},unwrap:function(t){return this.parent(t).not("body").each(function(){C(this).replaceWith(this.childNodes)}),this}}),C.expr.pseudos.hidden=function(t){return!C.expr.pseudos.visible(t)},C.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new k.XMLHttpRequest}catch(t){}};var Ve={0:200,1223:204},Ze=C.ajaxSettings.xhr();g.cors=!!Ze&&"withCredentials"in Ze,g.ajax=Ze=!!Ze,C.ajaxTransport(function(o){var a,r;if(g.cors||Ze&&!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]);a=function(t){return function(){a&&(a=r=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(Ve[n.status]||n.status,n.statusText,"text"!==(n.responseType||"text")||"string"!=typeof n.responseText?{binary:n.response}:{text:n.responseText},n.getAllResponseHeaders()))}},n.onload=a(),r=n.onerror=n.ontimeout=a("error"),void 0!==n.onabort?n.onabort=r:n.onreadystatechange=function(){4===n.readyState&&k.setTimeout(function(){a&&r()})},a=a("abort");try{n.send(o.hasContent&&o.data||null)}catch(t){if(a)throw t}},abort:function(){a&&a()}}}),C.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),C.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 C.globalEval(t),t}}}),C.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),C.ajaxTransport("script",function(i){var n,o;if(i.crossDomain||i.scriptAttrs)return{send:function(t,e){n=C("<script>").attr(i.scriptAttrs||{}).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)}),x.head.appendChild(n[0])},abort:function(){o&&o()}}});var Ye=[],Ge=/(=)\?(?=&|$)|\?\?/,Xe=(C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ye.pop()||C.expando+"_"+Le.guid++;return this[t]=!0,t}}),C.ajaxPrefilter("json jsonp",function(t,e,i){var n,o,a,r=!1!==t.jsonp&&(Ge.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ge.test(t.data)&&"data");if(r||"jsonp"===t.dataTypes[0])return n=t.jsonpCallback=y(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,r?t[r]=t[r].replace(Ge,"$1"+n):!1!==t.jsonp&&(t.url+=(Ae.test(t.url)?"&":"?")+t.jsonp+"="+n),t.converters["script json"]=function(){return a||C.error(n+" was not called"),a[0]},t.dataTypes[0]="json",o=k[n],k[n]=function(){a=arguments},i.always(function(){void 0===o?C(k).removeProp(n):k[n]=o,t[n]&&(t.jsonpCallback=e.jsonpCallback,Ye.push(n)),a&&y(o)&&o(a[0]),a=o=void 0}),"script"}),g.createHTMLDocument=((t=x.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>
1",2===t.childNodes.length),C.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(g.createHTMLDocument?((n=(e=x.implementation.createHTMLDocument("")).createElement("base")).href=x.location.href,e.head.appendChild(n)):e=x),n=!i&&[],(i=K.exec(t))?[e.createElement(i[1])]:(i=Mt([t],e,n),n&&n.length&&C(n).remove(),C.merge([],i.childNodes)));var n},C.fn.load=function(t,e,i){var n,o,a,r=this,s=t.indexOf(" ");return-1<s&&(n=z(t.slice(s)),t=t.slice(0,s)),y(e)?(i=e,e=void 0):e&&"object"==typeof e&&(o="POST"),0<r.length&&C.ajax({url:t,type:o||"GET",dataType:"html",data:e}).done(function(t){a=arguments,r.html(n?C("<div>").append(C.parseHTML(t)).find(n):t)}).always(i&&function(t,e){r.each(function(){i.apply(this,a||[t.responseText,e,t])})}),this},C.expr.pseudos.animated=function(e){return C.grep(C.timers,function(t){return e===t.elem}).length},C.offset={setOffset:function(t,e,i){var n,o,a,r,s=C.css(t,"position"),l=C(t),c={};"static"===s&&(t.style.position="relative"),a=l.offset(),n=C.css(t,"top"),r=C.css(t,"left"),s=("absolute"===s||"fixed"===s)&&-1<(n+r).indexOf("auto")?(o=(s=l.position()).top,s.left):(o=parseFloat(n)||0,parseFloat(r)||0),null!=(e=y(e)?e.call(t,i,C.extend({},a)):e).top&&(c.top=e.top-a.top+o),null!=e.left&&(c.left=e.left-a.left+s),"using"in e?e.using.call(t,c):l.css(c)}},C.fn.extend({offset:function(e){var t,i;return arguments.length?void 0===e?this:this.each(function(t){C.offset.setOffset(this,e,t)}):(i=this[0])?i.getClientRects().length?(t=i.getBoundingClientRect(),i=i.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"===C.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"===C.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&((o=C(t).offset()).top+=C.css(t,"borderTopWidth",!0),o.left+=C.css(t,"borderLeftWidth",!0))}return{top:e.top-o.top-C.css(n,"marginTop",!0),left:e.left-o.left-C.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===C.css(t,"position");)t=t.offsetParent;return t||w})}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,o){var a="pageYOffset"===o;C.fn[e]=function(t){return d(this,function(t,e,i){var n;if(m(t)?n=t:9===t.nodeType&&(n=t.defaultView),void 0===i)return n?n[o]:t[e];n?n.scrollTo(a?n.pageXOffset:i,a?i:n.pageYOffset):t[e]=i},e,t,arguments.length)}}),C.each(["top","left"],function(t,i){C.cssHooks[i]=Kt(g.pixelPosition,function(t,e){if(e)return e=Xt(t,i),Yt.test(e)?C(t).position()[i]+"px":e})}),C.each({Height:"height",Width:"width"},function(r,s){C.each({padding:"inner"+r,content:s,"":"outer"+r},function(n,a){C.fn[a]=function(t,e){var i=arguments.length&&(n||"boolean"!=typeof t),o=n||(!0===t||!0===e?"margin":"border");return d(this,function(t,e,i){var n;return m(t)?0===a.indexOf("outer")?t["inner"+r]:t.document.documentElement["client"+r]:9===t.nodeType?(n=t.documentElement,Math.max(t.body["scroll"+r],n["scroll"+r],t.body["offset"+r],n["offset"+r],n["client"+r])):void 0===i?C.css(t,e,o):C.style(t,e,i,o)},s,i?t:void 0,i)}})}),C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){C.fn[e]=function(t){return this.on(e,t)}}),C.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)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),C.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){C.fn[i]=function(t,e){return 0<arguments.length?this.on(i,null,t,e):this.trigger(i)}}),/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g),Ke=(C.proxy=function(t,e){var i,n;if("string"==typeof e&&(n=t[e],e=t,t=n),y(t))return i=s.call(arguments,2),(n=function(){return t.apply(e||this,i.concat(s.call(arguments)))}).guid=t.guid=t.guid||C.guid++,n},C.holdReady=function(t){t?C.readyWait++:C.ready(!0)},C.isArray=Array.isArray,C.parseJSON=JSON.parse,C.nodeName=l,C.isFunction=y,C.isWindow=m,C.camel
1Case=_,C.type=f,C.now=Date.now,C.isNumeric=function(t){var e=C.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},C.trim=function(t){return null==t?"":(t+"").replace(Xe,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return C}),k.jQuery),Je=k.$;return C.noConflict=function(t){return k.$===C&&(k.$=Je),t&&k.jQuery===C&&(k.jQuery=Ke),C},void 0===O&&(k.jQuery=k.$=C),C}),((t,e)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.moment=e()})(this,function(){var O;function p(){return O.apply(null,arguments)}function l(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function N(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t){return void 0===t}function B(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function R(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function F(t,e){for(var i=[],n=0;n<t.length;++n)i.push(e(t[n],n));return i}function f(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function s(t,e){for(var i in e)f(e,i)&&(t[i]=e[i]);return f(e,"toString")&&(t.toString=e.toString),f(e,"valueOf")&&(t.valueOf=e.valueOf),t}function c(t,e,i,n){return Ie(t,e,i,n,!0).utc()}function m(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function $(t){if(null==t._isValid){var e=m(t),i=H.call(e.parsedDateParts,function(t){return null!=t}),i=!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&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function W(t){var e=c(NaN);return null!=t?s(m(e),t):m(e).userInvalidated=!0,e}var H=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},U=p.momentProperties=[];function q(t,e){var i,n,o;if(a(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),a(e._i)||(t._i=e._i),a(e._f)||(t._f=e._f),a(e._l)||(t._l=e._l),a(e._strict)||(t._strict=e._strict),a(e._tzm)||(t._tzm=e._tzm),a(e._isUTC)||(t._isUTC=e._isUTC),a(e._offset)||(t._offset=e._offset),a(e._pf)||(t._pf=m(e)),a(e._locale)||(t._locale=e._locale),0<U.length)for(i=0;i<U.length;i++)a(o=e[n=U[i]])||(t[n]=o);return t}var V=!1;function Z(t){q(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===V&&(V=!0,p.updateOffset(this),V=!1)}function r(t){return t instanceof Z||null!=t&&null!=t._isAMomentObject}function u(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function d(t){var t=+t,e=0;return e=0!=t&&isFinite(t)?u(t):e}function Y(t,e,i){for(var n=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0,r=0;r<n;r++)(i&&t[r]!==e[r]||!i&&d(t[r])!==d(e[r]))&&a++;return a+o}function G(t){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function t(o,a){var r=!0;return s(function(){if(null!=p.deprecationHandler&&p.deprecationHandler(null,o),r){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)}G(o+"\nArguments: "+Array.prototype.slice.call(e).join("")+"\n"+(new Error).stack),r=!1}return a.apply(this,arguments)},a)}var X={};function K(t,e){null!=p.deprecationHandler&&p.deprecationHandler(t,e),X[t]||(G(e),X[t]=!0)}function h(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function J(t,e){var i,n=s({},t);for(i in e)f(e,i)&&(N(t[i])&&N(e[i])?(n[i]={},s(n[i],t[i]),s(n[i],e[i])):null!=e[i]?n[i]=e[i]:delete n[i]);for(i in t)f(t,i)&&!f(e,i)&&N(t[i])&&(n[i]=s({},n[i]));return n}function Q(t){null!=t&&this.set(t)}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null;var tt=Object.keys||function(t){var e,i=[];for(e in t)f(t,e)&&i.push(e);return i},et={};function e(t,e){var i=t.toLowerCase();et[i]=et[i+"s"]=et[e]=t}function g(t){return"string"==typeof t?et[t]||et[t.toLowerCase()]:void 0}function it(t){var e,i,n={};for(i in t)f(t,i)&&(e=g(i))&&(n[e]=t[i]);return n}var nt={};function i(t,e){nt[t]=e}function v(t,e,i){var n=""+Math.abs(t);return(0<=t?i?"+":"":"-")+Math.pow(10,Math.max(0,e-n.length)).toString().substr(1)+n}var ot=/(\[[^\[]*\])|(\\)?([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}
1|x|X|zz?|ZZ?|.)/g,at=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,rt={},st={};function n(t,e,i,n){var o="string"==typeof n?function(){return this[n]()}:n;t&&(st[t]=o),e&&(st[e[0]]=function(){return v(o.apply(this,arguments),e[1],e[2])}),i&&(st[i]=function(){return this.localeData().ordinal(o.apply(this,arguments),t)})}function lt(t,e){return t.isValid()?(e=ct(e,t.localeData()),rt[e]=rt[e]||(n=>{for(var t,o=n.match(ot),e=0,a=o.length;e<a;e++)st[o[e]]?o[e]=st[o[e]]:o[e]=(t=o[e]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(t){for(var e="",i=0;i<a;i++)e+=h(o[i])?o[i].call(t,n):o[i];return e}})(e),rt[e](t)):t.localeData().invalidDate()}function ct(t,e){var i=5;function n(t){return e.longDateFormat(t)||t}for(at.lastIndex=0;0<=i&&at.test(t);)t=t.replace(at,n),at.lastIndex=0,--i;return t}var o=/\d/,y=/\d\d/,ut=/\d{3}/,dt=/\d{4}/,ht=/[+-]?\d{6}/,_=/\d\d?/,pt=/\d\d\d\d?/,ft=/\d\d\d\d\d\d?/,mt=/\d{1,3}/,gt=/\d{1,4}/,vt=/[+-]?\d{1,6}/,yt=/\d+/,_t=/[+-]?\d+/,bt=/Z|[+-]\d\d:?\d\d/gi,wt=/Z|[+-]\d\d(?::?\d\d)?/gi,kt=/[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,xt={};function b(t,i,n){xt[t]=h(i)?i:function(t,e){return t&&n?n:i}}function Ct(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var St={};function w(t,i){var e,n=i;for("string"==typeof t&&(t=[t]),B(i)&&(n=function(t,e){e[i]=d(t)}),e=0;e<t.length;e++)St[t[e]]=n}function Mt(t,o){w(t,function(t,e,i,n){i._w=i._w||{},o(t,i._w,i,n)})}var k=0,x=1,C=2,S=3,M=4,L=5,Lt=6,At=7,Tt=8;function It(t){return Dt(t)?366:365}function Dt(t){return t%4==0&&t%100!=0||t%400==0}n("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),n(0,["YY",2],0,function(){return this.year()%100}),n(0,["YYYY",4],0,"year"),n(0,["YYYYY",5],0,"year"),n(0,["YYYYYY",6,!0],0,"year"),e("year","y"),i("year",1),b("Y",_t),b("YY",_,y),b("YYYY",gt,dt),b("YYYYY",vt,ht),b("YYYYYY",vt,ht),w(["YYYYY","YYYYYY"],k),w("YYYY",function(t,e){e[k]=2===t.length?p.parseTwoDigitYear(t):d(t)}),w("YY",function(t,e){e[k]=p.parseTwoDigitYear(t)}),w("Y",function(t,e){e[k]=parseInt(t,10)}),p.parseTwoDigitYear=function(t){return d(t)+(68<d(t)?1900:2e3)};var A,Pt=Et("FullYear",!0);function Et(e,i){return function(t){return null!=t?(jt(this,e,t),p.updateOffset(this,i),this):zt(this,e)}}function zt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function jt(t,e,i){t.isValid()&&!isNaN(i)&&("FullYear"===e&&Dt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](i,t.month(),Ot(i,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](i))}function Ot(t,e){return isNaN(t)||isNaN(e)?NaN:(t+=(e-(e=(e%12+12)%12))/12,1==e?Dt(t)?29:28:31-e%7%2)}A=Array.prototype.indexOf||function(t){for(var e=0;e<this.length;++e)if(this[e]===t)return e;return-1},n("M",["MM",2],"Mo",function(){return this.month()+1}),n("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),n("MMMM",0,0,function(t){return this.localeData().months(this,t)}),e("month","M"),i("month",8),b("M",_),b("MM",_,y),b("MMM",function(t,e){return e.monthsShortRegex(t)}),b("MMMM",function(t,e){return e.monthsRegex(t)}),w(["M","MM"],function(t,e){e[x]=d(t)-1}),w(["MMM","MMMM"],function(t,e,i,n){n=i._locale.monthsParse(t,n,i._strict);null!=n?e[x]=n:m(i).invalidMonth=t});var Nt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Bt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Rt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Ft(t,e){var i;if(t.isValid()){if("string"==typeof e)if(/^\d+$/.test(e))e=d(e);else if(!B(e=t.localeData().monthsParse(e)))return;i=Math.min(t.date(),Ot(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,i)}}function $t(t){return null!=t?(Ft(this,t),p.updateOffset(this,!0),this):zt(this,"Month")}var Wt=kt,Ht=kt;function Ut(){function t(t,e){return e.length-t.length}for(var e,i=[],n=[],o=[],a=0;a<12;a++)e=c([2e3,a]),i.push(this.monthsShort(e,"")),n.push(this.months(e,"")),o.push(this.months(e,"")),o.push(this.monthsShort(e,""));for(i.sort(t),n.sort(t),o.sort(t),a=0;a<12;a++)i[a]=Ct(i[a]),n[a]=Ct(n[a]);for(a=0;a<24;a++)o[a]=Ct(o[a]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function qt(t){var e;return t<100&&0<=t?((e=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,e)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Vt(t,e,i){i=7+e-i;return-(7+qt(t,0,i).getUTCDay()-e)%7+i-1}function Zt(t,e,i,n,o){var a,e=1+7*(e-1)+(7+i-n)%7+Vt(t,n,o),i=e<=0?It(a=t-1)+e:e>It(t)?(a=t+1,e-It(t)):(a=t,e);return{year:a,dayOfYear:i}}function Yt(t,e,i){var n,o,a=Vt(t.year(),e,i),a=Math.floor((t.dayOfYear()-a-1)/7)+1;return a<1?n=a+Gt(o=t.year()-1,e,i):a>Gt(t.year(),e,i)?(n=a-Gt(t.year(),e,i),o=t.year()+1):(o=t.year(),n=a),{week:n,year:o}}function Gt(t,e,i){var n=Vt(t,e,i),e=Vt(t+1,e,i);return(It(t)-n+e)/7}function Xt(t,e){return t.slice(e,7).concat(t.slice(0,e))}n("w",["ww",2],"wo","week"),n("W",["WW",2],"Wo","isoWeek"),e("week","w"),e("isoWeek","W"),i("week",5),i("isoWeek",5),b("w",_),b("ww",_,y),b("W",_),b("WW",_,y),Mt(["w","ww","W","WW"],function(t,e,
1i,n){e[n.substr(0,1)]=d(t)}),n("d",0,"do","day"),n("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),n("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),n("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),n("e",0,0,"weekday"),n("E",0,0,"isoWeekday"),e("day","d"),e("weekday","e"),e("isoWeekday","E"),i("day",11),i("weekday",11),i("isoWeekday",11),b("d",_),b("e",_),b("E",_),b("dd",function(t,e){return e.weekdaysMinRegex(t)}),b("ddd",function(t,e){return e.weekdaysShortRegex(t)}),b("dddd",function(t,e){return e.weekdaysRegex(t)}),Mt(["dd","ddd","dddd"],function(t,e,i,n){n=i._locale.weekdaysParse(t,n,i._strict);null!=n?e.d=n:m(i).invalidWeekday=t}),Mt(["d","e","E"],function(t,e,i,n){e[n]=d(t)});var Kt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Jt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),te=kt,ee=kt,ie=kt;function ne(){function t(t,e){return e.length-t.length}for(var e,i,n,o=[],a=[],r=[],s=[],l=0;l<7;l++)n=c([2e3,1]).day(l),e=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),n=this.weekdays(n,""),o.push(e),a.push(i),r.push(n),s.push(e),s.push(i),s.push(n);for(o.sort(t),a.sort(t),r.sort(t),s.sort(t),l=0;l<7;l++)a[l]=Ct(a[l]),r[l]=Ct(r[l]),s[l]=Ct(s[l]);this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function oe(){return this.hours()%12||12}function ae(t,e){n(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function re(t,e){return e._meridiemParse}n("H",["HH",2],0,"hour"),n("h",["hh",2],0,oe),n("k",["kk",2],0,function(){return this.hours()||24}),n("hmm",0,0,function(){return""+oe.apply(this)+v(this.minutes(),2)}),n("hmmss",0,0,function(){return""+oe.apply(this)+v(this.minutes(),2)+v(this.seconds(),2)}),n("Hmm",0,0,function(){return""+this.hours()+v(this.minutes(),2)}),n("Hmmss",0,0,function(){return""+this.hours()+v(this.minutes(),2)+v(this.seconds(),2)}),ae("a",!0),ae("A",!1),e("hour","h"),i("hour",13),b("a",re),b("A",re),b("H",_),b("h",_),b("k",_),b("HH",_,y),b("hh",_,y),b("kk",_,y),b("hmm",pt),b("hmmss",ft),b("Hmm",pt),b("Hmmss",ft),w(["H","HH"],S),w(["k","kk"],function(t,e,i){t=d(t);e[S]=24===t?0:t}),w(["a","A"],function(t,e,i){i._isPm=i._locale.isPM(t),i._meridiem=t}),w(["h","hh"],function(t,e,i){e[S]=d(t),m(i).bigHour=!0}),w("hmm",function(t,e,i){var n=t.length-2;e[S]=d(t.substr(0,n)),e[M]=d(t.substr(n)),m(i).bigHour=!0}),w("hmmss",function(t,e,i){var n=t.length-4,o=t.length-2;e[S]=d(t.substr(0,n)),e[M]=d(t.substr(n,2)),e[L]=d(t.substr(o)),m(i).bigHour=!0}),w("Hmm",function(t,e,i){var n=t.length-2;e[S]=d(t.substr(0,n)),e[M]=d(t.substr(n))}),w("Hmmss",function(t,e,i){var n=t.length-4,o=t.length-2;e[S]=d(t.substr(0,n)),e[M]=d(t.substr(n,2)),e[L]=d(t.substr(o))});var se,kt=Et("Hours",!0),le={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:Bt,monthsShort:Rt,week:{dow:0,doy:6},weekdays:Kt,weekdaysMin:Qt,weekdaysShort:Jt,meridiemParse:/[ap]\.?m?\.?/i},T={},ce={};function ue(t){return t&&t.toLowerCase().replace("_","-")}function de(t){var e;if(!T[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=se._abbr,require("./locale/"+t),he(e)}catch(t){}return T[t]}function he(t,e){return t&&((e=a(e)?fe(t):pe(t,e))?se=e:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),se._abbr}function pe(t,e){if(null===e)return delete T[t],null;var i,n=le;if(e.abbr=t,null!=T[t])K("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=T[t]._config;else if(null!=e.parentLocale)if(null!=T[e.parentLocale])n=T[e.parentLocale]._config;else{if(null==(i=de(e.parentLocale)))return ce[e.parentLocale]||(ce[e.parentLocale]=[]),ce[e.parentLocale].push({name:t,config:e}),null;n=i._config}return T[t]=new Q(J(n,e)),ce[t]&&ce[t].forEach(function(t){pe(t.name,t.config)}),he(t),T[t]}function fe(t){var e;if(t=t&&t._locale&&t._locale._abbr?t._locale._abbr:t){if(!l(t)){if(e=de(t))return e;t=[t]}for(var i,n,o,a,r=t,s=0;s<r.length;){for(i=(a=ue(r[s]).split("-")).length,n=(n=ue(r[s+1]))?n.split("-"):null;0<i;){if(o=de(a.slice(0,i).join("-")))return o;if(n&&n.length>=i&&Y(a,n,!0)>=i-1)break;i--}s++}}return se}function me(t){var e=t._a;
1return e&&-2===m(t).overflow&&(e=e[x]<0||11<e[x]?x:e[C]<1||e[C]>Ot(e[k],e[x])?C:e[S]<0||24<e[S]||24===e[S]&&(0!==e[M]||0!==e[L]||0!==e[Lt])?S:e[M]<0||59<e[M]?M:e[L]<0||59<e[L]?L:e[Lt]<0||999<e[Lt]?Lt:-1,m(t)._overflowDayOfYear&&(e<k||C<e)&&(e=C),m(t)._overflowWeeks&&-1===e&&(e=At),m(t)._overflowWeekday&&-1===e&&(e=Tt),m(t).overflow=e),t}function ge(t,e,i){return null!=t?t:null!=e?e:i}function ve(t){var e,i,n,o,a,r,s,l,c=[];if(!t._d){var u=t,d=new Date(p.now()),h=u._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()];for(t._w&&null==t._a[C]&&null==t._a[x]&&(null!=(d=(u=t)._w).GG||null!=d.W||null!=d.E?(o=1,a=4,s=ge(d.GG,u._a[k],Yt(I(),1,4).year),l=ge(d.W,1),((i=ge(d.E,1))<1||7<i)&&(n=!0)):(o=u._locale._week.dow,a=u._locale._week.doy,r=Yt(I(),o,a),s=ge(d.gg,u._a[k],r.year),l=ge(d.w,r.week),null!=d.d?((i=d.d)<0||6<i)&&(n=!0):null!=d.e?(i=d.e+o,(d.e<0||6<d.e)&&(n=!0)):i=o),l<1||l>Gt(s,o,a)?m(u)._overflowWeeks=!0:null!=n?m(u)._overflowWeekday=!0:(r=Zt(s,l,i,o,a),u._a[k]=r.year,u._dayOfYear=r.dayOfYear)),null!=t._dayOfYear&&(d=ge(t._a[k],h[k]),(t._dayOfYear>It(d)||0===t._dayOfYear)&&(m(t)._overflowDayOfYear=!0),n=qt(d,0,t._dayOfYear),t._a[x]=n.getUTCMonth(),t._a[C]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=c[e]=h[e];for(;e<7;e++)t._a[e]=c[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[S]&&0===t._a[M]&&0===t._a[L]&&0===t._a[Lt]&&(t._nextDay=!0,t._a[S]=0),t._d=(t._useUTC?qt:function(t,e,i,n,o,a,r){var s;return t<100&&0<=t?(s=new Date(t+400,e,i,n,o,a,r),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,i,n,o,a,r),s}).apply(null,c),s=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[S]=24),t._w&&void 0!==t._w.d&&t._w.d!==s&&(m(t).weekdayMismatch=!0)}}var ye=/^\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=/^\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)?)?$/,be=/Z|[+-]\d\d(?::?\d\d)?/,we=[["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}/]],ke=[["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/]],xe=/^\/?Date\((\-?\d+)/i;function Ce(t){var e,i,n,o,a,r,s=t._i,l=ye.exec(s)||_e.exec(s);if(l){for(m(t).iso=!0,e=0,i=we.length;e<i;e++)if(we[e][1].exec(l[1])){o=we[e][0],n=!1!==we[e][2];break}if(null==o)return t._isValid=!1;if(l[3]){for(e=0,i=ke.length;e<i;e++)if(ke[e][1].exec(l[3])){a=(l[2]||" ")+ke[e][0];break}if(null==a)return t._isValid=!1}if(!n&&null!=a)return t._isValid=!1;if(l[4]){if(!be.exec(l[4]))return t._isValid=!1;r="Z"}t._f=o+(a||"")+(r||""),Ae(t)}else t._isValid=!1}var Se=/^(?:(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 Me={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Le(t){var e,i,n,o,a,r,s=Se.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));
1s?(e=s[4],i=s[3],n=s[2],o=s[5],a=s[6],r=s[7],e=[(e=parseInt(e,10))<=49?2e3+e:e<=999?1900+e:e,Rt.indexOf(i),parseInt(n,10),parseInt(o,10),parseInt(a,10)],r&&e.push(parseInt(r,10)),n=i=e,o=t,(a=s[1])&&Jt.indexOf(a)!==new Date(n[0],n[1],n[2]).getDay()?(m(o).weekdayMismatch=!0,o._isValid=!1):(t._a=i,t._tzm=(r=s[8],e=s[9],a=s[10],r?Me[r]:e?0:((r=parseInt(a,10))-(e=r%100))/100*60+e),t._d=qt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),m(t).rfc2822=!0)):t._isValid=!1}function Ae(t){if(t._f!==p.ISO_8601)if(t._f!==p.RFC_2822){t._a=[],m(t).empty=!0;for(var e,i,n,o=""+t._i,a=o.length,r=0,s=ct(t._f,t._locale).match(ot)||[],l=0;l<s.length;l++)e=s[l],(h=(o.match((h=t,f(xt,d=e)?xt[d](h._strict,h._locale):new RegExp(Ct(d.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,i,n,o){return e||i||n||o})))))||[])[0])&&(0<(d=o.substr(0,o.indexOf(h))).length&&m(t).unusedInput.push(d),o=o.slice(o.indexOf(h)+h.length),r+=h.length),st[e]?(h?m(t).empty=!1:m(t).unusedTokens.push(e),d=e,n=t,null!=(i=h)&&f(St,d)&&St[d](i,n._a,n,d)):t._strict&&!h&&m(t).unusedTokens.push(e);m(t).charsLeftOver=a-r,0<o.length&&m(t).unusedInput.push(o),t._a[S]<=12&&!0===m(t).bigHour&&0<t._a[S]&&(m(t).bigHour=void 0),m(t).parsedDateParts=t._a.slice(0),m(t).meridiem=t._meridiem,t._a[S]=(a=t._locale,c=t._a[S],null==(u=t._meridiem)?c:null!=a.meridiemHour?a.meridiemHour(c,u):(null!=a.isPM&&((a=a.isPM(u))&&c<12&&(c+=12),a||12!==c||(c=0)),c)),ve(t),me(t)}else Le(t);else Ce(t);var c,u,d,h}function Te(t){var e,i,n=t._i,o=t._f;return t._locale=t._locale||fe(t._l),null===n||void 0===o&&""===n?W({nullInput:!0}):("string"==typeof n&&(t._i=n=t._locale.preparse(n)),r(n)?new Z(me(n)):(R(n)?t._d=n:l(o)?(t=>{var e,i,n,o,a;if(0===t._f.length)return m(t).invalidFormat=!0,t._d=new Date(NaN);for(o=0;o<t._f.length;o++)a=0,e=q({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[o],Ae(e),$(e)&&(a=(a+=m(e).charsLeftOver)+10*m(e).unusedTokens.length,m(e).score=a,null==n||a<n)&&(n=a,i=e);s(t,i||e)})(t):o?Ae(t):a(o=(n=t)._i)?n._d=new Date(p.now()):R(o)?n._d=new Date(o.valueOf()):"string"==typeof o?(e=n,null===(i=xe.exec(e._i))?(Ce(e),!1===e._isValid&&(delete e._isValid,Le(e),!1===e._isValid)&&(delete e._isValid,p.createFromInputFallback(e))):e._d=new Date(+i[1])):l(o)?(n._a=F(o.slice(0),function(t){return parseInt(t,10)}),ve(n)):N(o)?(e=n)._d||(i=it(e._i),e._a=F([i.year,i.month,i.day||i.date,i.hour,i.minute,i.second,i.millisecond],function(t){return t&&parseInt(t,10)}),ve(e)):B(o)?n._d=new Date(o):p.createFromInputFallback(n),$(t)||(t._d=null),t))}function Ie(t,e,i,n,o){var a={};return!0!==i&&!1!==i||(n=i,i=void 0),(N(t)&&(t=>{if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;for(var e in t)if(t.hasOwnProperty(e))return;return 1})(t)||l(t)&&0===t.length)&&(t=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=o,a._l=i,a._i=t,a._f=e,a._strict=n,(o=new Z(me(Te(a))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function I(t,e,i,n){return Ie(t,e,i,n,!1)}p.createFromInputFallback=t("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":""))}),p.ISO_8601=function(){},p.RFC_2822=function(){};pt=t("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=I.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:W()}),ft=t("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=I.apply(null,arguments);return this.isValid()&&t.isValid()?this<t?this:t:W()});function De(t,e){var i,n;if(!(e=1===e.length&&l(e[0])?e[0]:e).length)return I();for(i=e[0],n=1;n<e.length;++n)e[n].isValid()&&!e[n][t](i)||(i=e[n]);return i}var Pe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ee(t){var t=it(t),e=t.year||0,i=t.quarter||0,n=t.month||0,o=t.week||t.isoWeek||0,a=t.day||0,r=t.hour||0,s=t.minute||0,l=t.second||0,c=t.millisecond||0;this._isValid=(t=>{for(var e in t)if(-1===A.call(Pe,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var i=!1,n=0;n<Pe.length;++n)if(t[Pe[n]]){if(i)return!1;parseFloat(t[Pe[n]])!==d(t[Pe[n]])&&(i=!0)}return!0})(t),this._milliseconds=+c+1e3*l+6e4*s+1e3*r*60*60,this._days=+a+7*o,this._months=+n+3*i+12*e,this._data={},this._locale=fe(),this._bubble()}function ze(t){return t instanceof Ee}function je(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Oe(t,i){n(t,0,0,function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+v(~~(t/60),2)+i+v(~~t%60,2)})}Oe("Z",":"),Oe("ZZ",""),b("Z",wt),b("ZZ",wt),w(["Z","ZZ"],function(t,e,
vendor: 10,751 bytes, line 1
1i){i._useUTC=!0,i._tzm=Be(wt,t)});var Ne=/([\+\-]|\d\d)/gi;function Be(t,e){var e=(e||"").match(t);return null===e?null:0===(e=60*(t=((e[e.length-1]||[])+"").match(Ne)||["-",0,0])[1]+d(t[2]))?0:"+"===t[0]?e:-e}function Re(t,e){var i;return e._isUTC?(e=e.clone(),i=(r(t)||R(t)?t:I(t)).valueOf()-e.valueOf(),e._d.setTime(e._d.valueOf()+i),p.updateOffset(e,!1),e):I(t).local()}function Fe(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function $e(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var We=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,He=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function D(t,e){var i,n,o=t;return ze(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:B(t)?(o={},e?o[e]=t:o.milliseconds=t):(e=We.exec(t))?(i="-"===e[1]?-1:1,o={y:0,d:d(e[C])*i,h:d(e[S])*i,m:d(e[M])*i,s:d(e[L])*i,ms:d(je(1e3*e[Lt]))*i}):(e=He.exec(t))?(i="-"===e[1]?-1:1,o={y:Ue(e[2],i),M:Ue(e[3],i),w:Ue(e[4],i),d:Ue(e[5],i),h:Ue(e[6],i),m:Ue(e[7],i),s:Ue(e[8],i)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(e=I(o.from),i=I(o.to),e=e.isValid()&&i.isValid()?(i=Re(i,e),e.isBefore(i)?n=qe(e,i):((n=qe(i,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0},(o={}).ms=e.milliseconds,o.M=e.months),n=new Ee(o),ze(t)&&f(t,"_locale")&&(n._locale=t._locale),n}function Ue(t,e){t=t&&parseFloat(t.replace(",","."));return(isNaN(t)?0:t)*e}function qe(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)||(K(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,D(t="string"==typeof t?+t:t,e),n),this}}function Ze(t,e,i,n){var o=e._milliseconds,a=je(e._days),e=je(e._months);t.isValid()&&(n=null==n||n,e&&Ft(t,zt(t,"Month")+e*i),a&&jt(t,"Date",zt(t,"Date")+a*i),o&&t._d.setTime(t._d.valueOf()+o*i),n)&&p.updateOffset(t,a||e)}D.fn=Ee.prototype,D.invalid=function(){return D(NaN)};Bt=Ve(1,"add"),Kt=Ve(-1,"subtract");function Ye(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 Ge(t){return void 0===t?this._locale._abbr:(null!=(t=fe(t))&&(this._locale=t),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Qt=t("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}var Ke=126227808e5;function Je(t,e){return(t%e+e)%e}function Qe(t,e,i){return t<100&&0<=t?new Date(t+400,e,i)-Ke:new Date(t,e,i).valueOf()}function ti(t,e,i){return t<100&&0<=t?Date.UTC(t+400,e,i)-Ke:Date.UTC(t,e,i)}function ei(t,e){n(0,[t,t.length],0,e)}function ii(t,e,i,n,o){var a;return null==t?Yt(this,n,o).year:((a=Gt(t,n,o))<e&&(e=a),function(t,e,i,n,o){t=Zt(t,e,i,n,o),e=qt(t.year,0,t.dayOfYear);return this.year(e.getUTCFullYear()),this.month(e.getUTCMonth()),this.date(e.getUTCDate()),this}.call(this,t,e,i,n,o))}n(0,["gg",2],0,function(){return this.weekYear()%100}),n(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ei("gggg","weekYear"),ei("ggggg","weekYear"),ei("GGGG","isoWeekYear"),ei("GGGGG","isoWeekYear"),e("weekYear","gg"),e("isoWeekYear","GG"),i("weekYear",1),i("isoWeekYear",1),b("G",_t),b("g",_t),b("GG",_,y),b("gg",_,y),b("GGGG",gt,dt),b("gggg",gt,dt),b("GGGGG",vt,ht),b("ggggg",vt,ht),Mt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,i,n){e[n.substr(0,2)]=d(t)}),Mt(["gg","GG"],function(t,e,i,n){e[n]=p.parseTwoDigitYear(t)}),n("Q",0,"Qo","quarter"),e("quarter","Q"),i("quarter",7),b("Q",o),w("Q",function(t,e){e[x]=3*(d(t)-1)}),n("D",["DD",2],"Do","date"),e("date","D"),i("date",9),b("D",_),b("DD",_,y),b("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),w(["D","DD"],C),w("Do",function(t,e){e[C]=d(t.match(_)[0])});gt=Et("Date",!0),n("DDD",["DDDD",3],"DDDo","dayOfYear"),e("dayOfYear","DDD"),i("dayOfYear",4),b("DDD",mt),b("DDDD",ut),w(["DDD","DDDD"],function(t,e,i){i._dayOfYear=d(t)}),n("m",["mm",2],0,"minute"),e("minute","m"),i("minute",14),b("m",_),b("mm",_,y),w(["m","mm"],M),dt=Et("Minutes",!1);n("s",["ss",2],0,"second"),e("second","s"),i("second",15),b("s",_),b("ss",_,y),w(["s","ss"],L);var ni,vt=Et("Seconds",!1);for(n("S",0,0,function(){return~~(this.millisecond()/100)}),n(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),n(0,["SSS",3],0,"millisecond"),n(0,["SSSS",4],0,function(){return 10*this.millisecond()}),n(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),n(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),n(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),n(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),n(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),e("millisecond","ms"),i("millisecond",16),b("S",mt,o),b("SS",mt,y),b("SSS",mt,ut),ni="SSSS";ni.length<=9;ni+="S")b(ni,yt);function oi(t,e){e[Lt]=d(1e3*("0."+t))}for(ni="S";ni.length<=9;ni+="S")w(ni,oi);ht=Et("Milliseconds",!1),n("z",0,0,"zoneAbbr"),n("zz",0,0,"zoneName"),o=Z.prototype;function ai(t){return t}o.add=Bt,o.calendar=function(t,e){var t=t||I(),i=Re(t,this).startOf("day"),i=p.calendarFormat(this,i)||"sameElse",e=e&&(h(e[i])?e[i].call(this,t):e[i]);return this.format(e||this.localeData().calendar(i,this,I(t)))},o.clone=function(){return new Z(this)},o.diff=function(t,e,i){var n,o,a;if(!this.isValid())return NaN;if(!(n=Re(t,this)).isValid())return NaN;switch(o=6e4*(n.utcOffset()-this.utcOffset()),e=g(e)){case"year":a=Ye(this,n)/12;break;case"month":a=Ye(this,n);break;case"quarter":a=Ye(this,n)/3;break;case"second":a=(this-n)/1e3;break;case"minute":a=(this-n)/6e4;break;case"hour":a=(this-n)/36e5;break;case"day":a=(this-n-o)/864e5;break;case"week":a=(this-n-o)/6048e5;break;default:a=this-n}return i?a:u(a)},o.endOf=function(t){var e;if(void 0!==(t=g(t))&&"millisecond"!==t&&this.isValid()){var i=this._isUTC?ti:Qe;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}this._d.setTime(e),p.updateOffset(this,!0)}return this},o.format=function(t){t=t||(this.isUtc()?p.defaultFormatUtc:p.defaultFormat);t=lt(this,t);return this.localeData().postformat(t)},o.from=function(t,e){return this.isValid()&&(r(t)&&t.isValid()||I(t).isValid())?D({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},o.fromNow=function(t){return this.from(I(),t)},o.to=function(t,e){return this.isValid()&&(r(t)&&t.isValid()||I(t).isValid())?D({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},o.toNow=function(t){return this.to(I(),t)},o.get=function(t){return h(this[t=g(t)])?this[t]():this},o.invalidAt=function(){return m(this).overflow},o.isAfter=function(t,e){t=r(t)?t:I(t);return!(!this.isValid()||!t.isValid())&&("millisecond"===(e=g(e)||"millisecond")?this.valueOf()>t.valueOf():t.valueOf()<this.clone().startOf(e).valueOf())},o.isBefore=function(t,e){t=r(t)?t:I(t);return!(!this.isValid()||!t.isValid())&&("millisecond"===(e=g(e)||"millisecond")?this.valueOf()<t.valueOf():this.clone().endOf(e).valueOf()<t.valueOf())},o.isBetween=function(t,e,i,n){t=r(t)?t:I(t),e=r(e)?e:I(e);return!!(this.isValid()&&t.isValid()&&e.isValid())&&("("===(n=n||"()")[0]?this.isAfter(t,i):!this.isBefore(t,i))&&(")"===n[1]?this.isBefore(e,i):!this.isAfter(e,i))},o.isSame=function(t,e){var t=r(t)?t:I(t);return!(!this.isValid()||!t.isValid())&&("millisecond"===(e=g(e)||"millisecond")?this.valueOf()===t.valueOf():(t=t.valueOf(),this.clone().startOf(e).valueOf()<=t&&t<=this.clone().endOf(e).valueOf()))},o.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},o.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},o.isValid=function(){return $(this)},o.lang=Qt,o.locale=Ge,o.localeData=Xe,o.max=ft,o.min=pt,o.parsingFlags=function(){return s({},m(this))},o.set=function(i,t){if("object"==typeof i)for(var e=(()=>{var t,e=[];for(t in i)e.push({unit:t,priority:nt[t]});return e.sort(function(t,e){return t.priority-e.priority}),e})(i=it(i)),n=0;n<e.length;n++)this[e[n].unit](i[e[n].unit]);else if(h(this[i=g(i)]))return this[i](t);return this},o.startOf=function(t){var e;if(void 0!==(t=g(t))&&"millisecond"!==t&&this.isValid()){var i=this._isUTC?ti:Qe;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)}this._d.setTime(e),p.updateOffset(this,!0)}return this},o.subtract=Kt,o.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},o.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},o.toDate=function(){return new Date(this.valueOf())},o.toISOString=function(t){var e;return this.isValid()?(e=(t=!0!==t)?this.clone().utc():this).year()<0||9999<e.year()?lt(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):h(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",lt(e,"Z")):lt(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},o.inspect=function(){var t,e,i;
vendor: 4,529 bytes, line 1
1return this.isValid()?(e="moment",t="",this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z"),e="["+e+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+i+"-MM-DD[T]HH:mm:ss.SSS"+(t+'[")]'))):"moment.invalid(/* "+this._i+" */)"},o.toJSON=function(){return this.isValid()?this.toISOString():null},o.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},o.unix=function(){return Math.floor(this.valueOf()/1e3)},o.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},o.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},o.year=Pt,o.isLeapYear=function(){return Dt(this.year())},o.weekYear=function(t){return ii.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},o.isoWeekYear=function(t){return ii.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},o.quarter=o.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},o.month=$t,o.daysInMonth=function(){return Ot(this.year(),this.month())},o.week=o.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},o.isoWeek=o.isoWeeks=function(t){var e=Yt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},o.weeksInYear=function(){var t=this.localeData()._week;return Gt(this.year(),t.dow,t.doy)},o.isoWeeksInYear=function(){return Gt(this.year(),1,4)},o.date=gt,o.day=o.days=function(t){var e,i,n;return this.isValid()?(n=this._isUTC?this._d.getUTCDay():this._d.getDay(),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):null!=t?this:NaN},o.weekday=function(t){var e;return this.isValid()?(e=(this.day()+7-this.localeData()._week.dow)%7,null==t?e:this.add(t-e,"d")):null!=t?this:NaN},o.isoWeekday=function(t){var e,i;return this.isValid()?null==t?this.day()||7:(e=t,i=this.localeData(),i="string"==typeof e?i.weekdaysParse(e)%7||7:isNaN(e)?null:e,this.day(this.day()%7?i:i-7)):null!=t?this:NaN},o.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")},o.hour=o.hours=kt,o.minute=o.minutes=dt,o.second=o.seconds=vt,o.millisecond=o.milliseconds=ht,o.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:Fe(this);if("string"==typeof t){if(null===(t=Be(wt,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&e&&(n=Fe(this)),this._offset=t,this._isUTC=!0,null!=n&&this.add(n,"m"),o!==t&&(!e||this._changeInProgress?Ze(this,D(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this},o.utc=function(t){return this.utcOffset(0,t)},o.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t)&&this.subtract(Fe(this),"m"),this},o.parseZone=function(){var t;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(t=Be(bt,this._i))?this.utcOffset(t):this.utcOffset(0,!0)),this},o.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?I(t).utcOffset():0,(this.utcOffset()-t)%60==0)},o.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},o.isLocal=function(){return!!this.isValid()&&!this._isUTC},o.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},o.isUtc=$e,o.isUTC=$e,o.zoneAbbr=function(){return this._isUTC?"UTC":""},o.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},o.dates=t("dates accessor is deprecated. Use date instead.",gt),o.months=t("months accessor is deprecated. Use month instead",$t),o.years=t("years accessor is deprecated. Use year instead",Pt),o.zone=t("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?(this.utcOffset(t="string"!=typeof t?-t:t,e),this):-this.utcOffset()}),o.isDSTShifted=t("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var t,e;return a(this._isDSTShifted)&&(q(t={},this),(t=Te(t))._a?(e=(t._isUTC?c:I)(t._a),this._isDSTShifted=this.isValid()&&0<Y(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted});y=Q.prototype;function ri(t,e,i,n){var o=fe(),n=c().set(n,e);return o[i](n,t)}
1function si(t,e,i){if(B(t)&&(e=t,t=void 0),t=t||"",null!=e)return ri(t,e,i,"month");for(var n=[],o=0;o<12;o++)n[o]=ri(t,o,i,"month");return n}function li(t,e,i,n){"boolean"==typeof t?B(e)&&(i=e,e=void 0):(e=t,t=!1,B(i=e)&&(i=e,e=void 0)),e=e||"";var o=fe(),a=t?o._week.dow:0;if(null!=i)return ri(e,(i+a)%7,n,"day");for(var r=[],s=0;s<7;s++)r[s]=ri(e,(s+a)%7,n,"day");return r}y.calendar=function(t,e,i){t=this._calendar[t]||this._calendar.sameElse;return h(t)?t.call(e,i):t},y.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])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(t){return this._ordinal.replace("%d",t)},y.preparse=ai,y.postformat=ai,y.relativeTime=function(t,e,i,n){var o=this._relativeTime[i];return h(o)?o(t,e,i,n):o.replace(/%d/i,t)},y.pastFuture=function(t,e){t=this._relativeTime[0<t?"future":"past"];return h(t)?t(e):t.replace(/%s/i,e)},y.set=function(t){var e,i;for(i in t)h(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)},y.months=function(t,e){return t?(l(this._months)?this._months:this._months[(this._months.isFormat||Nt).test(e)?"format":"standalone"])[t.month()]:l(this._months)?this._months:this._months.standalone},y.monthsShort=function(t,e){return t?(l(this._monthsShort)?this._monthsShort:this._monthsShort[Nt.test(e)?"format":"standalone"])[t.month()]:l(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(t,e,i){var n,o;if(this._monthsParseExact)return function(t,e,i){var n,o,a,t=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)a=c([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(a,"").toLocaleLowerCase();return i?"MMM"===e?-1!==(o=A.call(this._shortMonthsParse,t))?o:null:-1!==(o=A.call(this._longMonthsParse,t))?o:null:"MMM"===e?-1!==(o=A.call(this._shortMonthsParse,t))||-1!==(o=A.call(this._longMonthsParse,t))?o:null:-1!==(o=A.call(this._longMonthsParse,t))||-1!==(o=A.call(this._shortMonthsParse,t))?o:null}.call(this,t,e,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(o=c([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]||(o="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[n]=new RegExp(o.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}},y.monthsRegex=function(t){return this._monthsParseExact?(f(this,"_monthsRegex")||Ut.call(this),t?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Ht),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(t){return this._monthsParseExact?(f(this,"_monthsRegex")||Ut.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=Wt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(t){return Yt(t,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(t,e){e=l(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Xt(e,this._week.dow):t?e[t.day()]:e},y.weekdaysMin=function(t){return!0===t?Xt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},y.weekdaysShort=function(t){return!0===t?Xt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}
vendor: 6,652 bytes, line 1
1,y.weekdaysParse=function(t,e,i){var n,o;if(this._weekdaysParseExact)return function(t,e,i){var n,o,a,t=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)a=c([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(a,"").toLocaleLowerCase();return i?"dddd"===e?-1!==(o=A.call(this._weekdaysParse,t))?o:null:"ddd"===e?-1!==(o=A.call(this._shortWeekdaysParse,t))?o:null:-1!==(o=A.call(this._minWeekdaysParse,t))?o:null:"dddd"===e?-1!==(o=A.call(this._weekdaysParse,t))||-1!==(o=A.call(this._shortWeekdaysParse,t))||-1!==(o=A.call(this._minWeekdaysParse,t))?o:null:"ddd"===e?-1!==(o=A.call(this._shortWeekdaysParse,t))||-1!==(o=A.call(this._weekdaysParse,t))||-1!==(o=A.call(this._minWeekdaysParse,t))?o:null:-1!==(o=A.call(this._minWeekdaysParse,t))||-1!==(o=A.call(this._weekdaysParse,t))||-1!==(o=A.call(this._shortWeekdaysParse,t))?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=c([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]||(o="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[n]=new RegExp(o.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}},y.weekdaysRegex=function(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||ne.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=te),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||ne.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ee),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||ne.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ie),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},y.meridiem=function(t,e,i){return 11<t?i?"pm":"PM":i?"am":"AM"},he("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===d(t%100/10)?"th":1==e?"st":2==e?"nd":3==e?"rd":"th")}}),p.lang=t("moment.lang is deprecated. Use moment.locale instead.",he),p.langData=t("moment.langData is deprecated. Use moment.localeData instead.",fe);var P=Math.abs;function ci(t,e,i,n){e=D(e,i);return t._milliseconds+=n*e._milliseconds,t._days+=n*e._days,t._months+=n*e._months,t._bubble()}function ui(t){return t<0?Math.floor(t):Math.ceil(t)}function di(t){return 4800*t/146097}function hi(t){return 146097*t/4800}function E(t){return function(){return this.as(t)}}mt=E("ms"),ut=E("s"),Bt=E("m"),ft=E("h"),pt=E("d"),Kt=E("w"),kt=E("M"),dt=E("Q"),vt=E("y");function pi(t){return function(){return this.isValid()?this._data[t]:NaN}}var ht=pi("milliseconds"),gt=pi("seconds"),Pt=pi("minutes"),y=pi("hours"),fi=pi("days"),mi=pi("months"),gi=pi("years"),vi=Math.round,z={ss:44,s:45,m:45,h:22,d:26,M:11},yi=Math.abs;function _i(t){return(0<t)-(t<0)||+t}function bi(){var t,e,i,n,o,a,r,s,l,c;return this.isValid()?(a=yi(this._milliseconds)/1e3,i=yi(this._days),e=yi(this._months),n=u((o=u(a/60))/60),a%=60,o%=60,t=u(e/12),e=e%=12,i=i,n=n,o=o,a=a?a.toFixed(3).replace(/\.?0+$/,""):"",(r=this.asSeconds())?(s=_i(this._months)!==_i(r)?"-":"",l=_i(this._days)!==_i(r)?"-":"",c=_i(this._milliseconds)!==_i(r)?"-":"",(r<0?"-":"")+"P"+(t?s+t+"Y":"")+(e?s+e+"M":"")+(i?l+i+"D":"")+(n||o||a?"T":"")+(n?c+n+"H":"")+(o?c+o+"M":"")+(a?c+a+"S":"")):"P0D"):this.localeData().invalidDate()}var j=Ee.prototype;return j.isValid=function(){return this._isValid},j.abs=function(){var t=this._data;return this._milliseconds=P(this._milliseconds),this._days=P(this._days),this._months=P(this._months),t.milliseconds=P(t.milliseconds),t.seconds=P(t.seconds),t.minutes=P(t.minutes),t.hours=P(t.hours),t.months=P(t.months),t.years=P(t.years),this},j.add=function(t,e){return ci(this,t,e,1)},j.subtract=function(t,e){return ci(this,t,e,-1)},j.as=function(t){if(!this.isValid())return NaN;var e,i,n=this._milliseconds;if("month"===(t=g(t))||"quarter"===t||"year"===t)switch(e=this._days+n/864e5,i=this._months+di(e),t){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(e=this._days+Math.round(hi(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)}},j.asMilliseconds=mt,j.asSeconds=ut,j.asMinutes=Bt,j.asHours=ft,j.asDays=pt,j.asWeeks=Kt,j.asMonths=kt,j.asQuarters=dt,j.asYears=vt,j.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*d(this._months/12):NaN},j._bubble=function(){var t=this._milliseconds,e=this._days,i=this._months,n=this._data;return 0<=t&&0<=e&&0<=i||t<=0&&e<=0&&i<=0||(t+=864e5*ui(hi(i)+e),i=e=0),n.milliseconds=t%1e3,t=u(t/1e3),n.seconds=t%60,t=u(t/60),n.minutes=t%60,t=u(t/60),n.hours=t%24,i+=t=u(di(e+=u(t/24))),e-=ui(hi(t)),t=u(i/12),i%=12,n.days=e,n.months=i,n.years=t,this},j.clone=function(){return D(this)},j.get=function(t){return t=g(t),this.isValid()?this[t+"s"]():NaN},j.milliseconds=ht,j.seconds=gt,j.minutes=Pt,j.hours=y,j.days=fi,j.weeks=function(){return u(this.days()/7)},j.months=mi,j.years=gi,j.humanize=function(t){var e,i,n,o,a,r,s,l,c;return this.isValid()?(e=!t,i=l=this.localeData(),r=D(this).abs(),s=vi(r.as("s")),c=vi(r.as("m")),n=vi(r.as("h")),o=vi(r.as("d")),a=vi(r.as("M")),r=vi(r.as("y")),(s=(s<=z.ss?["s",s]:s<z.s&&["ss",s])||(c<=1?["m"]:c<z.m&&["mm",c])||(n<=1?["h"]:n<z.h&&["hh",n])||
1(o<=1?["d"]:o<z.d&&["dd",o])||(a<=1?["M"]:a<z.M&&["MM",a])||(r<=1?["y"]:["yy",r]))[2]=e,s[3]=0<+this,s[4]=i,c=function(t,e,i,n,o){return o.relativeTime(e||1,!!i,t,n)}.apply(null,s),t&&(c=l.pastFuture(+this,c)),l.postformat(c)):this.localeData().invalidDate()},j.toISOString=bi,j.toString=bi,j.toJSON=bi,j.locale=Ge,j.localeData=Xe,j.toIsoString=t("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",bi),j.lang=Qt,n("X",0,0,"unix"),n("x",0,0,"valueOf"),b("x",_t),b("X",/[+-]?\d+(\.\d{1,3})?/),w("X",function(t,e,i){i._d=new Date(1e3*parseFloat(t,10))}),w("x",function(t,e,i){i._d=new Date(d(t))}),p.version="2.24.0",O=I,p.fn=o,p.min=function(){return De("isBefore",[].slice.call(arguments,0))},p.max=function(){return De("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=c,p.unix=function(t){return I(1e3*t)},p.months=function(t,e){return si(t,e,"months")},p.isDate=R,p.locale=he,p.invalid=W,p.duration=D,p.isMoment=r,p.weekdays=function(t,e,i){return li(t,e,i,"weekdays")},p.parseZone=function(){return I.apply(null,arguments).parseZone()},p.localeData=fe,p.isDuration=ze,p.monthsShort=function(t,e){return si(t,e,"monthsShort")},p.weekdaysMin=function(t,e,i){return li(t,e,i,"weekdaysMin")},p.defineLocale=pe,p.updateLocale=function(t,e){var i,n;return null!=e?(n=le,(i=new Q(e=J(n=null!=(i=de(t))?i._config:n,e))).parentLocale=T[t],T[t]=i,he(t)):null!=T[t]&&(null!=T[t].parentLocale?T[t]=T[t].parentLocale:null!=T[t]&&delete T[t]),T[t]},p.locales=function(){return tt(T)},p.weekdaysShort=function(t,e,i){return li(t,e,i,"weekdaysShort")},p.normalizeUnits=g,p.relativeTimeRounding=function(t){return void 0===t?vi:"function"==typeof t&&(vi=t,!0)},p.relativeTimeThreshold=function(t,e){return void 0!==z[t]&&(void 0===e?z[t]:(z[t]=e,"s"===t&&(z.ss=e-1),!0))},p.calendarFormat=function(t,e){t=t.diff(e,"days",!0);return t<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},p.prototype=o,p.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"},p}),((t,e)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=e((()=>{try{return require("moment")}catch(t){}})()):"function"==typeof define&&define.amd?define(["require"],function(t){return e((()=>{try{return t("moment")}catch(t){}})())}):(t=t||self).Chart=e(t.moment)})(this,function(n){n=n&&n.hasOwnProperty("default")?n.default:n;var l={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],ol
1ive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},c=(t=>{var e,i=t={exports:{}},s={};for(e in l)l.hasOwnProperty(e)&&(s[l[e]]=e);var n,o=i.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(n in o)if(o.hasOwnProperty(n)){if(!("channels"in o[n]))throw new Error("missing channels property: "+n);if(!("labels"in o[n]))throw new Error("missing channel labels property: "+n);if(o[n].labels.length!==o[n].channels)throw new Error("channel and label counts mismatch: "+n);var a=o[n].channels,r=o[n].labels;delete o[n].channels,delete o[n].labels,Object.defineProperty(o[n],"channels",{value:a}),Object.defineProperty(o[n],"labels",{value:r})}return o.rgb.hsl=function(t){var e,i=t[0]/255,n=t[1]/255,t=t[2]/255,o=Math.min(i,n,t),a=Math.max(i,n,t),r=a-o;return a===o?e=0:i===a?e=(n-t)/r:n===a?e=2+(t-i)/r:t===a&&(e=4+(i-n)/r),(e=Math.min(60*e,360))<0&&(e+=360),t=(o+a)/2,[e,100*(a===o?0:t<=.5?r/(a+o):r/(2-a-o)),100*t]},o.rgb.hsv=function(t){function e(t){return(c-t)/6/u+.5}var i,n,o,a,r,s=t[0]/255,l=t[1]/255,t=t[2]/255,c=Math.max(s,l,t),u=c-Math.min(s,l,t);return 0==u?a=r=0:(r=u/c,i=e(s),n=e(l),o=e(t),s===c?a=o-n:l===c?a=1/3+i-o:t===c&&(a=2/3+n-i),a<0?a+=1:1<a&&--a),[360*a,100*r,100*c]},o.rgb.hwb=function(t){var e=t[0],i=t[1],n=t[2];return[o.rgb.hsl(t)[0],1/255*Math.min(e,Math.min(i,n))*100,100*(1-1/255*Math.max(e,Math.max(i,n)))]},o.rgb.cmyk=function(t){var e=t[0]/255,i=t[1]/255,t=t[2]/255;return[100*((1-e-(e=Math.min(1-e,1-i,1-t)))/(1-e)||0),100*((1-i-e)/(1-e)||0),100*((1-t-e)/(1-e)||0),100*e]},o.rgb.keyword=function(t){var e=s[t];if(e)return e;var i,n,o,a,r=1/0;for(o in l)l.hasOwnProperty(o)&&(a=t,n=l[o],(a=Math.pow(a[0]-n[0],2)+Math.pow(a[1]-n[1],2)+Math.pow(a[2]-n[2],2))<r)&&(r=a,i=o);return i},o.keyword.rgb=function(t){return l[t]},o.rgb.xyz=function(t){var e=t[0]/255,i=t[1]/255,t=t[2]/255;return[100*(.4124*(e=.04045<e?Math.pow((.055+e)/1.055,2.4):e/12.92)+.3576*(i=.04045<i?Math.pow((.055+i)/1.055,2.4):i/12.92)+.1805*(t=.04045<t?Math.pow((.055+t)/1.055,2.4):t/12.92)),100*(.2126*e+.7152*i+.0722*t),100*(.0193*e+.1192*i+.9505*t)]},o.rgb.lab=function(t){var t=o.rgb.xyz(t),e=t[0],i=t[1],t=t[2];return i/=100,t/=108.883,e=.008856<(e/=95.047)?Math.pow(e,1/3):7.787*e+16/116,[116*(i=.008856<i?Math.pow(i,1/3):7.787*i+16/116)-16,500*(e-i),200*(i-(.008856<t?Math.pow(t,1/3):7.787*t+16/116))]},o.hsl.rgb=function(t){var e,i,n,o=t[0]/360,a=t[1]/100,t=t[2]/100;if(0==a)return[n=255*t,n,n];for(var r=2*t-(e=t<.5?t*(1+a):t+a-t*a),s=[0,0,0],l=0;l<3;l++)(i=o+1/3*-(l-1))<0&&i++,1<i&&i--,s[l]=255*(n=6*i<1?r+6*(e-r)*i:2*i<1?e:3*i<2?r+(e-r)*(2/3-i)*6:r);return s},o.hsl.hsv=function(t){var e=t[0],i=t[1]/100,t=t[2]/100,n=i,o=Math.max(t,.01);return i*=(t*=2)<=1?t:2-t,n*=o<=1?o:2-o,[e,100*(0==t?2*n/(o+n):2*i/(t+i)),(t+i)/2*100]},o.hsv.rgb=function(t){var e=t[0]/60,i=t[1]/100,n=t[2]/100,t=Math.floor(e)%6,e=e-Math.floor(e),o=255*n*(1-i),a=255*n*(1-i*e),r=255*n*(1-i*(1-e));switch(n*=255,t){case 0:return[n,r,o];case 1:return[a,n,o];case 2:return[o,n,r];case 3:return[o,a,n];case 4:return[r,o,n];case 5:return[n,o,a]}},o.hsv.hsl=function(t){var e=t[0],i=t[1]/100,t=t[2]/100,n=Math.max(t,.01),t=(2-i)*t;return[e,100*(i*n/((e=(2-i)*n)<=1?e:2-e)||0),100*(t/=2)]},o.hwb.rgb=function(t){var e,i,n,o,a,r=t[0]/360,s=t[1]/100,t=t[2]/100,l=s+t;switch(1<l&&(s/=l,t/=l),r=6*r-(l=Math.floor(6*r)),i=s+(r=0!=(1&l)?1-r:r)*((e=1-t)-s),l){default:case 6:case 0:n=e,o=i,a=s;break;case 1:n=i,o=e,a=s;break;case 2:n=s,o=e,a=i;break;case 3:n=s,o=i,a=e;break;case 4:n=i,o=s,a=e;break;case 5:n=e,o=s,a=i}return[255*n,255*o,255*a]},o.cmyk.rgb=function(t){var e=t[0]/100,i=t[1]/100,n=t[2]/100,t=t[3]/100;return[255*(1-Math.min(1,e*(1-t)+t)),255*(1-Math.min(1,i*(1-t)+t)),255*(1-Math.min(1,n*(1-t)+t))]},o.xyz.rgb=function(t){var e=t[0]/100,i=t[1]/100,t=t[2]/100,n=-.9689*e+1.8758*i+.0415*t,o=.0557*e+-.204*i+1.057*t,e=.0031308<(e=3.2406*e+-1.5372*i+-.4986*t)?1.055*Math.pow(e,1/2.4)-.055:12.92*e;return n=.0031308<n?1.055*Math.pow(n,1/2.4)-.055:12.92*n,o=.0031308<o?1.055*Math.pow(o,1/2.4)-.055:12.92*o,[255*Math.min(Math.max(0,e),1),255*Math.min(Math.max(0,n),1),255*Math.min(Math.max(0,o),1)]},o.xyz.lab=function(t){var e=t[0],i=t[1],t=t[2];return i/=100,t/=108.883,e=.008856<(e/=95.047)?Math.pow(e,1/3):7.787*e+16/116,[116*(i=.008856<i?Math.pow(i,1/3):7.787*i+16/116)-16,500*(e-i),200*(i-(.008856<t?Math.pow(t,1/3):7.787*t+16/116))]},o.lab.xyz=function(t){var e=t[0],i=t[1]/500+(e=(e+16)/116),t=e-t[2]/200,n=Math.pow(e,3),o=Math.pow(i,3),a=Math.pow(t,3),e=.008856<n?n:(e-16/116)/7.787;return i=.008856<o?o:(i-16/116)/7.787,t=.008856<a?a:(t-16/116)/7.787,[i*=95.047,e*=100,t*=108.883]},o.lab.lch=function(t){var e,i=t[0],n=t[1],t=t[2];return(e=360*Math.atan2(t,n)/2/Math.PI)<0&&(e+=360),[i,Math.sqrt(n*n+t*t),e]},o.lch.lab=function(t){var e=t[0],i=t[1],t=t[2]/360*2*Math.PI;
1return[e,i*Math.cos(t),i*Math.sin(t)]},o.rgb.ansi16=function(t){var e=t[0],i=t[1],n=t[2],t=1 in arguments?arguments[1]:o.rgb.hsv(t)[2];return 0===(t=Math.round(t/50))?30:(n=30+(Math.round(n/255)<<2|Math.round(i/255)<<1|Math.round(e/255)),2===t&&(n+=60),n)},o.hsv.ansi16=function(t){return o.rgb.ansi16(o.hsv.rgb(t),t[2])},o.rgb.ansi256=function(t){var e=t[0],i=t[1],t=t[2];return e===i&&i===t?e<8?16:248<e?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(i/255*5)+Math.round(t/255*5)},o.ansi16.rgb=function(t){var e=t%10;return 0===e||7===e?(50<t&&(e+=3.5),[e=e/10.5*255,e,e]):[(1&e)*(t=.5*(1+~~(50<t)))*255,(e>>1&1)*t*255,(e>>2&1)*t*255]},o.ansi256.rgb=function(t){var e;return 232<=t?[e=10*(t-232)+8,e,e]:(t-=16,[Math.floor(t/36)/5*255,Math.floor((e=t%36)/6)/5*255,e%6/5*255])},o.rgb.hex=function(t){t=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},o.hex.rgb=function(t){var e,t=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);return t?(e=t[0],3===t[0].length&&(e=e.split("").map(function(t){return t+t}).join("")),[(t=parseInt(e,16))>>16&255,t>>8&255,255&t]):[0,0,0]},o.rgb.hcg=function(t){var e=t[0]/255,i=t[1]/255,t=t[2]/255,n=Math.max(Math.max(e,i),t),o=Math.min(Math.min(e,i),t),a=n-o;return[360*((a<=0?0:n===e?(i-t)/a%6:n===i?2+(t-e)/a:4+(e-i)/a+4)/6%1),100*a,100*(a<1?o/(1-a):0)]},o.hsl.hcg=function(t){var e=t[1]/100,i=t[2]/100,n=0;return(e=i<.5?2*e*i:2*e*(1-i))<1&&(n=(i-.5*e)/(1-e)),[t[0],100*e,100*n]},o.hsv.hcg=function(t){var e=t[1]/100,i=t[2]/100,e=e*i,i=e<1?(i-e)/(1-e):0;return[t[0],100*e,100*i]},o.hcg.rgb=function(t){var e=t[0]/360,i=t[1]/100,t=t[2]/100;if(0==i)return[255*t,255*t,255*t];var n=[0,0,0],e=e%1*6,o=e%1,a=1-o;switch(Math.floor(e)){case 0:n[0]=1,n[1]=o,n[2]=0;break;case 1:n[0]=a,n[1]=1,n[2]=0;break;case 2:n[0]=0,n[1]=1,n[2]=o;break;case 3:n[0]=0,n[1]=a,n[2]=1;break;case 4:n[0]=o,n[1]=0,n[2]=1;break;default:n[0]=1,n[1]=0,n[2]=a}return[255*(i*n[0]+(e=(1-i)*t)),255*(i*n[1]+e),255*(i*n[2]+e)]},o.hcg.hsv=function(t){var e=t[1]/100,i=e+t[2]/100*(1-e),e=0<i?e/i:0;return[t[0],100*e,100*i]},o.hcg.hsl=function(t){var e=t[1]/100,i=t[2]/100*(1-e)+.5*e,n=0;return 0<i&&i<.5?n=e/(2*i):.5<=i&&i<1&&(n=e/(2*(1-i))),[t[0],100*n,100*i]},o.hcg.hwb=function(t){var e=t[1]/100,i=e+t[2]/100*(1-e);return[t[0],100*(i-e),100*(1-i)]},o.hwb.hcg=function(t){var e=t[1]/100,i=1-t[2]/100,e=i-e,i=e<1?(i-e)/(1-e):0;return[t[0],100*e,100*i]},o.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},o.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},o.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},o.gray.hsl=o.gray.hsv=function(t){return[0,0,t[0]]},o.gray.hwb=function(t){return[0,100,t[0]]},o.gray.cmyk=function(t){return[0,0,0,t[0]]},o.gray.lab=function(t){return[t[0],0,0]},o.gray.hex=function(t){t=255&Math.round(t[0]/100*255),t=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(t.length)+t},o.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]},t.exports})();function j(t){var e=(()=>{for(var t={},e=Object.keys(c),i=e.length,n=0;n<i;n++)t[e[n]]={distance:-1,parent:null};return t})(),i=[t];for(e[t].distance=0;i.length;)for(var n=i.pop(),o=Object.keys(c[n]),a=o.length,r=0;r<a;r++){var s=o[r],l=e[s];-1===l.distance&&(l.distance=e[n].distance+1,l.parent=n,i.unshift(s))}return e}function O(t,e){for(var i=[e[t].parent,t],n=c[e[t].parent][t],o=e[t].parent;e[o].parent;)i.unshift(e[o].parent),n=((e,i)=>function(t){return i(e(t))})(c[e[o].parent][o],n),o=e[o].parent;return n.conversion=i,n}c.rgb;var N={},B=(Object.keys(c).forEach(function(r){N[r]={},Object.defineProperty(N[r],"channels",{value:c[r].channels}),Object.defineProperty(N[r],"labels",{value:c[r].labels});var s=(()=>{for(var t=j(r),e={},i=Object.keys(t),n=i.length,o=0;o<n;o++){var a=i[o];null!==t[a].parent&&(e[a]=O(a,t))}return e})();Object.keys(s).forEach(function(t){var e,o,i=s[t];function n(t){return null==t?t:(1<arguments.length&&(t=Array.prototype.slice.call(arguments)),e(t))}function a(t){if(null==t)return t;1<arguments.length&&(t=Array.prototype.slice.call(arguments));var e=o(t);if("object"==typeof e)for(var i=e.length,n=0;n<i;n++)e[n]=Math.round(e[n]);return e}N[r][t]=("conversion"in(o=i)&&(a.conversion=o.conversion),a),N[r][t].raw=("conversion"in(e=i)&&(n.conversion=e.conversion),n)})}),N),R={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],ol
1ive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},i={getRgba:F,getHsla:$,getRgb:function(t){t=F(t);return t&&t.slice(0,3)},getHsl:function(t){t=$(t);return t&&t.slice(0,3)},getHwb:H,getAlpha:function(t){var e=F(t);return(e=(e=e||$(t))||H(t))?e[3]:void 0},hexString:function(t,e){return e=void 0!==e&&3===t.length?e:t[3],"#"+Z(t[0])+Z(t[1])+Z(t[2])+(0<=e&&e<1?Z(Math.round(255*e)):"")},rgbString:function(t,e){return e<1||t[3]&&t[3]<1?U(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"},rgbaString:U,percentString:function(t,e){return e<1||t[3]&&t[3]<1?q(t,e):"rgb("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%)"},percentaString:q,hslString:function(t,e){return e<1||t[3]&&t[3]<1?V(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:V,hwbString:function(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"},keyword:function(t){return G[t.slice(0,3)]}};function F(t){if(t){var e=[0,0,0],i=1,n=t.match(/^#([a-fA-F0-9]{3,4})$/i),o="";if(n){for(var o=(n=n[1])[3],a=0;a<e.length;a++)e[a]=parseInt(n[a]+n[a],16);o&&(i=Math.round(parseInt(o+o,16)/255*100)/100)}else if(n=t.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){for(o=n[2],n=n[1],a=0;a<e.length;a++)e[a]=parseInt(n.slice(2*a,2*a+2),16);o&&(i=Math.round(parseInt(o,16)/255*100)/100)}else if(n=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<e.length;a++)e[a]=parseInt(n[a+1]);i=parseFloat(n[4])}else if(n=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<e.length;a++)e[a]=Math.round(2.55*parseFloat(n[a+1]));i=parseFloat(n[4])}else if(n=t.match(/(\w+)/)){if("transparent"==n[1])return[0,0,0,0];if(!(e=R[n[1]]))return}for(a=0;a<e.length;a++)e[a]=r(e[a],0,255);return i=i||0==i?r(i,0,1):1,e[3]=i,e}}function $(t){if(t){var e,t=t.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t)return e=parseFloat(t[4]),[r(parseInt(t[1]),0,360),r(parseFloat(t[2]),0,100),r(parseFloat(t[3]),0,100),r(isNaN(e)?1:e,0,1)]}}function H(t){if(t){var e,t=t.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t)return e=parseFloat(t[4]),[r(parseInt(t[1]),0,360),r(parseFloat(t[2]),0,100),r(parseFloat(t[3]),0,100),r(isNaN(e)?1:e,0,1)]}}function U(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function q(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function V(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function r(t,e,i){return Math.min(Math.max(e,t),i)}function Z(t){t=t.toString(16).toUpperCase();return t.length<2?"0"+t:t}var Y,G={};for(Y in R)G[R[Y]]=Y;function s(t){return t instanceof s?t:this instanceof s?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof t?(e=i.getRgba(t))?this.setValues("rgb",e):(e=i.getHsla(t))?this.setValues("hsl",e):(e=i.getHwb(t))&&this.setValues("hwb",e):"object"==typeof t&&(void 0!==(e=t).r||void 0!==e.red?this.setValues("rgb",e):void 0!==e.l||void 0!==e.lightness?this.setValues("hsl",e):void 0!==e.v||void 0!==e.value?this.setValues("hsv",e):void 0!==e.w||void 0!==e.whiteness?this.setValues("hwb",e):void 0===e.c&&void 0===e.cyan||this.setValues("cmyk",e)))):new s(t);var e}(s.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])}
1,alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t=t&&((t%=360)<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return i.hexString(this.values.rgb)},rgbString:function(){return i.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return i.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return i.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return i.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return i.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return i.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return i.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],i=0;i<t.length;i++){var n=t[i]/255;e[i]=n<=.03928?n/12.92:Math.pow((.055+n)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),t=t.luminosity();return t<e?(e+.05)/(t+.05):(t+.05)/(e+.05)},level:function(t){t=this.contrast(t);return 7.1<=t?"AAA":4.5<=t?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,t=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,t=(e[0]+t)%360;return e[0]=t<0?360+t:t,this.setValues("hsl",e),this},mix:function(t,e){var e=void 0===e?.5:e,i=2*e-1,n=this.alpha()-t.alpha(),i=(1+(i*n==-1?i:(i+n)/(1+i*n)))/2,n=1-i;return this.rgb(i*this.red()+n*t.red(),i*this.green()+n*t.green(),i*this.blue()+n*t.blue()).alpha(this.alpha()*e+t.alpha()*(1-e))},toJSON:function(){return this.rgb()},clone:function(){var t,e,i,n=new s,o=this.values,a=n.values;for(i in o)o.hasOwnProperty(i)&&(t=o[i],"[object Array]"===(e={}.toString.call(t))?a[i]=t.slice(0):"[object Number]"===e?a[i]=t:console.error("unexpected color value:",t));return n}}).spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},s.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},s.prototype.getValues=function(t){for(var e=this.values,i={},n=0;n<t.length;n++)i[t.charAt(n)]=e[t][n];return 1!==e.alpha&&(i.a=e.alpha),i},s.prototype.setValues=function(t,e){var i,n,o=this.values,a=this.spaces,r=this.maxes,s=1;if(this.valid=!0,"alpha"===t)s=e;else if(e.length)o[t]=e.slice(0,t.length),s=e[t.length];else if(void 0!==e[t.charAt(0)]){for(c=0;c<t.length;c++)o[t][c]=e[t.charAt(c)];s=e.a}else if(void 0!==e[a[t][0]]){for(var l=a[t],c=0;c<t.length;c++)o[t][c]=e[l[c]];s=e.alpha}if(o.alpha=Math.max(0,Math.min(1,void 0===s?o.alpha:s)),"alpha"===t)return!1;for(c=0;c<t.length;c++)i=Math.max(0,Math.min(r[t][c],o[t][c])),o[t][c]=Math.round(i);for(n in a)n!==t&&(o[n]=B[t][n](o[t]));return!0},s.prototype.setSpace=function(t,e){var i=e[0];return void 0===i?this.getValues(t):("number"==typeof i&&(i=Array.prototype.slice.call(e)),this.setValues(t,i),this)}
1,s.prototype.setChannel=function(t,e,i){var n=this.values[t];return void 0===i?n[e]:(i===n[e]||(n[e]=i,this.setValues(t,n)),this)},"undefined"!=typeof window&&(window.Color=s);var X=s;function K(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}function J(t){W.extend(this,t),this.initialize.apply(this,arguments)}var Q,u={noop:function(){},uid:(Q=0,function(){return Q++}),isNullOrUndef:function(t){return null==t},isArray:function(t){return!(!Array.isArray||!Array.isArray(t))||"[object"===(t=Object.prototype.toString.call(t)).substr(0,7)&&"Array]"===t.substr(-6)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},isFinite:function(t){return("number"==typeof t||t instanceof Number)&&isFinite(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,i){return u.valueOrDefault(u.isArray(t)?t[e]:t,i)},callback:function(t,e,i){if(t&&"function"==typeof t.call)return t.apply(i,e)},each:function(t,e,i,n){var o,a,r;if(u.isArray(t))if(a=t.length,n)for(o=a-1;0<=o;o--)e.call(i,t[o],o);else for(o=0;o<a;o++)e.call(i,t[o],o);else if(u.isObject(t))for(a=(r=Object.keys(t)).length,o=0;o<a;o++)e.call(i,t[r[o]],r[o])},arrayEquals:function(t,e){var i,n,o,a;if(!t||!e||t.length!==e.length)return!1;for(i=0,n=t.length;i<n;++i)if(o=t[i],a=e[i],o instanceof Array&&a instanceof Array){if(!u.arrayEquals(o,a))return!1}else if(o!==a)return!1;return!0},clone:function(t){if(u.isArray(t))return t.map(u.clone);if(u.isObject(t)){for(var e=Object.create(t),i=Object.keys(t),n=i.length,o=0;o<n;++o)e[i[o]]=u.clone(t[i[o]]);return e}return t},_merger:function(t,e,i,n){var o;K(t)&&(o=e[t],i=i[t],u.isObject(o)&&u.isObject(i)?u.merge(o,i,n):e[t]=u.clone(i))},_mergerIf:function(t,e,i){var n;K(t)&&(n=e[t],i=i[t],u.isObject(n)&&u.isObject(i)?u.mergeIf(n,i):e.hasOwnProperty(t)||(e[t]=u.clone(i)))},merge:function(t,e,i){var n,o,a,r,s,l=u.isArray(e)?e:[e],c=l.length;if(u.isObject(t))for(n=(i=i||{}).merger||u._merger,o=0;o<c;++o)if(e=l[o],u.isObject(e))for(s=0,r=(a=Object.keys(e)).length;s<r;++s)n(a[s],t,e,i);return t},mergeIf:function(t,e){return u.merge(t,e,{merger:u._mergerIf})},extend:Object.assign||function(t){return u.merge(t,[].slice.call(arguments,1),{merger:function(t,e,i){e[t]=i[t]}})},inherits:function(t){function e(){this.constructor=n}var i=this,n=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return i.apply(this,arguments)};return e.prototype=i.prototype,n.prototype=new e,n.extend=u.inherits,t&&u.extend(n.prototype,t),n.__super__=i.prototype,n},_deprecated:function(t,e,i,n){void 0!==e&&console.warn(t+': "'+i+'" is deprecated. Please use "'+n+'" instead')}},d=u,tt=(u.callCallback=u.callback,u.indexOf=function(t,e,i){return Array.prototype.indexOf.call(t,e,i)},u.getValueOrDefault=u.valueOrDefault,u.getValueAtIndexOrDefault=u.valueAtIndexOrDefault,{linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return--t*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-(--t*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return--t*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return 1<=t?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1- --t*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,i=0,n=1;return 0===t?0:1===t?1:(i=i||.3,e=n<1?(n=1,i/4):i/(2*Math.PI)*Math.asin(1/n),-n*Math.pow(2,10*--t)*Math.sin(2*Math.PI*(t-e)/i))},easeOutElastic:function(t){var e=1.70158,i=0,n=1;return 0===t?0:1===t?1:(i=i||.3,e=n<1?(n=1,i/4):i/(2*Math.PI)*Math.asin(1/n),n*Math.pow(2,-10*t)*Math.sin(2*Math.PI*(t-e)/i)+1)},easeInOutElastic:function(t){var e=1.70158,i=0,n=1;return 0===t?0:2==(t/=.5)?1:(i=i||.45,e=n<1?(n=1,i/4):i/(2*Math.PI)*Math.asin(1/n),t<1?n*Math.pow(2,10*--t)*Math.sin(2*Math.PI*(t-e)/i)*-.5:n*Math.pow(2,-10*--t)*Math.sin(2*Math.PI*(t-e)/i)*.5+1)},easeInBack:function(t){return t*t*(2.70158*t-1.70158)},easeOutBack:function(t){return--t*t*(2.70158*t+1.70158)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-tt.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*tt.easeInBounce(2*t):.5*tt.easeOutBounce(2*t-1)+.5}}),t={effects:tt}
1,h=(d.easingEffects=tt,Math.PI),et=h/180,it=2*h,p=h/2,nt=h/4,ot=2*h/3,at={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,i,n,o,a){var r,s,l,c;a?(r=e+(a=Math.min(a,o/2,n/2)),l=e+n-a,c=i+o-a,t.moveTo(e,s=i+a),r<l&&s<c?(t.arc(r,s,a,-h,-p),t.arc(l,s,a,-p,0),t.arc(l,c,a,0,p),t.arc(r,c,a,p,h)):r<l?(t.moveTo(r,i),t.arc(l,s,a,-p,p),t.arc(r,s,a,p,h+p)):s<c?(t.arc(r,s,a,-h,0),t.arc(r,c,a,0,h)):t.arc(r,s,a,-h,h),t.closePath(),t.moveTo(e,i)):t.rect(e,i,n,o)},drawPoint:function(t,e,i,n,o,a){var r,s,l,c,u,d=(a||0)*et;if(!e||"object"!=typeof e||"[object HTMLImageElement]"!==(r=e.toString())&&"[object HTMLCanvasElement]"!==r){if(!(isNaN(i)||i<=0)){switch(t.beginPath(),e){default:t.arc(n,o,i,0,it),t.closePath();break;case"triangle":t.moveTo(n+Math.sin(d)*i,o-Math.cos(d)*i),d+=ot,t.lineTo(n+Math.sin(d)*i,o-Math.cos(d)*i),d+=ot,t.lineTo(n+Math.sin(d)*i,o-Math.cos(d)*i),t.closePath();break;case"rectRounded":c=i-(u=.516*i),s=Math.cos(d+nt)*c,l=Math.sin(d+nt)*c,t.arc(n-s,o-l,u,d-h,d-p),t.arc(n+l,o-s,u,d-p,d),t.arc(n+s,o+l,u,d,d+p),t.arc(n-l,o+s,u,d+p,d+h),t.closePath();break;case"rect":if(!a){c=Math.SQRT1_2*i,t.rect(n-c,o-c,2*c,2*c);break}d+=nt;case"rectRot":s=Math.cos(d)*i,l=Math.sin(d)*i,t.moveTo(n-s,o-l),t.lineTo(n+l,o-s),t.lineTo(n+s,o+l),t.lineTo(n-l,o+s),t.closePath();break;case"crossRot":d+=nt;case"cross":s=Math.cos(d)*i,l=Math.sin(d)*i,t.moveTo(n-s,o-l),t.lineTo(n+s,o+l),t.moveTo(n+l,o-s),t.lineTo(n-l,o+s);break;case"star":s=Math.cos(d)*i,l=Math.sin(d)*i,t.moveTo(n-s,o-l),t.lineTo(n+s,o+l),t.moveTo(n+l,o-s),t.lineTo(n-l,o+s),d+=nt,s=Math.cos(d)*i,l=Math.sin(d)*i,t.moveTo(n-s,o-l),t.lineTo(n+s,o+l),t.moveTo(n+l,o-s),t.lineTo(n-l,o+s);break;case"line":s=Math.cos(d)*i,l=Math.sin(d)*i,t.moveTo(n-s,o-l),t.lineTo(n+s,o+l);break;case"dash":t.moveTo(n,o),t.lineTo(n+Math.cos(d)*i,o+Math.sin(d)*i)}t.fill(),t.stroke()}}else t.save(),t.translate(n,o),t.rotate(d),t.drawImage(e,-e.width/2,-e.height/2,e.width,e.height),t.restore()},_isPointInArea:function(t,e){return t.x>e.left-1e-6&&t.x<e.right+1e-6&&t.y>e.top-1e-6&&t.y<e.bottom+1e-6},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,i,n){var o,a=i.steppedLine;a?("middle"===a?(o=(e.x+i.x)/2,t.lineTo(o,(n?i:e).y),t.lineTo(o,(n?e:i).y)):"after"===a&&!n||"after"!==a&&n?t.lineTo(e.x,i.y):t.lineTo(i.x,e.y),t.lineTo(i.x,i.y)):i.tension?t.bezierCurveTo(n?e.controlPointPreviousX:e.controlPointNextX,n?e.controlPointPreviousY:e.controlPointNextY,n?i.controlPointNextX:i.controlPointPreviousX,n?i.controlPointNextY:i.controlPointPreviousY,i.x,i.y):t.lineTo(i.x,i.y)}},e=at,o=(d.clear=at.clear,d.drawRoundedRectangle=function(t){t.beginPath(),at.roundedRect.apply(at,arguments)},{_set:function(t,e){return d.merge(this[t]||(this[t]={}),e)}}),T=(o._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0}),o),rt=d.valueOrDefault,o={toLineHeight:function(t,e){var i=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!i||"normal"===i[1])return 1.2*e;switch(t=+i[2],i[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,i,n,o;return d.isObject(t)?(e=+t.top||0,i=+t.right||0,n=+t.bottom||0,o=+t.left||0):e=i=n=o=+t||0,{top:e,right:i,bottom:n,left:o,height:e+n,width:o+i}},_parseFont:function(t){var e=T.global,i=rt(t.fontSize,e.defaultFontSize),i={family:rt(t.fontFamily,e.defaultFontFamily),lineHeight:d.options.toLineHeight(rt(t.lineHeight,e.defaultLineHeight),i),size:i,style:rt(t.fontStyle,e.defaultFontStyle),weight:null,string:""};return i.string=!(t=i)||d.isNullOrUndef(t.size)||d.isNullOrUndef(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family,i},resolve:function(t,e,i,n){for(var o,a=!0,r=0,s=t.length;r<s;++r)if(void 0!==(o=t[r])&&(void 0!==e&&"function"==typeof o&&(o=o(e),a=!1),void 0!==i&&d.isArray(o)&&(o=o[i],a=!1),void 0!==o))return n&&!a&&(n.cacheable=!1),o}},a={_factorize:function(t){for(var e=[],i=Math.sqrt(t),n=1;n<i;n++)t%n==0&&(e.push(n),e.push(t/n));return i===(0|i)&&e.push(i),e.sort(function(t,e){return t-e}).pop(),e},log10:Math.log10||function(t){var e=Math.log(t)*Math.LOG10E,i=Math.round(e);return t===Math.pow(10,i)?i:e}},f=a,W=(d.log10=a.log10,d),a=e,e=o,o=f,f=(W.easing=t,W.canvas=a,W.options=e,W.math=o,W.rtl={getRtlAdapter:function(t,e,
1i){return t?(n=e,o=i,{x:function(t){return n+n+o-t},setWidth:function(t){o=t},textAlign:function(t){return"center"===t?t:"right"===t?"left":"right"},xPlus:function(t,e){return t-e},leftForLtr:function(t,e){return t-e}}):{x:function(t){return t},setWidth:function(t){},textAlign:function(t){return t},xPlus:function(t,e){return t+e},leftForLtr:function(t,e){return t}};var n,o},overrideTextDirection:function(t,e){var i,n;"ltr"!==e&&"rtl"!==e||(n=[(i=t.canvas.style).getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",e,"important"),t.prevTextDirection=n)},restoreTextDirection:function(t){var e=t.prevTextDirection;void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}},W.extend(J.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){return this._view||(this._view=W.extend({},this._model)),this._start={},this},transition:function(t){var e=this._model,i=this._start,n=this._view;if(e&&1!==t){for(var n=n||(this._view={}),i,o=i=i||(this._start={}),a=n,r=e,s=t,l,c,u,d,h,p=Object.keys(r),f=0,m=p.length;f<m;++f)if(u=r[l=p[f]],a.hasOwnProperty(l)||(a[l]=u),(d=a[l])!==u&&"_"!==l[0]){if(o.hasOwnProperty(l)||(o[l]=d),(d=typeof u)==typeof(c=o[l]))if("string"==d){if((d=X(c)).valid&&(h=X(u)).valid){a[l]=h.mix(d,s).rgbString();continue}}
1else if(W.isFinite(c)&&W.isFinite(u)){a[l]=c+(u-c)*s;continue}a[l]=u}}else this._view=W.extend({},e),this._start=null;return this},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return W.isNumber(this._model.x)&&W.isNumber(this._model.y)}}),J.extend=W.inherits,J),t=f.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),st=t,lt=(Object.defineProperty(t.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(t.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}}),T._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:W.noop,onComplete:W.noop}}),{animations:[],request:null,addAnimation:function(t,e,i,n){var o,a,r=this.animations;for(e.chart=t,e.startTime=Date.now(),e.duration=i,n||(t.animating=!0),o=0,a=r.length;o<a;++o)if(r[o].chart===t)return void(r[o]=e);r.push(e),1===r.length&&this.requestAnimationFrame()},cancelAnimation:function(e){var t=W.findIndex(this.animations,function(t){return t.chart===e});-1!==t&&(this.animations.splice(t,1),e.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=W.requestAnimFrame.call(window,function(){t.request=null,t.startDigest()}))},startDigest:function(){this.advance(),0<this.animations.length&&this.requestAnimationFrame()},advance:function(){for(var t,e,i,n,o=this.animations,a=0;a<o.length;)e=(t=o[a]).chart,i=t.numSteps,n=Math.floor((Date.now()-t.startTime)/t.duration*i)+1,t.currentStep=Math.min(n,i),W.callback(t.render,[e,t],e),W.callback(t.onAnimationProgress,[t],e),t.currentStep>=i?(W.callback(t.onAnimationComplete,[t],e),e.animating=!1,o.splice(a,1)):++a}}),ct=W.options.resolve,ut=["push","pop","shift","splice","unshift"];function dt(e,t){var i=e._chartjs;i&&(-1!==(t=(i=i.listeners).indexOf(t))&&i.splice(t,1),0<i.length||(ut.forEach(function(t){delete e[t]}),delete e._chartjs))}function ht(t,e){this.initialize(t,e)}W.extend(ht.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(t,e){this.chart=t,this.index=e,this.linkScales(),this.addElements(),this._type=this.getMeta().type},updateIndex:function(t){this.index=t},linkScales:function(){var t=this.getMeta(),e=this.chart,i=e.scales,n=this.getDataset(),e=e.options.scales;null!==t.xAxisID&&t.xAxisID in i&&!n.xAxisID||(t.xAxisID=n.xAxisID||e.xAxes[0].id),null!==t.yAxisID&&t.yAxisID in i&&!n.yAxisID||(t.yAxisID=n.yAxisID||e.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&dt(this._data,this)},createMetaDataset:function(){var t=this.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var e=this.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){for(var t=this.getMeta(),e=this.getDataset().data||[],i=t.data,n=0,o=e.length;n<o;++n)i[n]=i[n]||this.createMetaData(n);t.dataset=t.dataset||this.createMetaDataset()},addElementAndReset:function(t){var e=this.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var o,t=this.getDataset(),t=t.data||(t.data=[]);this._data!==t&&(this._data&&dt(this._data,this),t&&Object.isExtensible(t)&&((o=t)._chartjs?o._chartjs.listeners.push(this):(Object.defineProperty(o,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[this]}}),ut.forEach(function(t){var i="onData"+t.charAt(0).toUpperCase()+t.slice(1),n=o[t];Object.defineProperty(o,t,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),t=n.apply(this,e);return W.each(o._chartjs.listeners,function(t){"function"==typeof t[i]&&t[i].apply(t,e)}),t}})}))),this._data=t),this.resyncElements()},_configure:function(){this._config=W.merge(Object.create(null),[this.chart.options.datasets[this._type],this.getDataset()],{merger:function(t,e,
1i){"_meta"!==t&&"data"!==t&&W._merger(t,e,i)}})},_update:function(t){this._configure(),this._cachedDataOpts=null,this.update(t)},update:W.noop,transition:function(t){for(var e=this.getMeta(),i=e.data||[],n=i.length,o=0;o<n;++o)i[o].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],i=e.length,n=0;for(t.dataset&&t.dataset.draw();n<i;++n)e[n].draw()},getStyle:function(t){var e=this.getMeta(),i=e.dataset;return this._configure(),!1!==(i=i&&void 0===t?this._resolveDatasetElementOptions(i||{}):this._resolveDataElementOptions(e.data[t=t||0]||{},t)).fill&&null!==i.fill||(i.backgroundColor=i.borderColor),i},_resolveDatasetElementOptions:function(t,e){for(var i,n,o=this.chart,a=this._config,r=t.custom||{},s=o.options.elements[this.datasetElementType.prototype._type]||{},l=this._datasetElementOptions,c={},u={chart:o,dataset:this.getDataset(),datasetIndex:this.index,hover:e},d=0,h=l.length;d<h;++d)i=l[d],n=e?"hover"+i.charAt(0).toUpperCase()+i.slice(1):i,c[i]=ct([r[n],a[n],s[n]],u);return c},_resolveDataElementOptions:function(t,e){var i=t&&t.custom,t=this._cachedDataOpts;if(t&&!i)return t;var n,o,a,r,t=this.chart,s=this._config,l=t.options.elements[this.dataElementType.prototype._type]||{},c=this._dataElementOptions,u={},d={chart:t,dataIndex:e,dataset:this.getDataset(),datasetIndex:this.index},h={cacheable:!i},i=i||{};if(W.isArray(c))for(o=0,a=c.length;o<a;++o)u[r=c[o]]=ct([i[r],s[r],l[r]],d,e,h);else for(o=0,a=(n=Object.keys(c)).length;o<a;++o)u[r=n[o]]=ct([i[r],s[c[r]],s[r],l[r]],d,e,h);return h.cacheable&&(this._cachedDataOpts=Object.freeze(u)),u},removeHoverStyle:function(t){W.merge(t._model,t.$previousStyle||{}),delete t.$previousStyle},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],i=t._index,n=t.custom||{},o=t._model,a=W.getHoverColor;t.$previousStyle={backgroundColor:o.backgroundColor,borderColor:o.borderColor,borderWidth:o.borderWidth},o.backgroundColor=ct([n.hoverBackgroundColor,e.hoverBackgroundColor,a(o.backgroundColor)],void 0,i),o.borderColor=ct([n.hoverBorderColor,e.hoverBorderColor,a(o.borderColor)],void 0,i),o.borderWidth=ct([n.hoverBorderWidth,e.hoverBorderWidth,o.borderWidth],void 0,i)},_removeDatasetHoverStyle:function(){var t=this.getMeta().dataset;t&&this.removeHoverStyle(t)},_setDatasetHoverStyle:function(){var t,e,i,n,o,a,r=this.getMeta().dataset,s={};if(r){for(a=r._model,o=this._resolveDatasetElementOptions(r,!0),t=0,e=(n=Object.keys(o)).length;t<e;++t)s[i=n[t]]=a[i],a[i]=o[i];r.$previousStyle=s}},resyncElements:function(){var t=this.getMeta(),e=this.getDataset().data,i=t.data.length,e=e.length;e<i?t.data.splice(e,i-e):i<e&&this.insertElements(i,e-i)},insertElements:function(t,e){for(var i=0;i<e;++i)this.addElementAndReset(t+i)},onDataPush:function(){var t=arguments.length;this.insertElements(this.getDataset().data.length-t,t)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),ht.extend=W.inherits;var m=ht,g=2*Math.PI;function pt(t,e){var i=e.startAngle,n=e.endAngle,o=e.pixelMargin,a=o/e.outerRadius,r=e.x,s=e.y;t.beginPath(),t.arc(r,s,e.outerRadius,i-a,n+a),e.innerRadius>o?(a=o/e.innerRadius,t.arc(r,s,e.innerRadius-o,n+a,i-a,!0)):t.arc(r,s,o,n+Math.PI/2,i-Math.PI/2),t.closePath(),t.clip()}T._set("global",{elements:{arc:{backgroundColor:T.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var a=f.extend({_type:"arc",inLabelRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,e){var i=this._view;if(i){for(var t=W.getAngleFromPoint(i,{x:t,y:e}),n=t.angle,e=t.distance,o=i.startAngle,a=i.endAngle;a<o;)a+=g;for(;a<n;)n-=g;for(;n<o;)n+=g;t=e>=i.innerRadius&&e<=i.outerRadius;return o<=n&&n<=a&&t}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,i=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*i,y:t.y+Math.sin(e)*i}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,i=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*i,y:t.y+Math.sin(e)*i}},draw:function(){var t,e=this._chart.ctx,i=this._view,n="inner"===i.borderAlign?.33:0,o={x:i.x,y:i.y,innerRadius:i.innerRadius,outerRadius:Math.max(i.outerRadius-n,0),pixelMargin:n,startAngle:i.startAngle,endAngle:i.endAngle,fullCircles:Math.floor(i.circumference/g)};if(e.save(),e.fillStyle=i.backgroundColor,e.strokeStyle=i.borderColor,o.fullCircles){for(o.endAngle=o.startAngle+g,e.beginPath(),e.arc(o.x,o.y,o.outerRadius,o.startAngle,o.endAngle),e.arc(o.x,o.y,o.innerRadius,o.endAngle,o.startAngle,!0),e.closePath(),t=0;t<o.fullCircles;++t)e.fill();o.endAngle=o.startAngle+i.circumference%g}if(e.beginPath(),e.arc(o.x,o.y,o.outerRadius,o.startAngle,o.endAngle),e.arc(o.x,o.y,o.innerRadius,o.endAngle,o.startAngle,!0),e.closePath(),e.fill(),i.borderWidth){n=e;var a=o,r="inner"===i.borderAlign;if(r?(n.lineWidth=2*i.borderWidth,n.lineJoin="round"):(n.lineWidth=i.borderWidth,n.lineJoin="bevel"),a.fullCircles){var s,l=n,c=i,u=a,d=u.endAngle;
1for(r&&(u.endAngle=u.startAngle+g,pt(l,u),u.endAngle=d,u.endAngle===u.startAngle)&&u.fullCircles&&(u.endAngle+=g,u.fullCircles--),l.beginPath(),l.arc(u.x,u.y,u.innerRadius,u.startAngle+g,u.startAngle,!0),s=0;s<u.fullCircles;++s)l.stroke();for(l.beginPath(),l.arc(u.x,u.y,c.outerRadius,u.startAngle,u.startAngle+g),s=0;s<u.fullCircles;++s)l.stroke()}r&&pt(n,a),n.beginPath(),n.arc(a.x,a.y,i.outerRadius,a.startAngle,a.endAngle),n.arc(a.x,a.y,a.innerRadius,a.endAngle,a.startAngle,!0),n.closePath(),n.stroke()}e.restore()}}),ft=W.valueOrDefault,e=T.global.defaultColor,o=(T._set("global",{elements:{line:{tension:.4,backgroundColor:e,borderWidth:3,borderColor:e,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),f.extend({_type:"line",draw:function(){var t,e,i,n=this._view,o=this._chart.ctx,a=n.spanGaps,r=this._children.slice(),s=T.global,l=s.elements.line,c=-1,u=this._loop;if(r.length){if(this._loop){for(t=0;t<r.length;++t)if(e=W.previousItem(r,t),!r[t]._view.skip&&e._view.skip){r=r.slice(t).concat(r.slice(0,t)),u=a;break}u&&r.push(r[0])}for(o.save(),o.lineCap=n.borderCapStyle||l.borderCapStyle,o.setLineDash&&o.setLineDash(n.borderDash||l.borderDash),o.lineDashOffset=ft(n.borderDashOffset,l.borderDashOffset),o.lineJoin=n.borderJoinStyle||l.borderJoinStyle,o.lineWidth=ft(n.borderWidth,l.borderWidth),o.strokeStyle=n.borderColor||s.defaultColor,o.beginPath(),(i=r[0]._view).skip||(o.moveTo(i.x,i.y),c=0),t=1;t<r.length;++t)i=r[t]._view,e=-1===c?W.previousItem(r,t):r[c],i.skip||(c!==t-1&&!a||-1===c?o.moveTo(i.x,i.y):W.canvas.lineTo(o,e._view,i),c=t);u&&o.closePath(),o.stroke(),o.restore()}}})),mt=W.valueOrDefault,t=T.global.defaultColor;function gt(t){var e=this._view;return!!e&&Math.abs(t-e.x)<e.radius+e.hitRadius}T._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:t,borderColor:t,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});e=f.extend({_type:"point",inRange:function(t,e){var i=this._view;return!!i&&Math.pow(t-i.x,2)+Math.pow(e-i.y,2)<Math.pow(i.hitRadius+i.radius,2)},inLabelRange:gt,inXRange:gt,inYRange:function(t){var e=this._view;return!!e&&Math.abs(t-e.y)<e.radius+e.hitRadius},getCenterPoint:function(){var t=this._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(t){var e=this._view,i=this._chart.ctx,n=e.pointStyle,o=e.rotation,a=e.radius,r=e.x,s=e.y,l=T.global,c=l.defaultColor;e.skip||void 0!==t&&!W.canvas._isPointInArea(e,t)||(i.strokeStyle=e.borderColor||c,i.lineWidth=mt(e.borderWidth,l.elements.point.borderWidth),i.fillStyle=e.backgroundColor||c,W.canvas.drawPoint(i,n,a,r,s,o))}}),t=T.global.defaultColor;function vt(t){return t&&void 0!==t.width}function yt(t){var e,i,n,o,t=vt(t)?(o=t.width/2,e=t.x-o,i=t.x+o,n=Math.min(t.y,t.base),Math.max(t.y,t.base)):(o=t.height/2,e=Math.min(t.x,t.base),i=Math.max(t.x,t.base),n=t.y-o,t.y+o);return{left:e,top:n,right:i,bottom:t}}function _t(t,e,i){return t===e?i:t===i?e:t}function bt(t,e,i){var n=null===e,o=null===i,t=!(!t||n&&o)&&yt(t);return t&&(n||e>=t.left&&e<=t.right)&&(o||i>=t.top&&i<=t.bottom)}T._set("global",{elements:{rectangle:{backgroundColor:t,borderColor:t,borderSkipped:"bottom",borderWidth:0}}});var t=f.extend({_type:"rectangle",draw:function(){var t,e,i,n,o,a,r,s,l,c,u=this._chart.ctx,d=this._view,h=(r=yt(t=d),s=r.right-r.left,e=s/2,i=(l=r.bottom-r.top)/2,p=(t=t).borderWidth,c=t.borderSkipped,h={},c&&(t.horizontal?t.x<t.base&&(c=_t(c,"left","right")):t.base<t.y&&(c=_t(c,"bottom","top")),h[c]=!0),t=h,W.isObject(p)?(f=+p.top||0,n=+p.right||0,o=+p.bottom||0,a=+p.left||0):f=n=o=a=+p||0,c={t:t.top||f<0?0:i<f?i:f,r:t.right||n<0?0:e<n?e:n,b:t.bottom||o<0?0:i<o?i:o,l:t.left||a<0?0:e<a?e:a},{outer:{x:r.left,y:r.top,w:s,h:l},inner:{x:r.left+c.l,y:r.top+c.t,w:s-c.l-c.r,h:l-c.t-c.b}}),p=h.outer,f=h.inner;u.fillStyle=d.backgroundColor,u.fillRect(p.x,p.y,p.w,p.h),p.w===f.w&&p.h===f.h||(u.save(),u.beginPath(),u.rect(p.x,p.y,p.w,p.h),u.clip(),u.fillStyle=d.borderColor,u.re
1ct(f.x,f.y,f.w,f.h),u.fill("evenodd"),u.restore())},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){return bt(this._view,t,e)},inLabelRange:function(t,e){var i=this._view;return vt(i)?bt(i,t,null):bt(i,null,e)},inXRange:function(t){return bt(this._view,t,null)},inYRange:function(t){return bt(this._view,null,t)},getCenterPoint:function(){var t,e=this._view,e=vt(e)?(t=e.x,(e.y+e.base)/2):(t=(e.x+e.base)/2,e.y);return{x:t,y:e}},getArea:function(){var t=this._view;return vt(t)?t.width*Math.abs(t.y-t.base):t.height*Math.abs(t.x-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}}),v={},wt=(v.Arc=a,v.Line=o,v.Point=e,v.Rectangle=t,W._deprecated),kt=W.valueOrDefault;function xt(t,e,i){var n,o=i.barThickness,a=e.stackCount,t=e.pixels[t],e=W.isNullOrUndef(o)?((t,e)=>{for(var i,n,o=t._length,a=1,r=e.length;a<r;++a)o=Math.min(o,Math.abs(e[a]-e[a-1]));for(a=0,r=t.getTicks().length;a<r;++a)n=t.getPixelForTick(a),o=0<a?Math.min(o,Math.abs(n-i)):o,i=n;return o})(e.scale,e.pixels):-1,e=W.isNullOrUndef(o)?(n=e*i.categoryPercentage,i.barPercentage):(n=o*a,1);return{chunk:n/a,ratio:e,start:t-n/2}}T._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),T._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var a=m.extend({dataElementType:v.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var t;m.prototype.initialize.apply(this,arguments),(t=this.getMeta()).stack=this.getDataset().stack,t.bar=!0,t=this._getIndexScale().options,wt("bar chart",t.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),wt("bar chart",t.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),wt("bar chart",t.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),wt("bar chart",this._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),wt("bar chart",t.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(t){var e,i,n=this.getMeta().data;for(this._ruler=this.getRuler(),e=0,i=n.length;e<i;++e)this.updateElement(n[e],e,t)},updateElement:function(t,e,i){var n=this.getMeta(),o=this.getDataset(),a=this._resolveDataElementOptions(t,e);t._xScale=this.getScaleForId(n.xAxisID),t._yScale=this.getScaleForId(n.yAxisID),t._datasetIndex=this.index,t._index=e,t._model={backgroundColor:a.backgroundColor,borderColor:a.borderColor,borderSkipped:a.borderSkipped,borderWidth:a.borderWidth,datasetLabel:o.label,label:this.chart.data.labels[e]},W.isArray(o.data[e])&&(t._model.borderSkipped=null),this._updateElementGeometry(t,e,i,a),t.pivot()},_updateElementGeometry:function(t,e,i,n){var t=t._model,o=this._getValueScale(),a=o.getBasePixel(),o=o.isHorizontal(),r=this._ruler||this.getRuler(),s=this.calculateBarValuePixels(this.index,e,n),e=this.calculateBarIndexPixels(this.index,e,r,n);t.horizontal=o,t.base=i?a:s.base,t.x=o?i?a:s.head:e.center,t.y=o?e.center:i?a:s.head,t.height=o?e.size:void 0,t.width=o?void 0:e.size},_getStacks:function(t){for(var e,i=this._getIndexScale(),n=i._getMatchingVisibleMetas(this._type),o=i.options.stacked,a=n.length,r=[],s=0;s<a&&(e=n[s],(!1===o||-1===r.indexOf(e.stack)||void 0===o&&void 0===e.stack)&&r.push(e.stack),e.index!==t);++s);return r},getStackCount:function(){return this._getStacks().length},getStackIndex:function(t,e){t=this._getStacks(t),e=void 0!==e?t.indexOf(e):-1;return-1===e?t.length-1:e},getRuler:function(){for(var t=this._getIndexScale(),e=[],i=0,n=this.getMeta().data.length;i<n;++i)e.push(t.getPixelForValue(null,i,this.index));return{pixels:e,start:t._startPixel,end:t._endPixel,stackCount:this.getStackCount(),scale:t}},calculateBarValuePixels:function(t,e,i){var n,o,a,r,s,l=this.chart,c=this._getValueScale(),u=c.isHorizontal(),d=l.data.datasets,h=c._getMatchingVisibleMetas(this._type),p=c._parseValue(d[t].data[e]),l=i.minBarLength,i=c.options.stacked,f=this.getMeta().stack,m=void 0===p.start?0:0<=p.max&&0<=p.min?p.min:p.max,g=void 0===p.start?p.end:0<=p.max&&0<=p.min?p.max-p.min:p.min-p.max,v=h.length;if(i||void 0===i&&void 0!==f)for(n=0;n<v&&(o=h[n]).index!==t;++n)o.stack===f&&(s=void 0===(s=c._parseValue(d[o.index].data[e])).start?s.end:0<=s.min&&0<=s.max?s.max:s.min,p.min<0&&s<0||0<=p.max&&0<s)&&(m+=s);return i=c.getPixelForValue(m),r=(a=c.getPixelForValue(m+g))-i,void 0!==l&&Math.abs(r)<l&&(r=l,a=0<=g&&!u||g<0&&u?i-l:i+l),{size:r,base:i,head:a,center:a+r/2}}
1,calculateBarIndexPixels:function(t,e,i,n){var o,a,r="flex"===n.barThickness?(o=n,r=(c=i).pixels,a=r[e],s=0<e?r[e-1]:null,r=e<r.length-1?r[e+1]:null,l=o.categoryPercentage,null===s&&(s=a-(null===r?c.end-c.start:r-a)),null===r&&(r=a+a-s),a=a-(a-Math.min(s,r))/2*l,{chunk:Math.abs(r-s)/2*l/c.stackCount,ratio:o.barPercentage,start:a}):xt(e,i,n),s=this.getStackIndex(t,this.getMeta().stack),l=r.start+r.chunk*s+r.chunk/2,c=Math.min(kt(n.maxBarThickness,1/0),r.chunk*r.ratio);return{base:l-c/2,head:l+c/2,center:l,size:c}},draw:function(){var t=this.chart,e=this._getValueScale(),i=this.getMeta().data,n=this.getDataset(),o=i.length,a=0;for(W.canvas.clipArea(t.ctx,t.chartArea);a<o;++a){var r=e._parseValue(n.data[a]);isNaN(r.min)||isNaN(r.max)||i[a].draw()}W.canvas.unclipArea(t.ctx)},_resolveDataElementOptions:function(){var t=W.extend({},m.prototype._resolveDataElementOptions.apply(this,arguments)),e=this._getIndexScale().options,i=this._getValueScale().options;return t.barPercentage=kt(e.barPercentage,t.barPercentage),t.barThickness=kt(e.barThickness,t.barThickness),t.categoryPercentage=kt(e.categoryPercentage,t.categoryPercentage),t.maxBarThickness=kt(e.maxBarThickness,t.maxBarThickness),t.minBarLength=kt(i.minBarLength,t.minBarLength),t}}),Ct=W.valueOrDefault,St=W.options.resolve,o=(T._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){var i=e.datasets[t.datasetIndex].label||"",e=e.datasets[t.datasetIndex].data[t.index];return i+": ("+t.xLabel+", "+t.yLabel+", "+e.r+")"}}}}),m.extend({dataElementType:v.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(i){var n=this,t=n.getMeta().data;W.each(t,function(t,e){n.updateElement(t,e,i)})},updateElement:function(t,e,i){var n=this.getMeta(),o=t.custom||{},a=this.getScaleForId(n.xAxisID),n=this.getScaleForId(n.yAxisID),r=this._resolveDataElementOptions(t,e),s=this.getDataset().data[e],l=this.index,c=i?a.getPixelForDecimal(.5):a.getPixelForValue("object"==typeof s?s:NaN,e,l),s=i?n.getBasePixel():n.getPixelForValue(s,e,l);t._xScale=a,t._yScale=n,t._options=r,t._datasetIndex=l,t._index=e,t._model={backgroundColor:r.backgroundColor,borderColor:r.borderColor,borderWidth:r.borderWidth,hitRadius:r.hitRadius,pointStyle:r.pointStyle,rotation:r.rotation,radius:i?0:r.radius,skip:o.skip||isNaN(c)||isNaN(s),x:c,y:s},t.pivot()},setHoverStyle:function(t){var e=t._model,i=t._options,n=W.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=Ct(i.hoverBackgroundColor,n(i.backgroundColor)),e.borderColor=Ct(i.hoverBorderColor,n(i.borderColor)),e.borderWidth=Ct(i.hoverBorderWidth,i.borderWidth),e.radius=i.radius+i.hoverRadius},_resolveDataElementOptions:function(t,e){var i=this.chart,n=this.getDataset(),t=t.custom||{},o=n.data[e]||{},a=m.prototype._resolveDataElementOptions.apply(this,arguments),n={chart:i,dataIndex:e,dataset:n,datasetIndex:this.index};return(a=this._cachedDataOpts===a?W.extend({},a):a).radius=St([t.radius,o.r,this._config.radius,i.options.elements.point.radius],n,e),a}})),Mt=W.valueOrDefault,x=Math.PI,C=2*x,Lt=x/2,e=(T._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e,i,n,o=document.createElement("ul"),a=t.data,r=a.datasets,s=a.labels;if(o.setAttribute("class",t.id+"-legend"),r.length)for(i=r[e=0].data.length;e<i;++e)(n=o.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=r[0].backgroundColor[e],s[e]&&n.appendChild(document.createTextNode(s[e]));return o.outerHTML},legend:{labels:{generateLabels:function(o){var a=o.data;return a.labels.length&&a.datasets.length?a.labels.map(function(t,e){var i=o.getDatasetMeta(0),n=i.controller.getStyle(e);return{text:t,fillStyle:n.backgroundColor,strokeStyle:n.borderColor,lineWidth:n.borderWidth,hidden:isNaN(a.datasets[0].data[e])||i.data[e].hidden,index:e}}):[]}},onClick:function(t,e){for(var i,n=e.index,o=this.chart,a=0,r=(o.data.datasets||[]).length;a<r;++a)(i=o.getDatasetMeta(a)).data[n]&&(i.data[n].hidden=!i.data[n].hidden);o.update()}},cutoutPercentage:50,rotation:-Lt,circumference:C,tooltips:{callbacks:{title:function(){return""},label:function(t,e){var i=e.labels[t.index],e=": "+e.datasets[t.datasetIndex].data[t.index];return W.isArray(i)?(i=i.slice())[0]+=e:i+=e,i}}}}),m.extend({dataElementType:v.Arc,linkScales:W.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroun
1dColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(t){for(var e=0,i=0;i<t;++i)this.chart.isDatasetVisible(i)&&++e;return e},update:function(t){var e,i,n,o,a,r,s,l,c,u=this,d=u.chart,h=d.chartArea,p=d.options,f=1,m=1,g=0,v=0,y=u.getMeta(),_=y.data,b=p.cutoutPercentage/100||0,w=p.circumference,k=u._getRingWeight(u.index);for(w<C&&(p=p.rotation%C,w=(p+=x<=p?-C:p<-x?C:0)+w,n=Math.cos(p),o=Math.sin(p),a=Math.cos(w),r=Math.sin(w),c=p<=0&&0<=w||C<=w,s=p<=Lt&&Lt<=w||C+Lt<=w,l=p<=-Lt&&-Lt<=w||x+Lt<=w,p=p==-x||x<=w?-1:Math.min(n,n*b,a,a*b),w=l?-1:Math.min(o,o*b,r,r*b),f=((l=c?1:Math.max(n,n*b,a,a*b))-p)/2,m=((c=s?1:Math.max(o,o*b,r,r*b))-w)/2,g=-(l+p)/2,v=-(c+w)/2),e=0,i=_.length;e<i;++e)_[e]._options=u._resolveDataElementOptions(_[e],e);for(d.borderWidth=u.getMaxBorderWidth(),n=(h.right-h.left-d.borderWidth)/f,a=(h.bottom-h.top-d.borderWidth)/m,d.outerRadius=Math.max(Math.min(n,a)/2,0),d.innerRadius=Math.max(d.outerRadius*b,0),d.radiusLength=(d.outerRadius-d.innerRadius)/(u._getVisibleDatasetWeightTotal()||1),d.offsetX=g*d.outerRadius,d.offsetY=v*d.outerRadius,y.total=u.calculateTotal(),u.outerRadius=d.outerRadius-d.radiusLength*u._getRingWeightOffset(u.index),u.innerRadius=Math.max(u.outerRadius-d.radiusLength*k,0),e=0,i=_.length;e<i;++e)u.updateElement(_[e],e,t)},updateElement:function(t,e,i){var n=this.chart,o=n.chartArea,a=n.options,r=a.animation,s=(o.left+o.right)/2,o=(o.top+o.bottom)/2,l=a.rotation,c=a.rotation,u=this.getDataset(),d=i&&r.animateRotate||t.hidden?0:this.calculateCircumference(u.data[e])*(a.circumference/C),h=i&&r.animateScale?0:this.innerRadius,p=i&&r.animateScale?0:this.outerRadius,f=t._options||{},f=(W.extend(t,{_datasetIndex:this.index,_index:e,_model:{backgroundColor:f.backgroundColor,borderColor:f.borderColor,borderWidth:f.borderWidth,borderAlign:f.borderAlign,x:s+n.offsetX,y:o+n.offsetY,startAngle:l,endAngle:c,circumference:d,outerRadius:p,innerRadius:h,label:W.valueAtIndexOrDefault(u.label,e,n.data.labels[e])}}),t._model);i&&r.animateRotate||(f.startAngle=0===e?a.rotation:this.getMeta().data[e-1]._model.endAngle,f.endAngle=f.startAngle+f.circumference),t.pivot()},calculateTotal:function(){var i,n=this.getDataset(),t=this.getMeta(),o=0;return W.each(t.data,function(t,e){i=n.data[e],isNaN(i)||t.hidden||(o+=Math.abs(i))}),o},calculateCircumference:function(t){var e=this.getMeta().total;return 0<e&&!isNaN(t)?C*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){var e,i,n,o,a,r,s=0,l=this.chart;if(!t)for(e=0,i=l.data.datasets.length;e<i;++e)if(l.isDatasetVisible(e)){t=(n=l.getDatasetMeta(e)).data,e!==this.index&&(o=n.controller);break}if(!t)return 0;for(e=0,i=t.length;e<i;++e)r=t[e],"inner"!==(r=o?(o._configure(),o._resolveDataElementOptions(r,e)):r._options).borderAlign&&(a=r.borderWidth,s=(r=r.hoverBorderWidth)>(s=s<a?a:s)?r:s);return s},setHoverStyle:function(t){var e=t._model,i=t._options,n=W.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=Mt(i.hoverBackgroundColor,n(i.backgroundColor)),e.borderColor=Mt(i.hoverBorderColor,n(i.borderColor)),e.borderWidth=Mt(i.hoverBorderWidth,i.borderWidth)},_getRingWeightOffset:function(t){for(var e=0,i=0;i<t;++i)this.chart.isDatasetVisible(i)&&(e+=this._getRingWeight(i));return e},_getRingWeight:function(t){return Math.max(Mt(this.chart.data.datasets[t].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}})),t=(T._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),T._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}}),a.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}})),y=W.valueOrDefault,At=W.options.resolve,Tt=W.canvas._isPointInArea;function It(t,e){var t=t&&t.options.ticks||{},i=t.reverse,n=void 0===t.min?e:0,t=void 0===t.max?e:0;return{start:i?t:n,end:i?n:t}}T._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var Dt=m.extend({datasetElementType:v.Line,dataElementType:v.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroun
1dColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(t){var e,i,n=this,o=n.getMeta(),a=o.dataset,r=o.data||[],s=n.chart.options,l=n._config,s=n._showLine=y(l.showLine,s.showLines);for(n._xScale=n.getScaleForId(o.xAxisID),n._yScale=n.getScaleForId(o.yAxisID),s&&(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),a._scale=n._yScale,a._datasetIndex=n.index,a._children=r,a._model=n._resolveDatasetElementOptions(a),a.pivot()),e=0,i=r.length;e<i;++e)n.updateElement(r[e],e,t);for(s&&0!==a._model.tension&&n.updateBezierControlPoints(),e=0,i=r.length;e<i;++e)r[e].pivot()},updateElement:function(t,e,i){var n=this.getMeta(),o=t.custom||{},a=this.getDataset(),r=this.index,a=a.data[e],s=this._xScale,l=this._yScale,n=n.dataset._model,c=this._resolveDataElementOptions(t,e),u=s.getPixelForValue("object"==typeof a?a:NaN,e,r),i=i?l.getBasePixel():this.calculatePointY(a,e,r);t._xScale=s,t._yScale=l,t._options=c,t._datasetIndex=r,t._index=e,t._model={x:u,y:i,skip:o.skip||isNaN(u)||isNaN(i),radius:c.radius,pointStyle:c.pointStyle,rotation:c.rotation,backgroundColor:c.backgroundColor,borderColor:c.borderColor,borderWidth:c.borderWidth,tension:y(o.tension,n?n.tension:0),steppedLine:!!n&&n.steppedLine,hitRadius:c.hitRadius}},_resolveDatasetElementOptions:function(t){var e,i,n,o,a=this._config,t=t.custom||{},r=this.chart.options,s=r.elements.line,l=m.prototype._resolveDatasetElementOptions.apply(this,arguments);return l.spanGaps=y(a.spanGaps,r.spanGaps),l.tension=y(a.lineTension,s.tension),l.steppedLine=At([t.steppedLine,a.steppedLine,s.stepped]),l.clip=(a=y(a.clip,(r=this._xScale,t=this._yScale,s=l.borderWidth,r=It(r,s/=2),{top:(t=It(t,s)).end,right:r.end,bottom:t.start,left:r.start})),W.isObject(a)?(e=a.top,i=a.right,n=a.bottom,o=a.left):e=i=n=o=a,{top:e,right:i,bottom:n,left:o}),l},calculatePointY:function(t,e,i){var n,o,a,r,s,l,c=this.chart,u=this._yScale,d=0,h=0;if(u.options.stacked){for(r=+u.getRightValue(t),l=(s=c._getSortedVisibleDatasetMetas()).length,n=0;n<l&&(o=s[n]).index!==i;++n)a=c.data.datasets[o.index],"line"===o.type&&o.yAxisID===u.id&&((a=+u.getRightValue(a.data[e]))<0?h+=a||0:d+=a||0);return r<0?u.getPixelForValue(h+r):u.getPixelForValue(d+r)}return u.getPixelForValue(t)},updateBezierControlPoints:function(){var t,e,i,n,o=this.chart,a=this.getMeta(),r=a.dataset._model,s=o.chartArea,l=a.data||[];function c(t,e,i){return Math.max(Math.min(t,i),e)}if(r.spanGaps&&(l=l.filter(function(t){return!t._model.skip})),"monotone"===r.cubicInterpolationMode)W.splineCurveMonotone(l);else for(t=0,e=l.length;t<e;++t)i=l[t]._model,n=W.splineCurve(W.previousItem(l,t)._model,i,W.nextItem(l,t)._model,r.tension),i.controlPointPreviousX=n.previous.x,i.controlPointPreviousY=n.previous.y,i.controlPointNextX=n.next.x,i.controlPointNextY=n.next.y;if(o.options.elements.line.capBezierPoints)for(t=0,e=l.length;t<e;++t)i=l[t]._model,Tt(i,s)&&(0<t&&Tt(l[t-1]._model,s)&&(i.controlPointPreviousX=c(i.controlPointPreviousX,s.left,s.right),i.controlPointPreviousY=c(i.controlPointPreviousY,s.top,s.bottom)),t<l.length-1)&&Tt(l[t+1]._model,s)&&(i.controlPointNextX=c(i.controlPointNextX,s.left,s.right),i.controlPointNextY=c(i.controlPointNextY,s.top,s.bottom))},draw:function(){var t,e=this.chart,i=this.getMeta(),n=i.data||[],o=e.chartArea,a=e.canvas,r=0,s=n.length;for(this._showLine&&(t=i.dataset._model.clip,W.canvas.clipArea(e.ctx,{left:!1===t.left?0:o.left-t.left,right:!1===t.right?a.width:o.right+t.right,top:!1===t.top?0:o.top-t.top,bottom:!1===t.bottom?a.height:o.bottom+t.bottom}),i.dataset.draw(),W.canvas.unclipArea(e.ctx));r<s;++r)n[r].draw(o)},setHoverStyle:function(t){var e=t._model,i=t._options,n=W.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius}
1,e.backgroundColor=y(i.hoverBackgroundColor,n(i.backgroundColor)),e.borderColor=y(i.hoverBorderColor,n(i.borderColor)),e.borderWidth=y(i.hoverBorderWidth,i.borderWidth),e.radius=y(i.hoverRadius,i.radius)}}),Pt=W.options.resolve,Et=(T._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e,i,n,o=document.createElement("ul"),a=t.data,r=a.datasets,s=a.labels;if(o.setAttribute("class",t.id+"-legend"),r.length)for(i=r[e=0].data.length;e<i;++e)(n=o.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=r[0].backgroundColor[e],s[e]&&n.appendChild(document.createTextNode(s[e]));return o.outerHTML},legend:{labels:{generateLabels:function(o){var a=o.data;return a.labels.length&&a.datasets.length?a.labels.map(function(t,e){var i=o.getDatasetMeta(0),n=i.controller.getStyle(e);return{text:t,fillStyle:n.backgroundColor,strokeStyle:n.borderColor,lineWidth:n.borderWidth,hidden:isNaN(a.datasets[0].data[e])||i.data[e].hidden,index:e}}):[]}},onClick:function(t,e){for(var i,n=e.index,o=this.chart,a=0,r=(o.data.datasets||[]).length;a<r;++a)(i=o.getDatasetMeta(a)).data[n].hidden=!i.data[n].hidden;o.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}}),m.extend({dataElementType:v.Arc,linkScales:W.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,i,n,o=this,a=o.getDataset(),r=o.getMeta(),s=o.chart.options.startAngle||0,l=o._starts=[],c=o._angles=[],u=r.data;for(o._updateRadius(),r.count=o.countVisibleElements(),e=0,i=a.data.length;e<i;e++)l[e]=s,n=o._computeAngle(e),s+=c[e]=n;for(e=0,i=u.length;e<i;++e)u[e]._options=o._resolveDataElementOptions(u[e],e),o.updateElement(u[e],e,t)},_updateRadius:function(){var t=this.chart,e=t.chartArea,i=t.options,e=Math.min(e.right-e.left,e.bottom-e.top);t.outerRadius=Math.max(e/2,0),t.innerRadius=Math.max(i.cutoutPercentage?t.outerRadius/100*i.cutoutPercentage:1,0),t.radiusLength=(t.outerRadius-t.innerRadius)/t.getVisibleDatasetCount(),this.outerRadius=t.outerRadius-t.radiusLength*this.index,this.innerRadius=this.outerRadius-t.radiusLength},updateElement:function(t,e,i){var n=this.chart,o=this.getDataset(),a=n.options,r=a.animation,s=n.scale,n=n.data.labels,l=s.xCenter,c=s.yCenter,a=a.startAngle,u=t.hidden?0:s.getDistanceFromCenterForValue(o.data[e]),d=this._starts[e],h=d+(t.hidden?0:this._angles[e]),o=r.animateScale?0:s.getDistanceFromCenterForValue(o.data[e]),p=t._options||{};W.extend(t,{_datasetIndex:this.index,_index:e,_scale:s,_model:{backgroundColor:p.backgroundColor,borderColor:p.borderColor,borderWidth:p.borderWidth,borderAlign:p.borderAlign,x:l,y:c,innerRadius:0,outerRadius:i?o:u,startAngle:i&&r.animateRotate?a:d,endAngle:i&&r.animateRotate?a:h,label:W.valueAtIndexOrDefault(n,e,n[e])}}),t.pivot()},countVisibleElements:function(){var i=this.getDataset(),t=this.getMeta(),n=0;return W.each(t.data,function(t,e){isNaN(i.data[e])||t.hidden||n++}),n},setHoverStyle:function(t){var e=t._model,i=t._options,n=W.getHoverColor,o=W.valueOrDefault;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=o(i.hoverBackgroundColor,n(i.backgroundColor)),e.borderColor=o(i.hoverBorderColor,n(i.borderColor)),e.borderWidth=o(i.hoverBorderWidth,i.borderWidth)},_computeAngle:function(t){var e=this.getMeta().count,i=this.getDataset(),n=this.getMeta();return isNaN(i.data[t])||n.data[t].hidden?0:(n={chart:this.chart,dataIndex:t,dataset:i,datasetIndex:this.index},Pt([this.chart.options.elements.arc.angle,2*Math.PI/e],n,t))}})),_=(T._set("pie",W.clone(T.doughnut)),T._set("pie",{cutoutPercentage:0}),e),zt=W.valueOrDefault,jt=(T._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}}),m.extend({datasetElementType:v.Line,dataElementType:v.Point,linkScales:W.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroun
1dColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,i,n=this.getMeta(),o=n.dataset,a=n.data||[],n=this.chart.scale,r=this._config;for(void 0!==r.tension&&void 0===r.lineTension&&(r.lineTension=r.tension),o._scale=n,o._datasetIndex=this.index,o._children=a,o._loop=!0,o._model=this._resolveDatasetElementOptions(o),o.pivot(),e=0,i=a.length;e<i;++e)this.updateElement(a[e],e,t);for(this.updateBezierControlPoints(),e=0,i=a.length;e<i;++e)a[e].pivot()},updateElement:function(t,e,i){var n=t.custom||{},o=this.getDataset(),a=this.chart.scale,o=a.getPointPositionForValue(e,o.data[e]),r=this._resolveDataElementOptions(t,e),s=this.getMeta().dataset._model,l=i?a.xCenter:o.x,i=i?a.yCenter:o.y;t._scale=a,t._options=r,t._datasetIndex=this.index,t._index=e,t._model={x:l,y:i,skip:n.skip||isNaN(l)||isNaN(i),radius:r.radius,pointStyle:r.pointStyle,rotation:r.rotation,backgroundColor:r.backgroundColor,borderColor:r.borderColor,borderWidth:r.borderWidth,tension:zt(n.tension,s?s.tension:0),hitRadius:r.hitRadius}},_resolveDatasetElementOptions:function(){var t=this._config,e=this.chart.options,i=m.prototype._resolveDatasetElementOptions.apply(this,arguments);return i.spanGaps=zt(t.spanGaps,e.spanGaps),i.tension=zt(t.lineTension,e.elements.line.tension),i},updateBezierControlPoints:function(){var t,e,i,n,o=this.getMeta(),a=this.chart.chartArea,r=o.data||[];function s(t,e,i){return Math.max(Math.min(t,i),e)}for(t=0,e=(r=o.dataset._model.spanGaps?r.filter(function(t){return!t._model.skip}):r).length;t<e;++t)i=r[t]._model,n=W.splineCurve(W.previousItem(r,t,!0)._model,i,W.nextItem(r,t,!0)._model,i.tension),i.controlPointPreviousX=s(n.previous.x,a.left,a.right),i.controlPointPreviousY=s(n.previous.y,a.top,a.bottom),i.controlPointNextX=s(n.next.x,a.left,a.right),i.controlPointNextY=s(n.next.y,a.top,a.bottom)},setHoverStyle:function(t){var e=t._model,i=t._options,n=W.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=zt(i.hoverBackgroundColor,n(i.backgroundColor)),e.borderColor=zt(i.hoverBorderColor,n(i.borderColor)),e.borderWidth=zt(i.hoverBorderWidth,i.borderWidth),e.radius=zt(i.hoverRadius,i.radius)}})),Ot=(T._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),T._set("global",{datasets:{scatter:{showLine:!1}}}),{bar:a,bubble:o,doughnut:e,horizontalBar:t,line:Dt,polarArea:Et,pie:_,radar:jt,scatter:Dt});function Nt(t,e){return t.native?{x:t.x,y:t.y}:W.getRelativePosition(t,e)}function Bt(t,e){for(var i,n,o,a,r=t._getSortedVisibleDatasetMetas(),s=0,l=r.length;s<l;++s)for(n=0,o=(i=r[s].data).length;n<o;++n)(a=i[n])._view.skip||e(a)}function Rt(t,e){var i=[];return Bt(t,function(t){t.inRange(e.x,e.y)&&i.push(t)}),i}function Ft(t,i,n,o){var a=Number.POSITIVE_INFINITY,r=[];return Bt(t,function(t){var e;n&&!t.inRange(i.x,i.y)||(e=t.getCenterPoint(),(e=o(i,e))<a?(r=[t],a=e):e===a&&r.push(t))}),r}function $t(t){var n=-1!==t.indexOf("x"),o=-1!==t.indexOf("y");return function(t,e){var i=n?Math.abs(t.x-e.x):0,t=o?Math.abs(t.y-e.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(t,2))}}function Wt(t,e,i){var e=Nt(e,t),n=(i.axis=i.axis||"x",$t(i.axis)),o=i.intersect?Rt(t,e):Ft(t,e,!1,n),a=[];return o.length?(t._getSortedVisibleDatasetMetas().forEach(function(t){t=t.data[o[0]._index];t&&!t._view.skip&&a.push(t)}),a):[]}var Ht={modes:{single:function(t,e){var i=Nt(e,t),n=[];return Bt(t,function(t){t.inRange(i.x,i.y)&&n.push(t)}),n.slice(0,1)}
1,label:Wt,index:Wt,dataset:function(t,e,i){var e=Nt(e,t),n=(i.axis=i.axis||"xy",$t(i.axis)),i=i.intersect?Rt(t,e):Ft(t,e,!1,n);return i=0<i.length?t.getDatasetMeta(i[0]._datasetIndex).data:i},"x-axis":function(t,e){return Wt(t,e,{intersect:!1})},point:function(t,e){return Rt(t,Nt(e,t))},nearest:function(t,e,i){var e=Nt(e,t),n=(i.axis=i.axis||"xy",$t(i.axis));return Ft(t,e,i.intersect,n)},x:function(t,e,i){var n=Nt(e,t),o=[],a=!1;return Bt(t,function(t){t.inXRange(n.x)&&o.push(t),t.inRange(n.x,n.y)&&(a=!0)}),o=i.intersect&&!a?[]:o},y:function(t,e,i){var n=Nt(e,t),o=[],a=!1;return Bt(t,function(t){t.inYRange(n.y)&&o.push(t),t.inRange(n.x,n.y)&&(a=!0)}),o=i.intersect&&!a?[]:o}}},Ut=W.extend;function qt(t,e){return W.where(t,function(t){return t.pos===e})}function Vt(t,n){return t.sort(function(t,e){var i=n?e:t,t=n?t:e;return i.weight===t.weight?i.index-t.index:i.weight-t.weight})}function Zt(t,e,i,n){return Math.max(t[i],e[i])+Math.max(t[n],e[n])}function Yt(t,e,i){for(var n,o,a,r,s=[],l=0,c=t.length;l<c;++l)(o=(n=t[l]).box).update(n.width||e.w,n.height||e.h,((t,e)=>{var i,n=e.maxPadding;return i={left:0,top:0,right:0,bottom:0},(t?["left","right"]:["top","bottom"]).forEach(function(t){i[t]=Math.max(e[t],n[t])}),i})(n.horizontal,e)),((t,e,i)=>{var n=i.box,o=t.maxPadding;return i.size&&(t[i.pos]-=i.size),i.size=i.horizontal?n.height:n.width,t[i.pos]+=i.size,n.getPadding&&(n=n.getPadding(),o.top=Math.max(o.top,n.top),o.left=Math.max(o.left,n.left),o.bottom=Math.max(o.bottom,n.bottom),o.right=Math.max(o.right,n.right)),n=e.outerWidth-Zt(o,t,"left","right"),e=e.outerHeight-Zt(o,t,"top","bottom"),!(n===t.w&&e===t.h||(t.w=n,t.h=e,(o=i.horizontal?[n,t.w]:[e,t.h])[0]===o[1])||isNaN(o[0])&&isNaN(o[1]))})(e,i,n)&&(r=!0,s.length)&&(a=!0),o.fullWidth||s.push(n);return a&&Yt(s,e,i)||r}function Gt(t,e,i){for(var n,o,a=i.padding,r=e.x,s=e.y,l=0,c=t.length;l<c;++l)o=(n=t[l]).box,n.horizontal?(o.left=(o.fullWidth?a:e).left,o.right=o.fullWidth?i.outerWidth-a.right:e.left+e.w,o.top=s,o.bottom=s+o.height,o.width=o.right-o.left,s=o.bottom):(o.left=r,o.right=r+o.width,o.top=e.top,o.bottom=e.top+e.h,o.height=o.bottom-o.top,r=o.right);e.x=r,e.y=s}T._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var b={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw:function(){e.draw.apply(e,arguments)}}]},t.boxes.push(e)},removeBox:function(t,e){e=t.boxes?t.boxes.indexOf(e):-1;-1!==e&&t.boxes.splice(e,1)},configure:function(t,e,i){for(var n,o=["fullWidth","position","weight"],a=o.length,r=0;r<a;++r)i.hasOwnProperty(n=o[r])&&(e[n]=i[n])},update:function(e,t,i){if(e){for(var n,o=e.options.layout||{},o=W.options.toPadding(o.padding),a=t-o.width,r=i-o.height,s=(s=(t=>{for(var e,i=[],n=0,o=(t||[]).length;n<o;++n)e=t[n],i.push({index:n,box:e,pos:e.position,horizontal:e.isHorizontal(),weight:e.weight});return i})(e.boxes),l=Vt(qt(s,"left"),!0),c=Vt(qt(s,"right")),u=Vt(qt(s,"top"),!0),_=Vt(qt(s,"bottom")),{leftAndTop:l.concat(u),rightAndBottom:c.concat(_),chartArea:qt(s,"chartArea"),vertical:l.concat(c),horizontal:u.concat(_)}),l=s.vertical,c=s.horizontal,u=Object.freeze({outerWidth:t,outerHeight:i,padding:o,availableWidth:a,vBoxMaxWidth:a/2/l.length,hBoxMaxHeight:r/2}),d=Ut({maxPadding:Ut({},o),w:a,h:r,x:o.left,y:o.top},o),h=l.concat(c),p=u,f=0,m=h.length;f<m;++f)(n=h[f]).width=n.horizontal?n.box.fullWidth&&p.availableWidth:p.vBoxMaxWidth,n.height=n.horizontal&&p.hBoxMaxHeight;Yt(l,d,u),Yt(c,d,u)&&Yt(l,d,u),y=(v=d).maxPadding,v.y+=g("top"),v.x+=g("left"),g("right"),g("bottom"),Gt(s.leftAndTop,d,u),d.x+=d.w,d.y+=d.h,Gt(s.rightAndBottom,d,u),e.chartArea={left:d.left,top:d.top,right:d.left+d.w,bottom:d.top+d.h},W.each(s.chartArea,function(t){t=t.box;Ut(t,e.chartArea),t.update(d.w,d.h)})}function g(t){var e=Math.max(y[t]-v[t],0);return v[t]+=e,e}var v,y,s,l,c,u,_}},Xt=(a=Object.freeze({__proto__:null,default:"@keyframes chartjs-render-animation{from{opacity:.99}to{opacity:1}}.chartjs-render-monitor{animation:chartjs-render-animation 1ms}.chartjs-size-monitor,.chartjs-size-monitor-expand,.chartjs-size-monitor-shrink{position:absolute;direction:ltr;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1}.chartjs-size-monitor-expand>div{position:absolute;width:1000000px;height:1000000px;left:0;top:0}.chartjs-size-monitor-shrink>div{position:absolute;width:200%;height:200%;left:0;top:0}"}))&&a.default||a,w="$chartjs",Kt="chartjs-size-monitor",Jt="chartjs-render-monitor",Qt=["animationstart","webkitAnimationStart"],te={touchstart:"mousedown",touchmove:"mou
1semove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function ee(t,e){t=W.getStyle(t,e),e=t&&t.match(/^(\d+)(\.\d+)?px$/);return e?Number(e[1]):void 0}var ie=!!(()=>{var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t})()&&{passive:!0};function ne(t,e,i){t.addEventListener(e,i,ie)}function oe(t,e,i){t.removeEventListener(e,i,ie)}function ae(t,e,i,n,o){return{type:t,chart:e,native:o||null,x:void 0!==i?i:null,y:void 0!==n?n:null}}function re(t){var e=document.createElement("div");return e.className=t||"",e}function se(i,n,o){var t,e,a,r,s,l,c,u=i[w]||(i[w]={}),d=u.resizer=(t=>{function e(){i._reset(),t()}var i=re(Kt),n=re(Kt+"-expand"),o=re(Kt+"-shrink");return n.appendChild(re()),o.appendChild(re()),i.appendChild(n),i.appendChild(o),i._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,o.scrollLeft=1e6,o.scrollTop=1e6},ne(n,"scroll",e.bind(n,"expand")),ne(o,"scroll",e.bind(o,"shrink")),i})((t=function(){var t,e;u.resizer&&(e=(t=o.options.maintainAspectRatio&&i.parentNode)?t.clientWidth:0,n(ae("resize",o)),t)&&t.clientWidth<e&&o.canvas&&n(ae("resize",o))},a=!1,function(){r=Array.prototype.slice.call(arguments),e=e||this,a||(a=!0,W.requestAnimFrame.call(window,function(){a=!1,t.apply(e,r)}))}));l=(s=i)[w]||(s[w]={}),c=l.renderProxy=function(t){"chartjs-render-animation"===t.animationName&&u.resizer&&((t=i.parentNode)&&t!==d.parentNode&&t.insertBefore(d,t.firstChild),d._reset())},W.each(Qt,function(t){ne(s,t,c)}),l.reflow=!!s.offsetParent,s.classList.add(Jt)}var o={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(t){var e,i;this.disableCSSInjection||(t=t.getRootNode?t.getRootNode():document,t=t.host?t:document.head,e=Xt,(i=t[w]||(t[w]={})).containsStyles)||(i.containsStyles=!0,e="/* Chart.js */\n"+e,(i=document.createElement("style")).setAttribute("type","text/css"),i.appendChild(document.createTextNode(e)),t.appendChild(i))},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]);var i,n,o,a,r=(t=t&&t.canvas?t.canvas:t)&&t.getContext&&t.getContext("2d");return r&&r.canvas===t?(this._ensureLoaded(t),e=e,n=(t=t).style,o=t.getAttribute("height"),a=t.getAttribute("width"),t[w]={initial:{height:o,width:a,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null!==a&&""!==a||void 0!==(i=ee(t,"width"))&&(t.width=i),null!==o&&""!==o||(""===t.style.height?t.height=t.width/(e.options.aspectRatio||2):(n=ee(t,"height"),void 0!==i&&(t.height=n))),r):null},releaseContext:function(t){var i,n=t.canvas;n[w]&&(i=n[w].initial,["height","width"].forEach(function(t){var e=i[t];W.isNullOrUndef(e)?n.removeAttribute(t):n.setAttribute(t,e)}),W.each(i.style||{},function(t,e){n.style[e]=t}),n.width=n.width,delete n[w])},addEventListener:function(o,t,a){var e,i=o.canvas;"resize"!==t?ne(i,t,((e=a[w]||(a[w]={})).proxies||(e.proxies={}))[o.id+"_"+t]=function(t){var e,i,n;a((e=o,i=te[(t=t).type]||t.type,n=W.getRelativePosition(t,e),ae(i,e,n.x,n.y,t)))}):se(i,a,o)},removeEventListener:function(t,e,i){var n,o,a=t.canvas;"resize"!==e?(i=((i[w]||{}).proxies||{})[t.id+"_"+e])&&oe(a,e,i):(e=(t=a)[w]||{},i=e.resizer,delete e.resizer,e=(n=t)[w]||{},(o=e.renderProxy)&&(W.each(Qt,function(t){oe(n,t,o)}),delete e.renderProxy),n.classList.remove(Jt),i&&i.parentNode&&i.parentNode.removeChild(i))}},e=(W.addEvent=ne,W.removeEvent=oe,o._enabled?o:{acquireContext:function(t){return(t=t&&t.canvas?t.canvas:t)&&t.getContext("2d")||null}}),le=W.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},e),k=(T._set("global",{plugins:{}}),{_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach(function(t){-1===e.indexOf(t)&&e.push(t)}),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach(function(t){t=e.indexOf(t);-1!==t&&e.splice(t,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins}
1,notify:function(t,e,i){for(var n,o,a,r,s=this.descriptors(t),l=s.length,c=0;c<l;++c)if("function"==typeof(r=(o=(n=s[c]).plugin)[e])&&((a=[t].concat(i||[])).push(n.options),!1===r.apply(o,a)))return!1;return!0},descriptors:function(t){var n,o,a,e=t.$plugins||(t.$plugins={});return e.id===this._cacheId?e.descriptors:(n=[],o=[],t=t&&t.config||{},a=t.options&&t.options.plugins||{},this._plugins.concat(t.plugins||[]).forEach(function(t){var e,i;-1===n.indexOf(t)&&(e=t.id,!1!==(i=a[e]))&&(!0===i&&(i=W.clone(T.global.plugins[e])),n.push(t),o.push({plugin:t,options:i||{}}))}),e.descriptors=o,e.id=this._cacheId,o)},_invalidate:function(t){delete t.$plugins}}),ce={constructors:{},defaults:{},registerScaleType:function(t,e,i){this.constructors[t]=e,this.defaults[t]=W.clone(i)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?W.merge(Object.create(null),[T.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){this.defaults.hasOwnProperty(t)&&(this.defaults[t]=W.extend(this.defaults[t],e))},addScalesToLayout:function(e){W.each(e.scales,function(t){t.fullWidth=t.options.fullWidth,t.position=t.options.position,t.weight=t.options.weight,b.addBox(e,t)})}},S=W.valueOrDefault,ue=W.rtl.getRtlAdapter,de=(T._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:W.noop,title:function(t,e){var i="",e=e.labels,n=e?e.length:0;return 0<t.length&&((t=t[0]).label?i=t.label:t.xLabel?i=t.xLabel:0<n&&t.index<n&&(i=e[t.index])),i},afterTitle:W.noop,beforeBody:W.noop,beforeLabel:W.noop,label:function(t,e){e=e.datasets[t.datasetIndex].label||"";return e&&(e+=": "),W.isNullOrUndef(t.value)?e+=t.yLabel:e+=t.value,e},labelColor:function(t,e){e=e.getDatasetMeta(t.datasetIndex).data[t.index]._view;return{borderColor:e.borderColor,backgroundColor:e.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:W.noop,afterBody:W.noop,beforeFooter:W.noop,footer:W.noop,afterFooter:W.noop}}}),{average:function(t){if(!t.length)return!1;for(var e=0,i=0,n=0,o=0,a=t.length;o<a;++o){var r=t[o];r&&r.hasValue()&&(e+=(r=r.tooltipPosition()).x,i+=r.y,++n)}return{x:e/n,y:i/n}},nearest:function(t,e){for(var i,n,o=e.x,a=e.y,r=Number.POSITIVE_INFINITY,s=0,l=t.length;s<l;++s){var c,u=t[s];u&&u.hasValue()&&(c=u.getCenterPoint(),(c=W.distanceBetweenPoints(e,c))<r)&&(r=c,i=u)}return i&&(o=(n=i.tooltipPosition()).x,a=n.y),{x:o,y:a}}});function M(t,e){return e&&(W.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function L(t){return("string"==typeof t||t instanceof String)&&-1<t.indexOf("\n")?t.split("\n"):t}function he(t){var e=T.global;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,rtl:t.rtl,textDirection:t.textDirection,bodyFontColor:t.bodyFontColor,_bodyFontFamily:S(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:S(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:S(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:S(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:S(t.titleFontStyle,e.defaultFontStyle),titleFontSize:S(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:S(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:S(t.footerFontStyle,e.defaultFontStyle),footerFontSize:S(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackgroun
1d:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function pe(t,e){return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-t.xPadding:t.x+t.xPadding}function fe(t){return M([],L(t))}var me=f.extend({initialize:function(){this._model=he(this._options),this._lastActive=[]},getTitle:function(){var t=this._options.callbacks,e=t.beforeTitle.apply(this,arguments),i=t.title.apply(this,arguments),t=t.afterTitle.apply(this,arguments),n=M(n=[],L(e));return n=M(n,L(i)),M(n,L(t))},getBeforeBody:function(){return fe(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,i){var n=this,o=n._options.callbacks,a=[];return W.each(t,function(t){var e={before:[],lines:[],after:[]};M(e.before,L(o.beforeLabel.call(n,t,i))),M(e.lines,o.label.call(n,t,i)),M(e.after,L(o.afterLabel.call(n,t,i))),a.push(e)}),a},getAfterBody:function(){return fe(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this._options.callbacks,e=t.beforeFooter.apply(this,arguments),i=t.footer.apply(this,arguments),t=t.afterFooter.apply(this,arguments),n=M(n=[],L(e));return n=M(n,L(i)),M(n,L(t))},update:function(O){var t,e,i,n,o,a,r,s,l,c,u,d,N,h,p,f,m,g,v,y,_,b,w,k,x,C,S=this,M=S._options,L=S._model,A=S._model=he(M),T=S._active,I=S._data,D={xAlign:L.xAlign,yAlign:L.yAlign},P={x:L.x,y:L.y},E={width:L.width,height:L.height},L={x:L.caretX,y:L.caretY};if(T.length){A.opacity=1;for(var B=[],R=[],L=de[M.position].call(S,T,S._eventPosition),z=[],F=0,$=T.length;F<$;++F)z.push((s=r=a=i=e=void 0,e=(t=T[F])._xScale,i=t._yScale||t._scale,n=t._index,r=(a=t._chart.getDatasetMeta(o=t._datasetIndex).controller)._getIndexScale(),s=a._getValueScale(),{xLabel:e?e.getLabelForIndex(n,o):"",yLabel:i?i.getLabelForIndex(n,o):"",label:r?""+r.getLabelForIndex(n,o):"",value:s?""+s.getLabelForIndex(n,o):"",index:n,datasetIndex:o,x:t._model.x,y:t._model.y}));M.filter&&(z=z.filter(function(t){return M.filter(t,I)})),M.itemSort&&(z=z.sort(function(t,e){return M.itemSort(t,e,I)})),W.each(z,function(t){B.push(M.callbacks.labelColor.call(S,t,S._chart)),R.push(M.callbacks.labelTextColor.call(S,t,S._chart))}),A.title=S.getTitle(z,I),A.beforeBody=S.getBeforeBody(z,I),A.body=S.getBody(z,I),A.afterBody=S.getAfterBody(z,I),A.footer=S.getFooter(z,I),A.x=L.x,A.y=L.y,A.caretPadding=M.caretPadding,A.labelColors=B,A.labelTextColors=R,A.dataPoints=z,f=A,m=(p=this)._chart.ctx,p=2*f.yPadding,g=0,y=(v=f.body).reduce(function(t,e){return t+e.before.length+e.lines.length+e.after.length},0),y+=f.beforeBody.length+f.afterBody.length,_=f.title.length,b=f.footer.length,k=f.bodyFontSize,x=f.footerFontSize,p=(p=(p=(p=(p=p+_*(w=f.titleFontSize)+(_?(_-1)*f.titleSpacing:0))+(_?f.titleMarginBottom:0))+y*k+(y?(y-1)*f.bodySpacing:0))+(b?f.footerMarginTop:0))+b*x+(b?(b-1)*f.footerSpacing:0),C=0,m.font=W.fontString(w,f._titleFontStyle,f._titleFontFamily),W.each(f.title,j),m.font=W.fontString(k,f._bodyFontStyle,f._bodyFontFamily),W.each(f.beforeBody.concat(f.afterBody),j),C=f.displayColors?k+2:0,W.each(v,function(t){W.each(t.before,j),W.each(t.lines,j),W.each(t.after,j)}),C=0,m.font=W.fontString(x,f._footerFontStyle,f._footerFontFamily),W.each(f.footer,j),E={width:g+=2*f.xPadding,height:p},_=A,l=y=E,c=(b=this)._model,w=(u=b._chart).chartArea,v=k="center",c.y<l.height?v="top":c.y>u.height-l.height&&(v="bottom"),d=(w.left+w.right)/2,N=(w.top+w.bottom)/2,w="center"===v?(h=function(t){return t<=d},function(t){return d<t}):(h=function(t){return t<=l.width/2},function(t){return t>=u.width-l.width/2}),x=function(t){return t+l.width+c.caretSize+c.caretPadding>u.width},f=function(t){return t-l.width-c.caretSize-c.caretPadding<0},p=function(t){return t<=N?"top":"bottom"},h(c.x)?(k="left",x(c.x)&&(k="center",v=p(c.y))):w(c.x)&&(k="right",f(c.x))&&(k="center",v=p(c.y)),h=b._options,x=D={xAlign:h.xAlign||k,yAlign:h.yAlign||v},w=S._chart,f=_.x,p=_.y,b=_.caretPadding,k=x.xAlign,x=x.yAlign,h=_.caretSize+b,_=_.cornerRadius+b,"right"===k?f-=y.width:"center"===k&&(f=(f-=y.width/2)+y.width>w.width?w.width-y.width:f)<0&&(f=0),"top"===x?p+=h:p-="bottom"===x?y.height+h:y.height/2,"center"===x?"left"===k?f+=h:"right"===k&&(f-=h):"left"===k?f-=_:"right"===k&&(f+=_),P={x:f,y:p}}else A.opacity=0;function j(t){g=Math.max(g,m.measureText(t).width+C)}return A.xAlign=D.xAlign,A.yAlign=D.yAlign,A.x=P.x,A.y=P.y,A.width=E.width,A.height=E.height,A.caretX=L.x,A.caretY=L.y,S._model=A,O&&M.custom&&M.custom.call(S,A),S},drawCaret:function(t,e){var i=this._chart.ctx,n=this._view,t=this.getCaretPosition(t,e,n);i.lineTo(t.x1,t.y1),i.lineTo(t.x2,t.y2),i.lineTo(t.x3,t.y3)}
1,getCaretPosition:function(t,e,i){var n,o,a,r,s,l,c=i.caretSize,u=i.cornerRadius,d=i.xAlign,h=i.yAlign,p=t.x,t=t.y,f=e.width,e=e.height;return"center"===h?(a=t+e/2,r="left"===d?(n=(l=p)-c,s=l,o=a+c,a-c):(n=(l=p+f)+c,s=l,o=a-c,a+c)):(s=(l="left"===d?(n=p+u+c)-c:"right"===d?(n=p+f-u-c)-c:(n=i.caretX)-c,n+c),"top"===h?(a=(o=t)-c,r=o):(a=(o=t+e)+c,r=o,d=s,s=l,l=d)),{x1:l,x2:n,x3:s,y1:o,y2:a,y3:r}},drawTitle:function(t,e,i){var n,o,a,r=e.title,s=r.length;if(s){var l=ue(e.rtl,e.x,e.width);for(t.x=pe(e,e._titleAlign),i.textAlign=l.textAlign(e._titleAlign),i.textBaseline="middle",n=e.titleFontSize,o=e.titleSpacing,i.fillStyle=e.titleFontColor,i.font=W.fontString(n,e._titleFontStyle,e._titleFontFamily),a=0;a<s;++a)i.fillText(r[a],l.x(t.x),t.y+n/2),t.y+=n+o,a+1===s&&(t.y+=e.titleMarginBottom-o)}},drawBody:function(e,t,i){function n(t){i.fillText(t,b.x(e.x+y),e.y+p/2),e.y+=p+f}var o,a,r,s,l,c,u,d,h,p=t.bodyFontSize,f=t.bodySpacing,m=t._bodyAlign,g=t.body,v=t.displayColors,y=0,_=v?pe(t,"left"):0,b=ue(t.rtl,t.x,t.width),w=b.textAlign(m);for(i.textAlign=m,i.textBaseline="middle",i.font=W.fontString(p,t._bodyFontStyle,t._bodyFontFamily),e.x=pe(t,w),i.fillStyle=t.bodyFontColor,W.each(t.beforeBody,n),y=v&&"right"!==w?"center"===m?p/2+1:p+2:0,l=0,u=g.length;l<u;++l){for(o=g[l],a=t.labelTextColors[l],r=t.labelColors[l],i.fillStyle=a,W.each(o.before,n),c=0,d=(s=o.lines).length;c<d;++c)v&&(h=b.x(_),i.fillStyle=t.legendColorBackground,i.fillRect(b.leftForLtr(h,p),e.y,p,p),i.lineWidth=1,i.strokeStyle=r.borderColor,i.strokeRect(b.leftForLtr(h,p),e.y,p,p),i.fillStyle=r.backgroundColor,i.fillRect(b.leftForLtr(b.xPlus(h,1),p-2),e.y+1,p-2,p-2),i.fillStyle=a),n(s[c]);W.each(o.after,n)}y=0,W.each(t.afterBody,n),e.y-=f},drawFooter:function(t,e,i){var n,o,a=e.footer,r=a.length;if(r){var s=ue(e.rtl,e.x,e.width);for(t.x=pe(e,e._footerAlign),t.y+=e.footerMarginTop,i.textAlign=s.textAlign(e._footerAlign),i.textBaseline="middle",n=e.footerFontSize,i.fillStyle=e.footerFontColor,i.font=W.fontString(n,e._footerFontStyle,e._footerFontFamily),o=0;o<r;++o)i.fillText(a[o],s.x(t.x),t.y+n/2),t.y+=n+e.footerSpacing}},drawBackground:function(t,e,i,n){i.fillStyle=e.backgroundColor,i.strokeStyle=e.borderColor,i.lineWidth=e.borderWidth;var o=e.xAlign,a=e.yAlign,r=t.x,s=t.y,l=n.width,c=n.height,u=e.cornerRadius;i.beginPath(),i.moveTo(r+u,s),"top"===a&&this.drawCaret(t,n),i.lineTo(r+l-u,s),i.quadraticCurveTo(r+l,s,r+l,s+u),"center"===a&&"right"===o&&this.drawCaret(t,n),i.lineTo(r+l,s+c-u),i.quadraticCurveTo(r+l,s+c,r+l-u,s+c),"bottom"===a&&this.drawCaret(t,n),i.lineTo(r+u,s+c),i.quadraticCurveTo(r,s+c,r,s+c-u),"center"===a&&"left"===o&&this.drawCaret(t,n),i.lineTo(r,s+u),i.quadraticCurveTo(r,s,r+u,s),i.closePath(),i.fill(),0<e.borderWidth&&i.stroke()},draw:function(){var t,e,i,n,o=this._chart.ctx,a=this._view;0!==a.opacity&&(t={width:a.width,height:a.height},e={x:a.x,y:a.y},i=Math.abs(a.opacity<.001)?0:a.opacity,n=a.title.length||a.beforeBody.length||a.body.length||a.afterBody.length||a.footer.length,this._options.enabled)&&n&&(o.save(),o.globalAlpha=i,this.drawBackground(e,a,o,t),e.y+=a.yPadding,W.rtl.overrideTextDirection(o,a.textDirection),this.drawTitle(e,a,o),this.drawBody(e,a,o),this.drawFooter(e,a,o),W.rtl.restoreTextDirection(o,a.textDirection),o.restore())},handleEvent:function(t){var e,i=this,n=i._options;return i._lastActive=i._lastActive||[],"mouseout"===t.type?i._active=[]:(i._active=i._chart.getElementsAtEventForMode(t,n.mode,n),n.reverse&&i._active.reverse()),(e=!W.arrayEquals(i._active,i._lastActive))&&(i._lastActive=i._active,n.enabled||n.custom)&&(i._eventPosition={x:t.x,y:t.y},i.update(!0),i.pivot()),e}}),ge=(me.positioners=de,W.valueOrDefault);function ve(){return W.merge(Object.create(null),[].slice.call(arguments),{merger:function(t,e,i,n){if("xAxes"===t||"yAxes"===t){var o,a,r,s=i[t].length;for(e[t]||(e[t]=[]),o=0;o<s;++o)r=i[t][o],a=ge(r.type,"xAxes"===t?"category":"linear"),o>=e[t].length&&e[t].push({}),!e[t][o].type||r.type&&r.type!==e[t][o].type?W.merge(e[t][o],[ce.getScaleDefaults(a),r]):W.merge(e[t][o],r)}else W._merger(t,e,i,n)}})}function ye(){return W.merge(Object.create(null),[].slice.call(arguments),{merger:function(t,e,
1i,n){var o=e[t]||Object.create(null),a=i[t];"scales"===t?e[t]=ve(o,a):"scale"===t?e[t]=W.merge(o,[ce.getScaleDefaults(a.type),a]):W._merger(t,e,i,n)}})}function _e(t,e,i){for(var n,o=function(t){return t.id===n};n=e+i++,0<=W.findIndex(t,o););return n}function be(t){return"top"===t||"bottom"===t}function we(i,n){return function(t,e){return t[i]===e[i]?t[n]-e[n]:t[i]-e[i]}}T._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});function ke(t,e){return this.construct(t,e),this}W.extend(ke.prototype,{construct:function(t,e){var i=this,n=((n=(o=(o=e)||Object.create(null)).data=o.data||{}).datasets=n.datasets||[],n.labels=n.labels||[],o.options=ye(T.global,T[o.type],o.options||{}),e=o,le.acquireContext(t,e)),o=n&&n.canvas,t=o&&o.height,a=o&&o.width;i.id=W.uid(),i.ctx=n,i.canvas=o,i.config=e,i.width=a,i.height=t,i.aspectRatio=t?a/t:null,i.options=e.options,i._bufferedRender=!1,i._layers=[],(i.chart=i).controller=i,ke.instances[i.id]=i,Object.defineProperty(i,"data",{get:function(){return i.config.data},set:function(t){i.config.data=t}}),n&&o?(i.initialize(),i.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){return k.notify(this,"beforeInit"),W.retinaScale(this,this.options.devicePixelRatio),this.bindEvents(),this.options.responsive&&this.resize(!0),this.initToolTip(),k.notify(this,"afterInit"),this},clear:function(){return W.canvas.clear(this),this},stop:function(){return lt.cancelAnimation(this),this},resize:function(t){var e=this,i=e.options,n=e.canvas,o=i.maintainAspectRatio&&e.aspectRatio||null,a=Math.max(0,Math.floor(W.getMaximumWidth(n))),o=Math.max(0,Math.floor(o?a/o:W.getMaximumHeight(n)));e.width===a&&e.height===o||(n.width=e.width=a,n.height=e.height=o,n.style.width=a+"px",n.style.height=o+"px",W.retinaScale(e,i.devicePixelRatio),t)||(k.notify(e,"resize",[n={width:a,height:o}]),i.onResize&&i.onResize(e,n),e.stop(),e.update({duration:i.responsiveAnimationDuration}))},ensureScalesHaveIDs:function(){var t=this.options,i=t.scales||{},t=t.scale;W.each(i.xAxes,function(t,e){t.id||(t.id=_e(i.xAxes,"x-axis-",e))}),W.each(i.yAxes,function(t,e){t.id||(t.id=_e(i.yAxes,"y-axis-",e))}),t&&(t.id=t.id||"scale")},buildOrUpdateScales:function(){var r=this,t=r.options,s=r.scales||{},e=[],l=Object.keys(s).reduce(function(t,e){return t[e]=!1,t},{});t.scales&&(e=e.concat((t.scales.xAxes||[]).map(function(t){return{options:t,dtype:"category",dposition:"bottom"}}),(t.scales.yAxes||[]).map(function(t){return{options:t,dtype:"linear",dposition:"left"}}))),t.scale&&e.push({options:t.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),W.each(e,function(t){var e=t.options,i=e.id,n=ge(e.type,t.dtype),o=(be(e.position)!==be(t.dposition)&&(e.position=t.dposition),l[i]=!0,null);if(i in s&&s[i].type===n)(o=s[i]).options=e,o.ctx=r.ctx,o.chart=r;else{var a=ce.getScaleConstructor(n);if(!a)return;o=new a({id:i,type:n,options:e,ctx:r.ctx,chart:r}),s[o.id]=o}o.mergeTicksOptions(),t.isDefault&&(r.scale=o)}),W.each(l,function(t,e){t||delete s[e]}),r.scales=s,ce.addScalesToLayout(this)},buildOrUpdateControllers:function(){for(var t=[],e=this.data.datasets,i=0,n=e.length;i<n;i++){var o=e[i],a=this.getDatasetMeta(i),r=o.type||this.config.type;if(a.type&&a.type!==r&&(this.destroyDatasetMeta(i),a=this.getDatasetMeta(i)),a.type=r,a.order=o.order||0,a.index=i,a.controller)a.controller.updateIndex(i),a.controller.linkScales();else{r=Ot[a.type];if(void 0===r)throw new Error('"'+a.type+'" is not a chart type.');a.controller=new r(this,i),t.push(a.controller)}}return t},resetElements:function(){var i=this;W.each(i.data.datasets,function(t,e){i.getDatasetMeta(e).controller.reset()},i)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var e,i=this;if(t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),n=(e=i).options,W.each(e.scales,function(t){b.removeBox(e,t)}),n=ye(T.global,T[e.config.type],n),e.options=e.config.options=n,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=n.tooltips,e.tooltip.initialize(),k._invalidate(i),!1!==k.notify(i,"beforeUpdate")){i.tooltip._data=i.data;for(var n=i.buildOrUpdateControllers(),o=0,a=i.data.datasets.length;o<a;o++)i.getDatasetMeta(o).controller.buildOrUpdateElements();i.updateLayout(),i.options.animation&&i.options.animation.duration&&W.each(n,function(t){t.reset()}),i.updateDatasets(),i.tooltip.initialize(),i.lastActive=[],k.notify(i,"afterUpdate"),i._layers.sort(we("z","_idx")),i._bufferedRender?i._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:i.render(t)}},updateLayout:function(){var e=this;!1!==k.notify(e,"beforeLayout")&&(b.update(this,this.width,this.height),e._layers=[],W.each(e.boxes,function(t){t._configure&&t._configure(),e._layers.push.apply(e._layers,t._layers())}
1,e),e._layers.forEach(function(t,e){t._idx=e}),k.notify(e,"afterScaleUpdate"),k.notify(e,"afterLayout"))},updateDatasets:function(){if(!1!==k.notify(this,"beforeDatasetsUpdate")){for(var t=0,e=this.data.datasets.length;t<e;++t)this.updateDataset(t);k.notify(this,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this.getDatasetMeta(t),t={meta:e,index:t};!1!==k.notify(this,"beforeDatasetUpdate",[t])&&(e.controller._update(),k.notify(this,"afterDatasetUpdate",[t]))},render:function(t){var e,i=this,n=i.options.animation,o=ge((t=t&&"object"==typeof t?t:{duration:t,lazy:arguments[1]}).duration,n&&n.duration),a=t.lazy;if(!1!==k.notify(i,"beforeRender"))return e=function(t){k.notify(i,"afterRender"),W.callback(n&&n.onComplete,[t],i)},n&&o?(t=new st({numSteps:o/16.66,easing:t.easing||n.easing,render:function(t,e){var i=W.easing.effects[e.easing],n=e.currentStep,e=n/e.numSteps;t.draw(i(e),e,n)},onAnimationProgress:n.onProgress,onAnimationComplete:e}),lt.addAnimation(i,t,o,a)):(i.draw(),e(new st({numSteps:0,chart:i}
1))),i},draw:function(t){var e,i,n=this;if(n.clear(),W.isNullOrUndef(t)&&(t=1),n.transition(t),!(n.width<=0||n.height<=0)&&!1!==k.notify(n,"beforeDraw",[t])){for(i=n._layers,e=0;e<i.length&&i[e].z<=0;++e)i[e].draw(n.chartArea);for(n.drawDatasets(t);e<i.length;++e)i[e].draw(n.chartArea);n._drawTooltip(t),k.notify(n,"afterDraw",[t])}},transition:function(t){for(var e=0,i=(this.data.datasets||[]).length;e<i;++e)this.isDatasetVisible(e)&&this.getDatasetMeta(e).controller.transition(t);this.tooltip.transition(t)},_getSortedDatasetMetas:function(t){for(var e=[],i=0,n=(this.data.datasets||[]).length;i<n;++i)t&&!this.isDatasetVisible(i)||e.push(this.getDatasetMeta(i));return e.sort(we("order","index")),e},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(t){var e,i;if(!1!==k.notify(this,"beforeDatasetsDraw",[t])){for(i=(e=this._getSortedVisibleDatasetMetas()).length-1;0<=i;--i)this.drawDataset(e[i],t);k.notify(this,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var i={meta:t,index:t.index,easingValue:e};!1!==k.notify(this,"beforeDatasetDraw",[i])&&(t.controller.draw(e),k.notify(this,"afterDatasetDraw",[i]))},_drawTooltip:function(t){var e=this.tooltip,t={tooltip:e,easingValue:t};!1!==k.notify(this,"beforeTooltipDraw",[t])&&(e.draw(),k.notify(this,"afterTooltipDraw",[t]))},getElementAtEvent:function(t){return Ht.modes.single(this,t)},getElementsAtEvent:function(t){return Ht.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return Ht.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,i){e=Ht.modes[e];return"function"==typeof e?e(this,t,i):[]},getDatasetAtEvent:function(t){return Ht.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this.data.datasets[t];return e._meta||(e._meta={}),e._meta[this.id]||(e._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e.order||0,index:t})},getVisibleDatasetCount:function(){for(var t=0,e=0,i=this.data.datasets.length;e<i;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var e=this.getDatasetMeta(t);return"boolean"==typeof e.hidden?!e.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var e=this.id,t=this.data.datasets[t],i=t._meta&&t._meta[e];i&&(i.controller.destroy(),delete t._meta[e])},destroy:function(){var t,e,i=this,n=i.canvas;for(i.stop(),t=0,e=i.data.datasets.length;t<e;++t)i.destroyDatasetMeta(t);n&&(i.unbindEvents(),W.canvas.clear(i),le.releaseContext(i.ctx),i.canvas=null,i.ctx=null),k.notify(i,"destroy"),delete ke.instances[i.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){this.tooltip=new me({_chart:this,_chartInstance:this,_data:this.data,_options:this.options.tooltips},this)},bindEvents:function(){var e=this,i=e._listeners={},n=function(){e.eventHandler.apply(e,arguments)};W.each(e.options.events,function(t){le.addEventListener(e,t,n),i[t]=n}),e.options.responsive&&(n=function(){e.resize()},le.addEventListener(e,"resize",n),i.resize=n)},unbindEvents:function(){var i=this,t=i._listeners;t&&(delete i._listeners,W.each(t,function(t,e){le.removeEventListener(i,e,t)}))},updateHoverStyle:function(t,e,i){for(var n,o=i?"set":"remove",a=0,r=t.length;a<r;++a)(n=t[a])&&this.getDatasetMeta(n._datasetIndex).controller[o+"HoverStyle"](n);"dataset"===e&&this.getDatasetMeta(t[0]._datasetIndex).controller["_"+o+"DatasetHoverStyle"]()},eventHandler:function(t){var e,i=this,n=i.tooltip;if(!1!==k.notify(i,"beforeEvent",[t]))return i._bufferedRender=!0,i._bufferedRequest=null,e=i.handleEvent(t),n&&(e=n._start?n.handleEvent(t):e|n.handleEvent(t)),k.notify(i,"afterEvent",[t]),(n=i._bufferedRequest)?i.render(n):e&&!i.animating&&(i.stop(),i.render({duration:i.options.hover.animationDuration,lazy:!0})),i._bufferedRender=!1,i._bufferedRequest=null,i},handleEvent:function(t){var e=this,i=e.options||{},n=i.hover;return e.lastActive=e.lastActive||[],"mouseout"===t.type?e.active=[]:e.active=e.getElementsAtEventForMode(t,n.mode,n),W.callback(i.onHover||i.hover.onHover,[t.native,e.active],e),"mouseup"!==t.type&&"click"!==t.type||i.onClick&&i.onClick.call(e,t.native,e.active),e.lastActive.length&&e.updateHoverStyle(e.lastActive,n.mode,!1),e.active.length&&n.mode&&e.updateHoverStyle(e.active,n.mode,!0),i=!W.arrayEquals(e.active,e.lastActive),e.lastActive=e.active,i}}),ke.instances={};var A=ke;function xe(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function Ce(t){this.options=t||{}}(ke.Controller=ke).types={},W.configMerge=ye,W.scaleMerge=ve,W.extend(Ce.prototype,{formats:xe,parse:xe,format:xe,add:xe,diff:xe,startOf:xe,endOf:xe,_create:function(t){return t}}
1),Ce.override=function(t){W.extend(Ce.prototype,t)};var Se={_date:Ce},t={formatters:{values:function(t){return W.isArray(t)?t:""+t},linear:function(t,e,i){var n=3<i.length?i[2]-i[1]:i[1]-i[0],n=(1<Math.abs(n)&&t!==Math.floor(t)&&(n=t-Math.floor(t)),W.log10(Math.abs(n)));return 0!==t?Math.max(Math.abs(i[0]),Math.abs(i[i.length-1]))<1e-4?(i=W.log10(Math.abs(t)),i=Math.floor(i)-Math.floor(n),i=Math.max(Math.min(i,20),0),t.toExponential(i)):(i=-1*Math.floor(n),i=Math.max(Math.min(i,20),0),t.toFixed(i)):"0"},logarithmic:function(t,e,i){var n=t/Math.pow(10,Math.floor(W.log10(t)));return 0===t?"0":1==n||2==n||5==n||0===e||e===i.length-1?t.toExponential():""}}},Me=W.isArray,Le=W.isNullOrUndef,Ae=W.valueOrDefault,Te=W.valueAtIndexOrDefault;function Ie(t){return t.drawTicks?t.tickMarkLength:0}function De(t){var e;return t.display?(e=W.options._parseFont(t),t=W.options.toPadding(t.padding),e.lineHeight+t.height):0}function Pe(t,e){return W.extend(W.options._parseFont({fontFamily:Ae(e.fontFamily,t.fontFamily),fontSize:Ae(e.fontSize,t.fontSize),fontStyle:Ae(e.fontStyle,t.fontStyle),lineHeight:Ae(e.lineHeight,t.lineHeight)}),{color:W.options.resolve([e.fontColor,t.fontColor,T.global.defaultFontColor])})}function Ee(t){var e=Pe(t,t.minor);return{minor:e,major:t.major.enabled?Pe(t,t.major):e}}function ze(t){for(var e,i=[],n=0,o=t.length;n<o;++n)void 0!==(e=t[n])._index&&i.push(e);return i}function je(t,e,i,n){var o,a,r,s=Ae(i,0),l=Math.min(Ae(n,t.length),t.length),c=0;for(e=Math.ceil(e),n&&(e=(n=n-i)/Math.floor(n/e)),r=s;r<0;)c++,r=Math.round(s+c*e);for(o=Math.max(s,0);o<l;o++)a=t[o],o===r?(a._index=o,c++,r=Math.round(s+c*e)):delete a.label}T._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:t.formatters.values,minor:{},major:{}}});var Et=f.extend({zeroLineIndex:0,getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){W.callback(this.options.beforeUpdate,[this])},update:function(t,e,i){var n,o,a,r=this,s=r.options.ticks,l=s.sampleSize;if(r.beforeUpdate(),r.maxWidth=t,r.maxHeight=e,r.margins=W.extend({left:0,right:0,top:0,bottom:0},i),r._ticks=null,r.ticks=null,r._labelSizes=null,r._maxLabelLines=0,r.longestLabelWidth=0,r.longestTextCache=r.longestTextCache||{},r._gridLineItems=null,r._labelItems=null,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeDataLimits(),r.determineDataLimits(),r.afterDataLimits(),r.beforeBuildTicks(),a=r.buildTicks()||[],(!(a=r.afterBuildTicks(a)||a)||!a.length)&&r.ticks)for(a=[],n=0,o=r.ticks.length;n<o;++n)a.push({value:r.ticks[n],major:!1});return r._ticks=a,t=l<a.length,e=r._convertTicksToLabels(t?(t=>{for(var e=[],i=t.length/l,n=0,o=t.length;n<o;n+=i)e.push(t[Math.floor(n)]);return e})(a):a),r._configure(),r.beforeCalculateTickRotation(),r.calculateTickRotation(),r.afterCalculateTickRotation(),r.beforeFit(),r.fit(),r.afterFit(),r._ticksToDraw=s.display&&(s.autoSkip||"auto"===s.source)?r._autoSkip(a):a,t&&(e=r._convertTicksToLabels(r._ticksToDraw)),r.ticks=e,r.afterUpdate(),r.minSize},_configure:function(){var t,e,i=this,n=i.options.ticks.reverse;i.isHorizontal()?(t=i.left,e=i.right):(t=i.top,e=i.bottom,n=!n),i._startPixel=t,i._endPixel=e,i._reversePixels=n,i._length=e-t},afterUpdate:function(){W.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){W.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0},afterSetDimensions:function(){W.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){W.callback(this.options.beforeDataLimits,[this])},determineDataLimits:W.noop,afterDataLimits:function(){W.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){W.callback(this.options.beforeBuildTicks,[this])},buildTicks:W.noop,afterBuildTicks:function(t){return Me(t)&&t.length?W.callback(this.options.afterBuildTicks,[this,t]):(this.ticks=W.callback(this.options.afterBuildTicks,[this,this.ticks])||this.ticks,t)},beforeTickToLabelConversion:function(){W.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this.options.ticks;this.ticks=this.ticks.map(t.userCallback||t.callback,this)},afterTickToLabelConversion:function(){W.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){W.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t,e,i,n,o=this,a=o.options,r=a.ticks,s=o.getTicks().length,l=r.minRotation||0,c=r.maxRotation,u=l;!o._isVisible()||!r.display||c<=l||s<=1||!o.isHorizontal()?o.labelRotation=l:(e=(t=o._getLabelSizes()).widest.width,i=t.highest.height-t.highest.offset,n=Math.min(o.maxWidth,o.chart.width-e),e+6>(a.offset?o.maxWidth/s:n/(s-1))&&(n=n/(s-(a.offset?.5:1)),s=o.maxHeight-Ie(a.gridLines)-r.padding-De(a.scaleLabel),r=Math.sqrt(e*e+i*i),u=W.toDegrees(Math.min(Math.asin(Math.min((t.highest.height+6)/n,1)),Math.asin(Math.min(s/r,1))-Math.asin(i/r))),u=Math.max(l,Math.min(c,u))),o.labelRotation=u)},afterCalculateTickRotation:function(){W.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){W.callback(this.options.beforeFit,[this])},fit:function(){var t,e,i,n,o,a,r,s,l=this,c=l.minSize={width:0,height:0},u=l.chart,d=l.options,h=d.ticks,p=d.scaleLabel,f=d.gridLines,m=l._isVisible(),d="bottom"===d.position,g=l.isHorizontal();g?c.width=l.maxWidth:m&&(c.width=Ie(f)+De(p)),g?m&&(c.height=Ie(f)+De(p)):c.height=l.maxHeight,h.display&&m&&(f=Ee(h),m=(p=l._getLabelSizes()).first,t=p.last,e=p.widest,p=p.highe
1st,f=.4*f.minor.lineHeight,i=h.padding,g?(s=0!==l.labelRotation,o=W.toRadians(l.labelRotation),n=Math.cos(o),p=(o=Math.sin(o))*e.width+n*(p.height-(s?p.offset:0))+(s?0:f),c.height=Math.min(l.maxHeight,c.height+p+i),p=l.getPixelForTick(0)-l.left,r=l.right-l.getPixelForTick(l.getTicks().length-1),s=s?(a=d?n*m.width+o*m.offset:o*(m.height-m.offset),d?o*(t.height-t.offset):n*t.width+o*t.offset):(a=m.width/2,t.width/2),l.paddingLeft=Math.max((a-p)*l.width/(l.width-p),0)+3,l.paddingRight=Math.max((s-r)*l.width/(l.width-r),0)+3):(d=h.mirror?0:e.width+i+f,c.width=Math.min(l.maxWidth,c.width+d),l.paddingTop=m.height/2,l.paddingBottom=t.height/2)),l.handleMargins(),g?(l.width=l._length=u.width-l.margins.left-l.margins.right,l.height=c.height):(l.width=c.width,l.height=l._length=u.height-l.margins.top-l.margins.bottom)},handleMargins:function(){var t=this;t.margins&&(t.margins.left=Math.max(t.paddingLeft,t.margins.left),t.margins.top=Math.max(t.paddingTop,t.margins.top),t.margins.right=Math.max(t.paddingRight,t.margins.right),t.margins.bottom=Math.max(t.paddingBottom,t.margins.bottom))},afterFit:function(){W.callback(this.options.afterFit,[this])},isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(Le(t))return NaN;if(("number"==typeof t||t instanceof Number)&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},_convertTicksToLabels:function(t){var e,i,n;for(this.ticks=t.map(function(t){return t.value}),this.beforeTickToLabelConversion(),e=this.convertTicksToLabels(t)||this.ticks,this.afterTickToLabelConversion(),i=0,n=t.length;i<n;++i)t[i].label=e[i];return e},_getLabelSizes:function(){var t=this._labelSizes;return t||(this._labelSizes=t=((t,e,i,n)=>{for(var o,a,r,s,l,c,u,d,h,p,f,m,g,v=i.length,y=[],_=[],b=[],w=0,k=0,x=0;x<v;++x){if(r=i[x].label,s=i[x].major?e.major:e.minor,t.font=l=s.string,c=n[l]=n[l]||{data:{},gc:[]},u=s.lineHeight,d=h=0,Le(r)||Me(r)){if(Me(r))for(o=0,a=r.length;o<a;++o)p=r[o],Le(p)||Me(p)||(d=W.measureText(t,c.data,c.gc,d,p),h+=u)}else d=W.measureText(t,c.data,c.gc,d,r),h=u;y.push(d),_.push(h),b.push(u/2),w=Math.max(d,w),k=Math.max(h,k)}function C(t){return{width:y[t]||0,height:_[t]||0,offset:b[t]||0}}return g=v,W.each(n,function(t){var e,i=t.gc,n=i.length/2;if(g<n){for(e=0;e<n;++e)delete t.data[i[e]];i.splice(0,n)}}),f=y.indexOf(w),m=_.indexOf(k),{first:C(0),last:C(v-1),widest:C(f),highest:C(m)}})(this.ctx,Ee(this.options.ticks),this.getTicks(),this.longestTextCache),this.longestLabelWidth=t.widest.width),t},_parseValue:function(t){var e,i,n,t=Me(t)?(e=+this.getRightValue(t[0]),i=+this.getRightValue(t[1]),n=Math.min(e,i),Math.max(e,i)):(e=void 0,i=t=+this.getRightValue(t),n=t);return{min:n,max:t,start:e,end:i}},_getScaleLabel:function(t){var e=this._parseValue(t);return void 0!==e.start?"["+e.start+", "+e.end+"]":+this.getRightValue(t)},getLabelForIndex:W.noop,getPixelForValue:W.noop,getValueForPixel:W.noop,getPixelForTick:function(t){var e=this.options.offset,i=this._ticks.length,n=1/Math.max(i-(e?0:1),1);return t<0||i-1<t?null:this.getPixelForDecimal(t*n+(e?n/2:0))},getPixelForDecimal:function(t){return this._reversePixels&&(t=1-t),this._startPixel+t*this._length},getDecimalForPixel:function(t){t=(t-this._startPixel)/this._length;return this._reversePixels?1-t:t},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:0<t&&0<e?t:0},_autoSkip:function(t){var e,i,n,o=this.options.ticks,a=this._length,a=o.maxTicksLimit||a/this._tickSize()+1,l=o.major.enabled?(t=>{for(var e=[],i=0,n=t.length;i<n;i++)t[i].major&&e.push(i);return e})(t):[],o=l.length,r=l[0],s=l[o-1];if(a<o){var c,u,d=t,h=l,p=o/a,f=0,m=h[0];for(p=Math.ceil(p),c=0;c<d.length;c++)u=d[c],c===m?(u._index=c,m=h[++f*p]):delete u.label}else if(n=((t,e)=>{var i,n,o,a,r=(t=>{var e,i,n=t.length;if(n<2)return!1;for(i=t[0],e=1;e<n;++e)if(t[e]-t[e-1]!==i)return!1;return i})(l),s=(t.length-1)/e;if(r)for(o=0,a=(i=W.math._factorize(r)).length-1;o<a;o++)if((n=i[o])>s)return n;return Math.max(s,1)})(t,a),0<o){for(e=0,i=o-1;e<i;e++)je(t,n,l[e],l[e+1]);je(t,n,W.isNullOrUndef(a=1<o?(s-r)/(o-1):null)?0:r-a,r),je(t,n,s,W.isNullOrUndef(a)?t.length:s+a)}else je(t,n);return ze(t)},_tickSize:function(){var t=this.options.ticks,e=W.toRadians(this.labelRotation),i=Math.abs(Math.cos(e)),e=Math.abs(Math.sin(e)),n=this._getLabelSizes(),t=t.autoSkipPadding||0,o=n?n.widest.width+t:0,n=n?n.highe
1st.height+t:0;return this.isHorizontal()?o*e<n*i?o/i:n/e:n*e<o*i?n/i:o/e},_isVisible:function(){var t,e,i,n=this.chart,o=this.options.display;if("auto"!==o)return!!o;for(t=0,e=n.data.datasets.length;t<e;++t)if(n.isDatasetVisible(t)&&((i=n.getDatasetMeta(t)).xAxisID===this.id||i.yAxisID===this.id))return!0;return!1},_computeGridLineItems:function(t){function e(t){return I(y,t,A)}var i,n,o,a,r,s,l,c,u,d,h,p,f,m,g,v=this,y=v.chart,_=v.options,b=_.gridLines,w=_.position,k=b.offsetGridLines,x=v.isHorizontal(),C=v._ticksToDraw,S=C.length+(k?1:0),M=Ie(b),L=[],A=b.drawBorder?Te(b.lineWidth,0,0):0,T=A/2,I=W._alignPixel;for("top"===w?(i=e(v.bottom),r=v.bottom-M,l=i-T,u=e(t.top)+T,h=t.bottom):"bottom"===w?(i=e(v.top),u=t.top,h=e(t.bottom)-T,r=i+T,l=v.top+M):"left"===w?(i=e(v.right),a=v.right-M,s=i-T,c=e(t.left)+T,d=t.right):(i=e(v.left),c=t.left,d=e(t.right)-T,a=i+T,s=v.left+M),n=0;n<S;++n)o=C[n]||{},Le(o.label)&&n<C.length||(g=n===v.zeroLineIndex&&_.offset===k?(p=b.zeroLineWidth,f=b.zeroLineColor,m=b.zeroLineBorderDash||[],b.zeroLineBorderDashOffset||0):(p=Te(b.lineWidth,n,1),f=Te(b.color,n,"rgba(0,0,0,0.1)"),m=b.borderDash||[],b.borderDashOffset||0),void 0!==(o=((t,e,i)=>{var n=t.getTicks().length,o=Math.min(e,n-1),a=t.getPixelForTick(o),r=t._startPixel,s=t._endPixel;if(!(i&&(i=1===n?Math.max(a-r,s-a):0===e?(t.getPixelForTick(1)-a)/2:(a-t.getPixelForTick(o-1))/2,(a+=o<e?i:-i)<r-1e-6||s+1e-6<a)))return a})(v,o._index||n,k))&&(o=I(y,o,p),x?a=s=c=d=o:r=l=u=h=o,L.push({tx1:a,ty1:r,tx2:s,ty2:l,x1:c,y1:u,x2:d,y2:h,width:p,color:f,borderDash:m,borderDashOffset:g})));return L.ticksLength=S,L.borderValue=i,L},_computeLabelItems:function(){for(var t,e,i,n,o,a,r,s=this.options,l=s.ticks,c=s.position,u=l.mirror,d=this.isHorizontal(),h=this._ticksToDraw,p=Ee(l),f=l.padding,s=Ie(s.gridLines),m=-W.toRadians(this.labelRotation),g=[],v="top"===c?(i=this.bottom-s-f,m?"left":"center"):"bottom"===c?(i=this.top+s+f,m?"right":"center"):"left"===c?(e=this.right-(u?0:s)-f,u?"left":"right"):(e=this.left+(u?0:s)+f,u?"right":"left"),y=0,_=h.length;y<_;++y)t=(n=h[y]).label,Le(t)||(r=this.getPixelForTick(n._index||y)+l.labelOffset,o=(n=n.major?p.major:p.minor).lineHeight,a=Me(t)?t.length:1,r=d?(e=r,"top"===c?((m?1:.5)-a)*o:(m?0:.5)*o):(i=r,(1-a)*o/2),g.push({x:e,y:i,rotation:m,label:t,font:n,textOffset:r,textAlign:v}));return g},_drawGrid:function(t){var e=this,i=e.options.gridLines;if(i.display){for(var n,o,a,r,s,l,c,u,d,h=e.ctx,p=e.chart,f=W._alignPixel,m=i.drawBorder?Te(i.lineWidth,0,0):0,g=e._gridLineItems||(e._gridLineItems=e._computeGridLineItems(t)),v=0,y=g.length;v<y;++v)n=(a=g[v]).width,o=a.color,n&&o&&(h.save(),h.lineWidth=n,h.strokeStyle=o,h.setLineDash&&(h.setLineDash(a.borderDash),h.lineDashOffset=a.borderDashOffset),h.beginPath(),i.drawTicks&&(h.moveTo(a.tx1,a.ty1),h.lineTo(a.tx2,a.ty2)),i.drawOnChartArea&&(h.moveTo(a.x1,a.y1),h.lineTo(a.x2,a.y2)),h.stroke(),h.restore());
1m&&(t=m,u=Te(i.lineWidth,g.ticksLength-1,1),d=g.borderValue,e.isHorizontal()?(r=f(p,e.left,t)-t/2,s=f(p,e.right,u)+u/2,l=c=d):(l=f(p,e.top,t)-t/2,c=f(p,e.bottom,u)+u/2,r=s=d),h.lineWidth=m,h.strokeStyle=Te(i.color,0),h.beginPath(),h.moveTo(r,l),h.lineTo(s,c),h.stroke())}},_drawLabels:function(){if(this.options.ticks.display)for(var t,e,i,n,o,a,r=this.ctx,s=this._labelItems||(this._labelItems=this._computeLabelItems()),l=0,c=s.length;l<c;++l){if(n=(i=s[l]).font,r.save(),r.translate(i.x,i.y),r.rotate(i.rotation),r.font=n.string,r.fillStyle=n.color,r.textBaseline="middle",r.textAlign=i.textAlign,o=i.label,a=i.textOffset,Me(o))for(t=0,e=o.length;t<e;++t)r.fillText(""+o[t],0,a),a+=n.lineHeight;else r.fillText(o,0,a);r.restore()}},_drawTitle:function(){var t,e,i,n,o,a,r,s=this,l=s.ctx,c=s.options,u=c.scaleLabel;u.display&&(t=Ae(u.fontColor,T.global.defaultFontColor),e=W.options._parseFont(u),i=W.options.toPadding(u.padding),n=e.lineHeight/2,c=c.position,r=0,s.isHorizontal()?(o=s.left+s.width/2,a="bottom"===c?s.bottom-n-i.bottom:s.top+n+i.top):(o=(c="left"===c)?s.left+n+i.top:s.right-n-i.top,a=s.top+s.height/2,r=c?-.5*Math.PI:.5*Math.PI),l.save(),l.translate(o,a),l.rotate(r),l.textAlign="center",l.textBaseline="middle",l.fillStyle=t,l.font=e.string,l.fillText(u.labelString,0,0),l.restore())},draw:function(t){this._isVisible()&&(this._drawGrid(t),this._drawTitle(),this._drawLabels())},_layers:function(){var t=this,e=t.options,i=e.ticks&&e.ticks.z||0,e=e.gridLines&&e.gridLines.z||0;return t._isVisible()&&i!==e&&t.draw===t._draw?[{z:e,draw:function(){t._drawGrid.apply(t,arguments),t._drawTitle.apply(t,arguments)}},{z:i,draw:function(){t._drawLabels.apply(t,arguments)}}]:[{z:i,draw:function(){t.draw.apply(t,arguments)}}]},_getMatchingVisibleMetas:function(e){var i=this,n=i.isHorizontal();return i.chart._getSortedVisibleDatasetMetas().filter(function(t){return(!e||t.type===e)&&(n?t.xAxisID===i.id:t.yAxisID===i.id)})}}),I=(Et.prototype._draw=Et.prototype.draw,Et),Oe=W.isNullOrUndef,_=I.extend({determineDataLimits:function(){var t,e=this._getLabels(),i=this.options.ticks,n=i.min,i=i.max,o=0,a=e.length-1;void 0!==n&&0<=(t=e.indexOf(n))&&(o=t),void 0!==i&&0<=(t=e.indexOf(i))&&(a=t),this.minIndex=o,this.maxIndex=a,this.min=e[o],this.max=e[a]},buildTicks:function(){var t=this._getLabels(),e=this.minIndex,i=this.maxIndex;this.ticks=0===e&&i===t.length-1?t:t.slice(e,i+1)},getLabelForIndex:function(t,e){var i=this.chart;return i.getDatasetMeta(e).controller._getValueScaleId()===this.id?this.getRightValue(i.data.datasets[e].data[t]):this._getLabels()[t]},_configure:function(){var t=this.options.offset,e=this.ticks;I.prototype._configure.call(this),this.isHorizontal()||(this._reversePixels=!this._reversePixels),e&&(this._startValue=this.minIndex-(t?.5:0),this._valueRange=Math.max(e.length-(t?0:1),1))},getPixelForValue:function(t,e,i){var n;return Oe(e)||Oe(i)||(t=this.chart.data.datasets[i].data[e]),(void 0!==(n=Oe(t)?n:this.isHorizontal()?t.x:t.y)||void 0!==t&&isNaN(e))&&(i=this._getLabels(),t=W.valueOrDefault(n,t),e=-1!==(n=i.indexOf(t))?n:e,isNaN(e))&&(e=t),this.getPixelForDecimal((e-this._startValue)/this._valueRange)},getPixelForTick:function(t){var e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t],t+this.minIndex)},getValueForPixel:function(t){t=Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange);return Math.min(Math.max(t,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}}),jt=(_._defaults={position:"bottom"},W.noop),Ne=W.isNullOrUndef,Be=I.extend({getRightValue:function(t){return"string"==typeof t?+t:I.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks,i=(e.beginAtZero&&(i=W.sign(t.min),n=W.sign(t.max),i<0&&n<0?t.max=0:0<i&&0<n&&(t.min=0)),void 0!==e.min||void 0!==e.suggestedMin),n=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(null===t.min?t.min=e.suggestedMin:t.min=Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(null===t.max?t.max=e.suggestedMax:t.max=Math.max(t.max,e.suggestedMax)),i!=n&&t.min>=t.max&&(i?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:function(){var t,e=this.options.ticks,i=e.stepSize,e=e.maxTicksLimit;return i?t=Math.ceil(this.max/i)-Math.floor(this.min/i)+1:(t=this._computeTickLimit(),e=e||11),t=e?Math.min(e,t):t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:jt,buildTicks:function(){var f=this,t=f.options.ticks,e=f.getTickLimit(),m={maxTicks:Math.max(2,e),min:t.min,max:t.max,precision:t.precision,stepSize:W.valueOrDefault(t.fixedStepSize,t.stepSize)},e=f.ticks=(()=>{var t,e,i,n=[],o=m.stepSize,a=o||1,r=m.maxTicks-1,s=m.min,l=m.max,c=m.precision,u=f.min,d=f.max,h=W.niceNum((d-u)/r/a)*a;if(h<1e-14&&Ne(s)&&Ne(l))return[u,d];(i=Math.ceil(d/h)-Math.floor(u/h))>r&&(h=W.niceNum(i*h/r/a)*a),o||Ne(c)?t=Math.pow(10,W._decimalPlaces(h)):(t=Math.pow(10,c),h=Math.ceil(h*t)/t),e=Math.floor(u/h)*h,r=Math.ceil(d/h)*h,o&&(!Ne(s)&&W.almostWhole(s/h,h/1e3)&&(e=s),!Ne(l))&&W.almostWhole(l/h,h/1e3)&&(r=l),i=W.almostEquals(i=(r-e)/h,Math.round(i),h/1e3)?Math.round(i):Math.ceil(i),e=Math.round(e*t)/t,r=Math.round(r*t)/t,n.push(Ne(s)?e:s);for(var p=1;p<i;++p)n.push(Math.round((e+p*h)*t)/t);return n.push(Ne(l)?r:l),n})();f.handleDirectionalChanges(),f.max=W.max(e),f.min=W.min(e),t.reverse?(e.reverse(),f.start=f.max,f.end=f.min):(f.start=f.min,f.end=f.max)},convertTicksToLabels:function(){this.ticksAsNumbers=this.ticks.slice(),this.zeroLineIndex=this.ticks.indexOf(0),I.prototype.convertTicksToLabels.call(this)},_configure:function(){var t=this.getTicks(),e=this.min,i=this.max;I.prototype._configure.call(this),this.options.offset&&t.length&&(e-=t=(i-e)/Math.max(t.length-1,1)/2,i+=t),this._startValue=e,this._endValue=i,this._valueRange=i-e}}),Dt={position:"left",ticks:{callback:t.formatters.linear}};function Re(t,e,i,n){for(var o,a=t.options,e=((t,e,i)=>(e=[i.type,void 0===e&&void 0===i.stack?i.index:"",i.stack].join("."),void 0===t[e]&&(t[e]={pos:[],neg:[]}),t[e]))(e,a.stacked,i),r=e.pos,s=e.neg,l=n.length,c=0;c<l;++c)o=t._parseValue(n[c]),isNaN(o.min)||isNaN(o.max)||i.data[c].hidden||(r[c]=r[c]||0,s[c]=s[c]||0,a.relativePoints?r[c]=100:o.min<0||o.max<0?s[c]+=o.min:r[c]+=o.max)}var a=Be.extend({determineDataLimits:function(){var t,e,i,n,o=this,a=o.options,r=o.chart.data.datasets,s=o._getMatchingVisibleMetas(),l=a.stacked,c={},u=s.length;if(o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,void 0===l)for(t=0;!l&&t<u;++t)l=void 0!==(e=s[t]).stack;for(t=0;t<u;++t){i=r[(e=s[t]).index].data;if(l)Re(o,c,e,i);else{d=void 0;h=void 0;p=void 0;g=void 0;f=void 0;m=void 0;var d=o;var h=e;var p=i;for(var f,m=p.length,g=0;g<m;++g)f=d._parseValue(p[g]),isNaN(f.min)||isNaN(f.max)||h.data[g].hidden||(d.min=Math.min(d.min,f.min),d.max=Math.max(d.max,f.max))}}W.each(c,function(t){n=t.pos.concat(t.neg),o.min=Math.min(o.min,W.min(n)),o.max=Math.max(o.max,W.max(n))}),o.min=W.isFinite(o.min)&&!isNaN(o.min)?o.min:0,o.max=W.isFinite(o.max)&&!isNaN(o.max)?o.max:1,o.handleTickRangeOptions()},_computeTickLimit:function(){var t;return this.isHorizontal()?Math.ceil(this.width/40):(t=W.options._parseFont(this.options.ticks),Math.ceil(this.height/t.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){return this.getPixelForDecimal((+this.getRightValue(t)-this._startValue)/this._valueRange)},getValueForPixel:function(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange},getPixelForTick:function(t){var e=this.ticksAsNumbers;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])}}),Fe=(a._defaults=Dt,W.valueOrDefault),D=W.math.log10,o={position:"left",ticks:{callback:t.formatters.logarithmic}};function $e(t,e){return W.isFinite(t)&&0<=t?t:e}var e=I.extend({determineDataLimits:function(){var t,e,i,n,o=this,a=o.options,r=o.chart,s=r.data.datasets,l=o.isHorizontal();function c(t){return l?t.xAxisID===o.id:t.yAxisID===o.id}o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,o.minNotZero=Number.POSITIVE_INFINITY;var u=a.stacked;if(void 0===u)for(h=0;h<s.length;h++)if(t=r.getDatasetMeta(h),r.isDatasetVisible(h)&&c(t)&&void 0!==t.stack){u=!0;break}if(a.stacked||u){for(var d={},h=0;h<s.length;h++){var p=[(t=r.getDatasetMeta(h)).type,void 0===a.stacked&&void 0===t.stack?h:"",t.stack].join(".");if(r.isDatasetVisible(h)&&c(t))for(void 0===d[p]&&(d[p]=[]),i=0,n=(e=s[h].data).length;i<n;i++){var f=d[p],m=o._parseValue(e[i]);isNaN(m.min)||isNaN(m.max)||t.data[i].hidden||m.min<0||m.max<0||(f[i]=f[i]||0,f[i]+=m.max)}}W.each(d,function(t){var e;0<t.length&&(e=W.min(t),t=W.max(t),o.min=Math.min(o.min,e),o.max=Math.max(o.max,t))})}else for(h=0;h<s.length;h++)if(t=r.getDatasetMeta(h),r.isDatasetVisible(h)&&c(t))for(i=0,n=(e=s[h].data).length;i<n;i++)m=o._parseValue(e[i]),isNaN(m.min)||isNaN(m.max)||t.data[i].hidden||m.min<0||m.max<0||(o.min=Math.min(m.min,o.min),o.max=Math.max(m.max,o.max),0!==m.min&&(o.minNotZero=Math.min(m.min,o.minNotZero)));o.min=W.isFinite(o.min)?o.min:null,o.max=W.isFinite(o.max)?o.max:null,o.minNotZero=W.isFinite(o.minNotZero)?o.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;t.min=$e(e.min,t.min),t.max=$e(e.max,t.max),t.min===t.max&&(0!==t.min&&null!==t.min?(t.min=Math.pow(10,Math.floor(D(t.min))-1),t.max=Math.pow(10,Math.floor(D(t.max))+1)):(t.min=1,t.max=10)),null===t.min&&(t.min=Math.pow(10,Math.floor(D(t.max))-1)),null===t.max&&(t.max=0!==t.min?Math.pow(10,Math.floor(D(t.min))+1):10),null===t.minNotZero&&(0<t.min?t.minNotZero=t.min:t.max<1?t.minNotZero=Math.pow(10,Math.floor(D(t.max))):t.minNotZero=1)}
1,buildTicks:function(){var t=this,e=t.options.ticks,i=!t.isHorizontal(),n={min:$e(e.min),max:$e(e.max)},n=t.ticks=((t,e)=>{for(var i,n,o=[],a=Fe(t.min,Math.pow(10,Math.floor(D(e.min)))),r=Math.floor(D(e.max)),s=Math.ceil(e.max/Math.pow(10,r)),l=(0===a?(i=Math.floor(D(e.minNotZero)),n=Math.floor(e.minNotZero/Math.pow(10,i)),o.push(a),a=n*Math.pow(10,i)):(i=Math.floor(D(a)),n=Math.floor(a/Math.pow(10,i))),i<0?Math.pow(10,Math.abs(i)):1);o.push(a),10==++n&&(n=1,l=0<=++i?1:l),a=Math.round(n*Math.pow(10,i)*l)/l,i<r||i===r&&n<s;);return e=Fe(t.max,a),o.push(e),o})(n,t);t.max=W.max(n),t.min=W.min(n),e.reverse?(i=!i,t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),i&&n.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),I.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){var e=this.tickValues;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])},_getFirstTickValue:function(t){var e=Math.floor(D(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},_configure:function(){var t=this,e=t.min,i=0;I.prototype._configure.call(t),0===e&&(e=t._getFirstTickValue(t.minNotZero),i=Fe(t.options.ticks.fontSize,T.global.defaultFontSize)/t._length),t._startValue=D(e),t._valueOffset=i,t._valueRange=(D(t.max)-D(e))/(1-i)},getPixelForValue:function(t){var e=0;return(t=+this.getRightValue(t))>this.min&&0<t&&(e=(D(t)-this._startValue)/this._valueRange+this._valueOffset),this.getPixelForDecimal(e)},getValueForPixel:function(t){t=this.getDecimalForPixel(t);return 0===t&&0===this.min?0:Math.pow(10,this._startValue+(t-this._valueOffset)*this._valueRange)}}),We=(e._defaults=o,W.valueOrDefault),He=W.valueAtIndexOrDefault,Ue=W.options.resolve,Et={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:t.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function qe(t){var e=t.ticks;return e.display&&t.display?We(e.fontSize,T.global.defaultFontSize)+2*e.backdropPaddingY:0}function Ve(t,e,i,n,o){return t===n||t===o?{start:e-i/2,end:e+i/2}:t<n||o<t?{start:e-i,end:e}:{start:e,end:e+i}}function Ze(t){return W.isNumber(t)?t:0}var jt=Be.extend({setDimensions:function(){var t=this;t.width=t.maxWidth,t.height=t.maxHeight,t.paddingTop=qe(t.options)/2,t.xCenter=Math.floor(t.width/2),t.yCenter=Math.floor((t.height-t.paddingTop)/2),t.drawingArea=Math.min(t.height-t.paddingTop,t.width)/2},determineDataLimits:function(){var n=this,o=n.chart,a=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;W.each(o.data.datasets,function(t,e){var i;o.isDatasetVisible(e)&&(i=o.getDatasetMeta(e),W.each(t.data,function(t,e){t=+n.getRightValue(t);isNaN(t)||i.data[e].hidden||(a=Math.min(t,a),r=Math.max(t,r))}))}),n.min=a===Number.POSITIVE_INFINITY?0:a,n.max=r===Number.NEGATIVE_INFINITY?0:r,n.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/qe(this.options))},convertTicksToLabels:function(){var e=this;Be.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map(function(){var t=W.callback(e.options.pointLabels.callback,arguments,e);return t||0===t?t:""})},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t=this.options;if(t.display&&t.pointLabels.display){var e,i=this,n=W.options._parseFont(i.options.pointLabels),o={l:0,r:i.width,t:0,b:i.height-i.paddingTop},a={};i.ctx.font=n.string,i._pointLabelSizes=[];for(var r,s=i.chart.data.labels.length,l=0;l<s;l++){e=i.getPointPosition(l,i.drawingArea+5),r=i.ctx,u=n.lineHeight,c=i.pointLabels[l],r=W.isArray(c)?{w:W.longestText(r,r.font,c),h:c.length*u}:{w:r.measureText(c).width,h:u},i._pointLabelSizes[l]=r;var c=i.getIndexAngle(l),u=W.toDegrees(c)%360,d=Ve(u,e.x,r.w,0,180),u=Ve(u,e.y,r.h,90,270);d.start<o.l&&(o.l=d.start,a.l=c),o.r<d.end&&(o.r=d.end,a.r=c),u.start<o.t&&(o.t=u.start,a.t=c),o.b<u.end&&(o.b=u.end,a.b=c)}i.setReductions(i.drawingArea,o,a)}else this.setCenterPoint(0,0,0,0)}
1,setReductions:function(t,e,i){var n=e.l/Math.sin(i.l),o=Math.max(e.r-this.width,0)/Math.sin(i.r),a=-e.t/Math.cos(i.t),e=-Math.max(e.b-(this.height-this.paddingTop),0)/Math.cos(i.b),n=Ze(n),o=Ze(o),a=Ze(a),e=Ze(e);this.drawingArea=Math.min(Math.floor(t-(n+o)/2),Math.floor(t-(a+e)/2)),this.setCenterPoint(n,o,a,e)},setCenterPoint:function(t,e,i,n){var o=this,e=o.width-e-o.drawingArea,i=i+o.drawingArea,n=o.height-o.paddingTop-n-o.drawingArea;o.xCenter=Math.floor((t+o.drawingArea+e)/2+o.left),o.yCenter=Math.floor((i+n)/2+o.top+o.paddingTop)},getIndexAngle:function(t){var e=this.chart,t=(t*(360/e.data.labels.length)+((e.options||{}).startAngle||0))%360;return(t<0?360+t:t)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e;return W.isNullOrUndef(t)?NaN:(e=this.drawingArea/(this.max-this.min),this.options.ticks.reverse?(this.max-t)*e:(t-this.min)*e)},getPointPosition:function(t,e){t=this.getIndexAngle(t)-Math.PI/2;return{x:Math.cos(t)*e+this.xCenter,y:Math.sin(t)*e+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(t){var e=this.min,i=this.max;return this.getPointPositionForValue(t||0,this.beginAtZero?0:e<0&&i<0?i:0<e&&0<i?e:0)},_drawGrid:function(){var t,d,e,h=this,i=h.ctx,n=h.options,p=n.gridLines,o=n.angleLines,a=We(o.lineWidth,p.lineWidth),r=We(o.color,p.color);if(n.pointLabels.display){var s=h,l=s.ctx,c=s.options,u=c.pointLabels,f=qe(c),m=s.getDistanceFromCenterForValue(c.ticks.reverse?s.min:s.max),g=W.options._parseFont(u);l.save(),l.font=g.string,l.textBaseline="middle";for(var v,y,_=s.chart.data.labels.length-1;0<=_;_--){var b,w,k=s.getPointPosition(_,m+(0===_?f/2:0)+5),x=He(u.fontColor,_,T.global.defaultFontColor),x=(l.fillStyle=x,s.getIndexAngle(_)),x=W.toDegrees(x),C=(l.textAlign=0===(y=x)||180===y?"center":y<180?"left":"right",y=x,x=s._pointLabelSizes[_],v=k,90===y||270===y?v.y-=x.h/2:(270<y||y<90)&&(v.y-=x.h),A=w=b=L=M=S=C=void 0,l),S=s.pointLabels[_],M=k,L=g.lineHeight,A=M.y+L/2;if(W.isArray(S))for(b=0,w=S.length;b<w;++b)C.fillText(S[b],M.x,A),A+=L;else C.fillText(S,M.x,A)}l.restore()}if(p.display&&W.each(h.ticks,function(t,e){if(0!==e){d=h.getDistanceFromCenterForValue(h.ticksAsNumbers[e]);var i,n=h,o=p,a=d,r=n.ctx,s=o.circular,l=n.chart.data.labels.length,c=He(o.color,e-1),e=He(o.lineWidth,e-1);if((s||l)&&c&&e){if(r.save(),r.strokeStyle=c,r.lineWidth=e,r.setLineDash&&(r.setLineDash(o.borderDash||[]),r.lineDashOffset=o.borderDashOffset||0),r.beginPath(),s)r.arc(n.xCenter,n.yCenter,a,0,2*Math.PI);else{i=n.getPointPosition(0,a),r.moveTo(i.x,i.y);for(var u=1;u<l;u++)i=n.getPointPosition(u,a),r.lineTo(i.x,i.y)}r.closePath(),r.stroke(),r.restore()}}}),o.display&&a&&r){for(i.save(),i.lineWidth=a,i.strokeStyle=r,i.setLineDash&&(i.setLineDash(Ue([o.borderDash,p.borderDash,[]])),i.lineDashOffset=Ue([o.borderDashOffset,p.borderDashOffset,0])),t=h.chart.data.labels.length-1;0<=t;t--)d=h.getDistanceFromCenterForValue(n.ticks.reverse?h.min:h.max),e=h.getPointPosition(t,d),i.beginPath(),i.moveTo(h.xCenter,h.yCenter),i.lineTo(e.x,e.y),i.stroke();i.restore()}},_drawLabels:function(){var i,n,t,o,a,r=this,s=r.ctx,l=r.options.ticks;l.display&&(t=r.getIndexAngle(0),o=W.options._parseFont(l),a=We(l.fontColor,T.global.defaultFontColor),s.save(),s.font=o.string,s.translate(r.xCenter,r.yCenter),s.rotate(t),s.textAlign="center",s.textBaseline="middle",W.each(r.ticks,function(t,e){0===e&&!l.reverse||(i=r.getDistanceFromCenterForValue(r.ticksAsNumbers[e]),l.showLabelBackdrop&&(n=s.measureText(t).width,s.fillStyle=l.backdropColor,s.fillRect(-n/2-l.backdropPaddingX,-i-o.size/2-l.backdropPaddingY,n+2*l.backdropPaddingX,o.size+2*l.backdropPaddingY)),s.fillStyle=a,s.fillText(t,0,-i))}),s.restore())},_drawTitle:W.noop}),Ye=(jt._defaults=Et,W._deprecated),Ge=W.options.resolve,Xe=W.valueOrDefault,Ke=Number.MIN_SAFE_INTEGER||-9007199254740991,Je=Number.MAX_SAFE_INTEGER||9007199254740991,Qe={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},P=Object.keys(Qe);function ti(t,e){return t-e}function ei(t){return W.valueOrDefault(t.time.min,t.ticks.min)}function ii(t){return W.valueOrDefault(t.time.max,t.ticks.max)}
1function ni(t,e,i,n){var o=((t,e,i)=>{for(var n,o,a,r=0,s=t.length-1;0<=r&&r<=s;){if(o=t[(n=r+s>>1)-1]||null,a=t[n],!o)return{lo:null,hi:a};if(a[e]<i)r=1+n;else{if(!(o[e]>i))return{lo:o,hi:a};s=n-1}}return{lo:a,hi:null}})(t,e,i),a=o.lo?o.hi?o.lo:t[t.length-2]:t[0],o=o.lo?o.hi||t[t.length-1]:t[1],t=o[e]-a[e],i=t?(i-a[e])/t:0;return a[n]+(o[n]-a[n])*i}function oi(t,e){var i=t._adapter,t=t.options.time,n=t.parser,t=n||t.format,o=e;return"function"==typeof n&&(o=n(o)),null!==(o=W.isFinite(o)?o:"string"==typeof t?i.parse(o,t):i.parse(o))?+o:o=n||"function"!=typeof t||(o=t(e),W.isFinite(o))?o:i.parse(o)}function ai(t,e){var i;return W.isNullOrUndef(e)?null:(i=t.options.time,e=null!==(e=oi(t,t.getRightValue(e)))&&i.round?+t._adapter.startOf(e,i.round):e)}function ri(t,e,i,n){for(var o,a,r=P.length,s=P.indexOf(t);s<r-1;++s)if(a=(o=Qe[P[s]]).steps?o.steps:Je,o.common&&Math.ceil((i-e)/(a*o.size))<=n)return P[s];return P[r-1]}function si(t,e,i){for(var n,o=[],a={},r=e.length,s=0;s<r;++s)a[n=e[s]]=s,o.push({value:n,major:!1});if(0!==r&&i){for(var l,c=o,u=a,d=i,h=t._adapter,i=+h.startOf(c[0].value,d),p=c[c.length-1].value,f=i;f<=p;f=+h.add(f,1,d))0<=(l=u[f])&&(c[l].major=!0);return c}return o}var Dt=I.extend({initialize:function(){this.mergeTicksOptions(),I.prototype.initialize.call(this)},update:function(){var t=this.options,e=t.time||(t.time={}),t=this._adapter=new Se._date(t.adapters.date);return Ye("time scale",e.format,"time.format","time.parser"),Ye("time scale",e.min,"time.min","ticks.min"),Ye("time scale",e.max,"time.max","ticks.max"),W.mergeIf(e.displayFormats,t.formats()),I.prototype.update.apply(this,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),I.prototype.getRightValue.call(this,t)},determineDataLimits:function(){for(var t,e,i,n,o,a=this,r=a.chart,s=a._adapter,l=a.options,c=l.time.unit||"day",u=Je,d=Ke,h=[],p=[],f=[],m=a._getLabels(),g=0,v=m.length;g<v;++g)f.push(ai(a,m[g]));for(g=0,v=(r.data.datasets||[]).length;g<v;++g)if(r.isDatasetVisible(g))if(i=r.data.datasets[g].data,W.isObject(i[0]))for(p[g]=[],t=0,e=i.length;t<e;++t)n=ai(a,i[t]),h.push(n),p[g][t]=n;else p[g]=f.slice(0),o||(h=h.concat(f),o=!0);else p[g]=[];f.length&&(u=Math.min(u,f[0]),d=Math.max(d,f[f.length-1])),h.length&&(h=(1<v?(t=>{for(var e,i={},n=[],o=0,a=t.length;o<a;++o)i[e=t[o]]||(i[e]=!0,n.push(e));return n})(h):h).sort(ti),u=Math.min(u,h[0]),d=Math.max(d,h[h.length-1])),u=ai(a,ei(l))||u,d=ai(a,ii(l))||d,u=u===Je?+s.startOf(Date.now(),c):u,d=d===Ke?+s.endOf(Date.now(),c)+1:d,a.min=Math.min(u,d),a.max=Math.max(u+1,d),a._table=[],a._timestamps={data:h,datasets:p,labels:f}},buildTicks:function(){var t,e,i,n,o,u=this,a=u.min,r=u.max,s=u.options,l=s.ticks,c=s.time,d=u._timestamps,h=[],p=u.getLabelCapacity(a),f=l.source,m=s.distribution,d="data"===f||"auto"===f&&"series"===m?d.data:"labels"===f?d.labels:((t,e)=>{var i,n=u._adapter,o=u.options,a=(s=o.time).unit||ri(s.minUnit,t,e,p),r=Ge([s.stepSize,s.unitStepSize,1]),s="week"===a&&s.isoWeekday,l=t,c=[];if(s&&(l=+n.startOf(l,"isoWeek",s)),l=+n.startOf(l,s?"day":a),n.diff(e,t,a)>1e5*r)throw t+" and "+e+" are too far apart with stepSize of "+r+" "+a;for(i=l;i<e;i=+n.add(i,r,a))c.push(i);return i!==e&&"ticks"!==o.bounds||c.push(i),c})(a,r);for("ticks"===s.bounds&&d.length&&(a=d[0],r=d[d.length-1]),a=ai(u,ei(s))||a,r=ai(u,ii(s))||r,t=0,e=d.length;t<e;++t)(i=d[t])>=a&&i<=r&&h.push(i);return u.min=a,u.max=r,u._unit=c.unit||(l.autoSkip?ri(c.minUnit,u.min,u.max,p):((t,e,i,n,o)=>{for(var a,r=P.length-1;r>=P.indexOf(i);r--)if(a=P[r],Qe[a].common&&t._adapter.diff(o,n,a)>=e-1)return a;return P[i?P.indexOf(i):0]})(u,h.length,c.minUnit,u.min,u.max)),u._majorUnit=l.major.enabled&&"year"!==u._unit?(t=>{for(var e=P.indexOf(t)+1,i=P.length;e<i;++e)if(Qe[P[e]].common)return P[e]})(u._unit):void 0,u._table=((t,e,i)=>{if("linear"===m||!t.length)return[{time:e,pos:0},{time:i,pos:1}];for(var n,o,a,r=[],s=[e],l=0,c=t.length;l<c;++l)(o=t[l])>e&&o<i&&s.push(o);for(s.push(i),l=0,c=s.length;l<c;++l)a=s[l+1],o=s[l],void 0!==(n=s[l-1])&&void 0!==a&&Math.round((a+n)/2)===o||r.push({time:o,pos:l/(c-1)});return r})(u._timestamps.data,a,r),u._offsets=(f=u._table,c=h,o=n=0,s.offset&&c.length&&(s=ni(f,"time",c[0],"pos"),n=1===c.length?1-s:(ni(f,"time",c[1],"pos")-s)/2,s=ni(f,"time",c[c.length-1],"pos"),o=1===c.length?s:(s-ni(f,"time",c[c.length-2],"pos"))/2),{start:n,end:o,factor:1/(n+1+o)}),l.reverse&&h.reverse(),si(u,h,u._majorUnit)},getLabelForIndex:function(t,e){var i=this._adapter,n=this.chart.data,o=this.options.time,a=n.labels&&t<n.labels.length?n.labels[t]:"",n=n.datasets[e].data[t];return W.isObject(n)&&(a=this.getRightValue(n)),o.tooltipFormat?i.format(
1oi(this,a),o.tooltipFormat):"string"==typeof a?a:i.format(oi(this,a),o.displayFormats.datetime)},tickFormatFunction:function(t,e,i,n){var o=this._adapter,a=this.options,r=a.time.displayFormats,s=r[this._unit],l=this._majorUnit,r=r[l],c=i[e],a=a.ticks,l=l&&r&&c&&c.major,c=o.format(t,n||(l?r:s)),o=l?a.major:a.minor,t=Ge([o.callback,o.userCallback,a.callback,a.userCallback]);return t?t(c,e,i):c},convertTicksToLabels:function(t){for(var e=[],i=0,n=t.length;i<n;++i)e.push(this.tickFormatFunction(t[i].value,i,t));return e},getPixelForOffset:function(t){var e=this._offsets,t=ni(this._table,"time",t,"pos");return this.getPixelForDecimal((e.start+t)*e.factor)},getPixelForValue:function(t,e,i){var n=null;if(null!==(n=null===(n=void 0!==e&&void 0!==i?this._timestamps.datasets[i][e]:n)?ai(this,t):n))return this.getPixelForOffset(n)},getPixelForTick:function(t){var e=this.getTicks();return 0<=t&&t<e.length?this.getPixelForOffset(e[t].value):null},getValueForPixel:function(t){var e=this._offsets,t=this.getDecimalForPixel(t)/e.factor-e.end,e=ni(this._table,"pos",t,"time");return this._adapter._create(e)},_getLabelSize:function(t){var e=this.options.ticks,t=this.ctx.measureText(t).width,i=W.toRadians(this.isHorizontal()?e.maxRotation:e.minRotation),n=Math.cos(i),i=Math.sin(i),e=Xe(e.fontSize,T.global.defaultFontSize);return{w:t*n+e*i,h:t*i+e*n}},getLabelWidth:function(t){return this._getLabelSize(t).w},getLabelCapacity:function(t){var e=this.options.time,i=e.displayFormats,e=i[e.unit]||i.millisecond,i=this.tickFormatFunction(t,0,si(this,[t],this._majorUnit),e),t=this._getLabelSize(i),e=Math.floor(this.isHorizontal()?this.width/t.w:this.height/t.h);return this.options.offset&&e--,0<e?e:1}}),o=(Dt._defaults={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}},{category:_,linear:a,logarithmic:e,radialLinear:jt,time:Dt}),li={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"},ci=(Se._date.override("function"==typeof n?{_id:"moment",formats:function(){return li},parse:function(t,e){return"string"==typeof t&&"string"==typeof e?t=n(t,e):t instanceof n||(t=n(t)),t.isValid()?t.valueOf():null},format:function(t,e){return n(t).format(e)},add:function(t,e,i){return n(t).add(e,i).valueOf()},diff:function(t,e,i){return n(t).diff(n(e),i)},startOf:function(t,e,i){return t=n(t),("isoWeek"===e?t.isoWeekday(i):t.startOf(e)).valueOf()},endOf:function(t,e){return n(t).endOf(e).valueOf()},_create:function(t){return n(t)}}:{}),T._set("global",{plugins:{filler:{propagate:!0}}}),{dataset:function(t){var e=t.fill,t=t.chart,i=t.getDatasetMeta(e),n=i&&t.isDatasetVisible(e)&&i.dataset._children||[],o=n.length||0;return o?function(t,e){return e<o&&n[e]._view||null}:null},boundary:function(t){var i=t.boundary,e=i?i.x:null,n=i?i.y:null;return W.isArray(i)?function(t,e){return i[e]}:function(t){return{x:null===e?t.x:e,y:null===n?t.y:n}}}});function ui(u){return((u.el._scale||{}).getPointPositionForValue?()=>{var t,e,i,n,o,a=u.el._scale,r=a.options,s=a.chart.data.labels.length,l=u.fill,c=[];if(!s)return null;for(t=r.ticks.reverse?a.max:a.min,e=r.ticks.reverse?a.min:a.max,i=a.getPointPositionForValue(0,t),n=0;n<s;++n)o="start"===l||"end"===l?a.getPointPositionForValue(n,"start"===l?t:e):a.getBasePosition(n),r.gridLines.circular&&(o.cx=i.x,o.cy=i.y,o.angle=a.getIndexAngle(n)-Math.PI/2),c.push(o);return c}:()=>{var t=u.el._model||{},e=u.el._scale||{},i=u.fill,n=null;if(!isFinite(i)&&("start"===i?n=void 0===t.scaleBottom?e.bottom:t.scaleBottom:"end"===i?n=void 0===t.scaleTop?e.top:t.scaleTop:void 0!==t.scaleZero?n=t.scaleZero:e.getBasePixel&&(n=e.getBasePixel()),null!=n)){if(void 0!==n.x&&void 0!==n.y)return n;if(W.isFinite(n))return{x:(i=e.isHorizontal())?n:null,y:i?null:n}}return null})()}function di(t){return t&&!t.skip}function hi(t,e,i,n,o){var a,r,s,l;if(n&&o){for(t.moveTo(e[0].x,e[0].y),a=1;a<n;++a)W.canvas.lineTo(t,e[a-1],e[a]);if(void 0===i[0].angle)for(t.lineTo(i[o-1].x,i[o-1].y),a=o-1;0<a;--a)W.canvas.lineTo(t,i[a],i[a-1],!0);else for(r=i[0].cx,s=i[0].cy,l=Math.sqrt(Math.pow(i[0].x-r,2)+Math.pow(i[0].y-s,2)),a=o-1;0<a;--a)t.arc(r,s,l,i[a].angle,i[a-1].angle,!0)}}var Et={id:"filler",afterDatasetsUpdate:function(t,e){for(var i,n,o,a,r,s,l=(t.data.datasets||[]).length,c=e.propagate,u=[],d=0;d<l;++d)o=null,(n=(i=t.getDatasetMeta(d)).dataset)&&n._model&&n instanceof v.Line&&(o={visible:t.isDatasetVisible(d),fill:((t,e,i)=>{var n=(t=t._model||{}).fill;if(!1===(n=void 0===n?!!t.backgroundColor:n)||null===n)return!1;if(!0===n)return"origin";if(t=parseFloat(n,10),isFinite(t)&&Math.floor(t)===t)return!((t="-"!==n[0]&&"+"!==n[0]?t:e+t)===e||t<0||i<=t)&&t;switch(n){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return n;default:return!1}})(n,d,l),chart:t,el:n}),i.$filler=o,u.push(o);for(d=0;d<l;++d)(o=u[d])&&(o.fill=((t,e,i)=>{var n,o=t[e].fill,a=[e];if(!i)return o;for(;!1!==o&&-1===a.indexOf(o);){if(!isFinite(o))return o;if(!(n=t[o]))return!1;if(n.visible)return o;a.push(o),o=n.fill}return!1})(u,d,c),o.boundary=ui(o),o.mapper=(s=r=void 0,r=(a=o).fill,!(s="dataset")===r?null:(isFinite(r)||(s="boundary"),ci[s](a)
1)))},beforeDatasetsDraw:function(t){for(var e,i,n,o,a,r=t._getSortedVisibleDatasetMetas(),s=t.ctx,l=r.length-1;0<=l;--l)if((o=r[l].$filler)&&o.visible&&(i=(e=o.el)._view,n=e._children||[],o=o.mapper,a=i.backgroundColor||T.global.defaultColor,o)&&a&&n.length){W.canvas.clipArea(s,t.chartArea),L=M=S=C=x=k=w=b=_=v=y=g=m=f=p=h=d=u=c=void 0;var c=s,u=n,d=o,h=i,p=a,f=e._loop,m,g,v,y,_,b,w,k=u.length,x=h.spanGaps,C=[],S=[],M=0,L=0;for(c.beginPath(),m=0,g=k;m<g;++m)y=d(v=u[y=m%k]._view,y,h),_=di(v),b=di(y),f&&void 0===w&&_&&(g=k+(w=m+1)),_&&b?(M=C.push(v),L=S.push(y)):M&&L&&(x?(_&&C.push(v),b&&S.push(y)):(hi(c,C,S,M,L),M=L=0,C=[],S=[]));hi(c,C,S,M,L),c.closePath(),c.fillStyle=p,c.fill(),W.canvas.unclipArea(s)}}},pi=W.rtl.getRtlAdapter,_=W.noop,E=W.valueOrDefault;function fi(t,e){return t.usePointStyle&&t.boxWidth>e?e:t.boxWidth}T._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var e=e.datasetIndex,i=this.chart,n=i.getDatasetMeta(e);n.hidden=null===n.hidden?!i.data.datasets[e].hidden:null,i.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(i){var n=i.data.datasets,t=i.options.legend||{},o=t.labels&&t.labels.usePointStyle;return i._getSortedDatasetMetas().map(function(t){var e=t.controller.getStyle(o?0:void 0);return{text:n[t.index].label,fillStyle:e.backgroundColor,hidden:!i.isDatasetVisible(t.index),lineCap:e.borderCapStyle,lineDash:e.borderDash,lineDashOffset:e.borderDashOffset,lineJoin:e.borderJoinStyle,lineWidth:e.borderWidth,strokeStyle:e.borderColor,pointStyle:e.pointStyle,rotation:e.rotation,datasetIndex:t.index}},this)}}},legendCallback:function(t){var e,i,n,o=document.createElement("ul"),a=t.data.datasets;for(o.setAttribute("class",t.id+"-legend"),e=0,i=a.length;e<i;e++)(n=o.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=a[e].backgroundColor,a[e].label&&n.appendChild(document.createTextNode(a[e].label));return o.outerHTML}});var mi=f.extend({initialize:function(t){W.extend(this,t),this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1},beforeUpdate:_,update:function(t,e,i){var n=this;return n.beforeUpdate(),n.maxWidth=t,n.maxHeight=e,n.margins=i,n.beforeSetDimensions(),n.setDimensions(),n.afterSetDimensions(),n.beforeBuildLabels(),n.buildLabels(),n.afterBuildLabels(),n.beforeFit(),n.fit(),n.afterFit(),n.afterUpdate(),n.minSize},afterUpdate:_,beforeSetDimensions:_,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:_,beforeBuildLabels:_,buildLabels:function(){var e=this,i=e.options.labels||{},t=W.callback(i.generateLabels,[e.chart],e)||[];i.filter&&(t=t.filter(function(t){return i.filter(t,e.chart.data)})),e.options.reverse&&t.reverse(),e.legendItems=t},afterBuildLabels:_,beforeFit:_,fit:function(){var i,n,o,a,r,s,l,c,t=this,e=t.options,u=e.labels,e=e.display,d=t.ctx,h=W.options._parseFont(u),p=h.size,f=t.legendHitBoxes=[],m=t.minSize,g=t.isHorizontal();g?(m.width=t.maxWidth,m.height=e?10:0):(m.width=e?10:0,m.height=t.maxHeight),e?(d.font=h.string,g?(i=t.lineWidths=[0],n=0,d.textAlign="left",d.textBaseline="middle",W.each(t.legendItems,function(t,e){t=fi(u,p)+p/2+d.measureText(t.text).width;(0===e||i[i.length-1]+t+2*u.padding>m.width)&&(n+=p+u.padding,i[i.length-(0<e?0:1)]=0),f[e]={left:0,top:0,width:t,height:p},i[i.length-1]+=t+u.padding}),m.height+=n):(o=u.padding,a=t.columnWidths=[],r=t.columnHeights=[],s=u.padding,c=l=0,W.each(t.legendItems,function(t,e){t=fi(u,p)+p/2+d.measureText(t.text).width;0<e&&c+p+2*o>m.height&&(s+=l+u.padding,a.push(l),r.push(c),c=l=0),l=Math.max(l,t),c+=p+o,f[e]={left:0,top:0,width:t,height:p}}),s+=l,a.push(l),r.push(c),m.width+=s),t.width=m.width,t.height=m.height):t.width=m.width=t.height=m.height=0},afterFit:_,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var h,p,t,f,m,g,v,y,_,b,w=this,i=w.options,k=i.labels,e=T.global,x=e.defaultColor,C=e.elements.line,S=w.height,M=w.columnHeights,L=w.width,A=w.lineWidths;
1i.display&&(h=pi(i.rtl,w.left,w.minSize.width),p=w.ctx,e=E(k.fontColor,e.defaultFontColor),t=W.options._parseFont(k),f=t.size,p.textAlign=h.textAlign("left"),p.textBaseline="middle",p.lineWidth=.5,p.strokeStyle=e,p.fillStyle=e,p.font=t.string,m=fi(k,f),g=w.legendHitBoxes,v=function(t,e){switch(i.align){case"start":return k.padding;case"end":return t-e;default:return(t-e+k.padding)/2}},y=w.isHorizontal(),_=y?{x:w.left+v(L,A[0]),y:w.top+k.padding,line:0}:{x:w.left+k.padding,y:w.top+v(S,M[0]),line:0},W.rtl.overrideTextDirection(w.ctx,i.textDirection),b=f+k.padding,W.each(w.legendItems,function(t,e){var i,n,o,a,r,s,l=p.measureText(t.text).width,c=m+f/2+l,u=_.x,d=_.y,u=(h.setWidth(w.minSize.width),y?0<e&&u+c+k.padding>w.left+w.minSize.width&&(d=_.y+=b,_.line++,u=_.x=w.left+v(L,A[_.line])):0<e&&d+b>w.top+w.minSize.height&&(u=_.x=u+w.columnWidths[_.line]+k.padding,_.line++,d=_.y=w.top+v(S,M[_.line])),h.x(u));i=u,n=d,o=t,isNaN(m)||m<=0||(p.save(),a=E(o.lineWidth,C.borderWidth),p.fillStyle=E(o.fillStyle,x),p.lineCap=E(o.lineCap,C.borderCapStyle),p.lineDashOffset=E(o.lineDashOffset,C.borderDashOffset),p.lineJoin=E(o.lineJoin,C.borderJoinStyle),p.lineWidth=a,p.strokeStyle=E(o.strokeStyle,x),p.setLineDash&&p.setLineDash(E(o.lineDash,C.borderDash)),k&&k.usePointStyle?(r=m*Math.SQRT2/2,s=h.xPlus(i,m/2),W.canvas.drawPoint(p,o.pointStyle,r,s,n+f/2,o.rotation)):(p.fillRect(h.leftForLtr(i,m),n,m,f),0!==a&&p.strokeRect(h.leftForLtr(i,m),n,m,f)),p.restore()),g[e].left=h.leftForLtr(u,g[e].width),g[e].top=d,r=d,s=t,o=l,a=f/2,i=h.xPlus(u,m+a),r+=a,p.fillText(s.text,i,r),s.hidden&&(p.beginPath(),p.lineWidth=2,p.moveTo(i,r),p.lineTo(h.xPlus(i,o),r),p.stroke()),y?_.x+=c+k.padding:_.y+=b}),W.rtl.restoreTextDirection(w.ctx,i.textDirection))},_getLegendItemAt:function(t,e){var i,n,o;if(t>=this.left&&t<=this.right&&e>=this.top&&e<=this.bottom)for(o=this.legendHitBoxes,i=0;i<o.length;++i)if(t>=(n=o[i]).left&&t<=n.left+n.width&&e>=n.top&&e<=n.top+n.height)return this.legendItems[i];return null},handleEvent:function(t){var e,i=this.options,n="mouseup"===t.type?"click":t.type;if("mousemove"===n){if(!i.onHover&&!i.onLeave)return}else{if("click"!==n)return;if(!i.onClick)return}e=this._getLegendItemAt(t.x,t.y),"click"===n?e&&i.onClick&&i.onClick.call(this,t.native,e):(i.onLeave&&e!==this._hoveredItem&&(this._hoveredItem&&i.onLeave.call(this,t.native,this._hoveredItem),this._hoveredItem=e),i.onHover&&e&&i.onHover.call(this,t.native,e))}});function gi(t,e){var i=new mi({ctx:t.ctx,options:e,chart:t});b.configure(t,i,e),b.addBox(t,i),t.legend=i}var a={id:"legend",_element:mi,beforeInit:function(t){var e=t.options.legend;e&&gi(t,e)},beforeUpdate:function(t){var e=t.options.legend,i=t.legend;e?(W.mergeIf(e,T.global.legend),i?(b.configure(t,i,e),i.options=e):gi(t,e)):i&&(b.removeBox(t,i),delete t.legend)},afterEvent:function(t,e){t=t.legend;t&&t.handleEvent(e)}},e=W.noop,vi=(T._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}}),f.extend({initialize:function(t){W.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:e,update:function(t,e,i){var n=this;return n.beforeUpdate(),n.maxWidth=t,n.maxHeight=e,n.margins=i,n.beforeSetDimensions(),n.setDimensions(),n.afterSetDimensions(),n.beforeBuildLabels(),n.buildLabels(),n.afterBuildLabels(),n.beforeFit(),n.fit(),n.afterFit(),n.afterUpdate(),n.minSize},afterUpdate:e,beforeSetDimensions:e,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:e,beforeBuildLabels:e,buildLabels:e,afterBuildLabels:e,beforeFit:e,fit:function(){var t=this.options,e=this.minSize={},i=this.isHorizontal();t.display?(t=(W.isArray(t.text)?t.text.length:1)*W.options._parseFont(t).lineHeight+2*t.padding,this.width=e.width=i?this.maxWidth:t,this.height=e.height=i?t:this.maxHeight):this.width=e.width=this.height=e.height=0},afterFit:e,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this.ctx,e=this.options;if(e.display){var i,n,o,a=W.options._parseFont(e),r=a.lineHeight,s=r/2+e.padding,l=0,c=this.top,u=this.left,d=this.bottom,h=this.right,p=(t.fillStyle=W.valueOrDefault(e.fontColor,T.global.defaultFontColor),t.font=a.string,this.isHorizontal()?(n=u+(h-u)/2,o=c+s,i=h-u):(n="left"===e.position?u+s:h-s,o=c+(d-c)/2,i=d-c,l=Math.PI*("left"===e.position?-.5:.5)),t.save(),t.translate(n,o),t.rotate(l),t.textAlign="center",t.textBaseline="middle",e.text);if(W.isArray(p))for(var f=0,m=0;m<p.length;++m)t.fillText(p[m],0,f,i),f+=r;else t.fillText(p,0,0,i);
1t.restore()}}}));function yi(t,e){var i=new vi({ctx:t.ctx,options:e,chart:t});b.configure(t,i,e),b.addBox(t,i),t.titleBlock=i}var _i,z={},jt=a,Dt={id:"title",_element:vi,beforeInit:function(t){var e=t.options.title;e&&yi(t,e)},beforeUpdate:function(t){var e=t.options.title,i=t.titleBlock;e?(W.mergeIf(e,T.global.title),i?(b.configure(t,i,e),i.options=e):yi(t,e)):i&&(b.removeBox(t,i),delete t.titleBlock)}};for(_i in z.filler=Et,z.legend=jt,z.title=Dt,(A.helpers=W).where=function(t,e){var i;return W.isArray(t)&&Array.prototype.filter?t.filter(e):(i=[],W.each(t,function(t){e(t)&&i.push(t)}),i)},W.findIndex=Array.prototype.findIndex?function(t,e,i){return t.findIndex(e,i)}:function(t,e,i){i=void 0===i?t:i;for(var n=0,o=t.length;n<o;++n)if(e.call(i,t[n],n,t))return n;return-1},W.findNextWhere=function(t,e,i){for(var n=(i=W.isNullOrUndef(i)?-1:i)+1;n<t.length;n++){var o=t[n];if(e(o))return o}},W.findPreviousWhere=function(t,e,i){for(var n=(i=W.isNullOrUndef(i)?t.length:i)-1;0<=n;n--){var o=t[n];if(e(o))return o}},W.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},W.almostEquals=function(t,e,i){return Math.abs(t-e)<i},W.almostWhole=function(t,e){var i=Math.round(t);return i-e<=t&&t<=i+e},W.max=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.max(t,e)},Number.NEGATIVE_INFINITY)},W.min=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.min(t,e)},Number.POSITIVE_INFINITY)},W.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:0<t?1:-1},W.toRadians=function(t){return t*(Math.PI/180)},W.toDegrees=function(t){return t*(180/Math.PI)},W._decimalPlaces=function(t){if(W.isFinite(t)){for(var e=1,i=0;Math.round(t*e)/e!==t;)e*=10,i++;return i}},W.getAngleFromPoint=function(t,e){var i=e.x-t.x,e=e.y-t.y,t=Math.sqrt(i*i+e*e),e=Math.atan2(e,i);return e<-.5*Math.PI&&(e+=2*Math.PI),{angle:e,distance:t}},W.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},W.aliasPixel=function(t){return t%2==0?0:.5},W._alignPixel=function(t,e,i){t=t.currentDevicePixelRatio,i/=2;return Math.round((e-i)*t)/t+i},W.splineCurve=function(t,e,i,n){var t=t.skip?e:t,o=e,e=i.skip?e:i,i=Math.sqrt(Math.pow(o.x-t.x,2)+Math.pow(o.y-t.y,2)),a=Math.sqrt(Math.pow(e.x-o.x,2)+Math.pow(e.y-o.y,2)),r=i/(i+a),i=a/(i+a),a=n*(isNaN(r)?0:r),r=n*(isNaN(i)?0:i);return{previous:{x:o.x-a*(e.x-t.x),y:o.y-a*(e.y-t.y)},next:{x:o.x+r*(e.x-t.x),y:o.y+r*(e.y-t.y)}}},W.EPSILON=Number.EPSILON||1e-14,W.splineCurveMonotone=function(t){for(var e,i,n,o,a,r,s,l,c=(t||[]).map(function(t){return{model:t._model,deltaK:0,mK:0}}),u=c.length,d=0;d<u;++d)(e=c[d]).model.skip||(l=0<d?c[d-1]:null,(i=d<u-1?c[d+1]:null)&&!i.model.skip&&(s=i.model.x-e.model.x,e.deltaK=0!=s?(i.model.y-e.model.y)/s:0),!l||l.model.skip?e.mK=e.deltaK:!i||i.model.skip?e.mK=l.deltaK:this.sign(l.deltaK)!==this.sign(e.deltaK)?e.mK=0:e.mK=(l.deltaK+e.deltaK)/2);for(d=0;d<u-1;++d)e=c[d],i=c[d+1],e.model.skip||i.model.skip||(W.almostEquals(e.deltaK,0,this.EPSILON)?e.mK=i.mK=0:(n=e.mK/e.deltaK,o=i.mK/e.deltaK,(a=Math.pow(n,2)+Math.pow(o,2))<=9||(a=3/Math.sqrt(a),e.mK=n*a*e.deltaK,i.mK=o*a*e.deltaK)));for(d=0;d<u;++d)(e=c[d]).model.skip||(l=0<d?c[d-1]:null,i=d<u-1?c[d+1]:null,l&&!l.model.skip&&(r=(e.model.x-l.model.x)/3,e.model.controlPointPreviousX=e.model.x-r,e.model.controlPointPreviousY=e.model.y-r*e.mK),i&&!i.model.skip&&(r=(i.model.x-e.model.x)/3,e.model.controlPointNextX=e.model.x+r,e.model.controlPointNextY=e.model.y+r*e.mK))},W.nextItem=function(t,e,i){return i?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},W.previousItem=function(t,e,i){return i?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},W.niceNum=function(t,e){var i=Math.floor(W.log10(t)),t=t/Math.pow(10,i);return(e?t<1.5?1:t<3?2:t<7?5:10:t<=1?1:t<=2?2:t<=5?5:10)*Math.pow(10,i)},W.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},W.getRelativePosition=function(t,e){var i,n=t.originalEvent||t,t=t.target||t.srcElement,o=t.getBoundingClientRect(),a=n.touches,a=(a&&0<a.length?(i=a[0].clientX,a[0]):(i=n.clientX,n)).clientY,n=parseFloat(W.getStyle(t,"padding-left")),r=parseFloat(W.getStyle(t,"padding-top")),s=parseFloat(W.getStyle(t,"padding-right")),l=parseFloat(W.getStyle(t,"padding-bottom")),s=o.right-o.left-n-s,l=o.bottom-o.top-r-l;return{x:i=Math.round((i-o.left-n)/s*t.width/e.currentDevicePixelRatio),y:a=Math.round((a-o.top-r)/l*t.height/e.currentDevicePixelRatio)}},W.getConstraintWidth=function(t){return ki(t,"max-width","clientWidth")},W.getConstraintHeight=function(t){return ki(t,"max-height","clientHeight")}
1,W._calculatePadding=function(t,e,i){return-1<(e=W.getStyle(t,e)).indexOf("%")?i*parseInt(e,10)/100:parseInt(e,10)},W._getParentNode=function(t){t=t.parentNode;return t=t&&"[object ShadowRoot]"===t.toString()?t.host:t},W.getMaximumWidth=function(t){var e,i=W._getParentNode(t);return i?(i=(e=i.clientWidth)-W._calculatePadding(i,"padding-left",e)-W._calculatePadding(i,"padding-right",e),e=W.getConstraintWidth(t),isNaN(e)?i:Math.min(i,e)):t.clientWidth},W.getMaximumHeight=function(t){var e,i=W._getParentNode(t);return i?(i=(e=i.clientHeight)-W._calculatePadding(i,"padding-top",e)-W._calculatePadding(i,"padding-bottom",e),e=W.getConstraintHeight(t),isNaN(e)?i:Math.min(i,e)):t.clientHeight},W.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},W.retinaScale=function(t,e){var i,n,o,e=t.currentDevicePixelRatio=e||"undefined"!=typeof window&&window.devicePixelRatio||1;1!==e&&(i=t.canvas,o=t.width,i.height=(n=t.height)*e,i.width=o*e,t.ctx.scale(e,e),i.style.height||i.style.width||(i.style.height=n+"px",i.style.width=o+"px"))},W.fontString=function(t,e,i){return e+" "+t+"px "+i},W.longestText=function(t,e,i,n){var o=(n=n||{}).data=n.data||{},a=n.garbageCollect=n.garbageCollect||[];n.font!==e&&(o=n.data={},a=n.garbageCollect=[],n.font=e),t.font=e;for(var r,s,l,c,u=0,d=i.length,h=0;h<d;h++)if(null!=(l=i[h])&&!0!==W.isArray(l))u=W.measureText(t,o,a,u,l);else if(W.isArray(l))for(r=0,s=l.length;r<s;r++)null==(c=l[r])||W.isArray(c)||(u=W.measureText(t,o,a,u,c));var p=a.length/2;if(i.length<p){for(h=0;h<p;h++)delete o[a[h]];a.splice(0,p)}return u},W.measureText=function(t,e,i,n,o){var a=e[o];return a||(a=e[o]=t.measureText(o).width,i.push(o)),n=n<a?a:n},W.numberOfLabelLines=function(t){var e=1;return W.each(t,function(t){W.isArray(t)&&t.length>e&&(e=t.length)}),e},W.color=X?function(t){return t instanceof CanvasGradient&&(t=T.global.defaultColor),X(t)}:function(t){return console.error("Color.js not found!"),t},W.getHoverColor=function(t){return t instanceof CanvasPattern||t instanceof CanvasGradient?t:W.color(t).saturate(.5).darken(.1).rgbString()},A._adapters=Se,A.Animation=st,A.animationService=lt,A.controllers=Ot,A.DatasetController=m,A.defaults=T,A.Element=f,A.elements=v,A.Interaction=Ht,A.layouts=b,A.platform=le,A.plugins=k,A.Scale=I,A.scaleService=ce,A.Ticks=t,A.Tooltip=me,A.helpers.each(o,function(t,e){A.scaleService.registerScaleType(e,t,t._defaults)}),z)z.hasOwnProperty(_i)&&A.plugins.register(z[_i]);function bi(t,e,i){var n;return"string"==typeof t?(n=parseInt(t,10),-1!==t.indexOf("%")&&(n=n/100*e.parentNode[i])):n=t,n}function wi(t){return null!=t&&"none"!==t}function ki(t,e,i){var n=document.defaultView,o=W._getParentNode(t),a=n.getComputedStyle(t)[e],n=n.getComputedStyle(o)[e],e=wi(a),r=wi(n),s=Number.POSITIVE_INFINITY;return e||r?Math.min(e?bi(a,t,i):s,r?bi(n,o,i):s):"none"}A.platform.initialize();_=A;return"undefined"!=typeof window&&(window.Chart=A),(A.Chart=A).Legend=z.legend._element,A.Title=z.title._element,A.pluginService=A.plugins,A.PluginBase=A.Element.extend({}),A.canvasHelpers=A.helpers.canvas,A.layoutService=A.layouts,A.LinearScaleBase=Be,A.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],function(i){A[i]=function(t,e){return new A(t,A.helpers.merge(e||{},{type:i.charAt(0).toLowerCase()+i.slice(1)}))}}),_});var aria=aria||{},aria=(aria.GridCombobox=function(t,e,i){this.input=t,this.grid=e,this.searchFn=i,this.activeRowIndex=-1,this.activeColIndex=0,this.rowsCount=0,this.colsCount=0,this.gridFocused=!1,this.shown=!1,this.selectionCol=0,this.gridWrapper=e.parentElement.parentElement,this.firstFocusEl=this.input,this.lastFocusEl=this.gridWrapper.querySelector(".btn-close-combobox"),this.setupEvents()},aria.GridCombobox.prototype.setupEvents=function(){document.body.addEventListener("click",this.handleBodyClick.bind(this)),this.input.addEventListener("keyup",this.handleInputKeyUp.bind(this)),this.input.addEventListener("keydown",this.handleInputKeyDown.bind(this)),this.input.addEventListener("focus",this.handleInputFocus.bind(this)),this.grid.addEventListener("click",this.handleGridClick.bind(this)),this.gridWrapper.addEventListener("keydown",this.handleGridWrapperKeyDown.bind(this))},aria.GridCombobox.prototype.handleBodyClick=function(t){t.target===this.input||this.grid.parentElement.contains(t.target)&&!t.target.hasAttribute("data-close-parent")||this.hideResults()},aria.GridCombobox.prototype.handleInputKeyUp=function(t){switch(t.which||t.keyCode){case aria.KeyCode.UP:case aria.KeyCode.DOWN:case aria.KeyCode.ESC:case aria.KeyCode.RETURN:return void t.preventDefault();case aria.KeyCode.LEFT:case aria.KeyCode.RIGHT:this.gridFocused&&t.preventDefault();break;default:this.updateResults()}},aria.GridCombobox.prototype.handleInputKeyDown=function(t){var e=t.which||t.keyCode,i=this.activeRowIndex,n=this.activeColIndex;if(e===aria.KeyCode.ESC)this.gridFocused?(this.gridFocused=!1,this.removeFocusCell(this.activeRowIndex,this.activeColIndex),this.activeRowIndex=-1,this.activeColIndex=0,this.input.setAttribute("aria-activedescendant","")):this.shown||setTimeout(function(){this.input.value=""}.bind(this),1),this.shown&&this.hideResults();else if(!(this.rowsCount<1)){var o,a=this.getItemAt(i,this.selectionCol);switch(e){case aria.KeyCode.UP:case aria.KeyCode.DOWN:this.gridFocused=!0,i=this.getRowIndex(e),t.preventDefault();break;case aria.KeyCode.LEFT:n<=0?(n=this.colsCount-1,i=this.getRowIndex(e)):n--,this.gridFocused&&t.preventDefault();break;case aria.KeyCode.RIGHT:-1===n||n>=this.colsCount-1?(n=0,i=this.getRowIndex(e)):n++,this.gridFocused&&t.preventDefault();break;case aria.KeyCode.RETURN:return o=this.getItemAt(i,this.selectionCol),this.selectItem(o),void(this.gridFocused=!1);default:return}a&&(this.removeFocusCell(this.activeRowIndex,this.activeColIndex),a.setAttribute("aria-selected","false")),o=this.getItemAt(i,n),this.activeRowIndex=i,this.activeColIndex=n,o?(this.input.setAttribute("aria-activedescendant","result-item-"+i+"x"+n),this.focusCell(i,n),this.getItemAt(i,this.selectionCol).setAttribute("aria-selected","true")):this.input.setAttribute("aria-activedescendant","")}},aria.GridCombobox.prototype.handleInputFocus=function(){this.updateResults()},aria.GridCombobox.prototype.handleGridClick=function(t){if(t.target){var e;if("row"===t.target.getAttribute("role"))e=t.target;else{if("gridcell"!==t.target.getAttribute("role"))return;e=t.target.parentNode}t=e.querySelector(".result-cell");this.selectItem(t)}},aria.GridCombobox.prototype.isElementInView=function(t){t=t.getBoundingClientRect();return 0<=t.top&&0<=t.left&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)},aria.GridCombobox.prototype.updateResults=function(){var t=this.input.value,e=this.searchFn(t);if(this.hideResults(),(e=t?e:[]).length){for(var i=0;i<e.length;i++){var n=document.createElement("div");n.className="result-row",n.setAttribute("role","row"),n.setAttribute("id","result-row-"+i);for(var o=0;o<e[i].length;o++){var a=document.createElement("div");a.className="result-cell",a.setAttribute("role","gridcell"),a.setAttribute("id","result-item-"+i+"x"+o),a.innerText=e[i][o],n.appendChild(a)}this.grid.appendChild(n)}aria.Utils.removeClass(this.grid,"hidden"),this.input.setAttribute("aria-expanded","true"),this.rowsCount=e.length,this.colsCount=e.length?e[0].length:0,this.shown=!0,this.callbackOpen&&this.callbackOpen()}},aria.GridCombobox.prototype.getRowIndex=function(t){var e=this.activeRowIndex;switch(t){case aria.KeyCode.UP:case aria.KeyCode.LEFT:e<=0?e=this.rowsCount-1:e--;break;case aria.KeyCode.DOWN:case aria.KeyCode.RIGHT:-1===e||e>=this.rowsCount-1?e=0:e++}return e},aria.GridCombobox.prototype.getItemAt=function(t,e){return document.getElementById("result-item-"+t+"x"+e)},aria.GridCombobox.prototype.selectItem=function(t){t&&(this.input.value=t.innerText,t=new Event("change",{bubbles:!0}),this.input.dispatchEvent(t))},aria.GridCombobox.prototype.hideResults=function(){this.gridFocused=!1,this.shown=!1,this.activeRowIndex=-1,this.activeColIndex=0,this.grid.innerHTML="",aria.Utils.addClass(this.grid,"hidden"),this.input.setAttribute("aria-expanded","fal
1se"),this.rowsCount=0,this.colsCount=0,this.input.setAttribute("aria-activedescendant",""),this.isElementInView(this.input)||this.input.scrollIntoView({behavior:"smooth",block:"nearest"}),this.callbackClose&&this.callbackClose()},aria.GridCombobox.prototype.removeFocusCell=function(t,e){var i=document.getElementById("result-row-"+t),i=(aria.Utils.removeClass(i,"focused"),this.getItemAt(t,e));aria.Utils.removeClass(i,"focused-cell")},aria.GridCombobox.prototype.focusCell=function(t,e){var i=document.getElementById("result-row-"+t),i=(aria.Utils.addClass(i,"focused"),this.getItemAt(t,e));aria.Utils.addClass(i,"focused-cell"),i.scrollIntoView({behavior:"smooth",block:"nearest"})},aria.GridCombobox.prototype.addCallbackOpen=function(t){this.callbackOpen=t},aria.GridCombobox.prototype.addCallbackClose=function(t){this.callbackClose=t},aria.GridCombobox.prototype.handleGridWrapperKeyDown=function(t){(t.which||t.keyCode)===aria.KeyCode.TAB&&(t.shiftKey?this.firstFocusEl&&this.firstFocusEl===document.activeElement&&this.hideResults():this.lastFocusEl&&this.lastFocusEl===document.activeElement&&this.hideResults())},aria||{}),n,t;function _extends(){return(_extends=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i,n=arguments[e];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}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 r(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 Jt(t,e,i){e&&r(t.prototype,e),i&&r(t,i),Object.defineProperty(t,"prototype",{writable:!1})}aria.KeyCode={BACKSPACE:8,TAB:9,RETURN:13,SHIFT:16,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},aria.Utils=aria.Utils||{},aria.Utils.matches=function(n,t){return Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(t){for(var e=n.parentNode.querySelectorAll(t),i=e.length;0<=--i&&e.item(i)!==this;);return-1<i}),n.matches(t)},aria.Utils.remove=function(t){return t.remove&&"function"==typeof t.remove?t.remove():!(!t.parentNode||!t.parentNode.removeChild||"function"!=typeof t.parentNode.removeChild)&&t.parentNode.removeChild(t)},aria.Utils.isFocusable=function(t){if(t.tabIndex<0)return!1;if(t.disabled)return!1;switch(t.nodeName){case"A":return!!t.href&&"ignore"!=t.rel;case"INPUT":return"hidden"!=t.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},aria.Utils.getAncestorBySelector=function(t,e){if(!aria.Utils.matches(t,e+" "+t.tagName))return null;for(var i=t,n=null;null===n;)aria.Utils.matches(i.parentNode,e)?n=i.parentNode:i=i.parentNode;return n},aria.Utils.hasClass=function(t,e){return new RegExp("(\\s|^)"+e+"(\\s|$)").test(t.className)},aria.Utils.addClass=function(t,e){aria.Utils.hasClass(t,e)||(t.className+=" "+e)},aria.Utils.removeClass=function(t,e){e=new RegExp("(\\s|^)"+e+"(\\s|$)");t.className=t.className.replace(e," ").trim()},aria.Utils.bindMethods=function(e){Array.prototype.slice.call(arguments,1).forEach(function(t){e[t]=e[t].bind(e)})},(t=>{"function"==typeof define&&define.amd?define(["jquery","moment"],t):"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery"),require("moment")):t(jQuery,moment)})(function(X,K){X.dateRangePickerLanguages={default:{selected:"Selected:",day:"Day",days:"Days",apply:"Close","week-1":"mo","week-2":"tu","week-3":"we","week-4":"th","week-5":"fr","week-6":"sa","week-7":"su","week-number":"W","month-name":["january","february","march","april","may","june","july","august","september","october","november","december"],shortcuts:"Shortcuts","custom-values":"Custom Values",past:"Past",following:"Following",previous:"Previous","prev-week":"Week","prev-month":"Month","prev-year":"Year",next:"Next","next-week":"Week","next-month":"Month","
1next-year":"Year","less-than":"Date range should not be more than %d days","more-than":"Date range should not be less than %d days","default-more":"Please select a date range longer than %d days","default-single":"Please select a date","default-less":"Please select a date range less than %d days","default-range":"Please select a date range between %d and %d days","default-default":"Please select a date range",time:"Time",hour:"Hour",minute:"Minute"},de:{selected:"Auswahl:",day:"Tag",days:"Tage",apply:"Schließen","week-1":"mo","week-2":"di","week-3":"mi","week-4":"do","week-5":"fr","week-6":"sa","week-7":"so","month-name":["januar","februar","märz","april","mai","juni","juli","august","september","oktober","november","dezember"],shortcuts:"Schnellwahl",past:"Vorherige",following:"Folgende",previous:"Vorherige","prev-week":"Woche","prev-month":"Monat","prev-year":"Jahr",next:"Nächste","next-week":"Woche","next-month":"Monat","next-year":"Jahr","less-than":"Datumsbereich darf nicht größer sein als %d Tage","more-than":"Datumsbereich darf nicht kleiner sein als %d Tage","default-more":"Bitte mindestens %d Tage auswählen","default-single":"Bitte ein Datum auswählen","default-less":"Bitte weniger als %d Tage auswählen","default-range":"Bitte einen Datumsbereich zwischen %d und %d Tagen auswählen","default-default":"Bitte ein Start- und Enddatum auswählen",Time:"Zeit",hour:"Stunde",minute:"Minute"},es:{selected:"Seleccionado:",day:"Día",days:"Días",apply:"Cerrar","week-1":"lu","week-2":"ma","week-3":"mi","week-4":"ju","week-5":"vi","week-6":"sa","week-7":"do","month-name":["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],shortcuts:"Accesos directos",past:"Pasado",following:"Siguiente",previous:"Anterior","prev-week":"Semana","prev-month":"Mes","prev-year":"Año",next:"Siguiente","next-week":"Semana","next-month":"Mes","next-year":"Año","less-than":"El rango no debería ser mayor de %d días","more-than":"El rango no debería ser menor de %d días","default-more":"Por favor selecciona un rango mayor a %d días","default-single":"Por favor selecciona un día","default-less":"Por favor selecciona un rango menor a %d días","default-range":"Por favor selecciona un rango entre %d y %d días","default-default":"Por favor selecciona un rango de fechas."},fr:{selected:"Sélection:",day:"Jour",days:"Jours",apply:"Fermer","week-1":"l","week-2":"m","week-3":"m","week-4":"j","week-5":"v","week-6":"s","week-7":"d","month-name":["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],shortcuts:"Raccourcis",past:"Passé",following:"Suivant",previous:"Précédent","prev-week":"Semaine","prev-month":"Mois","prev-year":"Année",next:"Suivant","next-week":"Semaine","next-month":"Mois","next-year":"Année","less-than":"L'intervalle ne doit pas être supérieure à %d jours","more-than":"L'intervalle ne doit pas être inférieure à %d jours","default-more":"Merci de choisir une intervalle supérieure à %d jours","default-single":"Merci de choisir une date","default-less":"Merci de choisir une intervalle inférieure %d jours","default-range":"Merci de choisir une intervalle comprise entre %d et %d jours","default-default":"Merci de choisir une date"},it:{selected:"Selezionati:",day:"Giorno",days:"Giorni",apply:"Chiudi","week-1":"lu","week-2":"ma","week-3":"me","week-4":"gi","week-5":"ve","week-6":"sa","week-7":"do","month-name":["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"],shortcuts:"Scorciatoie",past:"Scorso",following:"Successivo",previous:"Precedente","prev-week":"Settimana","prev-month":"Mese","prev-year":"Anno",next:"Prossimo","next-week":"Settimana","next-month":"Mese","next-year":"Anno","less-than":"L'intervallo non dev'essere maggiore di %d giorni","more-than":"L'intervallo non dev'essere minore di %d giorni","default-more":"Seleziona un intervallo maggiore di %d giorni","default-single":"Seleziona una data","default-less":"Seleziona un intervallo minore di %d giorni","default-range":"Seleziona un intervallo compreso tra i %d e i %d giorni","default-default":"Seleziona un intervallo di date"},nl:{selected:"Geselecteerd:",day:"Dag",days:"Dagen",apply:"Ok","week-1":"ma","week-2":"di","week-3":"wo","week-4":"do","week-5":"vr","week-6":"za","week-7":"zo","month-name":["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],shortcuts:"Snelkoppelingen","custom-values":"Aangepaste waarden",past:"Verleden",following:"Komend",previous:"Vorige","prev-week":"Week","prev-month":"Maand","prev-year":"Jaar",next:"Volgende","next-week":"Week","next-month":"Maand","next-year":"Jaar","less-than":"Interval moet langer dan %d dagen zijn","more-than":"Interval mag niet minder dan %d dagen zijn","default-more":"Selecteer een interval langer dan %dagen","default-single":"Selecteer een datum","default-less":"Selecteer een interval minder dan %d dagen","default-range":"Selecteer een interval tussen %d en %d dagen","default-default":"Selecteer een interval",time:"Tijd",hour:"Uur",minute:"Minuut"}},X.fn.dateRangePicker=function(p){p=p||{},(p=X.extend(!0,{autoClose:!1,format:"YYYY-MM-DD",separator:" to ",language:"auto",startOfWeek:"sunday",getValue:function(){return X(this).val()},setValue:function(t){X(this).attr("readonly")||X(this).is(":disabled")||t==X(this).val()||X(this).val(t)},startDate:!1,endDate:!1,time:{enabled:!1},minDays:0,maxDays:0,showShortcuts:!1,shortcuts:{},customShortcuts:[],inline:!1,container:"body",alwaysOpen:!1,singleDate:!1,lookBehind:!1,batchMode:!1,duration:200,stickyMonths:!1,dayDivAttrs:[],dayTdAttrs:[],selectForward:!1,selectBackward:!1,applyBtnClass:"",singleMonth:"auto",hoveringTooltip:function(t,e,
1i){return 1<t?t+" "+j("days"):""},showTopbar:!0,swapTime:!1,showWeekNumbers:!1,getWeekNumber:function(t){return K(t).format("w")},customOpenAnimation:null,customCloseAnimation:null,customArrowPrevSymbol:null,customArrowNextSymbol:null,monthSelect:!1,yearSelect:!1},p)).start=!1,p.end=!1,p.startWeek=!1,p.isTouchDevice="ontouchstart"in window||navigator.msMaxTouchPoints,p.isTouchDevice&&(p.hoveringTooltip=!1),"auto"==p.singleMonth&&(p.singleMonth=X(window).width()<480),p.singleMonth&&(p.stickyMonths=!1),p.showTopbar||(p.autoClose=!0),p.startDate&&"string"==typeof p.startDate&&(p.startDate=K(p.startDate,p.format).toDate()),p.endDate&&"string"==typeof p.endDate&&(p.endDate=K(p.endDate,p.format).toDate()),p.yearSelect&&"boolean"==typeof p.yearSelect&&(p.yearSelect=function(t){return[t-5,t+5]});var c,t,o=(()=>{var t;return"auto"==p.language?(t=navigator.language||navigator.browserLanguage)&&(t=t.toLowerCase())in X.dateRangePickerLanguages?X.dateRangePickerLanguages[t]:X.dateRangePickerLanguages.default:p.language&&p.language in X.dateRangePickerLanguages?X.dateRangePickerLanguages[p.language]:X.dateRangePickerLanguages.default})(),n=!1,a=this,r=X(a).get(0);return X(this).off(".datepicker").on("click.datepicker",function(t){c.is(":visible")||e(p.duration)}).on("change.datepicker",function(t){i()}).on("keyup.datepicker",function(){try{clearTimeout(t)}catch(t){}t=setTimeout(function(){i()},2e3)}),function(){var t,e,i=this;X(this).data("date-picker-opened")?T():(X(this).data("date-picker-opened",!0),(c=(()=>{var t='<div class="date-picker-wrapper',e=(p.extraClass&&(t+=" "+p.extraClass+" "),p.singleDate&&(t+=" single-date "),p.showShortcuts||(t+=" no-shortcuts "),p.showTopbar||(t+=" no-topbar "),p.customTopBar&&(t+=" custom-topbar "),t+='">',p.showTopbar&&(t+='<div class="drp_top-bar">',p.customTopBar?("function"==typeof p.customTopBar&&(p.customTopBar=p.customTopBar()),t+='<div class="custom-top">'+p.customTopBar+"</div>"):(t+='<div class="normal-top"><span class="selection-top">'+j("selected")+' </span> <b class="start-day">...</b>',p.singleDate||(t+=' <span class="separator-day">'+p.separator+'</span> <b class="end-day">...</b> <i class="selected-days">(<span class="selected-days-num">3</span> '+j("days")+")</i>"),t+='</div><div class="error-top">error</div><div class="default-top">default</div>'),t=t+('<input type="button" class="apply-btn disabled'+(()=>{var t="";return!0===p.autoClose&&(t+=" hide"),""!==p.applyBtnClass&&(t+=" "+p.applyBtnClass),t})()+'" value="'+j("apply"))+'" /></div>'),p.showWeekNumbers?6:5),i="&lt;";p.customArrowPrevSymbol&&(i=p.customArrowPrevSymbol);var n,o="&gt;";if(p.customArrowNextSymbol&&(o=p.customArrowNextSymbol),t+='<div class="month-wrapper">   <table class="month1" cellspacing="0" border="0" cellpadding="0">       <thead>           <tr class="caption">               <th>                   <span class="prev">'+i+'                   </span>               </th>               <th colspan="'+e+'" class="month-name">               </th>               <th>'+(p.singleDate||!p.stickyMonths?'<span class="next">'+o+"</span>":"")+'               </th>           </tr>           <tr class="week-name">'+q()+"       </thead>       <tbody></tbody>   </table>",p.singleMonth||(t+='<div class="gap">'+(()=>{for(var t=['<div class="gap-top-mask"></div><div class="gap-bottom-mask"></div><div class="gap-lines">'],e=0;e<20;e++)t.push('<div class="gap-line"><div class="gap-1"></div><div class="gap-2"></div><div class="gap-3"></div></div>');return t.push("</div>"),t.join("")})()+'</div><table class="month2" cellspacing="0" border="0" cellpadding="0">   <thead>   <tr class="caption">       <th>'+(p.stickyMonths?"":'<span class="prev">'+i+"</span>")+'       </th>       <th colspan="'+e+'" class="month-name">       </th>       <th>           <span class="next">'+o+'</span>       </th>   </tr>   <tr class="week-name">'+q()+"   </thead>   <tbody></tbody></table>"),t+='<div class="dp-clearfix"></div><div class="time"><div class="time1"></div>',p.singleDate||(t+='<div class="time2"></div>'),t+='</div><div class="dp-clearfix"></div></div><div class="footer">',p.showShortcuts){t+='<div class="shortcuts"><b>'+j("shortcuts")+"</b>";var a=p.shortcuts;if(a){if(a["prev-days"]&&0<a["prev-days"].length){t+='&nbsp;<span class="prev-days">'+j("past");for(var r=0;r<a["prev-days"].length;r++)n=a["prev-days"][r],n+=1<a["prev-days"][r]?j("days"):j("day"),t+=' <a href="javascript:;" shortcut="day,-'+a["prev-days"][r]+'">'+n+"</a>";t+="</span>"}if(a["next-days"]&&0<a["next-days"].length){t+='&nbsp;
1<span class="next-days">'+j("following");for(r=0;r<a["next-days"].length;r++)n=a["next-days"][r],n+=1<a["next-days"][r]?j("days"):j("day"),t+=' <a href="javascript:;" shortcut="day,'+a["next-days"][r]+'">'+n+"</a>";t+="</span>"}if(a.prev&&0<a.prev.length){t+='&nbsp;<span class="prev-buttons">'+j("previous");for(r=0;r<a.prev.length;r++)n=j("prev-"+a.prev[r]),t+=' <a href="javascript:;" shortcut="prev,'+a.prev[r]+'">'+n+"</a>";t+="</span>"}if(a.next&&0<a.next.length){t+='&nbsp;<span class="next-buttons">'+j("next");for(r=0;r<a.next.length;r++)n=j("next-"+a.next[r]),t+=' <a href="javascript:;" shortcut="next,'+a.next[r]+'">'+n+"</a>";t+="</span>"}}if(p.customShortcuts)for(r=0;r<p.customShortcuts.length;r++){var s=p.customShortcuts[r];t+='&nbsp;<span class="custom-shortcut"><a href="javascript:;" shortcut="custom">'+s.name+"</a></span>"}t+="</div>"}if(p.showCustomValues&&(t+='<div class="customValues"><b>'+(p.customValueLabel||j("custom-values"))+"</b>",p.customValues))for(r=0;r<p.customValues.length;r++){var l=p.customValues[r];t+='&nbsp;<span class="custom-value"><a href="javascript:;" custom="'+l.value+'">'+l.name+"</a></span>"}return X(t+="</div></div>")})().hide()).append('<div class="date-range-length-tip"></div>'),X(p.container).append(c),p.inline?c.addClass("inline-wrapper"):s(),p.alwaysOpen&&c.find(".apply-btn").hide(),e=Z(),Y(e),p.time.enabled&&(p.startDate&&p.endDate||p.start&&p.end?(M(K(p.start||p.startDate).toDate(),"time1"),M(K(p.end||p.endDate).toDate(),"time2")):(t=p.defaultEndTime||e,M(e,"time1"),M(t,"time2"))),e="",e=p.singleDate?j("default-single"):p.minDays&&p.maxDays?j("default-range"):p.minDays?j("default-more"):p.maxDays?j("default-less"):j("default-default"),c.find(".default-top").html(e.replace(/\%d/,p.minDays).replace(/\%d/,p.maxDays)),p.singleMonth?c.addClass("single-month"):c.addClass("two-months"),setTimeout(function(){u(),n=!0},0),c.click(function(t){t.stopPropagation()}),X(document).on("click.datepicker",G),c.find(".next").click(function(){var t,e;p.stickyMonths?(t=P(p.month1),z(e=P(p.month2))||!p.singleDate&&0<=I(t,e)||(S(t,"month1"),S(e,"month2"),C())):(t=X(t=this).parents("table").hasClass("month2"),e=P(e=t?p.month2:p.month1),!p.singleMonth&&!p.singleDate&&!t&&0<=I(e,p.month2)||z(e)||(S(e,t?"month2":"month1"),A()))}),c.find(".prev").click(function(){var t,e;p.stickyMonths?(e=E(p.month1),t=E(p.month2),z(e)||!p.singleDate&&I(t,e)<=0||(S(t,"month2"),S(e,"month1"),C())):(t=X(t=this).parents("table").hasClass("month2"),e=E(e=t?p.month2:p.month1),t&&I(e,p.month1)<=0||z(e)||(S(e,t?"month2":"month1"),A()))}),c.attr("unselectable","on").css("user-select","none").on("selectstart",function(t){return t.preventDefault(),!1}),c.find(".apply-btn").click(function(){T();var t=L(new Date(p.start))+p.separator+L(new Date(p.end));X(i).trigger("datepicker-apply",{value:t,date1:new Date(p.start),date2:new Date(p.end)})}),c.find("[custom]").click(function(){var t=X(this).attr("custom");p.start=!1,p.end=!1,c.find(".day.checked").removeClass("checked"),p.setValue.call(r,t),b(),w(!0),C(),p.autoClose&&T()}),c.find("[shortcut]").click(function(){var t=X(this).attr("shortcut"),e=new Date,i=!1;if(-1!=t.indexOf("day"))var n=parseInt(t.split(",",2)[1],10),i=new Date((new Date).getTime()+864e5*n),e=new Date(e.getTime()+864e5*(0<n?1:-1));else if(-1!=t.indexOf("week")){var o,a=1==(o=-1!=t.indexOf("prev,")?-1:1)?"monday"==p.startOfWeek?1:0:"monday"==p.startOfWeek?0:6;for(e=new Date(e.getTime()-864e5);e.getDay()!=a;)e=new Date(e.getTime()+864e5*o);i=new Date(e.getTime()+864e5*o*6)}else if(-1!=t.indexOf("month"))(i=(1==(o=-1!=t.indexOf("prev,")?-1:1)?P:E)(e)).setDate(1),(e=P(i)).setDate(1),e=new Date(e.getTime()-864e5);else if(-1!=t.indexOf("year"))o=-1!=t.indexOf("prev,")?-1:1,(i=new Date).setFullYear(e.getFullYear()+o),i.setMonth(0),i.setDate(1),e.setFullYear(e.getFullYear()+o),e.setMonth(11),e.setDate(31);else if("custom"==t){var r=X(this).html();if(p.customShortcuts&&0<p.customShortcuts.length)for(var s=0;s<p.customShortcuts.length;s++){var l=p.customShortcuts[s];if(l.name==r){(l=l.dates.call())&&2==l.length&&(i=l[0],e=l[1]),l&&1==l.length&&(S(l=l[0],"month1"),S(P(l),"month2"),A());break}}}i&&e&&(x(i,e),b())}),c.find(".time1 input[type=range]").on("change touchmove",function(t){t=t.target;f("time1","hour"==t.name?X(t).val().replace(/^(\d{1})$/,"0$1"):void 0,"minute"==t.name?X(t).val().replace(/^(\d{1})$/,"0$1"):void 0)}),c.find(".time2 input[type=range]").on("change touchmove",function(t){t=t.target;f("time2","hour"==t.name?X(t).val().replace(/^(\d{1})$/,"0$1"):void 0,"minute"==t.name?X(t).val().replace(/^(\d{1})$/,"0$1"):void 0)}))}.call(this),p.alwaysOpen&&e(0),X(this).data("dateRangePicker",{setStart:function(t){return"string"==typeof t&&(t=K(t,p.format).toDate()),p.end=!1,F(t),this},setEnd:function(t,e){var i=new Date;return i.setTime(p.start),x(i,t="string"==typeof t?K(t,p.format).toDate():t,e),this}
1,setDateRange:function(t,e,i){"string"==typeof t&&"string"==typeof e&&(t=K(t,p.format).toDate(),e=K(e,p.format).toDate()),x(t,e,i)},clear:function(){p.start=!1,p.end=!1,c.find(".day.checked").removeClass("checked"),c.find(".day.last-date-selected").removeClass("last-date-selected"),c.find(".day.first-date-selected").removeClass("first-date-selected"),p.setValue.call(r,""),b(),w(),C()},close:T,open:e,redraw:U,getDatePicker:function(){return c},resetMonthsView:Y,destroy:function(){X(a).off(".datepicker"),X(a).data("dateRangePicker",""),X(a).data("date-picker-opened",null),c.remove(),X(window).off("resize.datepicker",s),X(document).off("click.datepicker",G)}}),X(window).on("resize.datepicker",s),this;function s(){var t,e,i;p.inline||(t=X(a).offset(),"relative"==X(p.container).css("position")?(e=X(p.container).offset(),i=Math.max(0,t.left+c.outerWidth()-X("body").width()+16),c.css({top:t.top-e.top+X(a).outerHeight()+4,left:t.left-e.left-i})):t.left<460?c.css({top:t.top+X(a).outerHeight()+parseInt(X("body").css("border-top")||0,10),left:t.left}):c.css({top:t.top+X(a).outerHeight()+parseInt(X("body").css("border-top")||0,10),left:t.left+X(a).width()-c.width()-16}))}function e(t){U(),i(),p.customOpenAnimation?p.customOpenAnimation.call(c.get(0),function(){X(a).trigger("datepicker-opened",{relatedTarget:c})}):c.slideDown(t,function(){X(a).trigger("datepicker-opened",{relatedTarget:c})}),X(a).trigger("datepicker-open",{relatedTarget:c}),A(),u(),s()}function i(){var t,e=p.getValue.call(r),e=e?e.split(p.separator):"";e&&(1==e.length&&p.singleDate||2<=e.length)&&((t=p.format).match(/Do/)&&(t=t.replace(/Do/,"D"),e[0]=e[0].replace(/(\d+)(th|nd|st)/,"$1"),2<=e.length)&&(e[1]=e[1].replace(/(\d+)(th|nd|st)/,"$1")),n=!1,2<=e.length?x(l(e[0],t,K.locale(p.language)),l(e[1],t,K.locale(p.language))):1==e.length&&p.singleDate&&F(l(e[0],t,K.locale(p.language))),n=!0)}function l(t,e,i){return(K(t,e,i).isValid()?K(t,e,i):K()).toDate()}function u(){var t=(t=c.find(".gap").css("margin-left"))&&parseInt(t),e=c.find(".month1").width(),t=c.find(".gap").width()+(t?2*t:0),i=c.find(".month2").width();c.find(".month-wrapper").width(e+t+i)}function d(t,e){c.find("."+t+" input[type=range].hour-range").val(K(e).hours()),c.find("."+t+" input[type=range].minute-range").val(K(e).minutes()),f(t,K(e).format("HH"),K(e).format("mm"))}function h(t,e){p[t]=parseInt(K(parseInt(e)).startOf("day").add(K(p[t+"Time"]).format("HH"),"h").add(K(p[t+"Time"]).format("mm"),"m").valueOf())}function f(t,o,a){switch(o&&c.find("."+t+" .hour-val").text(o),a&&c.find("."+t+" .minute-val").text(a),t){case"time1":p.start&&e("start",K(p.start)),e("startTime",K(p.startTime||K().valueOf()));break;case"time2":p.end&&e("end",K(p.end)),e("endTime",K(p.endTime||K().valueOf()))}function e(t,e){var i=e.format("HH"),n=e.format("mm");p[t]=e.startOf("day").add(o||i,"h").add(a||n,"m").valueOf()}b(),w(),C()}function m(t){var e=t;return"week-range"===p.batchMode?e=("monday"===p.startOfWeek?K(parseInt(t)).startOf("isoweek"):K(parseInt(t)).startOf("week")).valueOf():"month-range"===p.batchMode&&(e=K(parseInt(t)).startOf("month").valueOf()),e}function g(t){var e=t;return"week-range"===p.batchMode?e=("monday"===p.startOfWeek?K(parseInt(t)).endOf("isoweek"):K(parseInt(t)).endOf("week")).valueOf():"month-range"===p.batchMode&&(e=K(parseInt(t)).endOf("month").valueOf()),e}function O(t){var e;t.hasClass("invalid")||(e=t.attr("time"),t.addClass("checked"),p.singleDate?(p.start=e,p.end=!1):"week"===p.batchMode?"monday"===p.startOfWeek?(p.start=K(parseInt(e)).startOf("isoweek").valueOf(),p.end=K(parseInt(e)).endOf("isoweek").valueOf()):(p.end=K(parseInt(e)).endOf("week").valueOf(),p.start=K(parseInt(e)).startOf("week").valueOf()):"workweek"===p.batchMode?(p.start=K(parseInt(e)).day(1).valueOf(),p.end=K(parseInt(e)).day(5).valueOf()):"weekend"===p.batchMode?(p.start=K(parseInt(e)).day(6).valueOf(),p.end=K(parseInt(e)).day(7).valueOf()):"month"===p.batchMode?(p.start=K(parseInt(e)).startOf("month").valueOf(),p.end=K(parseInt(e)).endOf("month").valueOf()):p.start&&p.end||!p.start&&!p.end?(p.start=m(e),p.end=!1):p.start&&(p.end=g(e),p.time.enabled)&&h("end",p.end),p.time.enabled&&(p.start&&h("start",p.start),p.end)&&h("end",p.end),!p.singleDate&&p.start&&p.end&&p.start>p.end&&(e=p.end,p.end=g(p.start),p.start=m(e),p.time.enabled)&&p.swapTime&&(d("time1",p.start),d("time2",p.end)),p.start=parseInt(p.start),p.end=parseInt(p.end),B(),p.start&&!p.end&&(X(a).trigger("datepicker-first-date-selected",{date1:new Date(p.start)}),N(t)),y(),b(),w(),C(),_())}function v(t){if(t=parseInt(t,10),p.startDate&&D(t,p.startDate)<0)return!1;if(p.endDate&&0<D(t,p.endDate))return!1;if(p.start&&!p.end&&!p.singleDate){if(0<p.maxDays&&k(t,p.start)>p.maxDays)return!1;if(0<p.minDays&&k(t,p.start)<p.minDays)return!1;if(p.selectForward&&t<p.start)return!1;if(p.selectBackward&&t>p.start)return!1;if(p.beforeShowDay&&"function"==typeof p.beforeShowDay){for(var e=!0,i=t;1<k(i,p.start);){if(!p.beforeShowDay(new Date(i))[0]){e=!1;break}if(Math.abs(i-p.start)<864e5)break;i>p.start&&(i-=864e5),i<p.start&&(i+=864e5)}if(!e)return!1}}return!0}
1function y(){c.find(".day.invalid.tmp").removeClass("tmp invalid").addClass("valid"),p.start&&!p.end&&c.find(".day.toMonth.valid").each(function(){v(parseInt(X(this).attr("time"),10))?X(this).addClass("valid tmp").removeClass("invalid"):X(this).addClass("invalid tmp").removeClass("valid")})}function N(t){var e,i,n,o,a,r=parseInt(t.attr("time")),s="";t.hasClass("has-tooltip")&&t.attr("data-tooltip")?s='<span class="tooltip-content">'+t.attr("data-tooltip")+"</span>":t.hasClass("invalid")||(p.singleDate?(c.find(".day.hovering").removeClass("hovering"),t.addClass("hovering")):(c.find(".day").each(function(){var t=parseInt(X(this).attr("time"));p.start,p.end;t==r?X(this).addClass("hovering"):X(this).removeClass("hovering"),p.start&&!p.end&&(p.start<t&&t<=r||p.start>t&&r<=t)?X(this).addClass("hovering"):X(this).removeClass("hovering")}),p.start&&!p.end&&(o=k(r,p.start),p.hoveringTooltip)&&("function"==typeof p.hoveringTooltip?s=p.hoveringTooltip(o,p.start,r):!0===p.hoveringTooltip&&1<o&&(s=o+" "+j("days"))))),s?(o=t.offset(),a=c.offset(),e=o.left-a.left,i=o.top-a.top,e+=t.width()/2,o=(n=c.find(".date-range-length-tip")).css({visibility:"hidden",display:"none"}).html(s).width(),a=n.height(),e-=o/2,i-=a,setTimeout(function(){n.css({left:e,top:i,display:"block",visibility:"visible"})},10)):c.find(".date-range-length-tip").hide()}function B(){c.find(".day.hovering").removeClass("hovering"),c.find(".date-range-length-tip").hide()}function R(t){var e=t.val(),i=t.attr("name"),t=t.parents("table").hasClass("month1")?"month1":"month2",n="month1"==t?"month2":"month1",o=!!p.startDate&&K(p.startDate),a=!!p.endDate&&K(p.endDate),i=K(p[t])[i](e);o&&i.isSameOrBefore(o)&&(i=o.add("month2"==t?1:0,"month")),S(i=a&&i.isSameOrAfter(a)?a.add(p.singleMonth||"month1"!=t?0:-1,"month"):i,t),"month1"==t?(p.stickyMonths||K(i).isSameOrAfter(p[n],"month"))&&S(K(i).add(1,"month"),n):(p.stickyMonths||K(i).isSameOrBefore(p[n],"month"))&&S(K(i).add(-1,"month"),n),A()}function _(){!0===p.singleDate?n&&p.start&&p.autoClose&&T():n&&p.start&&p.end&&p.autoClose&&T()}function b(){var t=Math.ceil((p.end-p.start)/864e5)+1;p.singleDate?p.start&&!p.end?c.find(".drp_top-bar").removeClass("error").addClass("normal"):c.find(".drp_top-bar").removeClass("error").removeClass("normal"):p.maxDays&&t>p.maxDays?(p.start=!1,p.end=!1,c.find(".day").removeClass("checked"),c.find(".drp_top-bar").removeClass("normal").addClass("error").find(".error-top").html(j("less-than").replace("%d",p.maxDays))):p.minDays&&t<p.minDays?(p.start=!1,p.end=!1,c.find(".day").removeClass("checked"),c.find(".drp_top-bar").removeClass("normal").addClass("error").find(".error-top").html(j("more-than").replace("%d",p.minDays))):p.start||p.end?c.find(".drp_top-bar").removeClass("error").addClass("normal"):c.find(".drp_top-bar").removeClass("error").removeClass("normal"),p.singleDate&&p.start&&!p.end||!p.singleDate&&p.start&&p.end?c.find(".apply-btn").removeClass("disabled"):c.find(".apply-btn").addClass("disabled"),p.batchMode&&(p.start&&p.startDate&&D(p.start,p.startDate)<0||p.end&&p.endDate&&0<D(p.end,p.endDate))&&(p.start=!1,p.end=!1,c.find(".day").removeClass("checked"))}function w(t,e){var i;c.find(".start-day").html("..."),c.find(".end-day").html("..."),c.find(".selected-days").hide(),p.start&&c.find(".start-day").html(L(new Date(parseInt(p.start)))),p.end&&c.find(".end-day").html(L(new Date(parseInt(p.end)))),p.start&&p.singleDate?(c.find(".apply-btn").removeClass("disabled"),i=L(new Date(p.start)),p.setValue.call(r,i,L(new Date(p.start)),L(new Date(p.end))),n&&!e&&X(a).trigger("datepicker-change",{value:i,date1:new Date(p.start)})):p.start&&p.end?(c.find(".selected-days").show().find(".selected-days-num").html(k(p.end,p.start)),c.find(".apply-btn").removeClass("disabled"),i=L(new Date(p.start))+p.separator+L(new Date(p.end)),p.setValue.call(r,i,L(new Date(p.start)),L(new Date(p.end))),n&&!e&&X(a).trigger("datepicker-change",{value:i,date1:new Date(p.start),date2:new Date(p.end)})):t?c.find(".apply-btn").removeClass("disabled"):c.find(".apply-btn").addClass("disabled")}function k(t,e){return Math.abs(K(t).diff(K(e),"d"))+1}function x(t,e,i){t.getTime()>e.getTime()&&(n=e,e=t,t=n,n=null);var n=!0;p.startDate&&D(t,p.startDate)<0&&(n=!1),((n=!(p.endDate&&0<D(e,p.endDate))&&n)?(p.start=t.getTime(),p.end=e.getTime(),p.time.enabled&&(d("time1",t),d("time2",e)),(p.stickyMonths||0<D(t,e)&&0===I(t,e))&&(p.lookBehind?t=E(e):e=P(t)),p.stickyMonths&&!1!==p.endDate&&0<I(e,p.endDate)&&(t=E(t),e=E(e)),p.stickyMonths||0===I(t,e)&&(p.lookBehind?t=E(e):e=P(t)),S(t,"month1"),S(e,"month2"),A(),b(),w(!1,i),_):(S(p.startDate,"month1"),S(P(p.startDate),"month2"),A))()}function F(t){var e=!0;p.startDate&&D(t,p.startDate)<0&&(e=!1),(e=!(p.endDate&&0<D(t,p.endDate))&&e)?(p.start=t.getTime(),p.time.enabled&&d("time1",t),S(t,"month1"),!0!==p.singleMonth&&S(P(t),"month2"),A(),w(),_()):S(p.startDate,"month1")}function C(){(p.start||p.end)&&(c.find(".day").each(function(){var t=parseInt(X(this).attr("time")),e=p.start,i=p.end;p.time.enabled&&(t=K(t).startOf("day").valueOf(),e=K(e||K().valueOf()).startOf("day").valueOf(),i=K(i||K().valueOf()).startOf("day").valueOf()),p.start&&p.end&&t<=i&&e<=t||p.start&&!p.end&&K(e).format("YYYY-MM-DD")==K(t).format("YYYY-MM-DD")?X(this).addClass("checked"):X(this).removeClass("checked"),p.start&&K(e).format("YYYY-MM-DD")==K(t).format("YYYY-MM-DD")?X(this).addClass("first-date-selected"):X(this).removeClass("first-date-selected"),p.end&&K(i).format("YYYY-MM-DD")==K(t).format("YYYY-MM-DD")?X(this).addClass("last-date-selected"):X(this).removeClass("last-date-selected")}),c.find(".week-number").each(function(){X(this).attr("data-start-time")==p.startWeek&&X(this).addClass("week-number-selected")}))}function S(t,e){t=K(t).toDate();i=e,o=(n=K(n=t)).get("month"),l='<div class="month-element">'+H(o)+"</div>";var i,n,o,a,r,s=p.monthSelect&&(s=!!p.startDate&&K(p.startDate).add(p.singleMonth||"month2"!==i?0:1,"month"),i=!!p.endDate&&K(p.endDate).add(p.singleMonth||"month1"!==i?0:-1,"month"),s=s&&n.isSame(s,"year")?s.get("month"):0,n=i&&n.isSame(i,"year")?i.get("month"):11,i=Math.min(s,o),r=Math.max(n,o),i!==r)?W("th_m",$({minSelectable:s,maxSelectable:n,minVisible:i,maxVisible:r},o,H)):l,l=(n=e,i=(i=K(i=t)).get("year"),r='<div class="month-element">'+i+"</div>",p.yearSelect&&(o=p.yearSelect&&"function"==typeof p.yearSelect,l=!!p.startDate&&K(p.startDate).add(p.singleMonth||"month2"!==n?0:1,"month"),n=!!p.endDate&&K(p.endDate).add(p.singleMonth||"month1"!==n?0:-1,"month"),o=o?p.yearSelect(i):p.yearSelect.slice(),l=l?Math.max(o[0],l.get("year")):Math.min(o[0],i),n=n?Math.min(o[1],n.get("year")):Math.max(o[1],i),o=Math.min(l,i),a=Math.max(n,i),o!==a)?W("th_y",$({minSelectable:l,maxSelectable:n,minVisible:o,maxVisible:a},i)):r);c.find("."+e+" .month-name").html(s+" "+l),c.find("."+e+" tbody").html((t=>{var e,i,n=[],o=(t.setDate(1),new Date(t.getTime()-864e5),new Date),a=t.getDay();
1if(0<(a=0===a&&"monday"===p.startOfWeek?7:a))for(var r=a;0<r;r--){var s=new Date(t.getTime()-864e5*r);i=v(s.getTime()),p.startDate&&D(s,p.startDate)<0&&(i=!1),p.endDate&&0<D(s,p.endDate)&&(i=!1),n.push({date:s,type:"lastMonth",day:s.getDate(),time:s.getTime(),valid:i})}for(var l=t.getMonth(),r=0;r<40;r++)e=K(t).add(r,"days").toDate(),i=v(e.getTime()),p.startDate&&D(e,p.startDate)<0&&(i=!1),p.endDate&&0<D(e,p.endDate)&&(i=!1),n.push({date:e,type:e.getMonth()==l?"toMonth":"nextMonth",day:e.getDate(),time:e.getTime(),valid:i});for(var c=[],u=0;u<6&&"nextMonth"!=n[7*u].type;u++){c.push("<tr>");for(s=0;s<7;s++){var d="monday"==p.startOfWeek?s+1:s,d=K((e=n[7*u+d]).time).format("L")==K(o).format("L"),h=(e.extraClass="",e.tooltip="",e.valid&&p.beforeShowDay&&"function"==typeof p.beforeShowDay&&(h=p.beforeShowDay(K(e.time).toDate()),e.valid=h[0],e.extraClass=h[1]||"",e.tooltip=h[2]||"",""!==e.tooltip)&&(e.extraClass+=" has-tooltip "),{time:e.time,"data-tooltip":e.tooltip,class:"day "+e.type+" "+e.extraClass+" "+(e.valid?"valid":"invalid")+" "+(d?"real-today":"")});0===s&&p.showWeekNumbers&&c.push('<td><div class="week-number" data-start-time="'+e.time+'">'+p.getWeekNumber(e.date)+"</div></td>"),c.push("<td "+V({},p.dayTdAttrs,e)+"><div "+V(h,p.dayDivAttrs,e)+">"+((t,e)=>p.showDateFilter&&"function"==typeof p.showDateFilter?p.showDateFilter(t,e):e)(e.time,e.day)+"</div></td>")}c.push("</tr>")}return c.join("")})(t)),p[e]=t,y(),c.find(".day").off("click").click(function(t){O(X(this))}),c.find(".day").off("mouseenter").mouseenter(function(t){N(X(this))}),c.find(".day").off("mouseleave").mouseleave(function(t){c.find(".date-range-length-tip").hide(),p.singleDate&&B()}),c.find(".week-number").off("click").click(function(t){var e,i,n,o;e=X(this),o=parseInt(e.attr("data-start-time"),10),p.startWeek?(c.find(".week-number-selected").removeClass("week-number-selected"),i=new Date(o<p.startWeek?o:p.startWeek),n=new Date(o<p.startWeek?p.startWeek:o),p.startWeek=!1,p.start=K(i).day("monday"==p.startOfWeek?1:0).valueOf(),p.end=K(n).day("monday"==p.startOfWeek?7:6).valueOf()):(p.startWeek=o,e.addClass("week-number-selected"),i=new Date(o),p.start=K(i).day("monday"==p.startOfWeek?1:0).valueOf(),p.end=K(i).day("monday"==p.startOfWeek?7:6).valueOf()),y(),b(),w(),C(),_()}),c.find(".month").off("change").change(function(t){R(X(this))}),c.find(".year").off("change").change(function(t){R(X(this))})}function $(t,e,i){var n=[];i=i||function(t){return t};for(var o=t.minVisible;o<=t.maxVisible;o++)n.push({value:o,text:i(o),selected:o===e,disabled:o<t.minSelectable||o>t.maxSelectable});return n}function W(t,e){for(var i,n='<div class="select-wrapper"><select class="'+t+'" name="'+t+'">',o=0,a=e.length;o<a;o++){var r=e[o];n+='<option value="'+r.value+'"'+(r.selected?" selected":"")+(r.disabled?" disabled":"")+">"+r.text+"</option>",r.selected&&(i=r.text)}return n+="</select>"+i+"</div>"}function M(t,e){c.find("."+e).append("<div><span>"+j("Time")+': <span class="hour-val">00</span>:<span class="minute-val">00</span></span></div><div class="hour"><label>'+j("Hour")+': <input type="range" class="hour-range" name="hour" min="0" max="23"></label></div><div class="minute"><label>'+j("Minute")+': <input type="range" class="minute-range" name="minute" min="0" max="59"></label></div>'),d(e,t)}function H(t){return j("month-name")[t]}function L(t){return K(t).format(p.format)}function A(){C();var t=parseInt(K(p.month1).format("YYYYMM")),e=parseInt(K(p.month2).format("YYYYMM")),t=Math.abs(t-e),e=(1<t&&89!=t?c.addClass("has-gap").removeClass("no-gap").find(".gap").css("visibility","visible"):c.removeClass("has-gap").addClass("no-gap").find(".gap").css("visibility","hidden"),c.find("table.month1").height()),t=c.find("table.month2").height();c.find(".gap").height(Math.max(e,t)+10)}function T(){var t;p.alwaysOpen||(t=function(){X(a).data("date-picker-opened",!1),X(a).trigger("datepicker-closed",{relatedTarget:c})},p.customCloseAnimation?p.customCloseAnimation.call(c.get(0),t):X(c).slideUp(p.duration,t),X(a).trigger("datepicker-close",{relatedTarget:c}))}function U(){S(p.month1,"month1"),S(p.month2,"month2")}function I(t,e){t=parseInt(K(t).format("YYYYMM"))-parseInt(K(e).format("YYYYMM"));return 0<t?1:0==t?0:-1}function D(t,e){t=parseInt(K(t).format("YYYYMMDD"))-parseInt(K(e).format("YYYYMMDD"));return 0<t?1:0==t?0:-1}function P(t){return K(t).add(1,"months").toDate()}function E(t){return K(t).add(-1,"months").toDate()}function q(){var t=p.showWeekNumbers?"<th>"+j("week-number")+"</th>":"";return"monday"==p.startOfWeek?t+"<th>"+j("week-1")+"</th><th>"+j("week-2")+"</th><th>"+j("week-3")+"</th><th>"+j("week-4")+"</th><th>"+j("week-5")+"</th><th>"+j("week-6")+"</th><th>"+j("week-7")+"</th>":t+"<th>"+j("week-7")+"</th><th>"+j("week-1")+"</th><th>"+j("week-2")+"</th><th>"+j("week-3")+"</th><th>"+j("week-4")+"</th><th>"+j("week-5")+"</th><th>"+j("week-6")+"</th>"}function z(t){return t=K(t),p.startDate&&t.endOf("month").isBefore(p.startDate)||!(!p.endDate||!t.startOf("month").isAfter(p.endDate))}function V(t,e,o){var i,a=X.extend(!0,{},t),n=(X.each(e,function(t,e){var i,n=e(o);for(i in n)a.hasOwnProperty(i)?a[i]+=n[i]:a[i]=n[i]}),"");for(i in a)a.hasOwnProperty(i)&&(n+=i+'="'+a[i]+'" ');return n}function j(t){var e=t.toLowerCase(),i=t in o?o[t]:e in o?o[e]:null,n=X.dateRangePickerLanguages.default;return i=null==i?t in n?n[t]:e in n?n[e]:"":i}function Z(){var t=p.defaultTime||new Date;return p.lookBehind?(p.startDate&&I(t,p.startDate)<0&&(t=P(K(p.startDate).toDate())),p.endDate&&0<I(t,p.endDate)&&(t=K(p.endDate).toDate())):(p.startDate&&I(t,p.startDate)<0&&(t=K(p.startDate).toDate()),p.endDate&&0<I(P(t),p.endDate)&&(t=E(K(p.endDate).toDate()))),t=p.singleDate&&(p.startDate&&I(t,p.startDate)<0&&(t=K(p.startDate).toDate()),p.endDate)&&0<I(t,p.endDate)?K(p.endDate).toDate():t}function Y(t){t=t||Z(),p.lookBehind?(S(E(t),"month1"),S(t,"month2")):(S(t,"month1"),S(P(t),"month2")),p.singleDate&&S(t,"month1"),C(),A()}function G(t){var e;t=t,(e=a[0]).contains(t.target)||t.target==e||null!=e.childNodes&&0<=X.inArray(t.target,e.childNodes)||c.is(":visible")&&T()}}}),(i=>{"function"==typeof define&&define.amd?define(["jquery"],i):"object"==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(u){function i(t,e){var i=this;i.element=t,i.$element=u(t),i.state={multiple:!!i.$element.attr("multiple"),enabled:!1,opened:!1,currValue:-1,selectedIdx:-1,highlightedIdx:-1},i.eventTriggers={open:i.open,close:i.close,destroy:i.destroy,refresh:i.refresh,init:i.init},i.init(e)}var e=u(document),o=u(window),n=["a","e","i","o","u","n","c","y"],a=[/[\xE0-\xE5]/g,/[\xE8-\xEB]/g,/[\xEC-\xEF]/g,/[\xF2-\x
1F6]/g,/[\xF9-\xFC]/g,/[\xF1]/g,/[\xE7]/g,/[\xFD-\xFF]/g];i.prototype={utils:{isMobile:function(){return/android|ip(hone|od|ad)/i.test(navigator.userAgent)},escapeRegExp:function(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")},replaceDiacritics:function(t){for(var e=a.length;e--;)t=t.toLowerCase().replace(a[e],n[e]);return t},format:function(t){var n=arguments;return(""+t).replace(/\{(?:(\d+)|(\w+))\}/g,function(t,e,i){return i&&n[1]?n[1][i]:n[e]})},nextEnabledItem:function(t,e){for(;t[e=(e+1)%t.length].disabled;);return e},previousEnabledItem:function(t,e){for(;t[e=(0<e?e:t.length)-1].disabled;);return e},toDash:function(t){return t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()},triggerCallback:function(t,e){var i=e.element,e=e.options["on"+t],n=[i].concat([].slice.call(arguments).slice(1));u.isFunction(e)&&e.apply(i,n),u(i).trigger("selectric-"+this.toDash(t),n)},arrayToClassname:function(t){t=u.grep(t,function(t){return!!t});return u.trim(t.join(" "))}},init:function(t){var e,i,n,o,a,r,s=this;s.options=u.extend(!0,{},u.fn.selectric.defaults,s.options,t),s.utils.triggerCallback("BeforeInit",s),s.destroy(!0),s.options.disableOnMobile&&s.utils.isMobile()?s.disableOnMobile=!0:(s.classes=s.getClassNames(),t=u("<input/>",{class:s.classes.input,readonly:s.utils.isMobile()}),e=u("<div/>",{class:s.classes.items,tabindex:-1}),i=u("<div/>",{class:s.classes.scroll}),n=u("<div/>",{class:s.classes.prefix,html:s.options.arrowButtonMarkup}),o=u("<span/>",{class:"label"}),a=s.$element.wrap("<div/>").parent().append(n.prepend(o),e,t),r=u("<div/>",{class:s.classes.hideselect}),s.elements={input:t,items:e,itemsScroll:i,wrapper:n,label:o,outerWrapper:a},s.options.nativeOnMobile&&s.utils.isMobile()&&(s.elements.input=void 0,r.addClass(s.classes.prefix+"-is-native"),s.$element.on("change",function(){s.refresh()})),s.$element.on(s.eventTriggers).wrap(r),s.originalTabindex=s.$element.prop("tabindex"),s.$element.prop("tabindex",-1),s.populate(),s.activate(),s.utils.triggerCallback("Init",s))},activate:function(){var t=this,e=t.elements.items.closest(":visible").children(":hidden").addClass(t.classes.tempshow),i=t.$element.width();e.removeClass(t.classes.tempshow),t.utils.triggerCallback("BeforeActivate",t),t.elements.outerWrapper.prop("class",t.utils.arrayToClassname([t.classes.wrapper,t.$element.prop("class").replace(/\S+/g,t.classes.prefix+"-$&"),t.options.responsive?t.classes.responsive:""])),t.options.inheritOriginalWidth&&0<i&&t.elements.outerWrapper.width(i),t.unbindEvents(),t.$element.prop("disabled")?(t.elements.outerWrapper.addClass(t.classes.disabled),t.elements.input&&t.elements.input.prop("disabled",!0)):(t.state.enabled=!0,t.elements.outerWrapper.removeClass(t.classes.disabled),t.$li=t.elements.items.removeAttr("style").find("li"),t.bindEvents()),t.utils.triggerCallback("Activate",t)},getClassNames:function(){var n=this,o=n.options.customClass,a={};return u.each("Input Items Open Disabled TempShow HideSelect Wrapper Focus Hover Responsive Above Below Scroll Group GroupLabel".split(" "),function(t,e){var i=o.prefix+e;a[e.toLowerCase()]=o.camelCase?i:n.utils.toDash(i)}),a.prefix=o.prefix,a},setLabel:function(){var e,t,i=this,n=i.options.labelBuilder;i.state.multiple?(t=0===(t=u.isArray(i.state.currValue)?i.state.currValue:[i.state.currValue]).length?[0]:t,e=u.map(t,function(e){return u.grep(i.lookupItems,function(t){return t.index===e})[0]}),e=u.grep(e,function(t){return 1<e.length||0===e.length?""!==u.trim(t.value):t}),e=u.map(e,function(t){return u.isFunction(n)?n(t):i.utils.format(n,t)}),i.options.multiple.maxLabelEntries&&(e.length>=i.options.multiple.maxLabelEntries+1?(e=e.slice(0,i.options.multiple.maxLabelEntries)).push(u.isFunction(n)?n({text:"..."}):i.utils.format(n,{text:"..."})):e.slice(e.length-1)),i.elements.label.html(e.join(i.options.multiple.separator))):(t=i.lookupItems[i.state.currValue],i.elements.label.html(u.isFunction(n)?n(t):i.utils.format(n,t)))},populate:function(){var n=this,t=n.$element.children(),e=n.$element.find("option"),i=e.filter(":selected"),o=e.index(i),a=0,e=n.state.multiple?[]:0;1<i.length&&n.state.multiple&&(o=[],i.each(function(){o.push(u(this).index())})),n.state.currValue=~o?o:e,n.state.selectedIdx=n.state.currValue,n.state.highlightedIdx=n.state.currValue,n.items=[],n.lookupItems=[],t.length&&(t.each(function(t){var i,e=u(this);e.is("optgroup")?(i={element:e,label:e.prop("label"),groupDisabled:e.prop("disabled"),items:[]},e.children().each(function(t){var e=u(this);i.items[t]=n.getItemData(a,e,i.groupDisabled||e.prop("disabled")),n.lookupItems[a]=i.items[t],a++}),n.items[t]=i):(n.items[t]=n.getItemData(a,e,e.prop("disabled")),n.lookupItems[a]=n.items[t],a++)}),n.setLabel(),n.elements.items.append(n.elements.itemsScroll.html(n.getItemsMarkup(n.items))))}
1,getItemData:function(t,e,i){return{index:t,element:e,value:e.val(),className:e.prop("class"),text:e.html(),slug:u.trim(this.utils.replaceDiacritics(e.html())),alt:e.attr("data-alt"),selected:e.prop("selected"),disabled:i}},getItemsMarkup:function(t){var i=this,n="<ul>";return u.isFunction(i.options.listBuilder)&&i.options.listBuilder&&(t=i.options.listBuilder(t)),u.each(t,function(t,e){void 0!==e.label?(n+=i.utils.format('<ul class="{1}"><li class="{2}">{3}</li>',i.utils.arrayToClassname([i.classes.group,e.groupDisabled?"disabled":"",e.element.prop("class")]),i.classes.grouplabel,e.element.prop("label")),u.each(e.items,function(t,e){n+=i.getItemMarkup(e.index,e)}),n+="</ul>"):n+=i.getItemMarkup(e.index,e)}),n+"</ul>"},getItemMarkup:function(t,e){var i=this.options.optionsItemBuilder,n={value:e.value,text:e.text,slug:e.slug,index:e.index};return this.utils.format('<li data-index="{1}" class="{2}">{3}</li>',t,this.utils.arrayToClassname([e.className,t===this.items.length-1?"last":"",e.disabled?"disabled":"",e.selected?"selected":""]),u.isFunction(i)?this.utils.format(i(e,this.$element,t),e):this.utils.format(i,n))},unbindEvents:function(){this.elements.wrapper.add(this.$element).add(this.elements.outerWrapper).add(this.elements.input).off(".sl")},bindEvents:function(){var a=this;a.elements.outerWrapper.on("mouseenter.sl mouseleave.sl",function(t){u(this).toggleClass(a.classes.hover,"mouseenter"===t.type),a.options.openOnHover&&(clearTimeout(a.closeTimer),"mouseleave"===t.type?a.closeTimer=setTimeout(u.proxy(a.close,a),a.options.hoverIntentTimeout):a.open())}),a.elements.wrapper.on("click.sl",function(t){a.state.opened?a.close():a.open(t)}),a.options.nativeOnMobile&&a.utils.isMobile()||(a.$element.on("focus.sl",function(){a.elements.input.focus()}),a.elements.input.prop({tabindex:a.originalTabindex,disabled:!1}).on("keydown.sl",u.proxy(a.handleKeys,a)).on("focusin.sl",function(t){a.elements.outerWrapper.addClass(a.classes.focus),a.elements.input.one("blur",function(){a.elements.input.blur()}),a.options.openOnFocus&&!a.state.opened&&a.open(t)}).on("focusout.sl",function(){a.elements.outerWrapper.removeClass(a.classes.focus)}).on("input propertychange",function(){var t=a.elements.input.val(),o=new RegExp("^"+a.utils.escapeRegExp(t),"i");clearTimeout(a.resetStr),a.resetStr=setTimeout(function(){a.elements.input.val("")},a.options.keySearchTimeout),t.length&&u.each(a.items,function(t,e){if(!e.disabled)if(o.test(e.text)||o.test(e.slug))a.highlight(t);else if(e.alt)for(var i=e.alt.split("|"),n=0;n<i.length&&i[n];n++)if(o.test(i[n].trim()))return void a.highlight(t)})})),a.$li.on({mousedown:function(t){t.preventDefault(),t.stopPropagation()},click:function(){return a.select(u(this).data("index")),!1}})},handleKeys:function(t){var e=this,i=t.which,n=e.options.keys,o=-1<u.inArray(i,n.previous),a=-1<u.inArray(i,n.next),r=-1<u.inArray(i,n.select),n=-1<u.inArray(i,n.open),s=e.state.highlightedIdx,l=o&&0===s||a&&s+1===e.items.length,c=0;if(13!==i&&32!==i||t.preventDefault(),o||a){if(!e.options.allowWrap&&l)return;o&&(c=e.utils.previousEnabledItem(e.lookupItems,s)),a&&(c=e.utils.nextEnabledItem(e.lookupItems,s)),e.highlight(c)}r&&e.state.opened?(e.select(s),e.state.multiple&&e.options.multiple.keepMenuOpen||e.close()):n&&!e.state.opened&&e.open()},refresh:function(){this.populate(),this.activate(),this.utils.triggerCallback("Refresh",this)},setOptionsDimensions:function(){var t=this,e=t.elements.items.closest(":visible").children(":hidden").addClass(t.classes.tempshow),i=t.options.maxHeight,n=t.elements.items.outerWidth(),o=t.elements.wrapper.outerWidth()-(n-t.elements.items.width());!t.options.expandToItemText||n<o?t.finalWidth=o:(t.elements.items.css("overflow","scroll"),t.elements.outerWrapper.width(9e4),t.finalWidth=t.elements.items.width(),t.elements.items.css("overflow",""),t.elements.outerWrapper.width("")),t.elements.items.width(t.finalWidth).height()>i&&t.elements.items.height(i),e.removeClass(t.classes.tempshow)},isInViewport:function(){var t,e,i,n=this;!0===n.options.forceRenderAbove?n.elements.outerWrapper.addClass(n.classes.above):!0===n.options.forceRenderBelow?n.elements.outerWrapper.addClass(n.classes.below):(e=o.scrollTop(),i=o.height(),i=(t=n.elements.outerWrapper.offset().top)+n.elements.outerWrapper.outerHeight()+n.itemsHeight<=e+i,t=t-n.itemsHeight>e,i=!(e=!i&&t),n.elements.outerWrapper.toggleClass(n.classes.above,e),n.elements.outerWrapper.toggleClass(n.classes.below,i))},detectItemVisibility:function(t){var e=this.$li.filter("[data-index]"),i=(this.state.multiple&&(t=u.isArray(t)&&0===t.length?0:t,t=u.isArray(t)?Math.min.apply(Math,t):t),e.eq(t).outerHeight()),e=e[t].offsetTop,t=this.elements.itemsScroll.scrollTop(),n=e+2*i;this.elements.itemsScroll.scrollTop(n>t+this.itemsHeight?n-this.itemsHeight:e-i<t?e-i:t)},open:function(t){var o=this;if(o.options.nativeOnMobile&&o.utils.isMobile())return!1;o.utils.triggerCallback("BeforeOpen",o),t&&(t.preventDefault(),o.options.stopPropagation)&&t.stopPropagation(),o.state.enabled&&(o.setOptionsDimensions(),u("."+o.classes.hideselect,"."+o.classes.open).children().selectric("close"),o.state.opened=!0,o.itemsHeight=o.elements.items.outerHeight(),o.itemsInnerHe
1ight=o.elements.items.height(),o.elements.outerWrapper.addClass(o.classes.open),o.elements.input.val(""),t&&"focusin"!==t.type&&o.elements.input.focus(),setTimeout(function(){e.on("click.sl",u.proxy(o.close,o)).on("scroll.sl",u.proxy(o.isInViewport,o))},1),o.isInViewport(),o.options.preventWindowScroll&&e.on("mousewheel.sl DOMMouseScroll.sl","."+o.classes.scroll,function(t){var e=t.originalEvent,i=u(this).scrollTop(),n=0;"detail"in e&&(n=-1*e.detail),"wheelDelta"in e&&(n=e.wheelDelta),"wheelDeltaY"in e&&(n=e.wheelDeltaY),"deltaY"in e&&(n=-1*e.deltaY),(i===this.scrollHeight-o.itemsInnerHeight&&n<0||0===i&&0<n)&&t.preventDefault()}),o.detectItemVisibility(o.state.selectedIdx),o.highlight(o.state.multiple?-1:o.state.selectedIdx),o.utils.triggerCallback("Open",o))},close:function(){this.utils.triggerCallback("BeforeClose",this),e.off(".sl"),this.elements.outerWrapper.removeClass(this.classes.open),this.state.opened=!1,this.utils.triggerCallback("Close",this)},change:function(){var i=this;i.utils.triggerCallback("BeforeChange",i),i.state.multiple?(u.each(i.lookupItems,function(t){i.lookupItems[t].selected=!1,i.$element.find("option").prop("selected",!1)}),u.each(i.state.selectedIdx,function(t,e){i.lookupItems[e].selected=!0,i.$element.find("option").eq(e).prop("selected",!0)}),i.state.currValue=i.state.selectedIdx,i.setLabel(),i.utils.triggerCallback("Change",i)):i.state.currValue!==i.state.selectedIdx&&(i.$element.prop("selectedIndex",i.state.currValue=i.state.selectedIdx).data("value",i.lookupItems[i.state.selectedIdx].text),i.setLabel(),i.utils.triggerCallback("Change",i))},highlight:function(t){var e=this.$li.filter("[data-index]").removeClass("highlighted");this.utils.triggerCallback("BeforeHighlight",this),void 0===t||-1===t||this.lookupItems[t].disabled||(e.eq(this.state.highlightedIdx=t).addClass("highlighted"),this.detectItemVisibility(t),this.utils.triggerCallback("Highlight",this))},select:function(t){var e,i=this,n=i.$li.filter("[data-index]");i.utils.triggerCallback("BeforeSelect",i,t),void 0===t||-1===t||i.lookupItems[t].disabled||((i.state.multiple?(i.state.selectedIdx=u.isArray(i.state.selectedIdx)?i.state.selectedIdx:[i.state.selectedIdx],-1!==(e=u.inArray(t,i.state.selectedIdx))?i.state.selectedIdx.splice(e,1):i.state.selectedIdx.push(t),n.removeClass("selected").filter(function(t){return-1!==u.inArray(t,i.state.selectedIdx)})):n.removeClass("selected").eq(i.state.selectedIdx=t)).addClass("selected"),i.state.multiple&&i.options.multiple.keepMenuOpen||i.close(),i.change(),i.utils.triggerCallback("Select",i,t))},destroy:function(t){var e=this;e.state&&e.state.enabled&&(e.elements.items.add(e.elements.wrapper).add(e.elements.input).remove(),t||e.$element.removeData("selectric").removeData("value"),e.$element.prop("tabindex",e.originalTabindex).off(".sl").off(e.eventTriggers).unwrap().unwrap(),e.state.enabled=!1)}},u.fn.selectric=function(e){return this.each(function(){var t=u.data(this,"selectric");t&&!t.disableOnMobile?"string"==typeof e&&t[e]?t[e]():t.init(e):u.data(this,"selectric",new i(this,e))})},u.fn.selectric.defaults={onChange:function(t){u(t).change()},maxHeight:300,keySearchTimeout:500,arrowButtonMarkup:'<b class="button">&#x25be;</b>',disableOnMobile:!1,nativeOnMobile:!0,openOnFocus:!0,openOnHover:!1,hoverIntentTimeout:500,expandToItemText:!1,responsive:!1,preventWindowScroll:!0,inheritOriginalWidth:!1,allowWrap:!0,forceRenderAbove:!1,forceRenderBelow:!1,stopPropagation:!0,optionsItemBuilder:"{text}",labelBuilder:"{text}",listBuilder:!1,keys:{previous:[37,38],next:[39,40],select:[9,13,27],open:[13,32,37,38,39,40],close:[9,27]},customClass:{prefix:"selectric",camelCase:!1},multiple:{separator:", ",keepMenuOpen:!0,maxLabelEntries:!1}}}),!navigator.userAgent.match(/trident/gi)&&"Microsoft Internet Explorer"!=navigator.appName||$("[data-src]").each(function(){var t=$(this).attr("data-src");$(this).attr("src",t)}),((t,e)=>{"object"===("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.LazyLoad=e()})(this,function(){function s(t){return"true"===f(t,"was-processed")}function t(t,e){var i,e=new t(e);try{i=new CustomEvent("LazyLoad::Initialized",{detail:{instance:e}})}catch(t){(i=document.createEvent("CustomEvent")).initCustomEvent("LazyLoad::Initialized",!1,!1,{instance:e})}window.dispatchEvent(i)}function n(t){for(var e,i=[],n=0;e=t.children[n];n+=1)"SOURCE"===e.tagName&&i.push(e);return i}function i(t,e,i){i&&t.setAttribute(e,i)}function o(t,e){i(t,"sizes",f(t,e.data_sizes)),i(t,"srcset",f(t,e.data_srcset)),i(t,"src",f(t,e.data_src))}function l(i,n){function o(t){S(t,!1,n),C(i,r,o)}var t,e,a,r=function t(e){S(e,!0,n),C(i,t,o)};
1a=o,k(t=i,"load",e=r),k(t,"loadeddata",e),k(t,"error",a)}function a(t,e,i){var n,o,a,r=e._settings;!i&&s(t)||(-1<M.indexOf(t.tagName)&&(l(t,e),w(t,r.class_loading)),i=t,o=(e=e)._settings,a=i.tagName,(a=b[a])?(a(i,o),_(e,1),e._elements=(n=i,e._elements.filter(function(t){return t!==n}))):(i=f(a=i,(e=o).data_src),e=f(a,e.data_bg),i&&(a.style.backgroundImage='url("'.concat(i,'")')),e&&(a.style.backgroundImage=e)),m(t,"was-processed","true"),y(r.callback_reveal,t),y(r.callback_set,t))}function r(o){var t;d&&(o._observer=new IntersectionObserver(function(t){t.forEach(function(t){return t.isIntersecting||0<t.intersectionRatio?(e=t.target,n=(i=o)._settings,y(n.callback_enter,e),void(n.load_delay?T:L)(e,i)):(n=t.target,e=o._settings,y(e.callback_exit,n),void(e.load_delay&&A(n)));var e,i,n})},{root:(t=o._settings).container===document?null:t.container,rootMargin:t.thresholds||t.threshold+"px"}))}function e(t,e){this._settings=_extends({},p,t),this._loadingCount=0,r(this),this.update(e)}var c="undefined"!=typeof window,u=c&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),d=c&&"IntersectionObserver"in window,h=c&&"classList"in document.createElement("p"),p={elements_selector:"img",container:u||c?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",class_loading:"loading",class_loaded:"loaded",class_error:"error",load_delay:0,auto_unobserve:!0,callback_enter:null,callback_exit:null,callback_reveal:null,callback_loaded:null,callback_error:null,callback_finish:null},f=function(t,e){return t.getAttribute("data-"+e)},m=function(t,e,i){e="data-"+e;null!==i?t.setAttribute(e,i):t.removeAttribute(e)},g=function(t,e){return m(t,"ll-timeout",e)},v=function(t){return f(t,"ll-timeout")},y=function(t,e){t&&t(e)},_=function(t,e){t._loadingCount+=e,0===t._elements.length&&0===t._loadingCount&&y(t._settings.callback_finish)},b={IMG:function(t,e){var i=t.parentNode;i&&"PICTURE"===i.tagName&&n(i).forEach(function(t){o(t,e)}),o(t,e)},IFRAME:function(t,e){i(t,"src",f(t,e.data_src))},VIDEO:function(t,e){n(t).forEach(function(t){i(t,"src",f(t,e.data_src))}),i(t,"src",f(t,e.data_src)),t.load()}},w=function(t,e){h?t.classList.add(e):t.className+=(t.className?" ":"")+e},k=function(t,e,i){t.addEventListener(e,i)},x=function(t,e,i){t.removeEventListener(e,i)},C=function(t,e,i){x(t,"load",e),x(t,"loadeddata",e),x(t,"error",i)},S=function(t,e,i){var n,o=i._settings,a=e?o.class_loaded:o.class_error,e=e?o.callback_loaded:o.callback_error,t=t.target;n=t,o=o.class_loading,h?n.classList.remove(o):n.className=n.className.replace(new RegExp("(^|\\s+)"+o+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,""),w(t,a),y(e,t),_(i,-1)},M=["IMG","IFRAME","VIDEO"],L=function(t,e){var i=e._observer;a(t,e),i&&e._settings.auto_unobserve&&i.unobserve(t)},A=function(t){var e=v(t);e&&(clearTimeout(e),g(t,null))},T=function(t,e){var i=e._settings.load_delay;v(t)||(i=setTimeout(function(){L(t,e),A(t)},i),g(t,i))};if(e.prototype={update:function(t){var e=this,i=this._settings,t=t||i.container.querySelectorAll(i.elements_selector);this._elements=Array.prototype.slice.call(t).filter(function(t){return!s(t)}),!u&&this._observer?this._elements.forEach(function(t){e._observer.observe(t)}):this.loadAll()},destroy:function(){var e=this;this._observer&&(this._elements.forEach(function(t){e._observer.unobserve(t)}),this._observer=null),this._elements=null,this._settings=null},load:function(t,e){a(t,this,e)},loadAll:function(){var e=this;this._elements.forEach(function(t){L(t,e)})}},c){var I=e,D=window.lazyLoadOptions;if(D)if(D.length)for(var P,E=0;P=D[E];E+=1)t(I,P);else t(I,D)}return e}),((t,e)=>{"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.L={})})(this,function(t){function l(t){for(var e,i,n=1,o=arguments.length;n<o;n++)for(e in i=arguments[n])t[e]=i[e];return t}function h(t,e){var i,n=Array.prototype.slice;return t.bind?t.bind.apply(t,n.call(arguments,1)):(i=n.call(arguments,2),function(){return t.apply(e,i.length?i.concat(n.call(arguments)):arguments)})}function s(t){return t._leaflet_id=t._leaflet_id||++Jt,t._leaflet_id}function N(t,e,i){var n,o,a,r=function(){n=!1,o&&(a.apply(i,o),o=!1)};return a=function(){n?o=arguments:(t.apply(i,arguments),setTimeout(r,e),n=!0)}}function B(t,e,i){var n=e[1],e=e[0],o=n-e;return t===n&&i?t:((t-e)%o+o)%o+e}function c(){return!1}function i(t,e){e=Math.pow(10,void 0===e?6:e);return Math.round(t*e)/e}function R(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function F(t){return R(t).split(/\s+/)}function a(t,e){for(var i in t.hasOwnProperty("options")||(t.options=t.options?Kt(t.options):{}),e)t.options[i]=e[i];return t.options}function $(t,e,i){var n,o=[];for(n in t)o.push(encodeURIComponent(i?n.toUpperCase():n)+"="+encodeURIComponent(t[n]));return(e&&-1!==e.indexOf("?")?"&":"?")+o.join("&")}function W(t,i){return t.replace(Qt,function(t,e){e=i[e];if(void 0===e)throw new Error("No value provided for variable "+t);return e="function"==typeof e?e(i):e})}function H(t,e){for(var i=0;i<t.length;i++)if(t[i]===e)return i;return-1}function U(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}function q(t){var e=+new Date,i=Math.max(0,16-(e-ie));return ie=e+i,window.setTimeout(t,i)}function b(t,e,i){if(!i||ne!==q)return ne.call(window,h(t,e));t.call(e)}function r(t){t&&oe.call(window,t)}function V(){}function f(t,e,i){this.x=i?Math.round(t):t,this.y=i?Math.round(e):e}function u(t,e,i){return t instanceof f?t:te(t)?new f(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new f(t.x,t.y):new f(t,e,i)}function m(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])}function d(t,e){return!t||t instanceof m?t:new m(t,e)}function p(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])}function g(t,e){return t instanceof p?t:new p(t,e)}function v(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 w(t,e,i){return t instanceof v?t:te(t)&&"object"!=typeof t[0]?3===t.length?new v(t[0],t[1],t[2]):2===t.length?new v(t[0],t[1]):null:null==t?t:"object"==typeof t&&"lat"in t?new v(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===e?null:new v(t,e,i)}
1function Z(t,e,i,n){te(t)?(this._a=t[0],this._b=t[1],this._c=t[2],this._d=t[3]):(this._a=t,this._b=e,this._c=i,this._d=n)}function Y(t,e,i,n){return new Z(t,e,i,n)}function G(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function X(t,e){for(var i,n,o,a,r="",s=0,l=t.length;s<l;s++){for(i=0,n=(o=t[s]).length;i<n;i++)r+=(i?"L":"M")+(a=o[i]).x+" "+a.y;r+=e?He?"z":"x":""}return r||"M0 0"}function e(t){return 0<=navigator.userAgent.toLowerCase().indexOf(t)}function K(t,e,i,n){function o(t){et(t,a)}var a,r,s,l,c,u;function d(t){(t.pointerType!==t.MSPOINTER_TYPE_MOUSE&&"mouse"!==t.pointerType||0!==t.buttons)&&et(t,r)}"touchstart"===e?(s=t,l=i,c=n,u=h(function(t){if("mouse"!==t.pointerType&&t.MSPOINTER_TYPE_MOUSE&&t.pointerType!==t.MSPOINTER_TYPE_MOUSE){if(!(Ge.indexOf(t.target.tagName)<0))return;_(t)}et(t,l)}),s["_leaflet_touchstart"+c]=u,s.addEventListener(qe,u,!1),Ke||(document.documentElement.addEventListener(qe,J,!0),document.documentElement.addEventListener(Ve,Q,!0),document.documentElement.addEventListener(Ze,tt,!0),document.documentElement.addEventListener(Ye,tt,!0),Ke=!0)):"touchmove"===e?(r=i,(c=t)["_leaflet_touchmove"+n]=d,c.addEventListener(Ve,d,!1)):"touchend"===e&&(a=i,(s=t)["_leaflet_touchend"+n]=o,s.addEventListener(Ze,o,!1),s.addEventListener(Ye,o,!1))}function J(t){Xe[t.pointerId]=t,Je++}function Q(t){Xe[t.pointerId]&&(Xe[t.pointerId]=t)}function tt(t){delete Xe[t.pointerId],Je--}function et(t,e){for(var i in t.touches=[],Xe)t.touches.push(Xe[i]);t.changedTouches=[t],e(t)}function it(t,o,e){function i(t){var e,i;if(P){if(!ke||"mouse"===t.pointerType)return;e=Je}else e=t.touches.length;1<e||(i=(e=Date.now())-(a||e),r=t.touches?t.touches[0]:t,s=0<i&&i<=250,a=e)}function n(t){if(s&&!r.cancelBubble){if(P){if(!ke||"mouse"===t.pointerType)return;var e,i,n={};for(i in r)e=r[i],n[i]=e&&e.bind?e.bind(r):e;r=n}r.type="dblclick",o(r),a=null}}var a,r,s=!1;return t[ei+Qe+e]=i,t[ei+ti+e]=n,t[ei+"dblclick"+e]=o,t.addEventListener(Qe,i,!1),t.addEventListener(ti,n,!1),t.addEventListener("dblclick",o,!1),this}function nt(t,e){var i=t[ei+Qe+e],n=t[ei+ti+e],e=t[ei+"dblclick"+e];return t.removeEventListener(Qe,i,!1),t.removeEventListener(ti,n,!1),ke||t.removeEventListener("dblclick",e,!1),this}function y(t,e,i,n){if("object"==typeof e)for(var o in e)ot(t,o,e[o],i);else for(var a=0,r=(e=F(e)).length;a<r;a++)ot(t,e[a],i,n);return this}function n(t,e,i,n){if("object"==typeof e)for(var o in e)at(t,o,e[o],i);else if(e)for(var a=0,r=(e=F(e)).length;a<r;a++)at(t,e[a],i,n);else{for(var s in t[E])at(t,s,t[E][s]);delete t[E]}return this}function ot(e,t,i,n){var o,a,r=t+s(i)+(n?"_"+s(n):"");e[E]&&e[E][r]||(a=o=function(t){return i.call(n||e,t||window.event)},P&&0===t.indexOf("touch")?K(e,t,o,r):!Be||"dblclick"!==t||P&&Ae?"addEventListener"in e?"mousewheel"===t?e.addEventListener("onwheel"in e?"wheel":"mousewheel",o,!1):"mouseenter"===t||"mouseleave"===t?e.addEventListener("mouseenter"===t?"mouseover":"mouseout",o=function(t){t=t||window.event,ft(e,t)&&a(t)},!1):e.addEventListener(t,o="click"===t&&Ce?function(t){var e,i,n;e=a,i=(t=t).timeStamp||t.originalEvent&&t.originalEvent.timeStamp,((n=he&&i-he)&&100<n&&n<500||t.target._simulatedClick&&!t._simulated?ct:(he=i,e))(t)}:o,!1):"attachEvent"in e&&e.attachEvent("on"+t,o):it(e,o,r),e[E]=e[E]||{},e[E][r]=o)}function at(t,e,i,n){var o,a,r,i=e+s(i)+(n?"_"+s(n):""),n=t[E]&&t[E][i];n&&(P&&0===e.indexOf("touch")?(r=(o=t)["_leaflet_"+(a=e)+(r=i)],"touchstart"===a?o.removeEventListener(qe,r,!1):"touchmove"===a?o.removeEventListener(Ve,r,!1):"touchend"===a&&(o.removeEventListener(Ze,r,!1),o.removeEventListener(Ye,r,!1))):!Be||"dblclick"!==e||P&&Ae?"removeEventListener"in t?"mousewheel"===e?t.removeEventListener("onwheel"in t?"wheel":"mousewheel",n,!1):t.removeEventListener("mouseenter"===e?"mouseover":"mouseleave"===e?"mouseout":e,n,!1):"detachEvent"in t&&t.detachEvent("on"+e,n):nt(t,i),t[E][i]=null)}function rt(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,pt(t),this}function st(t){return ot(t,"mousewheel",rt),this}function lt(t){return y(t,"mousedown touchstart dblclick",rt),ot(t,"click",ht),this}function _(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function ct(t){return _(t),rt(t),this}function ut(t,e){var i,n;return e?(n=(i=e.getBoundingClientRect()).width/e.offsetWidth||1,new f(t.clientX/n-i.left-e.clientLeft,t.clientY/(i.height/e.offsetHeight||1)-i.top-e.clientTop)):new f(t.clientX,t.clientY)}function dt(t){return ke?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/ii: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
1:t.detail?t.detail/-32765*60:0}function ht(t){ni[t.type]=!0}function pt(t){var e=ni[t.type];return ni[t.type]=!1,e}function ft(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}function mt(t){return"string"==typeof t?document.getElementById(t):t}function gt(t,e){var i=t.style[e]||t.currentStyle&&t.currentStyle[e];return"auto"===(i=i&&"auto"!==i||!document.defaultView?i:(t=document.defaultView.getComputedStyle(t,null))?t[e]:null)?null:i}function k(t,e,i){t=document.createElement(t);return t.className=e||"",i&&i.appendChild(t),t}function x(t){var e=t.parentNode;e&&e.removeChild(t)}function vt(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function yt(t){var e=t.parentNode;e.lastChild!==t&&e.appendChild(t)}function _t(t){var e=t.parentNode;e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function bt(t,e){return void 0!==t.classList?t.classList.contains(e):0<(t=kt(t)).length&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(t)}function C(t,e){var i;if(void 0!==t.classList)for(var n=F(e),o=0,a=n.length;o<a;o++)t.classList.add(n[o]);else bt(t,e)||wt(t,((i=kt(t))?i+" ":"")+e)}function S(t,e){void 0!==t.classList?t.classList.remove(e):wt(t,R((" "+kt(t)+" ").replace(" "+e+" "," ")))}function wt(t,e){void 0===t.className.baseVal?t.className=e:t.className.baseVal=e}function kt(t){return void 0===t.className.baseVal?t.className:t.className.baseVal}function M(t,e){if("opacity"in t.style)t.style.opacity=e;else if("filter"in t.style){var i=t,t=e,e=!1,n="DXImageTransform.Microsoft.Alpha";try{e=i.filters.item(n)}catch(i){if(1===t)return}t=Math.round(100*t),e?(e.Enabled=100!==t,e.Opacity=t):i.style.filter+=" progid:"+n+"(opacity="+t+")"}}function xt(t){for(var e=document.documentElement.style,i=0;i<t.length;i++)if(t[i]in e)return t[i];return!1}function Ct(t,e,i){e=e||new f(0,0);t.style[oi]=(Ee?"translate("+e.x+"px,"+e.y+"px)":"translate3d("+e.x+"px,"+e.y+"px,0)")+(i?" scale("+i+")":"")}function A(t,e){t._leaflet_pos=e,I?Ct(t,e):(t.style.left=e.x+"px",t.style.top=e.y+"px")}function St(t){return t._leaflet_pos||new f(0,0)}function Mt(){y(window,"dragstart",_)}function Lt(){n(window,"dragstart",_)}function At(t){for(;-1===t.tabIndex;)t=t.parentNode;t.style&&(Tt(),ci=(li=t).style.outline,t.style.outline="none",y(window,"keydown",Tt))}function Tt(){li&&(li.style.outline=ci,ci=li=void 0,n(window,"keydown",Tt))}function It(t,e){if(e&&t.length){var e=e*e,i=t=((t,e)=>{for(var i=[t[0]],n=1,o=0,a=t.length;n<a;n++)((t,e)=>{var i=e.x-t.x;return i*i+(e=e.y-t.y)*e})(t[n],t[o])>e&&(i.push(t[n]),o=n);return o<a-1&&i.push(t[a-1]),i})(t,e),n=i.length,o=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(n);o[0]=o[n-1]=1,function t(e,i,n,o,a){var r,s,l,c=0;for(s=o+1;s<=a-1;s++)(l=jt(e[s],e[o],e[a],!0))>c&&(r=s,c=l);n<c&&(i[r]=1,t(e,i,n,o,r),t(e,i,n,r,a))}(i,o,e,0,n-1);var a,r=[];for(a=0;a<n;a++)o[a]&&r.push(i[a]);return r}return t.slice()}function Dt(t,e,i){return Math.sqrt(jt(t,e,i,!0))}function Pt(t,e,i,n,o){var a,r,s,l=n?mi:zt(t,i),c=zt(e,i);for(mi=c;;){if(!(l|c))return[t,e];if(l&c)return!1;s=zt(r=Et(t,e,a=l||c,i,o),i),a===l?(t=r,l=s):(e=r,c=s)}}function Et(t,e,i,n,o){var a,r,s=e.x-t.x,e=e.y-t.y,l=n.min,n=n.max;return 8&i?(a=t.x+s*(n.y-t.y)/e,r=n.y):4&i?(a=t.x+s*(l.y-t.y)/e,r=l.y):2&i?(a=n.x,r=t.y+e*(n.x-t.x)/s):1&i&&(a=l.x,r=t.y+e*(l.x-t.x)/s),new f(a,r,o)}function zt(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 jt(t,e,i,n){var o=e.x,e=e.y,a=i.x-o,r=i.y-e,s=a*a+r*r;return 0<s&&(1<(s=((t.x-o)*a+(t.y-e)*r)/s)?(o=i.x,e=i.y):0<s&&(o+=a*s,e+=r*s)),a=t.x-o,r=t.y-e,n?a*a+r*r:new f(o,e)}function Ot(t){return!te(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function Nt(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Ot(t)}function Bt(t,e,i){for(var n,o,a,r,s,l,c,u=[1,4,2,8],d=0,h=t.length;d<h;d++)t[d]._code=zt(t[d],e);for(a=0;a<4;a++){for(l=u[a],n=[],d=0,o=(h=t.length)-1;d<h;o=d++)r=t[d],s=t[o],r._code&l?s._code&l||((c=Et(s,r,l,e,i))._code=zt(c,e),n.push(c)):(s._code&l&&((c=Et(s,r,l,e,i))._code=zt(c,e),n.push(c)),n.push(r));t=n}return t}function Rt(t,e){var i,n,o,a,r="Feature"===t.type?t.geometry:t,s=r?r.coordinates:null,l=[],c=e&&e.pointToLayer,u=e&&e.coordsToLatLng||Ft;if(!s&&!r)return null;switch(r.type){case"Point":return i=u(s),c?c(t,i):new Mi(i);case"MultiPoint":for(o=0,a=s.length;o<a;o++)i=u(s[o]),l.push(c?c(t,i):new Mi(i));return new ki(l);case"LineString":case"MultiLineString":return n=$t(s,"LineString"===r.type?0:1,u),new Ii(n,e);case"Polygon":case"MultiPolygon":return n=$t(s,"Polygon"===r.type?1:2,u),new Di(n,e);case"GeometryCollection":for(o=0,a=r.geometries.length;o<a;o++){var d=Rt({geometry:r.geometries[o],type:"Feature",properties:t.properties},e);d&&l.push(d)}return new ki(l);default:throw new Error("Invalid GeoJSON object.")}}function Ft(t){return new v(t[1],t[0],t[2])}function $t(t,e,i){for(var n,o=[],a=0,r=t.length;a<r;a++)n=e?$t(t[a],e-1,i):(i||Ft)(t[a]),o.push(n);return o}function Wt(t,e){return e="number"==typeof e?e:6,void 0!==t.alt?[i(t.lng,e),i(t.lat,e),i(t.alt,e)]:[i(t.lng,e),i(t.lat,e)]}function Ht(t,e,i,n){for(var o=[],a=0,r=t.length;a<r;a++)o.push(e?Ht(t[a],e-1,i,n):Wt(t[a],n));return!e&&i&&o.push(o[0]),o}function Ut(t,e){return t.feature?l({},t.feature,{geometry:e}):qt(e)}function qt(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}function Vt(t,e){return new Pi(t,e)}function Zt(t,e){return new Fi(t,e)}function Yt(t){return We?new Hi(t):null}function Gt(t){return He||Ue?new Vi(t):null}var Xt=Object.freeze,Kt=(Object.freeze=function(t){return t},Object.create||function(t){return re.prototype=t,new re}),Jt=0,Qt=/\{ *([\w_-]+) *\}/g,te=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},ee="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=",ie=0,ne=window.requestAnimationFrame||U("RequestAnimationFrame")||q,oe=window.cancelAnimationFrame||U("CancelAnimationFrame")||U("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)},ae=(Object.freeze||Object)({freeze:Xt,extend:l,create:Kt,bind:h,lastId:Jt,stamp:s,throttle:N,wrapNum:B,falseFn:c,formatNum:i,trim:R,splitWords:F,setOptions:a,getParamString:$,template:W,isArray:te,indexOf:H,emptyImageUrl:ee,requestFn:ne,cancelFn:oe,requestAnimFrame:b,cancelAnimFrame:r});function re(){}V.extend=function(t){function e(){this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()}var i,n=e.__super__=this.prototype,o=Kt(n);for(i in(o.constructor=e).prototype=o,this)this.hasOwnProperty(i)&&"prototype"!==i&&"__super__"!==i&&(e[i]=this[i]);if(t.statics&&(l(e,t.statics),delete t.statics),t.includes){var a=t.includes;if("undefined"!=typeof L&&L&&L.Mixin){a=te(a)?a:[a];for(var r=0;r<a.length;
1r++)a[r]===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)}l.apply(null,[o].concat(t.includes)),delete t.includes}return o.options&&(t.options=l(Kt(o.options),t.options)),l(o,t),o._initHooks=[],o.callInitHooks=function(){if(!this._initHooksCalled){n.callInitHooks&&n.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,e=o._initHooks.length;t<e;t++)o._initHooks[t].call(this)}},e},V.include=function(t){return l(this.prototype,t),this},V.mergeOptions=function(t){return l(this.prototype.options,t),this},V.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 o={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,a=(t=F(t)).length;o<a;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,a=(t=F(t)).length;o<a;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||(this._events[t]=n=[]);for(var t={fn:e,ctx:i=i===this?void 0:i},o=n,a=0,r=o.length;a<r;a++)if(o[a].fn===e&&o[a].ctx===i)return;o.push(t)},_off:function(t,e,i){var n,o,a;if(this._events&&(n=this._events[t]))if(e){if(i===this&&(i=void 0),n)for(o=0,a=n.length;o<a;o++){var r=n[o];if(r.ctx===i&&r.fn===e)return r.fn=c,this._firingCount&&(this._events[t]=n=n.slice()),void n.splice(o,1)}}else{for(o=0,a=n.length;o<a;o++)n[o].fn=c;delete this._events[t]}},fire:function(t,e,i){if(this.listens(t,i)){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 a=0,r=o.length;a<r;a++){var s=o[a];s.fn.call(s.ctx||this,n)}this._firingCount--}}i&&this._propagateEvent(n)}return 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=h(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[s(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[s(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)}},se=(o.addEventListener=o.on,o.removeEventListener=o.clearAllEventListeners=o.off,o.addOneTimeEventListener=o.once,o.fireEvent=o.fire,o.hasEventListeners=o.listens,V.extend(o)),le=Math.trunc||function(t){return 0<t?Math.floor(t):Math.ceil(t)},ce=(f.prototype={clone:function(){return new f(this.x,this.y)},add:function(t){return this.clone()._add(u(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(u(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 f(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new f(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=le(this.x),this.y=le(this.y),this},distanceTo:function(t){var e=(t=u(t)).x-this.x,t=t.y-this.y;return Math.sqrt(e*e+t*t)},equals:function(t){return(t=u(t)).x===this.x&&t.y===this.y},contains:function(t){return t=u(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+i(this.x)+", "+i(this.y)+")"}},m.prototype={extend:function(t){return t=u(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 f((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return new f(this.min.x,this.max.y)},getTopRight:function(){return new f(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 f?u:d)(t))instanceof m?(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=d(t);var e=this.min,i=this.max,n=t.min,t=t.max,o=t.x>=e.x&&n.x<=i.x,e=e.y<=t.y&&n.y<=i.y;return o&&e},overlaps:function(t){t=d(t);var e=this.min,i=this.max,n=t.min,t=t.max,o=t.x>e.x&&n.x<i.x,e=e.y<t.y&&n.y<i.y;return o&&e},isValid:function(){return!(!this.min||!this.max)}},p.prototype={extend:function(t){var e,i,n=this._southWest,o=this._northEast;if(t instanceof v)i=e=t;else{if(!(t instanceof p))return t?this.extend(w(t)||g(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 v(e.lat,e.lng),this._northEast=new v(i.lat,i.lng)),this},pad:function(t){var e=this._southWest,i=this._northEast,n=Math.abs(e.lat-i.lat)*t,t=Math.abs(e.lng-i.lng)*t;return new p(new v(e.lat-n,e.lng-t),new v(i.lat+n,i.lng+t))},getCenter:function(){return new v((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 v(this.getNorth(),this.getWest())},getSouthEast:function(){return new v(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat}
vendor: 2,389 bytes, line 1
1,getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t=("number"==typeof t[0]||t instanceof v||"lat"in t?w:g)(t);var e,i,n=this._southWest,o=this._northEast;return t instanceof p?(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=g(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),t=t.getNorthEast(),o=t.lat>=e.lat&&n.lat<=i.lat,t=t.lng>=e.lng&&n.lng<=i.lng;return o&&t},overlaps:function(t){t=g(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),t=t.getNorthEast(),o=t.lat>e.lat&&n.lat<i.lat,t=t.lng>e.lng&&n.lng<i.lng;return o&&t},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,e){return!!t&&(t=g(t),this._southWest.equals(t.getSouthWest(),e))&&this._northEast.equals(t.getNorthEast(),e)},isValid:function(){return!(!this._southWest||!this._northEast)}},{latLngToPoint:function(t,e){t=this.projection.project(t),e=this.scale(e);return this.transformation._transform(t,e)},pointToLatLng:function(t,e){e=this.scale(e),t=this.transformation.untransform(t,e);return this.projection.unproject(t)},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){var e;return this.infinite?null:(e=this.projection.bounds,t=this.scale(t),new m(this.transformation.transform(e.min,t),this.transformation.transform(e.max,t)))},infinite:!(v.prototype={equals:function(t,e){return!!t&&(t=w(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("+i(this.lat,t)+", "+i(this.lng,t)+")"},distanceTo:function(t){return ue.distance(this,w(t))},wrap:function(){return ue.wrapLatLng(this)},toBounds:function(t){var t=180*t/40075017,e=t/Math.cos(Math.PI/180*this.lat);return g([this.lat-t,this.lng-e],[this.lat+t,this.lng+e])},clone:function(){return new v(this.lat,this.lng,this.alt)}}),wrapLatLng:function(t){var e=this.wrapLng?B(t.lng,this.wrapLng,!0):t.lng;return new v(this.wrapLat?B(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,e=e.lng-i.lng;
1return 0==n&&0==e?t:(i=t.getSouthWest(),t=t.getNorthEast(),new p(new v(i.lat-n,i.lng-e),new v(t.lat-n,t.lng-e)))}}),ue=l({},ce,{wrapLng:[-180,180],R:6371e3,distance:function(t,e){var i=Math.PI/180,n=t.lat*i,o=e.lat*i,a=Math.sin((e.lat-t.lat)*i/2),e=Math.sin((e.lng-t.lng)*i/2),t=a*a+Math.cos(n)*Math.cos(o)*e*e,i=2*Math.atan2(Math.sqrt(t),Math.sqrt(1-t));return this.R*i}}),de={R:6378137,MAX_LATITUDE:85.0511287798,project:function(t){var e=Math.PI/180,i=this.MAX_LATITUDE,i=Math.max(Math.min(i,t.lat),-i),i=Math.sin(i*e);return new f(this.R*t.lng*e,this.R*Math.log((1+i)/(1-i))/2)},unproject:function(t){var e=180/Math.PI;return new v((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*e,t.x*e/this.R)},bounds:new m([-(de=6378137*Math.PI),-de],[de,de])};Z.prototype={transform:function(t,e){return this._transform(t.clone(),e)},_transform:function(t,e){return t.x=(e=e||1)*(this._a*t.x+this._b),t.y=e*(this._c*t.y+this._d),t},untransform:function(t,e){return new f((t.x/(e=e||1)-this._b)/this._a,(t.y/e-this._d)/this._c)}};var he,pe,fe,me,ge,ve=l({},ue,{code:"EPSG:3857",projection:de,transformation:Y(ve=.5/(Math.PI*de.R),.5,-ve,.5)}),ye=l({},ve,{code:"EPSG:900913"}),_e=document.documentElement.style,be="ActiveXObject"in window,we=be&&!document.addEventListener,ke="msLaunchUri"in navigator&&!("documentMode"in document),xe=e("webkit"),Ce=e("android"),Se=e("android 2")||e("android 3"),Me=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),Le=Ce&&e("Google")&&Me<537&&!("AudioNode"in window),Me=!!window.opera,Ae=e("chrome"),Te=e("gecko")&&!xe&&!Me&&!be,Ie=!Ae&&e("safari"),T=e("phantom"),De="OTransition"in _e,Pe=0===navigator.platform.indexOf("Win"),Ee=be&&"transition"in _e,ze="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!Se,_e="MozPerspective"in _e,I=!window.L_DISABLE_3D&&(Ee||ze||_e)&&!De&&!T,je="undefined"!=typeof orientation||e("mobile"),Oe=je&&xe,Ne=je&&ze,D=!window.PointerEvent&&window.MSPointerEvent,P=!(!window.PointerEvent&&!D),Be=!window.L_NO_TOUCH&&(P||"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),Re=je&&Me,Fe=je&&Te,$e=1<(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI),We=!!document.createElement("canvas").getContext,He=!(!document.createElementNS||!G("svg").createSVGRect),Ue=!He&&(()=>{try{var t=document.createElement("div"),e=(t.innerHTML='<v:shape adj="1"/>',t.firstChild);return e.style.behavior="url(#default#VML)",e&&"object"==typeof e.adj}catch(t){return!1}})(),be=(Object.freeze||Object)({ie:be,ielt9:we,edge:ke,webkit:xe,android:Ce,android23:Se,androidStock:Le,opera:Me,chrome:Ae,gecko:Te,safari:Ie,phantom:T,opera12:De,win:Pe,ie3d:Ee,webkit3d:ze,gecko3d:_e,any3d:I,mobile:je,mobileWebkit:Oe,mobileWebkit3d:Ne,msPointer:D,pointer:P,touch:Be,mobileOpera:Re,mobileGecko:Fe,retina:$e,canvas:We,svg:He,vml:Ue}),qe=D?"MSPointerDown":"pointerdown",Ve=D?"MSPointerMove":"pointermove",Ze=D?"MSPointerUp":"pointerup",Ye=D?"MSPointerCancel":"pointercancel",Ge=["INPUT","SELECT","OPTION"],Xe={},Ke=!1,Je=0,Qe=D?"MSPointerDown":P?"pointerdown":"touchstart",ti=D?"MSPointerUp":P?"pointerup":"touchend",ei="_leaflet_",E="_leaflet_events",ii=Pe&&Ae?2*window.devicePixelRatio:Te?window.devicePixelRatio:1,ni={},xe=(Object.freeze||Object)({on:y,off:n,stopPropagation:rt,disableScrollPropagation:st,disableClickPropagation:lt,preventDefault:_,stop:ct,getMousePosition:ut,getWheelDelta:dt,fakeStop:ht,skipped:pt,isExternalTarget:ft,addListener:y,removeListener:n}),oi=xt(["transform","WebkitTransform","OTransform","MozTransform","msTransform"]),ai=xt(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),ri="webkitTransition"===ai||"OTransition"===ai?ai+"End":"transitionend";ge="onselectstart"in document?(me=function(){y(window,"selectstart",_)},function(){n(window,"selectstart",_)}):(fe=xt(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]),me=function(){var t;fe&&(t=document.documentElement.style,pe=t[fe],t[fe]="none")},function(){fe&&(document.documentElement.style[fe]=pe,pe=void 0)});function si(t){return new j(t)}var li,ci,Me=(Object.freeze||Object)({TRANSFORM:oi,TRANSITION:ai,TRANSITION_END:ri,get:mt,getStyle:gt,create:k,remove:x,empty:vt,toFront:yt,toBack:_t,hasClass:bt,addClass:C,removeClass:S,setClass:wt,getClass:kt,setOpacity:M,testProp:xt,setTransform:Ct,setPosition:A,getPosition:St,disableTextSelection:me,enableTextSelection:ge,disableImageDrag:Mt,enableImageDrag:Lt,preventOutline:At,restoreOutline:Tt}
1),ui=se.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=St(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=b(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){t=this._startPos.add(this._offset.multiplyBy(t));e&&t._round(),A(this._el,t),this.fire("step")},_complete:function(){r(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),z=se.extend({options:{crs:ve,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=a(this,e),this._initContainer(t),this._initLayout(),this._onResize=h(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(w(e.center),e.zoom,{reset:!0}),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this.callInitHooks(),this._zoomAnimated=ai&&I&&!Re&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),y(this._proxy,ri,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(w(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||(I?this.options.zoomDelta:1),this.setZoom(this._zoom+t,e)},zoomOut:function(t,e){return t=t||(I?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),t=(t instanceof f?t:this.latLngToContainerPoint(t)).subtract(o).multiplyBy(1-1/n),n=this.containerPointToLatLng(o.add(t));return this.setView(n,e,{zoom:i})},_getBoundsCenterZoom:function(t,e){e=e||{},t=t.getBounds?t.getBounds():g(t);var i=u(e.paddingTopLeft||e.padding||[0,0]),n=u(e.paddingBottomRight||e.padding||[0,0]),o=this.getBoundsZoom(t,!1,i.add(n));return(o="number"==typeof e.maxZoom?Math.min(e.maxZoom,o):o)===1/0?{center:t.getCenter(),zoom:o}
1:(e=n.subtract(i).divideBy(2),n=this.project(t.getSouthWest(),o),i=this.project(t.getNorthEast(),o),{center:this.unproject(n.add(i).divideBy(2).add(e),o),zoom:o})},fitBounds:function(t,e){if((t=g(t)).isValid())return t=this._getBoundsCenterZoom(t,e),this.setView(t.center,t.zoom,e);throw new Error("Bounds are not valid.")},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){var i;return e=e||{},(t=u(t).round()).x||t.y?(!0===e.animate||this.getSize().contains(t)?(this._panAnim||(this._panAnim=new ui,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),!1!==e.animate?(C(this._mapPane,"leaflet-pan-anim"),i=this._getMapPanePos().subtract(t).round(),this._panAnim.run(this._mapPane,i,e.duration||.25,e.easeLinearity)):(this._rawPanBy(t),this.fire("move").fire("moveend"))):this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this):this.fire("moveend")},flyTo:function(n,o,t){function e(t){t=(h*h-d*d+(t?-1:1)*m*m*p*p)/(2*(t?h:d)*m*p),t=Math.sqrt(t*t+1)-t;return t<1e-9?-18:Math.log(t)}function i(t){return(Math.exp(t)-Math.exp(-t))/2}function a(t){return(Math.exp(t)+Math.exp(-t))/2}function r(t){return d*(a(g)*(i(t=g+f*t)/a(t))-i(g))/m}if(!1===(t=t||{}).animate||!I)return this.setView(n,o,t);this._stop();var s=this.project(this.getCenter()),l=this.project(n),c=this.getSize(),u=this._zoom,d=(n=w(n),o=void 0===o?u:o,Math.max(c.x,c.y)),h=d*this.getZoomScale(u,o),p=l.distanceTo(s)||1,f=1.42,m=f*f,g=e(0),v=Date.now(),y=(e(1)-g)/f,_=t.duration?1e3*t.duration:1e3*y*.8;return this._moveStart(!0,t.noMoveStart),function t(){var e=(Date.now()-v)/_,i=(1-Math.pow(1-e,1.5))*y;e<=1?(this._flyToFrame=b(t,this),this._move(this.unproject(s.add(l.subtract(s).multiplyBy(r(i)/p)),u),this.getScaleZoom(d/(e=i,d*(a(g)/a(g+f*e))),u),{flyTo:!0})):this._move(n,o)._moveEnd(!0)}.call(this),this},flyToBounds:function(t,e){t=this._getBoundsCenterZoom(t,e);return this.flyTo(t.center,t.zoom,e)},setMaxBounds:function(t){return(t=g(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(),t=this._limitCenter(i,this._zoom,g(t));return i.equals(t)||this.panTo(t,e),this._enforcingBounds=!1,this},invalidateSize:function(t){if(!this._loaded)return this;t=l({animate:!1,pan:!0},!0===t?{animate:!0}:t);var e=this.getSize(),i=(this._sizeChanged=!0,this._lastCenter=null,this.getSize()),n=e.divideBy(2).round(),o=i.divideBy(2).round(),n=n.subtract(o);return n.x||n.y?(t.animate&&t.pan?this.panBy(n):(t.pan&&this._rawPanBy(n),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(h(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){var e,i;return(t=this._locateOptions=l({timeout:1e4,watch:!1},t),"geolocation"in navigator)?(e=h(this._handleGeolocationResponse,this),i=h(this._handleGeolocationError,this),t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,i,t):navigator.geolocation.getCurrentPosition(e,i,t)):this._handleGeolocationError({code:0,message:"Geolocation not supported."}),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,t=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: "+t+"."})},_handleGeolocationResponse:function(t){var e,i,n=new v(t.coords.latitude,t.coords.longitude),o=n.toBounds(t.coords.accuracy),a=this._locateOptions,r=(a.setVie
vendor: 5,661 bytes, line 1
1w&&(e=this.getBoundsZoom(o),this.setView(n,a.maxZoom?Math.min(e,a.maxZoom):e)),{latlng:n,bounds:o,timestamp:t.timestamp});for(i in t.coords)"number"==typeof t.coords[i]&&(r[i]=t.coords[i]);this.fire("locationfound",r)},addHandler:function(t,e){return e&&(e=this[t]=new e(this),this._handlers.push(e),this.options[t])&&e.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}for(var t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),x(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)x(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){e=k("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane);return t&&(this._panes[t]=e),e},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 p(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=g(t),i=u(i||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),a=this.getMaxZoom(),r=t.getNorthWest(),t=t.getSouthEast(),i=this.getSize().subtract(i),t=d(this.project(t,n),this.project(r,n)).getSize(),r=I?this.options.zoomSnap:1,s=i.x/t.x,i=i.y/t.y,t=e?Math.max(s,i):Math.min(s,i),n=this.getScaleZoom(t,n);return r&&(n=Math.round(n/(r/100))*(r/100),n=e?Math.ceil(n/r)*r:Math.floor(n/r)*r),Math.max(o,Math.min(a,n))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new f(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){t=this._getTopLeftPoint(t,e);return new m(t,t.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,t=(e=void 0===e?this._zoom:e,i.zoom(t*i.scale(e)));return isNaN(t)?1/0:t},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(w(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(u(t),e)},layerPointToLatLng:function(t){t=u(t).add(this.getPixelOrigin());return this.unproject(t)},latLngToLayerPoint:function(t){return this.project(w(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(w(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(g(t))},distance:function(t,e){return this.options.crs.distance(w(t),w(e))},containerPointToLayerPoint:function(t){return u(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return u(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){t=this.containerPointToLayerPoint(u(t));return this.layerPointToLatLng(t)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(w(t)))},mouseEventToContainerPoint:function(t){return ut(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){t=this._container=mt(t);if(!t)throw new Error("Map container not found.");if(t._leaflet_id)throw new Error("Map container is already initialized.");y(t,"scroll",this._onScroll,this),this._containerId=s(t)},_initLayout:function(){var t=this._container,e=(this._fadeAnimated=this.options.fadeAnimation&&I,C(t,"leaflet-container"+(Be?" leaflet-touch":"")+($e?" leaflet-retina":"")+(we?" leaflet-oldie":"")+(Ie?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":"")),gt(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),A(this._mapPane,new f(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(C(t.markerPane,"leaflet-zoom-hide"),C(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e){A(this._mapPane,new f(0,0));var i=!this._loaded,n=(this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset"),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}
1,_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 r(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){A(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?n:y;e((this._targets[s(this._container)]=this)._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),I&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){r(this._resizeRequest),this._resizeRequest=b(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,a=t.target||t.srcElement,r=!1;a;){if((i=this._targets[s(a)])&&("click"===e||"preclick"===e)&&!t._simulated&&this._draggableMoved(i)){r=!0;break}if(i&&i.listens(e,!0)){if(o&&!ft(a,t))break;if(n.push(i),o)break}if(a===this._container)break;a=a.parentNode}return n=n.length||r||o||!ft(a,t)?n:[this]},_handleDOMEvent:function(t){var e;this._loaded&&!pt(t)&&("mousedown"!==(e=t.type)&&"keypress"!==e||At(t.target||t.srcElement),this._fireDOMEvent(t,e))},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,e,i){if("click"===t.type&&((o=l({},t)).type="preclick",this._fireDOMEvent(o,o.type,i)),!t._stopped&&(i=(i||[]).concat(this._findEventTargets(t,e))).length){var n,o=i[0],a=("contextmenu"===e&&o.listens(e,!0)&&_(t),{originalEvent:t});"keypress"!==t.type&&(n=o.getLatLng&&(!o._radius||o._radius<=10),a.containerPoint=n?this.latLngToContainerPoint(o.getLatLng()):this.mouseEventToContainerPoint(t),a.layerPoint=this.containerPointToLayerPoint(a.containerPoint),a.latlng=n?o.getLatLng():this.layerPointToLatLng(
vendor: 1,112 bytes, line 1
1a.layerPoint));for(var r=0;r<i.length;r++)if(i[r].fire(e,a,!0),a.originalEvent._stopped||!1===i[r].options.bubblingMouseEvents&&-1!==H(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 St(this._mapPane)||new f(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){i=this._getNewPixelOrigin(i,e);return this.project(t,e)._subtract(i)},_latLngBoundsToNewLayerBounds:function(t,e,i){i=this._getNewPixelOrigin(i,e);
1return d([this.project(t.getSouthWest(),e)._subtract(i),this.project(t.getNorthWest(),e)._subtract(i),this.project(t.getSouthEast(),e)._subtract(i),this.project(t.getNorthEast(),e)._subtract(i)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,e,i){var n,o;return!i||(n=this.project(t,e),o=this.getSize().divideBy(2),o=new m(n.subtract(o),n.add(o)),(o=this._getBoundsOffset(o,i,e)).round().equals([0,0]))?t:this.unproject(n.add(o),e)},_limitOffset:function(t,e){var i;return e?(i=new m((i=this.getPixelBounds()).min.add(t),i.max.add(t)),t.add(this._getBoundsOffset(i,e))):t},_getBoundsOffset:function(t,e,i){e=d(this.project(e.getNorthEast(),i),this.project(e.getSouthWest(),i)),i=e.min.subtract(t.min),e=e.max.subtract(t.max);return new f(this._rebound(i.x,-e.x),this._rebound(i.y,-e.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=I?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(){S(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){t=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(t)||(this.panBy(t,e),0))},_createAnimProxy:function(){var t=this._proxy=k("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(t){var e=oi,i=this._proxy.style[e];Ct(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();Ct(this._proxy,this.project(t,e),this.getZoomScale(e,1))},this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){x(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){var n;return!(!this._animatingZoom&&(i=i||{},!this._zoomAnimated||!1===i.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold||(n=this.getZoomScale(e),n=this._getCenterOffset(t)._divideBy(1-1/n),!0!==i.animate&&!this.getSize().contains(n))||(b(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,C(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:n}),setTimeout(h(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&S(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),b(function(){this._moveEnd(!0)},this))}}),j=V.extend({options:{position:"topright"},initialize:function(t){a(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(),t=t._controlCorners[i];return C(e,"leaflet-control"),-1!==i.indexOf("bottom")?t.insertBefore(e,t.firstChild):t.appendChild(e),this},remove:function(){return this._map&&(x(this._container),this.onRemove&&this.onRemove(this._map),this._map=null),this},_refocusOnMap:function(t){this._map&&t&&0<t.screenX&&0<t.screenY&&this._map.getContainer().focus()}}),di=(z.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){function t(t,e){i[t+e]=k("div",n+t+" "+n+e,o)}var i=this._controlCorners={},n="leaflet-",o=this._controlContainer=k("div",n+"control-container",this._container);t("top","left"),t("top","right"),t("bottom","left"),t("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)x(this._controlCorners[t]);x(this._controlContainer),delete this._controlCorners,delete this._controlContainer}}
vendor: 6,050 bytes, line 1
1),j.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 a(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 j.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);t=this._getLayer(s(t));return t&&this._layers.splice(this._layers.indexOf(t),1),this._map?this._update():this},expand:function(){C(this._container,"leaflet-control-layers-expanded"),this._form.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._form.clientHeight?(C(this._form,"leaflet-control-layers-scrollbar"),this._form.style.height=t+"px"):S(this._form,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return S(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",e=this._container=k("div",t),i=this.options.collapsed,n=(e.setAttribute("aria-haspopup",!0),lt(e),st(e),this._form=k("form",t+"-list")),o=(i&&(this._map.on("click",this.collapse,this),Ce||y(e,{mouseenter:this.expand,mouseleave:this.collapse},this)),this._layersLink=k("a",t+"-toggle",e));o.href="#",o.title="Layers",Be?(y(o,"click",ct),y(o,"click",this.expand,this)):y(o,"focus",this.expand,this),i||this.expand(),this._baseLayersList=k("div",t+"-base",n),this._separator=k("div",t+"-separator",n),this._overlaysList=k("div",t+"-overlays",n),e.appendChild(n)},_getLayer:function(t){for(var e=0;e<this._layers.length;e++)if(this._layers[e]&&s(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(h(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){vt(this._baseLayersList),vt(this._overlaysList),this._layerControlInputs=[];for(var t,e,i,n=0,o=0;o<this._layers.length;o++)i=this._layers[o],this._addItem(i),e=e||i.overlay,t=t||!i.overlay,n+=i.overlay?0:1;this.options.hideSingleBase&&(this._baseLayersList.style.display=(t=t&&1<n)?"":"none"),this._separator.style.display=e&&t?"":"none"}return this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(s(t.target)),t=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;t&&this._map.fire(t,e)},_createRadioElement:function(t,e){t='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(e?' checked="checked"':"")+"/>",e=document.createElement("div");return e.innerHTML=t,e.firstChild},_addItem:function(t){var e,i=document.createElement("label"),n=this._map.hasLayer(t.layer),n=(t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=n):e=this._createRadioElement("leaflet-base-layers",n),this._layerControlInputs.push(e),e.layerId=s(t.layer),y(e,"click",this._onInputClick,this),document.createElement("span")),o=(n.innerHTML=" "+t.name,document.createElement("div"));return i.appendChild(o),o.appendChild(e),o.appendChild(n),(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 a=i.length-1;0<=a;a--)t=i[a],e=this._getLayer(t.layerId).layer,(t.checked?n:(t.checked,o)).push(e);for(a=0;a<o.length;a++)this._map.hasLayer(o[a])&&this._map.removeLayer(o[a]);for(a=0;a<n.length;a++)this._map.hasLayer(n[a])||this._map.addLayer(n[a]);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()}})),hi=j.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"&#x2212;",zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",i=k("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){i=k("a",i,n);return i.innerHTML=t,i.href="#",i.title=e,i.setAttribute("role","button"),i.setAttribute("aria-label",e),lt(i),y(i,"click",ct),y(i,"click",o,this),y(i,"click",this._refocusOnMap,this),i},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";S(this._zoomInButton,e),S(this._zoomOutButton,e),!this._disabled&&t._zoom!==t.getMinZoom()||C(this._zoomOutButton,e),!this._disabled&&t._zoom!==t.getMaxZoom()||C(this._zoomInButton,e)}}),pi=(z.mergeOptions({zoomControl:!0}),z.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new hi,this.addControl(this.zoomControl))}),j.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e=k("div","leaflet-control-scale"),i=this.options;return this._addScales(i,"leaflet-control-scale-line",e),t.on(i.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),e},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,i){t.metric&&(this._mScale=k("div",e,i)),t.imperial&&(this._iScale=k("div",e,i))},_update:function(){var t=this._map,e=t.getSize().y/2,t=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(t)},_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);this._updateScale(this._mScale,e<1e3?e+" m":e/1e3+" km",e/t)},_updateImperial:function(t){var e,i,t=3.2808399*t;5280<t?(i=this._getRoundNum(e=t/5280),this._updateScale(this._iScale,i+" mi",i/e)):(i=this._getRoundNum(t),this._updateScale(this._iScale,i+" ft",i/t))},_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),t=t/e;return e*(10<=t?10:5<=t?5:3<=t?3:2<=t?2:1)}})),fi=j.extend({options:{position:"bottomright",prefix:'<a href="http://leafletjs.com" title="A JS library for interactive maps">Leaflet</a>'},initialize:function(t){a(this,t),this._attributions={}},onAdd:function(t){for(var e in(t.attributionControl=this)._container=k("div","leaflet-control-attribution"),lt(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,e=[];for(t in this._attributions)this._attributions[t]&&e.push(t);var i=[];this.options.prefix&&i.push(this.options.prefix),e.length&&i.push(e.join(", ")),this._container.innerHTML=i.join(" | ")}}}),T=(z.mergeOptions({attributionControl:!0}),z.addInitHook(function(){this.options.attributionControl&&(new fi).addTo(this)}),j.Layers=di,j.Zoom=hi,j.Scale=pi,j.Attribution=fi,si.layers=function(t,e,i){return new di(t,e,i)},si.zoom=function(t){return new hi(t)},si.scale=function(t){return new pi(t)},si.attribution=function(t){return new fi(t)},V.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}}));T.addTo=function(t,e){return t.addHandler(e,this),this};var mi,De={Events:o},gi=Be?"touchstart mousedown":"mousedown",vi={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},yi={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},_i=se.extend({options:{clickTolerance:3},initialize:function(t,e,i,n){a(this,n),this._element=t,this._dragStartTarget=e||t,this._preventOutline=i},enable:function(){this._enabled||(y(this._dragStartTarget,gi,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(_i._dragging===this&&this.finishDrag(),n(this._dragStartTarget,gi,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){var e;t._simulated||!this._enabled||(this._moved=!1,bt(this._element,"leaflet-zoom-anim"))||(_i._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||((_i._dragging=this)._preventOutline&&At(this._element),Mt(),me(),this._moving))||(this.fire("down"),e=t.touches?t.touches[0]:t,this._startPoint=new f(e.clientX,e.clientY),y(document,yi[t.type],this._onMove,this),y(document,vi[t.type],this._onUp,this))},_onMove:function(t){var e;!t._simulated&&this._enabled&&(t.touches&&1<t.touches.length?this._moved=!0:!(e=new f((e=t.touches&&1===t.touches.length?t.touches[0]:t).clientX,e.clientY).subtract(this._startPoint)).x&&!e.y||Math.abs(e.x)+Math.abs(e.y)<this.options.clickTolerance||(_(t),this._moved||(this.fire("dragstart"),this._moved=!0,this._startPos=St(this._element).subtract(e),C(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),C(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(e),this._moving=!0,r(this._animRequest),this._lastEvent=t,this._animRequest=b(this._updatePosition,this,!0)))},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),A(this._element,this._newPos),this.fire("drag",t)},_onUp:function(t){!t._simulated&&this._enabled&&this.finishDrag()},finishDrag:function(){for(var t in S(document.body,"leaflet-dragging"),this._lastTarget&&(S(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),yi)n(document,yi[t],this._onMove,this),n(document,vi[t],this._onUp,this);Lt(),ge(),this._moved&&this._moving&&(r(this._animRequest),this.fire("dragend",{distance:this._newPos.distanceTo(this._startPos)})),this._moving=!1,_i._dragging=!1}}),ze=(Object.freeze||Object)({simplify:It,pointToSegmentDistance:Dt,closestPointOnSegment:function(t,e,
1i){return jt(t,e,i)},clipSegment:Pt,_getEdgeIntersection:Et,_getBitCode:zt,_sqClosestPointOnSegment:jt,isFlat:Ot,_flat:Nt}),_e=(Object.freeze||Object)({clipPolygon:Bt}),Oe={project:function(t){return new f(t.lng,t.lat)},unproject:function(t){return new v(t.y,t.x)},bounds:new m([-180,-90],[180,90])},Ne={R:6378137,R_MINOR:6356752.314245179,bounds:new m([-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,o=Math.sqrt(1-o*o),a=o*Math.sin(n),a=Math.tan(Math.PI/4-n/2)/Math.pow((1-a)/(1+a),o/2),n=-i*Math.log(Math.max(a,1e-10));return new f(t.lng*e*i,n)},unproject:function(t){for(var e,i=180/Math.PI,n=this.R,o=this.R_MINOR/n,a=Math.sqrt(1-o*o),r=Math.exp(-t.y/n),s=Math.PI/2-2*Math.atan(r),l=0,c=.1;l<15&&1e-7<Math.abs(c);l++)e=a*Math.sin(s),e=Math.pow((1-e)/(1+e),a/2),s+=c=Math.PI/2-2*Math.atan(r*e)-s;return new v(s*i,t.x*i/n)}},Fe=(Object.freeze||Object)({LonLat:Oe,Mercator:Ne,SphericalMercator:de}),Pe=l({},ue,{code:"EPSG:3395",projection:Ne,transformation:Y(D=.5/(Math.PI*Ne.R),.5,-D,.5)}),bi=l({},ue,{code:"EPSG:4326",projection:Oe,transformation:Y(1/180,1,-1/180,.5)}),Te=l({},ce,{projection:Oe,transformation:Y(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,e=e.lat-t.lat;return Math.sqrt(i*i+e*e)},infinite:!0}),O=(ce.Earth=ue,ce.EPSG3395=Pe,ce.EPSG3857=ve,ce.EPSG900913=ye,ce.EPSG4326=bi,ce.Simple=Te,se.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[s(t)]=this},removeInteractiveTarget:function(t){return delete this._map._targets[s(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e,i=t.target;i.hasLayer(this)&&(this._map=i,this._zoomAnimated=i._zoomAnimated,this.getEvents&&(e=this.getEvents(),i.on(e,this),this.once("remove",function(){i.off(e,this)},this)),this.onAdd(i),this.getAttribution&&i.attributionControl&&i.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),i.fire("layeradd",{layer:this}))}})),wi=(z.include({addLayer:function(t){var e;if(t._layerAdd)return e=s(t),this._layers[e]||((this._layers[e]=t)._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this;throw new Error("The provided object is not a Layer.")},removeLayer:function(t){var e=s(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&&s(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?te(t)?t:[t]:[]).length;e<i;e++)this.addLayer(t[e])},_addZoomLimit:function(t){!isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[s(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){t=s(t);
vendor: 9,428 bytes, line 1
1this._zoomBoundLayers[t]&&(delete this._zoomBoundLayers[t],this._updateZoomLevels())},_updateZoomLevels:function(){var t,e=1/0,i=-1/0,n=this._getZoomSpan();for(t in this._zoomBoundLayers)var o=this._zoomBoundLayers[t].options,e=void 0===o.minZoom?e:Math.min(e,o.minZoom),i=void 0===o.maxZoom?i:Math.max(i,o.maxZoom);this._layersMaxZoom=i===-1/0?void 0:i,this._layersMinZoom=e===1/0?void 0:e,n!==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)}}),O.extend({initialize:function(t,e){var i,n;if(a(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){t=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[t]&&this._map.removeLayer(this._layers[t]),delete this._layers[t],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:s})),ki=wi.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),wi.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?((t=t in this._layers?this._layers[t]:t).removeEventParent(this),wi.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,e=new p;for(t in this._layers){var i=this._layers[t];e.extend(i.getBounds?i.getBounds():i.getLatLng())}return e}}),xi=V.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0]},initialize:function(t){a(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)return i=this._createImg(i,e&&"IMG"===e.tagName?e:null),this._setIconStyles(i,t),i;if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null},_setIconStyles:function(t,e){var i=this.options,n=i[e+"Size"],n=u(n="number"==typeof n?[n,n]:n),o=u("shadow"===e&&i.shadowAnchor||i.iconAnchor||n&&n.divideBy(2,!0));t.className="leaflet-marker-"+e+" "+(i.className||""),o&&(t.style.marginLeft=-o.x+"px",t.style.marginTop=-o.y+"px"),n&&(t.style.width=n.x+"px",t.style.height=n.y+"px")},_createImg:function(t,e){return(e=e||document.createElement("img")).src=t,e},_getIconUrl:function(t){return $e&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}}),Ci=xi.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 Ci.imagePath||(Ci.imagePath=this._detectIconPath()),(this.options.imagePath||Ci.imagePath)+xi.prototype._getIconUrl.call(this,t)},_detectIconPath:function(){var t=k("div","leaflet-default-icon-path",document.body),e=gt(t,"background-image")||gt(t,"backgroundImage");return document.body.removeChild(t),null===e||0!==e.indexOf("url")?"":e.replace(/^url\(["']?/,"").replace(/marker-icon\.png["']?\)$/,"")}}),Si=T.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new _i(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),C(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&&S(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,a=L.DomUtil.getPosition(e._icon),r=i.getPixelBounds(),s=i.getPixelOrigin(),s=d(r.min._subtract(s).add(o),r.max._subtract(s).subtract(o));s.contains(a)||(o=u((Math.max(s.max.x,a.x)-s.max.x)/(r.max.x-s.max.x)-(Math.min(s.min.x,a.x)-s.min.x)/(r.min.x-s.min.x),(Math.max(s.max.y,a.y)-s.max.y)/(r.max.y-s.max.y)-(Math.min(s.min.y,a.y)-s.min.y)/(r.min.y-s.min.y)).multiplyBy(n),i.panBy(o,{animate:!1}),this._draggable._newPos._add(o),this._draggable._startPos._add(o),L.DomUtil.setPosition(e._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=b(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&&(r(this._panRequest),this._panRequest=b(this._adjustPan.bind(this,t)))},_onDrag:function(t){var e=this._marker,i=e._shadow,n=St(e._icon),o=e._map.layerPointToLatLng(n);i&&A(i,n),e._latlng=o,t.latlng=o,t.oldLatLng=this._oldLatLng,e.fire("move",t).fire("drag",t)},_onDragEnd:function(t){r(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),Mi=O.extend({options:{icon:new Ci,interactive:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10,keyboard:!0,title:"",alt:"",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",bubblingMouseEvents:!1},initialize:function(t,e){a(this,e),this._latlng=w(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=w(t),this.update(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},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(){var t;return this._icon&&this._map&&(t=this._map.latLngToLayerPoint(this._latlng).round(),this._setPos(t)),this},_initIcon:function(){var t=this.options,e="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),i=t.icon.createIcon(this._icon),n=!1,i=(i!==this._icon&&(this._icon&&this._removeIcon(),n=!0,t.title&&(i.title=t.title),"IMG"===i.tagName)&&(i.alt=t.alt||""),C(i,e),t.keyboard&&(i.tabIndex="0"),this._icon=i,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),t.icon.createShadow(this._shadow)),o=!1;i!==this._shadow&&(this._removeShadow(),o=!0),i&&(C(i,e),i.alt=""),this._shadow=i,t.opacity<1&&this._updateOpacity(),n&&this.getPane().appendChild(this._icon),this._initInteraction(),i&&o&&this.getPane("shadowPane").appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),x(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&x(this._shadow),this._shadow=null},_setPos:function(t){A(this._icon,t),this._shadow&&A(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){t=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(t)},_initInteraction:function(){var t;this.options.interactive&&(C(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),Si)&&(t=this.options.draggable,this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new Si(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;M(this._icon,t),this._shadow&&M(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}}),Li=O.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 a(this,t),this._renderer&&this._renderer._updateStyle(this),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}}),Ai=Li.extend({options:{fill:!0,radius:10},initialize:function(t,e){a(this,e),this._latlng=w(t),this._radius=this.options.radius},setLatLng:function(t){return this._latlng=w(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,414 bytes, line 1
1,setStyle:function(t){var e=t&&t.radius||this._radius;return Li.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(),t=[t+i,e+i];this._pxBounds=new m(this._point.subtract(t),this._point.add(t))},_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()}}),Ti=Ai.extend({initialize:function(t,e,i){if(a(this,e="number"==typeof e?l({},i,{radius:e}):e),this._latlng=w(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 p(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:Li.prototype.setStyle,_project:function(){var t,e,i,n,o,a=this._latlng.lng,r=this._latlng.lat,s=this._map,l=s.options.crs;l.distance===ue.distance?(n=Math.PI/180,o=this._mRadius/ue.R/n,t=s.project([r+o,a]),e=s.project([r-o,a]),e=t.add(e).divideBy(2),i=s.unproject(e).lat,n=Math.acos((Math.cos(o*n)-Math.sin(r*n)*Math.sin(i*n))/(Math.cos(r*n)*Math.cos(i*n)))/n,!isNaN(n)&&0!==n||(n=o/Math.cos(Math.PI/180*r)),this._point=e.subtract(s.getPixelOrigin()),this._radius=isNaN(n)?0:e.x-s.project([i,a-n]).x,this._radiusY=e.y-t.y):(o=l.unproject(l.project(this._latlng).subtract([this._mRadius,0])),this._point=s.latLngToLayerPoint(this._latlng),this._radius=this._point.x-s.latLngToLayerPoint(o).x),this._updateBounds()}}),Ii=Li.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,e){a(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,a=jt,r=0,s=this._parts.length;r<s;r++)for(var l=this._parts[r],c=1,u=l.length;c<u;c++){var d=a(t,e=l[c-1],i=l[c],!0);d<n&&(n=d,o=a(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,a,r=this._rings[0],s=r.length;if(!s)return null;for(e=t=0;t<s-1;t++)e+=r[t].distanceTo(r[t+1])/2;if(0===e)return this._map.layerPointToLatLng(r[0]);for(i=t=0;t<s-1;t++)if(n=r[t],o=r[t+1],(i+=a=n.distanceTo(o))>e)return this._map.layerPointToLatLng([o.x-(a=(i-e)/a)*(o.x-n.x),o.y-a*(o.y-n.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=w(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new p,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return Ot(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],i=Ot(t),n=0,o=t.length;n<o;n++)i?(e[n]=w(t[n]),this._bounds.extend(e[n])):e[n]=this._convertLatLngs(t[n]);return e},_project:function(){var t=new m,e=(this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t),this._clickTolerance()),e=new f(e,e);this._bounds.isValid()&&t.isValid()&&(t.min._subtract(e),t.max._add(e),this._pxBounds=t)},_projectLatlngs:function(t,e,i){var n,o,a=t[0]instanceof v,r=t.length;if(a){for(o=[],n=0;n<r;n++)o[n]=this._map.latLngToLayerPoint(t[n]),i.extend(o[n]);e.push(o)}else for(n=0;n<r;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 for(var e,i,n,o,a=this._parts,r=0,s=0,l=this._rings.length;r<l;r++)for(e=0,i=(o=this._rings[r]).length;e<i-1;e++)(n=Pt(o[e],o[e+1],t,e,!0))&&(a[s]=a[s]||[],a[s].push(n[0]),n[1]===o[e+1]&&e!==i-2||(a[s].push(n[1]),s++))},_simplifyPoints:function(){for(var t=this._parts,e=this.options.smoothFactor,i=0,n=t.length;i<n;i++)t[i]=It(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,a,r,s,l=this._clickTolerance();if(this._pxBounds&&this._pxBounds.contains(t))for(i=0,a=this._parts.length;i<a;i++)for(n=0,o=(r=(s=this._parts[i]).length)-1;n<r;o=n++)if((e||0!==n)&&Dt(t,s[o],s[n])<=l)return!0;return!1}}),Di=(Ii._flat=Nt,Ii.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length}
vendor: 9,295 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,a,r,s,l,c=this._rings[0],u=c.length;if(!u)return null;for(t=a=r=s=0,e=u-1;t<u;e=t++)i=c[t],n=c[e],o=i.y*n.x-n.y*i.x,r+=(i.x+n.x)*o,s+=(i.y+n.y)*o,a+=3*o;return l=0===a?c[0]:[r/a,s/a],this._map.layerPointToLatLng(l)},_convertLatLngs:function(t){var t=Ii.prototype._convertLatLngs.call(this,t),e=t.length;return 2<=e&&t[0]instanceof v&&t[0].equals(t[e-1])&&t.pop(),t},_setLatLngs:function(t){Ii.prototype._setLatLngs.call(this,t),Ot(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return(Ot(this._latlngs[0])?this._latlngs:this._latlngs[0])[0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,e=new f(e,e),t=new m(t.min.subtract(e),t.max.add(e));if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var i,n=0,o=this._rings.length;n<o;n++)(i=Bt(this._rings[n],t,!0)).length&&this._parts.push(i)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var e,i,n,o,a,r,s,l,c=!1;if(!this._pxBounds.contains(t))return!1;for(o=0,s=this._parts.length;o<s;o++)for(a=0,r=(l=(e=this._parts[o]).length)-1;a<l;r=a++)i=e[a],n=e[r],i.y>t.y!=n.y>t.y&&t.x<(n.x-i.x)*(t.y-i.y)/(n.y-i.y)+i.x&&(c=!c);return c||Ii.prototype._containsPoint.call(this,t,!0)}})),Pi=ki.extend({initialize:function(t,e){a(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,i,n,o=te(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 a,r=this.options;return(!r.filter||r.filter(t))&&(a=Rt(t,r))?(a.feature=qt(t),a.defaultOptions=a.options,this.resetStyle(a),r.onEachFeature&&r.onEachFeature(t,a),this.addLayer(a)):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){"function"==typeof e&&(e=e(t.feature)),t.setStyle&&t.setStyle(e)}}),o={toGeoJSON:function(t){return Ut(this,{type:"Point",coordinates:Wt(this.getLatLng(),t)})}},de=(Mi.include(o),Ti.include(o),Ai.include(o),Ii.include({toGeoJSON:function(t){var e=!Ot(this._latlngs);return Ut(this,{type:(e?"Multi":"")+"LineString",coordinates:Ht(this._latlngs,e?1:0,!1,t)})}}),Di.include({toGeoJSON:function(t){var e=!Ot(this._latlngs),i=e&&!Ot(this._latlngs[0]),t=Ht(this._latlngs,i?2:e?1:0,!0,t);return Ut(this,{type:(i?"Multi":"")+"Polygon",coordinates:t=e?t:[t]})}}),wi.include({toMultiPoint:function(e){var i=[];return this.eachLayer(function(t){i.push(t.toGeoJSON(e).geometry.coordinates)}),Ut(this,{type:"MultiPoint",coordinates:i})},toGeoJSON:function(e){var i,n,t=this.feature&&this.feature.geometry&&this.feature.geometry.type;return"MultiPoint"===t?this.toMultiPoint(e):(i="GeometryCollection"===t,n=[],this.eachLayer(function(t){t.toGeoJSON&&(t=t.toGeoJSON(e),i?n.push(t.geometry):"FeatureCollection"===(t=qt(t)).type?n.push.apply(n,t.features):n.push(t))}),i?Ut(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n})}}),Vt),Ei=O.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,e,i){this._url=t,this._bounds=g(e),a(this,i)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(C(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){x(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&&yt(this._image),this},bringToBack:function(){return this._map&&_t(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=g(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:k("img");C(e,"leaflet-image-layer"),this._zoomAnimated&&C(e,"leaflet-zoom-animated"),this.options.className&&C(e,this.options.className),e.onselectstart=c,e.onmousemove=c,e.onload=h(this.fire,this,"load"),e.onerror=h(this._overlayOnError,this,"error"),this.options.crossOrigin&&(e.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),t=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;Ct(this._image,t,e)},_reset:function(){var t=this._image,e=new m(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),i=e.getSize();A(t,e.min),t.style.width=i.x+"px",t.style.height=i.y+"px"},_updateOpacity:function(){M(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&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)}}),zi=Ei.extend({options:{autoplay:!0,loop:!0},_initImage:function(){var t="VIDEO"===this._url.tagName,e=this._image=t?this._url:k("video");if(C(e,"leaflet-image-layer"),this._zoomAnimated&&C(e,"leaflet-zoom-animated"),e.onselectstart=c,e.onmousemove=c,e.onloadeddata=h(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{te(this._url)||(this._url=[this._url]),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop;for(var a=0;a<this._url.length;a++){var r=k("source");r.src=this._url[a],e.appendChild(r)}}}}),ji=O.extend({options:{offset:[0,7],className:"",pane:"popupPane"},initialize:function(t,e){a(this,t),this._source=e},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&M(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&M(this._container,1),this.bringToFront()},onRemove:function(t){t._fadeAnimated?(M(this._container,0),this._removeTimeout=setTimeout(h(x,void 0,this._container),200)):x(this._container)},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=w(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&&yt(this._container),this},bringToBack:function(){return this._map&&_t(this._container),this},_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(){var t,e,i;this._map&&(e=this._map.latLngToLayerPoint(this._latlng),t=u(this.options.offset),i=this._getAnchor(),this._zoomAnimated?A(this._container,e.add(i)):t=t.add(e).add(i),e=this._containerBottom=-t.y,i=this._containerLeft=-Math.round(this._containerWidth/2)+t.x,this._container.style.bottom=e+"px",this._container.style.left=i+"px")},_getAnchor:function(){return[0,0]}}),Oi=ji.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){ji.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof Li||this._source.on("preclick",rt))},onRemove:function(t){ji.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof Li||this._source.off("preclick",rt))},getEvents:function(){var t=ji.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this._close),this.options.keepInView&&
1(t.moveend=this._adjustPan),t},_close:function(){this._map&&this._map.closePopup(this)},_initLayout:function(){var t="leaflet-popup",e=this._container=k("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),i=this._wrapper=k("div",t+"-wrapper",e);this._contentNode=k("div",t+"-content",i),lt(i),st(this._contentNode),y(i,"contextmenu",rt),this._tipContainer=k("div",t+"-tip-container",e),this._tip=k("div",t+"-tip",this._tipContainer),this.options.closeButton&&((i=this._closeButton=k("a",t+"-close-button",e)).href="#close",i.innerHTML="&#215;",y(i,"click",this._onCloseButtonClick,this))},_updateLayout:function(){var t=this._contentNode,e=t.style,i=(e.width="",e.whiteSpace="nowrap",t.offsetWidth),i=Math.min(i,this.options.maxWidth),i=(i=Math.max(i,this.options.minWidth),e.width=i+1+"px",e.whiteSpace="",e.height="",t.offsetHeight),n=this.options.maxHeight;(n&&n<i?(e.height=n+"px",C):S)(t,"leaflet-popup-scrolled"),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var t=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),e=this._getAnchor();A(this._container,t.add(e))},_adjustPan:function(){var t,e,i,n,o,a,r,s;!this.options.autoPan||this._map._panAnim&&this._map._panAnim._inProgress||(t=this._map,e=parseInt(gt(this._container,"marginBottom"),10)||0,e=this._container.offsetHeight+e,s=this._containerWidth,(i=new f(this._containerLeft,-e-this._containerBottom))._add(St(this._container)),i=t.layerPointToContainerPoint(i),o=u(this.options.autoPanPadding),n=u(this.options.autoPanPaddingTopLeft||o),o=u(this.options.autoPanPaddingBottomRight||o),a=t.getSize(),r=0,i.x+s+o.x>a.x&&(r=i.x+s-a.x+o.x),i.x-r-n.x<(s=0)&&(r=i.x-n.x),i.y+e+o.y>a.y&&(s=i.y+e-a.y+o.y),i.y-s-n.y<0&&(s=i.y-n.y),(r||s)&&t.fire("autopanstart").panBy([r,s]))},_onCloseButtonClick:function(t){this._close(),ct(t)},_getAnchor:function(){return u(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Ni=(z.mergeOptions({closePopupOnClick:!0}),z.include({openPopup:function(t,e,i){return t instanceof Oi||(t=new Oi(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}}),O.include({bindPopup:function(t,e){return t instanceof Oi?(a(t,e),(this._popup=t)._source=this):(this._popup&&!e||(this._popup=new Oi(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){if(t instanceof O||(e=t,t=this),t instanceof ki)for(var i in this._layers){t=this._layers[i];break}return e=e||(t.getCenter?t.getCenter():t.getLatLng()),this._popup&&this._map&&(this._popup._source=t,this._popup.update(),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&&(ct(t),e instanceof Li?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)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}}),ji.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(t){ji.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){ji.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var t=ji.prototype.getEvents.call(this);return Be&&!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=k("div",t)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e=this._map,i=this._container,n=e.latLngToContainerPoint(e.getCenter()),e=e.layerPointToContainerPoint(t),o=this.options.direction,a=i.offsetWidth,r=i.offsetHeight,s=u(this.options.offset),l=this._getAnchor();t="top"===o?t.add(u(-a/2+s.x,-r+s.y+l.y,!0)):"bottom"===o?t.subtract(u(a/2-s.x,-s.y,!0)):"center"===o?t.subtract(u(a/2+s.x,r/2-l.y+s.y,!0)):"right"===o||"auto"===o&&e.x<n.x?(o="right",t.add(u(s.x+l.x,l.y-r/2+s.y,!0))):(o="left",t.subtract(u(a+l.x-s.x,r/2-l.y-s.y,!0))),S(i,"leaflet-tooltip-right"),S(i,"leaflet-tooltip-left"),S(i,"leaflet-tooltip-top"),S(i,"leaflet-tooltip-bottom"),C(i,"leaflet-tooltip-"+o),A(i,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&M(this._container,t)},_animateZoom:function(t){t=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(t)},_getAnchor:function(){return u(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}
1)),Bi=(z.include({openTooltip:function(t,e,i){return t instanceof Ni||(t=new Ni(i).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:this.addLayer(t)},closeTooltip:function(t){return t&&this.removeLayer(t),this}}),O.include({bindTooltip:function(t,e){return t instanceof Ni?(a(t,e),(this._tooltip=t)._source=this):(this._tooltip&&!e||(this._tooltip=new Ni(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){var e,i;!t&&this._tooltipHandlersAdded||(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),Be&&(i.click=this._openTooltip)),this[e](i),this._tooltipHandlersAdded=!t)},openTooltip:function(t,e){if(t instanceof O||(e=t,t=this),t instanceof ki)for(var i in this._layers){t=this._layers[i];break}return e=e||(t.getCenter?t.getCenter():t.getLatLng()),this._tooltip&&this._map&&(this._tooltip._source=t,this._tooltip.update(),this._map.openTooltip(this._tooltip,e),this._tooltip.options.interactive)&&this._tooltip._container&&(C(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&&(S(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=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(t=this._map.mouseEventToContainerPoint(t.originalEvent),t=this._map.containerPointToLayerPoint(t),e=this._map.layerPointToLatLng(t)),this._tooltip.setLatLng(e)}}),xi.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var t=t&&"DIV"===t.tagName?t:document.createElement("div"),e=this.options;return t.innerHTML=!1!==e.html?e.html:"",e.bgPos&&(e=u(e.bgPos),t.style.backgroundPosition=-e.x+"px "+-e.y+"px"),this._setIconStyles(t,"icon"),t},createShadow:function(){return null}})),Ri=(xi.Default=Ci,O.extend({options:{tileSize:256,opacity:1,updateWhenIdle:je,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){a(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(),x(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(yt(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(_t(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=N(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 f?t:new f(t,t)},_updateZIndex:function(){this._container&&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,a=i.length;o<a;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&&!we){M(this._container,this.options.opacity);var t,e=+new Date,i=!1,n=!1;for(t in this._tiles){var o,a=this._tiles[t];a.current&&a.loaded&&(o=Math.min(1,(e-a.loaded)/200),M(a.el,o),o<1?i=!0:(a.active?n=!0:this._onOpaqueTile(a),a.active=!0))}n&&!this._noPrune&&this._pruneTiles(),i&&(r(this._fadeFrame),this._fadeFrame=b(this._updateOpacity,this))}},_onOpaqueTile:c,_initContainer:function(){this._container||(this._container=k("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)):(x(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=k("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:c,_onRemoveLevel:c,_onCreateLevel:c,_pruneTiles:function(){if(this._map){var t,e,i,n=this._map.getZoom();if(n>this.options.maxZoom||n<this.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)(e=this._tiles[t]).retain=e.current;for(t in this._tiles)(e=this._tiles[t]).current&&!e.active&&(i=e.coords,this._retainParent(i.x,i.y,i.z,i.z-5)||this._retainChildren(i.x,i.y,i.z,i.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)x(this._levels[t].el),this._onRemoveLevel(t),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0}
vendor: 4,982 bytes, line 1
1,_retainParent:function(t,e,i,n){var t=Math.floor(t/2),e=Math.floor(e/2),i=i-1,o=new f(+t,+e),o=(o.z=i,this._tileCoordsToKey(o)),o=this._tiles[o];return o&&o.active?o.retain=!0:(o&&o.loaded&&(o.retain=!0),n<i&&this._retainParent(t,e,i,n))},_retainChildren:function(t,e,i,n){for(var o=2*t;o<2*t+2;o++)for(var a=2*e;a<2*e+2;a++){var r=new f(o,a),r=(r.z=i+1,this._tileCoordsToKey(r)),r=this._tiles[r];r&&r.active?r.retain=!0:(r&&r.loaded&&(r.retain=!0),i+1<n&&this._retainChildren(o,a,i+1,n))}},_resetView:function(t){t=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),t,t)},_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)),a=((void 0!==this.options.maxZoom&&o>this.options.maxZoom||void 0!==this.options.minZoom&&o<this.options.minZoom)&&(o=void 0),this.options.updateWhenZooming&&o!==this._tileZoom);n&&!a||(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),e=t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(e,i)).round();I?Ct(t.el,e,n):A(t.el,e)},_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(),i=e.getZoomScale(i,this._tileZoom),t=e.project(t,this._tileZoom).floor(),e=e.getSize().divideBy(2*i);return new m(t.subtract(e),t.add(e))},_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,e=this._getTiledPixelBounds(t),o=this._pxBoundsToTileRange(e),a=o.getCenter(),r=[],e=this.options.keepBuffer,s=new m(o.getBottomLeft().subtract([e,-e]),o.getTopRight().add([e,-e]));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(n in this._tiles){var l=this._tiles[n].coords;l.z===this._tileZoom&&s.contains(new f(l.x,l.y))||(this._tiles[n].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 u=o.min.x;u<=o.max.x;u++){var d,h=new f(u,c);h.z=this._tileZoom,this._isValidTile(h)&&((d=this._tiles[this._tileCoordsToKey(h)])?d.current=!0:r.push(h))}if(r.sort(function(t,e){return t.distanceTo(a)-e.distanceTo(a)}),0!==r.length){this._loading||(this._loading=!0,this.fire("loading"));for(var p=document.createDocumentFragment(),u=0;u<r.length;u++)this._addTile(r[u],p);this._level.el.appendChild(p)}}}}},_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}return!this.options.bounds||(e=this._tileCoordsToBounds(t),g(this.options.bounds).overlaps(e))},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,i=this.getTileSize(),n=t.scaleBy(i),i=n.add(i);return[e.unproject(n,t.z),e.unproject(i,t.z)]},_tileCoordsToBounds:function(t){t=this._tileCoordsToNwSe(t),t=new p(t[0],t[1]);return t=this.options.noWrap?t:this._map.wrapLatLngBounds(t)},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var t=t.split(":"),e=new f(+t[0],+t[1]);return e.z=+t[2],e},_removeTile:function(t){var e=this._tiles[t];e&&(Le||e.el.setAttribute("src",ee),x(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){C(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=c,t.onmousemove=c,we&&this.options.opacity<1&&M(t,this.options.opacity),Ce&&!Se&&(t.style.WebkitBackfaceVisibility="hidden")},_addTile:function(t,e){var i=this._getTilePos(t),n=this._tileCoordsToKey(t),o=this.createTile(this._wrapCoords(t),h(this._tileReady,this,t));this._initTile(o),this.createTile.length<2&&b(h(this._tileReady,this,t,null,o)),A(o,i),this._tiles[n]={el:o,c
1oords:t,current:!0},e.appendChild(o),this.fire("tileloadstart",{tile:o,coords:t})},_tileReady:function(t,e,i){var n;this._map&&(e&&this.fire("tileerror",{error:e,tile:i,coords:t}),n=this._tileCoordsToKey(t),i=this._tiles[n])&&(i.loaded=+new Date,this._map._fadeAnimated?(M(i.el,0),r(this._fadeFrame),this._fadeFrame=b(this._updateOpacity,this)):(i.active=!0,this._pruneTiles()),e||(C(i.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:i.el,coords:t})),this._noTilesToLoad())&&(this._loading=!1,this.fire("load"),we||!this._map._fadeAnimated?b(this._pruneTiles,this):setTimeout(h(this._pruneTiles,this),250))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new f(this._wrapX?B(t.x,this._wrapX):t.x,this._wrapY?B(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new m(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}})),Fi=Ri.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=a(this,e)).detectRetina&&$e&&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("")),Ce||this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url=t,e||this.redraw(),this},createTile:function(t,e){var i=document.createElement("img");return y(i,"load",h(this._tileOnLoad,this,e,i)),y(i,"error",h(this._tileOnError,this,e,i)),this.options.crossOrigin&&(i.crossOrigin=""),i.alt="",i.setAttribute("role","presentation"),i.src=this.getTileUrl(t),i},getTileUrl:function(t){var e={r:$e?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};return this._map&&!this._map.options.crs.infinite&&(t=this._globalTileRange.max.y-t.y,this.options.tms&&(e.y=t),e["-y"]=t),W(this._url,l(e,this.options))},_tileOnLoad:function(t,e){we?setTimeout(h(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(t=this.options.zoomReverse?e-t:t)+this.options.zoomOffset},_getSubdomain:function(t){t=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[t]},_abortLoading:function(){var t,e;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&((e=this._tiles[t].el).onload=c,e.onerror=c,e.complete||(e.src=ee,x(e),delete this._tiles[t]))}}),$i=Fi.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,n=l({},this.defaultWmsParams);for(i in e)i in this.options||(n[i]=e[i]);var t=(e=a(this,e)).detectRetina&&$e?2:1,o=this.getTileSize();n.width=o.x*t,n.height=o.y*t,this.wmsParams=n},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,Fi.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),i=this._crs,i=d(i.project(e[0]),i.project(e[1])),e=i.min,i=i.max,e=(1.3<=this._wmsVersion&&this._crs===bi?[e.y,e.x,i.y,i.x]:[e.x,e.y,i.x,i.y]).join(","),i=L.TileLayer.prototype.getTileUrl.call(this,t);return i+$(this.wmsParams,i,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+e},setParams:function(t,e){return l(this.wmsParams,t),e||this.redraw(),this}}),Wi=(Fi.WMS=$i,Zt.wms=function(t,e){return new $i(t,e)},O.extend({options:{padding:.1,tolerance:0},initialize:function(t){a(this,t),s(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&C(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=St(this._container),o=this._map.getSize().multiplyBy(.5+this.options.padding),a=this._map.project(this._center,e),t=this._map.project(t,e).subtract(a),e=o.multiplyBy(-i).add(n).add(o).subtract(t);I?Ct(this._container,e,i):A(this._container,e)},_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)).roun
1d();this._bounds=new m(i,i.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}})),Hi=Wi.extend({getEvents:function(){var t=Wi.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Wi.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");y(t,"mousemove",N(this._onMouseMove,32,this),this),y(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),y(t,"mouseout",this._handleMouseOut,this),this._ctx=t.getContext("2d")},_destroyContainer:function(){delete this._ctx,x(this._container),n(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(){var t,e,i,n;this._map._animatingZoom&&this._bounds||(this._drawnLayers={},Wi.prototype._update.call(this),t=this._bounds,e=this._container,i=t.getSize(),n=$e?2:1,A(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",$e&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update"))},_reset:function(){Wi.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t);t=(this._layers[s(t)]=t)._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=t),this._drawLast=t,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,i=e.next,e=e.prev;i?i.prev=e:this._drawLast=e,e?e.next=i:this._drawFirst=i,delete t._order,delete this._layers[L.stamp(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(t.options.dashArray){for(var e=t.options.dashArray.split(","),i=[],n=0;n<e.length;n++)i.push(Number(e[n]));t.options._dashArray=i}},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||b(this._redraw,this))},_extendRedrawBounds:function(t){var e;t._pxBounds&&(e=(t.options.weight||0)+1,this._redrawBounds=this._redrawBounds||new m,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,e=this._redrawBounds;e?(t=e.getSize(),this._ctx.clearRect(e.min.x,e.min.y,t.x,t.y)):this._ctx.clearRect(0,0,this._container.width,this._container.height)},_draw:function(){var t,e,i=this._redrawBounds;this._ctx.save(),i&&(e=i.getSize(),this._ctx.beginPath(),this._ctx.rect(i.min.x,i.min.y,e.x,e.y),this._ctx.clip()),this._drawing=!0;for(var n=this._drawFirst;n;n=n.next)t=n.layer,(!i||t._pxBounds&&t._pxBounds.intersects(i))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,e){if(this._drawing){var i,n,o,a,r=t._parts,s=r.length,l=this._ctx;if(s){for(this._drawnLayers[t._leaflet_id]=t,l.beginPath(),i=0;i<s;i++){for(n=0,o=r[i].length;n<o;n++)a=r[i][n],l[n?"lineTo":"moveTo"](a.x,a.y);e&&l.closePath()}this._fillStroke(l,t)}}},_updateCircle:function(t){var e,i,n,o;this._drawing&&!t._empty()&&(e=t._point,i=this._ctx,n=Math.max(Math.round(t._radius),1),o=(Math.max(Math.round(t._radiusY),1)||n)/n,this._drawnLayers[t._leaflet_id]=t,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&&(ht(t),this._fireEvent([i],t))},_onMouseMove:function(t){var e;!this._map||this._map.dragging.moving()||this._map._animatingZoom||(e=this._map.mouseEventToLayerPoint(t),this._handleMouseHover(t,e))},_handleMouseOut:function(t){var e=this._hoveredLayer;e&&(S(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)&&(C(this._container,"leaflet-interactive"),this._fireEvent([n],t,"mouseover"),this._hoveredLayer=n),this._hoveredLayer&&this._fireEvent([this._hoveredLayer],t)}
vendor: 11,324 bytes, line 1
1,_fireEvent:function(t,e,i){this._map._fireDOMEvent(e,i||e.type,t)},_bringToFront:function(t){var e=t._order,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,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))}}),Ui=(()=>{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">')}}})(),Ne={_initContainer:function(){this._container=k("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Wi.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=Ui("shape");C(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=Ui("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[s(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;x(e),t.removeInteractiveTarget(e),delete this._layers[s(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=Ui("stroke")),o.appendChild(e),e.weight=n.weight+"px",e.color=n.color,e.opacity=n.opacity,n.dashArray?e.dashStyle=te(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=Ui("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){yt(t._container)},_bringToBack:function(t){_t(t._container)}},qi=Ue?Ui:G,Vi=Wi.extend({getEvents:function(){var t=Wi.prototype.getEvents.call(this);return t.zoomstart=this._onZoomStart,t},_initContainer:function(){this._container=qi("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=qi("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){x(this._container),n(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){var t,e,i;this._map._animatingZoom&&this._bounds||(Wi.prototype._update.call(this),e=(t=this._bounds).getSize(),i=this._container,this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,i.setAttribute("width",e.x),i.setAttribute("height",e.y)),A(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=qi("path");t.options.className&&C(e,t.options.className),t.options.interactive&&C(e,"leaflet-interactive"),this._updateStyle(t),this._layers[s(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){x(t._path),t.removeInteractiveTarget(t._path),delete this._layers[s(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,t=t.options;e&&(t.stroke?(e.setAttribute("stroke",t.color),e.setAttribute("stroke-opacity",t.opacity),e.setAttribute("stroke-width",t.weight),e.setAttribute("stroke-linecap",t.lineCap),e.setAttribute("stroke-linejoin",t.lineJoin),t.dashArray?e.setAttribute("stroke-dasharray",t.dashArray):e.removeAttribute("stroke-dasharray"),t.dashOffset?e.setAttribute("stroke-dashoffset",t.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),t.fill?(e.setAttribute("fill",t.fillColor||t.color),e.setAttribute("fill-opacity",t.fillOpacity),e.setAttribute("fill-rule",t.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 ",e=t._empty()?"M0 0":"M"+(e.x-i)+","+e.y+n+2*i+",0 "+n+2*-i+",0 ";this._setPath(t,e)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){yt(t._path)},_bringToBack:function(t){_t(t._path)}}),Zi=(Ue&&Vi.include(Ne),z.include({getRenderer:function(t){t=(t=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer)||(this._renderer=this.options.preferCanvas&&Yt()||Gt());return this.hasLayer(t)||this.addLayer(t),t},_getPaneRenderer:function(t){var e;return"overlayPane"!==t&&void 0!==t&&(void 0===(e=this._paneRenderers[t])&&(e=Vi&&Gt({pane:t})||Hi&&Yt({pane:t}),this._paneRenderers[t]=e),e)}}),Di.extend({initialize:function(t,e){Di.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=g(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}})),D=(Vi.create=qi,Vi.pointsToPath=X,Pi.geometryToLayer=Rt,Pi.coordsToLatLng=Ft,Pi.coordsToLatLngs=$t,Pi.latLngToCoords=Wt,Pi.latLngsToCoords=Ht,Pi.getFeature=Ut,Pi.asFeature=qt,z.mergeOptions({boxZoom:!0}),T.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(){y(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){n(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){x(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(),me(),Mt(),this._startPoint=this._map.mouseEventToContainerPoint(t),y(document,{contextmenu:ct,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=k("div","leaflet-zoom-box",this._container),C(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var t=new m(this._point,this._startPoint),e=t.getSize();A(this._box,t.min),this._box.style.width=e.x+"px",this._box.style.height=e.y+"px"},_finish:function(){this._moved&&(x(this._box),S(this._container,"leaflet-crosshair")),ge(),Lt(),n(document,{contextmenu:ct,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){1!==t.which&&1!==t.button||(this._finish(),!this._moved)||(this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(h(this._resetState,this),0),t=new p(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point)),this._map.fitBounds(t).fire("boxzoomend",{boxZoomBounds:t}))},_onKeyDown:function(t){27===t.keyCode&&this._finish()}})),Oe=(z.addInitHook("addHandler","boxZoom",D),z.mergeOptions({doubleClickZoom:!0}),T.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,i=t.originalEvent.shiftKey?i-n:i+n;"center"===e.options.doubleClickZoom?e.setZoom(i):e.setZoomAround(t.containerPoint,i)}})),Pe=(z.addInitHook("addHandler","doubleClickZoom",Oe),z.mergeOptions({dragging:!0,inertia:!Se,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0}),T.extend({addHooks:function(){var t;this._draggable||(t=this._map,this._draggable=new _i(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))),C(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){S(this._map._container,"leaflet-grab"),S(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,e=this._map;e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity?(t=g(this._map.options.maxBounds),this._offsetLimit=d(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))):this._offsetLimit=null,e.fire("movestart").fire("dragstart"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){var e,i;this._map.options.inertia&&(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(){var t,e;this._viscosity&&this._offsetLimit&&(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,n=(n+e+i)%t-e-i,t=Math.abs(o+i)<Math.abs(n+i)?o:n;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=t},_onDragEnd:function(t){var e,i,n,o,a=this._map,r=a.options,s=!r.inertia||this._times.length<2;a.fire("dragend",t),!s&&(this._prunePositions(+new Date),t=this._lastPos.subtract(this._positions[0]),s=(this._lastTime-this._times[0])/1e3,e=r.easeLinearity,s=(t=t.multiplyBy(e/s)).distanceTo([0,0]),i=Math.min(r.inertiaMaxSpeed,s),t=t.multiplyBy(i/s),n=i/(r.inertiaDeceleration*e),(o=t.multiplyBy(-n/2).round()).x||o.y)?(o=a._limitOffset(o,a.options.maxBounds),b(function(){a.panBy(o,{duration:n,easeLinearity:e,noMoveStart:!0,animate:!0})}
1)):a.fire("moveend")}})),ve=(z.addInitHook("addHandler","dragging",Pe),z.mergeOptions({keyboard:!0,keyboardPanDelta:80}),T.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"),y(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(),n(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(){var t,e,i;this._focused||(i=document.body,t=document.documentElement,e=i.scrollTop||t.scrollTop,i=i.scrollLeft||t.scrollLeft,this._map._container.focus(),window.scrollTo(i,e))},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){for(var e=this._panKeys={},i=this.keyCodes,n=0,o=i.left.length;n<o;n++)e[i.left[n]]=[-1*t,0];for(n=0,o=i.right.length;n<o;n++)e[i.right[n]]=[t,0];for(n=0,o=i.down.length;n<o;n++)e[i.down[n]]=[0,t];for(n=0,o=i.up.length;n<o;n++)e[i.up[n]]=[0,-1*t]},_setZoomDelta:function(t){for(var e=this._zoomKeys={},i=this.keyCodes,n=0,o=i.zoomIn.length;n<o;n++)e[i.zoomIn[n]]=t;for(n=0,o=i.zoomOut.length;n<o;n++)e[i.zoomOut[n]]=-t},_addHooks:function(){y(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){n(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){if(n._panAnim&&n._panAnim._inProgress)return;e=this._panKeys[i],t.shiftKey&&(e=u(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()}ct(t)}}})),ye=(z.addInitHook("addHandler","keyboard",ve),z.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60}),T.extend({addHooks:function(){y(this._map._container,"mousewheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){n(this._map._container,"mousewheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var e=dt(t),i=this._map.options.wheelDebounceTime,e=(this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date),Math.max(i-(+new Date-this._startTime),0));clearTimeout(this._timer),this._timer=setTimeout(h(this._performZoom,this),e),ct(t)},_performZoom:function(){var t=this._map,e=t.getZoom(),i=this._map.options.zoomSnap||0,n=(t._stop(),this._delta/(4*this._map.options.wheelPxPerZoomLevel)),n=4*Math.log(2/(1+Math.exp(-Math.abs(n))))/Math.LN2,i=i?Math.ceil(n/i)*i:n,n=t._limitZoom(e+(0<this._delta?i:-i))-e;this._delta=0,this._startTime=null,n&&("center"===t.options.scrollWheelZoom?t.setZoom(e+n):t.setZoomAround(this._lastMousePos,e+n))}})),Te=(z.addInitHook("addHandler","scrollWheelZoom",ye),z.mergeOptions({tap:!0,tapTolerance:15}),T.extend({addHooks:function(){y(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){n(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){var e;t.touches&&(_(t),this._fireClick=!0,1<t.touches.length?(this._fireClick=!1,clearTimeout(this._holdTimeout)):(t=(e=t.touches[0]).target,this._startPos=this._newPos=new f(e.clientX,e.clientY),t.tagName&&"a"===t.tagName.toLowerCase()&&C(t,"leaflet-active"),this._holdTimeout=setTimeout(h(function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",e))},this),1e3),this._simulateEvent("mousedown",e),y(document,{touchmove:this._onMove,touchend:this._onUp},this)))},_onUp:function(t){var e;clearTimeout(this._holdTimeout),n(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&t&&t.changedTouches&&((e=(t=t.changedTouches[0]).target)&&e.tagName&&"a"===e.tagName.toLowerCase()&&S(e,"leaflet-active"),this._simulateEvent("mouseup",t),this._isTapValid())&&this._simulateEvent("click",t)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(t){t=t.touches[0];this._newPos=new f(t.clientX,t.clientY),this._simulateEvent("mousemove",t)},_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)}})),o=(Be&&!P&&z.addInitHook("addHandler","tap",Te),z.mergeOptions({touchZoom:Be&&!Se,bounceAtZoomLimits:!0}),T.extend({addHooks:function(){C(this._map._container,"leaflet-touch-zoom"),y(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){S(this._map._container,"leaflet-touch-zoom"),n(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e,i,n=this._map;!t.touches||2!==t.touches.length||n._animatingZoom||this._zooming||(e=n.mouseEventToContainerPoint(t.touches[0]),i=n.mou
vendor: 2,345 bytes, line 1
1seEventToContainerPoint(t.touches[1]),this._centerPoint=n.getSize()._divideBy(2),this._startLatLng=n.containerPointToLatLng(this._centerPoint),"center"!==n.options.touchZoom&&(this._pinchStartLatLng=n.containerPointToLatLng(e.add(i)._divideBy(2))),this._startDist=e.distanceTo(i),this._startZoom=n.getZoom(),this._moved=!1,this._zooming=!0,n._stop(),y(document,"touchmove",this._onTouchMove,this),y(document,"touchend",this._onTouchEnd,this),_(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.getMinZoom()&&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{i=i._add(n)._divideBy(2)._subtract(this._centerPoint);if(1==o&&0===i.x&&0===i.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(i),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),r(this._animRequest);n=h(e._move,e,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=b(n,this,!0),_(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,r(this._animRequest),n(document,"touchmove",this._onTouchMove),n(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}})),Yi=(z.addInitHook("addHandler","touchZoom",o),z.BoxZoom=D,z.DoubleClickZoom=Oe,z.Drag=Pe,z.Keyboard=ve,z.ScrollWheelZoom=ye,z.Tap=Te,z.TouchZoom=o,window.L);window.L=t,Object.freeze=Xt,t.version="1.3.1",t.noConflict=function(){return window.L=Yi,this},t.Control=j,t.control=si,t.Browser=be,t.Evented=se,t.Mixin=De,t.Util=ae,t.Class=V,t.Handler=T,t.extend=l,t.bind=h,t.stamp=s,t.setOptions=a,t.DomEvent=xe,t.DomUtil=Me,t.PosAnimation=ui,t.Draggable=_i,t.LineUtil=ze,t.PolyUtil=_e,t.Point=f,t.point=u,t.Bounds=m,t.bounds=d,t.Transformation=Z,t.transformation=Y,t.Projection=Fe,t.LatLng=v,t.latLng=w,t.LatLngBounds=p,t.latLngBounds=g,t.CRS=ce,t.GeoJSON=Pi,t.geoJSON=Vt,t.geoJ
1son=de,t.Layer=O,t.LayerGroup=wi,t.layerGroup=function(t,e){return new wi(t,e)},t.FeatureGroup=ki,t.featureGroup=function(t){return new ki(t)},t.ImageOverlay=Ei,t.imageOverlay=function(t,e,i){return new Ei(t,e,i)},t.VideoOverlay=zi,t.videoOverlay=function(t,e,i){return new zi(t,e,i)},t.DivOverlay=ji,t.Popup=Oi,t.popup=function(t,e){return new Oi(t,e)},t.Tooltip=Ni,t.tooltip=function(t,e){return new Ni(t,e)},t.Icon=xi,t.icon=function(t){return new xi(t)},t.DivIcon=Bi,t.divIcon=function(t){return new Bi(t)},t.Marker=Mi,t.marker=function(t,e){return new Mi(t,e)},t.TileLayer=Fi,t.tileLayer=Zt,t.GridLayer=Ri,t.gridLayer=function(t){return new Ri(t)},t.SVG=Vi,t.svg=Gt,t.Renderer=Wi,t.Canvas=Hi,t.canvas=Yt,t.Path=Li,t.CircleMarker=Ai,t.circleMarker=function(t,e){return new Ai(t,e)},t.Circle=Ti,t.circle=function(t,e,i){return new Ti(t,e,i)},t.Polyline=Ii,t.polyline=function(t,e){return new Ii(t,e)},t.Polygon=Di,t.polygon=function(t,e){return new Di(t,e)},t.Rectangle=Zi,t.rectangle=function(t,e){return new Zi(t,e)},t.Map=z,t.map=function(t,e){return new z(t,e)}}),n=this,t=function(){var p="(prefers-reduced-motion: reduce)",R=4,it=5,i={CREATED:1,MOUNTED:2,IDLE:3,MOVING:R,SCROLLING:it,DRAGGING:6,DESTROYED:7};function I(t){t.length=0}function o(t,e,i){return Array.prototype.slice.call(t,e,i)}function z(t){return t.bind.apply(t,[null].concat(o(arguments,1)))}function nt(){}var m=setTimeout;function f(t){return requestAnimationFrame(t)}function n(t,e){return typeof e===t}function ot(t){return!r(t)&&n("object",t)}var a=Array.isArray,k=z(n,"function"),j=z(n,"string"),at=z(n,"undefined");function r(t){return null===t}function v(t){try{return t instanceof(t.ownerDocument.defaultView||window).HTMLElement}catch(t){return!1}}function y(t){return a(t)?t:[t]}function g(t,e){y(t).forEach(e)}function _(t,e){return-1<t.indexOf(e)}function x(t,e){return t.push.apply(t,y(e)),t}function L(e,t,i){e&&g(t,function(t){t&&e.classList[i?"add":"remove"](t)})}function D(t,e){L(t,j(e)?e.split(" "):e,!0)}function S(t,e){g(e,t.appendChild.bind(t))}function M(t,i){g(t,function(t){var e=(i||t).parentNode;e&&e.insertBefore(t,i)})}
vendor: 4,272 bytes, line 1
1function rt(t,e){return v(t)&&(t.msMatchesSelector||t.matches).call(t,e)}function C(t,e){return t=t?o(t.children):[],e?t.filter(function(t){return rt(t,e)}):t}function st(t,e){return e?C(t,e)[0]:t.firstElementChild}var lt=Object.keys;function b(e,i,t){e&&(t?lt(e).reverse():lt(e)).forEach(function(t){"__proto__"!==t&&i(e[t],t)})}function ct(n){return o(arguments,1).forEach(function(i){b(i,function(t,e){n[e]=i[e]})}),n}function h(i){return o(arguments,1).forEach(function(t){b(t,function(t,e){a(t)?i[e]=t.slice():ot(t)?i[e]=h({},ot(i[e])?i[e]:{},t):i[e]=t})}),i}function ut(e,t){g(t||lt(e),function(t){delete e[t]})}function P(t,i){g(t,function(e){g(i,function(t){e&&e.removeAttribute(t)})})}function E(i,e,n){ot(e)?b(e,function(t,e){E(i,e,t)}):g(i,function(t){r(n)||""===n?P(t,e):t.setAttribute(e,String(n))})}function O(t,e,i){return t=document.createElement(t),e&&(j(e)?D:E)(t,e),i&&S(i,t),t}function A(t,e,i){if(at(i))return getComputedStyle(t)[e];r(i)||(t.style[e]=""+i)}function dt(t,e){A(t,"display",e)}function ht(t){t.setActive&&t.setActive()||t.focus({preventScroll:!0})}function T(t,e){return t.getAttribute(e)}function pt(t,e){return t&&t.classList.contains(e)}function N(t){return t.getBoundingClientRect()}function B(t){g(t,function(t){t&&t.parentNode&&t.parentNode.removeChild(t)})}function ft(t){return st((new DOMParser).parseFromString(t,"text/html").body)}function F(t,e){t.preventDefault(),e&&(t.stopPropagation(),t.stopImmediatePropagation())}function mt(t,e){return t&&t.querySelector(e)}function gt(t,e){return e?o(t.querySelectorAll(e)):[]}function $(t,e){L(t,e,!1)}function vt(t){return t.timeStamp}function W(t){return j(t)?t:t?t+"px":""}var w="splide",s="data-"+w;function yt(t,e){if(!t)throw new Error("["+w+"] "+(e||""))}var H=Math.min,_t=Math.max,bt=Math.floor,wt=Math.ceil,U=Math.abs;function kt(t,e,i){return U(t-e)<i}function xt(t,e,i,n){var o=H(e,i),e=_t(e,i);return n?o<t&&t<e:o<=t&&t<=e}function q(t,e,i){var n=H(e,i),e=_t(e,i);return H(_t(n,t),e)}function Ct(t){return(0<t)-(t<0)}function St(e,t){return g(t,function(t){e=e.replace("%s",""+t)}),e}function Mt(t){return t<10?"0"+t:""+t}var Lt={};function At(){var s=[];function i(t,i,n){g(t,function(e){e&&g(i,function(t){t.split(" ").forEach(function(t){t=t.split("."),n(e,t[0],t[1])})})})}return{bind:function(t,e,a,r){i(t,e,function(t,e,i){var n="addEventListener"in t,o=n?t.removeEventListener.bind(t,e,a,r):t.removeListener.bind(t,a);n?t.addEventListener(e,a,r):t.addListener(a),s.push([t,e,i,a,o])})},unbind:function(t,e,o){i(t,e,function(e,i,n){s=s.filter(function(t){return!!(t[0]!==e||t[1]!==i||t[2]!==n||o&&t[3]!==o)||(t[4](),!1)})})},dispatch:function(t,e,i){var n;return"function"==typeof CustomEvent?n=new CustomEvent(e,{bubbles:!0,detail:i}):(n=document.createEvent("CustomEvent")).initCustomEvent(e,!0,!1,i),t.dispatchEvent(n),n},destroy:function(){s.forEach(function(t){t[4]()}),I(s)}}}var V="mounted",Z="move",Tt="moved",It="click",Dt="active",Pt="inactive",Et="visible",zt="hidden",Y="refresh",G="updated",jt="resize",Ot="resized",Nt="scroll",X="scrolled",l="destroy",Bt="navigation:mounted",Rt="autoplay:play",Ft="autoplay:pause",$t="lazyload:loaded",Wt="sk",Ht="sh";function K(t){var i=t?t.event.bus:document.createDocumentFragment(),n=At();return t&&t.event.on(l,n.destroy),ct(n,{bus:i,on:function(t,e){n.bind(i,y(t).join(" "),function(t){e.apply(e,a(t.detail)?t.detail:[])})},off:z(n.unbind,i),emit:function(t){n.dispatch(i,t,o(arguments,1))}})}function Ut(e,t,i,n){var o,a,r=Date.now,s=0,l=!0,c=0;function u(){if(!l){if(s=e?H((r()-o)/e,1):1,i&&i(s),1<=s&&(t(),o=r(),n)&&++c>=n)return d();a=f(u)}}function d(){l=!0}function h(){a&&cancelAnimationFrame(a),l=!(a=s=0)}return{start:function(t){t||h(),o=r()-(t?s*e:0),l=!1,a=f(u)},rewind:function(){o=r(),s=0,i&&i(s)},pause:d,cancel:h,set:function(t){e=t},isPaused:function(){return l}}}var qt=(t="Arrow")+"Left",Vt=t+"Right",t=t+"Up",c={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[t,Vt],ArrowRight:["ArrowDown",qt]},J="role",Q="tabindex",e="aria-",Zt=e+"controls",Yt=e+"current",u=e+"selected",tt=e+"label",Gt=e+"labelledby",Xt=e+"hidden",Kt=e+"orientation",Qt=e+"roledescription",d=e+"atomic",te=[J,Q,"disabled",Zt,Yt,tt,Gt,Xt,Kt,Qt],ee=w,ie=(e=w+"__")+"track",
1ne=e+"list",oe=e+"slide",ae=oe+"--clone",re=oe+"__container",se=e+"arrows",le=e+"arrow",ce=le+"--prev",ue=le+"--next",de=e+"pagination",he=de+"__page",pe=e+"progress__bar",fe=e+"toggle",me=e+"sr",et="is-active",ge="is-prev",ve="is-next",ye="is-visible",_e="is-loading",be="is-focus-in",we="is-overflow",ke=[et,ye,ge,ve,_e,be,we],xe="touchstart mousedown",Ce="touchmove mousemove",Se="touchend touchcancel mouseup click",Me="slide",Le="loop",Ae="fade";function Te(r,s,e,l){var c,t=K(r),i=t.on,u=t.emit,n=t.bind,d=r.Components,o=r.root,h=r.options,p=h.isNavigation,a=h.updateOnMove,f=h.i18n,m=h.pagination,g=h.slideFocus,v=d.Direction.resolve,y=T(l,"style"),_=T(l,tt),b=-1<e,w=st(l,"."+re);function k(){var t=r.splides.map(function(t){return(t=t.splide.Components.Slides.getAt(s))?t.slide.id:""}).join(" ");E(l,tt,St(f.slideX,(b?e:s)+1)),E(l,Zt,t),E(l,J,g?"button":""),g&&P(l,Qt)}function x(){c||C()}function C(){var t,e,i,n,o,a;c||(t=r.index,(e=S())!==pt(l,et)&&(L(l,et,e),E(l,Yt,p&&e||""),u(e?Dt:Pt,M)),o=!(e=r.is(Ae)?S():(i=N(d.Elements.track),n=N(l),o=v("left",!0),a=v("right",!0),bt(i[o])<=wt(n[o])&&bt(n[a])<=wt(i[a])))&&(!S()||b),r.state.is([R,it])||E(l,Xt,o||""),E(gt(l,h.focusableNodes||""),Q,o?-1:""),g&&E(l,Q,o?-1:0),e!==pt(l,ye)&&(L(l,ye,e),u(e?Et:zt,M)),e||document.activeElement!==l||(o=d.Slides.getAt(r.index))&&ht(o.slide),L(l,ge,s===t-1),L(l,ve,s===t+1))}function S(){var t=r.index;return t===s||h.cloneStatus&&t===e}var M={index:s,slideIndex:e,slide:l,container:w,isClone:b,mount:function(){b||(l.id=o.id+"-slide"+Mt(s+1),E(l,J,m?"tabpanel":"group"),E(l,Qt,f.slide),E(l,tt,_||St(f.slideLabel,[s+1,r.length]))),n(l,"click",z(u,It,M)),n(l,"keydown",z(u,Wt,M)),i([Tt,Ht,X],C),i(Bt,k),a&&i(Z,x)},destroy:function(){c=!0,t.destroy(),$(l,ke),P(l,te),E(l,"style",y),E(l,tt,_||"")},update:C,style:function(t,e,i){A(i&&w||l,t,e)},isWithin:function(t,e){return t=U(t-s),(t=b||!h.rewind&&!r.is(Le)?t:H(t,r.length-t))<=e}};return M}var Ie=s+"-interval",De={passive:!1,capture:!0},Pe={Spacebar:" ",Right:Vt,Left:qt,Up:t,Down:"ArrowDown"};function Ee(t){return t=j(t)?t:t.key,Pe[t]||t}var ze=s+"-lazy",je=ze+"-srcset",Oe="["+ze+"], ["+je+"]",Ne=[" ","Enter"],Be=Object.freeze({__proto__:null,Media:function(n,t,o){var a=n.state,e=o.breakpoints||{},r=o.reducedMotion||{},i=At(),s=[];function l(t){t&&i.destroy()}function c(t,e){e=matchMedia(e),i.bind(e,"change",u),s.push([t,e])}function u(){var t=a.is(7),e=o.direction,i=s.reduce(function(t,e){return h(t,e[1].matches?e[0]:{})},{});ut(o),d(i),o.destroy?n.destroy("completely"===o.destroy):t?(l(!0),n.mount()):e!==o.direction&&n.refresh()}function d(t,e,i){h(o,t),e&&h(Object.getPrototypeOf(o),t),!i&&a.is(1)||n.emit(G,o)}return{setup:function(){var i="min"===o.mediaQuery;lt(e).sort(function(t,e){return i?+t-+e:+e-+t}).forEach(function(t){c(e[t],"("+(i?"min":"max")+"-width:"+t+"px)")}),c(r,p),u()},destroy:l,reduce:function(t){matchMedia(p).matches&&(t?h(o,r):ut(o,lt(r)))},set:d}},Direction:function(t,e,o){return{resolve:function(t,e,i){var n="rtl"!==(i=i||o.direction)||e?"ttb"===i?0:-1:1;return c[t]&&c[t][n]||t.replace(/width|left|right/i,function(t,e){return t=c[t.toLowerCase()][n]||t,0<e?t.charAt(0).toUpperCase()+t.slice(1):t})},orient:function(t){return t*("rtl"===o.direction?1:-1)}}},Elements:function(t,e,i){var n,o,a,r=K(t),s=r.on,l=r.bind,c=t.root,u=i.i18n,d={},h=[],p=[],f=[];function m(){n=y("."+ie),o=st(n,"."+ne),yt(n&&o,"A track/list element is missing."),x(h,C(o,"."+oe+":not(."+ae+")")),b({arrows:se,pagination:de,prev:ce,next:ue,bar:pe,toggle:fe},function(t,e){d[e]=y("."+t)}),ct(d,{root:c,track:n,list:o,slides:h});var t=c.id||""+w+Mt(Lt[w]=(Lt[w]||0)+1),e=i.role;c.id=t,n.id=n.id||t+"-track",o.id=o.id||t+"-list",!T(c,J)&&"SECTION"!==c.tagName&&e&&E(c,J,e),E(c,Qt,u.carousel),E(o,J,"presentation"),v()}function g(t){var e=te.concat("style");I(h),$(c,p),$(n,f),P([n,o],e),P(c,t?e:["style",Qt])}function v(){$(c,p),$(n,f),p=_(ee),f=_(ie),D(c,p),D(n,f),E(c,tt,i.label),E(c,Gt,i.labelledby)}function y(t){return(t=mt(c,t))&&((t,e)=>{if(k(t.closest))return t.closest(e);for(var i=t;i&&1===i.nodeType&&!rt(i,e);)i=i.parentElement;return i})(t,"."+ee)===c?t:void 0}function _(t){return[t+"--"+i.type,t+"--"+i.direction,i.drag&&t+"--draggable",i.isNavigation&&t+"--nav",t===ee&&et]}return ct(d,{setup:m,mount:function(){s(Y,g),s(Y,m),s(G,v),l(document,xe+" key
1down",function(t){a="keydown"===t.type},{capture:!0}),l(c,"focusin",function(){L(c,be,!!a)})},destroy:g})},Slides:function(n,o,a){var t=K(n),e=t.on,r=t.emit,s=t.bind,l=(t=o.Elements).slides,c=t.list,u=[];function i(){l.forEach(function(t,e){h(t,e,-1)})}function d(){f(function(t){t.destroy()}),I(u)}function h(t,e,i){(e=Te(n,e,i,t)).mount(),u.push(e),u.sort(function(t,e){return t.index-e.index})}function p(t){return t?m(function(t){return!t.isClone}):u}function f(t,e){p(e).forEach(t)}function m(e){return u.filter(k(e)?e:function(t){return j(e)?rt(t.slide,e):_(y(e),t.index)})}return{mount:function(){i(),e(Y,d),e(Y,i)},destroy:d,update:function(){f(function(t){t.update()})},register:h,get:p,getIn:function(t){var e=o.Controller,i=e.toIndex(t),n=e.hasFocus()?1:a.perPage;return m(function(t){return xt(t.index,i,i+n-1)})},getAt:function(t){return m(t)[0]},add:function(t,o){g(t,function(t){var e,i,n;v(t=j(t)?ft(t):t)&&((e=l[o])?M(t,e):S(c,t),D(t,a.classes.slide),e=t,i=z(r,jt),e=gt(e,"img"),(n=e.length)?e.forEach(function(t){s(t,"load error",function(){--n||i()})}):i())}),r(Y)},remove:function(t){B(m(t).map(function(t){return t.slide})),r(Y)},forEach:f,filter:m,style:function(e,i,n){f(function(t){t.style(e,i,n)})},getLength:function(t){return(t?l:u).length},isEnough:function(){return u.length>a.perPage}}},Layout:function(e,t,i){var n,o,a,r=(c=K(e)).on,s=c.bind,l=c.emit,c=t.Slides,u=t.Direction.resolve,d=(t=t.Elements).root,h=t.track,p=t.list,f=c.getAt,m=c.style;function g(){n="ttb"===i.direction,A(d,"maxWidth",W(i.width)),A(h,u("paddingLeft"),y(!1)),A(h,u("paddingRight"),y(!0)),v(!0)}function v(t){var e=N(d);!t&&o.width===e.width&&o.height===e.height||(A(h,"height",(t="",n&&(yt(t=_(),"height or heightRatio is missing."),t="calc("+t+" - "+y(!1)+" - "+y(!0)+")"),t)),m(u("marginRight"),W(i.gap)),m("width",i.autoWidth?null:W(i.fixedWidth)||(n?"":b())),m("height",W(i.fixedHeight)||(n?i.autoHeight?null:b():_()),!0),o=e,l(Ot),a!==(a=M())&&(L(d,we,a),l("overflow",a)))}function y(t){var e=i.padding,t=u(t?"right":"left");return e&&W(e[t]||(ot(e)?0:e))||"0px"}function _(){return W(i.height||N(p).width*i.heightRatio)}function b(){var t=W(i.gap);return"calc((100%"+(t&&" + "+t)+")/"+(i.perPage||1)+(t&&" - "+t)+")"}function w(){return N(p)[u("width")]}function k(t,e){return(t=f(t||0))?N(t.slide)[u("width")]+(e?0:S()):0}function x(t,e){var i;return(t=f(t))?(t=N(t.slide)[u("right")],i=N(p)[u("left")],U(t-i)+(e?0:S())):0}function C(t){return x(e.length-1)-x(0)+k(0,t)}function S(){var t=f(0);return t&&parseFloat(A(t.slide,u("marginRight")))||0}function M(){return e.is(Ae)||C(!0)>w()}return{mount:function(){var t,e;g(),s(window,"resize load",(t=z(l,jt),e=Ut(0,t,null,1),function(){e.isPaused()&&e.start()})),r([G,Y],g),r(jt,v)},resize:v,listSize:w,slideSize:k,sliderSize:C,totalSize:x,getPadding:function(t){return parseFloat(A(h,u("padding"+(t?"Right":"Left"))))||0},isOverflow:M}},Clones:function(l,i,c){var e,n=K(l),t=n.on,u=i.Elements,d=i.Slides,o=i.Direction.resolve,h=[];function a(){if(t(Y,p),t([G,jt],f),e=m()){var a=e,r=d.get().slice(),s=r.length;if(s){for(;r.length<a;)x(r,r);x(r.slice(-a),r.slice(0,a)).forEach(function(t,e){var i,n=e<a,o=(i=t.slide,o=e,D(i=i.cloneNode(!0),c.classes.clone),i.id=l.root.id+"-clone"+Mt(o+1),i);n?M(o,r[0].slide):S(u.list,o),x(h,o),d.register(o,e-a+(n?0:s),t.index)})}i.Layout.resize(!0)}}function p(){r(),a()}function r(){B(h),I(h),n.destroy()}function f(){var t=m();e!==t&&(e<t||!t)&&n.emit(Y)}function m(){var t,e=c.clones;return l.is(Le)?at(e)&&(e=(t=c[o("fixedWidth")]&&i.Layout.slideSize(0))&&wt(N(u.track)[o("width")]/t)||c[o("autoWidth")]&&l.length||2*c.perPage):e=0,e}return{mount:a,destroy:r}},Move:function(a,s,n){var r,t=K(a),e=t.on,l=t.emit,c=a.state.set,o=(t=s.Layout).slideSize,i=t.getPadding,u=t.totalSize,d=t.listSize,h=t.sliderSize,p=(t=s.Direction).resolve,f=t.orient,m=(t=s.Elements).list,g=t.track;function v(){s.Controller.isBusy()||(s.Scroll.cancel(),y(a.index),s.Slides.update())}function y(t){_(x(t,!0))}function _(t,e){var i,n,o;a.is(Ae)||(e=e?t:(i=t,i=a.is(Le)&&(o=(n=k(i))>s.Controller.getEnd(),n<0||o)?b(i,o):i),A(m,"transform","translate"+p("X")+"("+e+"px)"),t!==e&&l(Ht))}function b(t,e){var i=t-S(e),n=h();return t-f(n*(wt(U(i)/n)||1))*(e?1:-1)}function w(){_(C(),!0),r.cancel()}function k(t){for(var e=s.Slides.get(),i=0,n=1/0,o=0;o<e.length;o++){var a=e[o].index,r=U(x(a,!0)-t);if(!(r<=n))break;n=r,i=a}return i}function x(t,e){var i=f(u(t-1)-("center"===(i=n.focus)?(d()-o(t,!0))/2:+i*o(t)||0));return e?(t=i,n.trimSpace&&a.is(Me)?q(t,0,f(h(!0)-d())):t):i}function C(){var t=p("left");return N(m)[t]-N(g)[t]+f(i(!1))}
vendor: 9,125 bytes, line 1
1function S(t){return x(t?s.Controller.getEnd():0,!!n.trimSpace)}return{mount:function(){r=s.Transition,e([V,Ot,G,Y],v)},move:function(t,e,i,n){var o,a;t!==e&&(o=i<t,a=f(b(C(),o)),o?0<=a:a<=m[p("scrollWidth")]-N(g)[p("width")])&&(w(),_(b(C(),i<t),!0)),c(R),l(Z,e,i,t),r.start(e,function(){c(3),l(Tt,e,i,t),n&&n()})},jump:y,translate:_,shift:b,cancel:w,toIndex:k,toPosition:x,getPosition:C,getLimit:S,exceededLimit:function(t,e){e=at(e)?C():e;var i=!0!==t&&f(e)<f(S(!1)),t=!1!==t&&f(e)>f(S(!0));return i||t},reposition:v}},Controller:function(o,a,r){var s,l,c,u,t=K(o),e=t.on,i=t.emit,d=a.Move,h=d.getPosition,n=d.getLimit,p=d.toPosition,f=(t=a.Slides).isEnough,m=t.getLength,g=r.omitEnd,v=o.is(Le),y=o.is(Me),_=z(S,!1),b=z(S,!0),w=r.start||0,k=w;function x(){l=m(!0),c=r.perMove,u=r.perPage,s=A();var t=q(w,0,g?s:l-1);t!==w&&(w=t,d.reposition())}function C(){s!==A()&&i("ei")}function S(t,e){var i=c||(P()?1:u);return-1===(i=M(w+i*(t?-1:1),w,!(c||P())))&&y&&!kt(h(),n(!t),1)?t?0:s:e?i:L(i)}function M(t,e,i){var n;return f()||P()?((n=(t=>{if(y&&"move"===r.trimSpace&&t!==w)for(var e=h();e===p(t,!0)&&xt(t,0,o.length-1,!r.rewind);)t<w?--t:++t;return t})(t))!==t&&(e=t,t=n,i=!1),t<0||s<t?t=c||!xt(0,t,e,!0)&&!xt(s,e,t,!0)?v?i?t<0?-(l%u||u):l:t:r.rewind?t<0?s:0:-1:T(I(t)):i&&t!==e&&(t=T(I(e)+(t<e?-1:1)))):t=-1,t}function L(t){return v?(t+l)%l||0:t}function A(){for(var t=l-(P()||v&&c?1:u);g&&0<t--;)if(p(l-1,!0)!==p(t,!0)){t++;break}return q(t,0,l-1)}function T(t){return q(P()?t:u*t,0,s)}function I(t){return P()?H(t,s):bt((s<=t?l-1:t)/u)}function D(t){t!==w&&(k=w,w=t)}function P(){return!at(r.focus)||r.isNavigation}function E(){return o.state.is([R,it])&&!!r.waitForTransition}return{mount:function(){x(),e([G,Y,"ei"],x),e(Ot,C)},go:function(t,e,i){var n,o,a,r;E()||-1<(a=L((r=w,j(n=t)?(o=(a=n.match(/([+\-<>])(\d+)?/)||[])[1],a=a[2],"+"===o||"-"===o?r=M(w+ +(""+o+(+a||1)),w):">"===o?r=a?T(+a):_(!0):"<"===o&&(r=b(!0))):r=v?n:q(n,0,s),t=r)))&&(e||a!==w)&&(D(a),d.move(t,a,k,i))},scroll:function(t,e,i,n){a.Scroll.scroll(t,e,i,function(){var t=L(d.toIndex(h()));D(g?H(t,s):t),n&&n()})},getNext:_,getPrev:b,getAdjacent:S,getEnd:A,setIndex:D,getIndex:function(t){return t?k:w},toIndex:T,toPage:I,toDest:function(t){return t=d.toIndex(t),y?q(t,0,s):t},hasFocus:P,isBusy:E}},Arrows:function(o,t,e){var i,n,a=K(o),r=a.on,s=a.bind,l=a.emit,c=e.classes,u=e.i18n,d=t.Elements,h=t.Controller,p=d.arrows,f=d.track,m=p,g=d.prev,v=d.next,y={};function _(){var t=e.arrows;!t||g&&v||(m=p||O("div",c.arrows),g=x(!0),v=x(!1),i=!0,S(m,[g,v]),p)||M(m,f),g&&v&&(ct(y,{prev:g,next:v}),dt(m,t?"":"none"),D(m,n=se+"--"+e.direction),t)&&(r([V,Tt,Y,X,"ei"],C),s(v,"click",z(k,">")),s(g,"click",z(k,"<")),C(),E([g,v],Zt,f.id),l("arrows:mounted",g,v)),r(G,b)}function b(){w(),_()}function w(){a.destroy(),$(m,n),i?(B(p?[g,v]:m),g=v=null):P([g,v],te)}function k(t){h.go(t,!0)}function x(t){return ft('<button class="'+c.arrow+" "+(t?c.prev:c.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40" focusable="false"><path d="'+(e.arrowPath||"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z")+'" />')}function C(){var t,e,i,n;g&&v&&(n=o.index,t=h.getPrev(),e=h.getNext(),i=-1<t&&n<t?u.last:u.prev,n=-1<e&&e<n?u.first:u.next,g.disabled=t<0,v.disabled=e<0,E(g,tt,i),E(v,tt,n),l("arrows:updated",g,v,t,e))}return{arrows:y,mount:_,destroy:w,update:C}},Autoplay:function(t,e,i){var n,o,a=K(t),r=a.on,s=a.bind,l=a.emit,c=Ut(i.interval,t.go.bind(t,">"),function(t){var e=d.bar;e&&A(e,"width",100*t+"%"),l("autoplay:playing",t)}),u=c.isPaused,d=e.Elements,h=(a=e.Elements).root,p=a.toggle,f=i.autoplay,m="pause"===f;function g(){u()&&e.Slides.isEnough()&&(c.start(!i.resetProgress),o=n=m=!1,_(),l(Rt))}function v(t){m=!!(t=void 0===t||t),_(),u()||(c.pause(),l(Ft))}function y(){m||(n||o?v(!1):g())}function _(){p&&(L(p,et,!m),E(p,tt,i.i18n[m?"play":"pause"]))}function b(t){t=e.Slides.getAt(t),c.set(t&&+T(t.slide,Ie)||i.interval)}return{mount:function(){f&&(i.pauseOnHover&&s(h,"mouseenter mouseleave",function(t){n="mouseenter"===t.type,y()}),i.pauseOnFocus&&s(h,"focusin focusout",function(t){o="focusin"===t.type,y()}),p&&s(p,"click",function(){m?g():v(!0)}),r([Z,Nt,Y],c.rewind),r(Z,b),p&&E(p,Zt,d.track.id),m||g(),_())},destroy:c.cancel,play:g,pause:v,isPaused:u}},Cover:function(t,e,i){var n=K(t).on;function o(i){e.Slides.forEach(function(t){var e=st(t.container||t.slide,"img");e&&e.src&&a(i,e,t)})}function a(t,e,i){i.style("background",t?'center/cover no-repeat url("'+e.src+'")':"",!0),dt(e,t?"none":"")}return{mount:function(){i.cover&&(n($t,z(a,!0)),n([V,G,Y],z(o,!0)))},destroy:z(o,!1)}},Scroll:function(t,s,a){var l,c,e=K(t),i=e.on,u=e.emit,d=t.state.set,h=s.Move,p=h.getPosition,r=h.getLimit,f=h.exceededLimit,m=h.translate,g=t.is(Me),v=1;function y(t,e,i,n,o){var a,r=p(),i=(w(),!i||g&&f()||(i=s.Layout.sliderSize(),a=Ct(t)*i*bt(U(t)/i)||0,t=h.toPosition(s.Controller.toDest(t%i))+a),kt(r,t,1));v=1,e=i?0:e||_t(U(t-r)/1.5,800),c=n,l=Ut(e,_,z(b,r,t,o),1),d(it),u(Nt),l.start()}function _(){d(3),c&&c(),u(X)}function b(t,e,i,n){var o=p(),n=(t+(e-t)*(e=n,(t=a.easingFunc)?t(e):1-Math.pow(1-e,4))-o)*v;m(o+n),g&&!i&&f()&&(v*=.6,U(n)<10)&&y(r(f(!0)),600,!1,c,!0)}function w(){l&&l.cancel()}function n(){l&&!l.isPaused()&&(w(),_())}return{mount:function(){i(Z,w),i([G,Y],n)},destroy:w,scroll:y,cancel:n}},Drag:function(a,o,r){var s,e,l,c,u,d,h,p,t=K(a),i=t.on,f=t.emit,m=t.bind,g=t.unbind,v=a.state,y=o.Move,_=o.Scroll,b=o.Controller,w=o.Elements.track,k=o.Media.reduce,n=(t=o.Direction).resolve,x=t.orient,C=y.getPosition,S=y.exceededLimit,M=!1;function O(){var t=r.drag;j(!t),c="free"===t}function N(t){var e,i,n;d=!1,h||(e=z(t),i=t.target,n=r.noDrag,rt(i,"."+he+", ."+le))||n&&rt(i,n)||!e&&t.button||(b.isBusy()?F(t,!0):(p=e?w:window,u=v.is([R,it]),l=null,m(p,Ce,L,De),m(p,Se,A,De),y.cancel(),_.cancel(),T(t)))}function L(t){var e,i,n,o;v.is(6)||(v.set(6),f("drag")),t.cancelable&&(u?(y.translate(s+I(t)/(M&&a.is(Me)?5:1)),o=200<D(t),e=M!==(M=S()),(o||e)&&T(t),d=!0,f("dragging"),F(t)):U(I(o=t))>U(I(o,!0))&&(n=(i=ot(o=r.dragMinThreshold))&&o.mouse||0,i=(i?o.touch:+o)||10,u=U(I(e=t))>(z(e)?i:n),F(t)))}function A(t){var e,i,n;v.is(6)&&(v.set(3),f("dragged")),u&&(n=e=(t=>{if(a.is(Le)||!M){var e=D(t);if(e&&e<200)return I(t)/e}return 0})(t),n=C()+Ct(n)*H(U(n)*(r.flickPower||600),c?1/0:o.Layout.listSize()*(r.flickMaxPages||1)),i=r.rewind&&r.rewindByDrag,k(!1),c?b.scroll(n,0,r.snap):a.is(Ae)?b.go(x(Ct(e))<0?i?"<":"-":i?">":"+"):a.is(Me)&&M&&i?b.go(S(!0)?">":"<"):b.go(b.toDest(n),!0),k(!0),F(t)),g(p,Ce,L),g(p,Se,A),u=!1}function B(t){!h&&d&&F(t,!0)}function T(t){l=e,e=t,s=C()}function I(t,e){return E(t,e)-E(P(t),e)}function D(t){return vt(t)-vt(P(t))}function P(t){return e===t&&l||e}function E(t,e){return(z(t)?t.changedTouches[0]:t)["page"+n(e?"Y":"X")]}function z(t){return"undefined"!=typeof TouchEvent&&t instanceof TouchEvent}function j(t){h=t}return{mount:function(){m(w,Ce,nt,De),m(w,Se,nt,De),m(w,xe,N,De),m(w,"click",B,{capture:!0}),m(w,"dragstart",F),i([V,G],O)},disable:j,isDragging:function(){return u}}},Keyboard:function(e,t,i){var n,o,a=K(e),r=a.on,s=a.bind,l=a.unbind,c=e.root,u=t.Direction.resolve;function d(){var t=i.keyboard;t&&(n="global"===t?window:c,s(n,"keydown",f))}function h(){l(n,"keydown")}function p(){var t=o;o=!0,m(function(){o=t})}function f(t){o||((t=Ee(t))===u(qt)?e.go("<"):t===u(Vt)&&e.go(">"))}return{mount:function(){d(),r(G,h),r(G,d),r(Z,p)},destroy:h,disable:function(t){o=t}}},LazyLoad:function(i,t,o){var e=K(i),n=e.on,a=e.off,r=e.bind,s=e.emit,l="sequential"===o.lazyLoad,c=[Tt,X],u=[];function d(){I(u),t.Slides.forEach(function(n){gt(n.slide,Oe).forEach(function(t){var e=T(t,ze),i=T(t,je);e===t.src&&i===t.srcset||(e=o.classes.spinner,e=st(i=t.parentElement,"."+e)||O("span",e,i),u.push([t,n,e]),t.src)||dt(t,"none")})}),(l?m:(a(c),n(c,h),h))()}function h(){(u=u.filter(function(t){var e=o.perPage*((o.preloadPages||1)+1)-1;return!t[1].isWithin(i.index,e)||p(t)})).length||a(c)}function p(t){var e=t[0];D(t[1].slide,_e),r(e,"load error",z(f,t)),E(e,"src",T(e,ze)),E(e,"srcset",T(e,je)),P(e,ze),P(e,je)}function f(t,e){var i=t[0],n=t[1];$(n.slide,_e),"error"!==e.type&&(B(t[2]),dt(i,""),s($t,i,n),s(jt)),l&&m()}function m(){u.length&&p(u.shift())}return{mount:function(){o.lazyLoad&&(d(),n(Y,d))},destroy:z(I,u),check:h}},Pagination:function(d,t,h){var p,f,e=K(d),m=e.on,g=e.emit,v=e.bind,y=t.Slides,_=t.Elements,b=t.Controller,w=b.hasFocus,n=b.getIndex,r=b.go,s=t.Direction.resolve,k=_.pagination,x=[];function C(){p&&(B(k?o(p.children):p),$(p,f),I(x),p=null),e.destroy()}function S(t){r(">"+t,!0)}function M(t,e){var i=x.length,n=Ee(e),o=L(),a=-1;n===s(Vt,!1,o)?a=++t%i:n===s(qt,!1,o)?a=(--t+i)%i:"Home"===n?a=0:"End"===n&&(a=i-1),(o=x[a])&&(ht(o.button),r(">"+a),F(e,!0))}function L(){return h.paginationDirection||h.direction}function A(t){return x[b.toPage(t)]}function T(){var t,e=A(n(!0)),i=A(n());e&&($(t=e.button,et),P(t,u),E(t,Q,-1)),i&&(D(t=i.button,et),E(t,u,!0),E(t,Q,"")),g("pagination:updated",{list:p,items:x},e,i)}return{items:x,mount:function t(){C(),m([G,Y,"ei"],t);var e=h.pagination;
1if(k&&dt(k,e?"":"none"),e){m([Z,Nt,X],T);var e=d.length,i=h.classes,n=h.i18n,o=h.perPage,a=w()?b.getEnd()+1:wt(e/o);D(p=k||O("ul",i.pagination,_.track.parentElement),f=de+"--"+L()),E(p,J,"tablist"),E(p,tt,n.select),E(p,Kt,"ttb"===L()?"vertical":"");for(var r=0;r<a;r++){var s=O("li",null,p),l=O("button",{class:i.page,type:"button"},s),c=y.getIn(r).map(function(t){return t.slide.id}),u=!w()&&1<o?n.pageX:n.slideX;v(l,"click",z(S,r)),h.paginationKeyboard&&v(l,"keydown",z(M,r)),E(s,J,"presentation"),E(l,J,"tab"),E(l,Zt,c.join(" ")),E(l,tt,St(u,r+1)),E(l,Q,-1),x.push({li:s,button:l,page:r})}T(),g("pagination:mounted",{list:p,items:x},A(d.index))}},destroy:C,getAt:A,update:T}},Sync:function(i,t,e){var n=e.isNavigation,o=e.slideFocus,a=[];function r(){var t,e;i.splides.forEach(function(t){t.isParent||(l(i,t.splide),l(t.splide,i))}),n&&((e=(t=K(i)).on)(It,u),e(Wt,d),e([V,G],c),a.push(t),t.emit(Bt,i.splides))}function s(){a.forEach(function(t){t.destroy()}),I(a)}function l(t,n){(t=K(t)).on(Z,function(t,e,i){n.go(n.is(Le)?i:t)}),a.push(t)}function c(){E(t.Elements.list,Kt,"ttb"===e.direction?"vertical":"")}function u(t){i.go(t.index)}function d(t,e){_(Ne,Ee(e))&&(u(t),F(e))}return{setup:z(t.Media.set,{slideFocus:at(o)?n:o},!0),mount:r,destroy:s,remount:function(){s(),r()}}},Wheel:function(r,s,l){var t=K(r).bind,c=0;function e(t){var e,i,n,o,a;t.cancelable&&(e=(a=t.deltaY)<0,i=vt(t),n=l.wheelMinThreshold||0,o=l.wheelSleep||0,U(a)>n&&o<i-c&&(r.go(e?"<":">"),c=i),a=e,l.releaseWheel&&!r.state.is(R)&&-1===s.Controller.getAdjacent(a)||F(t))}return{mount:function(){l.wheel&&t(s.Elements.track,"wheel",e,De)}}},Live:function(t,e,i){var n=K(t).on,o=e.Elements.track,a=i.live&&!i.isNavigation,r=O("span",me),s=Ut(90,z(l,!1));function l(t){E(o,"aria-busy",t),t?(S(o,r),s.start()):(B(r),s.cancel())}function c(t){a&&E(o,"aria-live",t?"off":"polite")}return{mount:function(){a&&(c(!e.Autoplay.isPaused()),E(o,d,!0),r.textContent="…",n(Rt,z(c,!0)),n(Ft,z(c,!1)),n([Tt,X],z(l,!0)))},disable:c,destroy:function(){P(o,["aria-live",d,"aria-busy"]),B(r)}}}}),Re={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:{slide:oe,clone:ae,arrows:se,arrow:le,prev:ce,next:ue,pagination:de,page:he,spinner:e+"spinner"},i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function Fe(t,e,i){var n=e.Slides;function o(){n.forEach(function(t){t.style("transform","translateX(-"+100*t.index+"%)")})}return{mount:function(){K(t).on([V,Y],o)},start:function(t,e){n.style("transition","opacity "+i.speed+"ms "+i.easing),m(e)},cancel:nt}}function $e(a,t,r){var s,l=t.Move,c=t.Controller,u=t.Scroll,e=t.Elements.list,d=z(A,e,"transition");function i(){d(""),u.cancel()}return{mount:function(){K(a).bind(e,"transitionend",function(t){t.target===e&&s&&(i(),s())})},start:function(t,e){var i=l.toPosition(t,!0),n=l.getPosition(),o=(t=>{var e=r.rewindSpeed;if(a.is(Me)&&e){var i=c.getIndex(!0),n=c.getEnd();if(0===i&&n<=t||n<=i&&0===t)return e}return r.speed})(t);1<=U(i-n)&&1<=o?r.useScroll?u.scroll(i,o,!1,e):(d("transform "+o+"ms "+r.easing),l.translate(i,!0),s=e):(l.jump(t),e())},cancel:i}}function We(t,e){var i;this.event=K(),this.Components={},this.state=(i=1,{set:function(t){i=t},is:function(t){return _(y(t),i)}}),this.splides=[],this.n={},this.t={},yt(t=j(t)?mt(document,t):t,t+" is invalid."),e=h({label:T(this.root=t,tt)||"",labelledby:T(t,Gt)||""},Re,We.defaults,e||{});try{h(e,JSON.parse(T(t,s)))}catch(t){yt(!1,"Invalid JSON")}this.n=Object.create(h({},e))}return(e=We.prototype).mount=function(t,e){var i=this,n=this.state,o=this.Components;return yt(n.is([1,7]),"Already mounted!"),n.set(1),this.i=o,this.r=e||this.r||(this.is(Ae)?Fe:$e),this.t=t||this.t,b(ct({},Be,this.t,{Transition:this.r}),function(t,e){t=t(i,o,i.n),(o[e]=t).setup&&t.setup()}),b(o,function(t){t.mount&&t.mount()}
1),this.emit(V),D(this.root,"is-initialized"),n.set(3),this.emit("ready"),this},e.sync=function(t){return this.splides.push({splide:t}),t.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this.i.Sync.remount(),t.Components.Sync.remount()),this},e.go=function(t){return this.i.Controller.go(t),this},e.on=function(t,e){return this.event.on(t,e),this},e.off=function(t){return this.event.off(t),this},e.emit=function(t){var e;return(e=this.event).emit.apply(e,[t].concat(o(arguments,1))),this},e.add=function(t,e){return this.i.Slides.add(t,e),this},e.remove=function(t){return this.i.Slides.remove(t),this},e.is=function(t){return this.n.type===t},e.refresh=function(){return this.emit(Y),this},e.destroy=function(e){void 0===e&&(e=!0);var t=this.event,i=this.state;return i.is(1)?K(this).on("ready",this.destroy.bind(this,e)):(b(this.i,function(t){t.destroy&&t.destroy(e)},!0),t.emit(l),t.destroy(),e&&I(this.splides),i.set(7)),this},Jt(We,[{key:"options",get:function(){return this.n},set:function(t){this.i.Media.set(t,!0,!0)}},{key:"length",get:function(){return this.i.Slides.getLength(!0)}},{key:"index",get:function(){return this.i.Controller.getIndex()}}]),(t=We).defaults={},t.STATES=i,t},"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(n="undefined"!=typeof globalThis?globalThis:n||self).Splide=t();var th_accordeon={init:function(){$(".accordeon:not(.initialized)").each(function(){$(this).addClass("initialized"),th_accordeon.initSingle(this)})},initSingle:function(t){var e=$(window).width(),i=$(".title-accordeon",t),n=$("button",i),o=$(".item",t),a=o.parents(".wrapper-hidden"),r=0,s=(o.attr("style","height:auto!important;max-height:5000px!important;"),r=o.outerHeight(),o.removeAttr("style").css("height",r+"px"),setTimeout(function(){o.addClass("anim")},100),null);$(t).on("refresh",function(){clearTimeout(s),s=setTimeout(function(){var t=th_accordeon.windowWidth(e);0!=t&&(e=t,o.removeClass("anim"),setTimeout(function(){o.attr("style","height:auto!important;max-height:5000px!important;"),r=o.outerHeight(),o.parent().hasClass("open")?o.removeAttr("style").attr("style","max-height:"+r+"px;"):o.removeAttr("style").attr("style","max-height:0px;"),setTimeout(function(){o.addClass("anim")},100)},100))},250)}),$(t).on("forcerefresh",function(){e=0,$(t).trigger("refresh")}),$(window).on("resize",function(){$(t).trigger("refresh")}),i.on("click",function(t){"A"!=t.target.tagName&&($(this).parent().hasClass("open")?(o.attr("style","max-height:0px").parent().removeClass("open"),n.attr("aria-expanded","false"),a.removeClass("open")):(o.attr("style","max-height:"+r+"px").parent().addClass("open"),n.attr("aria-expanded","true"),a.addClass("open")))})},windowWidth:function(t){var e=$(window).width();return t!==e&&e}},th_ancres=(th_accordeon.init(),{selectors:{blocAncre:".bloc-ancre",ancres:".ancres",menuAncre:".menu-ancre",slider:".slider-ancres .splide__list"},scrollOffset:180,scrollSpeed:"slow",init:function(){th_ancres.ancreClick(),th_ancres.observer()},ancreClick:function(){$(th_ancres.selectors.ancres+" "+th_ancres.selectors.menuAncre).each(function(){$(this).on("click",function(t){t.preventDefault(),$("html, body").animate({scrollTop:$($(this).attr("href")).offset().top-th_ancres.scrollOffset},th_ancres.scrollSpeed);t=$(this).attr("href");return $(t).focus(),!1})})},obsCallback:function(t,e){for(var i=0;i<t.length;i++){var n=t[i],o=n.target.id;n.isIntersecting&&($(".menu-ancre").each(function(){$(this).removeClass("active"),$(this).children(".sr-only").remove()}),(n=$(th_ancres.selectors.menuAncre+"[href='#"+o+"']")).addClass("active"),n.append(anchorLienActif))}},observer:function(){var t;"IntersectionObserver"in window&&(t=new IntersectionObserver(th_ancres.obsCallback),$(th_ancres.selectors.blocAncre).each(function(){t.observe($(this)[0])}))}}),th_expand={parse:function(t){t=t||document,$("[data-expand]:not(.parsed)",t).each(function(){$(this).addClass("parsed"),th_expand.initSingle(this)})},initSingle:function(t){var e=$(t),i=$("button.cta-expand",t).first();if(0===i.length&&(i=$("button.cta-expand",$(t).parent()).first()),e.attr("data-expand")){t=e.attr("data-expand");if(e.height()<t)return e.addClass("expand"),!1}e.addClass("to-expand"),i.removeClass("hide"),0==i.length&&(i=$("button.cta-expand",$(this).parent()).first());var n;e.attr("style","height:auto!important;max-height:2000px!important;
1"),n=e.height(),e.removeAttr("style").css("height",n+"px"),$(window).on("resize",function(){e.attr("style","height:auto!important;"),n=e.height(),e.removeAttr("style").css("height",n+"px")}),i.on("click",function(t){t.preventDefault(),$(this).addClass("fadeout"),e.addClass("expand")})}},th_maps={is_loaded:!1,api_key:"AIzaSyDDqH0YjBZ3qa3QtSgh6MS4Nsb9YGqr2zQ",maps_class:".maps",themes:{},markersIcons:{},elements:[],callbacks:[],callbacksAfter:[],markers:[],markersGrouped:[],infoWindows:[],lastOpenedInfoWindow:null,defaultOptions:{center:{lat:48.613322,lng:7.718948},zoom:12,zoomposition:"topright",draggable:!0,scrollwheel:!1,panControl:!0,zoomControl:!0,mapTypeControl:!0,scaleControl:!0,streetViewControl:!0,overviewMapControl:!0,rotateControl:!0},maps:[],init:function(t){for(var e in t)if("object"==typeof t[e])for(var i in t[e])"object"!=typeof th_maps[e]&&(th_maps[e]={}),th_maps[e][i]=t[e][i];else th_maps[e]=t[e];th_maps.parseItems(),0<th_maps.elements.length&&th_maps.loadMaps()},loadMaps:function(){th_maps.loaded()},loaded:function(){th_maps.is_loaded=!0;for(var t=0;t<th_maps.callbacks.length;t++)"function"==typeof th_maps.callbacks[t]&&th_maps.callbacks[t]();var e=!1;"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype&&(e=new IntersectionObserver(function(t){t.forEach(function(t){!0===t.isIntersecting&&(th_maps.initSingleMap(t.target),e.unobserve(t.target))})},{threshold:[0]}));for(t=0;t<th_maps.elements.length;t++)th_maps.elements[t]&&(e?e.observe(th_maps.elements[t]):th_maps.initSingleMap(th_maps.elements[t]));for(t=0;t<th_maps.callbacksAfter.length;t++)"function"==typeof th_maps.callbacksAfter[t][t]&&th_maps.callbacksAfter()},onLoad:function(t){th_maps.callbacks.push(t)},onLoadAfter:function(t){th_maps.callbacksAfter.push(t)},addThemes:function(t,e){th_maps.themes[t]=e},addMarkerIcon:function(t,e){void 0!==e.html?th_maps.markersIcons[t]=L.divIcon(e):th_maps.markersIcons[t]=L.icon(e)},parseItems:function(){var t=document.querySelectorAll(th_maps.maps_class);th_maps.elements=t},initSingleMap:function(el){var options,mapIndex,map,gl,marker,icon,markersicon,markersfeatures,customLayer,kmlLayer,markersicon,markersfeatures,customLayer,gpxLayer;return(!1===th_maps.is_loaded&&th_maps.loaded(),el.getAttribute("data-custom"))?(eval(el.getAttribute("data-custom")+"(el);"),!1):(options=th_maps._clone(th_maps.defaultOptions),el.getAttribute("data-lat")&&el.getAttribute("data-lng")&&(options.center={lat:+el.getAttribute("data-lat").replace(",","."),lng:+el.getAttribute("data-lng").replace(",",".")}),el.getAttribute("data-zoom")&&(options.zoom=parseInt(el.getAttribute("data-zoom"))),el.getAttribute("data-zoomposition")&&(options.zoomposition=el.getAttribute("data-zoomposition")),el.getAttribute("data-filter-options")&&eval("options = "+el.getAttribute("data-filter-options")+"(options);"),mapIndex=th_maps.maps.length,map=L.map(el).setView([options.center.lat,options.center.lng],options.zoom),map.attributionControl.setPrefix(""),map.scrollWheelZoom.disable(),map.zoomControl.setPosition(options.zoomposition),el.getAttribute("data-theme")&&"undefined"!=typeof mapboxgl&&mapboxgl.supported()?gl=L.mapboxGL(th_maps.themes[el.getAttribute("data-theme")]).addTo(map):L.tileLayer(th_maps.tileLayerUrl,th_maps.tileLayerOptions).addTo(map),marker=!1,th_maps.maps[mapIndex]=map,el.getAttribute("data-marker")&&(icon=null,el.getAttribute("data-markericon")&&(icon=el.getAttribute("data-markericon")),marker=th_maps.createMarker(map,options.center,icon)),el.setAttribute("data-index",mapIndex),el.getAttribute("data-kml")&&(markersicon=el.getAttribute("data-markersicon"),void 0===markersicon&&(markersicon=!1),markersfeatures=el.getAttribute("data-markersfeatures"),void 0===markersfeatures&&(markersfeatures=!1),customLayer=L.geoJson(null,{pointToLayer:function(t,e){return markersicon&&void 0!==th_maps.markersIcons[markersicon]?L.marker(e,{icon:th_maps.markersIcons[markersicon]}):null},onEachFeature:function(t,e){markersfeatures&&e.bindPopup(t.properties.name)}}),kmlLayer=omnivore.kml(el.getAttribute("data-kml"),null,customLayer).on("ready",function(t){var e={fillColor:thConfig.map.kmlBgColor,weight:thConfig.map.kmlWeight,opacity:thConfig.map.kmlOpacity,color:thConfig.map.kmlColor,fillOpacity:thConfig.map.kmlBgOpacity};el.getAttribute("data-kml-bgcolor")&&(e.fillColor=el.getAttribute("data-kml-bgcolor")),el.getAttribute("data-kml-weight")&&(e.weight=el.getAttribute("data-kml-weight")),el.getAttribute("data-kml-opacity")&&(e.opacity=el.getAttribute("data-kml-opacity")),el.getAttribute("data-kml-color")&&(e.color=el.getAttribute("data-kml-color")),el.getAttribute("data-kml-bgopacity")&&(e.fillOpacity=el.getAttribute("data-kml-bgopacity")),this.setStyle(e),map.fitBounds(kmlLayer.getBounds())}).addTo(map)),el.getAttribute("data-gpx")&&(markersicon=el.getAttribute("data-markersicon"),void 0===markersicon&&(markersicon=!1),markersfeatures=el.getAttribute("data-markersfeatures"),void 0===markersfeatures&&(markersfeatures=!1),customLayer=L.geoJson(null,{pointToLayer:function(t,e){return markersicon&&void 0!==th_maps.markersIcons[markersicon]?L.marker(e,{icon:th_maps.markersIcons[markersicon]}):null},onEachFeature:function(t,e){markersfeatures&&e.bindPopup(t.properties.name)}}),gpxLayer=omnivore.gpx(el.getAttribute("data-gpx"),null,customLayer).on("ready",function(t){var e={fillColor:thConfig.map.kmlBgColor,weight:thConfig.map.kmlWeight,opacity:thConfig.map.kmlOpacity,color:thConfig.map.kmlColor,fillOpacity:thConfig.map.kmlBgOpacity};el.getAttribute("data-gpx-bgcolor")&&(e.fillColor=el.getAttribute("data-gpx-bgcolor")),el.getAttribute("data-gpx-weight")&&(e.weight=el.getAttribute("data-gpx-weight")),el.getAttribute("data-gpx-opacity")&&(e.opacity=el.getAttribute("data-gpx-opacity")),el.getAttribute("data-gpx-color")&&(e.color=el.getAttribute("data-gpx-color")),el.getAttribute("data-gpx-bgopacity")&&(e.fillOpacity=el.getAttribute("data-gpx-bgopacity")),this.setStyle(e),map.fitBounds(gpxLayer.getBounds())}).addTo(map)),el.getAttribute("data-callback")&&eval(el.getAttribute("data-callback")+"(map,options,marker);"),map)},getMap:function(t){if(t.getAttribute("data-index")||"0"==t.getAttribute("data-index"))return th_maps.maps[t.getAttribute("data-index")]}
1,createMarker:function(t,e,i,n){i=i?th_maps.markersIcons[i]?L.marker([e.lat,e.lng],{icon:th_maps.markersIcons[i]}):L.marker([e.lat,e.lng],{icon:i}):L.marker([e.lat,e.lng]);return t&&i.addTo(t),th_maps.markers.push(i),n&&(th_maps.markersGrouped[n]||(th_maps.markersGrouped[n]=[]),th_maps.markersGrouped[n].push(i)),i},createInfoWindow:function(t,e,i){i=i||320,i--;var n=L.popup({className:"custom-popup-thuria",maxWidth:i,minWidth:i}).setContent(t);return th_maps.infoWindows.push(n),e&&(e.bindPopup(n),e.addEventListener("click",function(){n.openPopup()})),n},hideGroupMarker:function(t){if(th_maps.markersGrouped[t])for(var e=0;e<th_maps.markersGrouped[t].length;e++)th_maps.markersGrouped[t][e]&&th_maps.markersGrouped[t][e]._map.removeLayer(th_maps.markersGrouped[t][e])},showGroupMarker:function(t,e){if(th_maps.markersGrouped[t])for(var i=0;i<th_maps.markersGrouped[t].length;i++)th_maps.markersGrouped[t][i]&&th_maps.markersGrouped[t][i].addTo(e)},createMarkerTarget:function(t){return th_maps.addMarkerIcon("target",{iconUrl:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoyRTY5ODhFNUQ2OUMxMUU3ODExRUY2M0RDODQ0RjY0MSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoyRTY5ODhFNkQ2OUMxMUU3ODExRUY2M0RDODQ0RjY0MSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjJFNjk4OEUzRDY5QzExRTc4MTFFRjYzREM4NDRGNjQxIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjJFNjk4OEU0RDY5QzExRTc4MTFFRjYzREM4NDRGNjQxIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+XqnaGgAAA8xJREFUeNrMmV1IFVEQx9e1sAevUYbkTQMps4eKUkqsoKBCCVEzIyj6Iiks6jF8yCB6qR6jb6QPxCCiLBMpqKcy0TDDDCqT0OoaUUbpQ2Ba/wP/C9sy5+7Z+xEN/FD2zJmZu3fn7MzcpE4rakkDC8FikAtmgVSujYKPoA88By/Aj2icTPKpnwTWgC38O9tw33vwAFwDD8FvY4c+7mAFOASKrNikHZwEt02UbQOdHHATNMUhOIs2mmgzJ9YAS0EbqLTiL5W0XRrtM7gXnAHJEXS+gy7QA96CL7w+A8wFi0ABmKrZn8mvej+44CfAPeB8hMB6wTnQDD543KksUAZqwAJhPZm+VOJcNEmS9XQs3bmv4Ai4BH76/EqngN3gKEgX1sf5QVojBaiOjacgQ5N9u8DrGJ+9PHBZk3CfwVIwqEuSU5rg7oHiOARn0UYxbbolgzGIWayyqVzY1AE2gZE4ZvAIbXYIa+XOzLYdD2qdoDwMtvLVFW8Zpe1hYa0unAPhAFeBZYLiYdBvJU766cMtKpbVzgC3a46Seh/OVKEwj6T62FdPX27ZFg4wANYJCmfBmIEDlfmn6eQl6eU1k2JijL7comIKqGNmBf557FpUpdF8MORhfCW4DoKa9RDYLNiX3iivWML9Zd9mPeeWLoPgsvnCD0bQCVIn28PWEH26ZYnNZ8Ytzwy+mlrNmSmdbbUGepLPXFtzB/oNEqLMRyKUGSSO5DNoazZ+8zAW5HNjKjMN9CWfqbb1n4uteUtM89gXMkgip3wy0Jd8jtp05pY5Bq+pZh8B3jV4XUo+QzZbQ7fkGzg9wfLIS5TOcQM9yWefCrBbWCgweKhVzVal+Qacj0KVs76LcFAXCNe7bfYTIaEprzD41I9YeKreZQD8IgO8VkQdk5Y2TfhwPeGK+grYIRQL+Ybv4/DZGHQYNy3RJvOQdvcrV8HO8DHTIGxUG6p91ndviJ/6sVrTTDU4exJVHD4RasJhXktUTagyV4Uw3XVdXVuuGinb0VEdEwyojY0+6zs/9WOjEJzFWMbdPUkLuCMoF4IbrBvjJQHaLBTWmhmL2NUd1JxtJeA+W8ZYJY+2SjRn5oFIs5lB9r4TmqGPmqXsAylRBJbCvW2anniCvge9hketHFNIks7zrZPOsgwCy6JuJ/ema/Rq3FMFr/lgLMMjFUSuwfAonKDa4ZHXALOUA53MBB0zQxxUtUQ7H1QbVVN1KwHBNdF2i1c96CXvwEawgQOkWKWdtippO6Ik+ZzyO4foaw26tbD8kyG6JVQ87p8hAo7hUFx+hvgjwAD9ktvlRfPtxQAAAABJRU5ErkJggg==",shadowUrl:null,iconSize:[40,40]}),th_maps.createMarker(null,{lat:0,lng:0},"target",t)},searchCity:function(e,i,n){n=n||th_maps.createMarkerTarget();var o=new google.maps.Geocoder;$('input[type="text"]',i).on("keypress",function(t){13==t.keyCode&&(t.preventDefault(),th_maps.searchCitySearch(e,i,n,o))}),$('input[type="submit"],button',i).on("click",function(t){th_maps.searchCitySearch(e,i,n,o)})},searchCitySearch:function(i,t,n,e){n.setMap(null),$('input[type="text"]',t).val()&&(console.log(e),console.log($('input[type="text"]',t).val()),e.geocode({address:$('input[type="text"]',t).val()},function(t,e){e==google.maps.GeocoderStatus.OK&&th_maps.searchReplaceCenterMaps(i,t[0].geometry.location,n)}))},searchAutoComplete:function(e,t,i,n){var t=$('input[type="text"]',t)[0],o=new google.maps.places.Autocomplete(t,{types:["geocode"]});o.addListener("place_changed",function(){var t=o.getPlace();t.geometry&&t.geometry.location&&th_maps.searchReplaceCenterMaps(e,t.geometry.location,i)})}
1,searchReplaceCenterMaps:function(t,e,i){t.setCenter(e),i.setPosition(e),i.setMap(t)},geoLocPositionFound:function(t,e,i){e=e.coords;i=i||th_maps.createMarkerTarget(),th_maps.searchReplaceCenterMaps(t,{lat:e.latitude,lng:e.longitude},i)},geoLocError:function(t){console.log(t),alert("Impossible de vous localiser. Le service de localisation est peut-être désactivé.")},geoLoc:function(e,t,i){navigator.geolocation?$(t).on("click",function(){navigator.geolocation.getCurrentPosition(function(t){th_maps.geoLocPositionFound(e,t,i)},th_maps.geoLocError)}):($(t).remove(),error("Not supported"))},_appendScript:function(i,t){var n=document.createElement("script");n.type="text/javascript",n.setAttribute("async",""),n.setAttribute("defer",""),t&&(n.onload=t),"object"==typeof i?(document.getElementsByTagName("head")[0].appendChild(n),$.each(i,function(t,e){n.setAttribute(t,i[t])})):(document.getElementsByTagName("head")[0].appendChild(n),n.src=url)},_appendStyle:function(i,t){var n=document.createElement("link");n.setAttribute("rel","stylesheet"),t&&(script.onload=t),$.each(i,function(t,e){n.setAttribute(t,i[t])}),document.getElementsByTagName("head")[0].appendChild(n)},_clone:function(t){if(null===t||"object"!=typeof t||"isActiveClone"in t)return t;var e,i;for(i in e=t instanceof Date?new t.constructor:t.constructor(),t)Object.prototype.hasOwnProperty.call(t,i)&&(t.isActiveClone=null,e[i]=th_maps._clone(t[i]),delete t.isActiveClone);return e}},th_overlay={selector_overlay:".overlay",selector_overlay_shadow:".shadow-overlay",callbackOpen:[],callbackClose:[],isEscapeListening:!1,lastOpenedId:[],focusElOnClose:{},noFocusOnPreviousOverlay:!1,doNotCloseOverlay:!1,preventDefault:!0,init:function(t){th_overlay.parseOverlayShadow($("body")),th_overlay.parse($("body")),setTimeout(function(){th_overlay.openOnLoad()},1e3),t&&$.each(t,function(t,e){th_overlay[t]&&(th_overlay[t]=e)}),th_overlay.isEscapeListening||(th_overlay.isEscapeListening=!0,document.addEventListener("keydown",function(t){0<th_overlay.lastOpenedId.length&&"Escape"===t.key&&(t.preventDefault(),t.stopPropagation(),!1!==th_overlay.doNotCloseOverlay&&null!==th_overlay.doNotCloseOverlay||th_overlay.close(th_overlay.lastOpenedId[th_overlay.lastOpenedId.length-1]))}))},addCallbackOpen:function(t){th_overlay.callbackOpen.push(t)},addCallbackClose:function(t){th_overlay.callbackClose.push(t)},parseOverlayShadow:function(){$(th_overlay.selector_overlay_shadow).on("click",function(t){t.preventDefault(),th_overlay.close(th_overlay.lastOpenedId[th_overlay.lastOpenedId.length-1])})},parse:function(t){$(th_overlay.selector_overlay).each(function(){var t=this.id;$('a[href="#'+t+'"]:not(.parsed-overlay):not(.close), [data-overlay-open="'+t+'"]:not(.parsed-overlay)').addClass("parsed-overlay").on("click",function(t){t.preventDefault(),"true"!==$(this).attr("aria-disabled")&&(t=(t=$(this).attr("href"))?t.replace("#",""):$(this).attr("data-overlay-open"),th_overlay.focusElOnClose[t]=this,th_overlay.open(t))}),$('a[href="#'+t+'"].close:not(.parsed-overlay), [data-overlay-close="'+t+'"]:not(.parsed-overlay)').addClass("parsed-overlay").on("click",function(t){t.preventDefault();var e=$(this).attr("href");e=(e=e?e.replace("#",""):$(this).attr("data-overlay-close"))||null,th_overlay.preventDefault&&t.preventDefault(),th_overlay.close(e)})})},openOnLoad:function(){var t=window.location.hash.split("#");t&&$.each(t,function(t,e){if(e&&e.length)try{var i=$("#"+e);if($(i).hasClass("overlay"))return th_overlay.open(e)}catch(t){return!1}})},open:function(i,t,e){!1!==t&&(t=!0),!1!==e&&(e=!0),th_overlay.lastOpenedId.push(i),setTimeout(function(){$("#"+i).find("button[data-overlay-close]").first().focus()},250),$(th_overlay.selector_overlay+".open").each(function(t){th_overlay.close($(this).attr("id"),!1,!0)}),$("#"+i).addClass("open"),$("#"+i).attr("data-disable-hash")||(window.location.hash=i),1==t&&$(th_overlay.selector_overlay_shadow).addClass("open"),1==e&&$.each(th_overlay.callbackOpen,function(t,e){e(i)})},close:function(i,t,e){!1!==t&&(t=!0),!1!==e&&(e=!0),window.location.hash=" ",history.replaceState(null,null," "),i?(th_overlay.lastOpenedId[th_overlay.lastOpenedId.length-1]==i&&th_overlay.lastOpenedId.pop(),$("#"+i).removeClass("open"),0==$(th_overlay.selector_overlay+".open").length&&t&&$(th_overlay.selector_overlay_shadow).removeClass("open")):($(th_overlay.selector_overlay+".open").removeClass("open"),t&&$(th_overlay.selector_overlay_shadow).removeClass("open")),e&&$.each(th_overlay.callbackClose,function(t,e){e(i)}),th_overlay.focusElOnClose[i]&&setTimeout(function(){th_overlay.noFocusOnPreviousOverlay||$(th_overlay.focusElOnClose[i]).focus()},850)}};function addRecaptchaScriptBody(t){var e=document.createElement("script");e.src="https://www.google.com/recaptcha/api.js?render=explicit",e.setAttribute("defer",!0),e.setAttribute("async",!0),t&&e.addEventListener("load",function(){setTimeout(function(){loadRecaptcha(t)},500)}),document.body.appendChild(e)}function loadRecaptcha(t){$(t).each(function(){var i=!1,n=null,o=$(this).parents("form"),a=!1,r=this;this.getAttribute("data-size")&&"invisible"===this.getAttribute("data-size")&&(a=!0),"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype?new IntersectionObserver(function(t,e){$.each(t,function(){0<this.intersectionRatio&&(n=grecaptcha.render(r.getAttribute("id"),{sitekey:r.getAttribute("data-sitekey"),callback:function(t){$(".g-recaptcha-response",o).val(t),a&&setTimeout(function(){o.submit()},250)}}),o&&a&&o.on("submit",function(t){console.log("submit"),null===n||i||(t.preventDefault(),i=!0,grecaptcha.execute(n))}),e.unobserve(o[0]))})}).observe(o[0]):(n=grecaptcha.render(this.getAttribute("id"),{sitekey:this.getAttribute("data-sitekey"),callback:function(t){$(".g-recaptcha-response",o).val(t),a&&setTimeout(function(){o.submit()},250)}}),o&&a&&o.on("submit",function(t){null===n||i||(t.preventDefault(),i=!0,grecaptcha.execute(n))}))})}0<$(".g-recaptcha[data-sitekey]").length&&addRecaptchaScriptBody(".g-recaptcha[data-sitekey]"),$multiRecaptchaList=$(".frm-g-recaptcha[data-sitekey]"),0<$multiRecaptchaList.length&&addRecaptchaScriptBody(".frm-g-recaptcha[data-sitekey]");var th_rgaa_focus={firstEl:null,lastEl:null,el:null,hasEvent:null,init:function(t,e,
1i){th_rgaa_focus.el=t,th_rgaa_focus.firstEl=e,th_rgaa_focus.lastEl=i,e||i||th_rgaa_focus.getFirstAndLastEl(),th_rgaa_focus.firstEl&&th_rgaa_focus.lastEl&&th_rgaa_focus.focusTrap()},getFirstAndLastEl:function(){var t=$("a[href], button, select, [tabindex]:not(span), input[type=text], input[type=checkbox]",th_rgaa_focus.el);th_rgaa_focus.firstEl=t.first()[0],th_rgaa_focus.lastEl=t.last()[0]},focusTrap:function(){th_rgaa_focus.hasEvent&&th_rgaa_focus.el[0].removeEventListener("keydown",th_rgaa_focus.trapEvent),th_rgaa_focus.el[0].addEventListener("keydown",th_rgaa_focus.trapEvent),th_rgaa_focus.hasEvent=!0},trapEvent:function(t){"Tab"!==t.key&&9!==t.keyCode||(t.shiftKey?document.activeElement===th_rgaa_focus.firstEl&&(th_rgaa_focus.lastEl.focus(),t.preventDefault()):document.activeElement===th_rgaa_focus.lastEl&&(th_rgaa_focus.firstEl.focus(),t.preventDefault()))},removeTrapEvent:function(){th_rgaa_focus.hasEvent&&th_rgaa_focus.el[0].removeEventListener("keydown",th_rgaa_focus.trapEvent)}},thSliderTools={onInitNav:function(t,e){e[0].addEventListener("click",function(){t.prev()}),e[1].addEventListener("click",function(){t.next()})},onInitNavRGAA:function(a,t){function e(){for(var t,e=a.el.parentNode.getBoundingClientRect().left-5,i=a.el.parentNode.getBoundingClientRect().right+5,n=new RegExp("(a|button|input|select)","i"),o=0;o<a.state.count;o++)a.state.items[o].getBoundingClientRect().left>=e&&a.state.items[o].getBoundingClientRect().right<=i?(a.state.items[o].removeAttribute("aria-hidden"),a.state.items[o].tagName.match(n)?a.state.items[o].setAttribute("tabindex",0):(t=a.state.items[o].querySelector("a"))&&t.setAttribute("tabindex",0)):(a.state.items[o].setAttribute("aria-hidden",!0),a.state.items[o].tagName.match(n)?a.state.items[o].setAttribute("tabindex",-1):(t=a.state.items[o].querySelector("a"))&&t.setAttribute("tabindex",-1))}e(),t[0].addEventListener("click",function(){a.prev(),setTimeout(e,200),setTimeout(e,400)}),t[1].addEventListener("click",function(){a.next(),setTimeout(e,200),setTimeout(e,400)})},determineItemsVisiblesRGAA:function(t){for(var e=t.el.parentNode.getBoundingClientRect().left-5,i=t.el.parentNode.getBoundingClientRect().right+5,n=0;n<t.state.count;n++){var o=t.state.items[n].getBoundingClientRect(),a=!1;o.left>=e&&o.right<=i&&(a=!0),thSliderTools.setItemVisibleOrNotRGAA(t.state.items[n],a)}},setItemVisibleOrNotRGAA:function(t,e){if(e)for(var i=t.querySelectorAll("a"),n=0;n<i.length;n++)i[n].setAttribute("tabindex",0);else for(i=t.querySelectorAll("a"),n=0;n<i.length;n++)i[n].setAttribute("tabindex",-1)},onInitDots:function(t,e,i){if(e){t.lastDotActive=null;for(var n=0;n<t.state.count;n++)thSliderTools._addButton(e,t,n,i)}},onInitCounter:function(t,e){var i;e&&(i=e.querySelector(".current"),e=e.querySelector(".total"),i)&&e&&(e.innerHTML=t.state.count,i.innerHTML=1)},onInitTextNav:function(i,t,e){if(0<t.length)for(var n=0;n<t.length;n++)n<e?t[n].addEventListener("click",function(t){var e=t.target.getAttribute("data-index");t.preventDefault(),i.goto(e)}):(console.log("DEBUG : Les éléments suivants ont été supprimés de la navigation textuelle parce qu'ils ne correspondent pas à une slide :",t[n].outerHTML),t[n].remove())},onChangeNav:function(t,e){t.canPrev()?(e[0].removeAttribute("disabled"),e[0].setAttribute("aria-disabled",!1)):(e[0].setAttribute("disabled","disabled"),e[0].setAttribute("aria-disabled",!0)),t.canNext()&&t.lastItemIn()?(e[1].removeAttribute("disabled"),e[1].setAttribute("aria-disabled","false")):(e[1].setAttribute("disabled","disabled"),e[1].setAttribute("aria-disabled","true"))},onChangeTextNav:function(t,e){0<e.length&&(t.lastDotActive&&(t.lastDotActive.className="",t.lastDotActive.setAttribute("aria-selected","false")),0<e[0].childNodes.length)&&(t.lastDotActive=e[t.state.current],t.lastDotActive.className="active",t.lastDotActive.setAttribute("aria-selected","true"),t.lastDotActive.focus())},onChangeNavIgnoreLastItemIn:function(t,e){t.canPrev()?(e[0].removeAttribute("disabled"),e[0].setAttribute("aria-disabled","false")):(e[0].setAttribute("disabled","disabled"),e[0].setAttribute("aria-disabled","true")),t.canNext()?(e[1].removeAttribute("disabled"),e[1].setAttribute("aria-disabled","false")):(e[1].setAttribute("disabled","disabled"),e[1].setAttribute("aria-disabled","true"))},onChangeDots:function(t,e){e&&(t.lastDotActive&&(t.lastDotActive.className="",t.lastDotActive.setAttribute("aria-selected","false")),0<e.children.length)&&(t.isMobile()&&t.el.getBoundingClientRect().width+t.el.scrollLeft>=t.el.scrollWidth?(t.lastDotActive=e.children[t.state.count-1],t.lastDotActive.className="active",t.lastDotActive.setAttribute("aria-selected","true")):(t.lastDotActive=e.children[t.state.current],t.lastDotActive.className="active",t.lastDotActive.setAttribute("aria-selected","true"),t.lastDotActive.focus()))},onChangeCounter:function(t,e){e&&(e=e.querySelector(".current"))&&(t.isMobile()&&t.el.getBoundingClientRect().width+t.el.scrollLeft>=t.el.scrollWidth?e.innerHTML=t.state.count:e.innerHTML=t.state.current+1)}
1,_addButton:function(t,e,i,n){var o=document.createElement("button");(o=n?n(o,i):o).addEventListener("click",function(t){t.preventDefault(),e.goto(i)}),t.appendChild(o)},afterImgLoad:function(t,e){for(var i=0,n=t.querySelectorAll("img"),o=n.length,a=0;a<o;a++)n[a].complete?i++:(n[a].onload=function(){++i==o&&setTimeout(function(){e()},50)},n[a].onerror=function(){++i==o&&setTimeout(function(){e()},50)});i==o&&setTimeout(function(){e()},50)}};function thSlider(t,e){return this.el=t,this.el.posX=0,this.state={items:null,current:0,count:null,lastDirection:1},this.options={duration:400,rtl:0,onchange:null,beforechange:null,oninit:null,scrollPadding:0,scrollModeMaxWidth:1280,scrollModeClass:"scroll-mode",scrollModeParentClass:"scroll-mode-parent"},this._setup=function(t){var e;t.rtl&&(this.options.rtl=t.rtl),t.onchange&&(this.options.onchange=t.onchange),t.beforechange&&(this.options.beforechange=t.beforechange),t.oninit&&(this.options.oninit=t.oninit),!t.duration&&0!==t.duration||(this.options.duration=t.duration),t.scrollModeMaxWidth&&(this.options.scrollModeMaxWidth=t.scrollModeMaxWidth),t.scrollModeClass&&(this.options.scrollModeClass=t.scrollModeClass),t.scrollModeClassInParent&&(this.options.scrollModeClassInParent=t.scrollModeClassInParent),t.draggable&&!this.isMobile()&&this._enableDesktopDrag(),t.scrollListener&&this.isMobile()&&this._enableSrollListener(),this.isMobile()&&(this.options.scrollModeClass&&(this.el.className+=" "+this.options.scrollModeClass),this.options.scrollModeParentClass)&&(this.el.parentNode.className+=" "+this.options.scrollModeParentClass),this.detectScrollPadding(),this._updateState(),this.options.oninit&&this.options.oninit(this),this.options.duration&&this.options.onchange&&(e=this).el.addEventListener("transitionend",function(){e.options.onchange(e)},!1)},this.detectScrollPadding=function(){var t=(t=window.getComputedStyle(this.el,null).scrollPadding)&&parseInt(t.replace("px",""));this.options.scrollPadding=t=t||0},this.isMobile=function(){return document.body.clientWidth<1024||"ontouchstart"in document.documentElement&&document.body.clientWidth<=this.options.scrollModeMaxWidth},this._updateState=function(){this.state.items=[];for(var t=this.el.childNodes,e=0;e!=t.length;e++)"#text"!=t[e].nodeName&&this.state.items.push(t[e]);this.state.count=this.state.items.length},this.next=function(){var t=this.state.current+1;if(t>=this.state.count)return!1;this.goto(t)},this.prev=function(){var t=this.state.current-1;if(t<0)return!1;this.goto(t)},this.goto=function(t){this._refresh(t)},this.canNext=function(){return this.el.scrollLeft+this.el.offsetWidth!==this.el.scrollWidth&&this.state.current!==this.state.count-1},this.canPrev=function(){return 0!==this.state.current},this.lastItemIn=function(){return this.options.rtl?this.state.items[this.state.count-1].getBoundingClientRect().left<this.el.parentNode.getBoundingClientRect().left:this.state.items[this.state.count-1].getBoundingClientRect().right>this.el.parentNode.getBoundingClientRect().right},this._move=function(e,t){if(this.isMobile()){try{this.el.scroll({left:this.el.scrollLeft+-1*e,top:0,behavior:"smooth"})}catch(t){this.el.scrollLeft=this.el.scrollLeft+-1*e}this.options.onchange&&this.options.onchange(this)}else this.el.style.transition=t?"all "+t+"ms ease":null,this.el.style.transform="translate3d("+e+"px,0,0)",this.el.posX=e},this._getCurrent=function(){for(var t,e=0,i=(this.isMobile()&&(e=2),this.el.parentNode.getBoundingClientRect().left-e+this.options.scrollPadding),n=(this.options.rtl&&(t=this.el.parentNode.getBoundingClientRect().right+e-this.options.scrollPadding),this._updateState(),!1),o=0;o<this.state.count;o++)if(this.state.lastDirection){if(this.options.rtl){if(this.state.items[o].getBoundingClientRect().left<t){this.state.current=o,n=!0;break}}else if(this.state.items[o].getBoundingClientRect().left>i){this.state.current=o,n=!0;break}}else if(this.options.rtl){if(this.state.items[o].getBoundingClientRect().right<t){this.state.current=o,n=!0;break}}else if(this.state.items[o].getBoundingClientRect().right>i){this.state.current=o,n=!0;break}return n||(this.state.current=this.state.count-1),this.state.current},this._refresh=function(t){if(0===t||t){if(t>this.state.count)return!1;this.state.current=t}else t=this._getCurrent();var e,i=this.state.items[t];this.options.beforechange&&this.options.beforechange(this,t),this.options.rtl?this._move(this._calcMoveRTL(i),this.options.duration):this._move(this._calcMove(i),this.options.duration),this.options.onchange&&(this.options.duration?this.onChangeWithDurationAlready||(this.onChangeWithDurationAlready=!0,(e=this).el.addEventListener("transitionend",function(){e.options.onchange(e)},!1)):this.options.onchange(this))},this._calcMove=function(t){var e=this.el.parentNode.getBoundingClientRect().left;return e-(e-(this.el.getBoundingClientRect().left+this.options.scrollPadding)+t.getBoundingClientRect().left)},this._calcMoveRTL=function(t){var e=this.el.parentNode.getBoundingClientRect().right,i=this.el.parentNode.getBoundingClientRect().left,n=this.el.getBoundingClientRect().left+this.options.scrollPadding,o=t.getBoundingClientRect().right;t.getBoundingClientRect().left;return n-i+(e-o)},this._enableDesktopDrag=function(){var e=this,i=null,n=null,o=!1,a=0,r=null;function s(t){(new Date).getTime(),o=!(a=0),i=t,n=(n=e.el.posX)||0}function l(t){a=t-i,e._move(n+a)}function c(t){20<a&&(e.state.lastDirection=0,e._move(n+(t-i)),e._refresh()),a<-20&&(e.state.lastDirection=1,e._move(n+(t-i)),e._refresh())}e.el.addEventListener("mousedown",function(t){t.preventDefault(),s(t.clientX)}),document.addEventListener("mousemove",function(t){o&&0!=t.clientX&&(t.preventDefault(),t.stopPropagation(),l(t.clientX))}),document.addEventListener("mouseup",function(t){o&&(o=!1,t.preventDefault(),t.stopPropagation(),c(t.clientX))}),e.el.addEventListener("touchstart",function(t){t.preventDefault(),r
1=t.touches[0].clientX,s(t.touches[0].clientX)}),document.addEventListener("touchmove",function(t){o&&0!=t.touches[0].clientX&&(r=t.touches[0].clientX,l(t.touches[0].clientX))}),document.addEventListener("touchend",function(t){o&&(o=!1,t.preventDefault(),t.stopPropagation(),c(r))}),e.el.addEventListener("click",function(t){(20<a||a<-20)&&(t.preventDefault(),t.stopPropagation())})},this._enableSrollListener=function(){function e(){t._refresh()}var t=this,i=null;t.el.addEventListener("scroll",function(t){i&&clearTimeout(i),i=setTimeout(e,250)},{passive:!0})},this._setup(e),this.options.onchange&&this.options.onchange(this),this}var thVheight={height:0,init:function(t){$(window).on("resize",function(){thVheight.update(t)}),thVheight.update(t)},update:function(t){(thVheight.detectChange()||t)&&$("[data-vheight],[data-m-vheight]").each(function(){var t,e,i,n=this.getAttribute("data-vheight");(n=document.body.clientWidth<600&&this.getAttribute("data-m-vheight")?this.getAttribute("data-m-vheight"):n)&&(e=0,i=n.match(/\ \-\ /)?(i=n.split(" - "),t=parseInt(i[0]),e=parseInt(i[1]),thVheight.height/100*t-e):n.match(/\ \+\ /)?(i=n.split(" + "),t=parseInt(i[0]),e=parseInt(i[1]),thVheight.height/100*t+e):(t=parseInt(n),thVheight.height/100*t-e),$(this).height(i))})},detectChange:function(){var t=document.body.clientHeight;return(150<t-thVheight.height||150<thVheight.height-t)&&(thVheight.height=t,!0)}},th_video={videoTemplates:{vimeo:'<iframe src="https://player.vimeo.com/video/[VIDEO_ID]?&autoplay=[AUTOPLAY]&background=[MUTE]&dnt=1" title="[TITLE]" allow="autoplay; fullscreen" allowfullscreen></iframe>',youtube:'<iframe src="https://www.youtube-nocookie.com/embed/[VIDEO_ID]?&autoplay=[AUTOPLAY]&mute=[MUTE]&start=[START]" title="[TITLE]" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>'}
1,init:function(t){$(t).each(function(){var e=$(".mask-video",this),i=$(".embed-container",this);0<e.length?$(e).click(function(t){th_video.displayVideo(i,e)}):th_video.observer(i,$(this)[0])})},generateVideoIframe:function(t,e,i,n,o,a){if(!t)return!1;if(!th_video.videoTemplates[e])return!1;i=i||0,n=n||0,o=o||0;e=th_video.videoTemplates[e]+"";return e=(e=(e=e.replace("[VIDEO_ID]",t)).replace("[MUTE]",i)).replace("[AUTOPLAY]",n),e=(e=a?e.replace("[TITLE]",a):e.replace('title="[TITLE]"',"")).replace("[START]",o)},displayVideo:function(t,e){var i=t.data("video_id"),n=t.data("video_plateforme"),o=t.data("video_title"),a=t.data("start"),r=0,i=(0<e.length&&(r=1),th_video.generateVideoIframe(i,n,0,r,a,o));t.append(i),!1!==e&&e.addClass("hide-mask"),t.addClass("clicked-embed")},observer:function(t,e){"IntersectionObserver"in window?new IntersectionObserver(th_video.obsCallback).observe(e):th_video.displayVideo(t,!1)},obsCallback:function(t,e){for(var i=0;i<t.length;i++){var n=t[i],o=$(n.target),a=$(".embed-container",o);!n.isIntersecting||o.hasClass("iframe-loaded")||(th_video.displayVideo(a,!1),a.css("opacity",1),o.addClass("iframe-loaded"))}}},scr=document.getElementsByTagName("script"),thConfig=((r=>{var s,l,c,n,o,i,a,u={theme:"zoombox",opacity:.8,duration:200,animation:!0,width:600,height:400,gallery:!0,autoplay:!0,overflow:!1},d=!1,e=0,h="multimedia",p=!1,f=!1,m="closed",t='<div id="zoombox">             <div class="zoombox_mask"></div>            <div class="zoombox_container">                <div class="zoombox_content"></div>                <div class="zoombox_title"></div>                <div class="zoombox_next"></div>                <div class="zoombox_prev"></div>                <div class="zoombox_close"></div>            </div>            <div class="zoombox_gallery"></div>        </div>',g=/(\.jpg)|(\.jpeg)|(\.bmp)|(\.gif)|(\.png)/i,v=/(\.mp3)/i,y=/(\.flv)/i,_=/(\.swf)/i,b=/(\.mov)|(\.mp4)/i,w=/(\.wmv)|(\.avi)/i,k=/(http:\/\/www.dailymotion)|(http:\/\/dailymotion)/i,x=/(http:\/\/www.vimeo)|(http:\/\/vimeo)/i,C=/(youtube\.)/i,O=/(http:\/\/www\.koreus)|(http:\/\/koreus)/i;function S(){var t;"closed"==m&&(d=!1),m="load",n=u.width,o=u.height,null!=l&&(null!=(t=/w([0-9]+)/.exec(l.attr("class")))&&t[1]&&(n=t[1]),null!=(t=/h([0-9]+)/.exec(l.attr("class"))))&&t[1]&&(o=t[1]),g.test(c)?((img=new Image).src=c,r("body").append('<div id="zoombox_loader"></div>'),r("#zoombox_loader").css("marginTop",j()),i=window.setInterval(function(){var t=img;t.complete&&(e=0,window.clearInterval(i),n=t.width,o=t.height,r("#zoombox_loader").remove(),T(),L()),r("#zoombox_loader").css({"background-position":"0px "+e+"px"}),(e-=40)<-440&&(e=0)},100)):(T(),L())}function N(){r("body").append(t),r(window).keydown(function(t){t=t.which;37==t&&P(),39==t&&D(),27==t&&A()}),r(window).resize(function(){r("#zoombox .zoombox_container").css({top:(E()-r("#zoombox .zoombox_container").outerHeight(!0))/2,left:(z()-r("#zoombox .zoombox_container").outerWidth(!0))/2})}),r("#zoombox .zoombox_mask").hide(),r("#zoombox").addClass(u.theme),r("#zoombox .zoombox_mask,.zoombox_close").click(function(){return A(),r(".zoombox_close").hide(),!1}),0==f?r("#zoombox .zoombox_next,#zoombox .zoombox_prev").remove():(r("#zoombox .zoombox_next").click(function(){D()}),r("#zoombox .zoombox_prev").click(function(){P()}))}function M(){var i=0;if(u.gallery){if(!1===f)return void r("#zoombox .zoombox_gallery").remove();for(var t in f){var e="",n=r('<img src="'+e+'" class="video gallery'+ +t+'"/>');g.test(f[t].attr("href"))&&(e=f[t].attr("href"),n=r('<img src="'+e+'" class="gallery'+ +t+'"/>')),n.data("id",t).appendTo("#zoombox .zoombox_gallery"),n.click(function(){I(r(this).data("id")),r("#zoombox .zoombox_gallery img").removeClass("current"),r(this).addClass("current")}),t==p&&n.addClass("current"),r("<img/>").data("img",n).attr("src",e).on("load",function(){i++;var t,e=r(this).data("img");e.width(Math.round(e.height()*this.width/this.height)),i==r("#zoombox .zoombox_gallery img").length&&(t=0,r("#zoombox .zoombox_gallery img").each(function(){t+=r(this).outerWidth(),r(this).data("left",t)}),e=r("<div>").css({position:"absolute",top:0,left:0,width:t}),r("#zoombox .zoombox_gallery").wrapInner(e),r("#zoombox .zoombox_gallery").width(),r("#zoombox").trigger("change"))})}r("#zoombox .zoombox_gallery").show().animate({bottom:0},u.duration)}r("#zoombox").on("change",function(t,e){if(r("#zoombox .zoombox_gallery div").width()<r("#zoombox .zoombox_gallery").width)return!0;var i=0,n=0,n=null!=e?(i=u.duration,e.width/2):r("#zoombox .zoombox_gallery").width()/2,e=-r("#zoombox .zoombox_gallery img.current").data("left")+r("#zoombox .zoombox_gallery img.current").width()/2+n;0<(e=e<2*n-r("#zoombox .zoombox_gallery div").width()?2*n-r("#zoombox .zoombox_gallery div").width():e)&&(e=0),r("#zoombox .zoombox_gallery div").animate({left:e},i)})}function L(){0==d?N():r("#zoombox .zoombox_title").empty(),r("#zoombox .close").hide(),r("#zoombox .zoombox_container").removeClass("multimedia").removeClass("img").addClass(h),null!=l&&l.attr("title")&&r("#zoombox .zoombox_title").append(l.attr("title")),r("#zoombox .zoombox_content").empty(),"img"==h&&0==d&&1==u.animation&&r("#zoombox .zoombox_content").append(a),null!=l&&0!=l.find("img").length&&0==d?(t=l.find("img"),r("#zoombox .zoombox_container").css({width:t.width(),height:t.height(),top:t.offset().top,left
1:t.offset().left,opacity:0,marginTop:t.css("marginTop")})):null!=l&&0==d?r("#zoombox .zoombox_container").css({width:l.width(),height:l.height(),top:l.offset().top,left:l.offset().left}):0==d&&r("#zoombox .zoombox_container").css({width:100,height:100,top:E()/2-50,left:z()/2-50});var t={width:n,height:o,left:(z()-n)/2,top:(E()-o)/2,marginTop:j(),opacity:1};r("#zoombox").trigger("change",t),1==u.animation?(r("#zoombox .zoombox_title").hide(),r("#zoombox .zoombox_close").hide(),r("#zoombox .zoombox_container").animate(t,u.duration,function(){"multimedia"!=h&&1!=d||r("#zoombox .zoombox_content").append(a),"image"!=h&&1!=d||r("#zoombox .zoombox_content img").css("opacity",0).fadeTo(200,1),r("#zoombox .zoombox_title").fadeIn(200),r("#zoombox .zoombox_close").fadeIn(200),m="opened",d||M(),d=!0}),r("#zoombox .zoombox_mask").fadeTo(200,u.opacity)):(r("#zoombox .zoombox_content").append(a),r("#zoombox .zoombox_close").show(),r("#zoombox .zoombox_gallery").show(),r("#zoombox .zoombox_container").css(t),r("#zoombox .zoombox_mask").show(),r("#zoombox .zoombox_mask").css("opacity",u.opacity),d||M(),d=!0,m="opened")}function A(){m="closing",window.clearInterval(i),r(window).off("keydown"),r(window).off("resize"),"multimedia"==h&&r("#zoombox .zoombox_container").empty();var t,e={};e=null!=l&&0<l.find("img").length?{width:(t=l.find("img")).width(),height:t.height(),top:t.offset().top,left:t.offset().left,opacity:0,marginTop:t.css("marginTop")}:null!=l?{width:l.width(),height:l.height(),top:l.offset().top,left:l.offset().left,marginTop:0,opacity:0}:{width:100,height:100,top:E()/2-50,left:z()/2-50,opacity:0},1==u.animation?(r("#zoombox .zoombox_mask").fadeOut(200),r("#zoombox .zoombox_gallery").animate({bottom:-r("#zoombox .zoombox_gallery").innerHeight()},u.duration),r("#zoombox .zoombox_container").animate(e,u.duration,function(){r("#zoombox").remove(),d=!(m="closed")})):(r("#zoombox").remove(),d=!(m="closed"))}function T(){0==u.overflow&&(+n+50>z()&&(o=(z()-50)*o/n,n=z()-50),+o+50>E())&&(n=(E()-50)*n/o,o=E()-50);var t,e,i=c;h="multimedia",g.test(i)?(h="img",a='<img src="'+c+'" width="100%" height="100%"/>'):v.test(i)?(n=300,o=40,a='<object type="application/x-shockwave-flash" data="'+MP3Player+"?son="+i+'" width="'+n+'" height="'+o+'">',a+='<param name="movie" value="'+MP3Player+"?son="+i+'" /></object>'):a=y.test(i)?(t=0,1==u.autoplay&&(t=1),'<object type="application/x-shockwave-flash" data="'+zoombox_path+'FLVplayer.swf" width="'+n+'" height="'+o+'"><param name="allowFullScreen" value="true"><param name="scale" value="noscale"><param name="wmode" value="transparent"><param name="flashvars" value="flv='+i+"&autoplay="+t+'"><embed src="'+zoombox_path+'FLVplayer.swf" width="'+n+'" height="'+o+'" allowscriptaccess="always" allowfullscreen="true" flashvars="flv='+i+'" wmode="transparent" /></object>'):_.test(i)?'<object width="'+n+'" height="'+o+'"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="'+i+'" /><embed src="'+i+'" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="'+n+'" height="'+o+'" wmode="transparent"></embed></object>':b.test(i)?(a='<embed src="'+i+'" width="'+n+'" height="'+o+'" controller="true" cache="true" autoplay="true"/>','<video controls autoplay src="'+i+'" width="'+n+'" height="'+o+'">Your browser does not support this format</video>'):w.test(i)?'<embed src="'+i+'" width="'+n+'" height="'+o+'" controller="true" cache="true" autoplay="true" wmode="transparent" />':k.test(i)?(e=(e=(e=i.split("_"))[0].split("/"))[e.length-1]+"?",1==u.autoplay&&(e+="autoPlay=1&"),'<iframe frameborder="0" width="'+n+'" height="'+o+'" src="https://www.dailymotion.com/embed/video/'+e+'?wmode=transparent"></iframe>'):x.test(i)?(e=(e=i.split("/"))[3]+"?",1==u.autoplay&&(e+="autoplay=1&"),'<iframe src="https://player.vimeo.com/video/'+e+'title=0&amp;byline=0&amp;portrait=0&amp;wmode=transparent" width="'+n+'" height="'+o+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'):C.test(i)?(e=(e=(e=i.split("watch?v="))[1].split("&"))[0]+"?",1==u.autoplay&&(e+="autoplay=1&"),'<iframe width="'+n+'" height="'+o+'" src="https://www.youtube.com/embed/'+e+'wmode=Opaque" frameborder="0" allowfullscreen></iframe>'):O.test(i)?'<object type="application/x-shockwave-flash" data="'+(i=(i=i.split(".html"))[0])+'" width="'+n+'" height="'+o+'"><param name="movie" value="'+i+'"><embed src="'+i+'" type="application/x-shockwave-flash" width="'+n+'" height="'+o+'"  wmode="transparent"></embed></object>':'<iframe src="'+i+'" width="'+n+'" height="'+o+'" border="0"></iframe>'}function I(t){"opened"==m&&f&&(l=f[p=t],c=l.attr("href"),0<r("#zoombox .zoombox_gallery img").length&&(r("#zoombox .zoombox_gallery img").removeClass("current"),r("#zoombox .zoombox_gallery img:eq("+t+")").addClass("current")),S())}function D(){I(e=(e=p+1)>f.length-1?0:e)}function P(){I(e=(e=p-1)<0?f.length-1:e)}function E(){return window.innerHeight||r(window).height()}function z(){return window.innerWidth||r(window).width()}function j(){return scrOfY=0,"number"==typeof window.pageYOffset?scrOfY=window.pageYOffset:document.body&&document.body.scrollTop?scrOfY=document.body.scrollTop:document.documentElement&&document.documentElement.scrollTop&&(scrOfY=document.documentElement.scrollTop),scrOfY}r.zoombox=function(t,e){},r.zoombox.options=u,r.zoombox.close=function(){A()},r.zoombox.open=function(t,e){l=null,c=t,u=r.extend({},r.zoombox.options,e),S()},r.zoombox.html=function(t,e){a=t,u=r.extend({},r.zoombox.options,e),n=u.width,o=u.height,l=null,L()},r.fn.zoombox=function(a){return s=new Array,this.each(function(){if(r.browser&&r.browser.msie&&r.browser.version<7&&!window.XMLHttpRequest)return!1;var t,e=this,i=/zgallery([0-9]+)/.exec(r(this).attr("class")),n=/zskip/.exec(r(this).attr("class")),o=!1;
1null!=i&&(s[i[1]]||(s[i[1]]=new Array),null==n&&s[i[1]].push(r(this)),t=s[i[1]].length-1,o=s[i[1]]),r(this).off("click").click(function(){return u=r.extend({},r.zoombox.options,a),"closed"==m&&(null!=n?t<s[i[1]].length-1&&(l=s[i[1]][t+1]):l=r(e),f=o,c=l.attr("href"),p=t,S()),!1})})}})(jQuery),(t=>{L.MarkerClusterGroup=L.FeatureGroup.extend({options:{maxClusterRadius:80,iconCreateFunction:null,spiderfyOnMaxZoom:!0,showCoverageOnHover:!0,zoomToBoundsOnClick:!0,singleMarkerMode:!1,disableClusteringAtZoom:null,removeOutsideVisibleBounds:!0,animate:!0,animateAddingMarkers:!1,spiderfyDistanceMultiplier:1,spiderLegPolylineOptions:{weight:1.5,color:"#222",opacity:.5},chunkedLoading:!1,chunkInterval:200,chunkDelay:50,chunkProgress:null,polygonOptions:{}},initialize:function(t){L.Util.setOptions(this,t),this.options.iconCreateFunction||(this.options.iconCreateFunction=this._defaultIconCreateFunction),this.options.clusterPane||(this.options.clusterPane=L.Marker.prototype.options.pane),this._featureGroup=L.featureGroup(),this._featureGroup.addEventParent(this),this._nonPointGroup=L.featureGroup(),this._nonPointGroup.addEventParent(this),this._inZoomAnimation=0,this._needsClustering=[],this._needsRemoving=[],this._currentShownBounds=null,this._queue=[],this._childMarkerEventHandlers={dragstart:this._childMarkerDragStart,move:this._childMarkerMoved,dragend:this._childMarkerDragEnd};t=L.DomUtil.TRANSITION&&this.options.animate;L.extend(this,t?this._withAnimation:this._noAnimation),this._markerCluster=t?L.MarkerCluster:L.MarkerClusterNonAnimated},addLayer:function(t){if(t instanceof L.LayerGroup)return this.addLayers([t]);if(t.getLatLng)if(this._map){if(!this.hasLayer(t)){this._unspiderfy&&this._unspiderfy(),this._addLayer(t,this._maxZoom),this.fire("layeradd",{layer:t}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons();var e=t,i=this._zoom;if(t.__parent)for(;e.__parent._zoom>=i;)e=e.__parent;this._currentShownBounds.contains(e.getLatLng())&&(this.options.animateAddingMarkers?this._animationAddLayer(t,e):this._animationAddLayerNonAnimated(t,e))}}else this._needsClustering.push(t),this.fire("layeradd",{layer:t});else this._nonPointGroup.addLayer(t),this.fire("layeradd",{layer:t});return this},removeLayer:function(t){return t instanceof L.LayerGroup?this.removeLayers([t]):(t.getLatLng?this._map?t.__parent&&(this._unspiderfy&&(this._unspiderfy(),this._unspiderfyLayer(t)),this._removeLayer(t,!0),this.fire("layerremove",{layer:t}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),t.off(this._childMarkerEventHandlers,this),this._featureGroup.hasLayer(t))&&(this._featureGroup.removeLayer(t),t.clusterShow)&&t.clusterShow():(!this._arraySplice(this._needsClustering,t)&&this.hasLayer(t)&&this._needsRemoving.push({layer:t,latlng:t._latlng}),this.fire("layerremove",{layer:t})):(this._nonPointGroup.removeLayer(t),this.fire("layerremove",{layer:t})),this)},addLayers:function(n,o){if(!L.Util.isArray(n))return this.addLayer(n);var a,r=this._featureGroup,s=this._nonPointGroup,l=this.options.chunkedLoading,c=this.options.chunkInterval,u=this.options.chunkProgress,d=n.length,h=0,p=!0;if(this._map){var f=(new Date).getTime(),m=L.bind(function(){for(var t,e=(new Date).getTime();h<d;h++){if(l&&h%200==0){var i=(new Date).getTime()-e;if(c<i)break}(a=n[h])instanceof L.LayerGroup?(p&&(n=n.slice(),p=!1),this._extractNonGroupLayers(a,n),d=n.length):a.getLatLng?this.hasLayer(a)||(this._addLayer(a,this._maxZoom),o||this.fire("layeradd",{layer:a}),a.__parent&&2===a.__parent.getChildCount()&&(t=(i=a.__parent.getAllChildMarkers())[0]===a?i[1]:i[0],r.removeLayer(t))):(s.addLayer(a),o||this.fire("layeradd",{layer:a}))}u&&u(h,d,(new Date).getTime()-f),h===d?(this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds)):setTimeout(m,this.options.chunkDelay)},this);m()}else for(var t=this._needsClustering;h<d;h++)(a=n[h])instanceof L.LayerGroup?(p&&(n=n.slice(),p=!1),this._extractNonGroupLayers(a,n),d=n.length):a.getLatLng?this.hasLayer(a)||t.pu
1sh(a):s.addLayer(a);return this},removeLayers:function(t){var e,i=t.length,n=this._featureGroup,o=this._nonPointGroup,a=!0;if(this._map){if(this._unspiderfy){this._unspiderfy();for(var r=t.slice(),s=i,l=0;l<s;l++)(e=r[l])instanceof L.LayerGroup?(this._extractNonGroupLayers(e,r),s=r.length):this._unspiderfyLayer(e)}for(l=0;l<i;l++)(e=t[l])instanceof L.LayerGroup?(a&&(t=t.slice(),a=!1),this._extractNonGroupLayers(e,t),i=t.length):e.__parent?(this._removeLayer(e,!0,!0),this.fire("layerremove",{layer:e}),n.hasLayer(e)&&(n.removeLayer(e),e.clusterShow)&&e.clusterShow()):(o.removeLayer(e),this.fire("layerremove",{layer:e}));this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds)}else for(l=0;l<i;l++)(e=t[l])instanceof L.LayerGroup?(a&&(t=t.slice(),a=!1),this._extractNonGroupLayers(e,t),i=t.length):(this._arraySplice(this._needsClustering,e),o.removeLayer(e),this.hasLayer(e)&&this._needsRemoving.push({layer:e,latlng:e._latlng}),this.fire("layerremove",{layer:e}));return this},clearLayers:function(){return this._map||(this._needsClustering=[],delete this._gridClusters,delete this._gridUnclustered),this._noanimationUnspiderfy&&this._noanimationUnspiderfy(),this._featureGroup.clearLayers(),this._nonPointGroup.clearLayers(),this.eachLayer(function(t){t.off(this._childMarkerEventHandlers,this),delete t.__parent},this),this._map&&this._generateInitialClusters(),this},getBounds:function(){var t=new L.LatLngBounds;this._topClusterLevel&&t.extend(this._topClusterLevel._bounds);for(var e=this._needsClustering.length-1;0<=e;e--)t.extend(this._needsClustering[e].getLatLng());return t.extend(this._nonPointGroup.getBounds()),t},eachLayer:function(t,e){var i,n,o,a=this._needsClustering.slice(),r=this._needsRemoving;for(this._topClusterLevel&&this._topClusterLevel.getAllChildMarkers(a),n=a.length-1;0<=n;n--){for(i=!0,o=r.length-1;0<=o;o--)if(r[o].layer===a[n]){i=!1;break}i&&t.call(e,a[n])}this._nonPointGroup.eachLayer(t,e)},getLayers:function(){var e=[];return this.eachLayer(function(t){e.push(t)}),e},getLayer:function(e){var i=null;return e=parseInt(e,10),this.eachLayer(function(t){L.stamp(t)===e&&(i=t)}),i},hasLayer:function(t){if(!t)return!1;for(var e=this._needsClustering,i=e.length-1;0<=i;i--)if(e[i]===t)return!0;for(i=(e=this._needsRemoving).length-1;0<=i;i--)if(e[i].layer===t)return!1;return!(!t.__parent||t.__parent._group!==this)||this._nonPointGroup.hasLayer(t)},zoomToShowLayer:function(t,e){"function"!=typeof e&&(e=function(){});var i=function(){!t._icon&&!t.__parent._icon||this._inZoomAnimation||(this._map.off("moveend",i,this),this.off("animationend",i,this),t._icon?e():t.__parent._icon&&(this.once("spiderfied",e,this),t.__parent.spiderfy()))};t._icon&&this._map.getBounds().contains(t.getLatLng())?e():t.__parent._zoom<Math.round(this._map._zoom)?(this._map.on("moveend",i,this),this._map.panTo(t.getLatLng())):(this._map.on("moveend",i,this),this.on("animationend",i,this),t.__parent.zoomToBounds())},onAdd:function(t){var e,i,n;if(this._map=t,!isFinite(this._map.getMaxZoom()))throw"Map has no maxZoom specified";for(this._featureGroup.addTo(t),this._nonPointGroup.addTo(t),this._gridClusters||this._generateInitialClusters(),this._maxLat=t.options.crs.projection.MAX_LATITUDE,e=0,i=this._needsRemoving.length;e<i;e++)(n=this._needsRemoving[e]).newlatlng=n.layer._latlng,n.layer._latlng=n.latlng;for(e=0,i=this._needsRemoving.length;e<i;e++)n=this._needsRemoving[e],this._removeLayer(n.layer,!0),n.layer._latlng=n.newlatlng;this._needsRemoving=[],this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds(),this._map.on("zoomend",this._zoomEnd,this),this._map.on("moveend",this._moveEnd,this),this._spiderfierOnAdd&&this._spiderfierOnAdd(),this._bindEvents(),i=this._needsClustering,this._needsClustering=[],this.addLayers(i,!0)},onRemove:function(t){t.off("zoomend",this._zoomEnd,this),t.off("moveend",this._moveEnd,this),this._unbindEvents(),this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim",""),this._spiderfierOnRemove&&this._spiderfierOnRemove(),delete this._maxLat,this._hideCoverage(),this._featureGroup.remove(),this._nonPointGroup.remove(),this._featureGroup.clearLayers(),this._map=null},getVisibleParent:function(t){for(var e=t;e&&!e._icon;)e=e.__parent;return e||null},_arraySplice:function(t,e){for(var i=t.length-1;0<=i;i--)if(t[i]===e)return t.splice(i,1),!0},_removeFromGridUnclustered:function(t,e){for(var i=this._map,n=this._gridUnclustered,o=Math.floor(this._map.getMinZoom());o<=e&&n[e].removeObject(t,i.project(t.getLatLng(),e));e--);},_childMarkerDragStart:function(t){t.target.__dragStart=t.target._latlng},_childMarkerMoved:function(t){var e;this._ignoreMove||t.target.__dragStart||(e=t.target._popup&&t.target._popup.isOpen(),this._moveChild(t.target,t.oldLatLng,t.latlng),e&&t.target.openPopup())}
1,_moveChild:function(t,e,i){t._latlng=e,this.removeLayer(t),t._latlng=i,this.addLayer(t)},_childMarkerDragEnd:function(t){t.target.__dragStart&&this._moveChild(t.target,t.target.__dragStart,t.target._latlng),delete t.target.__dragStart},_removeLayer:function(t,e,i){var n,o=this._gridClusters,a=this._gridUnclustered,r=this._featureGroup,s=this._map,l=Math.floor(this._map.getMinZoom()),c=(e&&this._removeFromGridUnclustered(t,this._maxZoom),t.__parent),u=c._markers;for(this._arraySplice(u,t);c&&(c._childCount--,c._boundsNeedUpdate=!0,!(c._zoom<l));)e&&c._childCount<=1?(n=c._markers[0]===t?c._markers[1]:c._markers[0],o[c._zoom].removeObject(c,s.project(c._cLatLng,c._zoom)),a[c._zoom].addObject(n,s.project(n.getLatLng(),c._zoom)),this._arraySplice(c.__parent._childClusters,c),c.__parent._markers.push(n),n.__parent=c.__parent,c._icon&&(r.removeLayer(c),i||r.addLayer(n))):c._iconNeedsUpdate=!0,c=c.__parent;delete t.__parent},_isOrIsParent:function(t,e){for(;e;){if(t===e)return!0;e=e.parentNode}return!1},fire:function(t,e,i){if(e&&e.layer instanceof L.MarkerCluster){if(e.originalEvent&&this._isOrIsParent(e.layer._icon,e.originalEvent.relatedTarget))return;t="cluster"+t}L.FeatureGroup.prototype.fire.call(this,t,e,i)},listens:function(t,e){return L.FeatureGroup.prototype.listens.call(this,t,e)||L.FeatureGroup.prototype.listens.call(this,"cluster"+t,e)},_defaultIconCreateFunction:function(t){var t=t.getChildCount(),e=" marker-cluster-";return e+=t<10?"small":t<100?"medium":"large",new L.DivIcon({html:"<div><span>"+t+"</span></div>",className:"marker-cluster"+e,iconSize:new L.Point(40,40)})},_bindEvents:function(){var t=this._map,e=this.options.spiderfyOnMaxZoom,i=this.options.showCoverageOnHover,n=this.options.zoomToBoundsOnClick;(e||n)&&this.on("clusterclick",this._zoomOrSpiderfy,this),i&&(this.on("clustermouseover",this._showCoverage,this),this.on("clustermouseout",this._hideCoverage,this),t.on("zoomend",this._hideCoverage,this))},_zoomOrSpiderfy:function(t){for(var e=t.layer,i=e;1===i._childClusters.length;)i=i._childClusters[0];i._zoom===this._maxZoom&&i._childCount===e._childCount&&this.options.spiderfyOnMaxZoom?e.spiderfy():this.options.zoomToBoundsOnClick&&e.zoomToBounds(),t.originalEvent&&13===t.originalEvent.keyCode&&this._map._container.focus()},_showCoverage:function(t){var e=this._map;this._inZoomAnimation||(this._shownPolygon&&e.removeLayer(this._shownPolygon),2<t.layer.getChildCount()&&t.layer!==this._spiderfied&&(this._shownPolygon=new L.Polygon(t.layer.getConvexHull(),this.options.polygonOptions),e.addLayer(this._shownPolygon)))},_hideCoverage:function(){this._shownPolygon&&(this._map.removeLayer(this._shownPolygon),this._shownPolygon=null)},_unbindEvents:function(){var t=this.options.spiderfyOnMaxZoom,e=this.options.showCoverageOnHover,i=this.options.zoomToBoundsOnClick,n=this._map;(t||i)&&this.off("clusterclick",this._zoomOrSpiderfy,this),e&&(this.off("clustermouseover",this._showCoverage,this),this.off("clustermouseout",this._hideCoverage,this),n.off("zoomend",this._hideCoverage,this))},_zoomEnd:function(){this._map&&(this._mergeSplitClusters(),this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds())},_moveEnd:function(){var t;this._inZoomAnimation||(t=this._getExpandedVisibleBounds(),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,t),this._topClusterLevel._recursivelyAddChildrenToMap(null,Math.round(this._map._zoom),t),this._currentShownBounds=t)},_generateInitialClusters:function(){var t=Math.ceil(this._map.getMaxZoom()),e=Math.floor(this._map.getMinZoom()),i=this.options.maxClusterRadius,n="function"!=typeof i?function(){return i}:i;null!==this.options.disableClusteringAtZoom&&(t=this.options.disableClusteringAtZoom-1),this._maxZoom=t,this._gridClusters={},this._gridUnclustered={};for(var o=t;e<=o;o--)this._gridClusters[o]=new L.DistanceGrid(n(o)),this._gridUnclustered[o]=new L.DistanceGrid(n(o));this._topClusterLevel=new this._markerCluster(this,e-1)},_addLayer:function(t,e){var i=this._gridClusters,n=this._gridUnclustered,o=Math.floor(this._map.getMinZoom());
1for(this.options.singleMarkerMode&&this._overrideMarkerIcon(t),t.on(this._childMarkerEventHandlers,this);o<=e;e--){var a=this._map.project(t.getLatLng(),e),r=i[e].getNearObject(a);if(r)return r._addChild(t),void(t.__parent=r);if(r=n[e].getNearObject(a)){for(var s=r.__parent,l=(s&&this._removeLayer(r,!1),new this._markerCluster(this,e,r,t)),c=(i[e].addObject(l,this._map.project(l._cLatLng,e)),r.__parent=l,t.__parent=l),u=e-1;u>s._zoom;u--)c=new this._markerCluster(this,u,c),i[u].addObject(c,this._map.project(r.getLatLng(),u));return s._addChild(c),void this._removeFromGridUnclustered(r,e)}n[e].addObject(t,a)}this._topClusterLevel._addChild(t),t.__parent=this._topClusterLevel},_refreshClustersIcons:function(){this._featureGroup.eachLayer(function(t){t instanceof L.MarkerCluster&&t._iconNeedsUpdate&&t._updateIcon()})},_enqueue:function(t){this._queue.push(t),this._queueTimeout||(this._queueTimeout=setTimeout(L.bind(this._processQueue,this),300))},_processQueue:function(){for(var t=0;t<this._queue.length;t++)this._queue[t].call(this);this._queue.length=0,clearTimeout(this._queueTimeout),this._queueTimeout=null},_mergeSplitClusters:function(){var t=Math.round(this._map._zoom);this._processQueue(),this._zoom<t&&this._currentShownBounds.intersects(this._getExpandedVisibleBounds())?(this._animationStart(),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,this._getExpandedVisibleBounds()),this._animationZoomIn(this._zoom,t)):this._zoom>t?(this._animationStart(),this._animationZoomOut(this._zoom,t)):this._moveEnd()},_getExpandedVisibleBounds:function(){return this.options.removeOutsideVisibleBounds?L.Browser.mobile?this._checkBoundsMaxLat(this._map.getBounds()):this._checkBoundsMaxLat(this._map.getBounds().pad(1)):this._mapBoundsInfinite},_checkBoundsMaxLat:function(t){var e=this._maxLat;return void 0!==e&&(t.getNorth()>=e&&(t._northEast.lat=1/0),t.getSouth()<=-e)&&(t._southWest.lat=-1/0),t},_animationAddLayerNonAnimated:function(t,e){e===t?this._featureGroup.addLayer(t):2===e._childCount?(e._addToMap(),t=e.getAllChildMarkers(),this._featureGroup.removeLayer(t[0]),this._featureGroup.removeLayer(t[1])):e._updateIcon()},_extractNonGroupLayers:function(t,e){var i,n=t.getLayers(),o=0;for(e=e||[];o<n.length;o++)(i=n[o])instanceof L.LayerGroup?this._extractNonGroupLayers(i,e):e.push(i);return e},_overrideMarkerIcon:function(t){return t.options.icon=this.options.iconCreateFunction({getChildCount:function(){return 1},getAllChildMarkers:function(){return[t]}})}}),L.MarkerClusterGroup.include({_mapBoundsInfinite:new L.LatLngBounds(new L.LatLng(-1/0,-1/0),new L.LatLng(1/0,1/0))}),L.MarkerClusterGroup.include({_noAnimation:{_animationStart:function(){},_animationZoomIn:function(t,e){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),t),this._topClusterLevel._recursivelyAddChildrenToMap(null,e,this._getExpandedVisibleBounds()),this.fire("animationend")},_animationZoomOut:function(t,e){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),t),this._topClusterLevel._recursivelyAddChildrenToMap(null,e,this._getExpandedVisibleBounds()),this.fire("animationend")},_animationAddLayer:function(t,e){this._animationAddLayerNonAnimated(t,e)}},_withAnimation:{_animationStart:function(){this._map._mapPane.className+=" leaflet-cluster-anim",this._inZoomAnimation++},_animationZoomIn:function(o,a){var r,s=this._getExpandedVisibleBounds(),l=this._featureGroup,t=Math.floor(this._map.getMinZoom());this._ignoreMove=!0,this._topClusterLevel._recursively(s,o,t,function(t){var e,i=t._latlng,n=t._markers;for(s.contains(i)||(i=null),t._isSingleParent()&&o+1===a?(l.removeLayer(t),t._recursivelyAddChildrenToMap(null,a,s)):(t.clusterHide(),t._recursivelyAddChildrenToMap(i,a,s)),r=n.length-1;0<=r;r--)e=n[r],s.contains(e._latlng)||l.removeLayer(e)}),this._forceLayout(),this._topClusterLevel._recursivelyBecomeVisible(s,a),l.eachLayer(function(t){t instanceof L.MarkerCluster||!t._icon||t.clusterShow()}),this._topClusterLevel._recursively(s,o,a,function(t){t._recursivelyRestoreChildPositions(a)}),this._ignoreMove=!1,this._enqueue(function(){this._topClusterLevel._recursively(s,o,t,function(t){l.removeLayer(t),t.clusterShow()}),this._animationEnd()})},_animationZoomOut:function(t,e){this._animationZoomOutSingle(this._topClusterLevel,t-1,e),this._topClusterLevel._recursivelyAddChildrenToMap(null,e,this._getExpandedVisibleBounds()),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),t,this._getExpandedVisibleBounds())},_animationAddLayer:function(t,e){var i=this,n=this._featureGroup;n.addLayer(t),e!==t&&(2<e._childCount?(e._updateIcon(),this._forceLayout(),this._animationStart(),t._setPos(this._map.latLngToLayerPoint(e.getLatLng())),t.clusterHide(),this._enqueue(function(){n.removeLayer(t),t.clusterShow(),i._animationEnd()})):(this._forceLayout(),i._animationStart(),i._animationZoomOutSingle(e,this._map.getMaxZoom(),this._zoom)))}},_animationZoomOutSingle:function(e,i,n){var o=this._getExpandedVisibleBounds(),a=Math.floor(this._map.getMinZoom()),r=(e._recursivelyAnimateChildrenInAndAddSelfToMap(o,a,i+1,n),this);this._forceLayout(),e._recursivelyBecomeVisible(o,n),this._enqueue(function(){var t;
11===e._childCount?(t=e._markers[0],this._ignoreMove=!0,t.setLatLng(t.getLatLng()),this._ignoreMove=!1,t.clusterShow&&t.clusterShow()):e._recursively(o,n,a,function(t){t._recursivelyRemoveChildrenFromMap(o,a,i+1)}),r._animationEnd()})},_animationEnd:function(){this._map&&(this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim","")),this._inZoomAnimation--,this.fire("animationend")},_forceLayout:function(){L.Util.falseFn(t.body.offsetWidth)}}),L.markerClusterGroup=function(t){return new L.MarkerClusterGroup(t)},L.MarkerCluster=L.Marker.extend({initialize:function(t,e,i,n){L.Marker.prototype.initialize.call(this,i?i._cLatLng||i.getLatLng():new L.LatLng(0,0),{icon:this,pane:t.options.clusterPane}),this._group=t,this._zoom=e,this._markers=[],this._childClusters=[],this._childCount=0,this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._bounds=new L.LatLngBounds,i&&this._addChild(i),n&&this._addChild(n)},getAllChildMarkers:function(t){t=t||[];for(var e=this._childClusters.length-1;0<=e;e--)this._childClusters[e].getAllChildMarkers(t);for(var i=this._markers.length-1;0<=i;i--)t.push(this._markers[i]);return t},getChildCount:function(){return this._childCount},zoomToBounds:function(t){for(var e=this._childClusters.slice(),i=this._group._map,n=i.getBoundsZoom(this._bounds),o=this._zoom+1,i=i.getZoom();0<e.length&&o<n;){o++;for(var a=[],r=0;r<e.length;r++)a=a.concat(e[r]._childClusters);e=a}
1o<n?this._group._map.setView(this._latlng,o):n<=i?this._group._map.setView(this._latlng,i+1):this._group._map.fitBounds(this._bounds,t)},getBounds:function(){var t=new L.LatLngBounds;return t.extend(this._bounds),t},_updateIcon:function(){this._iconNeedsUpdate=!0,this._icon&&this.setIcon(this)},createIcon:function(){return this._iconNeedsUpdate&&(this._iconObj=this._group.options.iconCreateFunction(this),this._iconNeedsUpdate=!1),this._iconObj.createIcon()},createShadow:function(){return this._iconObj.createShadow()},_addChild:function(t,e){this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._setClusterCenter(t),t instanceof L.MarkerCluster?(e||(this._childClusters.push(t),t.__parent=this),this._childCount+=t._childCount):(e||this._markers.push(t),this._childCount++),this.__parent&&this.__parent._addChild(t,!0)},_setClusterCenter:function(t){this._cLatLng||(this._cLatLng=t._cLatLng||t._latlng)},_resetBounds:function(){var t=this._bounds;t._southWest&&(t._southWest.lat=1/0,t._southWest.lng=1/0),t._northEast&&(t._northEast.lat=-1/0,t._northEast.lng=-1/0)},_recalculateBounds:function(){var t,e,i,n=this._markers,o=this._childClusters,a=0,r=0,s=this._childCount;if(0!==s){for(this._resetBounds(),t=0;t<n.length;t++)e=n[t]._latlng,this._bounds.extend(e),a+=e.lat,r+=e.lng;for(t=0;t<o.length;t++)(i=o[t])._boundsNeedUpdate&&i._recalculateBounds(),this._bounds.extend(i._bounds),e=i._wLatLng,i=i._childCount,a+=e.lat*i,r+=e.lng*i;this._latlng=this._wLatLng=new L.LatLng(a/s,r/s),this._boundsNeedUpdate=!1}},_addToMap:function(t){t&&(this._backupLatlng=this._latlng,this.setLatLng(t)),this._group._featureGroup.addLayer(this)},_recursivelyAnimateChildrenIn:function(t,o,e){this._recursively(t,this._group._map.getMinZoom(),e-1,function(t){for(var e,i=t._markers,n=i.length-1;0<=n;n--)(e=i[n])._icon&&(e._setPos(o),e.clusterHide())},function(t){for(var e,i=t._childClusters,n=i.length-1;0<=n;n--)(e=i[n])._icon&&(e._setPos(o),e.clusterHide())})},_recursivelyAnimateChildrenInAndAddSelfToMap:function(e,i,n,o){this._recursively(e,o,i,function(t){t._recursivelyAnimateChildrenIn(e,t._group._map.latLngToLayerPoint(t.getLatLng()).round(),n),t._isSingleParent()&&n-1===o?(t.clusterShow(),t._recursivelyRemoveChildrenFromMap(e,i,n)):t.clusterHide(),t._addToMap()})},_recursivelyBecomeVisible:function(t,e){this._recursively(t,this._group._map.getMinZoom(),e,null,function(t){t.clusterShow()})},_recursivelyAddChildrenToMap:function(n,o,a){this._recursively(a,this._group._map.getMinZoom()-1,o,function(t){if(o!==t._zoom)for(var e=t._markers.length-1;0<=e;e--){var i=t._markers[e];a.contains(i._latlng)&&(n&&(i._backupLatlng=i.getLatLng(),i.setLatLng(n),i.clusterHide)&&i.clusterHide(),t._group._featureGroup.addLayer(i))}},function(t){t._addToMap(n)})},_recursivelyRestoreChildPositions:function(t){for(var e=this._markers.length-1;0<=e;e--){var i=this._markers[e];i._backupLatlng&&(i.setLatLng(i._backupLatlng),delete i._backupLatlng)}if(t-1===this._zoom)for(var n=this._childClusters.length-1;0<=n;n--)this._childClusters[n]._restorePosition();else for(var o=this._childClusters.length-1;0<=o;o--)this._childClusters[o]._recursivelyRestoreChildPositions(t)},_restorePosition:function(){this._backupLatlng&&(this.setLatLng(this._backupLatlng),delete this._backupLatlng)},_recursivelyRemoveChildrenFromMap:function(t,e,i,n){var o,a;this._recursively(t,e-1,i-1,function(t){for(a=t._markers.length-1;0<=a;a--)o=t._markers[a],n&&n.contains(o._latlng)||(t._group._featureGroup.removeLayer(o),o.clusterShow&&o.clusterShow())},function(t){for(a=t._childClusters.length-1;0<=a;a--)o=t._childClusters[a],n&&n.contains(o._latlng)||(t._group._featureGroup.removeLayer(o),o.clusterShow&&o.clusterShow())})},_recursively:function(t,e,i,n,o){var a,r,s=this._childClusters,l=this._zoom;if(e<=l&&(n&&n(this),o)&&l===i&&o(this),l<e||l<i)for(a=s.length-1;0<=a;a--)r=s[a],t.intersects(r._bounds)&&r._recursively(t,e,i,n,o)},_isSingleParent:function(){return 0<this._childClusters.length&&this._childClusters[0]._childCount===this._childCount}}),L.Marker.include({clusterHide:function(){return this.options.opacityWhenUnclustered=this.options.opacity||1,this.setOpacity(0)},clusterShow:function(){var t=this.setOpacity(this.options.opacity||this.options.opacityWhenUnclustered);return delete this.options.opacityWhenUnclustered,t}}),L.DistanceGrid=function(t){this._cellSize=t,this._sqCellSize=t*t,this._grid={},this._objectPoint={}},L.DistanceGrid.prototype={addObject:function(t,e){var i=this._getCoord(e.x),n=this._getCoord(e.y),o=this._grid,o=o[n]=o[n]||{},n=o[i]=o[i]||[],o=L.Util.stamp(t);this._objectPoint[o]=e,n.push(t)},updateObject:function(t,e){this.removeObject(t),this.addObject(t,e)},removeObject:function(t,e){var i,n,o=this._getCoord(e.x),e=this._getCoord(e.y),a=this._grid,r=a[e]=a[e]||{},s=r[o]=r[o]||[];for(delete this._objectPoint[L.Util.stamp(t)],i=0,n=s.length;i<n;i++)if(s[i]===t)return s.splice(i,1),1===n&&delete r[o],!0},eachObject:function(t,e){var i,n,o,a,r,s,l=this._grid;for(i in l)for(n in r=l[i])for(o=0,a=(s=r[n]).length;o<a;o++)t.call(e,s[o])&&(o--,a--)},getNearObject:function(t){for(var e,i,n,o,a,r,s,l=this._getCoord(t.x),c=this._getCoord(t.y),u=this._objectPoint,d=this._sqCellSize,h=null,p=c-1;p<=c+1;p++)if(n=this._grid[p])for(e=l-1;e<=l+1;e++)if(o=n[e])for(i=0,a=o.length;i<a;i++)r=o[i],(s=this._sqDist(u[L.Util.stamp(r)],t))<d&&(d=s,h=r);return h},_getCoord:function(t){return Math.floor(t/this._cellSize)},_sqDist:function(t,e){var i=e.x-t.x,e=e.y-t.y;return i*i+e*e}},L.QuickHull={getDistant:function(t,e){var i=e[1].lat-e[0].lat;return(e[0].lng-e[1].lng)*(t.lat-e[0].lat)+i*(t.lng-e[0].lng)},findMostDistantPointFromBaseLine:function(t,e){for(var i,n,o=0,a=null,r=[],s=e.length-1;0<=s;s--)i=e[s],0<(n=this.getDistant(i,t))&&(r.push(i),o<n)&&(o=n,a=i);return{maxPoint:a,newPoints:r}},buildConvexHull:function(t,e){var i=[],e=this.findMostDistantPointFromBaseLine(t,e);return e.maxPoint?(i=i.concat(this.buildConvexHull([t[0],e.maxPoint],e.newPoints))).concat(this.buildConvexHull([e.maxPoint,t[1]],e.newPoints)):[t[0]]},getConvexHull:function(t){for(var e=!1,i=!1,n=!1,o=!1,a=null,r=null,s=null,l=null,c=null,u=null,d=t.length-1;0<=d;d--){var h=t[d];(!1===e||h.lat>e)&&(e=(a=h).lat),(!1===i||h.lat<i)&&(i=(r=h).lat),(!1===n||h.lng>n)&&(n=(s=h).lng),(!1===o||h.lng<o)&&(o=(l=h).lng)}
1c=i!==e?(u=r,a):(u=l,s);return[].concat(this.buildConvexHull([u,c],t),this.buildConvexHull([c,u],t))}},L.MarkerCluster.include({getConvexHull:function(){for(var t,e=this.getAllChildMarkers(),i=[],n=e.length-1;0<=n;n--)t=e[n].getLatLng(),i.push(t);return L.QuickHull.getConvexHull(i)}}),L.MarkerCluster.include({_2PI:2*Math.PI,_circleFootSeparation:25,_circleStartAngle:Math.PI/6,_spiralFootSeparation:28,_spiralLengthStart:11,_spiralLengthFactor:5,_circleSpiralSwitchover:9,spiderfy:function(){var t,e;this._group._spiderfied===this||this._group._inZoomAnimation||(t=this.getAllChildMarkers(),e=this._group._map.latLngToLayerPoint(this._latlng),this._group._unspiderfy(),this._group._spiderfied=this,e=t.length>=this._circleSpiralSwitchover?this._generatePointsSpiral(t.length,e):(e.y+=10,this._generatePointsCircle(t.length,e)),this._animationSpiderfy(t,e))},unspiderfy:function(t){this._group._inZoomAnimation||(this._animationUnspiderfy(t),this._group._spiderfied=null)},_generatePointsCircle:function(t,e){for(var i,n=this._group.options.spiderfyDistanceMultiplier*this._circleFootSeparation*(2+t)/this._2PI,o=this._2PI/t,a=[],r=(a.length=t)-1;0<=r;r--)i=this._circleStartAngle+r*o,a[r]=new L.Point(e.x+n*Math.cos(i),e.y+n*Math.sin(i))._round();return a},_generatePointsSpiral:function(t,e){for(var i=this._group.options.spiderfyDistanceMultiplier,n=i*this._spiralLengthStart,o=i*this._spiralFootSeparation,a=i*this._spiralLengthFactor*this._2PI,r=0,s=[],l=(s.length=t)-1;0<=l;l--)r+=o/n+5e-4*l,s[l]=new L.Point(e.x+n*Math.cos(r),e.y+n*Math.sin(r))._round(),n+=a/r;return s},_noanimationUnspiderfy:function(){var t,e,i=this._group,n=i._map,o=i._featureGroup,a=this.getAllChildMarkers();for(i._ignoreMove=!0,this.setOpacity(1),e=a.length-1;0<=e;e--)t=a[e],o.removeLayer(t),t._preSpiderfyLatlng&&(t.setLatLng(t._preSpiderfyLatlng),delete t._preSpiderfyLatlng),t.setZIndexOffset&&t.setZIndexOffset(0),t._spiderLeg&&(n.removeLayer(t._spiderLeg),delete t._spiderLeg);i.fire("unspiderfied",{cluster:this,markers:a}),i._ignoreMove=!1,i._spiderfied=null}}),L.MarkerClusterNonAnimated=L.MarkerCluster.extend({_animationSpiderfy:function(t,e){var i,n,o,a,r=this._group,s=r._map,l=r._featureGroup,c=this._group.options.spiderLegPolylineOptions;for(r._ignoreMove=!0,i=0;i<t.length;i++)a=s.layerPointToLatLng(e[i]),n=t[i],o=new L.Polyline([this._latlng,a],c),s.addLayer(o),n._spiderLeg=o,n._preSpiderfyLatlng=n._latlng,n.setLatLng(a),n.setZIndexOffset&&n.setZIndexOffset(1e6),l.addLayer(n);this.setOpacity(.3),r._ignoreMove=!1,r.fire("spiderfied",{cluster:this,markers:t})},_animationUnspiderfy:function(){this._noanimationUnspiderfy()}}),L.MarkerCluster.include({_animationSpiderfy:function(t,e){var i,n,o,a,r,s,l=this,c=this._group,u=c._map,d=c._featureGroup,h=this._latlng,p=u.latLngToLayerPoint(h),f=L.Path.SVG,m=L.extend({},this._group.options.spiderLegPolylineOptions),g=m.opacity;for(void 0===g&&(g=L.MarkerClusterGroup.prototype.options.spiderLegPolylineOptions.opacity),f?(m.opacity=0,m.className=(m.className||"")+" leaflet-cluster-spider-leg"):m.opacity=g,c._ignoreMove=!0,i=0;i<t.length;i++)n=t[i],s=u.layerPointToLatLng(e[i]),o=new L.Polyline([h,s],m),u.addLayer(o),n._spiderLeg=o,f&&(r=(a=o._path).getTotalLength()+.1,a.style.strokeDasharray=r,a.style.strokeDashoffset=r),n.setZIndexOffset&&n.setZIndexOffset(1e6),n.clusterHide&&n.clusterHide(),d.addLayer(n),n._setPos&&n._setPos(p);for(c._forceLayout(),c._animationStart(),i=t.length-1;0<=i;i--)s=u.layerPointToLatLng(e[i]),(n=t[i])._preSpiderfyLatlng=n._latlng,n.setLatLng(s),n.clusterShow&&n.clusterShow(),f&&((a=(o=n._spiderLeg)._path).style.strokeDashoffset=0,o.setStyle({opacity:g}));this.setOpacity(.3),c._ignoreMove=!1,setTimeout(function(){c._animationEnd(),c.fire("spiderfied",{cluster:l,markers:t})},200)},_animationUnspiderfy:function(t){var e,i,n,o,a,r=this,s=this._group,l=s._map,c=s._featureGroup,u=t?l._latLngToNewLayerPoint(this._latlng,t.zoom,t.center):l.latLngToLayerPoint(this._latlng),d=this.getAllChildMarkers(),h=L.Path.SVG;for(s._ignoreMove=!0,s._animationStart(),this.setOpacity(1),i=d.length-1;0<=i;i--)(e=d[i])._preSpiderfyLatlng&&(e.closePopup(),e.setLatLng(e._preSpiderfyLatlng),delete e._preSpiderfyLatlng,a=!0,e._setPos&&(e._setPos(u),a=!1),e.clusterHide&&(e.clusterHide(),a=!1),a&&c.removeLayer(e),h)&&(o=(n=(a=e._spiderLeg)._path).getTotalLength()+.1,n.style.strokeDashoffset=o,a.setStyle({opacity:0}
1));s._ignoreMove=!1,setTimeout(function(){var t=0;for(i=d.length-1;0<=i;i--)(e=d[i])._spiderLeg&&t++;for(i=d.length-1;0<=i;i--)(e=d[i])._spiderLeg&&(e.clusterShow&&e.clusterShow(),e.setZIndexOffset&&e.setZIndexOffset(0),1<t&&c.removeLayer(e),l.removeLayer(e._spiderLeg),delete e._spiderLeg);s._animationEnd(),s.fire("unspiderfied",{cluster:r,markers:d})},200)}}),L.MarkerClusterGroup.include({_spiderfied:null,unspiderfy:function(){this._unspiderfy.apply(this,arguments)},_spiderfierOnAdd:function(){this._map.on("click",this._unspiderfyWrapper,this),this._map.options.zoomAnimation&&this._map.on("zoomstart",this._unspiderfyZoomStart,this),this._map.on("zoomend",this._noanimationUnspiderfy,this),L.Browser.touch||this._map.getRenderer(this)},_spiderfierOnRemove:function(){this._map.off("click",this._unspiderfyWrapper,this),this._map.off("zoomstart",this._unspiderfyZoomStart,this),this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._map.off("zoomend",this._noanimationUnspiderfy,this),this._noanimationUnspiderfy()},_unspiderfyZoomStart:function(){this._map&&this._map.on("zoomanim",this._unspiderfyZoomAnim,this)},_unspiderfyZoomAnim:function(t){L.DomUtil.hasClass(this._map._mapPane,"leaflet-touching")||(this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._unspiderfy(t))},_unspiderfyWrapper:function(){this._unspiderfy()},_unspiderfy:function(t){this._spiderfied&&this._spiderfied.unspiderfy(t)},_noanimationUnspiderfy:function(){this._spiderfied&&this._spiderfied._noanimationUnspiderfy()},_unspiderfyLayer:function(t){t._spiderLeg&&(this._featureGroup.removeLayer(t),t.clusterShow&&t.clusterShow(),t.setZIndexOffset&&t.setZIndexOffset(0),this._map.removeLayer(t._spiderLeg),delete t._spiderLeg)}}),L.MarkerClusterGroup.include({refreshClusters:function(t){return t?t instanceof L.MarkerClusterGroup?t=t._topClusterLevel.getAllChildMarkers():t instanceof L.LayerGroup?t=t._layers:t instanceof L.MarkerCluster?t=t.getAllChildMarkers():t instanceof L.Marker&&(t=[t]):t=this._topClusterLevel.getAllChildMarkers(),this._flagParentsIconsNeedUpdate(t),this._refreshClustersIcons(),this.options.singleMarkerMode&&this._refreshSingleMarkerModeMarkers(t),this},_flagParentsIconsNeedUpdate:function(t){var e,i;for(e in t)for(i=t[e].__parent;i;)i._iconNeedsUpdate=!0,i=i.__parent},_refreshSingleMarkerModeMarkers:function(t){var e,i;for(e in t)i=t[e],this.hasLayer(i)&&i.setIcon(this._overrideMarkerIcon(i))}}),L.Marker.include({refreshIconOptions:function(t,e){var i=this.options.icon;return L.setOptions(i,t),this.setIcon(i),e&&this.__parent&&this.__parent._group.refreshClusters(this),this}})})((window,document)),((t,e)=>{"function"==typeof define&&define.amd?define(["leaflet","mapbox-gl"],e):"object"==typeof exports?module.exports=e(require("leaflet"),require("mapbox-gl")):t.returnExports=e(window.L,window.mapboxgl)})(this,function(l,c){l.MapboxGL=l.Layer.extend({options:{updateInterval:32},initialize:function(t){if(l.setOptions(this,t),!t.accessToken)throw new Error("You should provide a Mapbox GL access token as a token option.");c.accessToken=t.accessToken;var e,i,n,o,a,r,s;this._throttledUpdate=(e=l.Util.bind(this._update,this),i=this.options.updateInterval,r=function(){o=!1,a&&(s.apply(n,a),a=!1)},s=function(){o?a=arguments:(e.apply(n,arguments),setTimeout(r,i),o=!0)})},onAdd:function(t){this._glContainer||this._initContainer(),this.getPane().appendChild(this._glContainer),this._initGL(),this._offset=this._map.containerPointToLayerPoint([0,0]),t.options.zoomAnimation&&l.DomEvent.on(t._proxy,l.DomUtil.TRANSITION_END,this._transitionEnd,this)},onRemove:function(t){this._map.options.zoomAnimation&&l.DomEvent.off(this._map._proxy,l.DomUtil.TRANSITION_END,this._transitionEnd,this),this.getPane().removeChild(this._glContainer),this._glMap.remove(),this._glMap=null},getEvents:function(){return{move:this._throttledUpdate,zoomanim:this._animateZoom,zoom:this._pinchZoom,zoomstart:this._zoomStart,zoomend:this._zoomEnd}},_initContainer:function(){var t=this._glContainer=l.DomUtil.create("div","leaflet-gl-layer"),e=this._map.getSize();t.style.width=e.x+"px",t.style.height=e.y+"px"},_initGL:function(){var t=this._map.getCenter(),t=l.extend({},this.options,{container:this._glContainer,interactive:!1,center:[t.lng,t.lat],zoom:this._map.getZoom()-1,attributionControl:!1});this._glMap=new c.Map(t),this._glMap.transform.latRange=null,this._glMap._canvas.canvas?this._glMap._actualCanvas=this._glMap._canvas.canvas:this._glMap._actualCanvas=this._glMap._canvas,l.DomUtil.addClass(this._glMap._actualCanvas,"leaflet-image-layer"),l.DomUtil.addClass(this._glMap._actualCanvas,"leaflet-zoom-animated")},_update:function(t){var e,i,n,o,a;this._offset=this._map.containerPointToLayerPoint([0,0]),this._zooming||(e=this._map.getSize(),i=this._glContainer,n=this._glMap,o=this._map.containerPointToLayerPoint([0,0]),l.DomUtil.setPosition(i,o),o=this._map.getCenter(),(a=n.transform).center=c.LngLat.convert([o.lng,o.lat]),a.zoom=this._map.getZoom()-1,n.transform.width!==e.x||n.transform.height!==e.
1y?(i.style.width=e.x+"px",i.style.height=e.y+"px",null!=n._resize?n._resize():n.resize()):null!=n._update?n._update():n.update())},_pinchZoom:function(t){this._glMap.jumpTo({zoom:this._map.getZoom()-1,center:this._map.getCenter()})},_animateZoom:function(t){var e=this._map.getZoomScale(t.zoom),t=this._map._latLngToNewLayerPoint(this._map.getBounds().getNorthWest(),t.zoom,t.center);l.DomUtil.setTransform(this._glMap._actualCanvas,t.subtract(this._offset),e)},_zoomStart:function(t){this._zooming=!0},_zoomEnd:function(){var t=this._map.getZoomScale(this._map.getZoom()),e=this._map._latLngToNewLayerPoint(this._map.getBounds().getNorthWest(),this._map.getZoom(),this._map.getCenter());l.DomUtil.setTransform(this._glMap._actualCanvas,e.subtract(this._offset),t),this._zooming=!1},_transitionEnd:function(t){l.Util.requestAnimFrame(function(){var t=this._map.getZoom(),e=this._map.getCenter(),i=this._map.latLngToContainerPoint(this._map.getBounds().getNorthWest());l.DomUtil.setTransform(this._glMap._actualCanvas,i,1),this._glMap.once("moveend",l.Util.bind(function(){this._zoomEnd()},this)),this._glMap.jumpTo({center:e,zoom:t-1})},this)}}),l.mapboxGL=function(t){return new l.MapboxGL(t)}}),((t,e)=>{"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?e(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],e):e(t.moment)})(this,function(t){return t.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"d_l_m_m_j_v_s".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}),!function(t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).omnivore=t()}(function(){return function n(o,a,r){function s(i,t){if(!a[i]){if(!o[i]){var e="function"==typeof require&&require;if(!t&&e)return e(i,!0);if(l)return l(i,!0);t=new Error("Cannot find module '"+i+"'");throw t.code="MODULE_NOT_FOUND",t}e=a[i]={exports:{}};o[i][0].call(e.exports,function(t){var e=o[i][1][t];return s(e||t)},e,e.exports,n,o,a,r)}return a[i].exports}for(var l="function"==typeof require&&require,t=0;t<r.length;t++)s(r[t]);return s}({1:[function(t,e,i){var r=t("corslite"),n=t("csv2geojson"),o=t("wellknown"),s=t("polyline"),l=t("topojson"),a=t("togeojson");function c(t,e){"setGeoJSON"in t?t.setGeoJSON(e):"addData"in t&&t.addData(e)}function u(t,e,i){var n,o="string"==typeof t?JSON.parse(t):t;for(n in i=i||L.geoJson(),o.objects){var a=l.feature(o,o.objects[n]);a.features?c(i,a.features):c(i,a)}return i}function d(t,e,i){return i=i||L.geoJson(),n.csv2geojson(t,e=e||{},function(t,e){if(t)return i.fire("error",{error:t});c(i,e)}),i}function h(t,e,i){t=g(t);return t?(c(i=i||L.geoJson(),a.gpx(t)),i):i.fire("error",{error:"Could not parse GPX"})}function p(t,e,i){t=g(t);return t?(c(i=i||L.geoJson(),a.kml(t)),i):i.fire("error",{error:"Could not parse KML"})}function f(t,e,i){i=i||L.geoJson();for(var n=s.decode(t,(e=e||{}).precision),o={type:"LineString",coordinates:[]},a=0;a<n.length;a++)o.coordinates[a]=[n[a][1],n[a][0]];return c(i,o),i}function m(t,e,i){return c(i=i||L.geoJson(),o(t)),i}function g(t){return"string"==typeof t?(new DOMParser).parseFromString(t,"text/xml"):t}e.exports.polyline=function(t,i,e){var n=e||L.geoJson();return r(t,function(t,e){if(t)return n.fire("error",{error:t});f(e.responseText,i,n),n.fire("ready")}),n}
1,e.exports.polyline.parse=f,e.exports.geojson=function(t,e,i){var n=i||L.geoJson();return r(t,function(t,e){if(t)return n.fire("error",{error:t});c(n,JSON.parse(e.responseText)),n.fire("ready")}),n},e.exports.topojson=function(t,e,i){var n=i||L.geoJson();return r(t,function(t,e){if(t)return n.fire("error",{error:t});u(e.responseText,0,n),n.fire("ready")}),n},e.exports.topojson.parse=u,e.exports.csv=function(t,o,e){var a=e||L.geoJson();return r(t,function(t,e){var i;if(t)return a.fire("error",{error:t});function n(){i=!0}a.on("error",n),d(e.responseText,o,a),a.off("error",n),i||a.fire("ready")}),a},e.exports.csv.parse=d,e.exports.gpx=function(t,e,i){var o=i||L.geoJson();return r(t,function(t,e){var i;if(t)return o.fire("error",{error:t});function n(){i=!0}o.on("error",n),h(e.responseXML||e.responseText,0,o),o.off("error",n),i||o.fire("ready")}),o},e.exports.gpx.parse=h,e.exports.kml=function(t,e,i){var o=i||L.geoJson();return r(t,function(t,e){var i;if(t)return o.fire("error",{error:t});function n(){i=!0}o.on("error",n),p(e.responseXML||e.responseText,0,o),o.off("error",n),i||o.fire("ready")}),o},e.exports.kml.parse=p,e.exports.wkt=function(t,e,i){var n=i||L.geoJson();return r(t,function(t,e){if(t)return n.fire("error",{error:t});m(e.responseText,0,n),n.fire("ready")}),n},e.exports.wkt.parse=m},{corslite:4,csv2geojson:5,polyline:8,togeojson:9,topojson:10,wellknown:11}],2:[function(t,e,i){},{}],3:[function(t,e,i){var n,o,e=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}try{n="function"==typeof setTimeout?setTimeout:a}catch(t){n=a}try{o="function"==typeof clearTimeout?clearTimeout:r}catch(t){o=r}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return(n=setTimeout)(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}var l,c=[],u=!1,d=-1;function h(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length)&&p()}function p(){if(!u){for(var t=s(h),e=(u=!0,c.length);e;){for(l=c,c=[];++d<e;)l&&l[d].run();d=-1,e=c.length}l=null,u=!1,!function(e){if(o===clearTimeout)return clearTimeout(e);if((o===r||!o)&&clearTimeout)return(o=clearTimeout)(e);try{o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(t)}}function f(t,e){this.fun=t,this.array=e}function m(){}e.nextTick=function(t){var e=new Array(arguments.length-1);if(1<arguments.length)for(var i=1;i<arguments.length;i++)e[i-1]=arguments[i];c.push(new f(t,e)),1!==c.length||u||s(p)},f.prototype.run=function(){this.fun.apply(null,this.array)},e.title="browser",e.browser=!0,e.env={},e.argv=[],e.version="",e.versions={},e.on=m,e.addListener=m,e.once=m,e.off=m,e.removeListener=m,e.removeAllListeners=m,e.emit=m,e.binding=function(t){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(t){throw new Error("process.chdir is not supported")},e.umask=function(){return 0}},{}],4:[function(t,e,i){function n(t,e,i){var n,o=!1;if(void 0===window.XMLHttpRequest)return e(Error("Browser not supported"));void 0===i&&(i=(n=t.match(/^\s*https?:\/\/[^\/]*/))&&n[0]!==location.protocol+"//"+location.hostname+(location.port?":"+location.port:""));var a,r=new window.XMLHttpRequest;function s(){var t;void 0===r.status||200<=(t=r.status)&&t<300||304===t?e.call(r,null,r):e.call(r,r,null)}return!i||"withCredentials"in r||(r=new window.XDomainRequest,a=e,e=function(){var t,e;o?a.apply(this,arguments):(t=this,e=arguments,setTimeout(function(){a.apply(t,e)},0))}),"onload"in r?r.onload=s:r.onreadystatechange=function(){4===r.readyState&&s()},r.onerror=function(t){e.call(this,t||!0,null),e=function(){}},r.onprogress=function(){},r.ontimeout=function(t){e.call(this,t,null),e=function(){}},r.onabort=function(t){e.call(this,t,null),e=function(){}},r.open("GET",t,!0),r.send(null),o=!0,r}void 0!==e&&(e.exports=n)},{}],5:[function(t,e,i){var f=t("d3-dsv"),m=t("sexagesimal"),n=/(Lat)(itude)?/gi,o=/(L)(on|ng)(gitude)?/i;function a(t,e){var i,n,o,a;for(a in t)(n=a.match(e))&&(!i||n[0].length/a.length>
1o)&&(o=n[0].length/a.length,i=a);return i}function g(t){return a(t,n)}function v(t){return a(t,o)}function r(t){return"object"==typeof t?Object.keys(t).length:0}function y(o){var a=[];return[",",";","\t","|"].forEach(function(t){var e=f.dsvFormat(t).parse(o);if(1<=e.length){for(var i=r(e[0]),n=0;n<e.length;n++)if(r(e[n])!==i)return;a.push({delimiter:t,arity:Object.keys(e[0]).length})}}),a.length?a.sort(function(t,e){return e.arity-t.arity})[0].delimiter:null}e.exports={isLon:function(t){return!!t.match(o)},isLat:function(t){return!!t.match(n)},guessLatHeader:g,guessLonHeader:v,csv:f.csvParse,tsv:f.tsvParse,dsv:f,auto:function(t){var e=y(t);return e?(delete(e=f.dsvFormat(e).parse(t)).columns,e):null},csv2geojson:function(t,e,i){i||(i=e,e={}),e.delimiter=e.delimiter||",";var n=e.latfield||"",o=e.lonfield||"",a=e.crs||"",r=[],s={type:"FeatureCollection",features:r};if(""!==a&&(s.crs={type:"name",properties:{name:a}}),"auto"!==e.delimiter||"string"!=typeof t||(e.delimiter=y(t),e.delimiter)){var l="string"==typeof t?f.dsvFormat(e.delimiter).parse(t):t;if(l.length){var c,u,d,h,p=[],n=n||g(l[0]),o=o||v(l[0]);if(!n||!o)for(c=0;c<l.length;c++)r.push({type:"Feature",properties:l[c],geometry:null});else for(c=0;c<l.length;c++)void 0!==l[c][o]&&void 0!==l[c][n]&&(d=l[c][o],u=l[c][n],(h=m(d,"EW"))&&(d=h),(h=m(u,"NS"))&&(u=h),h=parseFloat(d),d=parseFloat(u),isNaN(h)||isNaN(d)?p.push({message:"A row contained an invalid value for latitude or longitude",row:l[c],index:c}):(e.includeLatLon||(delete l[c][o],delete l[c][n]),r.push({type:"Feature",properties:l[c],geometry:{type:"Point",coordinates:[parseFloat(h),parseFloat(d)]}})));i(p.length?p:null,s)}else i(null,s)}else i({type:"Error",message:"Could not autodetect delimiter"})},toLine:function(t){for(var e=t.features,i={type:"Feature",geometry:{type:"LineString",coordinates:[]}},n=0;n<e.length;n++)i.geometry.coordinates.push(e[n].geometry.coordinates);return i.properties=e.reduce(function(t,e){for(var i in e.properties)t[i]||(t[i]=[]),t[i].push(e.properties[i]);return t},{}),{type:"FeatureCollection",features:[i]}},toPolygon:function(t){for(var e=t.features,i={type:"Feature",geometry:{type:"Polygon",coordinates:[[]]}},n=0;n<e.length;n++)i.geometry.coordinates[0].push(e[n].geometry.coordinates);return i.properties=e.reduce(function(t,e){for(var i in e.properties)t[i]||(t[i]=[]),t[i].push(e.properties[i]);return t},{}),{type:"FeatureCollection",features:[i]}}}},{"d3-dsv":6,sexagesimal:7}],6:[function(t,e,i){var n;n=this,function(t){function l(t){return new Function("d","return {"+t.map(function(t,e){return JSON.stringify(t)+": d["+e+"]"}).join(",")+"}")}function e(a){var e=new RegExp('["'+a+"\n]"),h=a.charCodeAt(0);function i(o,t){var e,a,r={},s={},i=[],l=o.length,c=0,n=0;function u(){if(l<=c)return s;if(a)return a=!1,r;var t=c;if(34===o.charCodeAt(t)){for(var e=t;e++<l;)if(34===o.charCodeAt(e)){if(34!==o.charCodeAt(e+1))break;++e}return c=e+2,13===(i=o.charCodeAt(e+1))?(a=!0,10===o.charCodeAt(e+2)&&++c):10===i&&(a=!0),o.slice(t+1,e).replace(/""/g,'"')}for(;c<l;){var i,n=1;if(10===(i=o.charCodeAt(c++)))a=!0;else if(13===i)a=!0,10===o.charCodeAt(c)&&(++c,++n);else if(i!==h)continue;return o.slice(t,c-n)}return o.slice(t)}for(;(e=u())!==s;){for(var d=[];e!==r&&e!==s;)d.push(e),e=u();t&&null==(d=t(d,n++))||i.push(d)}return i}function n(t){return t.map(r).join(a)}function r(t){return null==t?"":e.test(t+="")?'"'+t.replace(/\"/g,'""')+'"':t}return{parse:function(t,a){var r,s;return(t=i(t,function(t,e){if(r)return r(t,e-1);var i,n,o;s=t,r=a?(n=a,o=l(i=t),function(t,e){return n(o(t),e,i)}):l(t)})).columns=s,t},parseRows:i,format:function(t,i){var e,n,o;return null==i&&(e=t,n=Object.create(null),o=[],e.forEach(function(t){for(var e in t)e in n||o.push(n[e]=e)}),i=o),[i.map(r).join(a)].concat(t.map(function(e){return i.map(function(t){return r(e[t])}).join(a)})).join("\n")},formatRows:function(t){return t.map(n).join("\n")}}}var i=e(","),n=i.parse,o=i.parseRows,a=i.format,i=i.formatRows,r=e("\t"),s=r.parse,c=r.parseRows,u=r.format,r=r.formatRows;t.dsvFormat=e,t.csvParse=n,t.csvParseRows=o,t.csvFormat=a,t.csvFormatRows=i,t.tsvParse=s,t.tsvParseRows=c,t.tsvFormat=u,t.tsvFormatRows=r,Object.defineProperty(t,"__esMo
1dule",{value:!0})}("object"==typeof i&&void 0!==e?i:n.d3=n.d3||{})},{}],7:[function(t,e,i){function n(t,e){t=o(t,e);return t.whole+"° "+(t.minutes?t.minutes+"' ":"")+(t.seconds?t.seconds+'" ':"")+t.dir}function o(t,e){var e=({lat:["N","S"],lon:["E","W"]}[e]||"")[0<=t?0:1],t=Math.abs(t),i=Math.floor(t),t=60*(t-i),n=Math.floor(t);return{whole:i,minutes:n,seconds:Math.floor(60*(t-n)),dir:e}}function a(t,e,i){return e=e||"NSEW","string"!=typeof t||!(t=(i=i||/[\s\,]*([\-|\—|\―]?[0-9.]+)°? *(?:([0-9.]+)['’′‘] *)?(?:([0-9.]+)(?:''|"|”|″) *)?([NSEW])?/gi).exec(t))||t[4]&&-1===e.indexOf(t[4])?{val:null,regex:i}:{val:((t[1]?parseFloat(t[1]):0)+(t[2]?parseFloat(t[2])/60:0)+(t[3]?parseFloat(t[3])/3600:0))*(t[4]&&"S"===t[4]||"W"===t[4]?-1:1),regex:i,raw:t[0],dim:t[4]}}e.exports=function(t,e){return a(t,e).val},e.exports.pair=function(t,e){var i=a(t=t.trim(),e);if(null===i.val)return null;e=a(t,e,i.regex);if(null===e.val)return null;if(i.raw+e.raw!==t)return null;return i.dim?((t,e,i)=>"N"===i||"S"===i?[t,e]:"W"===i||"E"===i?[e,t]:void 0)(i.val,e.val,i.dim):[i.val,e.val]},e.exports.format=n,e.exports.formatPair=function(t){return n(t.lat,"lat")+" "+n(t.lon,"lon")},e.exports.coordToDMS=o},{}],8:[function(t,e,i){var n={};function s(t,e){t=Math.round(t*e),(t<<=1)<0&&(t=~t);for(var i="";32<=t;)i+=String.fromCharCode(63+(32|31&t)),t>>=5;return i+=String.fromCharCode(t+63)}function o(t){for(var e=[],i=0;i<t.length;i++)e.push(t[i].slice().reverse());return e}n.decode=function(t,e){for(var i,n=0,o=0,a=0,r=[],s=0,l=0,c=null,u=Math.pow(10,e||5);n<t.length;){for(c=null,l=s=0;l|=(31&(c=t.charCodeAt(n++)-63))<<s,s+=5,32<=c;);for(i=1&l?~(l>>1):l>>1,s=l=0;l|=(31&(c=t.charCodeAt(n++)-63))<<s,s+=5,32<=c;);r.push([(o+=i)/u,(a+=1&l?~(l>>1):l>>1)/u])}return r},n.encode=function(t,e){if(!t.length)return"";for(var i=Math.pow(10,e||5),n=s(t[0][0],i)+s(t[0][1],i),o=1;o<t.length;o++)var a=t[o],r=t[o-1],n=(n+=s(a[0]-r[0],i))+s(a[1]-r[1],i);return n},n.fromGeoJSON=function(t,e){if((t=t&&"Feature"===t.type?t.geometry:t)&&"LineString"===t.type)return n.encode(o(t.coordinates),e);throw new Error("Input must be a GeoJSON LineString")},n.toGeoJSON=function(t,e){return{type:"LineString",coordinates:o(n.decode(t,e))}},"object"==typeof e&&e.exports&&(e.exports=n)},{}],9:[function(n,s,p){!function(t){i=/\s*/g,o=/^\s*|\s*$/g,a=/\s+/,"undefined"!=typeof XMLSerializer?e=new XMLSerializer:"object"!=typeof p||"object"!=typeof t||t.browser||(e=new(n("xmldom").XMLSerializer));var e,i,o,a,t={kml:function(t){for(var e=h(),p={},f=["Polygon","LineString","Point","Track","gx:Track"],i=v(t,"Placemark"),n=v(t,"Style"),o=v(t,"StyleMap"),a=0;a<n.length;a++)p["#"+y(n[a],"id")]=l(u(n[a])).toString(16);for(var r=0;r<o.length;r++)p["#"+y(o[r],"id")]=l(u(o[r])).toString(16);for(var s=0;s<i.length;s++)e.features=e.features.concat((t=>{var e,i=function t(e){var i,n,o,a,r=[],s=[];if(_(e,"MultiGeometry"))return t(_(e,"MultiGeometry"));if(_(e,"MultiTrack"))return t(_(e,"MultiTrack"));if(_(e,"gx:MultiTrack"))return t(_(e,"gx:MultiTrack"));for(n=0;n<f.length;n++)if(i=v(e,f[n]))for(o=0;o<i.length;o++)if(u=i[o],"Point"===f[n])r.push({type:"Point",coordinates:w(b(_(u,"coordinates")))});else if("LineString"===f[n])r.push({type:"LineString",coordinates:k(b(_(u,"coordinates")))});else if("Polygon"===f[n]){var l=v(u,"LinearRing"),c=[];for(a=0;a<l.length;a++)c.push(k(b(_(l[a],"coordinates"))));r.push({type:"Polygon",coordinates:c})}else{var u;"Track"!==f[n]&&"gx:Track"!==f[n]||(u=g(u),r.push({type:"LineString",coordinates:u.coords}),u.times.length&&s.push(u.times))}return{geoms:r,coordTimes:s}}(t),n={},o=b(_(t,"name")),a=b(_(t,"styleUrl")),r=b(_(t,"description")),s=_(t,"TimeSpan"),l=_(t,"ExtendedData"),c=_(t,"LineStyle"),u=_(t,"PolyStyle");if(!i.geoms.length)return[];if(o&&(n.name=o),(a="#"!==a[0]?"#"+a:a)&&p[a]&&(n.styleUrl=a,n.styleHash=p[a]),r&&(n.description=r),s&&(o=b(_(s,"begin")),a=b(_(s,"end")),n.timespan={begin:o,end:a}),c&&(r=m(b(_(c,"color"))),s=r[0],o=r[1],a=parseFloat(b(_(c,"width"))),s&&(n.stroke=s),isNaN(o)||(n["stroke-opacity"]=o),isNaN(a)||(n["stroke-width"]=a)),u&&(r=m(b(_(u,"color"))),c=r[0],s=r[1],o=b(_(u,"fill")),a=b(_(u,"outline")),c&&(n.fill=c),isNaN(s)||(n["fill-opacity"]=s),o&&(n["fill-opacity"]="1"===o?1:0),a)&&(n["stroke-opacity"]="1"===a?1:0),l){var d=v(l,"Data"),h=v(l,"SimpleData");for(e=0;e<d.length;e++)n[d[e].getAttribute("name")]=b(_(d[e],"value"));for(e=0;e<h.length;e++)n[h[e].getAttribute("name")]=b(h[e])}return i.coordTimes.length&&(n.coordTimes=1===i.coordTimes.length?i.coordTimes[0]:i.coordTimes),r={type:"Feature",geometry:1===i.geoms.length?i.geoms[0]:{type:"GeometryCollection",geometries:i.geoms},properties:n},y(t,"id")&&(r.id=y(t,"id")),[r]})(i[s]));function m(t){var e,i;return 6!==(t="#"===(t=t||"").substr(0,1)?t.substr(1):t).length&&3!==t.length||(e=t),8===t.length&&(i=parseInt(t.substr(0,2),16)/255,e="#"+t.substr(2)),[e,isNaN(i)?void 0:i]}function g(t){var e=v(t,"coord"),i=[],n=[];0===e.length&&(e=v(t,"gx:coord"));for(var o=0;o<e.length;o++)i.push(c(b(e[o]).split(" ")));for(var a=v(t,"when"),r=0;r<a.length;r++)n.push(b(a[r]));return{coords:i,times:n}}return e},gpx:function(t){for(var e,i,n,o=v(t,"trk"),a=v(t,"rte"),r=v(t,"wpt"),s=h(),l=0;l<o.length;l++)(e=(t=>{for(var e,i=v(t,"trkseg"),n=[],o=[],a=[],r=0;r<i.length;r++)(e=c(i[r],"trkpt")).line&&n.push(e.line),e.times&&e.times.length&&o.push(e.times),e.heartRates&&e.heartRates.length&&a.push(e.heartRates);if(0!==n.length)return t=u(t),o.length&&(t.coordTimes=1===n.length?o[0]:o),a.length&&(t.heartRates=1===n.length?a[0]:a),{type:"Feature",properties:t,geometry:{type:1===n.length?"LineString":"MultiLineString",coordinates:1===n.length?n[0]:n}}})(o[l]))&&s.features.push(e);for(l=0;l<a.length;l++)(e=(t=>{var e=c(t,"rtept");if(e.line)return{type:"Feature",properties:u(t),geometry:{type:"LineString",coordinates:e.line}}})(a[l]))&&s.features.push(e);for(l=0;l<r.length;l++)s.features.push((i=r[l],n=void 0,(n=u(i)).sym=b(_(i,"sym")),{type:"Feature",properties:n,geometry:{type:"Point",coordinates:d(i).coordinates}}));function c(t,e){var i=v(t,e),n=[],o=[],a=[],r=i.length;if(r<2)return{};for(var s=0;s<r;s++){var l=d(i[s]);n.push(l.coordinates),l.time&&o.push(l.time),l.heartRate&&a.push(l.heartRate)}return{line:n,times:o,heartRates:a}}function u(t){for(var e=["name","desc","author","copyright","link","time","keywords"],i={},n=0;n<e.length;n++)i[e[n]]=b(_(t,e[n]));var o,a=i,r={};for(o in a)a[o]&&(r[o]=a[o]);return r}return s}};function l(t){if(!t||!t.length)return 0;for(var e=0,i=0;e<t.length;e++)i=(i<<5)-i+t.charCodeAt(e)|0;return i}function v(t,e){return t.getElementsByTagName(e)}function y(t,e){return t.getAttribute(e)}function r(t,e){return parseFloat(y(t,e))}function _(t,e){t=v(t,e);return t.length?t[0]:null}function c(t){for(var e=0,i=[];e<t.length;e++)i[e]=parseFloat(t[e]);return i}function b(t){var e;return t&&(e=t).normalize&&e.normalize(),t&&t.textContent||""}function w(t){return c(t.replace(i,"").split(","))}function k(t){for(var e=t.replace(o,"").split(a),i=[],n=0;n<e.length;n++)i.push(w(e[n]));return i}function d(t){var e=[r(t,"lon"),r(t,"lat")],i=_(t,"ele"),n=_(t,"gpxtpx:hr")||_(t,"hr"),t=_(t,"time");return i&&(i=parseFloat(b(i)),isNaN(i)||e.push(i)),{coordinates:e,time:t?b(t):null,heartRate:n?parseFloat(b(n)):null}}function h(){return{type:"FeatureCollection",features:[]}}function u(t){return void 0!==t.xml?t.xml:e.serializeToString(t)}void 0!==s&&(s.exports=t)}.call(this,n("_process"))},{_process:3,xmldom:2}
1],10:[function(t,e,i){var n;n=this,function(t){function y(){}function _(t){var i,n,o,a,r,s;return t?(o=t.scale[0],a=t.scale[1],r=t.translate[0],s=t.translate[1],function(t,e){e||(i=n=0),t[0]=(i+=t[0])*o+r,t[1]=(n+=t[1])*a+s}):y}function f(t,e){for(var i=0,n=t.length;i<n;){var o=i+n>>>1;t[o]<e?i=1+o:n=o}return i}function i(t,e){t={type:"Feature",id:e.id,properties:e.properties||{},geometry:o(t,e)};return null==e.id&&delete t.id,t}function o(t,e){var f=_(t.transform),m=t.arcs;function i(t){return t=t.slice(),f(t,0),t}function n(t){for(var e=[],i=0,n=t.length;i<n;++i){p=h=u=d=r=c=l=s=a=o=void 0;var o=t[i],a=e;a.length&&a.pop();for(var r,s=m[o<0?~o:o],l=0,c=s.length;l<c;++l)a.push(r=s[l].slice()),f(r,l);if(o<0)for(var u,d=a,o=c,h=d.length,p=h-o;p<--h;)u=d[p],d[p++]=d[h],d[h]=u}return e.length<2&&e.push(e[0].slice()),e}function o(t){for(var e=n(t);e.length<4;)e.push(e[0].slice());return e}function a(t){return t.map(o)}var r={Point:function(t){return i(t.coordinates)},MultiPoint:function(t){return t.coordinates.map(i)},LineString:function(t){return n(t.arcs)},MultiLineString:function(t){return t.arcs.map(n)},Polygon:function(t){return a(t.arcs)},MultiPolygon:function(t){return t.arcs.map(a)}};return function t(e){var i=e.type;return"GeometryCollection"===i?{type:i,geometries:e.geometries.map(t)}:i in r?{type:i,coordinates:r[i](e)}:null}(e)}function h(r,n){var o={},s={},l={},a=[],c=-1;function t(t,e){for(var i in t){i=t[i];
1delete e[i.start],delete i.start,delete i.end,i.forEach(function(t){o[t<0?~t:t]=1}),a.push(i)}}return n.forEach(function(t,e){var i=r.arcs[t<0?~t:t];i.length<3&&!i[1][0]&&!i[1][1]&&(i=n[++c],n[c]=t,n[e]=i)}),n.forEach(function(t){var e,i,n,o=(t=>{var e,i=r.arcs[t<0?~t:t],n=i[0];return r.transform?(e=[0,0],i.forEach(function(t){e[0]+=t[0],e[1]+=t[1]})):e=i[i.length-1],t<0?[e,n]:[n,e]})(t),a=o[0],o=o[1];(e=l[a])?(delete l[e.end],e.push(t),e.end=o,(i=s[o])?(delete s[i.start],n=i===e?e:e.concat(i),s[n.start=e.start]=l[n.end=i.end]=n):s[e.start]=l[e.end]=e):(e=s[o])?(delete s[e.start],e.unshift(t),e.start=a,(i=l[a])?(delete l[i.end],n=i===e?e:i.concat(e),s[n.start=i.start]=l[n.end=e.end]=n):s[e.start]=l[e.end]=e):s[(e=[t]).start=a]=l[e.end=o]=e}),t(l,s),t(s,l),n.forEach(function(t){o[t<0?~t:t]||a.push([t])}),a}function e(t,e,i){var n=[];function o(t){var e=t<0?~t:t;(l[e]||(l[e]=[])).push({i:t,g:s})}function a(t){t.forEach(o)}function r(t){t.forEach(a)}if(1<arguments.length){var s,l=[],c={LineString:a,MultiLineString:r,Polygon:r,MultiPolygon:function(t){t.forEach(r)}};!function t(e){"GeometryCollection"===e.type?e.geometries.forEach(t):e.type in c&&c[(s=e).type](e.arcs)}(e),l.forEach(arguments.length<3?function(t){n.push(t[0].i)}:function(t){i(t[0].g,t[t.length-1].g)&&n.push(t[0].i)})}else for(var u=0,d=t.arcs.length;u<d;++u)n.push(u);return{type:"MultiLineString",arcs:h(t,n)}}function b(t){var e=t[0],i=t[1],t=t[2];return Math.abs((e[0]-t[0])*(i[1]-e[1])-(e[0]-i[0])*(t[1]-e[1]))}function n(s,t){var l={},i=[],n=[];function e(e){e.forEach(function(t){t.forEach(function(t){(l[t=t<0?~t:t]||(l[t]=[])).push(e)})}),i.push(e)}function c(t){return Math.abs((t=>{for(var e,i=-1,n=t.length,o=t[n-1],a=0;++i<n;)e=o,o=t[i],a+=e[0]*o[1]-e[1]*o[0];return a/2})(o(s,{type:"Polygon",arcs:[t]}).coordinates[0]))}return t.forEach(function(t){"Polygon"===t.type?e(t.arcs):"MultiPolygon"===t.type&&t.arcs.forEach(e)}),i.forEach(function(t){if(!t._){var e=[],i=[t];for(t._=1,n.push(e);t=i.pop();)e.push(t),t.forEach(function(t){t.forEach(function(t){l[t<0?~t:t].forEach(function(t){t._||(t._=1,i.push(t))})})})}}
1),i.forEach(function(t){delete t._}),{type:"MultiPolygon",arcs:n.map(function(t){var e,i=[];if(t.forEach(function(t){t.forEach(function(t){t.forEach(function(t){l[t<0?~t:t].length<2&&i.push(t)})})}),1<(e=(i=h(s,i)).length))for(var n,o,a=1,r=c(i[0]);a<e;++a)(n=c(i[a]))>r&&(o=i[0],i[0]=i[a],i[a]=o,r=n);return i})}}function w(t,e){return t[1][2]-e[1][2]}t.version="1.6.26",t.mesh=function(t){return o(t,e.apply(this,arguments))},t.meshArcs=e,t.merge=function(t){return o(t,n.apply(this,arguments))},t.mergeArcs=n,t.feature=function(e,t){return"GeometryCollection"===t.type?{type:"FeatureCollection",features:t.geometries.map(function(t){return i(e,t)})}:i(e,t)},t.neighbors=function(t){var n={},e=t.map(function(){return[]});function i(t,i){t.forEach(function(t){var e=n[t=t<0?~t:t];e?e.push(i):n[t]=[i]})}function o(t,e){t.forEach(function(t){i(t,e)})}var a,r={LineString:i,MultiLineString:o,Polygon:o,MultiPolygon:function(t,e){t.forEach(function(t){o(t,e)})}};for(a in t.forEach(function e(t,i){"GeometryCollection"===t.type?t.geometries.forEach(function(t){e(t,i)}):t.type in r&&r[t.type](t.arcs,i)}),n)for(var s=n[a],l=s.length,c=0;c<l;++c)for(var u=c+1;u<l;++u){var d,h=s[c],p=s[u];(d=e[h])[a=f(d,p)]!==p&&d.splice(a,0,p),(d=e[p])[a=f(d,h)]!==h&&d.splice(a,0,h)}return e},t.presimplify=function(t,c){var r,s,e,n,o,a,l,u,d,h=_(t.transform),p=(e=t.transform)?(a=e.scale[0],l=e.scale[1],u=e.translate[0],d=e.translate[1],function(t,e){e||(n=o=0);var e=Math.round((t[0]-u)/a),i=Math.round((t[1]-d)/l);t[0]=e-n,t[1]=i-o,n=e,o=i}):y,f=(r=[],s=0,(e={}).push=function(t){return m(r[t._=s]=t,s++),s},e.pop=function(){var t,e;if(!(s<=0))return t=r[0],0<--s&&g(r[(e=r[s])._=0]=e,0),t},e.remove=function(t){var e,i=t._;if(r[i]===t)return i!==--s&&(w(e=r[s],t)<0?m:g)(r[e._=i]=e,i),i},e);function m(t,e){for(;0<e;){var i=(e+1>>1)-1,n=r[i];if(0<=w(t,n))break;r[n._=e]=n,r[t._=e=i]=t}}function g(t,e){for(;;){var i=e+1<<1,n=i-1,o=e,a=r[o];if(n<s&&w(r[n],a)<0&&(a=r[o=n]),i<s&&w(r[i],a)<0&&(a=r[o=i]),o===e)break;r[a._=e]=a,r[t._=e=o]=t}}function v(t){f.remove(t),t[1][2]=c(t),f.push(t)}return c=c||b,t.arcs.forEach(function(t){for(var e,i,n=[],o=0,a=0,r=t.length;a<r;++a)i=t[a],h(t[a]=[i[0],i[1],1/0],a);for(r=t.length-(a=1);a<r;++a)(e=t.slice(a-1,a+2))[1][2]=c(e),n.push(e),f.push(e);for(a=0,r=n.length;a<r;++a)(e=n[a]).previous=n[a-1],e.next=n[a+1];for(;e=f.pop();){var s=e.previous,l=e.next;e[1][2]<o?e[1][2]=o:o=e[1][2],s&&(s.next=l,s[2]=e[2],v(s)),l&&(l.previous=s,l[0]=e[0],v(l))}t.forEach(p)}),t}}("object"==typeof i&&void 0!==e?i:n.topojson=n.topojson||{})},{}],11:[function(t,e,i){e.exports=n,e.exports.parse=n,e.exports.stringify=function t(e){"Feature"===e.type&&(e=e.geometry);function i(t){return t.join(" ")}function n(t){return t.map(i).join(", ")}function o(t){return t.map(n).map(r).join(", ")}function a(t){return t.map(o).map(r).join(", ")}function r(t){return"("+t+")"}switch(e.type){case"Point":return"POINT ("+i(e.coordinates)+")";case"LineString":return"LINESTRING ("+n(e.coordinates)+")";case"Polygon":return"POLYGON ("+o(e.coordinates)+")";case"MultiPoint":return"MULTIPOINT ("+n(e.coordinates)+")";case"MultiPolygon":return"MULTIPOLYGON ("+a(e.coordinates)+")";case"MultiLineString":return"MULTILINESTRING ("+o(e.coordinates)+")";case"GeometryCollection":return"GEOMETRYCOLLECTION ("+e.geometries.map(t).join(", ")+")";default:throw new Error("stringify requires a valid GeoJSON Feature or geometry object as input")}};var e=/[-+]?([0-9]*\.[0-9]+|[0-9]+)([eE][-+]?[0-9]+)?/,u=new RegExp("^"+e.source+"(\\s"+e.source+"){1,}");function n(t){var e,t=t.split(";"),i=t.pop(),t=(t.shift()||"").split("=").pop(),n=0;function a(t){t=i.substring(n).match(t);return t?(n+=t[0].length,t[0]):null}function r(){a(/^\s*/)}function o(){r();for(var t,e=0,i=[],n=[i],o=i;t=a(/^(\()/)||a(/^(\))/)||a(/^(\,)/)||a(u);){if("("===t)n.push(o),n[n.length-1].push(o=[]),e++;else if(")"===t){if(0===o.length)return null;if(!(o=n.pop()))return null;if(0===--e)break}else if(","===t)n[n.length-1].push(o=[]);else{if(t.split(/\s/g).some(isNaN))return null;Array.prototype.push.apply(o,t.split(/\s/g).map(parseFloat))}r()}return 0!==e?null:i}function s(){for(var t,e,i=[];e=a(u)||a(/^(\,)/);)","===e?(i.push(t),t=[]):e.split(/\s/g).some(isNaN)||(t=t||[],Array.prototype.push.apply(t,e.split(/\s/g).map(parseFloat))),r();return t&&(i.push(t),i.length)?i:null}function l(){var t,e=[];if(!a(/^(geometrycollection)/i))return null;if(r(),!a(/^(\()/))return null;for(;t=c();)e.push(t),r(),a(/^(\,)/),r();return a(/^(\))/)?{type:"GeometryCollection",geometries:e}:null}function c(){return(a(/^(point)/i)&&(r(),a(/^(\()/))&&(t=s())&&(r(
1),a(/^(\))/))?{type:"Point",coordinates:t[0]}:null)||(a(/^(linestring)/i)&&(r(),a(/^(\()/))&&(t=s())&&a(/^(\))/)?{type:"LineString",coordinates:t}:null)||(()=>{if(!a(/^(polygon)/i))return null;r();var t=o();return t?{type:"Polygon",coordinates:t}:null})()||(()=>{if(!a(/^(multipoint)/i))return null;r(),i="MULTIPOINT ("+i.substring(i.indexOf("(")+1,i.length-1).replace(/\(/g,"").replace(/\)/g,"")+")";var t=o();return t?(r(),{type:"MultiPoint",coordinates:t}):null})()||(()=>{if(!a(/^(multilinestring)/i))return null;r();var t=o();return t?(r(),{type:"MultiLineString",coordinates:t}):null})()||(()=>{if(!a(/^(multipolygon)/i))return null;r();var t=o();return t?{type:"MultiPolygon",coordinates:t}:null})()||l();var t}return(e=c())&&t.match(/\d+/)&&(e.crs={type:"name",properties:{name:"urn:ogc:def:crs:EPSG::"+t}}),e}},{}]},{},[1])(1)}),{tabletPortraitBreakpoint:980,tabletPaysageBreakpoint:1024,desktopBreakpoint:1280,mobileBreakpoint:600,tagmanager:thGlobalDefaults.tagmanager,debug:!0,map:{init:{maps_class:".maps:not(.no-autoload):not(.initialized)",tileLayerUrl:"https://tile.openstreetmap.org/{z}/{x}/{y}.png",accessToken:"cartes",tileLayerOptions:{attribution:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',maxZoom:16,accessToken:"cartes"},defaultOptions:{center:{lat:thGlobalDefaults.lat,lng:thGlobalDefaults.lng}}},kmlBgColor:"00FFFFFF",kmlWeight:2,kmlOpacity:1,kmlColor:"#000",kmlBgOpacity:0}});if("object"==typeof jsConfig)for(var key in jsConfig)if("object"==typeof jsConfig[key])for(var subkey in jsConfig[key])thConfig[key][subkey]=jsConfig[key][subkey];else thConfig[key]=jsConfig[key];function isIE(){return!(!navigator.userAgent.match(/trident/gi)&&"Microsoft Internet Explorer"!=navigator.appName)}function isTouchDevice(){return"ontouchstart"in document.documentElement}function isNoHover(){return!!(isTouchDevice()&&document.body.clientWidth<=thConfig.desktopBreakpoint)}function isDesktopOrHigher(){return document.body.clientWidth>thConfig.tabletPortraitBreakpoint}function isTabletPortraitOrSmalller(){return document.body.clientWidth<thConfig.tabletPortraitBreakpoint}function isTabletPortraitOrHigher(){return document.body.clientWidth>thConfig.tabletPortraitBreakpoint}function isMobileOrSmaller(){return document.body.clientWidth<=thConfig.mobileBreakpoint}function debounce(n,o,a){var r;return function(){var t=this,e=arguments,i=a&&!r;clearTimeout(r),r=setTimeout(function(){r=null,a||n.apply(t,e)},o),i&&n.apply(t,e)}}function throttle(i,n,o){function a(){u=!1===o.leading?0:Date.now(),c=null,l=i.apply(r,s),c||(r=s=null)}var r,s,l,c=null,u=0;o=o||{};return function(){var t=Date.now(),e=(u||!1!==o.leading||(u=t),n-(t-u));return r=this,s=arguments,e<=0||n<e?(c&&(clearTimeout(c),c=null),u=t,l=i.apply(r,s),c||(r=s=null)):c||!1===o.trailing||(c=setTimeout(a,e)),l}}$(document).ready(function(){var t=$(".list-skip-links li").first(),e=$(".list-skip-links li").last(),i=$("main"),n=$(".main-navigation .btn-menu");t.focus(),t.on("keydown",function(t){13==t.keyCode&&n.focus()}),e.on("keydown",function(t){13==t.keyCode&&($([document.documentElement,document.body]).animate({scrollTop:i.offset().top-80},1e3),i.focus())})});var aria=aria||{};function searchLocation(t){for(var e=[],i=0;i<places_autocomplete.length;i++)0===places_autocomplete[i][0].toLowerCase().indexOf(t.toLowerCase())&&e.push(places_autocomplete[i]);return e}function onComboboxOpen(){var t=$("#overlay-filtres");t&&th_rgaa_focus.init(t)}function onComboboxClose(){$("#overlay-filtres")}window.addEventListener("load",function(){$(".js-commune-autocomplete").each(function(){var t=$(".js-commune-autocomplete-input",this).get(0),e=$(".js-commune-autocomplete-list",this).get(0);t&&e&&((t=new aria.GridCombobox(t,e,searchLocation)).addCallbackOpen(onComboboxOpen),t.addCallbackClose(onComboboxClose))})});var DisclosureNav=function(t){this.rootNode=t,this.triggerNodes=[],this.controlledNodes=[],this.openIndex=null,this.useArrowKeys=!0};function checkboxesAria(){var t=$("input[type=checkbox]");t.each(function(){"checked"===$(this).attr("checked")?$(this).attr("aria-checked",!0):$(this).attr("aria-checked",!1)}),t.click(function(){"true"===$(this).attr("aria-checked")?$(this).attr("aria-checked",!1):$(this).attr("aria-checked",!0)})}DisclosureNav.prototype.init=function(){for(var t=this.rootNode.querySelectorAll("button[aria-expanded][aria-controls]"),e=0;e<t.length;e++){var i=t[e],n=i.parentNode.querySelector("ul");n&&(this.triggerNodes.push(i),this.controlledNodes.push(n),i.setAttribute("aria-expanded","fal
1se"),this.toggleMenu(n,!1),n.addEventListener("keydown",this.handleMenuKeyDown.bind(this)),i.addEventListener("click",this.handleButtonClick.bind(this)),i.addEventListener("keydown",this.handleButtonKeyDown.bind(this)))}},DisclosureNav.prototype.toggleMenu=function(t,e){t&&(t.classList=e?"sub-menu active":"sub-menu")},DisclosureNav.prototype.toggleExpand=function(t,e){this.openIndex!==t&&this.toggleExpand(this.openIndex,!1),this.triggerNodes[t]&&(this.openIndex=e?t:null,this.triggerNodes[t].setAttribute("aria-expanded",e),this.toggleMenu(this.controlledNodes[t],e))},DisclosureNav.prototype.controlFocusByKey=function(t,e,i){switch(t.key){case"ArrowUp":case"ArrowLeft":t.preventDefault(),-1<i&&e[Math.max(0,i-1)].focus();break;case"ArrowDown":case"ArrowRight":t.preventDefault(),-1<i&&e[Math.min(e.length-1,i+1)].focus();break;case"Home":t.preventDefault(),e[0].focus();break;case"End":t.preventDefault(),e[e.length-1].focus()}},DisclosureNav.prototype.handleBlur=function(t){this.rootNode.contains(t.relatedTarget)||null===this.openIndex||this.toggleExpand(this.openIndex,!1)},DisclosureNav.prototype.handleButtonKeyDown=function(t){var e=this.triggerNodes.indexOf(document.activeElement);"Escape"===t.key?this.toggleExpand(this.openIndex,!1):this.useArrowKeys&&this.openIndex===e&&"ArrowDown"===t.key?(t.preventDefault(),this.controlledNodes[this.openIndex].querySelector("a").focus()):this.useArrowKeys&&this.controlFocusByKey(t,this.triggerNodes,e)},DisclosureNav.prototype.handleButtonClick=function(t){var t=t.target,e=this.triggerNodes.indexOf(t),t="true"===t.getAttribute("aria-expanded");this.toggleExpand(e,!t)},DisclosureNav.prototype.handleMenuKeyDown=function(t){var e,i;null!==this.openIndex&&(i=(e=Array.prototype.slice.call(this.controlledNodes[this.openIndex].querySelectorAll("a"))).indexOf(document.activeElement),"Escape"===t.key?(this.triggerNodes[this.openIndex].focus(),this.toggleExpand(this.openIndex,!1)):this.useArrowKeys&&this.controlFocusByKey(t,e,i))},DisclosureNav.prototype.updateKeyControls=function(t){this.useArrowKeys=t},window.addEventListener("load",function(t){for(var e=document.querySelectorAll(".wrapper-nav nav"),i=[],n=0;n<e.length;n++)i[n]=new DisclosureNav(e[n]),i[n].init();for(var o=document.querySelectorAll(".wrapper-nav nav a"),n=0;n<o.length;n++)o[n].addEventListener("click",function(t){t.target.innerText;for(var e=0;e<o.length;e++)o[e].removeAttribute("aria-current");this.setAttribute("aria-current","page")})},!1),checkboxesAria(),$(document).ready(function(){var t=$(".group-switch input[type=checkbox]");$(".frm_off_label").addClass("active-choice"),t.on("click",function(){var t=$(this).attr("aria-checked");"false"===t?($(this).siblings(".frm_on_label").removeClass("active-choice"),$(this).prev(".frm_off_label").addClass("active-choice")):t&&($(this).prev(".frm_off_label").removeClass("active-choice"),$(this).siblings(".frm_on_label").addClass("active-choice"))})});var init_rgaa_focus={overlaySearch:"overlay-search",overlayFavourites:"overlay-favoris",overlayMenu:"overlay-menu",overlayFilters:"overlay-filtres",btnMenu:".btn-menu-open-wrapper .btn-menu",init:function(){init_rgaa_focus.onOverlayOpen(),init_rgaa_focus.onOverlayClose()},onOverlayOpen:function(){th_overlay.addCallbackOpen(function(t){var e,i=$("#"+t);t!==init_rgaa_focus.overlaySearch&&t!==init_rgaa_focus.overlayFavourites&&setTimeout(function(){th_rgaa_focus.init(i)},1e3),t===init_rgaa_focus.overlayFavourites&&(t=$(".btn-close",i)[0],e=$(".btn-email",i)[0],th_rgaa_focus.init(i,t,e))})},onOverlayClose:function(){th_overlay.addCallbackClose(function(t){t===init_rgaa_focus.overlayMenu&&setTimeout(function(){var t=[];t.push($("#"+init_rgaa_focus.overlayFavourites)),t.push($("#"+init_rgaa_focus.overlaySearch));for(var e=0;e<t.length;e++)t[e].hasClass("open")&&(th_overlay.noFocusOnPreviousOverlay=!0)},100),t!==init_rgaa_focus.overlayFavourites&&t!==init_rgaa_focus.overlaySearch||setTimeout(function(){$(init_rgaa_focus.btnMenu).focus()}),t===init_rgaa_focus.overlayFilters&&(th_overlay.focusElOnClose={},t=document.querySelector(".js-listing-pagination-light"))&&t.focu
1s()})}};init_rgaa_focus.init();class TabsAutomatic{constructor(t){this.tablistNode=t,this.tabs=[],this.firstTab=null,this.lastTab=null,this.tabs=Array.from(this.tablistNode.querySelectorAll("[role=tab]")),this.tabpanels=[];for(var e=0;e<this.tabs.length;e+=1){var i=this.tabs[e],n=i.getAttribute("aria-controls"),n=i.closest(".bloc").querySelector("#"+n);i.tabIndex=-1,i.setAttribute("aria-selected","false"),this.tabpanels.push(n),i.addEventListener("keydown",this.onKeydown.bind(this)),i.addEventListener("click",this.onClick.bind(this)),this.firstTab||(this.firstTab=i),this.lastTab=i}this.setSelectedTab(this.firstTab,!1)}setSelectedTab(t,e){"boolean"!=typeof e&&(e=!0);for(var i=0;i<this.tabs.length;i+=1){var n=this.tabs[i];t===n?(n.setAttribute("aria-selected","true"),n.removeAttribute("tabindex"),this.tabpanels[i].classList.remove("is-hidden"),e&&n.focus()):(n.setAttribute("aria-selected","false"),n.tabIndex=-1,this.tabpanels[i].classList.add("is-hidden"))}}setSelectedToPreviousTab(t){t===this.firstTab?this.setSelectedTab(this.lastTab):(t=this.tabs.indexOf(t),this.setSelectedTab(this.tabs[t-1]))}setSelectedToNextTab(t){t===this.lastTab?this.setSelectedTab(this.firstTab):(t=this.tabs.indexOf(t),this.setSelectedTab(this.tabs[t+1]))}onKeydown(t){var e=t.currentTarget,i=!1;switch(t.key){case"ArrowLeft":this.setSelectedToPreviousTab(e),i=!0;break;case"ArrowRight":this.setSelectedToNextTab(e),i=!0;break;case"Home":this.setSelectedTab(this.firstTab),i=!0;break;case"End":this.setSelectedTab(this.lastTab),i=!0}i&&(t.stopPropagation(),t.preventDefault())}onClick(t){this.setSelectedTab(t.currentTarget)}}window.addEventListener("load",function(){for(var t=document.querySelectorAll("[role=tablist].tablist"),e=0;e<t.length;e++)new TabsAutomatic(t[e])});var calendarDateFormat="DD/MM/YYYY",calendarDateLanguage=$("html").attr("lang").substring(0,2),startDate=moment(new Date).format(calendarDateFormat),groupes_input_dates=$("[data-jsgroupdate]").data("jsgroupdate"),$spefilters,$spefiltersMea,$InputFrom,$InputTo,$InputFromMea,$InputToMea,calendarListingData;groupes_input_dates&&($spefilters=$('[name="date_spe"]','#overlay-filtres [data-jsgroupdate="'+groupes_input_dates+'"]'),$spefiltersMea=$('[name="date_spe"]','.js-listing-fma [data-jsgroupdate="'+groupes_input_dates+'"]'),$InputFrom=$('[data-jsdatestatus="from"]','#overlay-filtres [data-jsgroupdate="'+groupes_input_dates+'"]'),$InputTo=$('[data-jsdatestatus="to"]','#overlay-filtres [data-jsgroupdate="'+groupes_input_dates+'"]'),$InputFromMea=$('[data-jsdatestatus="from"]','.js-listing-barre-filtre [data-jsgroupdate="'+groupes_input_dates+'"]'),$InputToMea=$('[data-jsdatestatus="to"]','.js-listing-barre-filtre [data-jsgroupdate="'+groupes_input_dates+'"]'),$("input.date",'[data-jsgroupdate="'+groupes_input_dates+'"]').each(function(){var t,e=".js-listing-barre-filtre  .facettes-wrapper",i=!1;0<$(this).parents("#overlay-filtres .scroller .group-dates").length?(e="#overlay-filtres .scroller .group-dates",i=!0):0<$(this).parents(".bloc-disponibilites .group-dates").length&&(e=".group-dates",i=!0),isTouchDevice()?(t=(t=$(this).val()).split("/").reverse().join("-"),$(this).val(t),$(this).attr("type","date"),$("[data-jsdatestatus]",'.js-listing-barre-filtre [data-jsgroupdate="'+groupes_input_dates+'"]').attr("readonly","readonly"),$(this).on("change",function(t){var e=$(this).data("jsdatestatus");$('[data-jsdatestatus="'+e+'"]','.js-listing-barre-filtre [data-jsgroupdate="'+groupes_input_dates+'"]').val($(this).val())})):$(this).dateRangePicker({inline:i,stickyMonths:!0,singleDate:!1,alwaysOpen:!1,singleMonth:!1,showShortcuts:!1,showTopbar:!1,monthSelect:!0,hoveringTooltip:!1,selectForward:!1,yearSelect:[2022,2030],startOfWeek:"monday",startDate:startDate,customArrowPrevSymbol:'<span class="icon-ico-arrow-left-slider"></span>',customArrowNextSymbol:'<span class="icon-ico-arrow-right-slider"></span>',format:calendarDateFormat,language:calendarDateLanguage,container:e,separator:" to ",getValue:function(){return $('[data-jsdatestatus="from"]').val()&&$('[data-jsdatestatus="to"]').val()?$('[data-jsdatestatus="from"]').val()+" to "+$('[data-jsdatestatus="to"]').val():""}
1,setValue:function(t,e,i){$('[data-jsdatestatus="from"]').each(function(){"date"==$(this).attr("type")?$(this).val(e.split("/").reverse().join("-")):$(this).val(e)}),$('[data-jsdatestatus="to"]').each(function(){"date"==$(this).attr("type")?$(this).val(i.split("/").reverse().join("-")):$(this).val(i)}),$('[name="date_spe"]','#overlay-filtres [data-jsgroupdate="'+groupes_input_dates+'"]').prop("checked",!1),$('[name="date_spe"]','.js-listing-fma [data-jsgroupdate="'+groupes_input_dates+'"]').prop("checked",!1)}}).bind("datepicker-open",function(t,e){$('[data-jsdatestatus="from"]').parent(".wrapper-date").addClass("focus")}).bind("datepicker-first-date-selected",function(t,e){$('[data-jsdatestatus="from"]').parent(".wrapper-date").removeClass("focus"),$('[data-jsdatestatus="to"]').parent(".wrapper-date").addClass("focus")}).bind("datepicker-close",function(t,e){$('[data-jsdatestatus="to"]').parent(".wrapper-date").removeClass("focus"),$('[data-jsdatestatus="from"]').parent(".wrapper-date").removeClass("focus"),$('[data-jsdatestatus="to"]').val()&&$('[data-jsdatestatus="from"]').val()&&$InputFrom.trigger("force-change")})}),$spefiltersMea.on("change",function(){var t=$(this).data();isTouchDevice()?($('[data-jsdatestatus="from"]','.js-listing-barre-filtre [data-jsgroupdate="'+groupes_input_dates+'"]').val(t.start),$('[data-jsdatestatus="from"]','#overlay-filtres [data-jsgroupdate="'+groupes_input_dates+'"]').val(t.start),$('[data-jsdatestatus="to"]','.js-listing-barre-filtre[data-jsgroupdate="'+groupes_input_dates+'"]').val(t.end),$('[data-jsdatestatus="to"]','#overlay-filtres [data-jsgroupdate="'+groupes_input_dates+'"]').val(t.end),$InputFrom.trigger("force-change")):calendarListingData.set(t.start,t.end),$('[name="date_spe"]','#overlay-filtres [data-jsgroupdate="'+groupes_input_dates+'"]').prop("checked",!1),$('[value="'+$(this).val()+'"]','#overlay-filtres [data-jsgroupdate="'+groupes_input_dates+'"]').prop("checked",!0)}),$spefilters.on("change",function(){var t=$(this).data();isTouchDevice()?($('[data-jsdatestatus="from"]','.js-listing-barre-filtre [data-jsgroupdate="'+groupes_input_dates+'"]').val(t.start),$('[data-jsdatestatus="from"]','#overlay-filtres [data-jsgroupdate="'+groupes_input_dates+'"]').val(t.start),$('[data-jsdatestatus="to"]','.js-listing-barre-filtre [data-jsgroupdate="'+groupes_input_dates+'"]').val(t.end),$('[data-jsdatestatus="to"]','#overlay-filtres [data-jsgroupdate="'+groupes_input_dates+'"]').val(t.end),$InputFrom.trigger("force-change")):calendarListingData.set(t.start,t.end),$('[name="date_spe"]','.js-listing-fma [data-jsgroupdate="'+groupes_input_dates+'"]').prop("checked",!1),$('[value="'+$(this).val()+'"]','.js-listing-fma [data-jsgroupdate="'+groupes_input_dates+'"]').prop("checked",!0)}),calendarListingData={from:null,to:null,submit:!0,timeout:null,set:function(t,e,i){return void 0!==i&&(calendarListingData.submit=i),t&&t.match(/\//)&&(t=t.split("/").reverse().join("-")),e&&e.match(/\//)&&(e=e.split("/").reverse().join("-")),(t!==calendarListingData.from||e!==calendarListingData.to)&&(calendarListingData.from=t,calendarListingData.to=e,calendarListingData.onchange(),!0)},onchange:function(){clearTimeout(calendarListingData.timeout),calendarListingData.timeout=setTimeout(function(){calendarListingData.onchangeDelais()},100)},onchangeDelais:function(){var t,e;calendarListingData.from&&calendarListingData.to&&(t=calendarListingData.from.split("-").reverse().join("/"),e=calendarListingData.to.split("-").reverse().join("/"),t)&&e&&($InputFrom.val(t),$InputTo.val(e),$InputFromMea.val(t),$InputToMea.val(e)),calendarListingData.submit&&$InputFrom.trigger("force-change")}});class thListingAjax{lastCall;listingManager;constructor(t){this.listingManager=t}call(t,e){e||this.historyAdd(t),this.lastCall=(new Date).getTime(),this.get(this.lastCall,t)}get(e,t){$.get(t,t=>{e==this.lastCall&&this.listingManager.handleResponse(t)})}historyAdd(t){void 0!==window.history&&window.history.pushState?window.history.pushState("","",t):document.location.href=t}}class thListingFormEvent{form;selectors;listingManager;options={selectors:{form:".js-listing-form-facette",btn_loc:null,autocomplete:null,outoverlay:".js-listing-barre-filtre",selectedfacette:null,nb_results:".js-listing-nb-resultats",nb_filters:".js-listing-nb-filtres-actifs"}};constructor(t,e){t=$.extend(!0,this.options,t),this.options=t,this.selectors=t.selectors,this.listingManager=e,this.form=$(e.options.selectors.form);var i=this.form,n=this;this.initFormSubmit(),this.outOfOverlayinit(),$('input[type="checkbox"], input[type="date"], input[type="text"], input[type="radio"], select, .facette-slider input',this.selectors.form).on("change",function(){n.outOfOverlayUpdate($(this)),i.submit()}),$('input[type="checkbox"], input[type="date"], input[type="text"], input[type="radio"], select, .facette-slider input',this.selectors.form).on("force-change",function(){i.submit()}),document.querySelector(this.selectors.btn_loc)&&this.geolocInit(),document.querySelector(this.selectors.autocomplete)&&this.aucompleteInit()}initFormSubmit(){this.form=$(this.options.selectors.form);var i=this.listingManager;$(this.form).on("submit",t=>{t.preventDefault(),t.stopPropagation();var e=new URL(this.form.get(0).getAttribute("action"));$(":input",this.form).filter(function(t,e){if(""!=$(e).val()&&"empty"!=$(e).val()&&"year"!=$(e).attr("name")&&"month"!=$(e).attr("name")&&"y"!=$(e).attr("name")&&"m"!=$(e).attr("name"))return $(e).val()}).serialize().split("&").forEach(t=>{t=t.split("=");e.searchParams.set(t[0],t[1])}),i.ajaxCall(e.toString(),!0)})}outOfOverlayinit(){var o=this;$("input[type=checkbox]:not(.no-refresh)",this.options.selectors.outoverlay).on("change",function(){var t=$(this).attr("name"),e=$(this).attr("id").split("_mea")[0],i=($(this).val(),$(this).prop("checked")),n=$(this).parent().text();
1o.selectedFacetteAdd(e,t,n),$("#"+e,o.options.selectors.form).prop("checked",i).trigger("force-change")}),$("input[type=text]:not(.no-refresh)",this.options.selectors.outoverlay).on("focusout",function(){var t=$(this).attr("name"),e=$(this).attr("id").split("_mea")[0],i=$(this).val(),n=$(this).parent().text();o.selectedFacetteAdd(e,t,n),i&&$("#"+e,o.options.selectors.form).prop("value",i).trigger("force-change")}),$("select:not(.no-refresh)",this.options.selectors.outoverlay).on("change",function(){var t=$(this).attr("name"),e=$(this).val(),i=$("option:selected",this).text(),n=$('[value="'+e+'"]',o.options.selectors.form).index();o.selectedFacetteAdd(e,t,i),o.outOfOverlayUpdate($(this)),$('[name="'+t+'"]',o.options.selectors.form).val(e).trigger("force-change"),$('[value="'+e+'"]',o.options.selectors.form).prop("selected","selected"),0<$(".selectric-wrapper").length&&$("#"+t,o.options.selectors.form).prop("selectedIndex",n).selectric("refresh")}),$(".no-refresh",this.options.selectors.outoverlay).on("change",function(){input_name=$(this).attr("name"),input_val=$(this).val(),$('[name="'+input_name+'"]',o.options.selectors.form).val(input_val)}),$(".submit",this.options.selectors.outoverlay).on("click",function(){$(o.options.selectors.form).submit()})}outOfOverlayUpdate(t){var e=t.attr("type"),i=(void 0===e&&(e="select"),t.attr("name")),n=t.val();switch(e){case"checkbox":var o=t.prop("checked"),a=t.attr("id"),r=t.parent().text();o?this.selectedFacetteAdd(a,i,r):(s=$('[data-facetteselectedvalue="'+a+'"][data-facetteselectedname="'+i+'"]'),this.selectedFacetteRemove(s)),a+="_mea",$("#"+a,this.options.selectors.outoverlay).prop("checked",o);break;case"select":$('[data-facetteselectedname="'+i+'"]').each(function(){this.selectedFacetteRemove($(this))}),r=$("option:selected",t).text(),"empty"!=n&&this.selectedFacetteAdd(n,i,r);var s=$('[value="'+n+'"]',this.options.selectors.form).index();$('[name="'+i+'"]',this.options.selectors.outoverlay).val(n),0<$(".selectric-wrapper").length&&$("#"+i,this.options.selectors.outoverlay).prop("selectedIndex",s).selectric("refresh");break;case"hidden":$('[data-facetteselectedname="'+i+'"]').each(function(){this.selectedFacetteRemove($(this))});var l=t.data("textprepend"),r=l+n;this.selectedFacetteAdd(n,i,r);break;case"radio":$("[data-facetteselectedname="+i+"]").each(function(){this.selectedFacetteRemove($(this))}),l=t.data("textappend"),0!=n&&this.selectedFacetteAdd(n,i,r=n+" "+l);break;case"date":"dispo_du"!=i&&"dispo_au"!=i||(a=t.attr("id"),this.selectedFacetteRemove($('[data-facetteselectedname="'+i+'"]')),o=moment(new Date(Date.parse(t.val()))).format("DD/MM/YYYY"),r=$("label[for="+a+"]").text()+" "+o,this.selectedFacetteAdd(a,i,r));break;case"text":a=t.attr("id"),s=t.val();a+="_mea",$("#"+a,this.options.selectors.outoverlay).prop("value",s)}}selectedFacetteAdd(t,e,i){var n=$(this.options.selectors.selectedfacette);t&&(n.append('<button class="gtm-liste-filtre-suppr" aria-label="Supprimer le filtre'+i+'" type="button" data-facetteselectedvalue="'+t+'" data-facetteselectedname="'+e+'">'+i+"</button>"),this.selectedFacetteInitRemove($('[data-facetteselectedvalue="'+t+'"]')))}selectedFacetteInitRemove(n){var o=this;n.on("click",function(){var t=n.data("facetteselectedvalue"),e=n.data("facetteselectedname"),i=$("[name='"+e+"']").attr("type");"select"==(i=void 0===(i="dispo"==e.split("_")[0]?"dispo":i)?"select":i)?($('[name="'+e+'"]',this.options.selectors.form).val("empty").trigger("force-change"),$('[name="'+e+'"]',this.options.selectors.outoverlay).val("empty")):"checkbox"==i?($("#"+t,this.options.selectors.form).prop("checked",!1).trigger("force-change"),$("#"+t+"_mea",this.options.selectors.outoverlay).prop("checked",!1)):"radio"==i?$("[name="+e+"][value=0]",this.options.selectors.form).prop("checked",!0).trigger("force-change"):"hidden"==i?(key_facette=e.split("_"),key_slider="slider_"+key_facette[0],key_val=key_facette[1],void 0!==fmsliders[key_slider]&&(max=parseInt(fmsliders[key_slider].getAttribute("data-max")),min=parseInt(fmsliders[key_slider].getAttribute("data-min")),current_val=fmsliders[key_slider].noUiSlider.get(),start=current_val[0],end=current_val[1],new_start="min"==key_val?[min,end]:[start,max],fmsliders[key_slider].noUiSlider.updateOptions({start:new_start})),$("[name="+e+"]",this.options.selectors.form).val("").trigger("force-change")):"dispo"==i&&($("[name^=dispo]",this.options.selectors.form).val(""),$("[name=dispo_du]",this.options.selectors.form).trigger("force-change"),i=(t=["dispo_nbpers","dispo_au","dispo_du"]).indexOf(e),t.splice(i,1),$.each(t,function(t,e){o.selectedFacetteRemove($("[data-facetteselectedname="+e+"]"))})),o.selectedFacetteRemove(n)})}selectedFacetteRemove(t){$(this.options.selectors.selectedfacette)}selectedFacettesRemove(){$("[data-facetteselectedvalue]").each(function(){this.selectedFacetteInitRemove($(this))})}geolocInit(){$(this.selectors.btn_loc).click(function(t){t.preventDefault(),t.stopPropagation(),($self=$(this)).parent().toggleClass("active");setTimeout(function(){$self.parent().hasClass("active")?(console.log("Activation de la geoloc"),navigator.geolocation?(console.log("Demande de geoloc ..."),navigator.geolocation.getCurrentPosition(handleGeoloc,function(t){alert("Votre support ne nous permet pas de trouver votre position. Vérifiez les paramètres de localisation de votre appareil.")})):alert("Votre support ne nous permet pas de trouver votre position. Vérifiez les paramètres de localisation de votre appareil.")):(console.log("Désactivation de la geoloc"),$('input[name="lat"]').val(""),$('input[name="lng"]').val(""),markerTargetCurrentGeo.setMap(null),$(".page-listing form").submit())},100)})}aucompleteInit(){$(".rayon").hide(),$(this.options.selectors.autocomplete),$(this.options.selectors.autocomplete).selectize({plugins:["remove_button"],onFocus:function(t){"empty"==$(".selectize-input .item").data("value")&&$(".selectize-input .item").text()},onItemAdd:function(t,e){e={event:"event-commune",category:"Commune",action:"Choix commune",label:e.text().trim()};"undefined"!=typeof dataLayer&&dataLayer.push(e),$(".rayon").show(500)},onItemRemove:function(t,e){$(".rayon").hide()}})}}class thListingManager{loaded=!1;maps={map:null,mapOverlay:null};form;formEventHandler;
1ajaxHandler;paginationHandler;options={selectors:{listing:".js-listing-default",cards:".card",cardsContainer:".js-listing-card-container",loadingAlert:".js-listing-loading-alert",cardsOverlayContainer:".js-listing-overlay-card-container",scrollable:"html,body",pagination:".js-listing-pagination",paginationLight:".js-listing-pagination-light",paginationOverlay:".js-listing-pagination-overlay",map:null,mapoverlay:null,form:".js-listing-form-facette",btn_loc:null,autocomplete:null,outoverlay:".js-listing-barre-filtre",outoverlay_facette:".js-listing-outoverlay-facettes",selectedfacette:null,nb_results:".js-listing-nb-resultats",nb_filters:".js-listing-nb-filtres-actifs"},mapOptions:{selector:null,breakpointMobile:980,markerIcon:"default",markerIconHover:"hover",markerWidth:300,layersMaxZoom:18,useCluster:!1,onlyMobile:!1,onlyDesktop:!0},mapOverlayOptions:{selector:null,breakpointMobile:980,markerIcon:"default",markerIconHover:"hover",markerWidth:300,layersMaxZoom:18,useCluster:!1,onlyMobile:!1,onlyDesktop:!1},scrollTop:50,scrollSpeed:250,update_form:!1,afterUpdate:null};constructor(t){t=$.extend(!0,this.options,t),this.options=t,null!==document.querySelector(this.options.selectors.listing)&&null!==document.querySelector(this.options.selectors.form)&&null!==document.querySelector(this.options.selectors.cardsContainer)&&null!==document.querySelector(this.options.selectors.pagination)&&(this.loaded=!0,this.ajaxHandler=new thListingAjax(this),this.formEventHandler=new thListingFormEvent(this.options.selectors.form,this),this.paginationHandler=new thListingPagination({selectorpagination:this.options.selectors.pagination,selectorpaginationOverlay:this.options.selectors.paginationOverlay,selectorpaginationLight:this.options.selectors.paginationLight},this),this.initMap())}initMap(){setTimeout(()=>{var t;!this.maps.map&&document.querySelector(this.options.selectors.map)&&((t=this.options.mapOptions).selector=this.options.selectors.map,this.maps.map=new thListingMap(t),this.maps.map.setCards($(this.options.selectors.cards,this.options.selectors.cardsContainer)),this.maps.map.update(),this.maps.map.fitMap())},250)}initMapOverlay(){var t;!this.maps.mapOverlay&&document.querySelector(this.options.selectors.mapoverlay)&&((t=this.options.mapOverlayOptions).selector=this.options.selectors.mapoverlay,this.maps.mapOverlay=new thListingMap(t),this.maps.mapOverlay.setCards($(this.options.selectors.cards,this.options.selectors.cardsOverlayContainer)),this.maps.mapOverlay.update(),this.maps.mapOverlay.fitMap())}ajaxCall(t,e,i){this.ajaxHandler.call(t,i),this.maps.map&&$(this.options.selectors.cardsContainer).height($(this.options.selectors.cardsContainer).height()),$(this.options.selectors.loadingAlert).html($(this.options.selectors.cardsContainer).data("loading")),$(this.options.selectors.cardsContainer).html(""),this.options.selectors.cardsOverlayContainer&&$(this.options.selectors.cardsOverlayContainer).html('<p class="chargement-en-cours" role="alert">'+$(this.options.selectors.cardsContainer).data("loading")+"</p>");for(var[n,o]of Object.entries(this.maps))o&&o.emptyMap();e&&this.goTopListing()}goTopListing(){$(this.options.selectors.scrollable).animate({scrollTop:this.options.scrollTop},this.options.scrollSpeed)}handleResponse(t){$(this.options.selectors.loadingAlert).html("");var e,i,n,o=parseInt($(t).find(this.options.selectors.nb_filters).text())||0,o=(0<o&&$(this.options.selectors.nb_filters).text(o),$(t).find(this.options.selectors.nb_results).text()),o=($(this.options.selectors.nb_results).text(o),this.options.update_form&&t&&($("select",this.options.selectors.form).selectric("destroy"),$("select",this.options.selectors.outoverlay).selectric("destroy"),o=$(t).find(this.options.selectors.form).html(),$(this.options.selectors.form).html(o),o=$(t).find(this.options.selectors.outoverlay_facette).html(),$(this.options.selectors.outoverlay_facette).html(o),$("select",this.options.selectors.form).selectric(),$("select",this.options.selectors.outoverlay).selectric(),this.formEventHandler=new thListingFormEvent(this.options.selectors.form,this)),$(t).find(this.options.selectors.cardsContainer).html()),a=$(t).find(this.options.selectors.cardsOverlayContainer).html();t&&($(this.options.selectors.cardsContainer).html(o),$(this.options.selectors.cardsOverlayContainer).html(a));for([e,i]of Object.entries(this.maps))i&&(n="map"==e?$(this.options.selectors.cards,this.options.selectors.cardsContainer):$(this.options.selectors.cards,this.options.selectors.cardsOverlayContainer),i.setCards(n),i.update());this.paginationHandler.update(t),"function"==typeof this.options.afterUpdate&&this.options.afterUpdate(t),$(this.options.selectors.cardsContainer).removeAttr("style")}}class thListingMap{map=null;cards={};markers={};bounds=[];
1cluster=null;popins={};timeoutUpdate=null;markerBounds=null;isMobile=!1;slider_map=!1;options={selector:null,breakpointMobile:980,markerIcon:"default",markerIconHover:"default",markerWidth:300,layersMaxZoom:18,useCluster:!1,onlyMobile:!1,onlyDesktop:!1};constructor(t){t=$.extend(!0,this.options,t),this.options=t,null!==this.options.selector&&(document.body.clientWidth<this.options.breakpointMobile&&(this.is_mobile=!0),t=!1,t=!((this.options.onlyMobile||this.options.onlyDesktop)&&(this.options.onlyMobile&&this.is_mobile&&(t=!0),!this.options.onlyDesktop||this.is_mobile))||t)&&this.initMap()}initMap(){document.querySelector(this.options.selector)&&(this.map=th_maps.initSingleMap(document.querySelector(this.options.selector)))}setCards(t){var n,o;this.map&&(n=this,o={},t.each(function(){var e,t=+this.getAttribute("data-lat"),i=+this.getAttribute("data-lng");0!=t&&0!=i&&(e={id:this.getAttribute("data-id"),lat:t,lng:i,html:this.outerHTML},o[this.getAttribute("data-id")]=e,$(this).on("mouseover",function(){n.markers[e.id].setIcon(th_maps.markersIcons[n.options.markerIconHover])}),$(this).on("mouseout",function(){n.markers[e.id].setIcon(th_maps.markersIcons[n.options.markerIcon])}),$(this).on("click",function(t){t.preventDefault(),n.markers[e.id].fire("click")}))}),delete o.null,this.cards=o)}update(){if(this.map){this.emptyMap();var t,e=this.cards,i=this;if(clearTimeout(this.timeoutUpdate),!this.map)return setTimeout(function(){this.update(e)},500),!1;this.isMobile?(fm._obj.mobileSliderManager=new mapSliderMarkerMobile(fm._map.map),fm._obj.mobileSliderManager.setIndexDataName("id"),fm._obj.mobileSliderManager.init($("#results-listing")),fm._map.map=fm._obj.mobileSliderManager.map,fm._map.markerBounds=fm._obj.mobileSliderManager.markerBounds):(!1===this.slider_map?(t=document.getElementsByClassName("js-slider-carte-listing-sit"),this.slider_map=new Splide(t[0],{pagination:!1,autoplay:!1,easing:"ease",lazyLoad:"nearby",autoWidth:!0,focus:0,omitEnd:!0}).mount()):this.slider_map.refresh(),this.map._layersMaxZoom=this.options.layersMaxZoom,this.options.useCluster?(this.cluster=L.markerClusterGroup({showCoverageOnHover:!1,maxClusterRadius:function(t){return 9<t?20:80}}),$.each(e,function(t,e){i.cluster.addLayer(i.getMarker(e))}),this.map.addLayer(this.cluster)):($.each(e,function(t,e){e=i.getMarker(e);i.map.addLayer(e),i.bounds.push(e.getLatLng())}),this.markerBounds=L.latLngBounds(this.bounds))),setTimeout(()=>{this.fitMap()},250)}}emptyMap(){var i=this;this.options.useCluster&&i.hideCluster(),0<Object.keys(this.markers).length&&($.each(this.markers,function(t,e){i.map.removeLayer(e)}),this.markers.bounds=[])}fitMap(){var t;this.map&&(this.map.invalidateSize(),this.options.useCluster?void 0!==(t=this.cluster.getBounds())._southWest&&this.map.fitBounds(t,{padding:[25,25]}):this.map.fitBounds(this.markerBounds,{padding:[25,25]}))}getMarker(t){return this.markers[t.id]||this.createMarker(t),this.markers[t.id]}createMarker(t){this.markers[t.id]=th_maps.createMarker(this.map,{lat:t.lat,lng:t.lng},this.options.markerIcon),this.markers[t.id].on("click",()=>{}),this.markers[t.id].addEventListener("mouseover",()=>{this.markers[t.id].setIcon(th_maps.markersIcons[this.options.markerIconHover])}),this.markers[t.id].addEventListener("mouseout",()=>{this.markers[t.id].setIcon(th_maps.markersIcons[this.options.markerIcon])}),this.bounds.push(this.markers[t.id].getLatLng());var e="";this.isMobile||(e=(e='<div class="card-wrapper">'+t.html+"</div>").replace('src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7',""),this.popins[t.id]=th_maps.createInfoWindow(e,this.markers[t.id],this.markerWidth))}hideCluster(){if(!this.map)return null;this.cluster&&this.map.removeLayer(this.cluster)}}function parseCardSitClickOverlay(){var t=$(".js-card-sit-overlay.card:not(.parsed)").add(".js-card-sit-overlay.btn");t.on("keydown",function(t){32===t.keyCode&&(t.preventDefault(),$(this).trigger("click"),$(this).addClass("parsed"))}),t.on("click",function(t){t.preventDefault();var e=$(this),i=e.attr("href").split("?")[0]+"?overlay",n="overlay-sit",o=moment($(".dtstart",e).attr("datetime"),"YYYY-MM-DD").format("dddd Do MMMM"),a=$($(".hours-js",e).get(0)).text();$("#"+n+" .js-content-overlay-sit").html(""),$("#"+n+" .loader").removeClass("hide"),$("#"+n+" .bottom-part").addClass("hide"),$.get(i,function(t){$("#"+n+" .loader").addClass("hide"),$("#"+n+" .js-content-overlay-sit").html(t),$("#"+n+" .js-content-overlay-sit .time").html($("time",e).html()),$("#"+n+" .js-content-overlay-sit .floating-btn").attr("href",e.attr("href")),$("#"+n+" .bottom-part").removeClass("hide"),$("#"+n+" .date-js").text(o),a?($("#"+n+" .hour-js-text").removeClass("hide"),$("#"+n+" .hour-js-text").text(a)):$("#"+n+" .dt-schedule").addClass("hide");var t=document.querySelector("#"+n+" .maps");t&&th_maps.initSingleMap(t),0<$("#"+n+" .js-flux-light").length&&(t=i,thGlobalDefaults.dataLayer=dataLayerFromContext,window.dataLayer.push(thGlobalDefaults.dataLayer),window.dataLayer.push({event:"ajax_pageview",pagePath:t||window.location.href}),console.log("url de la fiche consulté",t),console.log("dataLayer",window.dataLayer))}),th_overlay.focusElOnClose[n]=this,th_overlay.open(n,!0,!0)}).addClass("parsed")}parseCardSitClickOverlay(),th_overlay.addCallbackOpen(function(t){"overlay-sit"==t&&setTimeout(function(){th_favoris.parseItems(),th_favoris.addEvents()},250)});class thListingPagination{options={selectorpagination:null,selectorpaginationOverlay:null,selectorpaginationLight:null};listingManager;
1constructor(t,e){this.listingManager=e,t=$.extend(!0,this.options,t),this.options=t,this.parse()}parse(){var e=this.listingManager;$("a",this.options.selectorpagination).on("click",function(t){t.preventDefault(),t.stopPropagation(),e.ajaxCall(this.getAttribute("href"),!0)}),$("a",this.options.selectorpaginationOverlay).on("click",function(t){t.preventDefault(),t.stopPropagation(),e.ajaxCall(this.getAttribute("href"),!0)})}update(t){var e=$(t).find(this.options.selectorpagination).html(),e=(void 0===e&&(e=""),$(this.options.selectorpagination).html(e),$(t).find(this.options.selectorpaginationOverlay).html());void 0===e&&(e=""),$(this.options.selectorpaginationOverlay).html(e),this.parse(),this.options.selectorpaginationLight&&(e=void 0===(e=$(t).find(this.options.selectorpaginationLight).html())?"":e)&&$(this.options.selectorpaginationLight).html(e)}}var listingSitDefault=new thListingManager({selectors:{mapoverlay:"#map-listing"},afterUpdate:function(t){th_favoris.parseItems(),th_favoris.addEvents(),parseCardSitClickOverlay(),100<parseInt($(t).find(listingSitDefault.options.selectors.nb_results).first().text())?$(".js-listing-btn-showmap").prop("aria-disabled","true"):($(".js-listing-btn-showmap").removeAttr("aria-disabled"),th_overlay.parse($(".js-listing-btn-showmap")));var e,t=window.location.pathname.split("/");let i="1";-1!==t.indexOf("page")&&(t=t[t.indexOf("page")+1],"string"!=typeof(e=t)||isNaN(e)||isNaN(parseFloat(e))||(i=t)),document.title.indexOf("- Page")&&(document.title=document.title.slice(0,document.title.indexOf("- Page")).trim()),document.title=document.title+" - Page "+i}}),listingCPT=new thListingManager({selectors:{listing:".js-listing-cpt",mapoverlay:"#map-listing"}}),btnShowMapListing=(th_overlay.addCallbackOpen(function(t){"overlay-map"==t&&setTimeout(function(){listingSitDefault.loaded&&listingSitDefault.initMapOverlay(),listingCPT.loaded&&listingCPT.initMapOverlay()},250)}),$(".js-listing-btn-showmap")),sitProposHeight=(btnShowMapListing.on("focus",function(t){$(this).find(".tooltiptext").css("display","block"),$(this).keyup(function(t){"Escape"===t.key&&$(this).find(".tooltiptext").css("display","none")})}),$(".single-sit .text")),btnShowMorePropos=$(".single-sit .btn-view-more"),btnTable=(sitProposHeight.each(function(){var t;120<=$(this).height()&&($(this).parent().addClass("view-more-active"),t=!1,btnShowMorePropos.on("click",function(){t=!t,$(this).prev().toggleClass("toggle-height"),t?$(this).attr("aria-expanded",!0):$(this).attr("aria-expanded",!1)}))}),$("#btn-control-table")),chartColors,bgChartCurve,YAxis,XAxis,ctx,myChart;function callbackMapSingleSIT(t){t.zoomControl.setPosition("topright"),t.setZoom(14),isTouchDevice()&&t.dragging.disable()}function callbackMapBlocItineraire(n){(mapiti=n).zoomControl.setPosition("topright");var t,o,e={lat:+$(n._container).data("departlat"),lng:+$(n._container).data("departlng")};function a(t,e){"hover"===e?(t._icon.classList.toggle("active"),t.setZIndexOffset(1e3)):(t._icon.classList.toggle("active"),t.setZIndexOffset(0))}e.lat&&e.lng&&($(n._container).data("departtext"),t=L.divIcon({className:"custom-etape-icon-actif",html:'<div class="marker-pin-actif"><span class="icon-ico-oeil"></span></div>',shadowUrl:null,iconSize:[30,30],iconAnchor:[15,15]}),th_maps.createMarker(n,e,t)),0<$(".js-bloc-pois").length&&(o=[],$(".js-poi .card").each(function(t){var e,i,t=L.divIcon({className:"poi-icon",html:'<div class="marker-pin" data-marker="'+(t+1)+'"><span class="icon-ico-oeil"></span></div>',iconSize:[30,30],iconAnchor:[15,15]});this.getAttribute("data-lat")&&this.getAttribute("data-lng")&&(i={lat:+this.getAttribute("data-lat"),lng:+this.getAttribute("data-lng")}).lat&&i.lng&&((e=th_maps.createMarker(n,i,t)).on("popupopen",t=>a(e,"hover")),e.on("popupclose",t=>a(e,"default")),e.on("mouseover",t=>a(e,"hover")),e.on("mouseout",t=>a(e,"default")),this.addEventListener("mouseenter",t=>a(e,"hover")),this.addEventListener("mouseleave",t=>a(e,"default")),i=this.outerHTML,th_maps.createInfoWindow(i,e,260),o.push(e))}));var i=1,r=[];$(".marker-elevation").each(function(){var t=L.divIcon({className:"custom-elevation-icon",html:'<div class="marker-pin" data-markerindex="'+i+'"></div>',iconSize:[12,12],iconAnchor:[6,6]}),e={lat:+this.getAttribute("data-lat"),lng:+this.getAttribute("data-lng")},e=th_maps.createMarker(n,e,t);r.push(e),i++}),0<r.length&&new L.featureGroup(r),$(".leaflet-marker-icon").each(function(){$(this).attr("tabindex","-1")})}btnTable.on("click",function(){"false"==$(this).attr("aria-expanded")?$(this).attr("aria-expanded",!0):$(this).attr("aria-expanded",!1)}),0<$("#denivele").length&&(chartColors="#002C2E",bgChartCurve="#03A688",YAxis=$("#denivele").attr("data-YAxis").split(","),YAxis.push(100),XAxis=$("#denivele").attr("data-XAxis").split(","),ctx=$("#denivele"),myChart=new Chart(ctx,{type:"line",data:{labels:XAxis,datasets:[{label:"DÉNIVELÉ (m)",data:YAxis,borderColor:chartColors,fill:!0,backgroundColor:bgChartCurve,pointRadius:0,pointHoverRadius:5,pointHitRadius:10,pointBackgroun
1dColor:"#DC1965",pointBorderColor:"#002C2E",pointBorderWidth:2,lineTension:.1}]},hover:{mode:"index"},options:{responsive:!0,legend:{display:!1},maintainAspectRatio:!1,scales:{xAxes:[{display:!0,ticks:{beginAtZero:!0,stepSize:10,fontColor:"#FFF"},scaleLabel:{display:!1,labelString:"DISTANCE (km)",fontStyle:"normal",fontFamily:"montserrat"},gridLines:{drawOnChartArea:!1}}],yAxes:[{display:!0,ticks:{beginAtZero:!0,stepSize:160,fontColor:"#FFF"},gridLines:{drawOnChartArea:!0,color:"#1A4243"},scaleLabel:{display:!1,labelString:"ALTITUDE (m)",fontFamily:"montserrat",fontStyle:"normal",padding:{bottom:20}}}]},tooltips:{bodyFontFamily:"montserrat",titleFontFamily:"montserrat",displayColors:!1}}}),document.getElementById("denivele").onmousemove=function(t){var e=myChart.getElementAtEvent(event);0<e.length?$("[data-markerindex="+e[0]._index+"]").addClass("active"):$("[data-markerindex]").removeClass("active")});var calendarDateFormat="DD/MM/YYYY",calendarDateLanguage=$("html").data("lang");function addNoScroll(){document.body.classList.contains("no-scroll")||document.body.classList.add("no-scroll")}function removeNoScroll(){document.body.classList.contains("no-scroll")&&!$(th_overlay.selector_overlay_fiche_sit).hasClass("open")&&document.body.classList.remove("no-scroll")}$(".bloc-form input.frm_date").each(function(){isTouchDevice()?$(this).attr("type","date"):($(this).attr("type","text"),$(this).attr("placeholder",""),$(this).dateRangePicker({inline:!1,singleDate:!0,alwaysOpen:!1,singleMonth:!0,showShortcuts:!1,showTopbar:!1,monthSelect:!0,yearSelect:[2020,2030],startOfWeek:"monday",customArrowPrevSymbol:'<span class="icon-ico-arrow-left-slider"></span>',customArrowNextSymbol:'<span class="icon-ico-arrow-right-slider"></span>',format:calendarDateFormat,language:calendarDateLanguage,setValue:function(t,e,i,n){$(this).parent().addClass("has-content"),$(this).val(e),$(this).hasClass("no-refresh")||$(this).trigger("force-change")}}))}),void 0!==navigator.share&&$("input,label,a",".social-share").on("click",function(t){t.preventDefault(),t.stopPropagation();var e=document.querySelector('meta[name="description"]'),i="",e=(e&&(i=e.getAttribute("content")),{title:document.title,text:i,url:document.location.href});try{navigator.share(e)}catch(t){console.log("erreur de partage",t)}}),th_overlay.addCallbackOpen(addNoScroll),th_overlay.addCallbackClose(removeNoScroll),Splide.defaults={i18n:splideTranslation};for(var slidersAncres=document.getElementsByClassName("slider-ancres"),i=0;i<slidersAncres.length;i++){var sliderAncre=new Splide(slidersAncres[i],{pagination:!1,autoplay:!1,easing:"ease",autoWidth:!0,focus:0,omitEnd:!0});sliderAncre.mount()}class CarteInteractive{form=null;map=null;mapContainer=null;markers=[];markersByGroup={};cluster=null;lastActiveMarker=null;filterQueryParam="filters";constructor(t,e){this.form=t,this.mapContainer=e,this.carteEvent(),this.inputEvents(),this.updateFiltersCount()}carteEvent(){this.mapContainer.classList.contains("parsed")||(this.loadMap(),this.loadPoints(),this.mapContainer.classList.add("parsed"))}loadMap(){this.map=th_maps.initSingleMap(this.mapContainer),this.initCluster()}initCluster(){this.map&&"function"==typeof L.markerClusterGroup&&(this.cluster=L.markerClusterGroup({showCoverageOnHover:!1,zoomToBoundsOnClick:!1,spiderfyOnMaxZoom:!0,maxClusterRadius(t){return 9<t?20:80}}),this.cluster.on("clusterclick",t=>{t?.layer?.spiderfy&&t.layer.spiderfy()}),this.map.addLayer(this.cluster))}loadPoints(){this.markers=[],this.markersByGroup={},carteInteractivePoints.forEach(t=>{let e="selection-"+t.id,i=null,n=null;t.icon&&(i=t.icon,n=t.icon,th_maps.addMarkerIcon(i,{className:i,html:'<div class="marker-pin-actif"></div>',iconSize:[30,30],iconAnchor:[15,15]})),t.icon_partenaire&&(n=t.icon_partenaire,th_maps.addMarkerIcon(n,{className:n,html:'<div class="marker-pin-actif"></div>',iconSize:[30,30],iconAnchor:[15,15]})),t.points.forEach(t=>{let o=th_maps.createMarker(null,{lat:t.lat,lng:t.lng},t.is_adherent?n:i||"default",e),a=t.lat,r=t.lng,s=t.id;this.markers.push(o),this.markersByGroup[e]||(this.markersByGroup[e]=[]),this.markersByGroup[e].push(o),o.on("click",async()=>{this.lastActiveMarker&&this.lastActiveMarker._icon&&this.lastActiveMarker._icon.classList.remove("is-active"),o._icon.classList.add("is-active"),this.lastActiveMarker=o;var t=new URLSearchParams;t.append("action","get_carte_interactive_point"),t.append("post_id",s);try{var e=await(await fetch(localizeParams.ajaxurl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},body:t.toString(),credentials:"same-origin"})).text(),i=JSON.parse(e).html,n=th_maps.createInfoWindow(i);n.on("remove",()=>{this.lastActiveMarker&&this.lastActiveMarker._icon&&this.lastActiveMarker._icon.classList.remove("is-active")}),n.setLatLng({lat:a,lng:r}).openOn(this.map),new LazyLoad({elements_selector:".lazy"}),th_favoris.parseItems(),th_favoris.addEvents()}catch(t){console.error("Error loading point data:",t)}})})}),this.updateMapBounds(),this.form.addEventListener("submit",t=>{t.preventDefault(),th_overlay.close("overlay-filtres-carte")})}inputEvents(){var t=this.form.querySelectorAll("input[type='checkbox']");let e=t=>{let e=t.target,i="selection-"+e.value;setTimeout(()=>{this.toggleGroupMarkers(i,e.checked),this.updateMapBounds()},50),this.updateFiltersCount(),this.syncFiltersToUrl()};t.forEach(t=>{t.addEventListener("change",e),t.addEventListener("force-change",e)}),this.initFiltersState()}initFiltersState(){this.applyFiltersFromUrl()||(this.openByDefault(),this.syncFiltersToUrl())}openByDefault(){this.form.querySelectorAll("input[type='checkbox']").forEach(t=>{t.hasAttribute("data-display-default")&&t.click()})}applyFiltersFromUrl(){var t=new URL(window.location.href).searchParams.get(this.filterQueryParam);if(!t)return!1;t=t.split(",").map(t=>
1t.trim()).filter(Boolean);if(!t.length)return!1;let i=new Set(t);t=this.form.querySelectorAll("input[type='checkbox']");let n=!1;return t.forEach(t=>{var e=i.has(t.value);t.checked!==e&&(t.checked=e,t.dispatchEvent(new CustomEvent("force-change",{bubbles:!0}))),e&&(n=!0)}),n}syncFiltersToUrl(){var t=new URL(window.location.href),e=Array.from(this.form.querySelectorAll("input[type='checkbox']:checked")).map(t=>t.value);e.length?t.searchParams.set(this.filterQueryParam,e.join(",")):t.searchParams.delete(this.filterQueryParam),window.history.replaceState({},"",""+t.pathname+t.search+t.hash)}updateMapBounds(){var t;this.map&&(t=this.getVisibleMarkers()).length&&(t=(this.cluster||new L.featureGroup(t)).getBounds()).isValid()&&this.map.fitBounds(t,{padding:[50,50],maxZoom:15})}toggleGroupMarkers(t,e){t=this.markersByGroup[t]||[];t.length&&(this.cluster?e?t.forEach(t=>{this.cluster.hasLayer(t)||this.cluster.addLayer(t)}):this.cluster.removeLayers(t):t.forEach(t=>{e?this.map.hasLayer(t)||t.addTo(this.map):this.map.hasLayer(t)&&this.map.removeLayer(t)}))}getVisibleMarkers(){return Array.from(this.form.querySelectorAll("input[type='checkbox']:checked")).reduce((t,e)=>t.concat(this.markersByGroup["selection-"+e.value]||[]),[])}updateFiltersCount(){var t=this.form.querySelectorAll(".js-carte-interactive-filter"),e=document.querySelector(".js-carte-interactive-nb-total");let i=0;t.forEach(t=>{var e=t.querySelectorAll("input:checked").length,t=t.querySelector(".js-active-filters-container");i+=e,(t.querySelector(".js-active-filters").textContent=e)?t.classList.contains("is-active")||t.classList.add("is-active"):t.classList.remove("is-active")}),0===i?e.innerText="":e.innerText=i}}document.addEventListener("DOMContentLoaded",function(){var t,e;document.querySelector("main .carte-interactive")&&(t=document.querySelector(".js-carte-interactive-form"),e=document.querySelector(".js-carte-interactive-map"),new CarteInteractive(t,e))}),th_maps.onLoad(function(){th_maps.addMarkerIcon("default",{iconUrl:document.location.origin+"/app/themes/hautemarne/assets/images/markers/ico-marker-map-2x.png",shadowUrl:null,iconSize:[30,30],iconAnchor:[15,15]}),th_maps.addMarkerIcon("hover",{iconUrl:document.location.origin+"/app/themes/hautemarne/assets/images/markers/ico-marker-map-hover-2x.png",shadowUrl:null,iconSize:[30,30],iconAnchor:[15,15]})}),th_maps.init(thConfig.map.init),isTouchDevice()&&($(".lang").addClass("is-display"),$(".lang-dropdown > a").on("click",function(t){t.preventDefault(),$(this).next().toggleClass("open")})),isIE()&&(document.getElementsByTagName("body")[0].className+=" ie"),isNoHover()&&(document.getElementsByTagName("body")[0].className+=" no-hover"),th_accordeon.init(),th_overlay.init(),th_expand.parse(),th_ancres.init(),thVheight.init(),setTimeout(function(){$("body").addClass("overlay-load")},1e3),$(".zoombox").zoombox(),document.addEventListener("scroll",function(){100<$(this).scrollTop()?$("body").addClass("is-scrolled"):$("body").removeClass("is-scrolled")});var lastscrolltop=0,lastIsDirTop=0,sitProposHeight=(document.addEventListener("scroll",function(){var t=$(document).scrollTop();t<lastscrolltop&&0==lastIsDirTop&&(lastIsDirTop=1,$(document.body).addClass("scrolldir-top",!0)),lastscrolltop<t&&1==lastIsDirTop&&(lastIsDirTop=0,$(document.body).removeClass("scrolldir-top",!0)),lastscrolltop=t}),$("a figcaption").on("touchstart click",function(t){t.stopPropagation(),t.preventDefault()}),$(".single-sit .sit-a-propos .text")),btnShowMorePropos=$(".single-sit .btn-view-more"),blocCarteInteractive=(sitProposHeight.each(function(){var t;188<=$(this).height()&&($(this).parent().addClass("view-more-active"),t=!1,btnShowMorePropos.on("click",function(){t=!t,$(this).prev().toggleClass("toggle-height"),t?$(this).attr("aria-expanded",!0):$(this).attr("aria-expanded",!1)}))}),{bloc:document.querySelector(".bloc-carte-interactive"),slider:null,cards:null,map:null,mapCities:null,init:function(){this.cards=$(".slide",this.slider),this.map=$(this.bloc).find("#carte-interactive"),this.mapCities=$(this.map).find(".city-name"),this.initSlider(),this.goToCard()},initSlider:function(){var t,e;
1this.bloc&&(t=this.bloc.querySelector(".th-slider"),e=this.bloc.querySelectorAll(".nav-buttons button"),t)&&(this.slider=new thSlider(t,{draggable:!0,scrollListener:!0,oninit:function(t){2===e.length&&thSliderTools.onInitNav(t,e)},onchange:function(t){2===e.length&&thSliderTools.onChangeNav(t,e)}}))},goToCard:function(){var n=this;$.each(this.mapCities,function(t,e){var i=$(this).attr("data-city");$(this).on("click",function(t){n.changeAspect(t.currentTarget);t=$('.slide[data-city="'+i+'"]');n.slider.goto(t.index())})})},changeAspect:function(t){t=$(t);$.each(this.mapCities,function(t,e){$(this).attr("font-size",12)}),t.attr("font-size",14)}});function initform(){$('<span class="select-custom"></span>').insertAfter(".bloc-form select, .facettes select"),0<$(".bloc-form").length&&($("form select").on("change",function(){var t=$(this).val();$('option[value="'+t+'"]',this).hasClass("frm_other_trigger")?$(".frm_other_input").show():$(".frm_other_input").hide(),$(this).parent().parent().parent().addClass("has-content")}),$('.frm_single_upload input[type="file"]').addClass("jfilestyle"),$(".bloc-form input, .bloc-form textarea").each(function(){""!=$(this).val()?$(this).parent().addClass("has-content"):$(this).parent().removeClass("has-content")}),$(".bloc-form input, .bloc-form textarea").focusout(function(){var t=this;setTimeout(function(){""!=$(t).val()?$(t).parent().addClass("has-content"):$(t).parent().removeClass("has-content")},500)}),$(".bloc-form input, .bloc-form textarea").focus(function(){$(this).parent().addClass("has-content")}),$(".bloc-form select").each(function(){""!=$(this).val()?$(this).parents(".form-field").addClass("has-content"):$(this).parents(".form-field").removeClass("has-content")}),$(".bloc-form select").focusout(function(){""!=$(this).val()?$(this).parents(".form-field").addClass("has-content"):$(this).parents(".form-field").removeClass("has-content")}),$(".bloc-form select").focus(function(){$(this).parents(".form-field").addClass("has-content")}),$('.bloc-form select , .bloc-form input[type="number"] , .bloc-form .frm_date').each(function(){$(this).parents(".form-field").addClass("label-stay")}),$(".bloc-form .frm_opt_container").each(function(){$(this).parents(".form-field").addClass("label-relative")}),$(".bloc-form .frm_date").each(function(){$(this).parents(".form-field").addClass("input-is-date")}))}blocCarteInteractive.init(),initform();var $scrollToEl=$('[data-scrolltothis="true"]'),offsetScrollTo,currentLangFormidable=(0<$scrollToEl.length&&(offsetScrollTo=$scrollToEl.offset(),$(document).scrollTop(offsetScrollTo.top-80)),$(".frm_radio > label").append("<span></span>"),$(".frm_checkbox > label").append('<span class="fake-input"></span>'),0<$('.bloc-form input[type="number"]').length&&$('.bloc-form input[type="number"]').each(function(){$(this).parent().append('<div class="dec cta-quantity"><span class="icon-ico-moins"></span></div><div class="inc cta-quantity"><span class="icon-ico-plus"></span></div>');var n=$(this).parent().find(".cta-quantity"),o=1,a=0,r=20;$(this).attr("step")&&(o=parseInt($(this).attr("step"))),$(this).attr("min")&&(a=parseInt($(this).attr("min"))),$(this).attr("max")&&(r=parseInt($(this).attr("max"))),n.on("click",function(){var t,e=$(this),i=n.parent().find("input").val();e.hasClass("inc")?(t=parseFloat(i)+o,r<t&&(t=r)):(t=parseFloat(i)-o)<a&&(t=a),n.parent().find("input").val(t)})}),"fr"),buttonUploadText={fr:"Parcourir"};function initWebsiteSearch(){var e=$(".overlay-search input"),t=$(".overlay-search .button-explore"),i=$(".container-resultats");let n=$(".overlay-search .js-listing-container"),o=$(".overlay-search .js-search-head-results"),a=$(".overlay-search .js-search-tags"),r=$(".overlay-search .js-alert-instruction");th_overlay.addCallbackOpen(function(t){"overlay-search"==t&&setTimeout(function(){e.focus()},500)}),e.focusin(function(){$(this).parents("form:first").addClass("focused")}),t.on("click",function(){setTimeout(function(){e.focus(),$(".overlay-search form").addClass("focused")},500)}),setTimeout(function(){thuriaSearch.init(algolia.application_id,algolia.search_api_key,JSON.parse(algolia.indexes),e.get(0),i.get(0),n.get(0),null,searchCallback,o.get(0),a.get(0),r.get(0))},1e3)}function searchCallback(){var t=document.querySelector(".js-listing-container");t.classList.contains("is-empty")&&t.classList.remove("is-empty")}$('.frm_single_upload input[type="file"], .frm_multi_upload input[type="file"]').addClass("jfilestyle").attr("data-buttonText",buttonUploadText[currentLangFormidable]),$('.frm_single_upload input[type="file"], .frm_multi_upload input[type="file"]').parents(".form-field").addClass("input-type-file"),$('.frm_single_upload input[type="file"], .frm_multi_upload input[type="file"]').on("click",function(){""!=$(this).parents(".jfilestyle").first("input div").value?$(this).parents(".form-field:first").addClass("has-content"):$(this).parents(".form-field:first").removeClass("has-content")}),document.querySelectorAll('.bloc-form .frm_error[role="alert"]').forEach(t=>{t.removeAttribute("role")}),(()=>{class e{constructor(t){this.bloc=t,this.selectEl=this.bloc.querySelector(".js-
1horaires-dropdown-dropdown"),this.itemEls=this.bloc.querySelectorAll(".horaires-dropdown__item"),this.splideEl=this.bloc.querySelector(".horaires-dropdown__splide"),this.splide,this.itemEls.forEach((t,e)=>{t.dataset.itemIndex=e}),this.activeItemElClassName="horaires-dropdown__item--active",this.activeItemEl=this.bloc.querySelector("."+this.activeItemElClassName),$(this.selectEl).selectric(),$(this.selectEl).on("change",t=>{this.activeItemEl&&this.activeItemEl.classList.remove(this.activeItemElClassName);t=parseInt(t.target.value);this.activeItemEl=this.itemEls[t],this.activeItemEl.classList.add(this.activeItemElClassName),this.splide&&this.splide.go(t)}),this.splideEl&&1<this.itemEls.length&&(this.splide=new Splide(this.splideEl,{pagination:!1,arrows:!1,autoplay:!1,drag:!1}).mount())}}document.querySelectorAll(".js-horaires-dropdown").forEach(function(t){new e(t)})})(),(()=>{for(var t=document.getElementsByClassName("js-cover-sejour-slider"),e=0;e<t.length;e++)new Splide(t[e],{pagination:!1,autoplay:!1,easing:"ease",lazyLoad:"nearby",autoWidth:!0,focus:0,direction:"rtl",omitEnd:!0,breakpoints:{980:{direction:"ltr"}}}).mount()})(),(()=>{$(document).ready(function(){var i=parseInt(getComputedStyle(document.body).getPropertyValue("--header-height"));$("#contact-anchor").on("click",function(t){var e;""!==this.hash&&(t.preventDefault(),e=this.hash,$("html, body").animate({scrollTop:$(e).offset().top-i},800,function(){window.location.hash=e}))}),$(".btn-voir-dates").on("click",function(t){var e;""!==this.hash&&(t.preventDefault(),e=this.hash,$("html, body").animate({scrollTop:$(e).offset().top-i},800,function(){window.location.hash=e}))})});let t=document.querySelector(".js-galerie-sit-slider");t&&document.addEventListener("DOMContentLoaded",function(){new Splide(t,{pagination:!1,autoplay:!1,easing:"ease",lazyLoad:!1,autoWidth:!0,focus:0,omitEnd:!0}).mount()});var e=document.querySelector(".js-slider-sit-horaires");let i=document.querySelector(".js-slider-sit-horaires .current");i=(i=i&&i.getAttribute("data-numslide"))||0,e&&new Splide(e,{pagination:!1,autoplay:!1,easing:"ease",lazyLoad:"nearby",autoWidth:!0,focus:0,omitEnd:!0}).mount().go(i-1),(e=document.querySelector(".js-sejours-sit-slider"))&&new Splide(e,{pagination:!1,autoplay:!1,easing:"ease",lazyLoad:"nearby",autoWidth:!0,focus:0,omitEnd:!0}).mount(),(e=document.querySelector(".js-relation-sit-slider"))&&new Splide(e,{pagination:!1,autoplay:!1,easing:"ease",lazyLoad:"nearby",autoWidth:!0,focus:0,omitEnd:!0}).mount()})(),th_overlay.addCallbackOpen(function(t){"overlay-carte-detail-sit"==t&&setTimeout(function(){var t=document.querySelector("#carte-detail-sit");t&&!th_maps.getMap(t)&&th_maps.initSingleMap(t)},250)}),document.addEventListener("DOMContentLoaded",function(){if(null!=document.querySelector(".overlay-search")){let t=setInterval(function(){"undefined"!=typeof algolia&&(initWebsiteSearch(),clearInterval(t))},1e3)}});var thuriaSearch={scriptLoaded:!1,client:null,index:null,language:null,input:null,searchContainer:null,searchScrollContainer:null,searchBtnMoreContainer:null,searchHeadContainer:null,searchInstructionContainer:null,searchTags:null,callbackUpdate:null,lastSearch:0,lastText:null,lastResultNbPage:0,lastHitsCountPerIndex:{},lastPage:0,lastPostHits:null,lastPostHitGenerated:0,intervalGenerateHit:null,intervalGeneratePostHit:null,allTags:null,lockNextPage:!1,noresultTemplate:null,timeoutInputLimit:null,timeoutInputEvent:null,init:function(t,e,i,n,o,a,r,s,l,c,u){if("undefined"==typeof algoliasearch)return setTimeout(function(){thuriaSearch.init(t,e,i,n,o,a,r)},500),!1;thuriaSearch.setLanguage(algolia.fulllang),thuriaSearch.client=algoliasearch(t,e),thuriaSearch.index=i,thuriaSearch.input=n,thuriaSearch.searchContainer=o,thuriaSearch.searchScrollContainer=a,thuriaSearch.searchBtnMoreContainer=r,thuriaSearch.callbackUpdate=s,thuriaSearch.searchHeadContainer=l,thuriaSearch.searchInstructionContainer=u,thuriaSearch.searchTags=c;s=thuriaSearch.searchContainer.getAttribute("data-noresult-template");return s&&(l=document.querySelector(s),thuriaSearch.noresultTemplate=l?l.innerHTML:null,thuriaSearch.noresultTemplate)&&(thuriaSearch.searchContainer.innerHTML=thuriaSearch.noresultTemplate,this.initAccordions(),this.listeChangeMenu()),this.initSearchByTags(),thuriaSearch.initInputEvents(),thuriaSearch.searchScrollContainer&&thuriaSearch.initScrollEvents(),thuriaSearch.searchBtnMoreContainer&&thuriaSearch.initBtnEvents(),!0},setLanguage:function(t){thuriaSearch.language=t},initInputEvents:function(){thuriaSearch.input.closest("form").addEventListener("submit",t=>{t.preventDefault()}),thuriaSearch.input.addEventListener("keypress",t=>{this.allTags?.forEach(t=>{t.classList.remove("is-active")}),13==t.which&&t.preventDefault()}),thuriaSearch.input.addEventListener("keydown",()=>{this.allTags?.forEach(t=>{t.classList.remove("is-active")}),setTimeout(function(){thuriaSearch.search(thuriaSearch.input.value)},25)}),thuriaSearch.input.addEventListener("keydown",()=>{this.allTags?.forEach(t=>{t.classList.remove("is-active")}),clearInterval(thuriaSearch.timeoutInputLimit),thuriaSearch.timeoutInputLimit=setTimeout(function(){thuriaSearch.search(thuriaSearch.input.value)},400)})},initScrollEvents:function(){thuriaSearch.searchScrollContainer.addEventListener("touchstart",function(){thuriaSearch.input.id===document.activeElement.id&&document.getElementById("search-fake-btn").focus()}),thuriaSearch.searchScrollContainer.addEventListener("scroll",function(){0<thuriaSearch.searchScrollContainer.scrollTop&&thuriaSearch.searchScrollContainer.scrollHeight-thuriaSearch.searchScrollContainer.scrollTop-thuriaSearch.searchScrollContainer.getBoundingClientRect().height<1024&&thuriaSearch.nextPage()})},initBtnEvents:function(){thuriaSearch.searchBtnMoreContainer.children[0].addEventListener("touchstart",function(t){t.preventDefault(),t.stopPropagation(),thuriaSearch.searchBtnMoreContainer.className+=" hide",thuriaSearch.nextPage()}),thuriaSearch.searchBtnMoreContainer.children[0].addEventListener("click",function(t){t.preventDefault(),t.stopPropagation(),thuriaSearch.searchBtnMoreContainer.className+=" hide",thuriaSearch.nextPage()})},generateFilters:function(){let t="taxonomies.language:"+thuriaSearch.language+" AND has_ended:false";return"undefined"!=typeof thuria_station&&null!==thuria_station&&(t+=` AND (stations:${thuria_station} OR has_stations:false)`),t},generateQueries:function(n,o){$(".js-search-query",this.searchHeadContainer).text(' "'+n.query+'"');let a=[];return $.each(thuriaSearch.index,function(t,e){let i=!1;o&&0<thuriaSearch.lastHitsCountPerIndex[e]&&(i=!0),o&&!i||a.push($.extend(!1,n,{indexName:e}))}),a},search:function(t){clearTimeout(thuriaSearch.timeoutInputEvent),thuriaSearch.lastText=t,thuriaSearch.lastSearch++;let i=thuriaSearch.lastSearch;var e;2<thuriaSearch.lastText.length?($(this.searchScrollContainer).removeClass("is-empty"),$(this.searchInstructionContainer).addClass("is-empty"),e=thuriaSearch.generateQueries({query:thuriaSearch.lastText,params:{page:0,hitsPerPage:12,filters:this.generateFilters()}}),thuriaSearch.timeoutInputEvent=setTimeout(function(){"undefined"!=typeof dataLayer&&dataLayer.push({event:"sitesearch",searchTerm:t})},2e3),thuriaSearch.client.search(e,function(t,e){t||(t=e.results,thuriaSearch.handleSearchResult(t,i))}
1)):($(".js-search-query",this.searchHeadContainer).text(""),$(this.searchScrollContainer).addClass("is-empty"),$(this.searchInstructionContainer).removeClass("is-empty"),thuriaSearch.noresultTemplate?(thuriaSearch.searchContainer.innerHTML=thuriaSearch.noresultTemplate,this.initAccordions(),this.listeChangeMenu()):thuriaSearch.handleSearchResult({hits:[]},i))},nextPage:function(){var t;!thuriaSearch.lockNextPage&&1<thuriaSearch.lastResultNbPage&&thuriaSearch.lastResultNbPage>thuriaSearch.lastPage&&(thuriaSearch.lockNextPage=!0,t=thuriaSearch.generateQueries({query:thuriaSearch.lastText,params:{page:thuriaSearch.lastPage+1,hitsPerPage:12,filters:this.generateFilters()}},!0),thuriaSearch.client.search(t,function(t,e){var i,n;t||(t=e.results,i=null,n=0,$.each(t,function(t,e){e.nbPages>n&&(n=e.nbPages,i=e.page,thuriaSearch.lastHitsCountPerIndex[e.index]=e.hits.length)}),thuriaSearch.lastPage=i,thuriaSearch.lastResultNbPage=n,thuriaSearch.handleResponse(t))}))},handleSearchResult:function(t,e){if(thuriaSearch.lastSearch==e){thuriaSearch.searchContainer.innerHTML="",thuriaSearch.searchContainer.scrollTop=0,thuriaSearch.lockNextPage=!1;let i=null,n=0;$.each(t,function(t,e){e.nbPages>n&&(n=e.nbPages,i=e.page),thuriaSearch.lastHitsCountPerIndex[e.index]=void 0!==e.hits?e.hits.length:0}),thuriaSearch.lastPage=i,0<(thuriaSearch.lastResultNbPage=n)?thuriaSearch.handleResponse(t):(e=$(".js-search-nbresult",this.searchHeadContainer),$(".js-search-nbresult",this.searchHeadContainer).text("0 "+e.attr("data-text")),thuriaSearch.searchContainer.innerHTML=thuriaSearch.noresultTemplate||"",this.initAccordions(),this.listeChangeMenu(),thuriaSearch.searchBtnMoreContainer&&!thuriaSearch.searchBtnMoreContainer.className.match(/hide/)&&(thuriaSearch.searchBtnMoreContainer.className+=" hide"))}},handleResponse:function(t){console.log(t);let i="",n=0;$.each(t,function(t,e){n+=parseInt(e.nbHits),$.each(e.hits,function(t,e){i+="<li>"+e.cards_html+"</li>"})});t=$(".js-search-nbresult");$(".js-search-nbresult",this.searchHeadContainer).text(n+" "+t.attr("data-text")),thuriaSearch.searchContainer.innerHTML+=i,thuriaSearch.lastPage+1<thuriaSearch.lastResultNbPage&&thuriaSearch.searchBtnMoreContainer&&(thuriaSearch.searchBtnMoreContainer.className=thuriaSearch.searchBtnMoreContainer.className.replace(" hide","")),thuriaSearch.callbackUpdate&&thuriaSearch.callbackUpdate(),setTimeout(function(){thuriaSearch.lockNextPage=!1},100)},initSearchByTags:function(){this.allTags=this.searchTags?.querySelectorAll("[data-search]"),this.allTags?.forEach(e=>{e.addEventListener("click",t=>{this.allTags?.forEach(t=>{t.classList.remove("is-active")}),e.classList.add("is-active"),thuriaSearch.search(e.dataset.search)})})},initAccordions:function(){th_accordeon.init()},listeChangeMenu:function(){let n=document.querySelector(".js-current-menu"),o=document.querySelectorAll(".js-change-menu"),a=document.querySelectorAll('[id^="menu-search-"]');o.forEach(i=>{i.addEventListener("click",t=>{t.preventDefault();let e=i.dataset.target;t=i.textContent.trim();n&&(n.textContent=t),o.forEach(t=>t.classList.remove("active")),i.classList.add("active"),a.forEach(t=>{t.id===e?t.removeAttribute("aria-hidden"):t.setAttribute("aria-hidden","true")})})})}},th_favoris=((()=>{for(var t=document.getElementsByClassName("js-bloc-accompagnement-slider"),e=0;e<t.length;e++)new Splide(t[e],{type:"loop",pagination:!1,autoplay:!1,easing:"ease",lazyLoad:"nearby",autoWidth:!0,omitEnd:!0,perPage:3,focus:"center",breakpoints:{599:{arrows:!1,pagination:!0}}}).mount()})(),(()=>{for(var t=document.getElementsByClassName("js-bloc-agenda-timeline-slider"),e=0;e<t.length;e++)new Splide(t[e],{pagination:!1,autoplay:!1,easing:"ease",lazyLoad:"nearby",autoWidth:!0,focus:0,omitEnd:!0}).mount()})(),(()=>{for(var t=document.getElementsByClassName("js-bloc-carte-interactive-slider"),e=0;e<t.length;e++){var i=new Splide(t[e],{pagination:!1,autoplay:!1,easing:"ease",lazyLoad:"nearby",autoWidth:!0,focus:0,omitEnd:!0,direction:"rtl",breakpoints:{980:{direction:"ltr"}}}).mount();$(t[e]).data("splide",i)}({bloc:$(".bloc-carte-interactive"),slider:null,sliderWrapper:null,cards:null,map:null,mapZones:null,currentSlide:null,init:function(){this.sliderWrapper=this.bloc.find(".js-bloc-carte-interactive-slider").first(),this.slider=this.sliderWrapper.data("splide"),this.cards=this.sliderWrapper.find(".splide__list > .splide__slide"),this.map=this.bloc.find("#MAP"),this.mapZones=this.map.find("#zones [id^=zone]"),this.dataZones=this.map.find("[data-ville-group]"),this.villes=this.bloc.find("#villes [id^=ville]"),this.elementsList=[],this.slider&&(this.markInactiveElements(),this.hoverEffect())},hoverEffect:function(){let a=this,r=this.slider;this.mapZones.each(function(){let t=$(this);
1var e=$(this).attr("id"),i=$(this).attr("data-zone");let n=a.getSlideIndexById(i),o=$(a.map).find("[data-ville-group='"+e+"']");-1!==n&&($(this).on("mouseover",function(){a.changeColor($(this),o)}),$(this).on("mouseleave",function(){a.backToOriginalColor($(this),o)}),$(this).on("click",function(){$(this).off("mouseleave"),a.mapZones.each(function(){$(this).removeClass("zone-is-active")}),a.villes.each(function(){$(this).removeClass("ville-is-active"),$(this).removeClass("zone-is-hovered")}),a.changeColor($(this),o),r.go(n)}),r.on("active",function(){r.index===n?a.changeColor(t,o):a.backToOriginalColor(t,o)}))}),this.villes.each(function(){let t=$(this);var e=$(this).attr("data-ville");let i=a.getSlideIndexById(e);a.elementsList.push(e),-1!==i&&($(this).on("click",function(){r.go(i),a.villes.each(function(){$(this).removeClass("ville-is-active"),$(this).removeClass("zone-is-hovered")}),a.mapZones.each(function(){$(this).removeClass("zone-is-active")}),a.highlightCity($(this))}),r.on("active",function(){r.index===i?a.highlightCity(t):a.deactivateHighlightCity(t)}))})},getSlideIndexById:function(t){if(t)for(var e=0;e<this.cards.length;e++)if(($(this.cards[e]).attr("data-id")||$(this.cards[e]).find("[data-id]").first().attr("data-id"))===t)return e;return-1},markInactiveElements:function(){let t=this;this.mapZones.each(function(){$(this).toggleClass("not-active",-1===t.getSlideIndexById($(this).attr("data-zone")))}),this.villes.each(function(){$(this).toggleClass("not-active",-1===t.getSlideIndexById($(this).attr("data-ville")))})},changeColor:function(t,e){for(var i=0;i<e.length;i++)$(e[i]).addClass("zone-is-hovered");t.addClass("zone-is-active")},backToOriginalColor:function(t,e){for(var i=0;i<e.length;i++)$(e[i]).removeClass("zone-is-hovered");t.removeClass("zone-is-active")},highlightCity:function(t){t.addClass("ville-is-active")},deactivateHighlightCity:function(t){t.removeClass("ville-is-active")}}).init()})(),$(".facette-radio, .facette-checkbox, .facette-switch").each(function(){0==$('[ data-js="span-checkbox"]',this).length&&$(this).append('<span data-js="span-checkbox"></span>')}),$('.bloc-form .frm_checkbox input[type="checkbox"]').on("change",function(){$(this).is(":checked")?$(this).closest(".frm_checkbox").addClass("is-checked"):$(this).closest(".frm_checkbox").removeClass("is-checked")}),$('.bloc-form .frm_radio input[type="radio"]').on("change",function(){var t=$(this).closest(".frm_opt_container");$(t).find('input[type="radio"]').each(function(){this.checked?$(this).closest(".frm_radio").addClass("is-checked"):$(this).closest(".frm_radio").removeClass("is-checked")})}),$('.bloc-form .frm_switch_block input[type="checkbox"]').on("change",function(){$(this).is(":checked")?$(this).closest(".frm_switch_block").addClass("is-checked"):$(this).closest(".frm_switch_block").removeClass("is-checked")}),$(".bloc-galerie .image-link").on("keydown",function(t){32===t.keyCode&&(t.preventDefault(),$(this).trigger("click"))}),(()=>{for(var t=document.getElementsByClassName("js-bloc-guides-slider"),e=0;e<t.length;e++)new Splide(t[e],{pagination:!1,autoplay:!1,easing:"ease",lazyLoad:"nearby",autoWidth:!0,focus:0,omitEnd:!0}).mount()})(),(()=>{for(var t=document.getElementsByClassName("js-bloc-relation-slider"),e=0;e<t.length;e++)new Splide(t[e],{pagination:!1,autoplay:!1,easing:"ease",lazyLoad:"nearby",autoWidth:!0,focus:0,omitEnd:!0}).mount()})(),(()=>{for(var t=document.getElementsByClassName("js-bloc-relation-slider"),e=0;e<t.length;e++)new Splide(t[e],{pagination:!1,autoplay:!1,easing:"ease",lazyLoad:"nearby",autoWidth:!0,focus:0,omitEnd:!0}).mount()})(),th_video.init(".bloc-video"),$(".floating-btn button").on("focus",function(t){var e=$(this).find(".text-container");e.css("opacity","1"),e.css("visibility","visible"),$(this).keyup(function(t){"Escape"===t.key&&(e.css("opacity","0"),e.css("visibility","hidden"))})}),$(document).ready(function(){var e=parseInt(getComputedStyle(document.body).getPropertyValue("--header-height"));$("#scroll-down-anchor").on("click",function(t){$("html, body").animate({scrollTop:$("#first-section").offset().top-e},800,function(){window.location.hash="#first-section"})});$(".wrapper-image").each(function(){var t=$(this).find("img"),e=t.attr("src");t.attr("src",e).bind("load",function(){$(this).parents(".wrapper-image").addClass("loaded-image"),$(this).parents(".images-container").addClass("loaded-container")})})}),{requestUrl:"",data:{},$items:[],_map:{map:null,bounds:[],markers:{},popins:{},markerBounds:null,markerIcon:"default",markerWidth:300,timeoutUpdate:null},_selector:{overlay:".js-overlay-favoris",cardsContainer:".js-favoris-cards",map:".js-favoris-map",nb_items:".js-favoris-counter",btn_open_favoris:".js-btn-open-favoris",btn_email:".btn-email",popup:".form-popup",input_popup:"input[type=email]",btn_close_popup:".btn-close",btn_envoyer_popup:"button[type=submit]",bottom_bar:".js-overlay-favoris .bottom-bar"},classactive:"is-favorite",classinactive:"favorite-removed",callbacks:{afterUpdateListing:null,afterUpdate:null,clickMarker:null},init:function(t){if(th_favoris.requestUrl=t,th_favoris.parseItems(),!th_favoris.testLocalstorage())return th_favoris.desactivate(),!1;th_favoris.load()||th_favoris.save(),th_favoris.updateItems(),th_favoris.addEvents(),th_favoris.render(),th_favoris.trapFocusMail(),th_overlay.addCallbackOpen(function(t){var e,i;"overlay-favoris"===t&&((t=document.querySelector(".js-overlay-favoris .form-popup"))&&(e=t.querySelector("form"),i=t.querySelector(".frm_error_style"),e||i||t.classList.add("open")),th_favoris.map.init(),th_favoris.map.update())})},testLocalstorage:function(){try{return localStorage.setItem("test","test"),localStorage.removeItem("test"),!0}catch(t){return!1}},load:function(){var t=localStorage.getItem("th_favoris");if(t){t=$.parseJSON(t);if(t)return th_favoris.data=t,!0}return!1},save:function(){localStorage.setItem("th_favoris",JSON.stringify(th_favoris.data))},parseItems:function(){$("[data-addpanier]:not(.parsed)").each(function(t){th_favoris.$items.push(this),$(this).addClass("parsed")}),$("[data-addpanier]").each(function(t){id=$(this).attr("data-addpanier"),!$(this).hasClass(th_favoris.classactive)&&th_favoris.data[id]&&th_favoris.activeItem(id)}),th_favoris.$items=$(th_favoris.$items)},updateItems:function(){$.each(th_favoris.data,function(t,e){th_favoris.activeItem(t)})},desactivate:function(){$("#panier-disabled").addClass("disabled"),th_favoris.$items.remove()},addEvents:function(){th_favoris.$items.on("click",function(t){t.preventDefault(),t.stopPropagation(),th_favoris.addItem(this)})},isInPanier:function(t){return!!th_favoris.data[t]},activeItem:function(t){$('[data-addpanier="'+t+'"]').addClass(th_favoris.classactive),$('[data-addpanier="'+t+'"]').removeClass(th_favoris.classinactive),$('[data-addpanier="'+t+'"] span').addClass("icon-favorite-full")},unActiveItem:function(t){$('[data-addpanier="'+t+'"]').removeClass(th_favoris.classactive),$('[data-addpanier="'+t+'"]').addClass(th_favoris.classinactive),$('[data-addpanier="'+t+'"] span').removeClass("icon-favorite-full")},addItem:function(t){var e={html:"",id:""};return e.id=$(t).data("addpanier"),th_favoris.isInPanier(e.id)?(th_favoris.removeItem(e.id),th_favoris.map.update(),!1):(th_favoris.activeItem(e.id),$.get(th_favoris.requestUrl,{id:e.id},function(t){!t||t.error||(e=t,th_favoris.data[e.id]=e,th_favoris.save(),th_favoris.render(),th_favoris.map.update())},"json"),!0)},removeItem:function(t){th_favoris.unActiveItem(t),delete th_favoris.data[t],th_favoris.save(),th_favoris.render()},render:function(){$(th_favoris._selector.cardsContainer).html("");var i="",n=[],o=0;$.each(th_favoris.data,function(t,e){$(th_favoris._selector.cardsContainer).append(' <li class="gtm-portail-favoris-card">'+e.html+"</li>"),i=i+'<li><a href="'+e.link+'">'+e.title+"</a><br/></li>",th_favoris.activeItem(e.id),n.push(e.id),o++}),i=i&&"<ul>"+i+"</ul>",$("#field_mail_fav_list").val(i),new LazyLoad({elements_selector:".lazy"});0<o?($(th_favoris._selector.map).addClass("maps"),$(th_favoris._selector.nb_items).removeClass("empty"),$(th_favoris._selector.bottom_bar).removeClass("no-favoris"),$(th_favoris._selector.cardsContainer).parents(".wrapper-cards").removeClass("no-overflow"),$(th_favoris._selector.nb_items).text(o),$(th_favoris._selector.btn_open_favoris).attr("title",o+" favoris")):($(th_favoris._selector.cardsContainer).parents(".wrapper-cards").addClass("no-overflow"),$(th_favoris._selector.cardsContainer).html('<p class="no-results">'+$(th_favoris._selector.cardsContainer).data("emptycartmsg")+"</p>"),$(th_favoris._selector.nb_items).text("0"),$(th_favoris._selector.bottom_bar).addClass("no-favoris"),$(th_favoris._selector.btn_open_favoris).attr("title","0 favoris")),$(".download-panier-js").attr("href",th_favoris.requestUrl+"?ids="+n.join(";")+"&format=pdf"),$(".mail-panier-js").on("click",function(t){t.preventDefault(),$(".form-popup",th_favoris._selector.overlay).addClass("open"),$(".favoris-container",th_favoris._selector.overlay).addClass("open-popup"),$('input[type="email"]').focus()}),$("#overlay-favoris .close").on("click",function(){$("#overlay-favoris .form-popup").removeClass("open"),$(".favoris-container",th_favoris._selector.overlay).removeClass("open-popup")}),th_favoris.emptyFavoris(),$(th_favoris._selector.cardsContainer+" [data-addpanier]").on("click",function(t){t.preventDefault(),t.stopPropagation(),th_favoris.addItem(this)})},emptyFavoris:function(){$(".js-empty-panier").on("click",function(t){t.preventDefault(),t.stopPropagation(),$.each(th_favoris.data,function(t,e){th_favoris.removeItem(e.id)}),$(".js-favoris-cards").html(""),$(th_favoris._selector.nb_items).text("0"),$(th_favoris._selector.nb_items).addClass("empty"),$(".js-favoris-cards").html('<p class="no-results">'+$(".js-favoris-cards").data("emptycartmsg")+"</p>"),$(th_favoris._selector.map).removeClass("maps"),$(th_favoris._selector.bottom_bar).addClass("no-favoris"),$(th_favoris._selector.btn_open_favoris).attr("title","0 favoris"),th_favoris.map.update()})},trapFocusMail:function(){$(th_favoris._selector.btn_email).on("click",function(){var t=$(th_favoris._selector.popup);setTimeout(function(){$(th_favoris._selector.btn_close_popup).focus()},250),th_rgaa_focus.init(t),$(th_favoris._selector.btn_close_popup).on("click",function(){$(th_favoris._selector.btn_email).focus();var t=$(th_favoris._selector.overlay),e=$(".btn-close",t)[0],i=$(".btn-email",t)[0];th_rgaa_focus.init(t,e,i)})})},map:{init:function(){th_favoris._map.map||(th_favoris.map.initMap(),th_favoris.map.events())},initMap:function(){document.querySelector(th_favoris._selector.map)&&(th_favoris._map.desktopMap=th_maps.initSingleMap(document.querySelector(th_favoris._selector.map)),th_favoris.map.set(th_favoris._map.desktopMap,!1))},events:function(t){window.addEventListener("orientationchange",function(){th_favoris.map.initMap(!t),th_favoris.map.update()})},set:function(t,e){th_favoris._map.map=t,e&&(th_favoris._map.isMobile=e)},update:function(){var t=th_favoris.listing.getCards();if(clearTimeout(th_favoris._map.timeoutUpdate),!th_favoris._map.map)return setTimeout(function(){th_favoris.map.update(t)},500),!1;
1th_favoris.map.hideCluster(),th_favoris._map.map._layersMaxZoom=19,th_favoris._map.cluster=L.layerGroup(),$.each(t,function(t,e){th_favoris._map.cluster.addLayer(th_favoris.map.getMarker(e))}),th_favoris._map.markerBounds=L.latLngBounds(th_favoris._map.bounds),th_favoris._map.map.addLayer(th_favoris._map.cluster),setTimeout(function(){th_favoris._map.map.invalidateSize(),!th_favoris._map.isMobile&&th_favoris._map.markerBounds&&0<Object.keys(th_favoris._map.markerBounds).length&&th_favoris._map.markerBounds.constructor===Object&&(th_favoris._map.map.fitBounds(th_favoris._map.markerBounds,{padding:[25,25]}),16<(zoom=th_favoris._map.map.getZoom()))&&th_favoris._map.map.setZoom(16),th_favoris.callbacks.mapUpdate&&th_favoris.callbacks.mapUpdate(th_favoris._map.map)},250)},getMarker:function(t){return th_favoris._map.markers[t.id]||th_favoris.map.createMarker(t),th_favoris._map.markers[t.id]},createMarker:function(t){th_favoris._map.markers[t.id]=th_maps.createMarker(th_favoris._map.map,{lat:t.lat,lng:t.lng},th_favoris._map.markerIcon),th_favoris._map.markers[t.id].on("click",function(){th_favoris.callbacks.onClickMarker&&th_favoris.callbacks.onClickMarker(t.id,th_favoris._map.markers[t.id],t)}),th_favoris._map.markers[t.id].on("popupopen",function(){th_favoris._map.markers[t.id].setIcon(th_maps.markersIcons.hover)}),th_favoris._map.markers[t.id].on("popupclose",function(){th_favoris._map.markers[t.id].setIcon(th_maps.markersIcons.default)}),th_favoris._map.bounds.push(th_favoris._map.markers[t.id].getLatLng()),th_favoris._map.isMobile||(card_html=(card_html=t.html).replace('src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7',""),th_favoris._map.popins[t.id]=th_maps.createInfoWindow(card_html,th_favoris._map.markers[t.id],th_favoris._map.markerWidth))},hideCluster:function(){if(!th_favoris._map.map)return null;th_favoris._map.cluster&&th_favoris._map.map.removeLayer(th_favoris._map.cluster)}},listing:{getCards:function(){var i={};return $(".card",th_favoris._selector.cardsContainer).each(function(){var t=+this.getAttribute("data-lat"),e=+this.getAttribute("data-lng");0!=t&&0!=e&&(t={id:this.getAttribute("data-id"),lat:t,lng:e,html:this.outerHTML.replace("data-src","src").replace("lazy","")},i[this.getAttribute("data-id")]=t)}),$(".card-inline").each(function(){var t=this.getAttribute("data-id");$(this).on({mouseenter:function(){th_favoris._map.markers[t].setIcon(th_maps.markersIcons.hover)},mouseleave:function(){th_favoris._map.markers[t].setIcon(th_maps.markersIcons.default)}})}),delete i.null,i}}}),urlRequest=template_path+"/components/Favoris/ajax/favoris.php";function callbackMapPageFavoris(t){t.zoomControl.setPosition("topright"),$("button.icon-ico-scale, button.js-show-favoris-map").on("click",function(){$(".overlay-favoris .wrapper-map").toggleClass("full-screen"),setTimeout(function(){setTimeout(function(){th_favoris._map.map.invalidateSize(),th_favoris._map.markerBounds&&0<Object.keys(th_favoris._map.markerBounds).length&&th_favoris._map.markerBounds.constructor===Object&&(th_favoris._map.map.fitBounds(th_favoris._map.markerBounds,{padding:[25,25]}),16<=(zoom=th_favoris._map.map.getZoom()))&&th_favoris._map.map.setZoom(16)},250)},300)}),th_overlay.addCallbackOpen(function(t){"overlay-favoris"==t&&setTimeout(function(){th_favoris._map.map.invalidateSize(),th_favoris._map.markerBounds&&0<Object.keys(th_favoris._map.markerBounds).length&&th_favoris._map.markerBounds.constructor===Object&&(th_favoris._map.map.fitBounds(th_favoris._map.markerBounds,{padding:[25,25]}),1==Object.keys(th_favoris._map.markers).length&&th_favoris._map.map.setZoom(15),16<=(zoom=th_favoris._map.map.getZoom()))&&th_favoris._map.map.setZoom(15)},250)})}"undefined"!=typeof translations?th_favoris.init(urlRequest):setTimeout(function(){th_favoris.init(urlRequest)},300),(()=>{document.querySelectorAll(".js-slider-menu-secondary").forEach(function(t){new Splide(t,{pagination:!1,autoplay:!1,autoWidth:!0,focus:0,omitEnd:!0,padding:20,breakpoints:{980:{destroy:!0}}}).mount()});let e=document.querySelector(".js-btn-toggle-menu-secondary"),i=document.querySelector(".js-slider-menu-secondary");e&&i&&e.addEventListener("click",t=>{i.classList.toggle("is-open"),e.classList.toggle("is-open")})})();var th_barre_navigation={selectors:{langDropDownMobile:$("#lang-dropdown-mobile"),liensHome:$("#barre-navigation .liens-home a"),lienHomeActive:document.querySelector("#barre-navigation .liens-home .is-active"),menuIndicator:document.querySelector("#barre-navigation .menu-indicator")},variables:{menuIndicatorWidth:0,targetWidth:null,targetLeft:null},init:function(){th_barre_navigation.changementLangueMobile(),th_barre_navigation.menuIndicator()},changementLangueMobile:function(){th_barre_navigation.selectors.langDropDownMobile.change(function(){var t=$(this).val();window.location.href=t})},menuIndicator:function(){for(var t=0;t<th_barre_navigation.selectors.liensHome.length;t++)th_barre_navigation.variables.menuIndicatorWidth=th_barre_navigation.selectors.menuIndicator.getBoundingClientRect().width,th_barre_navigation.selectors.liensHome[t].addEventListener("mouseover",th_barre_navigation.hoverLienHome),th_barre_navigation.selectors.liensHome[t].addEventListener("mouseout",th_barre_navigation.undoHoverLienHome),th_barre_navigation.selectors.liensHome[t].classList.contains("is-active")&&th_barre_navigation.updateIndicator(th_barre_navigation.selectors.liensHome[t])},hoverLienHome:function(t){t=t.currentTarget;th_barre_navigation.updateIndicator(t)}
1,undoHoverLienHome:function(t){th_barre_navigation.updateIndicator(th_barre_navigation.selectors.lienHomeActive)},updateIndicator:function(t){th_barre_navigation.variables.targetWidth=t.getBoundingClientRect().width,th_barre_navigation.variables.targetLeft=t.offsetLeft;var e=t.offsetLeft+th_barre_navigation.variables.targetWidth/2-th_barre_navigation.variables.menuIndicatorWidth/2;th_barre_navigation.selectors.menuIndicator.style.transform="translateX("+e+"px)",th_barre_navigation.selectors.menuIndicator.style.opacity="1",t.classList.contains("is-installer")?th_barre_navigation.selectors.menuIndicator.style.backgroundColor="#03A688":th_barre_navigation.selectors.menuIndicator.style.backgroundColor="#DC1965"}},scripts=(th_barre_navigation.init(),$(document).ready(function(){var t=$(".list-skip-links li").first(),e=$(".list-skip-links li").last(),i=$("main"),n=$(".main-navigation .btn-menu");t.focus(),t.on("keydown",function(t){13==t.keyCode&&n.focus()}),e.on("keydown",function(t){13==t.keyCode&&($([document.documentElement,document.body]).animate({scrollTop:i.offset().top-80},1e3),i.focus())})}),(()=>{for(var t=document.getElementsByClassName("js-strate-sejours-slider"),e=0;e<t.length;e++)new Splide(t[e],{pagination:!1,autoplay:!1,easing:"ease",lazyLoad:"nearby",autoWidth:!0,focus:0,omitEnd:!0}).mount()})(),tarteaucitronNoAdBlocker=!0,document.getElementsByTagName("script")),path=scripts[scripts.length-1].src.split("?")[0],tarteaucitronForceCDN=void 0===tarteaucitronForceCDN?"":tarteaucitronForceCDN,cdn=template_path,alreadyLaunch=void 0===alreadyLaunch?0:alreadyLaunch,tarteaucitronForceLanguage=void 0===tarteaucitronForceLanguage?"":tarteaucitronForceLanguage,tarteaucitronForceExpire=void 0===tarteaucitronForceExpire?"":tarteaucitronForceExpire,tarteaucitronCustomText=void 0===tarteaucitronCustomText?"":tarteaucitronCustomText,tarteaucitronExpireInDay=void 0===tarteaucitronExpireInDay||"boolean"!=typeof tarteaucitronExpireInDay||tarteaucitronExpireInDay,timeExpire=31536e6,tarteaucitronProLoadServices,tarteaucitronNoAdBlocker=!1,tarteaucitron={version:20201017,cdn:cdn,user:{},lang:{},services:{},added:[],idprocessed:[],state:[],launch:[],parameters:{},isAjax:!1,reloadThePage:!1,events:{init:function(){},load:function(){}},init:function(t){var e;tarteaucitron.parameters=t,0===alreadyLaunch&&(alreadyLaunch=1,window.addEventListener?(window.addEventListener("load",function(){tarteaucitron.initEvents.loadEvent(!1)},!1),window.addEventListener("scroll",function(){tarteaucitron.initEvents.scrollEvent()},!1),window.addEventListener("keydown",function(t){tarteaucitron.initEvents.keydownEvent(!1,t)},!1),window.addEventListener("hashchange",function(){tarteaucitron.initEvents.hashchangeEvent()},!1),window.addEventListener("resize",function(){tarteaucitron.initEvents.resizeEvent()},!1)):(window.attachEvent("onload",function(){tarteaucitron.initEvents.loadEvent(!0)}),window.attachEvent("onscroll",function(){tarteaucitron.initEvents.scrollEvent()}),window.attachEvent("onkeydown",function(t){tarteaucitron.initEvents.keydownEvent(!0,t)}),window.attachEvent("onhashchange",function(){tarteaucitron.initEvents.hashchangeEvent()}),window.attachEvent("onresize",function(){tarteaucitron.initEvents.resizeEvent()})),"undefined"!=typeof XMLHttpRequest)&&(e=XMLHttpRequest.prototype.open,XMLHttpRequest.prototype.open=function(){window.addEventListener?this.addEventListener("load",function(){"function"==typeof tarteaucitronProLoadServices&&tarteaucitronProLoadServices()},!1):void 0!==this.attachEvent?this.attachEvent("onload",function(){"function"==typeof tarteaucitronProLoadServices&&tarteaucitronProLoadServices()}):"function"==typeof tarteaucitronProLoadServices&&setTimeout(tarteaucitronProLoadServices,1e3);try{e.apply(this,arguments)}catch(t){}}),tarteaucitron.events.init&&tarteaucitron.events.init()},initEvents:{loadEvent:function(e){tarteaucitron.load(),tarteaucitron.fallback(["tarteaucitronOpenPanel"],function(t){e?t.attachEvent("onclick",function(t){tarteaucitron.userInterface.openPanel
1(),t.preventDefault()}):t.addEventListener("click",function(t){tarteaucitron.userInterface.openPanel(),t.preventDefault()},!1)},!0)},keydownEvent:function(t,e){27===e.keyCode&&tarteaucitron.userInterface.closePanel(),t&&9===e.keyCode&&0<=focusableEls.indexOf(e.target)&&(e.shiftKey?document.activeElement===firstFocusableEl&&(lastFocusableEl.focus(),e.preventDefault()):document.activeElement===lastFocusableEl&&(firstFocusableEl.focus(),e.preventDefault()))},hashchangeEvent:function(){document.location.hash===tarteaucitron.hashtag&&""!==tarteaucitron.hashtag&&tarteaucitron.userInterface.openPanel()},resizeEvent:function(){var t=document.getElementById("tarteaucitron"),e=document.getElementById("tarteaucitronCookiesListContainer");t&&"block"===t.style.display&&tarteaucitron.userInterface.jsSizing("main"),e&&"block"===e.style.display&&tarteaucitron.userInterface.jsSizing("cookie")},scrollEvent:function(){var t=window.pageYOffset||document.documentElement.scrollTop,e=document.getElementById("tarteaucitronPercentage"),i=document.getElementById("tarteaucitronAlertBig");i&&!tarteaucitron.highPrivacy&&"block"===i.style.display&&(i=i.offsetHeight+"px",t>2*screen.height?tarteaucitron.userInterface.respondAll(!0):t>screen.height/2&&(document.getElementById("tarteaucitronDisclaimerAlert").innerHTML="<strong>"+tarteaucitron.lang.alertBigScroll+"</strong> "+tarteaucitron.lang.alertBig),e)&&("top"===tarteaucitron.orientation?e.style.top=i:e.style.bottom=i,e.style.width=100/(2*screen.height)*t+"%")}},load:function(){tarteaucitron.cdn;var t=tarteaucitron.getLanguage(),t=tarteAuCitronUrl+"lang/tarteaucitron."+t+".js?v="+tarteaucitron.version,e=tarteAuCitronUrl+"_tarteaucitron.services.js?v="+tarteaucitron.version,i=document.createElement("link"),n={adblocker:!1,hashtag:"#tarteaucitron",cookieName:"tarteaucitron",highPrivacy:!0,orientation:"middle",bodyPosition:"bottom",removeCredit:!1,showAlertSmall:!1,showIcon:!0,iconPosition:"BottomRight",cookieslist:!1,handleBrowserDNTRequest:!1,DenyAllCta:!0,AcceptAllCta:!0,moreInfoLink:!0,privacyUrl:"",useExternalCss:!1,useExternalJs:!1,mandatory:!0},o=tarteaucitron.parameters;if((void 0!==tarteaucitron.parameters.readmoreLink&&window.location.href==tarteaucitron.parameters.readmoreLink||window.location.href==tarteaucitron.parameters.privacyUrl)&&"middle"==tarteaucitron.parameters.orientation&&(tarteaucitron.parameters.orientation="bottom"),"undefined"!=typeof tarteaucitronCustomPremium&&tarteaucitronCustomPremium(),void 0!==o)for(var a in n)tarteaucitron.parameters.hasOwnProperty(a)||(tarteaucitron.parameters[a]=n[a]);tarteaucitron.orientation=tarteaucitron.parameters.orientation,tarteaucitron.hashtag=tarteaucitron.parameters.hashtag,tarteaucitron.highPrivacy=tarteaucitron.parameters.highPrivacy,tarteaucitron.handleBrowserDNTRequest=tarteaucitron.parameters.handleBrowserDNTRequest,tarteaucitron.parameters.useExternalCss||(i.rel="stylesheet",i.type="text/css",document.getElementsByTagName("head")[0].appendChild(i)),tarteaucitron.addInternalScript(t,"",function(){""!==tarteaucitronCustomText&&(tarteaucitron.lang=tarteaucitron.AddOrUpdate(tarteaucitron.lang,tarteaucitronCustomText)),tarteaucitron.addInternalScript(e,"",function(){"middle"===tarteaucitron.orientation&&((t=document.createElement("style")).type="text/css",t.styleSheet?t.styleSheet.cssText="":t.appendChild(document.createTextNode("")),document.getElementsByTagName("head")[0].appendChild(t));var t,i,e,n=document.body,o=document.createElement("div"),a="",r="Top",s=(s=["ads","analytic","api","comment","social","support","video","other"]).sort(function(t,e){return tarteaucitron.lang[t].title>tarteaucitron.lang[e].title?1:tarteaucitron.lang[t].title<tarteaucitron.lang[e].title?-1:0}),a=(a=(a=(a=(a=(a=a+'<div id="tarteaucitronPremium"></div>'+'<div id="tarteaucitron" role="dialog" aria-labelledby="dialogTitle">')+'   <div id="tarteaucitronServices">'+'   <div id="tac-scroller">')+'      <div class="tarteaucitronLine tarteaucitronMainLine" id="tarteaucitronMainLineOffset">'+'   <button type="button" id="tarteaucitronClosePanel">')+("       "+tarteaucitron.lang.close)+"   </button>
1")+('         <span class="tarteaucitronH1" role="heading" aria-level="1" id="dialogTitle">'+tarteaucitron.lang.title+"</span>")+'         <div id="tarteaucitronInfo">')+("         "+tarteaucitron.lang.disclaimer);for(a=(a=(a=(a=(a=(a=(a=(a=(a=""!==tarteaucitron.parameters.privacyUrl?(a+='   <br/><br/>   <button type="button" id="tarteaucitronPrivacyUrlDialog">')+"       "+tarteaucitron.lang.privacyUrl+"   </button>":a)+"         </div>"+'         <div class="tarteaucitronName">')+('            <span class="tarteaucitronH2" role="heading" aria-level="2">'+tarteaucitron.lang.all+"</span>")+"         </div>")+'         <div class="tarteaucitronAsk" id="tarteaucitronScrollbarAdjust">'+'            <button type="button" id="tarteaucitronAllAllowed" class="tarteaucitronAllow">')+('               <span class="tarteaucitronCheck"></span> '+tarteaucitron.lang.allowAll))+"            </button> "+'            <button type="button" id="tarteaucitronAllDenied" class="tarteaucitronDeny">')+('               <span class="tarteaucitronCross"></span> '+tarteaucitron.lang.denyAll)+"            </button>")+"         </div>"+"      </div>")+'      <div class="tarteaucitronBorder">'+'         <div class="clear"></div><ul>',1==tarteaucitron.parameters.mandatory&&(a=(a=(a=(a=(a+='<li id="tarteaucitronServicesTitle_mandatory"><div class="tarteaucitronTitle">')+'   <button type="button" tabindex="-1">'+tarteaucitron.lang.mandatoryTitle+'</button></div><ul id="tarteaucitronServices_mandatory"><li class="tarteaucitronLine">   <div class="tarteaucitronName">')+'       <span class="tarteaucitronH3" role="heading" aria-level="3">'+tarteaucitron.lang.mandatoryText+'</span>       <span class="tarteaucitronListCookies"></span>   </div>   <div class="tarteaucitronAsk">       <button type="button" class="tarteaucitronAllow">')+'           <span class="tarteaucitronCheck"></span> '+tarteaucitron.lang.allow+'       </button>        <button type="button" class="tarteaucitronDeny" style="visibility:hidden">')+'           <span class="tarteaucitronCross"></span> '+tarteaucitron.lang.deny+"       </button>    </div></li></ul></li>"),e=0;e<s.length;e+=1)a=(a=(a=(a=(a=a+('         <li id="tarteaucitronServicesTitle_'+s[e])+'" class="tarteaucitronHidden">            <div class="tarteaucitronTitle">')+'               <button type="button" class="catToggleBtn" data-cat="tarteaucitronDetails'+s[e]+'"><span class="tarteaucitronPlus"></span> '+tarteaucitron.lang[s[e]].title+"</button>            </div>")+'            <div id="tarteaucitronDetails'+s[e]+'" class="tarteaucitronDetails tarteaucitronInfoBox">')+"               "+tarteaucitron.lang[s[e]].details+"            </div>")+'         <ul id="tarteaucitronServices_'+s[e]+'"></ul></li>';a=a+('             <li id="tarteaucitronNoServicesTitle" class="tarteaucitronLine">'+tarteaucitron.lang.noServices)+'</li>         </ul>         <div class="tarteaucitronHidden spacer-20" id="tarteaucitronScrollbarChild"></div>',!1===tarteaucitron.parameters.removeCredit&&(a+='     <a class="tarteaucitronSelfLink" href="https://tarteaucitron.io/" rel="nofollow noreferrer noopener" target="_blank" title="tarteaucitron '+tarteaucitron.lang.newWindow+'">🍋 '+tarteaucitron.lang.credit+"</a>"),a+="       </div>   </div></div></div>","bottom"===tarteaucitron.parameters.orientation&&(r="Bottom"),tarteaucitron.parameters.highPrivacy&&!tarteaucitron.parameters.AcceptAllCta?(a=(a=(a=a+'<div id="tarteaucitronAlertBig" class="tarteaucitronAlertBig'+r+'">   <span id="tarteaucitronDisclaimerAlert">')+"       "+tarteaucitron.lang.alertBigPrivacy+'   </span>   <button type="button" id="tarteaucitronPersonalize">')+"       "+tarteaucitron.lang.personalize+"   </button>",""!==tarteaucitron.parameters.privacyUrl&&(a=(a+='   <button type="button" id="tarteaucitronPrivacyUrl">')+"       "+tarteaucitron.lang.privacyUrl+"   </button>"),a+="</div>"):("middle"===tarteaucitron.parameters.orientation&&(a+='<button type="button" id="tarteaucitronBackModal" aria-label="'+tarteaucitron.lang.close+'"></button>'),a+='<div id="tarteaucitronAlertBig" class="tarteaucitronAlertBig'+r+'">',"middle"===tarteaucitron.parameters.orientation&&(a=(a+='<span id="tarteaucitronTitleModal">')+tarteaucitron.lang.controle+"</span>
1"),a+='   <span id="tarteaucitronDisclaimerAlert">',tarteaucitron.parameters.highPrivacy?a+="       "+tarteaucitron.lang.alertBigPrivacy:a+="       "+tarteaucitron.lang.alertBigClick+" "+tarteaucitron.lang.alertBig,a=(a+='   </span>   <button type="button" class="tarteaucitronCTAButton tarteaucitronAllow" id="tarteaucitronPersonalize2">')+'       <span class="tarteaucitronCheck"></span> '+tarteaucitron.lang.acceptAll+"   </button>",tarteaucitron.parameters.DenyAllCta&&(a=(a+='   <button type="button" class="tarteaucitronCTAButton tarteaucitronDeny" id="tarteaucitronAllDenied2">')+'       <span class="tarteaucitronCross"></span> '+tarteaucitron.lang.denyAll+"   </button>"),a=(a+='   <button type="button" id="tarteaucitronCloseAlert">')+"       "+tarteaucitron.lang.personalize+"   </button>",a=(""!==tarteaucitron.parameters.privacyUrl?(a+='   <button type="button" id="tarteaucitronPrivacyUrl">')+"       "+tarteaucitron.lang.privacyUrl+"   </button>":a)+'</div><div id="tarteaucitronPercentage"></div>'),a+='<button type="button" id="tarteaucitronBack" aria-label="'+tarteaucitron.lang.close+'"></button>',!0===tarteaucitron.parameters.showIcon&&(a=a+('<div id="tarteaucitronIcon" class="tarteaucitronIcon'+tarteaucitron.parameters.iconPosition)+'">   <button type="button" id="tarteaucitronManager">       <img src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWw6c3BhY2U9InByZXNlcnZlIiB3aWR0aD0iMTI5OXB4IiBoZWlnaHQ9IjEyOTlweCIgdmVyc2lvbj0iMS4xIiBzdHlsZT0ic2hhcGUtcmVuZGVyaW5nOmdlb21ldHJpY1ByZWNpc2lvbjsgdGV4dC1yZW5kZXJpbmc6Z2VvbWV0cmljUHJlY2lzaW9uOyBpbWFnZS1yZW5kZXJpbmc6b3B0aW1pemVRdWFsaXR5OyBmaWxsLXJ1bGU6ZXZlbm9kZDsgY2xpcC1ydWxlOmV2ZW5vZGQiDQp2aWV3Qm94PSIwIDAgMTI5OSAxMjk5Ig0KIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIg0KIGRhdGEtbmFtZT0iTGF5ZXIgMSI+DQogPGRlZnM+DQogIDxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+DQogICA8IVtDREFUQVsNCiAgICAuc3RyMCB7c3Ryb2tlOiM0OTM1Mjc7c3Ryb2tlLXdpZHRoOjQ4LjQ0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDoyMi45MjU2fQ0KICAgIC5maWwxIHtmaWxsOm5vbmV9DQogICAgLmZpbDIge2ZpbGw6I0Q2QzE3NX0NCiAgICAuZmlsMCB7ZmlsbDojRUZFMkIyfQ0KICAgXV0+DQogIDwvc3R5bGU+DQogPC9kZWZzPg0KIDxnIGlkPSJQbGFuX3gwMDIwXzEiPg0KICA8bWV0YWRhdGEgaWQ9IkNvcmVsQ29ycElEXzBDb3JlbC1MYXllciIvPg0KICA8cGF0aCBjbGFzcz0iZmlsMCIgZD0iTTExOTEuOTggNjQ5LjVjMCwwLjE2IDAsMC40MyAwLDAuNTYgMCwyOTkuNTUgLTI0Mi45Myw1NDIuNDggLTU0Mi40OCw1NDIuNDggLTI2Ny45NiwwIC00OTUuODUsLTE5NS44NCAtNTM2LjI1LC00NjAuNjkgMCwtMC43MiAtMC4yNSwtMS40NSAtMC4yOSwtMi4xOCAtMy45NiwtMjYuNDYgLTUuOTUsLTUzLjMyIC01Ljk1LC04MC4xMSAwLC00NC4wOCA1LjM4LC04OC4xIDE1Ljk1LC0xMzAuODUgNC45NiwtMjAuNDIgMTEuMzcsLTQwLjYzIDE4Ljc2LC02MC4zMiA3OS41MywtMjExLjMgMjgxLjg1LC0zNTEuMzcgNTA3LjY5LC0zNTEuMzcgMCwwIDAuMDcsMCAwLjA3LDBsMS4wOSAwYzExLjEsMTYyLjQxIDE0Ni4xNCwyODguNDggMzA4LjkyLDI4OC40OCA5LjAxLDAgMTcuODcsLTAuMzggMjYuNjksLTEuMTYgMi4wOSwxNS43IDUuNTEsMzEuMjkgMTAuMDcsNDYuNDMgMjguNjIsOTUuNTUgMTAxLjQ2LDE3MS42MSAxOTUuNzIsMjA0LjI0IDAuMDEsMS40OSAwLjAxLDIuOTkgMC4wMSw0LjQ5eiIvPg0KICA8cGF0aCBjbGFzcz0iZmlsMSBzdHIwIiBkPSJNMTE5MS45OCA2NDkuNWMwLDI5OS41NSAtMjQyLjkzLDU0Mi40OCAtNTQyLjQ4LDU0Mi40OCAtMjk5LjU1LDAgLTU0Mi40OCwtMjQyLjkzIC01NDIuNDgsLTU0Mi40OCAwLC0yOTkuNTUgMjQyLjkzLC01NDIuNDggNTQyLjQ4LC01NDIuNDhsMS4wNyAwYzExLjEsMTYyLjQxIDE0Ni4xNCwyODguNDggMzA4LjkyLDI4OC40OCA5LjAxLDAgMTcuODcsLTAuMzggMjYuNjksLTEuMTYgMi4wOSwxNS43IDUuNTEsMzEuMjkgMTAuMDcsNDYuNDMgMjguNTMsOTUuNTkgMTAxLjQ2LDE3MS42NiAxOTUuNzMsMjA0LjI0IDAsMS40OSAwLDIuOTkgMCw0LjQ5eiIvPg0KICA8cGF0aCBjbGFzcz0iZmlsMiBzdHIwIiBkPSJNNDIwLjg4IDg2MS42Yy0yLjQ2LDAuMjIgLTQuOTYsMC4zMyAtNy40MywwLjMzIC00My4wMiwwIC03OS4xMiwtMzIuNDkgLTgzLjYzLC03NS4yNiAtMC4yOSwtMi40MiAtMC40NSwtNC44NSAtMC40NSwtNy4yOCAwLC00LjM4IDAuNDksLTguNzUgMS40NywtMTMuMDIgNC4yMiwtMTcuMjQgMTguMjIsLTMwLjcxIDMzLjkxLC0zOC43NSAxMy41MiwtNi45MSAyOC41MywtMTAuNTMgNDMuNzMsLTEwLjUzIDUzLjAzLDAgOTYuMDQsNDMuMDIgOTYuMDQsOTYuMDUgMCwyLjY1IC0wLjExLDUuMzMgLTAuMzIsNy45NmwwIDAuNTRjLTIuNDcsMjMuMzYgLTIyLjE4LDQxLjExIC00NS42Nyw0MS4xMSAtMC42LDAgLTEuMjEsLTAuMDEgLTEuODEsLTAuMDNsLTM1Ljg0IC0xLjEyeiIvPg0KICA8cGF0aCBjbGFzcz0iZmlsMiBzdHIwIiBkPSJNOTEwLjI4IDY5NC44OGMtMS43NiwtMC4xMSAtMy41NSwtMC4xOSAtNS4zMSwtMC4xOSAtOC4wNywwIC0xNi4xMSwxLjMyIC0yMy43NSwzLjg4IC0xNy4wNCw1LjcxIC0zMy44MiwxMi43IC00OS45MSwyMC42NyAtMTQuNTksNi42NCAtMjguMDQsMTUuNzEgLTM5LjY2LDI2Ljc1IC0yOS4wNiwyOS45NCAtMzIuODksNzcuNSAtMjEuMzYsMTE3LjY1IDAuOTUsNC4yOSAyLjg0LDguMzMgNS41MywxMS44MSAzLjQ5LDMuNDMgNy44Nyw1Ljg0IDEyLjY0LDYuOTMgNy4xOSwxLjk0IDE0LjYxLDIuOTIgMjIuMDUsMi45MiA4LjQzLDAgMTYuODMsLTEuMjcgMjQuODgsLTMuNzQgMjkuMDcsLTguNjMgNTcuNjgsLTE4LjMxIDg1LjgzLC0yOS4wNyAxMS42NSwtMy41OSAyMi40NywtOS41NiAzMS43MywtMTcuNDggOC4wOSwtOC43MiAxNC4wNCwtMTkuMjQgMTcuMzQsLTMwLjY2IDIuOTMsLTguNiA1LjE3LC0xNy40NyA2LjU1LC0yNi40NCAwLjUsLTMuNSAwLjc2LC03LjA2IDAuNzYsLTEwLjYgMCwtMzguMTQgLTI5LjQ4LC02OS43OSAtNjcuNTEsLTcyLjQ4bDAuMTkgMC4wNXoiLz4NCiAgPHBhdGggY2xhc3M9ImZpbDIgc3RyMCIgZD0iTTU5OC4xNiAzNTUuNjljLTQuMTksLTAuNDcgLTguNDIsLTAuNzEgLTEyLjY0LC0wLjcxIC0yMy40MywwIC00Ni4yOSw3LjM2IC02NS4zNCwyMS4wMWwtMC4zOCAwLjI5Yy0xOC40NiwxMy4yNyAtMzguMTcsMjkuNzQgLTM0LjY4LDU1LjA3IDEuOTUsMTIuMzEgOC42MSwyMy40MSAxOC41NCwzMC45NSAyMC43MywxNi41MSA0Ny4xOCwxOC40IDcyLjY2LDIwLjA1bDM2LjgxIDIuMzdjMTQuNTMsMC45NyAzMC44LDEuMzEgNDEuNTYsLTguNDMgNC45MiwtNC45NCA4LjY2LC0xMC45NyAxMC44OSwtMTcuNTggNS4wNCwtMTEuODUgNy42NCwtMjQuNTkgNy42NCwtMzcuNDYgMCwtMy44OSAtMC4yNSwtNy44IC0wLjcxLC0xMS42NSAtMi4xOCwtMTYuODIgLTExLjM0LC0zMS45NyAtMjUuMjQsLTQxLjcxIC0xMy44NSwtOS4wMSAtMzEuMDQsLTEwLjY1IC00Ny41MSwtMTIuMDZsLTEuNiAtMC4xNHoiLz4NCiA8L2c+DQo8L3N2Zz4NCg==" alt="Cookies">   </button></div>'),!0===tarteaucitron.parameters.showAlertSmall&&(a=(a=a+'<div id="tarteaucitronAlertSmall" 
1class="tarteaucitronAlertSmall'+r+'">   <button type="button" id="tarteaucitronManager">')+"       "+tarteaucitron.lang.alertSmall+'       <span id="tarteaucitronDot">           <span id="tarteaucitronDotGreen"></span>           <span id="tarteaucitronDotYellow"></span>           <span id="tarteaucitronDotRed"></span>       </span>',!0===tarteaucitron.parameters.cookieslist?a=(a+='   </button>\x3c!-- @whitespace--\x3e   <button type="button" id="tarteaucitronCookiesNumber">0</button>   <div id="tarteaucitronCookiesListContainer">       <button type="button" id="tarteaucitronClosePanelCookie">')+"           "+tarteaucitron.lang.close+'       </button>       <div class="tarteaucitronCookiesListMain" id="tarteaucitronCookiesTitle">            <span class="tarteaucitronH2" role="heading" aria-level="2" id="tarteaucitronCookiesNumberBis">0 cookie</span>       </div>       <div id="tarteaucitronCookiesList"></div>    </div>':a+="   </div>",a+="</div>"),tarteaucitron.addInternalScript(tarteaucitron.cdn+"advertising.js?v="+tarteaucitron.version,"",function(){if(!0===tarteaucitronNoAdBlocker||!1===tarteaucitron.parameters.adblocker){var t,e;if(o.id="tarteaucitronRoot","top"===tarteaucitron.parameters.bodyPosition?(t=n.firstChild,n.insertBefore(o,t)):n.appendChild(o,n),o.innerHTML=a,"function"==typeof Event?e=new Event("tac.root_available"):(e=document.createEvent("Event")).initEvent("tac.root_available",!0,!0),window.dispatchEvent(e),void 0!==tarteaucitron.job)for(tarteaucitron.job=tarteaucitron.cleanArray(tarteaucitron.job),i=0;i<tarteaucitron.job.length;i+=1)tarteaucitron.addService(tarteaucitron.job[i]);else tarteaucitron.job=[];tarteaucitron.isAjax=!0,tarteaucitron.job.push=function(t){void 0===tarteaucitron.job.indexOf&&(tarteaucitron.job.indexOf=function(t,e){for(var i=this.length,n=e||0;n<i;n+=1)if(this[n]===t)return n;return-1}),-1===tarteaucitron.job.indexOf(t)&&Array.prototype.push.call(this,t),tarteaucitron.launch[t]=!1,tarteaucitron.addService(t)},document.location.hash===tarteaucitron.hashtag&&""!==tarteaucitron.hashtag&&tarteaucitron.userInterface.openPanel
1(),tarteaucitron.cookie.number(),setInterval(tarteaucitron.cookie.number,6e4)}},tarteaucitron.parameters.adblocker),!0===tarteaucitron.parameters.adblocker&&setTimeout(function(){var t;!1===tarteaucitronNoAdBlocker&&(a='<div id="tarteaucitronAlertBig" class="tarteaucitronAlertBig'+r+' display-block" role="alert" aria-live="polite">',a=(a=(a=(a+='   <p id="tarteaucitronDisclaimerAlert">')+"       "+tarteaucitron.lang.adblock+"<br/>")+"       <strong>"+tarteaucitron.lang.adblock_call+'</strong>   </p>   <button type="button" class="tarteaucitronCTAButton" id="tarteaucitronCTAButton">')+"       "+tarteaucitron.lang.reload+'   </button></div><div id="tarteaucitronPremium"></div>',o.id="tarteaucitronRoot","top"===tarteaucitron.parameters.bodyPosition?(t=n.firstChild,n.insertBefore(o,t)):n.appendChild(o,n),o.innerHTML=a)},1500),setTimeout(function(){tarteaucitron.addClickEventToId("tarteaucitronPersonalize",function(){tarteaucitron.userInterface.openPanel()}),tarteaucitron.addClickEventToId("tarteaucitronPersonalize2",function(){tarteaucitron.userInterface.respondAll(!0)}),tarteaucitron.addClickEventToId("tarteaucitronManager",function(){tarteaucitron.userInterface.openPanel
1()}),tarteaucitron.addClickEventToId("tarteaucitronBack",function(){tarteaucitron.userInterface.closePanel()}),tarteaucitron.addClickEventToId("tarteaucitronClosePanel",function(){tarteaucitron.userInterface.closePanel()}),tarteaucitron.addClickEventToId("tarteaucitronClosePanelCookie",function(){tarteaucitron.userInterface.closePanel()}),tarteaucitron.addClickEventToId("tarteaucitronPrivacyUrl",function(){document.location=tarteaucitron.parameters.privacyUrl}),tarteaucitron.addClickEventToId("tarteaucitronPrivacyUrlDialog",function(){document.location=tarteaucitron.parameters.privacyUrl}),tarteaucitron.addClickEventToId("tarteaucitronCookiesNumber",function(){tarteaucitron.userInterface.toggleCookiesList()}),tarteaucitron.addClickEventToId("tarteaucitronAllAllowed",function(){tarteaucitron.userInterface.respondAll(!0)}),tarteaucitron.addClickEventToId("tarteaucitronAllDenied",function(){tarteaucitron.userInterface.respondAll(!1)}),tarteaucitron.addClickEventToId("tarteaucitronAllDenied2",function(){tarteaucitron.userInterface.respondAll(!1)}),tarteaucitron.addClickEventToId("tarteaucitronCloseAlert",function(){tarteaucitron.userInterface.openPanel
1()}),tarteaucitron.addClickEventToId("tarteaucitronCTAButton",function(){location.reload()});for(var t=document.getElementsByClassName("catToggleBtn"),e=0;e<t.length;e++)tarteaucitron.addClickEventToElement(t[e],function(){return tarteaucitron.userInterface.toggle("tarteaucitronDetails"+s[e],"tarteaucitronInfoBox"),!1});for(var i=document.getElementsByClassName("tarteaucitronAllow"),e=0;e<i.length;e++)tarteaucitron.addClickEventToElement(i[e],function(){tarteaucitron.userInterface.respond(this,!0)});for(var n=document.getElementsByClassName("tarteaucitronDeny"),e=0;e<n.length;e++)tarteaucitron.addClickEventToElement(n[e],function(){tarteaucitron.userInterface.respond(this,!1)})},500)})}),tarteaucitron.events.load&&tarteaucitron.events.load()},addService:function(t){var e,i="",t=tarteaucitron.services[t],n=tarteaucitron.cookie.read(),o=document.location.hostname,o=document.referrer.split("/")[2]===o&&window.location.href!==tarteaucitron.parameters.privacyUrl,a=!t.needConsent,r=0<=n.indexOf(t.key+"=wait"),s=0<=n.indexOf(t.key+"=false"),l=0<=n.indexOf(t.key+"=true")||!t.needConsent&&n.indexOf(t.key+"=false")<0,c=0<=n.indexOf(t.key+"=false")||0<=n.indexOf(t.key+"=true"),u="1"===navigator.doNotTrack||"yes"===navigator.doNotTrack||"1"===navigator.msDoNotTrack||"1"===window.doNotTrack;!0!==tarteaucitron.added[t.key]&&(tarteaucitron.added[t.key]=!0,i=(i=(i+='<li id="'+t.key+'Line" class="tarteaucitronLine">')+'   <div class="tarteaucitronName">       <span class="tarteaucitronH3" role="heading" aria-level="3">'+t.name+"</span>")+'       <span id="tacCL'+t.key+'" class="tarteaucitronListCookies"></span><br/>',1==tarteaucitron.parameters.moreInfoLink&&(e="https://tarteaucitron.io/service/"+t.key+"/",void 0!==t.readmoreLink&&""!==t.readmoreLink&&(e=t.readmoreLink),i=(i=(i=(i+='       <a href="'+(e=void 0!==tarteaucitron.parameters.readmoreLink&&""!==tarteaucitron.parameters.readmoreLink?tarteaucitron.parameters.readmoreLink:e)+'" target="_blank" rel="noreferrer noopener" title="'+tarteaucitron.lang.cookieDetail+" "+t.name+" "+tarteaucitron.lang.ourSite+" "+tarteaucitron.lang.newWindow+'">')+"           "+tarteaucitron.lang.more+"       </a>")+'        -        <a href="'+t.uri+'" target="_blank" rel="noreferrer noopener" title="'+t.name+" "+tarteaucitron.lang.newWindow+'">')+"           "+tarteaucitron.lang.source+"       </a>"),i=(i=(i=(i=(i+="   </div>")+'   <div class="tarteaucitronAsk">       <button type="button" id="'+t.key+'Allowed" class="tarteaucitronAllow">')+'           <span class="tarteaucitronCheck"></span> '+tarteaucitron.lang.allow)+'       </button>        <button type="button" id="'+t.key+'Denied" class="tarteaucitronDeny">')+'           <span class="tarteaucitronCross"></span> '+tarteaucitron.lang.deny+"       </button>   </div></li>",tarteaucitron.userInterface.css("tarteaucitronServicesTitle_"+t.type,"display","block"),null!==document.getElementById("tarteaucitronServices_"+t.type)&&(document.getElementById("tarteaucitronServices_"+t.type).innerHTML+=i),tarteaucitron.userInterface.css("tarteaucitronNoServicesTitle","display","none"),tarteaucitron.userInterface.order(t.type)),tarteaucitron.pro("!"+t.key+"="+l),!1==c&&!0===tarteaucitron.user.bypass&&tarteaucitron.cookie.create(t.key,l=!0),!c&&(a||o&&r)&&!tarteaucitron.highPrivacy||l?((!l||!t.needConsent&&n.indexOf(t.key+"=false")<0)&&tarteaucitron.cookie.create(t.key,!0),!0!==tarteaucitron.launch[t.key]&&(tarteaucitron.launch[t.key]=!0,t.js(),tarteaucitron.sendEvent(t.key+"_loaded")),tarteaucitron.state[t.key]=!0,tarteaucitron.userInterface.color(t.key,!0)):s?("function"==typeof t.fallback&&t.fallback(),tarteaucitron.state[t.key]=!1,tarteaucitron.userInterface.color(t.key,!1)):!c&&u&&tarteaucitron.handleBrowserDNTRequest?(tarteaucitron.cookie.create(t.key,"false"),"function"==typeof t.fallback&&t.fallback(),tarteaucitron.state[t.key]=!1,tarteaucitron.userInterface.color(t.key,!1)):c||(tarteaucitron.cookie.create(t.key,"wait"),"function"==typeof t.fallback&&t.fallback(),tarteaucitron.userInterface.color(t.key,"wait"),tarteaucitron.userInterface.openAlert()),tarteaucitron.cookie.checkCount(t.key),tarteaucitron.sendEvent(t.key+"_added")},sendEvent:function(t){var e;void 0!==t&&("function"==typeof Event?e=new Event(t):(e=document.createEvent("Event")).initEvent(t,!0,!0),document.dispatchEvent(e))},cleanArray:function(t){for(var e=t.length,i=[],n={},o=tarteaucitron.services,a=0;a<e;a+=1)n[t[a]]||(n[t[a]]={},void 0!==tarteaucitron.services[t[a]]&&i.push(t[a]));return i=i.sort(function(t,e){return o[t].type+o[t].key>o[e].type+o[e].key?1:o[t].type+o[t].key<o[e].type+o[e].key?-1:0})}
1,userInterface:{css:function(t,e,i){null!==document.getElementById(t)&&("display"!=e||"none"!=i||"tarteaucitron"!=t&&"tarteaucitronBack"!=t&&"tarteaucitronAlertBig"!=t?(document.getElementById(t).style[e]=i,"display"!=e||"block"!=i||"tarteaucitron"!=t&&"tarteaucitronAlertBig"!=t||(document.getElementById(t).style.opacity="0",setTimeout(function(){document.getElementById(t).style.opacity="1"},1)),"display"==e&&"block"==i&&"tarteaucitronBack"==t&&(document.getElementById(t).style.opacity="0",setTimeout(function(){document.getElementById(t).style.opacity="0.7"},1))):(document.getElementById(t).style.opacity="0",setTimeout(function(){document.getElementById(t).style[e]=i},200)))},addClass:function(t,e){null!==document.getElementById(t)&&document.getElementById(t).classList.add(e)},removeClass:function(t,e){null!==document.getElementById(t)&&document.getElementById(t).classList.remove(e)},respondAll:function(t){for(var e,i=tarteaucitron.services,n=0,n=0;n<tarteaucitron.job.length;n+=1)e=i[tarteaucitron.job[n]].key,tarteaucitron.state[e]!==t&&(!1===t&&!0===tarteaucitron.launch[e]&&(tarteaucitron.reloadThePage=!0),!0!==tarteaucitron.launch[e]&&!0===t&&(tarteaucitron.pro("!"+e+"=engage"),tarteaucitron.launch[e]=!0,tarteaucitron.services[e].js()),tarteaucitron.state[e]=t,tarteaucitron.cookie.create(e,t),tarteaucitron.userInterface.color(e,t))},respond:function(t,e){""!==t.id&&"tarteaucitron"!==(t=t.id.replace(new RegExp("(Eng[0-9]+|Allow|Deni)ed","g"),"")).substring(0,13)&&""!==t&&tarteaucitron.state[t]!==e&&(!1===e&&!0===tarteaucitron.launch[t]&&(tarteaucitron.reloadThePage=!0),!0===e&&!0!==tarteaucitron.launch[t]&&(tarteaucitron.pro("!"+t+"=engage"),tarteaucitron.launch[t]=!0,tarteaucitron.sendEvent(t+"_loaded"),tarteaucitron.services[t].js()),tarteaucitron.state[t]=e,tarteaucitron.cookie.create(t,e),tarteaucitron.userInterface.color(t,e))},color:function(t,e){var i,n="tarteaucitron",o=0,a=0,r=0,s=tarteaucitron.job.length;for(!0===e?(document.getElementById(t+"Line").classList.add("tarteaucitronIsAllowed"),document.getElementById(t+"Line").classList.remove("tarteaucitronIsDenied")):!1===e&&(document.getElementById(t+"Line").classList.remove("tarteaucitronIsAllowed"),document.getElementById(t+"Line").classList.add("tarteaucitronIsDenied")),i=0;i<s;i+=1)!1===tarteaucitron.state[tarteaucitron.job[i]]?o+=1:void 0===tarteaucitron.state[tarteaucitron.job[i]]?a+=1:!0===tarteaucitron.state[tarteaucitron.job[i]]&&(r+=1);tarteaucitron.userInterface.css(n+"DotGreen","width",100/s*r+"%"),tarteaucitron.userInterface.css(n+"DotYellow","width",100/s*a+"%"),tarteaucitron.userInterface.css(n+"DotRed","width",100/s*o+"%"),0===o&&0===a?(tarteaucitron.userInterface.removeClass(n+"AllDenied",n+"IsSelected"),tarteaucitron.userInterface.addClass(n+"AllAllowed",n+"IsSelected"),tarteaucitron.userInterface.addClass(n+"MainLineOffset",n+"IsAllowed"),tarteaucitron.userInterface.removeClass(n+"MainLineOffset",n+"IsDenied")):0===r&&0===a?(tarteaucitron.userInterface.removeClass(n+"AllAllowed",n+"IsSelected"),tarteaucitron.userInterface.addClass(n+"AllDenied",n+"IsSelected"),tarteaucitron.userInterface.removeClass(n+"MainLineOffset",n+"IsAllowed"),tarteaucitron.userInterface.addClass(n+"MainLineOffset",n+"IsDenied")):(tarteaucitron.userInterface.removeClass(n+"AllAllowed",n+"IsSelected"),tarteaucitron.userInterface.removeClass(n+"AllDenied",n+"IsSelected"),tarteaucitron.userInterface.removeClass(n+"MainLineOffset",n+"IsAllowed"),tarteaucitron.userInterface.removeClass(n+"MainLineOffset",n+"IsDenied")),0===a&&tarteaucitron.userInterface.closeAlert(),0<tarteaucitron.services[t].cookies.length&&!1===e&&tarteaucitron.cookie.purge(tarteaucitron.services[t].cookies),!0===e?(null!==document.getElementById("tacCL"+t)&&(document.getElementById("tacCL"+t).innerHTML="..."),setTimeout(function(){tarteaucitron.cookie.checkCount(t)},2500)):tarteaucitron.cookie.checkCount(t)},openPanel:function(){var t;tarteaucitron.userInterface.css("tarteaucitron","display","block"),tarteaucitron.userInterface.css("tarteaucitronBack","display","block"),tarteaucitron.userInterface.css("tarteaucitronCookiesListContainer","display","none"),document.getElementById("tarteaucitronClosePanel").focus(),document.getElementsByTagName("body")[0].classList.add("modal-open"),tarteaucitron.userInterface.focusTrap(),tarteaucitron.userInterface.jsSizing("main"),"function"==typeof Event?t=new Event("tac.open_panel"):(t=document.createEvent("Event")).initEvent("tac.open_panel",!0,!0),window.dispatchEvent(t)},closePanel:function(){var t;document.location.hash===tarteaucitron.hashtag&&(window.history?window.history.replaceState("",document.title,window.location.pathname+window.location.search):document.location.hash=""),tarteaucitron.userInterface.css("tarteaucitron","display","none"),tarteaucitron.userInterface.css("tarteaucitronCookiesListContainer","display","none"),tarteaucitron.fallback(["tarteaucitronInfoBox"],function(t){t.style.display="none"},!0),!0===tarteaucitron.reloadThePage?window.location.reload():tarteaucitron.userInterface.css("tarteaucitronBack","display","none"),null!==document.getElementById("tarteaucitronCloseAlert")&&document.getElementById("tarteaucitronCloseAlert").focus(),document.getElementsByTagName("body")[0].classList.remove("modal-open"),"function"==typeof Event?t=new Event("tac.close_panel"):(t=document.createEvent("Event")).initEvent("tac.close_panel",!0,!0),window.dispatchEvent(t)},focusTrap:function(){for(var e,i,t=document.getElementById("tarteaucitron").querySelectorAll("a[href], button"),n=[],o=0,a=t.length;o<a;o++)0<t[o].offsetHeight&&n.push(t[o]);e=n[0],i=n[n.length-1],document.getElementById("tarteaucitron").addEventListener("keydown",function(t){"Tab"!==t.key&&9!==t.keyCode||(t.shiftKey?document.activeElement===e&&(i.focus(),t.preventDefault()):document.activeElement===i&&(e.focus(),t.preventDefault()))})},openAlert:function(){var t,e="tarteaucitron";tarteaucitron.userInterface.css(e+"Percentage","display","block"),tarteaucitron.userInterface.css(e+"AlertSmall","display","none"),tarteaucitron.userInterface.css(e+"Icon","display","none"),tarteaucitron.userInterface.css(e+"AlertBig","display","block"),tarteaucitron.userInterface.addClass(e+"Root","tarteaucitronBeforeVisible"),"function"==typeof Event?t=new Event("tac.open_alert"):(t=document.createEvent("Event")).initEvent("tac.open_alert",!0,!0),window.dispatchEvent(t)},closeAlert:function(){var t,e="tarteaucitron";tarteaucitron.userInterface.css(e+"Percentage","display","none"),tarteaucitron.userInterface.css(e+"AlertSmall","display","block"),tarteaucitron.userInterface.css(e+"Icon","display","block"),tarteaucitron.userInterface.css(e+"AlertBig","display","none"),tarteaucitron.userInterface.removeClass(e+"Root","tarteaucitronBeforeVisible"),tarteaucitron.userInterface.jsSizing("box"),"function"==typeof Event?t=new Event("tac.close_alert"):(t=document.createEvent("Event")).initEvent("tac.close_alert",!0,!0),window.dispatchEvent(t)},toggleCookiesList:function(){var t=document.getElementById("tarteaucitronCookiesListContainer");null!==t&&("block"!==t.style.display?(tarteaucitron.cookie.number(),t.style.display="block",tarteaucitron.userInterface.jsSizing("cookie"),tarteaucitron.userInterface.css("tarteaucitron","display","none"),tarteaucitron.userInterface.css("tarteaucitronBack","display","block"),tarteaucitron.fallback(["tarteaucitronInfoBox"],function(t){t.style.display="none"},!0)):(t.style.display="none",tarteaucitron.userInterface.css("tarteaucitron","display","none"),tarteaucitron.userInterface.css("tarteaucitronBack","display","none")))},toggle:function(e,t){var i=document.getElementById(e);null!==i&&(void 0!==t&&tarteaucitron.fallback([t],function(t){t.id!==e&&(t.style.display="none")},!0),"block"!==i.style.display?i.style.display="block":i.style.display="none")},order:function(t){var e=document.getElementById("tarteaucitronServices_"+t);null!==e&&(e.childNodes,"function"==typeof Array.prototype.map)&&"undefined"==typeof Enumerable&&Array.prototype.map.call(e.children,Object).sort(function(t,e){return tarteaucitron.services[t.id.replace(/Line/g,"")].name>tarteaucitron.services[e.id.replace(/Line/g,"")].name?1:tarteaucitron.services[t.id.replace(/Line/g,"")].name<tarteaucitron.services[e.id.replace(/Line/g,"")].name?-1:0}
1).forEach(function(t){e.appendChild(t)})},jsSizing:function(t){var e,i,n=window,o="inner",a=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;"box"===t?null!==document.getElementById("tarteaucitronAlertSmall")&&null!==document.getElementById("tarteaucitronCookiesNumber")&&(tarteaucitron.userInterface.css("tarteaucitronCookiesNumber","padding","0px 10px"),e=document.getElementById("tarteaucitronAlertSmall").offsetHeight,i=document.getElementById("tarteaucitronCookiesNumber").offsetHeight,tarteaucitron.userInterface.css("tarteaucitronCookiesNumber","padding",(e-i)/2+"px 10px")):"main"===t?(void 0===window.innerWidth&&(o="client",n=document.documentElement||document.body),null!==document.getElementById("tarteaucitron")&&null!==document.getElementById("tarteaucitronClosePanel")&&null!==document.getElementById("tarteaucitronMainLineOffset")&&(document.getElementById("tarteaucitron").offsetHeight,document.getElementById("tarteaucitronClosePanel").offsetHeight),null!==document.getElementById("tarteaucitronServices")&&null!==document.getElementById("tarteaucitronScrollbarChild")&&(n[o+"Width"]<=479||n[o+"Width"],document.getElementById("tarteaucitronServices").offsetWidth,document.getElementById("tarteaucitronScrollbarChild").offsetWidth),null!==document.getElementById("tarteaucitron")&&(e=n[o+"Width"]<=767?0:(a-document.getElementById("tarteaucitron").offsetHeight)/2-21,null!==document.getElementById("tarteaucitronMainLineOffset")&&document.getElementById("tarteaucitron").offsetHeight<a/2&&(e-=document.getElementById("tarteaucitronMainLineOffset").offsetHeight),tarteaucitron.userInterface.css("tarteaucitron","top",(e=e<0?0:e)+"px"))):"cookie"===t&&(null!==document.getElementById("tarteaucitronAlertSmall")&&tarteaucitron.userInterface.css("tarteaucitronCookiesListContainer","bottom",document.getElementById("tarteaucitronAlertSmall").offsetHeight+"px"),null!==document.getElementById("tarteaucitronCookiesListContainer"))&&(tarteaucitron.userInterface.css("tarteaucitronCookiesList","height","auto"),i=document.getElementById("tarteaucitronCookiesListContainer").offsetHeight,n=document.getElementById("tarteaucitronClosePanelCookie").offsetHeight,o=document.getElementById("tarteaucitronCookiesTitle").offsetHeight,tarteaucitron.userInterface.css("tarteaucitronCookiesList","height",i-n-o-2+"px"))}},cookie:{owner:{},create:function(t,e){""!==tarteaucitronForceExpire&&(tarteaucitronExpireInDay&&tarteaucitronForceExpire<365||!tarteaucitronExpireInDay&&tarteaucitronForceExpire<8760)&&(timeExpire=tarteaucitronExpireInDay?864e5*tarteaucitronForceExpire:36e5*tarteaucitronForceExpire);var i=new Date,n=i.getTime()+timeExpire,o=new RegExp("!"+t+"=(wait|true|false)","g"),o=tarteaucitron.cookie.read().replace(o,""),o=tarteaucitron.parameters.cookieName+"="+o+"!"+t+"="+e,t=void 0!==tarteaucitron.parameters.cookieDomain&&""!==tarteaucitron.parameters.cookieDomain?"; domain="+tarteaucitron.parameters.cookieDomain:"",e="https:"===location.protocol?"; Secure":"";i.setTime(n),document.cookie=o+"; expires="+i.toGMTString()+"; path=/"+t+e+"; samesite=lax"},read:function(){for(var t,e=tarteaucitron.parameters.cookieName+"=",i=document.cookie.split(";"),n=0;n<i.length;n+=1){for(t=i[n];" "===t.charAt(0);)t=t.substring(1,t.length);if(0===t.indexOf(e))return t.substring(e.length,t.length)}return""},purge:function(t){for(var e=0;e<t.length;e+=1)document.cookie=t[e]+"=; expires=Thu, 01 Jan 2000 00:00:00 GMT; path=/;",document.cookie=t[e]+"=; expires=Thu, 01 Jan 2000 00:00:00 GMT; path=/; domain=."+location.hostname+";",document.cookie=t[e]+"=; expires=Thu, 01 Jan 2000 00:00:00 GMT; path=/; domain=."+location.hostname.split(".").slice(-2).join(".")+";"},checkCount:function(t){var e,i=tarteaucitron.services[t].cookies,n=i.length,o=0,a="",r=document.cookie.indexOf(t+"=true");if(0<=r&&0===n)a+=tarteaucitron.lang.useNoCookie;else if(0<=r){for(e=0;e<n;e+=1)-1!==document.cookie.indexOf(i[e]+"=")&&(o+=1,void 0===tarteaucitron.cookie.owner[i[e]]&&(tarteaucitron.cookie.owner[i[e]]=[]),!1===tarteaucitron.cookie.crossIndexOf(tarteaucitron.cookie.owner[i[e]],tarteaucitron.services[t].name))&&tarteaucitron.cookie.owner[i[e]].push(tarteaucitron.services[t].name);0<o?(a+=tarteaucitron.lang.useCookieCurrent+" "+o+" cookie",1<o&&(a+="s"),a+="."):a+=tarteaucitron.lang.useNoCookie}else 0===n?a=tarteaucitron.lang.noCookie:(a+=tarteaucitron.lang.useCookie+" "+n+" cookie",1<n&&(a+="s"),a+=".");null!==document.getElementById("tacCL"+t)&&(document.getElementById("tacCL"+t).innerHTML=a)},crossIndexOf:function(t,e){for(var i=0;i<t.length;i+=1)if(t[i]===e)return!0;return!1},number:function(){var t,e,i,n,o,a=document.cookie.split(";"),r=""!==document.cookie?a.length:0,s="",l=1<r?"s":"",c=/^https?\:\/\/([^\/?#]+)(?:[\/?#]|$)/i,c=null!==tarteaucitron.cdn.match(c)?tarteaucitron.cdn.match(c)[1]:tarteaucitron.cdn,u=void 0!==tarteaucitron.domain?tarteaucitron.domain:c,a=a.sort(function(t,e){return i=t.split("=",1).toString().replace(/ /g,""),n=e.split("=",1).toString().replace(/ /g,""),i=void 0!==tarteaucitron.cookie.owner[i]?tarteaucitron.cookie.owner[i]:"0",(n=void 0!==tarteaucitron.cookie.owner[n]?tarteaucitron.cookie.owner[n]:"0")+e<i+t?1:i+t<n+e?-1:0});if(""!==document.cookie){for(t=0;t<r;t+=1)e=a[t].split("=",1).toString().replace(/ /g,""),void 0!==tarteaucitron.cookie.owner[e]&&tarteaucitron.cookie.owner[e].join(" // ")!==o?(o=tarteaucitron.cookie.owner[e].join(" // "),s=(s+='<div class="tarteaucitronHidden">     <span class="tarteaucitronTitle tarteaucitronH3" role="heading" aria-level="3">')+"        "+tarteaucitron.cookie.owner[e].join(" // ")+'    </span></div><ul class="cookie-list">'):void 0===tarteaucitron.cookie.owner[e]&&u!==o&&(s=(s+='<div class="tarteaucitronHidden">
1')+'     <span class="tarteaucitronTitle tarteaucitronH3" role="heading" aria-level="3">        '+(o=u)+'    </span></div><ul class="cookie-list">'),s=(s=(s+='<li class="tarteaucitronCookiesListMain">')+'    <div class="tarteaucitronCookiesListLeft"><button type="button" class="purgeBtn" data-cookie="'+tarteaucitron.fixSelfXSS(a[t].split("=",1))+'"><strong>&times;</strong></button> <strong>'+tarteaucitron.fixSelfXSS(e)+"</strong>    </div>")+'    <div class="tarteaucitronCookiesListRight">'+tarteaucitron.fixSelfXSS(a[t].split("=").slice(1).join("="))+"</div></li>";s+="</ul>"}else s+='<div class="tarteaucitronCookiesListMain">    <div class="tarteaucitronCookiesListLeft"><strong>-</strong></div>    <div class="tarteaucitronCookiesListRight"></div></div>';s+='<div class="tarteaucitronHidden spacer-20"></div>',null!==document.getElementById("tarteaucitronCookiesList")&&(document.getElementById("tarteaucitronCookiesList").innerHTML=s),null!==document.getElementById("tarteaucitronCookiesNumber")&&(document.getElementById("tarteaucitronCookiesNumber").innerHTML=r),null!==document.getElementById("tarteaucitronCookiesNumberBis")&&(document.getElementById("tarteaucitronCookiesNumberBis").innerHTML=r+" cookie"+l);for(var d=document.getElementsByClassName("purgeBtn"),h=0;h<d.length;h++)tarteaucitron.addClickEventToElement(d[h],function(){return tarteaucitron.cookie.purge([this.dataset.cookie]),tarteaucitron.cookie.number(),tarteaucitron.userInterface.jsSizing("cookie"),!1});for(t=0;t<tarteaucitron.job.length;t+=1)tarteaucitron.cookie.checkCount(tarteaucitron.job[t])}},fixSelfXSS:function(t){return fixed=t.toString().replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")},getLanguage:function(){var t,e="bg,cn,cs,da,de,el,en,es,fi,fr,hu,it,ja,nl,oc,pl,pt,ro,ru,se,sk,tr,vi";return""!==tarteaucitronForceLanguage&&-1!==e.indexOf(tarteaucitronForceLanguage)?tarteaucitronForceLanguage:!navigator||(t=(t=navigator.language||navigator.browserLanguage||navigator.systemLanguage||navigator.userLang||null)?t.substr(0,2):null,-1===e.indexOf(t))?"en":t},getLocale:function(){var t;return navigator?"fr"===(t=(t=navigator.language||navigator.browserLanguage||navigator.systemLanguage||navigator.userLang||null)?t.substr(0,2):null)?"fr_FR":"en"===t?"en_US":"de"===t?"de_DE":"es"===t?"es_ES":"it"===t?"it_IT":"pt"===t?"pt_PT":"nl"===t?"nl_NL":"el"===t?"el_EL":"en_US":"en_US"},addScript:function(t,e,i,n,o,a,r){var s,l=!1;!1===n?"function"==typeof i&&i():((s=document.createElement("script")).type="text/javascript",s.id=void 0!==e?e:"",s.async=!0,s.src=t,void 0!==o&&void 0!==a&&s.setAttribute(o,a),"function"==typeof i&&(tarteaucitron.parameters.useExternalJs?i():s.onreadystatechange=s.onload=function(){var t=s.readyState;l||t&&!/loaded|complete/.test(t)||(l=!0,i())}),tarteaucitron.parameters.useExternalJs&&r||document.getElementsByTagName("head")[0].appendChild(s))},addInternalScript:function(t,e,i,n,o,a){tarteaucitron.addScript(t,e,i,n,o,a,!0)},makeAsync:{antiGhost:0,buffer:"",init:function(t,e){var i=document.write,n=document.writeln;document.write=function(t){tarteaucitron.makeAsync.buffer+=t},document.writeln=function(t){tarteaucitron.makeAsync.buffer+=t.concat("\n")},setTimeout(function(){document.write=i,document.writeln=n},2e4),tarteaucitron.makeAsync.getAndParse(t,e)},getAndParse:function(t,e){9<tarteaucitron.makeAsync.antiGhost?tarteaucitron.makeAsync.antiGhost=0:(tarteaucitron.makeAsync.antiGhost+=1,tarteaucitron.addInternalScript(t,"",function(){null!==document.getElementById(e)&&(document.getElementById(e).innerHTML+="<span class='display-none'>&nbsp;</span>"+tarteaucitron.makeAsync.buffer,tarteaucitron.makeAsync.buffer="",tarteaucitron.makeAsync.execJS(e))}))},execJS:function(id){var i,scripts,childId,type;if(null!==document.getElementById(id))for(scripts=document.getElementById(id).getElementsByTagName("script"),i=0;i<scripts.length;i+=1)type=null!==scripts[i].getAttribute("type")?scripts[i].getAttribute("type"):"",""===type&&(type=null!==scripts[i].getAttribute("language")?scripts[i].getAttribute("language"):""),null!==scripts[i].getAttribute("src")&&""!==scripts[i].getAttribute("src")?(childId=id+Math.floor(99999999999*Math.random()),document.getElementById(id).innerHTML+='<div id="'+childId+'"></div>',tarteaucitron.makeAsync.getAndParse(scripts[i].getAttribute("src"),childId)):-1===type.indexOf("javascript")&&""!==type||eval(scripts[i].innerHTML)}}
1,fallback:function(t,e,i){var n,o=document.getElementsByTagName("*"),a=0;for(n in o)if(void 0!==o[n])for(a=0;a<t.length;a+=1)-1<(" "+o[n].className+" ").indexOf(" "+t[a]+" ")&&("function"==typeof e?!0===i?e(o[n]):o[n].innerHTML=e(o[n]):o[n].innerHTML=e)},engage:function(t){var e="",i=Math.floor(1e5*Math.random()),n=tarteaucitron.services[t].name+" "+tarteaucitron.lang.fallback;return e+('<div class="tac_activate tac_activate_'+t+'">')+'   <div class="tac_float">'+("      "+(n=void 0!==tarteaucitron.lang["engage-"+t]?tarteaucitron.lang["engage-"+t]:n))+('      <button type="button" class="tarteaucitronAllow" id="Eng'+i+"ed"+t+'">')+('          <span class="tarteaucitronCheck"></span> '+tarteaucitron.lang.allow)+"       </button>"+"   </div>"+"</div>"},extend:function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},proTemp:"",proTimer:function(){setTimeout(tarteaucitron.proPing,500)},pro:function(t){tarteaucitron.proTemp+=t,clearTimeout(tarteaucitron.proTimer),tarteaucitron.proTimer=setTimeout(tarteaucitron.proPing,500)},proPing:function(){if(""!==tarteaucitron.uuid&&void 0!==tarteaucitron.uuid&&""!==tarteaucitron.proTemp){var t=document.getElementById("tarteaucitronPremium"),e=(new Date).getTime(),i="https://tarteaucitron.io/log/?";if(null===t)return;i=(i=(i+="account="+tarteaucitron.uuid+"&")+("domain="+tarteaucitron.domain+"&"))+("status="+encodeURIComponent(tarteaucitron.proTemp)+"&"),t.innerHTML='<img src="'+(i+="_time="+e)+'" class="display-none" />',tarteaucitron.proTemp=""}tarteaucitron.cookie.number()},AddOrUpdate:function(t,e){for(key in e)e[key]instanceof Object?t[key]=tarteaucitron.AddOrUpdate(t[key],e[key]):t[key]=e[key];return t},getElemWidth:function(t){return t.getAttribute("width")||t.clientWidth},getElemHeight:function(t){return t.getAttribute("height")||t.clientHeight},addClickEventToId:function(t,e){tarteaucitron.addClickEventToElement(document.getElementById(t),e)},addClickEventToElement:function(t,e){t&&(t.addEventListener?t.addEventListener("click",e):t.attachEvent("onclick",e))}};function thTarteAuCitron_sendTacEvent(i){var n=!1;$.each(window.dataLayer,function(t,e){if(e.event&&e.event==="tac_"+i)return n=!0}),n||window.dataLayer.push({event:"tac_"+i})}function CitronVideoHtml(t,e,i,n){return'<div class="tac_player '+e+'_player" videoID="'+t+'" width="1280px" theme="dark" height="auto" showinfo="0" controls="0" rel="0" autoplay='+i+'" mute="'+n+'"></div>'}tarteaucitron.services.iframe={key:"iframe",type:"other",name:"Web content",uri:"",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["tac_iframe"],function(t){var e=t.getAttribute("width"),i=t.getAttribute("height");return'<iframe src="'+t.getAttribute("data-url")+'" width="'+e+'" height="'+i+'" frameborder="0" scrolling="no" allowtransparency allowfullscreen></iframe>'})},fallback:function(){tarteaucitron.fallback(["tac_iframe"],function(t){return t.style.width=t.getAttribute("width")+"px",t.style.height=t.getAttribute("height")+"px",tarteaucitron.engage("iframe")})}},tarteaucitron.services.amplitude={key:"amplitude",type:"analytic",name:"Amplitude",uri:"https://amplitude.com/privacy",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.amplitude&&tarteaucitron.addScript("https://cdn.amplitude.com/libs/amplitude-5.8.0-min.gz.js","",function(){function t(t,e){t.prototype[e]=function(){return this._q.push([e].concat(Array.prototype.slice.call(arguments,0))),this}}window.amplitude={_q:[],_iq:{}};for(var e=function(){return this._q=[],this},i=["add","append","clearAll","prepend","set","setOnce","unset"],n=0;n<i.length;n++)t(e,i[n]);amplitude.Identify=e;for(var o=function(){return this._q=[],this},a=["setProductId","setQuantity","setPrice","setRevenueType","setEventProperties"],r=0;r<a.length;r++)t(o,a[r]);amplitude.Revenue=o;var s=["init","logEvent","logRevenue","setUserId","setUserProperties","setOptOut","setVersionName","setDomain","setDeviceId","enableTracking","setGlobalUserProperties","identify","clearUserProperties","setGroup","logRevenueV2","regenerateDeviceId","groupIdentify","onInit","logEventWithTimestamp","logEventWithGroups","setSessionId","resetSessionId"];function l(e){for(var t=0;t<s.length;t++)(t=>{e[t]=function(){e._q.push([t].concat(Array.prototype.slice.call(arguments,0)))}})(s[t])}l(amplitude),amplitude.getInstance=function(t){return t=(t&&0!==t.length?t:"$default_instance").toLowerCase(),amplitude._iq.hasOwnProperty(t)||(amplitude._iq[t]={_q:[]},l(amplitude._iq[t])),amplitude._iq[t]},amplitude.getInstance().init(tarteaucitron.user.amplitude)})}},tarteaucitron.services.abtasty={key:"abtasty",type:"api",name:"ABTasty",uri:"https://www.abtasty.c
1om/terms-of-use/",needConsent:!0,cookies:["ABTasty","ABTastySession"],js:function(){void 0!==tarteaucitron.user.abtastyID&&tarteaucitron.addScript("//try.abtasty.com/"+tarteaucitron.user.abtastyID+".js")}},tarteaucitron.services.metrica={key:"metrica",type:"analytic",name:"Yandex Metrica",uri:"https://yandex.com/legal/confidential/",needConsent:!0,cookies:["_ym_metrika_enabled","_ym_isad","_ym_uid","_ym_d","yabs-sid","_ym_debug","_ym_mp2_substs","_ym_hostIndex","_ym_mp2_track","yandexuid","usst"],js:function(){void 0!==tarteaucitron.user.yandexmetrica&&tarteaucitron.addScript("https://mc.yandex.ru/metrika/tag.js","",function(){var t,e,i;t=window,i=document,t.ym=t.ym||function(){(t.ym.a=t.ym.a||[]).push(arguments)},t.ym.l=+new Date,e=i.createElement("script"),i=i.getElementsByTagName("script")[0],e.async=1,e.src="https://mc.yandex.ru/metrika/tag.js",i.parentNode.insertBefore(e,i),ym(tarteaucitron.user.yandexmetrica,"init",{clickmap:!0,trackLinks:!0,accurateTrackBounce:!0,webvisor:!0,ecommerce:"dataLayer"})})}},tarteaucitron.services.addthis={key:"addthis",type:"social",name:"AddThis",uri:"https://www.addthis.com/privacy/privacy-policy#publisher-visitors",needConsent:!0,cookies:["__atuvc","__atuvs"],js:function(){void 0!==tarteaucitron.user.addthisPubId&&(!0===tarteaucitron.isAjax&&(window.addthis=null,window._adr=null,window._atc=null,window._atd=null,window._ate=null,window._atr=null,window._atw=null),tarteaucitron.fallback(["addthis_sharing_toolbox"],""),tarteaucitron.addScript("//s7.addthis.com/js/300/addthis_widget.js#pubid="+tarteaucitron.user.addthisPubId))},fallback:function(){tarteaucitron.fallback(["addthis_sharing_toolbox"],tarteaucitron.engage("addthis"))}},tarteaucitron.services.addtoanyfeed={key:"addtoanyfeed",type:"social",name:"AddToAny (feed)",uri:"https://www.addtoany.com/privacy",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.addtoanyfeedUri&&(tarteaucitron.user.addtoanyfeedSubscribeLink="https://www.addtoany.com/subscribe?linkurl="+tarteaucitron.user.addtoanyfeedUri,window.a2a_config=window.a2a_config||{},window.a2a_config.linkurl=tarteaucitron.user.addtoanyfeedUri,tarteaucitron.addScript("//static.addtoany.com/menu/feed.js"))},fallback:function(){tarteaucitron.user.addtoanyfeedSubscribeLink="https://www.addtoany.com/subscribe?linkurl="+tarteaucitron.user.addtoanyfeedUri}},tarteaucitron.services.addtoanyshare={key:"addtoanyshare",type:"social",name:"AddToAny (share)",uri:"https://www.addtoany.com/privacy",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["tac_addtoanyshare"],""),tarteaucitron.addScript("//static.addtoany.com/menu/page.js")},fallback:function(){tarteaucitron.fallback(["tac_addtoanyshare"],tarteaucitron.engage("addtoanyshare"))}},tarteaucitron.services.aduptech_ads={key:"aduptech_ads",type:"ads",name:"Ad Up Technology (ads)",uri:"https://www.adup-tech.com/datenschutz",needConsent:!0,cookies:[],js:function(){var i="aduptech_ads",n=document.getElementsByClassName(i);n&&0!==n.length&&(tarteaucitron.fallback([i],""),tarteaucitron.addScript("https://s.d.adup-tech.com/jsapi","",function(){for(var t=0;t<n.length;t++){var e=n[t];e.getAttribute("id")||e.setAttribute("id",i+Math.random().toString(36).substr(2,9)),window.uAd.embed(e.getAttribute("id"),{placementKey:e.getAttribute("placementKey"),responsive:Boolean(e.getAttribute("responsive")),lazy:Boolean(e.getAttribute("lazy")),adtest:Boolean(e.getAttribute("test")),query:e.getAttribute("query")||"",minCpc:e.getAttribute("minCpc")||"",pageUrl:e.getAttribute("pageUrl")||"",skip:e.getAttribute("skip")||""})}}))},fallback:function(){tarteaucitron.fallback(["aduptech_ads"],tarteaucitron.engage("aduptech_ads"))}},tarteaucitron.services.aduptech_conversion={key:"aduptech_conversion",type:"ads",name:"Ad Up Technology (conversion)",uri:"https://www.adup-tech.com/datenschutz",needConsent:!0,cookies:[],js:function(){var t="aduptech_conversion",e=document.getElementsByClassName(t);if(e&&0!==e.length){tarteaucitron.fallback([t],"");for(var i=0;i<e.length;i++){var n,o=e[i];o.getAttribute("advertiserId")&&o.getAttribute("conversionCode")&&(n="https://d.adup-tech.c
1om/campaign/conversion/"+encodeURIComponent(o.getAttribute("advertiserId"))+"?t="+encodeURIComponent(o.getAttribute("conversionCode")),o.getAttribute("price")&&(n+="&price="+encodeURIComponent(o.getAttribute("price"))),o.getAttribute("quantity")&&(n+="&quantity="+encodeURIComponent(o.getAttribute("quantity"))),o.getAttribute("total")&&(n+="&total="+encodeURIComponent(o.getAttribute("total"))),o.getAttribute("orderId")&&(n+="&order_id="+encodeURIComponent(o.getAttribute("orderId"))),o.getAttribute("itemNumber")&&(n+="&item_number="+encodeURIComponent(o.getAttribute("itemNumber"))),o.getAttribute("description")&&(n+="&description="+encodeURIComponent(o.getAttribute("description"))),(new Image).src=n)}}}},tarteaucitron.services.aduptech_retargeting={key:"aduptech_retargeting",type:"ads",name:"Ad Up Technology (retargeting)",uri:"https://www.adup-tech.com/datenschutz",needConsent:!0,cookies:[],js:function(){var t="aduptech_retargeting",o=document.getElementsByClassName(t);o&&0!==o.length&&(tarteaucitron.fallback([t],""),window.AdUpRetargeting=function(e){for(var t=0;t<o.length;t++){var i,n=o[t];if(e.init(),e.setAccount(n.getAttribute("account")),n.getAttribute("email")?e.setEmail(n.getAttribute("email")):n.getAttribute("hashedEmail")&&e.setHashedEmail(n.getAttribute("hashedEmail")),n.getAttribute("product"))try{e.setProduct(JSON.parse(n.getAttribute("product")))}catch(t){e.setProduct(n.getAttribute("product"))}if(n.getAttribute("transaction"))try{e.setTransaction(JSON.parse(n.getAttribute("transaction")))}catch(t){e.setTransaction(n.getAttribute("transaction"))}n.getAttribute("demarkUser")?e.setDemarkUser():n.getAttribute("demarkProducts")&&e.setDemarkProducts(),n.getAttribute("conversionCode")&&e.setConversionCode(n.getAttribute("conversionCode")),n.getAttribute("device")&&"function"==typeof e[i="set"+n.getAttribute("device").charAt(0).toUpperCase()+n.getAttribute("device").slice(1)]&&e[i](),n.getAttribute("track")&&("function"==typeof e[i="track"+n.getAttribute("track").charAt(0).toUpperCase()+n.getAttribute("track").slice(1)]?e[i]():e.trackHomepage())}},tarteaucitron.addScript("https://s.d.adup-tech.com/services/retargeting.js"))}},tarteaucitron.services.alexa={key:"alexa",type:"analytic",name:"Alexa",uri:"https://www.alexa.com/help/privacy",needConsent:!0,cookies:["__asc","__auc"],js:function(){void 0!==tarteaucitron.user.alexaAccountID&&(window._atrk_opts={atrk_acct:tarteaucitron.user.alexaAccountID,domain:window.location.hostname.match(/[^\.]*\.[^.]*$/)[0],dynamic:!0},tarteaucitron.addScript("https://d31qbv1cthcecs.cloudfront.net/atrk.js"))}},tarteaucitron.services.amazon={key:"amazon",type:"ads",name:"Amazon",uri:"https://www.amazon.com/gp/help/customer/display.html/ref=help_search_1-1?ie=UTF8&nodeId=201909010&qid=1544617177&sr=1-1",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["amazon_product"],function(t){var e=t.getAttribute("amazonid"),t=t.getAttribute("productid");return'<iframe style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src="'+("//ws-eu.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace="+tarteaucitron.getLanguage().toUpperCase()+"&source=ss&ref=ss_til&ad_type=product_link&tracking_id="+e+"&marketplace=amazon&region="+tarteaucitron.getLanguage().toUpperCase()+"&placement="+t+"&asins="+t+"&show_border=true&link_opens_in_new_window=true")+'"></iframe>'})},fallback:function(){tarteaucitron.fallback(["amazon_product"],tarteaucitron.engage("amazon"))}},tarteaucitron.services.calameo={key:"calameo",type:"video",name:"Calameo",uri:"https://fr.calameo.com/privacy",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["calameo-canvas"],function(t){return'<iframe src="'+("//v.calameo.com/?bkcode="+t.getAttribute("data-id"))+'" width="'+t.getAttribute("width")+'" height="'+t.getAttribute("height")+'" frameborder="0" scrolling="no" allowtransparency allowfullscreen></iframe>'})},fallback:function(){tarteaucitron.fallback(["calameo-canvas"],function(t){return t.style.width=t.getAttribute("width")+"px",t.style.height=t.getAttribute("height")+"px",tarteaucitron.engage("calameo")})}}
1,tarteaucitron.services.clicky={key:"clicky",type:"analytic",name:"Clicky",uri:"https://clicky.com/terms",needConsent:!0,cookies:["_jsuid","_eventqueue","_referrer_og","_utm_og","_first_pageview","clicky_olark","no_trackyy_"+tarteaucitron.user.clickyId,"unpoco_"+tarteaucitron.user.clickyId,"heatmaps_g2g_"+tarteaucitron.user.clickyId],js:function(){void 0!==tarteaucitron.user.clickyId&&tarteaucitron.addScript("//static.getclicky.com/js","",function(){"function"==typeof clicky.init&&clicky.init(tarteaucitron.user.clickyId),"function"==typeof tarteaucitron.user.clickyMore&&tarteaucitron.user.clickyMore()})}},tarteaucitron.services.clicmanager={key:"clicmanager",type:"ads",name:"Clicmanager",uri:"http://www.clicmanager.fr/infos_legales.php",needConsent:!0,cookies:[],js:function(){var t,e,i=[];for(tarteaucitron.fallback(["clicmanager-canvas"],function(t){var e="_"+Math.random().toString(36).substr(2,9);return i.push(e),'<div id="'+e+'" c="'+t.getAttribute("c")+'" s="'+t.getAttribute("s")+'" t="'+t.getAttribute("t")+'"></div>'}),t=0;t<i.length;t+=1)e="//ads.clicmanager.fr/exe.php?",e=(e=(e+="c="+document.getElementById(i[t]).getAttribute("c")+"&")+"s="+document.getElementById(i[t]).getAttribute("s")+"&")+"t="+document.getElementById(i[t]).getAttribute("t"),tarteaucitron.makeAsync.init(e,i[t])},fallback:function(){tarteaucitron.fallback(["clicmanager-canvas"],tarteaucitron.engage("clicmanager"))}},tarteaucitron.services.contentsquare={key:"contentsquare",type:"api",name:"ContentSquare",uri:"https://docs.contentsquare.com/uxa-en/#collected-data",needConsent:!0,cookies:["_cs_id","_cs_s","_cs_vars","_cs_ex","_cs_c","_cs_optout"],js:function(){void 0!==tarteaucitron.user.contentsquareID&&tarteaucitron.addScript("//t.contentsquare.net/uxa/"+tarteaucitron.user.contentsquareID+".js")}},tarteaucitron.services.crazyegg={key:"crazyegg",type:"analytic",name:"Crazy Egg",uri:"https://www.crazyegg.com/privacy",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.crazyeggId&&tarteaucitron.addScript("//script.crazyegg.com/pages/scripts/"+tarteaucitron.user.crazyeggId.substr(0,4)+"/"+tarteaucitron.user.crazyeggId.substr(4,4)+".js")}},tarteaucitron.services.criteo={key:"criteo",type:"ads",name:"Criteo",uri:"http://www.criteo.com/privacy/",needConsent:!0,cookies:[],js:function(){document.MAX_ct0="";var t,e,i=[];for(tarteaucitron.fallback(["criteo-canvas"],function(t){var e="_"+Math.random().toString(36).substr(2,9);return i.push(e),'<div id="'+e+'" zoneid="'+t.getAttribute("zoneid")+'"></div>'}),t=0;t<i.length;t+=1)e="//cas.criteo.com/delivery/ajs.php?",e=(e=(e=(e=(e=(e=(e=(e=(e=(e+="zoneid="+document.getElementById(i[t]).getAttribute("zoneid"))+"&nodis=1&cb="+Math.floor(99999999999*Math.random()))+"&loc="+encodeURI(window.location))+(","!==document.MAX_used?"&exclude="+document.MAX_used:""))+(void 0!==document.charset?"&charset="+document.charset:""))+(void 0!==document.characterSet?"&charset="+document.characterSet:""))+(void 0!==document.referrer?"&referer="+encodeURI(document.referrer):""))+(void 0!==document.context?"&context="+encodeURI(document.context):""))+(void 0!==document.MAX_ct0&&"http"===document.MAX_ct0.substring(0,4)?"&ct0="+encodeURI(document.MAX_ct0):""))+(void 0!==document.mmm_fo?"&mmm_fo=1":""),tarteaucitron.makeAsync.init(e,i[t])},fallback:function(){tarteaucitron.fallback(["criteo-canvas"],tarteaucitron.engage("criteo"))}},tarteaucitron.services.dailymotion={key:"dailymotion",type:"video",name:"Dailymotion",uri:"https://www.dailymotion.com/legal/privacy",needConsent:!0,cookies:["ts","dmvk","hist","v1st","s_vi"],js:function(){tarteaucitron.fallback(["dailymotion_player"],function(t){var e=t.getAttribute("videoID"),i=t.getAttribute("width"),n="width=",o=t.getAttribute("height"),a="height=",t="info="+t.getAttribute("showinfo")+"&autoPlay="+t.getAttribute("autoplay");return void 0===e?"":'<iframe src="//www.dailymotion.com/embed/video/'+e+"?"+t+'" '+(n+=void 0!==i?'"'+i+'" ':'"" ')+(a+=void 0!==o?'"'+o+'" ':'"" ')+' frameborder="0" allowfullscreen></iframe>'})},fallback:function(){tarteaucitron.fallback(["dailymotion_player"],function(t){return t.style.width=t.getAttribute("width")+"px",t.style.height=t.getAttribute("height")+"px",tarteaucitron.engage("dailymotion")})}},tarteaucitron.services.datingaffiliation={key:"datingaffiliation",type:"ads",name:"Dating Affiliation",uri:"http://www.dating-affiliation.com/conditions-generales.php",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["datingaffiliation-canvas"],function(t){return'<iframe src="'+("http://www.tools-affil2.com/rotaban/ban.php?"+t.getAttribute("data-comfrom"))+"&r="+t.getAttribute("data-r")+"&p="+t.getAttribute("data-p")+"&cf0="+t.getAttribute("data-cf0")+"&langue="+t.getAttribute("data-langue")+"&forward_affiliate="+t.getAttribute("data-forwardAffiliate")+"&cf2="+t.getAttribute("data-cf2")+"&cfsa2="+t.getAttribute("data-cfsa2")+'" width="'+t.getAttribute("width")+'" height="'+t.getAttribute("height")+'" frameborder="0" marginheight="0" marginwidth="0" scrolling="no"></iframe>'})},fallback:function(){tarteaucitron.fallback(["datingaffiliation-canvas"],function(t){return t.style.width=t.getAttribute("width")+"px",t.style.height=t.getAttribute("height")+"px",tarteaucitron.engage("datingaffiliation")})}},tarteaucitron.services.datingaffiliationpopup={key:"datingaffiliationpopup",type:"ads",name:"Dating Affiliation (Pop Up)",uri:"http://www.dating-affiliation.com/conditions-generales.php",needConsent:!0,cookies:["__utma","__utmb","__utmc","__utmt_Tools","__utmv","__utmz","_ga","_gat","_gat_UA-65072040-17","__da-pu-xflirt-ID-pc-o169"],js:function(){var t,e,i=[];for(tarteaucitron.fallback(["datingaffiliationpopup-canvas"],function(t){var e="_"+Math.random().toString(36).substr(2,9);return i.push(e),'<div id="'+e+'" uri="'+t.getAttribute("uri")+'" comfrom="'+t.getAttribute("comfrom")+'" promo="'+t.getAttribute("promo")+'" productid="'+t.getAttribute("productid")+'" submitconfig="'+t.getAttribute("submitconfig")+'" ur="'+t.getAttribute("ur")+'" brand="'+t.getAttribute("brand")+'" lang="'+t.getAttribute("lang")+'" cf0="'+t.getAttribute("cf0")+'" cf2="'+t.getAttribute("cf2")+'" subid1="'+t.getAttribute("subid1")+'" cfsa2="'+t.getAttribute("cfsa2")+'" subid2="'+t.getAttribute("subid2")+'" nicheid="'+t.getAttribute("nicheid")+'" degreid="'+t.getAttribute("degreid")+'" bt="'+t.getAttribute("bt")+'" vis="'+t.getAttribute("vis")+'" hid="'+t.getAttribute("hid")+'" snd="'+t.getAttribute("snd")+'" aabd="'+t.getAttribute("aabd")+'" aabs="'+t.getAttribute("aabs")+'"></div>'}),t=0;t<i.length;t+=1)e="http://www.promotools.biz/da/popunder/script.php?",e=(e=(e=(e
1=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e+="comfrom="+document.getElementById(i[t]).getAttribute("comfrom")+"&")+"promo="+document.getElementById(i[t]).getAttribute("promo")+"&")+"product_id="+document.getElementById(i[t]).getAttribute("productid")+"&")+"submitconfig="+document.getElementById(i[t]).getAttribute("submitconfig")+"&")+"ur="+document.getElementById(i[t]).getAttribute("ur")+"&")+"brand="+document.getElementById(i[t]).getAttribute("brand")+"&")+"lang="+document.getElementById(i[t]).getAttribute("lang")+"&")+"cf0="+document.getElementById(i[t]).getAttribute("cf0")+"&")+"cf2="+document.getElementById(i[t]).getAttribute("cf2")+"&")+"subid1="+document.getElementById(i[t]).getAttribute("subid1")+"&")+"cfsa2="+document.getElementById(i[t]).getAttribute("cfsa2")+"&")+"subid2="+document.getElementById(i[t]).getAttribute("subid2")+"&")+"nicheId="+document.getElementById(i[t]).getAttribute("nicheid")+"&")+"degreId="+document.getElementById(i[t]).getAttribute("degreid")+"&")+"bt="+document.getElementById(i[t]).getAttribute("bt")+"&")+"vis="+document.getElementById(i[t]).getAttribute("vis")+"&")+"hid="+document.getElementById(i[t]).getAttribute("hid")+"&")+"snd="+document.getElementById(i[t]).getAttribute("snd")+"&")+"aabd="+document.getElementById(i[t]).getAttribute("aabd")+"&")+"aabs="+document.getElementById(i[t]).getAttribute("aabs"),tarteaucitron.makeAsync.init(e,i[t])},fallback:function(){tarteaucitron.fallback(["datingaffiliationpopup-canvas"],tarteaucitron.engage("datingaffiliationpopup"))}},tarteaucitron.services.leadforensics={key:"leadforensics",type:"analytic",name:"LeadForensics",uri:"https://www.leadforensics.com/privacy-policy/",needConsent:!0,cookies:["trackalyzer"],js:function(){var t,e;void 0!==tarteaucitron.user.leadforensicsSf14gv&&void 0!==tarteaucitron.user.leadforensicsIidentifier&&(window.sf14gv=tarteaucitron.user.leadforensicsSf14gv,(t=document.createElement("script")).type="text/javascript",t.async=!0,t.src=("https:"==document.location.protocol?"https://":"http://")+"t.sf14g.com/sf14g.js",(e=document.getElementsByTagName("script")[0]).parentNode.insertBefore(t,e),tarteaucitron.addScript("//secure.leadforensics.com/js/"+tarteaucitron.user.leadforensicsIidentifier+".js"))}},tarteaucitron.services.disqus={key:"disqus",type:"comment",name:"Disqus",uri:"https://help.disqus.com/customer/portal/articles/466259-privacy-policy",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.disqusShortname&&(tarteaucitron.addScript("//"+tarteaucitron.user.disqusShortname+".disqus.com/embed.js"),tarteaucitron.addScript("//"+tarteaucitron.user.disqusShortname+".disqus.com/count.js"))},fallback:function(){document.getElementById("disqus_thread")&&(document.getElementById("disqus_thread").innerHTML=tarteaucitron.engage("disqus"))}},tarteaucitron.services.ekomi={key:"ekomi",type:"social",name:"eKomi",uri:"http://www.ekomi-us.com/us/privacy/",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.ekomiCertId&&(window.eKomiIntegrationConfig=[{certId:tarteaucitron.user.ekomiCertId}],tarteaucitron.addScript("//connect.ekomi.de/integration_1410173009/"+tarteaucitron.user.ekomiCertId+".js"))}},tarteaucitron.services.etracker={key:"etracker",type:"analytic",name:"eTracker",uri:"https://www.etracker.com/en/data-protection.html",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.etracker&&tarteaucitron.addScript("//static.etracker.com/code/e.js","_etLoader",function(){},!0,"data-secure-code",tarteaucitron.user.etracker)}},tarteaucitron.services.facebook={key:"facebook",type:"social",name:"Facebook",uri:"https://www.facebook.com/policies/cookies/",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["fb-post","fb-follow","fb-activity","fb-send","fb-share-button","fb-like","fb-video"],""),tarteaucitron.addScript("//connect.facebook.net/"+tarteaucitron.getLocale()+"/sdk.js#xfbml=1&version=v2.0","facebook-jssdk"),!0===tarteaucitron.isAjax&&"undefined"!=typeof FB&&FB.XFBML.parse()},fallback:function(){tarteaucitron.fallback(["fb-post","fb-follow","fb-activity","fb-send","fb-share-button","fb-like","fb-video"],tarteaucitron.engage("facebook"))}},tarteaucitron.services.facebooklikebox={key:"facebooklikebox",type:"social",name:"Facebook (like box)",uri:"https://www.facebook.com/policies/cookie
1s/",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["fb-like-box","fb-page"],""),tarteaucitron.addScript("//connect.facebook.net/"+tarteaucitron.getLocale()+"/sdk.js#xfbml=1&version=v2.3","facebook-jssdk"),!0===tarteaucitron.isAjax&&"undefined"!=typeof FB&&FB.XFBML.parse()},fallback:function(){tarteaucitron.fallback(["fb-like-box","fb-page"],tarteaucitron.engage("facebooklikebox"))}},tarteaucitron.services.facebookcomment={key:"facebookcomment",type:"comment",name:"Facebook (commentaire)",uri:"https://www.facebook.com/policies/cookies/",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["fb-comments"],""),tarteaucitron.addScript("//connect.facebook.net/"+tarteaucitron.getLocale()+"/sdk.js#xfbml=1&version=v2.0","facebook-jssdk"),!0===tarteaucitron.isAjax&&"undefined"!=typeof FB&&FB.XFBML.parse()},fallback:function(){tarteaucitron.fallback(["fb-comments"],tarteaucitron.engage("facebookcomment"))}},tarteaucitron.services.ferank={key:"ferank",type:"analytic",name:"FERank",uri:"https://www.ferank.fr/respect-vie-privee/#mesureaudience",needConsent:!1,cookies:[],js:function(){tarteaucitron.addScript("//static.ferank.fr/pixel.js","",function(){"function"==typeof tarteaucitron.user.ferankMore&&tarteaucitron.user.ferankMore()})}},tarteaucitron.services.ferankpub={key:"ferankpub",type:"ads",name:"FERank (pub)",uri:"https://www.ferank.fr/respect-vie-privee/#regiepublicitaire",needConsent:!1,cookies:[],js:function(){tarteaucitron.addScript("//static.ferank.fr/publicite.async.js"),!0===tarteaucitron.isAjax&&"function"==typeof ferankReady&&ferankReady()},fallback:function(){tarteaucitron.fallback(["ferank-publicite"],tarteaucitron.engage("ferankpub"))}},tarteaucitron.services.getplus={key:"getplus",type:"analytic",name:"Get+",uri:"http://www.getplus.fr/Conditions-generales-de-vente_a226.html",needConsent:!0,cookies:["_first_pageview","_jsuid","no_trackyy_"+tarteaucitron.user.getplusId,"_eventqueue"],js:function(){void 0!==tarteaucitron.user.getplusId&&(window.webleads_site_ids=window.webleads_site_ids||[],window.webleads_site_ids.push(tarteaucitron.user.getplusId),tarteaucitron.addScript("//stats.webleads-tracker.com/js"))}},tarteaucitron.services.gplus={key:"gplus",type:"social",name:"Google+",uri:"https://policies.google.com/privacy",needConsent:!0,cookies:[],js:function(){tarteaucitron.addScript("https://apis.google.com/js/platform.js")},fallback:function(){tarteaucitron.fallback(["g-plus","g-plusone"],tarteaucitron.engage("gplus"))}},tarteaucitron.services.gplusbadge={key:"gplusbadge",type:"social",name:"Google+ (badge)",uri:"https://policies.google.com/privacy",needConsent:!0,cookies:[],js:function(){tarteaucitron.addScript("https://apis.google.com/js/platform.js")},fallback:function(){tarteaucitron.fallback(["g-page","g-person"],tarteaucitron.engage("gplusbadge"))}},tarteaucitron.services.adsense={key:"adsense",type:"ads",name:"Google Adsense",uri:"https://adssettings.google.com/",needConsent:!0,cookies:[],js:function(){tarteaucitron.addScript("https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js")},fallback:function(){tarteaucitron.fallback(["adsbygoogle"],tarteaucitron.engage("adsense"))}},tarteaucitron.services.googlepartners={key:"googlepartners",type:"ads",name:"Google Partners Badge",uri:"https://adssettings.google.com/",needConsent:!0,cookies:[],js:function(){tarteaucitron.addScript("https://apis.google.com/js/platform.js")},fallback:function(){tarteaucitron.fallback(["g-partnersbadge"],tarteaucitron.engage("googlepartners"))}},tarteaucitron.services.adsensesearchform={key:"adsensesearchform",type:"ads",name:"Google Adsense Search (form)",uri:"https://adssettings.google.com/",needConsent:!0,cookies:[],js:function(){tarteaucitron.addScript("//www.google.com/coop/cse/brand?form=cse-search-box&lang="+tarteaucitron.getLanguage())}},tarteaucitron.services.adsensesearchresult={key:"adsensesearchresult",type:"ads",name:"Google Adsense Search (result)",uri:"https://adssettings.google.com/",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.adsensesearchresultCx&&tarteaucitron.addScript("//www.google.com/cse/cse.js?cx="+tarteaucitron.user.adsensesearchresultCx)},fallback:function(){document.getElementById("gcse_searchresults")&&(document.getElementById("gcse_searchresults").innerHTML=tarteaucitron.engage("adsensesearchresult"))}},tarteaucitron.services.googleadwordsconversion={key:"googleadwordsconversion",type:"ads",name:"Google Adwords (conversion)",uri:"https://www.google.com/settings/ads",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.adwordsconversionId&&tarteaucitron.addScript("//www.googleadservices.com/pagead/conversion_async.js","",function(){window.google_trackConversion({google_conversion_id:tarteaucitron.user.adwordsconversionId,google_conversion_label:tarteaucitron.user.adwordsconversionLabel,google_conversion_language:tarteaucitron.user.adwordsconversionLanguage,google_conversion_format:tarteaucitron.user.adwordsconversionFormat,google_conversion_color:tarteaucitron.user.adwordsconversionColor,google_conversion_value:tarteaucitron.user.adwordsconversionValue,google_conversion_currency:tarteaucitron.user.adwordsconversionCurrency,google_custom_params:{parameter1:tarteaucitron.user.adwordsconversionCustom1,parameter2:tarteaucitron.user.adwordsconversionCustom2}})})}},tarteaucitron.services.googleadwordsremarketing={key:"googleadwordsremarketing",type:"ads",name:"Google Adwords (remarketing)",uri:"https://www.google.com/settings/ads",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.adwordsremarketingId&&tarteaucitron.addScript("//www.googleadservices.com/pagead/conversion_async.js","",function(){window.google_trackConversion({google_conversion_id:tarteaucitron.user.adwordsremarketingId,google_remarketing_only:!0})})}},tarteaucitron.services.gajs={key:"gajs",type:"analytic",name:"Google Analytics (ga.js)",uri:"https://support.google.com/analytics/answer/6004245",needConsent:!0,cookies:["_ga","_gat","__utma","__utmb","__utmc","__utmt","__utmz"],js:function(){window._gaq=window._gaq||[],window._gaq.pu
1sh(["_setAccount",tarteaucitron.user.gajsUa]),tarteaucitron.user.gajsAnonymizeIp&&window._gaq.push(["_gat._anonymizeIp"]),tarteaucitron.user.gajsPageView?window._gaq.push(["_trackPageview, "+tarteaucitron.user.gajsPageView]):window._gaq.push(["_trackPageview"]),tarteaucitron.addScript("//www.google-analytics.com/ga.js","",function(){"function"==typeof tarteaucitron.user.gajsMore&&tarteaucitron.user.gajsMore()})}},tarteaucitron.services.analytics={key:"analytics",type:"analytic",name:"Google Analytics (universal)",uri:"https://support.google.com/analytics/answer/6004245",needConsent:!0,cookies:["_ga","_gat","_gid","__utma","__utmb","__utmc","__utmt","__utmz"],js:function(){window.GoogleAnalyticsObject="ga",window.ga=window.ga||function(){window.ga.q=window.ga.q||[],window.ga.q.push(arguments)},window.ga.l=new Date,tarteaucitron.addScript("https://www.google-analytics.com/analytics.js","",function(){var t={cookieExpires:34128e3};tarteaucitron.extend(t,tarteaucitron.user.analyticsUaCreate||{}),ga("create",tarteaucitron.user.analyticsUa,t),tarteaucitron.user.analyticsAnonymizeIp&&ga("set","anonymizeIp",!0),"function"==typeof tarteaucitron.user.analyticsPrepare&&tarteaucitron.user.analyticsPrepare(),tarteaucitron.user.analyticsPageView?ga("send","pageview",tarteaucitron.user.analyticsPageView):ga("send","pageview"),"function"==typeof tarteaucitron.user.analyticsMore&&tarteaucitron.user.analyticsMore()})}},tarteaucitron.services.gtag={key:"gtag",type:"analytic",name:"Google Analytics (gtag.js)",uri:"https://support.google.com/analytics/answer/6004245",needConsent:!0,cookies:["_ga","_gat","_gid","__utma","__utmb","__utmc","__utmt","__utmz",("_gat_gtag_"+tarteaucitron.user.gtagUa).replace(/-/g,"_")],js:function(){window.dataLayer=window.dataLayer||[],tarteaucitron.addScript("https://www.googletagmanager.com/gtag/js?id="+tarteaucitron.user.gtagUa,"",function(){window.gtag=function(){dataLayer.push(arguments)},gtag("js",new Date),gtag("config",tarteaucitron.user.gtagUa),"function"==typeof tarteaucitron.user.gtagMore&&tarteaucitron.user.gtagMore()})}},tarteaucitron.services.googlemaps={key:"googlemaps",type:"api",name:"Google Maps",uri:"https://adssettings.google.com/",needConsent:!0,cookies:[],js:function(){var t,e,i=[],n=(void 0===tarteaucitron.user.mapscallback&&(tarteaucitron.user.mapscallback="tac_googlemaps_callback"),"");tarteaucitron.user.googlemapsLibraries&&(n="&libraries="+tarteaucitron.user.googlemapsLibraries),tarteaucitron.addScript("//maps.googleapis.com/maps/api/js?v=3.exp&key="+tarteaucitron.user.googlemapsKey+"&callback="+tarteaucitron.user.mapscallback+n),window.tac_googlemaps_callback=function(){for(tarteaucitron.fallback(["googlemaps-canvas"],function(t){var e="_"+Math.random().toString(36).substr(2,9);return i.push(e),'<div id="'+e+'" zoom="'+t.getAttribute("zoom")+'" latitude="'+t.getAttribute("latitude")+'" longitude="'+t.getAttribute("longitude")+'" style="width:'+t.offsetWidth+"px;height:"+t.offsetHeight+'px"></div>'}),e=0;e<i.length;e+=1)t={zoom:parseInt(document.getElementById(i[e]).getAttribute("zoom"),10),center:new google.maps.LatLng(parseFloat(document.getElementById(i[e]).getAttribute("latitude"),10),parseFloat(document.getElementById(i[e]).getAttribute("longitude"),10))},t=new google.maps.Map(document.getElementById(i[e]),t),new google.maps.Marker({position:{lat:parseFloat(document.getElementById(i[e]).getAttribute("latitude"),10),lng:parseFloat(document.getElementById(i[e]).getAttribute("longitude"),10)},map:t})}},fallback:function(){tarteaucitron.fallback(["googlemaps-canvas"],tarteaucitron.engage("googlemaps"))}},tarteaucitron.services.googlemapssearch={key:"googlemapssearch",type:"api",name:"Google Maps Search API",uri:"https://adssettings.google.com/",needConsent:!0,cookies:["nid"],js:function(){tarteaucitron.fallback(["googlemapssearch"],function(t){return'<iframe width="'+t.getAttribute("width")+'" height="'+t.getAttribute("height")+'" frameborder="0" style="border:0" src="https://www.google.com/maps/embed/v1/place?q='+escape(t.getAttribute("data-search"))+"&key="+t.getAttribute("data-api-key")+'" allowfullscreen></iframe> '})},fallback:function(){tarteaucitron.fallback(["googlemapssearch"],function(t){return t.style.width=t.getAttribute("width")+"px",t.style.height=t.getAttribute("height")+"px",tarteaucitron.engage("googlemapssearch")})}},tarteaucitron.services.googlemapsembed={key:"googlemapsembed",type:"api",name:"Google Maps Embed",uri:"https://adssettings.google.com/",needConsent:!0,cookies:["apisid","hsid","nid","sapisid","sid","sidcc","ssid","1p_jar"],js:function(){tarteaucitron.fallback(["googlemapsembed"],function(t){var e=tarteaucitron.getElemWidth(t),i=tarteaucitron.getElemHeight(t);return'<iframe src="'+t.getAttribute("data-url")+'" width="'+e+'" height="'+i+'" frameborder="0" scrolling="no" allowtransparency allowfullscreen></iframe>'})},fallback:function(){tarteaucitron.fallback(["googlemapsembed"],function(t){return t.style.width=tarteaucitron.getElemWidth(t)+"px",t.style.height=tarteaucitron.getElemHeight(t)+"px",tarteaucitron.engage("googlemapsembed")})}},tarteaucitron.services.googletagmanager={key:"googletagmanager",type:"api",name:"Google Tag Manager",uri:"https://adssettings.google.com/",needConsent:!0,cookies:["_ga","_gat","__utma","__utmb","__utmc","__utmt","__utmz","__gads","_drt_","FLC","exchange_uid","id","fc","rrs","rds","rv","uid","UIDR","UID","clid","ipinfo","acs"],js:function(){void 0!==tarteaucitron.user.googletagmanagerId&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({"gtm.start":(new Date).getTime(),event:"gtm.js"}),tarteaucitron.addScript("https://www.googletagmanager.com/gtm.js?id="+tarteaucitron.user.googletagmanagerId))}},tarteaucitron.services.multiplegoogletagmanager={key:"multiplegoogletagmanager",type:"api",name:"Google Tag Manager",uri:"https://adssettings.google.com/",needConsent:!0,cookies:["_ga","_gat","__utma","__utmb","__utmc","__utmt","__utmz","__gads","_drt_","FLC","exchange_uid","id","fc","rrs","rds","rv","uid","UIDR","UID","clid","ipinfo","acs"],js:function(){void 0!==tarteaucitron.user.multiplegoogletagmanagerId&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({"gtm.start":(new Date).getTime(),event:"gtm.js"}
1),tarteaucitron.user.multiplegoogletagmanagerId.forEach(function(t){tarteaucitron.addScript("https://www.googletagmanager.com/gtm.js?id="+t)}))}},tarteaucitron.services.googlefonts={key:"googlefonts",type:"api",name:"Google Webfonts",uri:"https://www.google.com/intl/de/policies/privacy/",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.googleFonts&&tarteaucitron.addScript("//ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js","",function(){WebFont.load({google:{families:tarteaucitron.user.googleFonts}})})}},tarteaucitron.services.hubspot={key:"hubspot",type:"analytic",name:"Hubspot",uri:"https://legal.hubspot.com/privacy-policy",needConsent:!0,cookies:["hubspotutk","fr","__hstc","__hssrc","__hssc","__cfduid"],js:function(){tarteaucitron.addScript("//js.hs-scripts.com/"+tarteaucitron.user.hubspotId+".js","hs-script-loader")}},tarteaucitron.services.jsapi={key:"jsapi",type:"api",name:"Google jsapi",uri:"https://policies.google.com/privacy",needConsent:!0,cookies:[],js:function(){tarteaucitron.addScript("//www.google.com/jsapi")}},tarteaucitron.services.twitterwidgetsapi={key:"twitterwidgetsapi",type:"api",name:"Twitter Widgets API",uri:"https://support.twitter.com/articles/20170514",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["tacTwitterAPI"],""),tarteaucitron.addScript("//platform.twitter.com/widgets.js","twitter-wjs")},fallback:function(){tarteaucitron.fallback(["tacTwitterAPI"],tarteaucitron.engage("twitterwidgetsapi"))}},tarteaucitron.services.recaptcha={key:"recaptcha",type:"api",name:"reCAPTCHA",uri:"https://policies.google.com/privacy",needConsent:!0,cookies:["nid"],js:function(){window.tacRecaptchaOnLoad=tarteaucitron.user.recaptchaOnLoad||function(){},tarteaucitron.fallback(["g-recaptcha"],""),tarteaucitron.addScript("https://www.google.com/recaptcha/api.js?onload=tacRecaptchaOnLoad")},fallback:function(){tarteaucitron.fallback(["g-recaptcha"],tarteaucitron.engage("recaptcha"))}},tarteaucitron.services.linkedin={key:"linkedin",type:"social",name:"Linkedin",uri:"https://www.linkedin.com/legal/cookie_policy",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["tacLinkedin"],""),tarteaucitron.addScript("//platform.linkedin.com/in.js"),!0===tarteaucitron.isAjax&&"undefined"!=typeof IN&&IN.parse()},fallback:function(){tarteaucitron.fallback(["tacLinkedin"],tarteaucitron.engage("linkedin"))}},tarteaucitron.services.mautic={key:"mautic",type:"analytic",name:"Mautic",uri:"https://www.mautic.org/privacy-policy/",needConsent:!0,cookies:["mtc_id","mtc_sid"],js:function(){void 0!==tarteaucitron.user.mauticurl&&(window.MauticTrackingObject="mt",window.mt=window.mt||function(){window.mt.q=window.mt.q||[],window.mt.q.push(arguments)},tarteaucitron.addScript(tarteaucitron.user.mauticurl,"",function(){mt("send","pageview")}))}},tarteaucitron.services.microsoftcampaignanalytics={key:"microsoftcampaignanalytics",type:"analytic",name:"Microsoft Campaign Analytics",uri:"https://privacy.microsoft.com/privacystatement/",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.microsoftcampaignanalyticsUUID&&tarteaucitron.addScript("//flex.atdmt.com/mstag/site/"+tarteaucitron.user.microsoftcampaignanalyticsUUID+"/mstag.js","mstag_tops",function(){window.mstag={loadTag:function(){},time:(new Date).getTime()},window.mstag.loadTag("analytics",{dedup:"1",domainId:tarteaucitron.user.microsoftcampaignanalyticsdomainId,type:"1",actionid:tarteaucitron.user.microsoftcampaignanalyticsactionId})})}},tarteaucitron.services.pinterest={key:"pinterest",type:"social",name:"Pinterest",uri:"https://about.pinterest.com/privacy-policy",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["tacPinterest"],""),tarteaucitron.addScript("//assets.pinterest.com/js/pinit.js")},fallback:function(){tarteaucitron.fallback(["tacPinterest"],tarteaucitron.engage("pinterest"))}},tarteaucitron.services.prelinker={key:"prelinker",type:"ads",name:"Prelinker",uri:"http://www.prelinker.com/index/index/cgu/",needConsent:!0,cookies:["_sp_id.32f5","_sp_ses.32f5"],js:function(){var t,e,i=[];for(tarteaucitron.fallback(["prelinker-canvas"],function(t){var e="_"+Math.random().toString(36).substr(2,9);return i.push(e),'<div id="'+e+'" siteId="'+t.getAttribute("siteId")+'" bannerId="'+t.getAttribute("bannerId")+'" defaultLanguage="'+t.getAttribute("defaultLanguage")+'" tracker="'+t.getAttribute("tracker")+'"></div>'}),t=0;t<i.length;t+=1)e="http://promo.easy-dating.org/banner/index?",e=(e=(e=(e+="site_id="+document.getElementById(i[t]).getAttribute("siteId")+"&")+"banner_id="+document.getElementById(i[t]).getAttribute("bannerId")+"&")+"default_language="+document.getElementById(i[t]).getAttribute("defaultLanguage")+"&")+"tr4ck="+document.getElementById(i[t]).getAttribute("trackrt"),tarteaucitron.makeAsync.init(e,i[t])},fallback:function(){tarteaucitron.fallback(["prelinker-canvas"],tarteaucitron.engage("prelinker"))}},tarteaucitron.services.prezi={key:"prezi",type:"video",name:"Prezi",uri:"https://prezi.com/privacy-policy/",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["prezi-canvas"],function(t){return'<iframe src="'+("https://prezi.com/embed/"+t.getAttribute("data-id")+"/?bgcolor=ffffff&amp;lock_to_path=0&amp;autoplay=0&amp;autohide_ctrls=0")+'" width="'+t.getAttribute("width")+'" height="'+t.getAttribute("height")+'" frameborder="0" scrolling="no" allowtransparency allowfullscreen></iframe>'})},fallback:function(){tarteaucitron.fallback(["prezi-canvas"],function(t){return t.style.width=t.getAttribute("width")+"px",t.style.height=t.getAttribute("height")+"px",tarteaucitron.engage("prezi")})}},tarteaucitron.services.pubdirecte={key:"pubdirecte",type:"ads",name:"Pubdirecte",uri:"http://pubdirecte.com/contact.php",needConsent:!0,cookies:[],js:function(){var t,e,i=[];for(tarteaucitron.fallback(["pubdirecte-canvas"],function(t){var e="_"+Math.random().toString(36).substr(2,9);return i.push(e),'<div id="'+e+'" pid="'+t.getAttribute("pid")+'" ref="'+t.getAttribute("ref")+'"></div>'}),t=0;t<i.length;t+=1)e="//www.pubdirecte.com/script/banniere.php?",e=(e+="id="+document.getElementById(i[t]).getAttribute("pid")+"&")+"ref="+document.getElementById(i[t]).getAttribute("ref"),tarteaucitron.makeAsync.init(e,i[t])},fallback:function(){tarteaucitron.fallback(["pubdirecte-canvas"],tarteaucitron.engage("pubdirecte"))}},tarteaucitron.services.purechat={key:"purechat",type:"support",name:"PureChat",uri:"https://www.purechat.com/privacy",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.purechatId&&tarteaucitron.addScript("//app.purechat.com/VisitorWidget/WidgetScript","",function(){try{window.w=new PCWidget({c:tarteaucitron.user.purechatId,f:!0})}catch(t){}})}},tarteaucitron.services.rumbletalk={key:"rumbletalk",type:"social",name:"RumbleTalk",needConsent:!0,cookies:["AWSALB"],js:function(){void 0!==tarteaucitron.user.rumbletalkid&&(tarteaucitron.addScript("https://rumbletalk.com/client/?"+tarteaucitron.user.rumbletalkid),tarteaucitron.fallback(["rumbletalk"],function(t){var e=tarteaucitron.getElemWidth(t);return'<div style="height: '+tarteaucitron.getElemHeight(t)+"px; width: "+e+'px;"><div id="'+t.getAttribute("data-id")+'"></div></div>'}))},fallback:function(){tarteaucitron.fallback(["rumbletalk"],function(t){return t.style.width=tarteaucitron.getElemWidth(t)+"px",t.style.height=tarteaucitron.getElemHeight(t)+"px",tarteaucitron.engage("rumbletalk")})}},tarteaucitron.services.shareaholic={key:"shareaholic",type:"social",name:"Shareaholic",uri:"https://shareaholic.com/privacy/choices",needConsent:!0,cookies:["__utma","__utmb","__utmc","__utmz","__utmt_Shareaholic%20Pageviews"],js:function(){void 0!==tarteaucitron.user.shareaholicSiteId&&(tarteaucitron.fallback(["shareaholic-canvas"],""),tarteaucitron.addScript("//dsms0mj1bbhn4.cloudfront.net/assets/pub/shareaholic.js","",function(){try{Shareaholic.init(tarteaucitron.user.shareaholicSiteId)}catch(t){}}))},fallback:function(){tarteaucitron.fallback(["shareaholic-canvas"],tarteaucitron.engage("shareaholic"))}},tarteaucitron.services.shareasale={key:"shareasale",type:"ads",name:"ShareASale",uri:"https://www.shareasale.com/PrivacyPolicy.pdf",needConsent:!0,cookies:[],js:function(){var t,e,i=[];for(tarteaucitron.fallback(["shareasale-canvas"],function(t){var e="_"+Math.random().toString(36).substr(2,9);return i.push(e),'<div id="'+e+'" amount="'+t.getAttribute("amount")+'" tracking="'+t.getAttribute("tracking")+'" transtype="'+t.getAttribute("transtype")+'" persale="'+t.getAttribute("persale")+'" perlead="'+t.getAttribute("perlead")+'" perhit="'+t.getAttribute("perhit")+'" merchantID="'+t.getAttribute("merchantID")+'"></div>'}),t=0;t<i.length;
1t+=1)e="https://shareasale.com/sale.cfm?",e=(e=(e=(e=(e=(e=(e+="amount="+document.getElementById(i[t]).getAttribute("amount")+"&")+"tracking="+document.getElementById(i[t]).getAttribute("tracking")+"&")+"transtype="+document.getElementById(i[t]).getAttribute("transtype")+"&")+"persale="+document.getElementById(i[t]).getAttribute("persale")+"&")+"perlead="+document.getElementById(i[t]).getAttribute("perlead")+"&")+"perhit="+document.getElementById(i[t]).getAttribute("perhit")+"&")+"merchantID="+document.getElementById(i[t]).getAttribute("merchantID"),document.getElementById(i[t]).innerHTML="<img src='"+e+"' width='1' height='1' />"},fallback:function(){tarteaucitron.fallback(["shareasale-canvas"],tarteaucitron.engage("shareasale"))}},tarteaucitron.services.sharethis={key:"sharethis",type:"social",name:"ShareThis",uri:"http://www.sharethis.com/legal/privacy/",needConsent:!0,cookies:["__unam"],js:function(){var t;void 0!==tarteaucitron.user.sharethisPublisher&&(t=("https:"===document.location.protocol?"https://ws":"http://w")+".sharethis.com/button/buttons.js",tarteaucitron.fallback(["tacSharethis"],""),tarteaucitron.addScript(t,"",function(){stLight.options({publisher:tarteaucitron.user.sharethisPublisher,doNotHash:!1,doNotCopy:!1,hashAddressBar:!1})}),!0===tarteaucitron.isAjax)&&"undefined"!=typeof stButtons&&stButtons.locateElements()},fallback:function(){tarteaucitron.fallback(["tacSharethis"],tarteaucitron.engage("sharethis"))}},tarteaucitron.services.slideshare={key:"slideshare",type:"video",name:"SlideShare",uri:"https://www.linkedin.com/legal/privacy-policy",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["slideshare-canvas"],function(t){return'<iframe src="'+("//www.slideshare.net/slideshow/embed_code/"+t.getAttribute("data-id"))+'" width="'+t.getAttribute("width")+'" height="'+t.getAttribute("height")+'" frameborder="0" scrolling="no" allowtransparency allowfullscreen></iframe>'})},fallback:function(){tarteaucitron.fallback(["slideshare-canvas"],function(t){return t.style.width=t.getAttribute("width")+"px",t.style.height=t.getAttribute("height")+"px",tarteaucitron.engage("slideshare")})}},tarteaucitron.services.statcounter={key:"statcounter",type:"analytic",name:"StatCounter",uri:"https://fr.statcounter.com/about/legal/#privacy",needConsent:!0,cookies:["sc_is_visitor_unique"],js:function(){var t,i=[];for(tarteaucitron.fallback(["statcounter-canvas"],function(t){var e="_"+Math.random().toString(36).substr(2,9);return i.push(e),'<div id="'+e+'"></div>'}),t=0;t<i.length;t+=1)tarteaucitron.makeAsync.init("//statcounter.com/counter/counter.js",i[t])},fallback:function(){tarteaucitron.fallback(["statcounter-canvas"],tarteaucitron.engage("statcounter"))}},tarteaucitron.services.timelinejs={key:"timelinejs",type:"api",name:"Timeline JS",uri:"http://timeline.knightlab.com/#help",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["timelinejs-canvas"],function(t){var e=t.getAttribute("spreadsheet_id"),i=t.getAttribute("width"),n=t.getAttribute("height"),o=t.getAttribute("lang_2_letter");return'<iframe src="'+("//cdn.knightlab.com/libs/timeline/latest/embed/index.html?source="+e+"&font="+t.getAttribute("font")+"&maptype="+t.getAttribute("map")+"&lang="+o+"&start_at_end="+t.getAttribute("start_at_end")+"&hash_bookmark="+t.getAttribute("hash_bookmark")+"&start_at_slide="+t.getAttribute("start_at_slide")+"&start_zoom_adjust="+t.getAttribute("start_zoom")+"&height="+n)+'" width="'+i+'" height="'+n+'" frameborder="0" allowtransparency allowfullscreen></iframe>'})},fallback:function(){tarteaucitron.fallback(["timelinejs-canvas"],function(t){return t.style.width=t.getAttribute("width")+"px",t.style.height=t.getAttribute("height")+"px",tarteaucitron.engage("timelinejs")})}},tarteaucitron.services.tagcommander={key:"tagcommander",type:"api",name:"TagCommander",uri:"https://www.commandersact.com/en/privacy/",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.tagcommanderid&&tarteaucitron.addScript("https://cdn.tagcommander.com/"+tarteaucitron.user.tagcommanderid+".js")}},tarteaucitron.services.typekit={key:"typekit",type:"api",name:"Typekit (adobe)",uri:"https://www.adobe.com/privacy.html",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.typekitId&&tarteaucitron.addScript("//use.typekit.net/"+tarteaucitron.user.typekitId+".js","",function(){try{Typekit.load()}catch(t){}})}},tarteaucitron.services.twenga={key:"twenga",type:"ads",name:"Twenga",uri:"http://www.twenga.com/privacy.php",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.twengaId&&void 0!==tarteaucitron.user.twengaLocale&&tarteaucitron.addScript("//tracker.twenga."+tarteaucitron.user.twengaLocale+"/st/tracker_"+tarteaucitron.user.twengaId+".js")}},tarteaucitron.services.twitter={key:"twitter",type:"social",name:"Twitter",uri:"https://support.twitter.com/articles/20170514",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["tacTwitter"],""),tarteaucitron.addScript("//platform.twitter.com/widgets.js","twitter-wjs")},fallback:function(){tarteaucitron.fallback(["tacTwitter"],tarteaucitron.engage("twitter"))}},tarteaucitron.services.twitterembed={key:"twitterembed",type:"social",name:"Twitter (cards)",uri:"https://support.twitter.com/articles/20170514",needConsent:!0,cookies:[],js:function(){var t,e,i,n=[];tarteaucitron.fallback(["twitterembed-canvas"],function(t){var e="_"+Math.random().toString(36).substr(2,9);return n.push(e),i='<div id="'+e+'" ',(i+='tweetid="'+t.getAttribute("tweetid")+'" ')+('theme="'+t.getAttribute("theme")+'" ')+('cards="'+t.getAttribute("cards")+'" ')+('conversation="'+t.getAttribute("conversation")+'" ')+('data-width="'+t.getAttribute("data-width")+'" ')+('data-align="'+t.getAttribute("data-align")+'" ')+"></div>"}),tarteaucitron.addScript("//platform.twitter.com/widgets.js","twitter-wjs",function(){for(t=0;t<n.length;t+=1)e=document.getElementById(n[t]),twttr.widgets.createTweet(e.getAttribute("tweetid"),e,{theme:e.getAttribute("theme"),cards:e.getAttribute("cards"),conversation:e.getAttribute("conversation"),lang:tarteaucitron.getLanguage(),dnt:!0,width:e.getAttribute("data-width"),align:e.getAttribute("data-align")})})},fallback:function(){tarteaucitron.fallback(["twitterembed-canvas"],function(t){return t.style.width=t.getAttribute("data-width")+"px",tarteaucitron.engage("twitterembed")})}},tarteaucitron.services.twittertimeline={key:"twittertimeline",type:"social",name:"Twitter (timelines)",uri:"https://support.twitter.com/articles/20170514",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["tacTwitterTimelines"],""),tarteaucitron.addScript("//platform.twitter.com/widgets.js","twitter-wjs")},fallback:function(){tarteaucitron.fallback(["tacTwitterTimelines"],tarteaucitron.engage("twittertimeline"))}},tarteaucitron.services.uservoice={key:"uservoice",type:"support",name:"UserVoice",uri:"https://www.uservoice.com/privacy/",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.userVoiceApi&&tarteaucitron.addScript("//widget.uservoice.com/"+tarteaucitron.user.userVoiceApi+".js")}},tarteaucitron.services.vimeo={key:"vimeo",type:"video",name:"Vimeo",uri:"https://vimeo.com/privacy",needConsent:!0,cookies:["__utmt_player","__utma","__utmb","__utmc","__utmv","vuid","__utmz","player"],js:function(){tarteaucitron.fallback(["vimeo_player"],function(t){var e,i=t.getAttribute("data-width")||t.getAttribute("width"),n="width=",o=t.getAttribute("data-height")||t.getAttribute("height"),a="height=",r=t.getAttribute("data-videoID")||t.getAttribute("videoID"),s=t.getAttribute("data-autopause")||"",l=t.getAttribute("data-autoplay")||t.getAttribute("autoplay")||"",c=t.getAttribute("data-background")||"",u=t.getAttribute("data-byline")||t.getAttribute("byline")||"",d=t.getAttribute("data-color")||"",h=t.getAttribute("data-controls")||"",p=t.getAttribute("data-loop")||t.getAttribute("loop")||"",f=t.getAttribute("data-maxheight")||"",m=t.getAttribute("data-maxwidth")||"",g=t.getAttribute("data-muted")||"",v=t.getAttribute("data-playsinline")||"",y=t.getAttribute("data-portrait")||t.getAttribute("portrait")||"",_=t.getAttribute("data-speed")||"",b=t.getAttribute("data-title")||t.getAttribute("title")||"",t=t.getAttribute("data-transparent")||"";return void 0===r?"":(e="?",0<b.length&&(e+="title="+b),0<u.length&&(0<e.length&&(e+="&"),e+="byline="+u),0<y.length&&(0<e.length&&(e+="&"),e+="portrait="+y),0<
1p.length&&(0<e.length&&(e+="&"),e+="loop="+p),0<l.length&&(0<e.length&&(e+="&"),e+="autoplay="+l),0<s.length&&(0<e.length&&(e+="&"),e+="autopause="+s),0<c.length&&(0<e.length&&(e+="&"),e+="background="+c),0<d.length&&(0<e.length&&(e+="&"),e+="color="+d),0<h.length&&(0<e.length&&(e+="&"),e+="controls="+h),0<f.length&&(0<e.length&&(e+="&"),e+="maxheight="+f),0<m.length&&(0<e.length&&(e+="&"),e+="maxwidth="+m),0<g.length&&(0<e.length&&(e+="&"),e+="muted="+g),0<v.length&&(0<e.length&&(e+="&"),e+="playsinline="+v),0<_.length&&(0<e.length&&(e+="&"),e+="speed="+_),0<t.length&&(0<e.length&&(e+="&"),e+="transparent="+t),'<iframe src="//player.vimeo.com/video/'+r+(e="?"===e?"":e)+'" '+(n+=void 0!==i?'"'+i+'" ':'"" ')+(a+=void 0!==o?'"'+o+'" ':'"" ')+' frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>')})},fallback:function(){tarteaucitron.fallback(["vimeo_player"],function(t){return t.style.width=t.getAttribute("width")+"px",t.style.height=t.getAttribute("height")+"px",tarteaucitron.engage("vimeo")})}},tarteaucitron.services.visualrevenue={key:"visualrevenue",type:"analytic",name:"VisualRevenue",uri:"http://www.outbrain.com/legal/privacy-713/",needConsent:!0,cookies:["__vrf","__vrm","__vrl","__vry","__vru","__vrid","__vrz"],js:function(){void 0!==tarteaucitron.user.visualrevenueId&&(window._vrq=window._vrq||[],window._vrq.push(["id",tarteaucitron.user.visualrevenueId]),window._vrq.push(["automate",!0]),window._vrq.push(["track",function(){}]),tarteaucitron.addScript("http://a.visualrevenue.com/vrs.js"))}},tarteaucitron.services.vshop={key:"vshop",type:"ads",name:"vShop",uri:"http://vshop.fr/privacy-policy",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["vcashW"],""),tarteaucitron.addScript("//vshop.fr/js/w.js")},fallback:function(){tarteaucitron.fallback(["vcashW"],tarteaucitron.engage("vshop"))}},tarteaucitron.services.wysistat={key:"wysistat",type:"analytic",name:"Wysistat",uri:"http://wysistat.net/contact/",needConsent:!0,cookies:["Wysistat"],js:function(){void 0!==tarteaucitron.user.wysistat&&tarteaucitron.addScript("//www.wysistat.com/statistique.js","",function(){window.stat(tarteaucitron.user.wysistat.cli,tarteaucitron.user.wysistat.frm,tarteaucitron.user.wysistat.prm,tarteaucitron.user.wysistat.ce,tarteaucitron.user.wysistat.page,tarteaucitron.user.wysistat.roi,tarteaucitron.user.wysistat.prof,tarteaucitron.user.wysistat.cpt)})}},tarteaucitron.services.xiti={key:"xiti",type:"analytic",name:"Xiti",uri:"https://www.atinternet.com/societe/rgpd-et-vie-privee/",needConsent:!0,cookies:[],js:function(){if(void 0!==tarteaucitron.user.xitiId){var e,t,i="s="+tarteaucitron.user.xitiId+"&p=",n=document.createElement("div");try{e=top.document.referrer}catch(t){e=document.referrer}t='<img style="display:none" border="0" alt="" ',t=(t+='src="http://logv3.xiti.com/hit.xiti?'+i)+("&hl="+(i=new Date).getHours()+"x"+i.getMinutes()+"x"+i.getSeconds()),4<=parseFloat(navigator.appVersion)&&(t+="&r="+(i=screen).width+"x"+i.height+"x"+i.pixelDepth+"x"+i.colorDepth),n.innerHTML=t+"&ref="+e.replace(/[<>"]/g,"").replace(/&/g,"$")+'" title="Internet Audience">',document.getElementsByTagName("body")[0].appendChild(n.firstChild),"function"==typeof tarteaucitron.user.xitiMore&&tarteaucitron.user.xitiMore()}}},tarteaucitron.services.atinternet={key:"atinternet",type:"analytic",name:"AT Internet (privacy by design)",uri:"https://www.atinternet.com/societe/rgpd-et-vie-privee/",needConsent:!1,cookies:["atidvisitor","atreman","atredir","atsession","atuserid"],js:function(){void 0!==tarteaucitron.user.atLibUrl&&tarteaucitron.addScript(tarteaucitron.user.atLibUrl,"",function(){new ATInternet.Tracker.Tag;"function"==typeof tarteaucitron.user.atMore&&tarteaucitron.user.atMore()})}},tarteaucitron.services.atinternethightrack={key:"atinternethightrack",type:"analytic",name:"AT Internet",uri:"https://www.atinternet.com/societe/rgpd-et-vie-privee/",needConsent:!0,cookies:["atidvisitor","atreman","atredir","atsession","atuserid"],js:function(){void 0!==tarteaucitron.user.atLibUrl&&tarteaucitron.addScript(tarteaucitron.user.atLibUrl,"",function(){new ATInternet.Tracker.Tag;"function"==typeof tarteaucitron.user.atMore&&tarteaucitron.user.atMore()})}},tarteaucitron.services.youtube={key:"youtube",type:"video",name:"YouTube",uri:"https://policies.google.com/privacy",needConsent:!0,cookies:["VISITOR_INFO1_LIVE","YSC","PREF","GEUP"],js:function(){tarteaucitron.fallback(["youtube_player"],function(t){var e=t.getAttribute("videoID"),i=t.getAttribute("width"),n="width=",o=t.getAttribute("height"),a="height=",t="theme="+t.getAttribute("theme")+"&rel="+t.getAttribute("rel")+"&controls="+t.getAttribute("controls")+"&showinfo="+t.getAttribute("showinfo")+"&autoplay="
1+t.getAttribute("autoplay")+"&mute="+t.getAttribute("mute");return void 0===e?"":'<iframe type="text/html" '+(n+=void 0!==i?'"'+i+'" ':'"" ')+(a+=void 0!==o?'"'+o+'" ':'"" ')+' src="//www.youtube-nocookie.com/embed/'+e+"?"+t+'" frameborder="0" allowfullscreen></iframe>'})},fallback:function(){tarteaucitron.fallback(["youtube_player"],function(t){return t.style.width=t.getAttribute("width")+"px",t.style.height=t.getAttribute("height")+"px",tarteaucitron.engage("youtube")})}},tarteaucitron.services.youtubeplaylist={key:"youtubeplaylist",type:"video",name:"YouTube (playlist)",uri:"https://policies.google.com/privacy",needConsent:!0,cookies:["VISITOR_INFO1_LIVE","YSC","PREF","GEUP"],js:function(){tarteaucitron.fallback(["youtube_playlist_player"],function(t){var e=t.getAttribute("playlistID"),i=t.getAttribute("width"),n="width=",o=t.getAttribute("height"),a="height=",t="theme="+t.getAttribute("theme")+"&rel="+t.getAttribute("rel")+"&controls="+t.getAttribute("controls")+"&showinfo="+t.getAttribute("showinfo")+"&autoplay="+t.getAttribute("autoplay")+"&mute="+t.getAttribute("mute");return void 0===e?"":'<iframe type="text/html" '+(n+=void 0!==i?'"'+i+'" ':'"" ')+(a+=void 0!==o?'"'+o+'" ':'"" ')+' src="//www.youtube-nocookie.com/embed/videoseries?list='+e+"&"+t+'" frameborder="0" allowfullscreen></iframe>'})},fallback:function(){tarteaucitron.fallback(["youtube_playlist_player"],function(t){return t.style.width=t.getAttribute("width")+"px",t.style.height=t.getAttribute("height")+"px",tarteaucitron.engage("youtubeplaylist")})}},tarteaucitron.services.zopim={key:"zopim",type:"support",name:"Zopim",uri:"https://www.zopim.com/privacy",needConsent:!0,cookies:["__zlcid","__zprivacy"],js:function(){void 0!==tarteaucitron.user.zopimID&&tarteaucitron.addScript("//v2.zopim.com/?"+tarteaucitron.user.zopimID)}},tarteaucitron.services.xiti_smarttag={key:"xiti_smarttag",type:"analytic",name:"Xiti (SmartTag)",uri:"https://www.atinternet.com/societe/protection-des-donnees/",needConsent:!0,cookies:["atidvisitor","atreman","atredir","atsession","atuserid","attvtreman","attvtsession"],js:function(){var t;void 0!==tarteaucitron.user.xiti_smarttagLocalPath?tarteaucitron.addScript(tarteaucitron.user.xiti_smarttagLocalPath,"smarttag",null,null,"onload","addTracker();"):void 0!==(t=tarteaucitron.user.xiti_smarttagSiteId)&&tarteaucitron.addScript("//tag.aticdn.net/"+t+"/smarttag.js","smarttag",null,null,"onload","addTracker();")}},tarteaucitron.services.facebookpixel={key:"facebookpixel",type:"ads",name:"Facebook Pixel",uri:"https://fr-fr.facebook.com/business/help/www/651294705016616",needConsent:!0,cookies:["datr","fr","reg_ext_ref","reg_fb_gate","reg_fb_ref","sb","wd","x-src"],js:function(){var t;window.fbq||(t=window.fbq=function(){t.callMethod?t.callMethod.apply(t,arguments):t.queue.push(arguments)},window._fbq||(window._fbq=t),(t.push=t).loaded=!0,t.version="2.0",t.queue=[],tarteaucitron.addScript("https://connect.facebook.net/en_US/fbevents.js"),fbq("init",tarteaucitron.user.facebookpixelId),fbq("track","PageView"),"function"==typeof tarteaucitron.user.facebookpixelMore&&tarteaucitron.user.facebookpixelMore())}},tarteaucitron.services.issuu={key:"issuu",type:"other",name:"Issuu",uri:"https://issuu.com/legal/privacy",needConsent:!0,cookies:["__qca","iutk","mc"],js:function(){tarteaucitron.fallback(["issuu_player"],function(t){var e=t.getAttribute("issuuID"),i=t.getAttribute("width"),n="width=",t=t.getAttribute("height"),o="height=";return void 0===e?"":'<iframe type="text/html" '+(n+=void 0!==i?'"'+i+'" ':'"" ')+(o+=void 0!==t?'"'+t+'" ':'"" ')+' src="//e.issuu.com/embed.html#'+e+'" frameborder="0"></iframe>'})},fallback:function(){tarteaucitron.fallback(["issuu_player"],function(t){return t.style.width=t.getAttribute("width")+"px",t.style.height=t.getAttribute("height")+"px",tarteaucitron.engage("issuu")})}},tarteaucitron.services.webmecanik={key:"webmecanik",type:"analytic",name:"Webmecanik",uri:"https://webmecanik.com/tos",needConsent:!0,cookies:["mtc_id","mtc_sid"],js:function(){void 0!==tarteaucitron.user.webmecanikurl&&(window.MauticTrackingObject="mt",window.mt=window.mt||function(){window.mt.q=window.mt.q||[],window.mt.q.push(arguments)},tarteaucitron.addScript(tarteaucitron.user.webmecanikurl,"",function(){mt("send","pageview")}))}},tarteaucitron.services.multiplegtag={key:"multiplegtag",type:"analytic",name:"Google Analytics (gtag.js)",uri:"https://support.google.com/analytics/answer/6004245",needConsent:!0,cookies:(()=>{var e=["_ga","_gat","_gid","__utma","__utmb","__utmc","__utmt","__utmz"];return void 0!==tarteaucitron.user.multiplegtagUa&&tarteaucitron.user.multiplegtagUa.forEac
1h(function(t){e.push("_gat_gtag_"+t.replace(/-/g,"_"))}),e})(),js:function(){window.dataLayer=window.dataLayer||[],tarteaucitron.user.multiplegtagUa.forEach(function(t){tarteaucitron.addScript("https://www.googletagmanager.com/gtag/js?id="+t,"",function(){window.gtag=function(){dataLayer.push(arguments)},gtag("js",new Date),gtag("config",t)})})}},tarteaucitron.services.koban={key:"koban",type:"analytic",name:"Koban",uri:"https://koban.cloud/tos",needConsent:!0,cookies:["kbntrk"],js:function(){void 0!==tarteaucitron.user.kobanurl&&void 0!==tarteaucitron.user.kobanapi&&(window.KobanObject="kb",window.kb=window.kb||function(){window.kb.q=window.kb.q||[],window.kb.q.push(arguments)},window.kb.l=new Date,kb("reg",tarteaucitron.user.kobanapi),tarteaucitron.addScript(tarteaucitron.user.kobanurl,"",function(){}))}},tarteaucitron.services.matomo={key:"matomo",type:"analytic",name:"Matomo (privacy by design)",uri:"https://matomo.org/faq/general/faq_146/",needConsent:!1,cookies:["_pk_ref","_pk_cvar","_pk_id","_pk_ses","_pk_hsr","piwik_ignore","_pk_uid"],js:function(){var n;void 0!==tarteaucitron.user.matomoId&&(window._paq=window._paq||[],window._paq.push(["setSiteId",tarteaucitron.user.matomoId]),window._paq.push(["setTrackerUrl",tarteaucitron.user.matomoHost+"piwik.php"]),window._paq.push(["setDoNotTrack",1]),window._paq.push(["trackPageView"]),window._paq.push(["setIgnoreClasses",["no-tracking","colorbox"]]),window._paq.push(["enableLinkTracking"]),window._paq.push([function(){var t,e=this;this.setVisitorCookieTimeout((t=new Date,t=Math.round(t.getTime()/1e3),e=e.getVisitorInfo(),parseInt(e[2])+33696e3-t))}]),tarteaucitron.addScript(tarteaucitron.user.matomoHost+"piwik.js","","",!0,"defer",!0),n=setInterval(function(){if("undefined"!=typeof Piwik){clearInterval(n),Piwik.getTracker();for(var t=document.cookie.split(";"),e=1;e<=t.length;e++){var i=t[e-1].split("=")[0].trim();0===i.indexOf("_pk_")&&tarteaucitron.services.matomo.cookies.push(i)}}},100))}},tarteaucitron.services.matomohightrack={key:"matomohightrack",type:"analytic",name:"Matomo",uri:"https://matomo.org/faq/general/faq_146/",needConsent:!0,cookies:["_pk_ref","_pk_cvar","_pk_id","_pk_ses","_pk_hsr","piwik_ignore","_pk_uid"],js:function(){var n;void 0!==tarteaucitron.user.matomoId&&(window._paq=window._paq||[],window._paq.push(["setSiteId",tarteaucitron.user.matomoId]),window._paq.push(["setTrackerUrl",tarteaucitron.user.matomoHost+"piwik.php"]),window._paq.push(["trackPageView"]),window._paq.push(["setIgnoreClasses",["no-tracking","colorbox"]]),window._paq.push(["enableLinkTracking"]),window._paq.push([function(){}]),tarteaucitron.addScript(tarteaucitron.user.matomoHost+"piwik.js","","",!0,"defer",!0),n=setInterval(function(){if("undefined"!=typeof Piwik){clearInterval(n),Piwik.getTracker();for(var t=document.cookie.split(";"),e=1;e<=t.length;e++){var i=t[e-1].split("=")[0].trim();0===i.indexOf("_pk_")&&tarteaucitron.services.matomo.cookies.push(i)}}},100))}},tarteaucitron.services.hotjar={key:"hotjar",type:"analytic",name:"Hotjar",uri:"https://help.hotjar.com/hc/en-us/categories/115001323967-About-Hotjar",needConsent:!0,cookies:["hjClosedSurveyInvites","_hjDonePolls","_hjMinimizedPolls","_hjDoneTestersWidgets","_hjMinimizedTestersWidgets","_hjDoneSurveys","_hjIncludedInSample","_hjShownFeedbackMessage"],js:function(){void 0!==tarteaucitron.user.hotjarId&&void 0!==tarteaucitron.user.HotjarSv&&(window.hj=window.hj||function(){(window.hj.q=window.hj.q||[]).push(arguments)},window._hjSettings={hjid:tarteaucitron.user.hotjarId,hjsv:tarteaucitron.user.HotjarSv},tarteaucitron.addScript("https://static.hotjar.com/c/hotjar-"+window._hjSettings.hjid+".js?sv="+window._hjSettings.hjsv))}},tarteaucitron.services.bingads={key:"bingads",type:"ads",name:"Bing Ads Universal Event Tracking",uri:"https://advertise.bingads.microsoft.com/en-us/resources/policies/personalized-ads",needConsent:!0,cookies:["_uetmsclkid","_uetvid","_uetsid"],js:function(){window.uetq=window.uetq||[],tarteaucitron.addScript("https://bat.bing.com/bat.js","",function(){var t={ti:tarteaucitron.user.bingadsID};"bingadsStoreCookies"in tarteaucitron.user&&(t.storeConvTrackCookies=tarteaucitron.user.bingadsStoreCookies),t.q=window.uetq,window.uetq=new UET(t),window.uetq.push("pageLoad")})}},tarteaucitron.services.matterport={key:"matterport",type:"other",name:"Matterport",uri:"https://matterport.com/es/legal/privacy-policy/",needConsent:!0,cookies:["__cfduid","ajs_anonymous_id","ajs_group_id","ajs_user_id"],js:function(){tarteaucitron.fallback(["matterport"],function(t){var e=t.getAttribute("matterportID"),i=t.getAttribute("width"),n="width=",o=t.getAttribute("height"),a="height=",t=t.getAttribute("parameters");return void 0===e||void 0===t?"":'<iframe type="text/html" '+(n+=void 0!==i?'"'+i+'" ':'"" ')+(a+=void 0!==o?'"'+o+'" ':'"" ')+' src="https://my.matterport.com/show/?m='+e+"&utm_source=hit-content"+t+'" frameborder="0" allowfullscreen="allowfullscreen"></iframe>'})},fallback:function(){tarteaucitron.fallback(["matterport"],function(t){return t.style.width=t.getAttribute("width")+"px",t.style.height=t.getAttribute("height")+"px",tarteaucitron.engage("matterport")})}},tarteaucitron.services.adform={key:"adform",type:"ads",name:"Adform",ur
1i:"https://site.adform.com/privacy-center/overview/",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.adformpm&&void 0!==tarteaucitron.user.adformpagename&&(window._adftrack={pm:tarteaucitron.user.adformpm,divider:encodeURIComponent("|"),pagename:encodeURIComponent(tarteaucitron.user.adformpagename)},tarteaucitron.addScript("https://track.adform.net/serving/scripts/trackpoint/async/"))}},tarteaucitron.services.activecampaign={key:"activecampaign",type:"ads",name:"Active Campaign",uri:"https://www.activecampaign.com/privacy-policy/",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.actid&&(window.trackcmp_email="",tarteaucitron.addScript("https://trackcmp.net/visit?actid="+tarteaucitron.user.actid+"&e="+encodeURIComponent(trackcmp_email)+"&r="+encodeURIComponent(document.referrer)+"&u="+encodeURIComponent(window.location.href)))}},tarteaucitron.services.tawkto={key:"tawkto",type:"support",name:"Tawk.to chat",uri:"https://www.tawk.to/data-protection/",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.tawktoId&&(window.Tawk_API=window.Tawk_API||{},window.Tawk_LoadStart=new Date,tarteaucitron.addScript("https://embed.tawk.to/"+tarteaucitron.user.tawktoId+"/default"))}},tarteaucitron.services.getquanty={key:"getquanty",type:"analytic",name:"GetQuanty",uri:"https://www.getquanty.com/mentions-legales/",needConsent:!0,cookies:["_first_pageview","eqy_sessionid","eqy_siteid","cluid","eqy_company","cluid","gq_utm","_jsuid"],js:function(){void 0!==tarteaucitron.user.getguanty&&(window.webleads_site_ids=window.webleads_site_ids||[],window.webleads_site_ids.push(tarteaucitron.user.getguanty),tarteaucitron.addScript("https://stats.webleads-tracker.com/js"),tarteaucitron.addScript("https://get.smart-data-systems.com/track?site_id="+tarteaucitron.user.getguanty))}},tarteaucitron.services.emolytics={key:"emolytics",type:"analytic",name:"Emolytics",uri:"https://www.emolytics.com/main/privacy-policy.php",needConsent:!0,cookies:["__hssc","__hssrc","__hstc","_ga","_gid","hubspotutk","lang","incap_ses_","nlbi_","visid_incap_"],js:function(){var t;void 0!==tarteaucitron.user.emolyticsID&&((t=document.createElement("script")).text='var getsmily_id="'+tarteaucitron.user.emolyticsID+'";',document.getElementsByTagName("body")[0].appendChild(t),tarteaucitron.addScript("https://cdn.emolytics.com/script/emolytics-widget.js"))}},tarteaucitron.services.youtubeapi={key:"youtubeapi",type:"video",name:"Youtube (Js API)",uri:"https://policies.google.com/privacy/",needConsent:!0,cookies:[],js:function(){tarteaucitron.addScript("https://www.youtube.com/player_api")}},tarteaucitron.services.faciliti={key:"faciliti",type:"other",name:"Facil'ITI",uri:"https://ws.facil-iti.com/mentions-legales.html",needConsent:!0,cookies:["FACIL_ITI_LS"],js:function(){var t,e,i,n;void 0!==tarteaucitron.user.facilitiID&&(t=window,e=document,t[i="FACIL_ITI"]=t[i]||{conf:function(){(t[i].data=t[i].data||[]).push(arguments)}},n=e.createElement("script"),e=e.getElementsByTagName("script")[0],n.async=1,n.src="https://ws.facil-iti.com/tag/faciliti-tag.min.js",e.parentNode.insertBefore(n,e),FACIL_ITI.conf("userId",tarteaucitron.user.facilitiID))}},tarteaucitron.services.userlike={key:"userlike",type:"support",name:"Userlike",uri:"https://www.userlike.com/en/terms#privacy-policy",needConsent:!0,cookies:["uslk_s","uslk_e"],js:function(){void 0!==tarteaucitron.user.userlikeKey&&tarteaucitron.addScript("//userlike-cdn-widgets.s3-eu-west-1.amazonaws.com/"+tarteaucitron.user.userlikeKey)}},tarteaucitron.services.adobeanalytics={key:"adobeanalytics",type:"analytic",name:"Adobe Analytics",uri:"https://www.adobe.com/privacy/policy.html",needConsent:!0,cookies:["s_ecid","s_cc","s_sq","s_vi","s_fid"],js:function(){void 0!==tarteaucitron.user.adobeanalyticskey&&tarteaucitron.addScript("//assets.adobedtm.com/launch-"+tarteaucitron.user.adobeanalyticskey+".min.js")}},tarteaucitron.services.woopra={key:"woopra",type:"analytic",name:"Woopra Customer Journey Analytics",uri:"https://www.woopra.com/privacy",needConsent:!0,cookies:["wooTracker","intercom-session-erbfalba","intercom-id-erbfalba"],js:function(){!function(){function t(){var t,e=this;for(e._e=[],t=0;t<r.length;t++)(t=>{e[t]=function(){return e._e.push([t].concat(Array.prototype.slice.call(arguments,0))),e}})(r[t])}var e,i,n=window,o=document,a=arguments,r=["config","track","identify","visit","push","call","trackForm","trackClick"];for(n._w=n._w||{},e=0;e<a.length;e++)n._w[a[e]]=n[a[e]]=n[a[e]]||new t;(i=o.createElement("script")).async=1,i.src="//static.woopra.com/js/w.js",(o=o.getElementsByTagName("script")[0]).parentNode.insertBefore(i,o)}("woopra"),woopra.config({domain:tarteaucitron.user.woopraDomain}),woopra.track()}},tarteaucitron.langlist||(tarteaucitron.langlist={}),tarteaucitron.langlist.cs={adblock:"Ahoj! Tato stránka je transparetní a umožňuje ti si přímo vybrat, jaké služby třetích stran chceš povolit.",adblock_call:"Pro úpravu osobních preferencí si, prosím, vypni adblock.",reload:"Načíst stránku znovu",alertBigScroll:"Pokračováním ve scrollování,",alertBigClick:"Pokud pokračujete v brouzdání našich stránek,",alertBig:"povolujete všechny služby třetích stran.",alertBigPrivacy:"Tato stránka využívá cookies a dává ti na výběr, co chceš aktivovat",alertSmall:"Spravovat služby",personalize:"Přizpůsobit",acceptAll:"OK, přijmout vše",close:"Zavřít",all:"Nastavení všech služeb",info:"Chrání tvé soukromí",disclaimer:"Povolením těchto služeb třetích stran, přijímáš jejich cookies, jež jsou nezbytné pro řádné fungování jejich technologií.",allow:"Povolit",deny:"Zamítnout",noCookie:"Tato služba nepoužívá cookies.",useCookie:"Tato služba může nainstalovat",useCookieCurrent:"Tato služba nainstalovala",useNoCookie:"Tato služba nenainstalovala žádné cookies.",more:"Dozvědět se více",source:"Zobrazit oficiální stránku",credit:"Správce cookies od tarteaucitron.js",fallback:"je vypnutý.",ads:{title:"Reklamní síť",details:"Prodejem reklamních ploch na této stránce mohou reklamní sítě vydělávat peníze."},analytic:{title:"Statistika návštěvnosti",details:"Služby pro analýzu návštěvníků slouží k vytvoření užitečných statistik návštěvnosti. Ty zase slouží ke zlepšení stránky."},social:{title:"Sociální sítě",details:"Sociální sítě mohou usnadnit práci se stránkou a pomáhají jí prosadit se pomocí sdílení."},video:{title:"Videa",details:"Video-hostingové služby pomáhají přidat na stránku bohaté mediální prvky."},comment:{title:"Komentáře",details:"Správce komentářů zajišťují vyplňování komentářů a bojují proti šíření spamu."},support:{title:"Podpora",details:"Služby podpory ti pomáhají spojit se s týmem stojícím za stránkou a umožňují ti vyjádřit se k jejím nedostatkům."},api:{title:"API",details:"API slouží k načtění skriptů: geolokace, vyhledávačů, překladů, ..."},other:{title:"Jiný",details:"Služby pro zobrazení webového obsahu."}},tarteaucitron.langlist.de={adblock:"Hallo! Diese Seite ist transparent und lässt Ihnen die Wahl der externen Services, die aktiviert werden dürfen.",adblock_call:"Bitte deaktivieren Sie Ihren 'Werbeblocker' um Konfigurieren zu können.",reload:"Seite neu laden",alertBigScroll:"Durch die fortgesetzte blättern,",alertBigClick:"Wenn Sie diese Webseite benutzen,",alertBig:"stimmen Sie der Benutzung von externen Diensten zu",alertBigPrivacy:"Diese Webseite verwendet 'Cookies' und ermöglicht dadurch Kontrolle, welche Dienste benutzt werden dürfen",alertSmall:"Service-Kontrolle",personalize:"Personalisieren",acceptAll:"OK, akzeptiere alles",close:"Beenden",all:"Präferenz für alle Dienste",info:"Schutz der Privatsphäre",disclaimer:"Wenn Sie diese Dienste nutzen, erlauben Sie deren 'Cookies' und Tracking-Funktionen, die zu ihrer ordnungsgemäßen Funktion notwendig sind.",allow:"Erlauben",de
1ny:"Ablehnen",noCookie:"Dieser Dienst nutzt keine 'Cookies'.",useCookie:"Dieser Dienst kann installieren",useCookieCurrent:"Dieser Dienst hat installiert",useNoCookie:"Dieser Dienst hat keine 'Cookies' installiert.",more:"Weiter lesen",source:"Zur offiziellen Webseite",credit:"Cookies manager von tarteaucitron.js",fallback:"ist deaktiviert.",ads:{title:"Anzeigen Netzwerke",details:"Anzeigen Netzwerke können mit dem Verkauf von Werbeplatzierungen auf der Seite Einnahmen erhalten."},analytic:{title:"Besucher Zähldienste",details:"Die verwendeten Besucher Zähldienste generieren Statistiken die dabei helfen, die Seite zu verbessern."},social:{title:"Soziale Netzwerke",details:"Soziale Netzwerke können die Benutzbarkeit der Seite verbessern und ihren Bekanntheitsgrad erhöhen."},video:{title:"Videos",details:"Video Platformen erlauben Videoinhalte einzublenden und die Sichtbarkeit der Seite zu erhöhen."},comment:{title:"Kommentare",details:"Kommentar Manager erleichtern die Organisation von Kommentaren und helfen dabei Spam zu verhindern."},support:{title:"Support",details:"Support Dienste erlauben es die Urheber der Seite zu kontaktieren und sie zu verbessern."},api:{title:"APIs",details:"APIs werden benutzt um Skripte zu laden, wie: Geolokalisation, Suchmaschinen, Übersetzungen, ..."},other:{title:"Andere",details:"Dienste zum Anzeigen von Web-Inhalten."}},tarteaucitron.langlist.en={adblock:"Hello! This site is transparent and lets you chose the 3rd party services you want to allow.",adblock_call:"Please disable your adblocker to start customizing.",reload:"Refresh the page",alertBigScroll:"By continuing to scroll,",alertBigClick:"If you continue to browse this website,",alertBig:"you are allowing all third-party services",alertBigPrivacy:"This site uses cookies and gives you control over what you want to activate",alertSmall:"Manage services",personalize:"Personalize",acceptAll:"OK, accept all",close:"Close",all:"Preference for all services",info:"Protecting your privacy",disclaimer:"By allowing these third party services, you accept their cookies and the use of tracking technologies necessary for their proper functioning.",allow:"Allow",deny:"Deny",noCookie:"This service does not use cookie.",useCookie:"This service can install",useCookieCurrent:"This service has installed",useNoCookie:"This service has not installed any cookie.",more:"Read more",source:"View the official website",credit:"Cookies manager by tarteaucitron.js",fallback:"is disabled.",ads:{title:"Advertising network",details:"Ad networks can generate revenue by selling advertising space on the site."},analytic:{title:"Audience measurement",details:"The audience measurement services used to generate useful statistics attendance to improve the site."},social:{title:"Social networks",details:"Social networks can improve the usability of the site and help to promote it via the shares."},video:{title:"Videos",details:"Video sharing services help to add rich media on the site and increase its visibility."},comment:{title:"Comments",details:"Comments managers facilitate the filing of comments and fight against spam."},support:{title:"Support",details:"Support services allow you to get in touch with the site team and help to improve it."},api:{title:"APIs",details:"APIs are used to load scripts: geolocation, search engines, translations, ..."},other:{title:"Other",details:"Services to display web content."}},tarteaucitron.langlist.es={adblock:"Hola! Este sitio web es transparente y le da la opción de activar los servicios de terceros.",adblock_call:"Por favor deshabilite su AdBlocker para comenzar a personalizar.",reload:"Actualizar esta página",alertBigScroll:"Al continuar para desplazarse,",alertBigClick:"Si continuas navegando por este sitio web,",alertBig:"estar permitiendo servicios terceros",alertBigPrivacy:"Este sitio web usa cookies y te permite controlar lo que deseas activar",alertSmall:"Gestionar servicios",personalize:"Personalizar",acceptAll:"OK, aceptar todas",close:"Cerrar",all:"Preference for all services",info:"Protegiendo tu privacidad",disclaimer:"Aceptando estos servicios terceros, estas aceptando sus co
1okies y el uso de tecnologías de rastreo necesarias para su correcto funcionamiento.",allow:"Permitir",deny:"Denegar",noCookie:"Este servicio no usa cookie.",useCookie:"Este servicio puede instalar",useCookieCurrent:"Este servicio ha instalado",useNoCookie:"Este servicio no ha instalado ninguna cookie.",more:"Leer más",source:"Ver sitio web oficial",credit:"Gestor de cookies realizada por tarteaucitron.js",fallback:"esta deshabilitado.",ads:{title:"Red de publicidad",details:"Las redes publicitarias pueden generar ingresos mediante la venta de espacios publicitarios en el sitio."},analytic:{title:"Mediciión de audiencia",details:"Los servicios de medición de audiencia se usan para generar asistencia estadísticas útiles para mejorar el sitio."},social:{title:"Redes sociales",details:"Las redes sociales pueden aumentar la usabilidad del sitio web y ayudar a promoverlo a través de la contribución."},video:{title:"Videos",details:"Los servicios para compartir videos ayudan a añadir contenido enriquecido en el sitio web y aumentar su visibilidad."},comment:{title:"Comentarios",details:"El gestor de comentarios facilita la clasificación de comentarios y luchar contra spam."},support:{title:"Soporte",details:"Los servicios de soporte te permiten contactar con el sitio web y ayudar a mejorarlo."},api:{title:"APIs",details:"APIs se utilizan para cargar scripts: geolocalización, motor de búsqueda, traducciones, ..."},other:{title:"Otro",details:"Servicios para mostrar contenido web."}},tarteaucitron.langlist.fr={adblock:"Bonjour! Ce site joue la transparence et vous donne le choix des services tiers à activer.",adblock_call:"Merci de désactiver votre adblocker pour commencer la personnalisation.",reload:"Recharger la page",alertBigScroll:"En continuant de défiler,",alertBigClick:"En poursuivant votre navigation,",alertBig:"vous acceptez l'utilisation de services tiers pouvant installer des cookies",alertBigPrivacy:"Ce site utilise des cookies et vous donne le contrôle sur ce que vous souhaitez activer",alertSmall:"Gestion des services",acceptAll:"OK, tout accepter",personalize:"Personnaliser",close:"Fermer",all:"Préférence pour tous les services",info:"Protection de votre vie privée",disclaimer:"En autorisant ces services tiers, vous acceptez le dépôt et la lecture de cookies et l'utilisation de technologies de suivi nécessaires à leur bon fonctionnement.",allow:"Autoriser",deny:"Interdire",noCookie:"Ce service ne dépose aucun cookie.",useCookie:"Ce service peut déposer",useCookieCurrent:"Ce service a déposé",useNoCookie:"Ce service n'a déposé aucun cookie.",more:"En savoir plus",source:"Voir le site officiel",credit:"Gestion des cookies par tarteaucitron.js",fallback:"est désactivé.",ads:{title:"Régies publicitaires",details:"Les régies publicitaires permettent de générer des revenus en commercialisant les espaces publicitaires du site."},analytic:{title:"Mesure d'audience",details:"Les services de mesure d'audience permettent de générer des statistiques de fréquentation utiles à l'amélioration du site."},social:{title:"Réseaux sociaux",details:"Les réseaux sociaux permettent d'améliorer la convivialité du site et aident à sa promotion via les partages."},video:{title:"Vidéos",details:"Les services de partage de vidéo permettent d'enrichir le site de contenu multimédia et augmentent sa visibilité."},comment:{title:"Commentaires",details:"Les gestionnaires de commentaires facilitent le dépôt de vos commentaires et luttent contre le spam."},support:{title:"Support",details:"Les services de support vous permettent d'entrer en contact avec l'équipe du site et d'aider à son amélioration."},api:{title:"APIs",details:"Les APIs permettent de charger des scripts : géolocalisation, moteurs de recherche, traductions, ..."},other:{title:"Autre",details:"Services visant à afficher du contenu web."}},tarteaucitron.langlist.it={adblock:"Benvenuto! Questo sito ti permette di attivare i servizi di terzi di tua scelta.",adblock_call:"Disabilita il tuo adblocker per iniziare la navigazione.",reload:"Aggiorna la pagina",alertBigScroll:"Continuando a scorrere,",alertBigClick:"Continuando a navigare nel sito,",alertBig:"autorizzi l’utilizzo dei cookies inviati da domini di terze parti",alertBigPrivacy:"Questo sito fa uso di cookies e ti consente di decidere se accettarli o rifiutarli",alertSmall:"Gestione dei servizi",acceptAll:"Ok, accetta tutto",personalize:"Personalizza",close:"Chiudi",all:"Preferenze per tutti i servizi",info:"Tutela della privacy",disclaimer:"Abilitando l'uso dei servizi di terze parti, accett
1i la ricezione dei cookies e l'uso delle tecnologie analitici necessarie al loro funzionamento.",allow:"Consenti",deny:"Blocca",noCookie:"Questo servizio non invia nessun cookie",useCookie:"Questo servizio puo' inviare",useCookieCurrent:"Questo servizio ha inviato",useNoCookie:"Questo servizio non ha inviato nessun cookie",more:"Saperne di più",source:"Vai al sito ufficiale",credit:"Gestione dei cookies da tarteaucitron.js",fallback:"è disattivato",ads:{title:"Regie pubblicitarie",details:"Le regie pubblicitarie producono redditi gestendo la commercializzazione degli spazi del sito dedicati alle campagne pubblicitarie"},analytic:{title:"Misura del pubblico",details:"I servizi di misura del pubblico permettono di raccogliere le statistiche utili al miglioramento del sito"},social:{title:"Reti sociali",details:"Le reti sociali permettono di migliorare l'aspetto conviviale del sito e di sviluppare la condivisione dei contenuti da parte degli utenti a fini promozionali."},video:{title:"Video",details:"I servizi di condivisione di video permettono di arricchire il sito di contenuti multimediali e di aumentare la sua visibilità"},comment:{title:"Commenti",details:"La gestione dei commenti utente aiuta a gestire la pubblicazione dei commenti e a lottare contro lo spamming"},support:{title:"Supporto",details:"I servizi di supporto ti consentono di contattare la team del sito e di contribuire al suo miglioramento"},api:{title:"API",details:"Le API permettono di implementare script diversi : geolocalizzazione, motori di ricerca, traduttori..."},other:{title:"Altro",details:"Servizi per visualizzare contenuti web."}},tarteaucitron.langlist.pl={adblock:"Witaj! Ta witryna oferuje przejrzystosc i daje mozliwosc wyboru aktywacji uslug zewnetrznych.",adblock_call:"Prosze wylaczyc adblocker aby rozpoczac dostosowanie do potrzeb uzytkownika.",reload:"Odswiez strone",alertBigScroll:"Poprzez kontynuowanie przewijania,",alertBigClick:"Pozostajac na tej stronie",alertBig:"zgadzasz sie na korzystanie ze wszystkich zewnetrzynych uslug",alertBigPrivacy:"Ta witryna używa plików cookie i pozwala kontrolować ich aktywacje",alertSmall:"Zarządzanie usługami",personalize:"Personalizacja",acceptAll:"OK, akceptuję wszystko",close:"zamknij",all:"Preferencja dla wszystkich usług",info:"Ochrona prywatności",disclaimer:"Zgadzajac sie na korzystanie z uslug zewnetrznych , akceptuje ich pliki cookies oraz wykorzystanie technologii niezbędnych do ich funkcjonowania.",allow:"Zezwalaj",deny:"Odmów",noCookie:"Ta usługa nie korzysta z plików cookie.",useCookie:"Ta usługa może zainstalować pliki cookie",useCookieCurrent:"Ta usługa zainstalowala plikie cookie",useNoCookie:"Ta usługa nie zainstalowala żadnego pliku cookie.",more:"Więcej informacji",source:"Zobacz oficjalną stronę internetowa",credit:"Cookies menadżer z tarteaucitron.js",fallback:"jest nieaktywna.",ads:{title:"Sieć reklamowa",details:"Sieci reklamowe mogą generować przychody ze sprzedaży powierzchni reklamowej na stronie."},analytic:{title:"Pomiar ogladalnosci",details:"Usługi pomiaru oglądalności wykorzystywane sa do generowania przydatnych statystyk potrzebnych w doskonaleniu strony."},social:{title:"Portale społecznościowe",details:"Sieci społecznościowe mogą poprawić użyteczność serwisu i pomóc w promocji za pośrednictwem propagacji strony."},video:{title:"Filmy",details:"Usługa udostępniania wideo pomoże dodać multimedia do strony i zwiększyć jej ogladalność."},comment:{title:"Komentarze",details:"Zarządzanie komentarzami ułatwia komentowanie i zwalcza spam."},support:{title:"Pomoc",details:"Usługa pomocy technicznej pozwala, skontaktować się z administratorem witryny i pomaga ją udoskonalić."},api:{title:"APIs",details:"APIs służą do ładowania skryptów: geolokalizacji, wyszukiwarek, tłumaczenia, ..."},other:{title:"Inny",details:"Usługi do wyświetlania treści internetowych."}},tarteaucitron.langlist.pt={adblock:"Olá! Em uma açao de transparencia, este site lhe dá a opção de quais serviços terceiros deseje ativar.",adblock_call:"Por favor, desative seu bloqueador de publicidades para poder customizar.",reload:"Atualizar esta página",alertBigScroll:"Ao continuar a rolar,",alertBigClick:"Se você continuar a navegaçao neste site,",alertBig:"você estará aceitando todos os serviços terceiros",alertBigPrivacy:"Esse site utiliza cookies and lhe dá controle sobre o que você quer ativar",alertSmall:"Gerenciar serviços",personalize:"Personalizar",acceptAll:"OK, aceitar tudo",close:"Fechar",all:"Definições dos serviços",info:"Proteger sua privacidade",disclaimer:"Ao aceitar os serviços terceiros, você aceita o uso de cookies em conjunto de tecnologias de rastreamento que lhe são necessárias para funcionar",allow:"Autorizar",deny:"Recusar",noCookie:"Este serviço não usa cookies.",useCookie:"Este serviço pode instalar",useCookieCurrent:"Este serviço instalou",useNoCookie:"Este serviço não instalou nenhum cookie.",more:"Ler mais",source:"Ver o site oficial",credit:"Gerenciador de cookies por tarteaucitron.js",fallback:"está desativado.",ads:{title:"Rede de anúncios",details:"As redes de anúncios podem gerar receitas com a venda de espaço publicitário no site."},analytic:{title:"Medição de audiência",details:"Serviços de medição de audiência usados para gerar estatísticas no intuito de melhorar o site."},social:{title:"Rede sociais",details:"Rede sociais podem ameliorar o utilização do site e ajudar a promove-lo via compartilhamentos."},video:{title:"Vídeos",details:"Video sharing services help to add rich media on the site and increase its visibility."},comment:{title:"Comentários",details:"Gerenciadores de comentários facilitam o sistema de comentários e lutam contra o spam."},support:{title:"Suporte",details:"Serviços de suporte lhe ajudam a entrar em contato com a equipe de suporte."},api:{title:"APIs",details:"APIs são usadas para carregar scripts: geolocalização, motores de pesquisa, traduções, ..."},other:{title:"De outros",details:"Serviços para exibir conteúdo da web."}},tarteaucitron.langlist.ru={adblock:"Привет! Этот сайт совершенно открытый и позволяет вам выбрать сервисы третьих лиц, которым вы хотите дать доступ.",adblock_call:"Пожалуйста дезактивируйте АдБлокер чтобы начать настройку.",reload:"Перезагрузите страницу",alertBigScroll:"Продолжая прокрутки",alertBigClick:"Если вы продолжаете использовать сайт",alertBig:"вы позволяете сервисы третьих лиц",alertBigPrivacy:"Этот сайт использует кукис и позволяет вам контролировать сервисы которые вы хотите активировать",alertSmall:"Настройка сервисов",personalize:"Персонализировать",acceptAll:"Ок, все активировать",close:"Закрыть",all:"Преференция всем сервисам",info:"Защитить вашу конфиденциальность",disclaimer:"Активирование сервисов третьих лиц позволяет использование их кукис и технолоний отслеживания необходимых для их функционирования",allow:"Позролить",deny:"Не позволить",noCookie:"Этот сервис не использует кукис.",useCookie:"Этот сервис может быть инсталирован",useCookieCurrent:"Этот сервис инсталирован",useNoCookie:"Этот сервис не использует кукис.",more:"Подробнее",source:"Посетите официальный сайт",credit:"Кукис манаджер tarteaucitron.js",fallback:"Деактивирован.",ads:{title:"Рекламная сеть",details:"Мы позволяем вам аренду нашей рекламной сети."},analytic:{title:"Измерение аудиенции",details:"Измерение аудиенции сайта для статистики помогают улучшить предлагаемый сервис."},social:{title:"Социальная сеть",details:"Социальная сеть сайтов помогает улучшить предлагаемый сервис через обмен информации."},video:{title:"Видео",details:"Обмен видео информации позволяет улучшить сервис и увеличит траффик сайта."},comment:{title:"Комментарии",details:"Манаджер комментариев позволяет обмен информации и борьбу со спамом."},support:{title:"Помощь",details:"Помощь позволяет вам контактировать напрямую сайт манаджер и улучшить предлагаемый сервис."},api:{title:"АПИ",details:"АПИ используются для загрузки скриптов; геолокация, поисковый мотор и переводы..."},other:{title:"Другие",details:"Службы для отображения веб-контента."}},window.addEventListener("tac.open_panel",function(){0==$("#tarteaucitronScrollbarAdjust #tarteaucitronClosePanel").length&&$("#tarteaucitronClosePanel").appendTo("#tarteaucitronScrollbarAdjust"),$("#tarteaucitronClosePanel, #tarteaucitronAllAllowed, #tarteaucitronAllDenied","#tarteaucitronScrollbarAdjust").on("click",function(){tarteaucitron.userInterface.closePanel()});for(var t=!1,e="tarteaucitron=",i=decodeURIComponent(document.cookie).split(";"),n=0;n<i.length;n++){for(var o=i[n];" "==o.charAt(0);)o=o.substring(1);0==o.indexOf(e)&&(t=o.substring(e.length,o.length))}var a=t.split("!");a.splice(0,1),$.each(a,function(){"wait"==this.split("=")[1]&&tarteaucitron.userInterface.respondAll(!1)})}),thConfigTracking&&thConfigTracking.services&&thConfigTracking.services.length&&(tarteaucitron.init({privacyUrl:"",hashtag:"#rgpd",cookieName:"tarteaucitron",orientation:"bottom",showAlertSmall:!1,cookieslist:!1,adblocker:!1,DenyAllCta:!0,AcceptAllCta:!0,highPrivacy:!0,handleBrowserDNTRequest:!1,removeCredit:!0,moreInfoLink:!0,useExternalCss:!0,useExternalJs:!1,readmoreLink:"",mandatory:!0,bodyPosition:"top"}),window.dataLayer=window.dataLayer||[],$.each(thConfigTracking.services,function(t,e){(tarteaucitron.job=tarteaucitron.job||[]).push(e)}),tarteaucitron.events.load=function(){document.addEventListener("tac.respond_all",function(){$.each(thConfigTracking.services,function(t,e){thTarteAuCitron_
1sendTacEvent(e)})}),$.each(thConfigTracking.services,function(t,e){document.addEventListener(e+"_loaded",function(){thTarteAuCitron_sendTacEvent(e)})})}),tarteaucitron.services.th_clarity={key:"th_clarity",type:"analytic",name:"Clarity",uri:"https://clarity.microsoft.com/",needConsent:!0,cookies:[],js:function(){}},tarteaucitron.services.clarity={key:"clarity",type:"analytic",name:"Clarity",uri:"https://clarity.microsoft.com/",needConsent:!0,cookies:[],js:function(){window.clarity=window.clarity||function(){(window.clarity.q=window.clarity.q||[]).push(arguments)},tarteaucitron.addScript("https://www.clarity.ms/tag/"+tarteaucitron.user.clarity)}},tarteaucitron.services.th_iframe={key:"th_iframe",type:"other",name:"Web content",uri:"",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_amplitude={key:"th_amplitude",type:"analytic",name:"Amplitude",uri:"https://amplitude.com/privacy",needConsent:!0,cookies:[],js:function(){}},tarteaucitron.services.th_abtasty={key:"th_abtasty",type:"api",name:"ABTasty",uri:"https://www.abtasty.com/terms-of-use/",needConsent:!0,cookies:["ABTasty","ABTastySession"],js:function(){}},tarteaucitron.services.th_metrica={key:"th_metrica",type:"analytic",name:"Yandex Metrica",uri:"https://yandex.com/legal/confidential/",needConsent:!0,cookies:["_ym_metrika_enabled","_ym_isad","_ym_uid","_ym_d","yabs-sid","_ym_debug","_ym_mp2_substs","_ym_hostIndex","_ym_mp2_track","yandexuid","usst"],js:function(){}},tarteaucitron.services.th_addthis={key:"th_addthis",type:"social",name:"AddThis",uri:"https://www.addthis.com/privacy/privacy-policy#publisher-visitors",needConsent:!0,cookies:["__atuvc","__atuvs"],js:function(){},fallback:function(){}},tarteaucitron.services.th_addtoanyfeed={key:"th_addtoanyfeed",type:"social",name:"AddToAny (feed)",uri:"https://www.addtoany.com/privacy",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_addtoanyshare={key:"th_addtoanyshare",type:"social",name:"AddToAny (share)",uri:"https://www.addtoany.com/privacy",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_aduptech_ads={key:"th_aduptech_ads",type:"ads",name:"Ad Up Technology (ads)",uri:"https://www.adup-tech.com/datenschutz",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_aduptech_conversion={key:"th_aduptech_conversion",type:"ads",name:"Ad Up Technology (conversion)",uri:"https://www.adup-tech.com/datenschutz",needConsent:!0,cookies:[],js:function(){}},tarteaucitron.services.th_aduptech_retargeting={key:"th_aduptech_retargeting",type:"ads",name:"Ad Up Technology (retargeting)",uri:"https://www.adup-tech.com/datenschutz",needConsent:!0,cookies:[],js:function(){}},tarteaucitron.services.th_alexa={key:"th_alexa",type:"analytic",name:"Alexa",uri:"https://www.alexa.com/help/privacy",needConsent:!0,cookies:["__asc","__auc"],js:function(){}},tarteaucitron.services.th_amazon={key:"th_amazon",type:"ads",name:"Amazon",uri:"https://www.amazon.com/gp/help/customer/display.html/ref=help_search_1-1?ie=UTF8&nodeId=201909010&qid=1544617177&sr=1-1",needConsent:!0,cookies:[],js:function(){},fallback:function(){tarteaucitron.fallback(["amazon_product"],tarteaucitron.engage("amazon"))}},tarteaucitron.services.th_calameo={key:"th_calameo",type:"video",name:"Calameo",uri:"https://fr.calameo.com/privacy",needConsent:!0,cookies:[],js:function(){},fallback:function(){tarteaucitron.fallback(["calameo-canvas"],function(t){return t.style.width=t.getAttribute("width")+"px",t.style.height=t.getAttribute("height")+"px",tarteaucitron.engage("calameo")})}},tarteaucitron.services.th_clicky={key:"th_clicky",type:"analytic",name:"Clicky",uri:"https://clicky.com/terms",needConsent:!0,cookies:["_jsuid","_eventqueue","_referrer_og","_utm_og","_first_pageview","clicky_olark","no_trackyy_"+tarteaucitron.user.clickyId,"unpoco_"+tarteaucitron.user.clickyId,"heatmaps_g2g_"+tarteaucitron.user.clickyId],js:function(){}},tarteaucitron.services.th_clicmanager={key:"th_clicmanager",type:"ads",name:"Clicmanager",uri:"http://www.clicmanager.fr/infos_legales.php",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_contentsquare={key:"th_contentsquare",type:"api",name:"ContentSquare",uri:"https://docs.contentsquare.com/uxa-en/#collected-data",needConsent:!0,cookies:["_cs_id","_cs_s","_cs_vars","_cs_ex","_cs_c","_cs_optout"],js:function(){}},tarteaucitron.services.th_crazyegg={key:"th_crazyegg",type:"analytic",name:"Crazy Egg",uri:"https://www.crazyegg.com/privacy",needConsent:!0,cookies:[],js:function(){}},tarteaucitron.services.th_criteo={key:"th_criteo",type:"ads",name:"Criteo",uri:"http://www.criteo.com/privacy/",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_dailymotion={key:"th_dailymotion",type:"video",name:"Dailymotion",uri:"https://www.dailymotion.com/legal/privacy",needConsent:!0,cookies:["ts","dmvk","hist","v1st","s_vi"],js:function(){},fallback:function(){}},tarteaucitron.services.th_datingaffiliation={key:"th_datingaffiliation",type:"ads",name:"Dating Affiliation",uri:"http://www.dating-affiliation.com/conditions-generales.php",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_datingaffiliationpopup={key:"th_datingaffiliationpopup",type:"ads",name:"Dating Affiliation (Pop Up)",uri:"http://www.dating-affiliation.com/conditions-generales.php",needConsent:!0,cookies:["__utma","__utmb","__utmc","__utmt_Tools","__utmv","__utmz","_ga","_gat","_gat_UA-65072040-17","__da-pu-xflirt-ID-pc-o169"],js:function(){},fallback:function(){}},tarteaucitron.services.th_leadforensics={key:"th_leadforensics",type:"analytic",name:"LeadForensics",uri:"https://www.leadforensics.com/privacy-policy/",needConsent:!0,cookies:["trackalyzer"],js:function(){}},tarteaucitron.services.th_disqus={key:"th_disqus",type:"comment",name:"Disqus",uri:"https://help.disqus.com/customer/portal/articles/466259-privacy-policy",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_ekomi={key:"th_ekomi",type:"social",name:"eKomi",uri:"http://www.ekomi-u
1s.com/us/privacy/",needConsent:!0,cookies:[],js:function(){}},tarteaucitron.services.th_etracker={key:"th_etracker",type:"analytic",name:"eTracker",uri:"https://www.etracker.com/en/data-protection.html",needConsent:!0,cookies:[],js:function(){}},tarteaucitron.services.th_facebook={key:"th_facebook",type:"social",name:"Facebook",uri:"https://www.facebook.com/policies/cookies/",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_facebooklikebox={key:"th_facebooklikebox",type:"social",name:"Facebook (like box)",uri:"https://www.facebook.com/policies/cookies/",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_facebookcomment={key:"th_facebookcomment",type:"comment",name:"Facebook (commentaire)",uri:"https://www.facebook.com/policies/cookies/",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_ferank={key:"th_ferank",type:"analytic",name:"FERank",uri:"https://www.ferank.fr/respect-vie-privee/#mesureaudience",needConsent:!1,cookies:[],js:function(){}},tarteaucitron.services.th_ferankpub={key:"th_ferankpub",type:"ads",name:"FERank (pub)",uri:"https://www.ferank.fr/respect-vie-privee/#regiepublicitaire",needConsent:!1,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_getplus={key:"th_getplus",type:"analytic",name:"Get+",uri:"http://www.getplus.fr/Conditions-generales-de-vente_a226.html",needConsent:!0,cookies:["_first_pageview","_jsuid","no_trackyy_"+tarteaucitron.user.getplusId,"_eventqueue"],js:function(){}},tarteaucitron.services.th_gplus={key:"th_gplus",type:"social",name:"Google+",uri:"https://policies.google.com/privacy",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_gplusbadge={key:"th_gplusbadge",type:"social",name:"Google+ (badge)",uri:"https://policies.google.com/privacy",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_adsense={key:"th_adsense",type:"ads",name:"Google Adsense",uri:"https://adssettings.google.com/",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_googlepartners={key:"th_googlepartners",type:"ads",name:"Google Partners Badge",uri:"https://adssettings.google.com/",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_adsensesearchform={key:"th_adsensesearchform",type:"ads",name:"Google Adsense Search (form)",uri:"https://adssettings.google.com/",needConsent:!0,cookies:[],js:function(){}},tarteaucitron.services.th_adsensesearchresult={key:"th_adsensesearchresult",type:"ads",name:"Google Adsense Search (result)",uri:"https://adssettings.google.com/",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_googleadwordsconversion={key:"th_googleadwordsconversion",type:"ads",name:"Google Adwords (conversion)",uri:"https://www.google.com/settings/ads",needConsent:!0,cookies:[],js:function(){}},tarteaucitron.services.th_googleadwordsremarketing={key:"th_googleadwordsremarketing",type:"ads",name:"Google Adwords (remarketing)",uri:"https://www.google.com/settings/ads",needConsent:!0,cookies:[],js:function(){}},tarteaucitron.services.th_gajs={key:"th_gajs",type:"analytic",name:"Google Analytics (ga.js)",uri:"https://support.google.com/analytics/answer/6004245",needConsent:!0,cookies:["_ga","_gat","__utma","__utmb","__utmc","__utmt","__utmz"],js:function(){}},tarteaucitron.services.th_analytics={key:"th_analytics",type:"analytic",name:"Google Analytics (universal)",uri:"https://support.google.com/analytics/answer/6004245",needConsent:!0,cookies:["_ga","_gat","_gid","__utma","__utmb","__utmc","__utmt","__utmz"],js:function(){}},tarteaucitron.services.th_gtag={key:"th_gtag",type:"analytic",name:"Google Analytics (gtag.js)",uri:"https://support.google.com/analytics/answer/6004245",needConsent:!0,cookies:["_ga","_gat","_gid","__utma","__utmb","__utmc","__utmt","__utmz",("_gat_gtag_"+tarteaucitron.user.gtagUa).replace(/-/g,"_")],js:function(){}},tarteaucitron.services.th_googlemaps={key:"th_googlemaps",type:"api",name:"Google Maps",uri:"https://adssettings.google.com/",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_googlemapssearch={key:"th_googlemapssearch",type:"api",name:"Google Maps Search API",uri:"https://adssettings.google.com/",needConsent:!0,cookies:["nid"],js:function(){},fallback:function(){}},tarteaucitron.services.th_googlemapsembed={key:"th_googlemapsembed",type:"api",name:"Google Maps Embed",uri:"https://adssettings.google.com/",needConsent:!0,cookies:["apisid","hsid","nid","sapisid","sid","sidcc","ssid","1p_jar"],js:function(){},fallback:function(){}},tarteaucitron.services.th_googlemapssearch={key:"th_googlemapssearch",type:"api",name:"Google Tag Manager",uri:"https://adssettings.google.com/",needConsent:!0,cookies:["nid"],js:function(){},fallback:function(){}},tarteaucitron.services.th_multiplegoogletagmanager={key:"th_multiplegoogletagmanager",type:"api",name:"Google Tag Manager",uri:"https://adssettings.google.com/",needConsent:!0,cookies:["_ga","_gat","__utma","__utmb","__utmc","__utmt","__utmz","__gads","_drt_","FLC","exchange_uid","id","fc","rrs","rds","rv","uid","UIDR","UID","clid","ipinfo","acs"],js:function(){}},tarteaucitron.services.th_googlefonts={key:"th_googlefonts",type:"api",name:"Google Webfonts",uri:"https://www.google.com/intl/de/policies/privacy/",needConsent:!0,cookies:[],js:function(){}},tarteaucitron.services.th_hubspot={key:"th_hubspot",type:"analytic",name:"Hubspot",uri:"https://legal.hubspot.com/privacy-policy",needConsent:!0,cookies:["hubspotutk","fr","__hstc","__hssrc","__hssc","__cfduid"],js:function(){}},tarteaucitron.services.th_googlemapsembed={key:"th_googlemapsembed",type:"api",name:"Google jsapi",uri:"https://policies.google.com/privacy",needConsent:!0,cookies:["apisid","hsid","nid","sapisid","sid","sidcc","ssid","1p_jar"],js:function(){},fallback:function(){}},tarteaucitron.services.th_googletagmanager={key:"th_googletagmanager",type:"api",name:"Google Tag Manager",uri:"https://adssettings.google.com/",needConsent:!0,cookies:["_ga","_gat","__utma","__utmb","__utmc","__utmt","__utmz","__gads","_drt_","FLC","exchange_uid","id","fc","rrs","rds","rv","uid","UIDR","UID","clid","ipinfo","acs"],js:function(){}},tarteaucitron.services.th_multiplegoogletagmanager={key:"th_multiplegoogletagmanager",type:"api",name:"Google Tag Manager",uri:"https://adssettings.google.com/",needConsent:!0,cookies:["_ga","_gat","__utma","__utmb","__utmc","__utmt","__utmz","__gads","_drt_","FLC","exchange_uid","id","fc","rrs","rds","rv","uid","UIDR","UID","clid","ipinfo","acs"],js:function(){}},tarteaucitron.services.th_googlefonts={key:"th_googlefonts",type:"api",name:"Google Webfonts",uri:"https://www.google.com/intl/de/policies/privacy/",needConsent:!0,cookies:[],js:function(){}},tarteaucitron.services.th_hubspot={key:"th_hubspot",type:"analytic",name:"Hubspot",uri:"https://legal.hubspot.com/privacy-policy",needConsent:!0,cookies:["hubspotutk","fr","__hstc","__hssrc","__hssc","__cfduid"],js:function(){}},tarteaucitron.services.th_jsapi={key:"th_jsapi",type:"api",name:"Google jsapi",uri:"https://policies.google.com/privacy",needConsent:!0,cookies:[],js:function(){}},tarteaucitron.services.th_twitterwidgetsapi={key:"th_twitterwidgetsapi",type:"api",name:"Twitter Widgets API",uri:"https://support.twitter.com/articles/20170514",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_recaptcha={key:"th_recaptcha",type:"api",name:"reCAPTCHA",uri:"https://policies.google.com/privacy",needConsent:!0,cookies:["nid"],js:function(){},fallback:function(){}},tarteaucitron.services.th_twitterwidgetsapi={key:"th_twitterwidgetsapi",type:"api",name:"Twitter Widgets API",uri:"https://support.twitter.com/articles/20170514",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_recaptcha={key:"th_recaptcha",type:"api",name:"reCAPTCHA",uri:"https://policies.google.com/privacy",needConsent:!0,cookies:["nid"],js:function(){},fallback:function(){}},tarteaucitron.services.th_linkedin={key:"th_linkedin",type:"social",name:"Linkedin",uri:"https://www.linkedin.com/legal/cookie_policy",needConsent:!0,cookies:[],js:function(){},fallback:function(){}}
1,tarteaucitron.services.th_mautic={key:"th_mautic",type:"analytic",name:"Mautic",uri:"https://www.mautic.org/privacy-policy/",needConsent:!0,cookies:["mtc_id","mtc_sid"],js:function(){},fallback:function(){}},tarteaucitron.services.th_microsoftcampaignanalytics={key:"th_microsoftcampaignanalytics",type:"analytic",name:"Microsoft Campaign Analytics",uri:"https://privacy.microsoft.com/privacystatement/",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_pinterest={key:"th_pinterest",type:"social",name:"Pinterest",uri:"https://about.pinterest.com/privacy-policy",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_prelinker={key:"th_prelinker",type:"ads",name:"Prelinker",uri:"http://www.prelinker.com/index/index/cgu/",needConsent:!0,cookies:["_sp_id.32f5","_sp_ses.32f5"],js:function(){},fallback:function(){}},tarteaucitron.services.th_prezi={key:"th_prezi",type:"video",name:"Prezi",uri:"https://prezi.com/privacy-policy/",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_pubdirecte={key:"th_pubdirecte",type:"ads",name:"Pubdirecte",uri:"http://pubdirecte.com/contact.php",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_purechat={key:"th_purechat",type:"support",name:"PureChat",uri:"https://www.purechat.com/privacy",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_rumbletalk={key:"th_rumbletalk",type:"social",name:"RumbleTalk",needConsent:!0,cookies:["AWSALB"],js:function(){},fallback:function(){}},tarteaucitron.services.th_shareaholic={key:"th_shareaholic",type:"social",name:"Shareaholic",uri:"https://shareaholic.com/privacy/choices",needConsent:!0,cookies:["__utma","__utmb","__utmc","__utmz","__utmt_Shareaholic%20Pageviews"],js:function(){},fallback:function(){}},tarteaucitron.services.th_shareasale={key:"th_shareasale",type:"ads",name:"ShareASale",uri:"https://www.shareasale.com/PrivacyPolicy.pdf",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_sharethis={key:"th_sharethis",type:"social",name:"ShareThis",uri:"http://www.sharethis.com/legal/privacy/",needConsent:!0,cookies:["__unam"],js:function(){},fallback:function(){}},tarteaucitron.services.th_slideshare={key:"th_slideshare",type:"video",name:"SlideShare",uri:"https://www.linkedin.com/legal/privacy-policy",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_statcounter={key:"th_statcounter",type:"analytic",name:"StatCounter",uri:"https://fr.statcounter.com/about/legal/#privacy",needConsent:!0,cookies:["sc_is_visitor_unique"],js:function(){},fallback:function(){}},tarteaucitron.services.th_timelinejs={key:"th_timelinejs",type:"api",name:"Timeline JS",uri:"http://timeline.knightlab.com/#help",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_tagcommander={key:"th_tagcommander",type:"api",name:"TagCommander",uri:"https://www.commandersact.com/en/privacy/",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_typekit={key:"th_typekit",type:"api",name:"Typekit (adobe)",uri:"https://www.adobe.com/privacy.html",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_twenga={key:"th_twenga",type:"ads",name:"Twenga",uri:"http://www.twenga.com/privacy.php",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_twitter={key:"th_twitter",type:"social",name:"Twitter",uri:"https://support.twitter.com/articles/20170514",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_twitterembed={key:"th_twitterembed",type:"social",name:"Twitter (cards)",uri:"https://support.twitter.com/articles/20170514",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_twittertimeline={key:"th_twittertimeline",type:"social",name:"Twitter (timelines)",uri:"https://support.twitter.com/articles/20170514",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_uservoice={key:"th_uservoice",type:"support",name:"UserVoice",uri:"https://www.uservoice.com/privacy/",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_vimeo={key:"th_vimeo",type:"video",name:"Vimeo",uri:"https://vimeo.com/privacy",needConsent:!0,cookies:["__utmt_player","__utma","__utmb","__utmc","__utmv","vuid","__utmz","player"],js:function(){},fallback:function(){}},tarteaucitron.services.th_visualrevenue={key:"th_visualrevenue",type:"analytic",name:"VisualRevenue",uri:"http://www.outbrain.com/legal/privacy-713/",needConsent:!0,cookies:["__vrf","__vrm","__vrl","__vry","__vru","__vrid","__vrz"],js:function(){},fallback:function(){}},tarteaucitron.services.th_vshop={key:"th_vshop",type:"ads",name:"vShop",uri:"http://vshop.fr/privacy-policy",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_wysistat={key:"th_wysistat",type:"analytic",name:"Wysistat",uri:"http://wysistat.net/contact/",needConsent:!0,cookies:["Wysistat"],js:function(){},fallback:function(){}},tarteaucitron.services.th_xiti={key:"th_xiti",type:"analytic",name:"Xiti",uri:"https://www.atinternet.com/societe/rgpd-et-vie-privee/",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_atinternet={key:"th_atinternet",type:"analytic",name:"AT Internet (privacy by design)",uri:"https://www.atinternet.com/societe/rgpd-et-vie-privee/",needConsent:!1,cookies:["atidvisitor","atreman","atredir","atsession","atuserid"],js:function(){},fallback:function(){}},tarteaucitron.services.th_atinternethightrack={key:"th_atinternethightrack",type:"analytic",name:"AT Internet",uri:"https://www.atinternet.com/societe/rgpd-et-vie-privee/",needConsent:!0,cookies:["atidvisitor","atreman","atredir","atsession","atuserid"],js:function(){},fallback:function(){}},tarteaucitron.services.th_youtube={key:"th_youtube",type:"video",name:"YouTube",uri:"https://policies.google.com/privacy",needConsent:!0,cookies:["atidvisitor","atreman","atredir","atsession","atuserid"],js:function(){},fallback:function(){}},tarteaucitron.services.th_youtubeplaylist={key:"th_youtubeplaylist",type:"video",name:"YouTube (playlist)",uri:"https://policies.google.com/privacy",needConsent:!0,cookies:["VISITOR_INFO1_LIVE","YSC","PREF","GEUP"],js:function(){},fallback:function(){}},tarteaucitron.services.th_zopim={key:"th_zopim",type:"support",name:"Zopim",uri:"https://www.zopim.com/privacy",needConsent:!0,cookies:["__zlcid","__zprivacy"],js:function(){},fallback:function(){}},tarteaucitron.services.th_xiti_smarttag={key:"th_xiti_smarttag",type:"analytic",name:"Xiti (SmartTag)",uri:"https://www.atinternet.com/societe/protection-des-donnees/",needConsent:!0,cookies:["atidvisitor","atreman","atredir","atsession","atuserid","attvtreman","attvtsession"],js:function(){},fallback:function(){}},tarteaucitron.services.th_facebookpixel={key:"th_facebookpixel",type:"ads",name:"Facebook Pixel",uri:"https://fr-fr.facebook.com/business/help/www/651294705016616",needConsent:!0,cookies:["datr","fr","reg_ext_ref","reg_fb_gate","reg_fb_ref","sb","wd","x-src"],js:function(){},fallback:function(){}},tarteaucitron.services.th_issuu={key:"th_issuu",type:"other",name:"Issuu",uri:"https://issuu.com/legal/privacy",needConsent:!0,cookies:["__qca","iutk","mc"],js:function(){},fallback:function(){}},tarteaucitron.services.th_webmecanik={key:"th_webmecanik",type:"analytic",name:"Webmecanik",uri:"https://webmecanik.com/tos",needConsent:!0,cookies:["mtc_id","mtc_sid"],js:function(){},fallback:function(){}},tarteaucitron.services.th_multiplegtag={key:"th_multiplegtag",type:"analytic",name:"Google Analytics (gtag.js)",uri:"https://support.google.com/analytics/answer/6004245",needConsent:!0,cookies:(()=>{var e=["_ga","_gat","_gid","__utma","__utmb","__utmc","__utmt","__utmz"];return void 0!==tarteaucitron.user.multiplegtagUa&&tarteaucitron.user.multiplegtagUa.forEac
1h(function(t){e.push("_gat_gtag_"+t.replace(/-/g,"_"))}),e})(),js:function(){},fallback:function(){}},tarteaucitron.services.th_koban={key:"th_koban",type:"analytic",name:"Koban",uri:"https://koban.cloud/tos",needConsent:!0,cookies:["kbntrk"],js:function(){},fallback:function(){}},tarteaucitron.services.th_matomo={key:"th_matomo",type:"analytic",name:"Matomo (privacy by design)",uri:"https://matomo.org/faq/general/faq_146/",needConsent:!1,cookies:["_pk_ref","_pk_cvar","_pk_id","_pk_ses","_pk_hsr","piwik_ignore","_pk_uid"],js:function(){var n;void 0!==tarteaucitron.user.matomoId&&(window._paq=window._paq||[],window._paq.push(["setSiteId",tarteaucitron.user.matomoId]),window._paq.push(["setTrackerUrl",tarteaucitron.user.matomoHost+"piwik.php"]),window._paq.push(["setDoNotTrack",1]),window._paq.push(["trackPageView"]),window._paq.push(["setIgnoreClasses",["no-tracking","colorbox"]]),window._paq.push(["enableLinkTracking"]),window._paq.push([function(){var t,e=this;this.setVisitorCookieTimeout((t=new Date,t=Math.round(t.getTime()/1e3),e=e.getVisitorInfo(),parseInt(e[2])+33696e3-t))}]),tarteaucitron.addScript(tarteaucitron.user.matomoHost+"piwik.js","","",!0,"defer",!0),n=setInterval(function(){if("undefined"!=typeof Piwik){clearInterval(n),Piwik.getTracker();for(var t=document.cookie.split(";"),e=1;e<=t.length;e++){var i=t[e-1].split("=")[0].trim();0===i.indexOf("_pk_")&&tarteaucitron.services.th_matomo.cookies.push(i)}}},100))}},tarteaucitron.services.th_matomohightrack={key:"th_matomohightrack",type:"analytic",name:"Matomo",uri:"https://matomo.org/faq/general/faq_146/",needConsent:!0,cookies:["_pk_ref","_pk_cvar","_pk_id","_pk_ses","_pk_hsr","piwik_ignore","_pk_uid"],js:function(){var n;void 0!==tarteaucitron.user.matomoId&&(window._paq=window._paq||[],window._paq.push(["setSiteId",tarteaucitron.user.matomoId]),window._paq.push(["setTrackerUrl",tarteaucitron.user.matomoHost+"piwik.php"]),window._paq.push(["trackPageView"]),window._paq.push(["setIgnoreClasses",["no-tracking","colorbox"]]),window._paq.push(["enableLinkTracking"]),window._paq.push([function(){}]),tarteaucitron.addScript(tarteaucitron.user.matomoHost+"piwik.js","","",!0,"defer",!0),n=setInterval(function(){if("undefined"!=typeof Piwik){clearInterval(n),Piwik.getTracker();for(var t=document.cookie.split(";"),e=1;e<=t.length;e++){var i=t[e-1].split("=")[0].trim();0===i.indexOf("_pk_")&&tarteaucitron.services.th_matomo.cookies.push(i)}}},100))}},tarteaucitron.services.th_hotjar={key:"th_hotjar",type:"analytic",name:"Hotjar",uri:"https://help.hotjar.com/hc/en-us/categories/115001323967-About-Hotjar",needConsent:!0,cookies:["hjClosedSurveyInvites","_hjDonePolls","_hjMinimizedPolls","_hjDoneTestersWidgets","_hjMinimizedTestersWidgets","_hjDoneSurveys","_hjIncludedInSample","_hjShownFeedbackMessage"],js:function(){},fallback:function(){}},tarteaucitron.services.th_bingads={key:"th_bingads",type:"ads",name:"Bing Ads Universal Event Tracking",uri:"https://advertise.bingads.microsoft.com/en-us/resources/policies/personalized-ads",needConsent:!0,cookies:["_uetmsclkid","_uetvid","_uetsid"],js:function(){},fallback:function(){}},tarteaucitron.services.th_matterport={key:"th_matterport",type:"other",name:"Matterport",uri:"https://matterport.com/es/legal/privacy-policy/",needConsent:!0,cookies:["__cfduid","ajs_anonymous_id","ajs_group_id","ajs_user_id"],js:function(){},fallback:function(){}},tarteaucitron.services.th_adform={key:"th_adform",type:"ads",name:"Adform",uri:"https://site.adform.com/privacy-center/overview/",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_activecampaign={key:"th_activecampaign",type:"ads",name:"Active Campaign",uri:"https://www.activecampaign.com/privacy-policy/",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_tawkto={key:"th_tawkto",type:"support",name:"Tawk.to chat",uri:"https://www.tawk.to/data-protection/",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_getquanty={key:"th_getquanty",type:"analytic",name:"GetQuanty",uri:"https://www.getquanty.com/mentions-legales/",needConsent:!0,cookies:["_first_pageview","eqy_sessionid","eqy_siteid","cluid","eqy_company","cluid","gq_utm","_jsuid"],js:function(){},fallback:function(){}}
1,tarteaucitron.services.th_emolytics={key:"th_emolytics",type:"analytic",name:"Emolytics",uri:"https://www.emolytics.com/main/privacy-policy.php",needConsent:!0,cookies:["__hssc","__hssrc","__hstc","_ga","_gid","hubspotutk","lang","incap_ses_","nlbi_","visid_incap_"],js:function(){},fallback:function(){}},tarteaucitron.services.th_youtubeapi={key:"th_youtubeapi",type:"video",name:"Youtube (Js API)",uri:"https://policies.google.com/privacy/",needConsent:!0,cookies:[],js:function(){},fallback:function(){}},tarteaucitron.services.th_faciliti={key:"th_faciliti",type:"other",name:"Facil'ITI",uri:"https://ws.facil-iti.com/mentions-legales.html",needConsent:!0,cookies:["FACIL_ITI_LS"],js:function(){},fallback:function(){}},tarteaucitron.services.th_userlike={key:"th_userlike",type:"support",name:"Userlike",uri:"https://www.userlike.com/en/terms#privacy-policy",needConsent:!0,cookies:["uslk_s","uslk_e"],js:function(){},fallback:function(){}},tarteaucitron.services.th_adobeanalytics={key:"th_adobeanalytics",type:"analytic",name:"Adobe Analytics",uri:"https://www.adobe.com/privacy/policy.html",needConsent:!0,cookies:["s_ecid","s_cc","s_sq","s_vi","s_fid"],js:function(){},fallback:function(){}},tarteaucitron.services.th_woopra={key:"th_woopra",type:"analytic",name:"Woopra Customer Journey Analytics",uri:"https://www.woopra.com/privacy",needConsent:!0,cookies:["wooTracker","intercom-session-erbfalba","intercom-id-erbfalba"],js:function(){},fallback:function(){}};var th_megamenu={selectors:{overlayMenu:$("#overlay-menu")},init:function(){}};th_megamenu.init(),tarteaucitron.lang={middleBarHead:"☝ 🍪",adblock:"Hallo! Diese Seite ist transparent und lässt Ihnen die Wahl der externen Services, die aktiviert werden dürfen.",adblock_call:"Bitte deaktivieren Sie Ihren 'Werbeblocker' um Cookie-Einstellungen vornehmen zu können.",reload:"Seite neu laden",alertBigScroll:"Durch weiterblättern,",alertBigClick:"Wenn Sie diese Webseite benutzen,",alertBig:"stimmen Sie der Benutzung von externen Diensten zu",alertBigPrivacy:"Diese Webseite verwendet 'Cookies' um Inhalte und Anzeigen zu personalisieren und zu analysieren. Bestimmen Sie, welche Dienste benutzt werden dürfen",alertSmall:"Datenschutz-Einstellungen",personalize:"Personalisieren",acceptAll:"Alle akzeptieren",close:"Schließen",privacyUrl:"Datenschutzbestimmungen",all:"Einstellungen für alle Dienste",info:"Schutz der Privatsphäre",disclaimer:"Wenn Sie diese Dienste nutzen, erlauben Sie deren 'Cookies' und Tracking-Funktionen, die zu ihrer ordnungsgemäßen Funktion notwendig sind.",allow:"Erlauben",deny:"Ablehnen",noCookie:"Dieser Dienst nutzt keine 'Cookies'.",useCookie:"Dieser Dienst kann 'Cookies' verwenden",useCookieCurrent:"Dieser Dienst verwendet",useNoCookie:"Dieser Dienst hat keine 'Cookies' installiert.",more:"Weiter lesen",source:"Zur offiziellen Webseite",credit:"Cookie Manager von tarteaucitron.js",toggleInfoBox:"Zeige/Verberge Cookie-Einstellungen",title:"Cookie-Einstellungen",cookieDetail:"Cookie Details für",ourSite:"auf unserer Seite",newWindow:"(neues Fenster)",allowAll:"Erlaube alle Cookies",denyAll:"Verbiete alle Cookies",fallback:"ist deaktiviert.",ads:{title:"Werbenetzwerke",details:"Werbenetzwerke können mit dem Verkauf von Werbeplatzierungen auf der Seite Einnahmen erhalten."},analytic:{title:"Besucher Zähldienste",details:"Die verwendeten Besucher Zähldienste generieren Statistiken die dabei helfen, die Seite zu verbessern."},social:{title:"Soziale Netzwerke",details:"Soziale Netzwerke können die Benutzbarkeit der Seite verbessern und ihren Bekanntheitsgrad erhöhen."},video:{title:"Videos",details:"Videoplattformen erlauben Videoinhalte einzublenden und die Sichtbarkeit der Seite zu erhöhen."},comment:{title:"Kommentare",details:"Kommentar Manager erleichtern die Organisation von Kommentaren und helfen dabei Spam zu verhindern."},support:{title:"Support",details:"Support Dienste erlauben es die Urheber der Seite zu kontaktieren und sie zu verbessern."},api:{title:"APIs",details:"APIs werden benutzt um Skripte zu laden, wie: Geolokalisierung, Suchmaschinen, Übersetzungen, ..."},other:{title:"Andere",details:"Dienste zum Anzeigen von Web-Inhalten."},mandatoryTitle:"Notwendige Cookies",mandatoryText:"Diese Seite nutzt Cookies, um die Bedienung der Website zu ermöglichen, diese können nicht deaktiviert werden",controle:"Kontrollieren Sie Ihre Daten"},tarteaucitron.lang={middleBarHead:"☝ 🍪",adblock:"Hello! This site is transparent and lets you choose the 3rd party services you want to allow.",adblock_call:"Please disable your adblocker to start customizing.",reload:"Refresh the page",alertBigScroll:"By continuing to scroll,",alertBigClick:"If you continue to browse this website,",alertBig:"you are allowing all third-party services",alertBigPrivacy:"This site uses co
1okies and gives you control over what you want to activate",alertSmall:"Manage services",personalize:"Personalize",acceptAll:"OK, accept all",close:"Close",privacyUrl:"Privacy policy",all:"Preference for all services",info:"Protecting your privacy",disclaimer:"By allowing these third party services, you accept their cookies and the use of tracking technologies necessary for their proper functioning.",allow:"Allow",deny:"Deny",noCookie:"This service does not use cookie.",useCookie:"This service can install",useCookieCurrent:"This service has installed",useNoCookie:"This service has not installed any cookie.",more:"Read more",source:"View the official website",credit:"Cookies manager by tarteaucitron.js",noServices:"This website does not use any cookie requiring your consent.",toggleInfoBox:"Show/hide informations about cookie storage",title:"Cookies management panel",cookieDetail:"Cookie detail for",ourSite:"on our site",newWindow:"(new window)",allowAll:"Allow all cookies",denyAll:"Deny all cookies",fallback:"is disabled.",ads:{title:"Advertising network",details:"Ad networks can generate revenue by selling advertising space on the site."},analytic:{title:"Audience measurement",details:"The audience measurement services used to generate useful statistics attendance to improve the site."},social:{title:"Social networks",details:"Social networks can improve the usability of the site and help to promote it via the shares."},video:{title:"Videos",details:"Video sharing services help to add rich media on the site and increase its visibility."},comment:{title:"Comments",details:"Comments managers facilitate the filing of comments and fight against spam."},support:{title:"Support",details:"Support services allow you to get in touch with the site team and help to improve it."},api:{title:"APIs",details:"APIs are used to load scripts: geolocation, search engines, translations, ..."},other:{title:"Other",details:"Services to display web content."},mandatoryTitle:"Mandatory cookies",mandatoryText:"This site uses cookies necessary for its proper functioning which cannot be deactivated.",controle:"Control your data"},tarteaucitron.lang={middleBarHead:"☝ 🍪",adblock:"¡Hola! Este sitio web es transparente y te da la opción de activar los servicios de terceros.",adblock_call:"Por favor deshabilita tu AdBlocker para empezar a personalizar los servicios.",reload:"Actualizar esta página",alertBigScroll:"Al continuar desplazándote,",alertBigClick:"Si continuas navegando por este sitio web,",alertBig:"estás permitiendo servicios terceros",alertBigPrivacy:"Este sitio web usa cookies y te permite controlar las que deseas activar",alertSmall:"Gestionar servicios",personalize:"Personalizar",acceptAll:"OK, aceptar todas",close:"Cerrar",privacyUrl:"Política de privacidad",all:"Ajustes para todos los servicios",info:"Protegiendo tu privacidad",disclaimer:"Aceptando estos servicios de terceros, estás aceptando sus cookies y el uso de tecnologías de rastreo necesarias para su correcto funcionamiento.",allow:"Permitir",deny:"Denegar",noCookie:"Este servicio no usa cookies.",useCookie:"Este servicio puede instalar",useCookieCurrent:"Este servicio ha instalado",useNoCookie:"Este servicio no ha instalado ninguna cookie.",more:"Leer más",source:"Ver sitio web oficial",credit:"Gestor de cookies realizado por tarteaucitron.js",toggleInfoBox:"Mostrar/ocultar información sobre almacenamiento de cookies",title:"Panel de gestión de cookies",cookieDetail:"Detalles de las cookies para",ourSite:"en nuestra web",newWindow:"(ventana nueva)",allowAll:"Permitir todas las cookies",denyAll:"Denegar todas las cookies",fallback:"está deshabilitado.",ads:{title:"Red de publicidad",details:"Las redes publicitarias pueden generar ingresos mediante la venta de espacios publicitarios en el sitio."},analytic:{title:"Medición de audiencia",details:"Los servicios de medición de audiencia se usan para generar estadísticas útiles para mejorar el sitio."},social:{title:"Redes sociales",details:"Las redes sociales pueden aumentar la usabilidad del sitio web y ayudar a promoverlo a través de la contribución."},video:{title:"Videos",details:"Los servicios para compartir videos ayudan a añadir contenido enriquecido en el sitio web y aumentar su visibilidad."},comment:{title:"Comentarios",details:"El gestor de comentarios facilita la clasificación de comentarios y luchar contra spam."},support:{title:"Soporte",details:"Los servicios de soporte te permiten contactar con el sitio web y ayudar a mejorarlo."},api:{title:"APIs",details:"APIs se utilizan para cargar scripts: geolocalización, motor de búsqueda, traducciones, ..."},other:{title:"Otro",details:"Servicios para mostrar contenido web."},mandatoryTitle:"Mandatory cookies",mandatoryText:"This site uses co
1okies necessary for its proper functioning which cannot be deactivated.",controle:"Controla tus datos"},tarteaucitron.lang={middleBarHead:"☝ 🍪",adblock:"Bonjour! Ce site joue la transparence et vous donne le choix des services tiers à activer.",adblock_call:"Merci de désactiver votre adblocker pour commencer la personnalisation.",reload:"Recharger la page",alertBigScroll:"En continuant de défiler,",alertBigClick:"En poursuivant votre navigation,",alertBig:"vous acceptez l'utilisation de services tiers pouvant installer des cookies",alertBigPrivacy:"Ce site utilise des cookies et vous donne le contrôle sur ce que vous souhaitez activer",alertSmall:"Gestion des services",acceptAll:"OK, tout accepter",personalize:"Personnaliser",close:"Enregistrer mes préférences",privacyUrl:"Politique de confidentialité",all:"Préférences pour tous les services",info:"Protection de votre vie privée",disclaimer:"En autorisant ces services tiers, vous acceptez le dépôt et la lecture de cookies et l'utilisation de technologies de suivi nécessaires à leur bon fonctionnement.",allow:"Autorisé",deny:"Bloqué",noCookie:"Ce service ne dépose aucun cookie.",useCookie:"Ce service peut déposer",useCookieCurrent:"Ce service a déposé",useNoCookie:"Ce service n'a déposé aucun cookie.",more:"En savoir plus",source:"Voir le site officiel",credit:"Gestion des cookies par tarteaucitron.js",noServices:"Ce site n'utilise aucun cookie nécessitant votre consentement.",toggleInfoBox:"Afficher/masquer les informations sur le stockage des cookies",title:"Panneau de gestion des cookies",cookieDetail:"Détail des cookies",ourSite:"sur notre site",newWindow:"(nouvelle fenêtre)",allowAll:"Accepter tous les cookies",denyAll:"Interdire tous les cookies",fallback:"est désactivé.",ads:{title:"Régies publicitaires",details:"Les régies publicitaires permettent de générer des revenus en commercialisant les espaces publicitaires du site."},analytic:{title:"Mesure d'audience",details:"Les services de mesure d'audience permettent de générer des statistiques de fréquentation utiles à l'amélioration du site."},social:{title:"Réseaux sociaux",details:"Les réseaux sociaux permettent d'améliorer la convivialité du site et aident à sa promotion via les partages."},video:{title:"Vidéos",details:"Les services de partage de vidéo permettent d'enrichir le site de contenu multimédia et augmentent sa visibilité."},comment:{title:"Commentaires",details:"Les gestionnaires de commentaires facilitent le dépôt de vos commentaires et luttent contre le spam."},support:{title:"Support",details:"Les services de support vous permettent d'entrer en contact avec l'équipe du site et d'aider à son amélioration."},api:{title:"APIs",details:"Les APIs permettent de charger des scripts : géolocalisation, moteurs de recherche, traductions, ..."},other:{title:"Autre",details:"Services visant à afficher du contenu web."},mandatoryTitle:"Cookies obligatoires",mandatoryText:"Ce site utilise des cookies nécessaires à son bon fonctionnement qui ne peuvent pas être désactivés.",controle:"Contrôlez vos données"},tarteaucitron.lang={middleBarHead:"☝ 🍪",adblock:"Benvenuto! Questo sito ti permette di attivare i servizi di terzi di tua scelta.",adblock_call:"Disabilita il tuo adblocker per iniziare la navigazione.",reload:"Aggiorna la pagina",alertBigScroll:"Continuando a scorrere,",alertBigClick:"Continuando a navigare nel sito,",alertBig:"autorizzi l’utilizzo dei cookies inviati da domini di terze parti",alertBigPrivacy:"Questo sito fa uso di cookies e ti consente di decidere se accettarli o rifiutarli",alertSmall:"Gestione dei servizi",acceptAll:"Ok, accetta tutto",personalize:"Personalizza",close:"Chiudi",privacyUrl:"Politica sulla riservatezza",all:"Preferenze per tutti i servizi",info:"Tutela della privacy",disclaimer:"Abilitando l'uso dei servizi di terze parti, accetti la ricezione dei cookies e l'uso delle tecnologie analitici necessarie al loro funzionamento.",allow:"Consenti",deny:"Blocca",noCookie:"Questo servizio non invia nessun cookie",useCookie:"Questo servizio puo' inviare",useCookieCurrent:"Questo servizio ha inviato",useNoCookie:"Questo servizio non ha inviato nessun cookie",more:"Saperne di più",source:"Vai al sito ufficiale",credit:"Gestione dei cookies da tarteaucitron.js",toggleInfoBox:"Show/hide informations about cookie storage",title:"Cookies management panel",cookieDetail:"Cookie detail for",ourSite:"on our site",newWindow:"(new window)",allowAll:"Allow all cookies",denyAll:"Deny all cookies",fallback:"è disattivato",ads:{title:"Regie pubblicitarie",details:"Le regie pubblicitarie producono redditi gestendo la commercializzazione degli spazi del sito dedicati alle campagne pubblicitarie"},analytic:{title:"Misura del pubblico",details:"I servizi di misura del pubblico permettono di raccogliere le statistiche utili al miglioramento del sito"},social:{title:"Reti sociali",details:"Le reti sociali permettono di migliorare l'aspetto conviviale del sito e di sviluppare la condivisione dei contenuti da parte degli utenti a fini promozionali."},video:{title:"Video",details:"I servizi di condivisione di video permettono di arricchire il sito di contenuti multimediali e di aumentare la sua visibilità"},comment:{title:"Commenti",details:"La gestione dei commenti utente aiuta a gestire la pubblicazione dei commenti e a lottare contro lo spamming"},support:{title:"Supporto",details:"I servizi di supporto ti consentono di contattare la team del sito e di contribuire al suo miglioramento"},api:{title:"API",details:"Le API permettono di implementare script diversi : geolocalizzazione, motori di ricerca, traduttori..."},other:{title:"Altro",details:"Servizi per visualizzare contenuti web."},mandatoryTitle:"Mandatory cookies",mandatoryText:"This site uses co
1okies necessary for its proper functioning which cannot be deactivated.",controle:"Controlla i tuoi dati"},tarteaucitron.lang={middleBarHead:"☝ 🍪",adblock:"Hallo! Deze site is transparant en laat u de services van derden kiezen die u wilt toestaan.",adblock_call:"Schakel uw adblocker uit om te beginnen met aanpassen.",reload:"Ververs de pagina",alertBigScroll:"Door te blijven scrollen,",alertBigClick:"Als je doorgaat met het surfen op deze website,",alertBig:"sta je alle diensten van derden toe",alertBigPrivacy:"Deze site maakt gebruik van cookies en geeft u controle over wat u wilt activeren",alertSmall:"Beheer instellingen",personalize:"Personaliseer",acceptAll:"OK, accepteer alle",close:"Sluit",privacyUrl:"Privacybeleid",all:"Voorkeur voor alle diensten",info:"Bescherming van uw privacy",disclaimer:"Door deze services van derden toe te staan, accepteert u hun cookies en het gebruik van trackingtechnologieën die nodig zijn voor hun goede werking.",allow:"Toestaan",deny:"Weigeren",noCookie:"Deze service gebruikt geen cookie",useCookie:"Deze service kan worden geïnstalleerd",useCookieCurrent:"Deze service is geïnstalleerd",useNoCookie:"Deze service heeft geen cookies geïnstalleerd.",more:"Lees meer",source:"Bekijk de officiële website",credit:"Cookie manager mogelijk gemaakt door tarteaucitron.js",fallback:"is uitgeschakeld.",toggleInfoBox:"Toon/verberg informatie over cookie opslag",title:"Cookies beheer paneel",cookieDetail:"Cookie detail voor",ourSite:"op onze site",newWindow:"(nieuw venster)",allowAll:"Sta alle cookies toe",denyAll:"Weiger alle cookies",ads:{title:"Advertentienetwerk",details:"Advertentienetwerken kunnen inkomsten genereren door advertentieruimte op de site te verkopen."},analytic:{title:"Bezoekers meting",details:"De bezoekersdiensten voor het publiek worden gebruikt om nuttige statistieken te genereren om de site te verbeteren."},social:{title:"Sociale netwerken",details:"Sociale netwerken kunnen de bruikbaarheid van de site verbeteren en helpen deze via de shares te promoten."},video:{title:"Videos",details:"Video sharing-services helpen om rich media op de site toe te voegen en de zichtbaarheid ervan te vergroten."},comment:{title:"Comments",details:"Commentsmanagers faciliteren het indienen van opmerkingen en het bestrijden van spam."},support:{title:"Support",details:"Support diensten stellen u in staat contact op te nemen met het team van de site en helpen het te verbeteren."},api:{title:"APIs",details:"APIs worden gebruikt om scripts te laden: geolocatie, zoekmachines, vertalingen, ..."},other:{title:"Overig",details:"Diensten om webinhoud weer te geven."},mandatoryTitle:"Mandatory cookies",mandatoryText:"This site uses cookies necessary for its proper functioning which cannot be deactivated.",controle:"Beheer uw gegevens"},tarteaucitron.lang={middleBarHead:"☝ 🍪",adblock:"Olá! Em uma ação de transparência, este site lhe dá a opção de quais serviços de terceiros deseje ativar.",adblock_call:"Por favor, desative seu bloqueador de publicidades para poder personalizar.",reload:"Atualizar esta página",alertBigScroll:"Ao continuar a rolar,",alertBigClick:"Se você continuar a navegação neste site,",alertBig:"você estará aceitando todos os serviços de terceiros",alertBigPrivacy:"Este site utiliza cookies e dá-lhe controle sobre o que quer ativar",alertSmall:"Gerenciar serviços",personalize:"Personalizar",acceptAll:"OK, aceitar tudo",close:"Fechar",privacyUrl:"Política de Privacidade",all:"Definições dos serviços",info:"Proteger sua privacidade",disclaimer:"Ao aceitar os serviços terceiros, você aceita o uso de cookies em conjunto a tecnologias de rastreamento que lhe são necessárias para funcionar",allow:"Autorizar",deny:"Recusar",noCookie:"Este serviço não usa cookies.",useCookie:"Este serviço pode instalar",useCookieCurrent:"Este serviço instalou",useNoCookie:"Este serviço não instalou nenhum cookie.",more:"Ler mais",source:"Ver o site oficial",credit:"Gerenciador de cookies por tarteaucitron.js",toggleInfoBox:"Mostrar/ocultar informações sobre armazenamento de cookies",title:"Painel de Gerenciamento de Cookies",cookieDetail:"Detalhe do Cookie",ourSite:"em nosso site",newWindow:"(nova janela)",allowAll:"Permite todos os cookies",denyAll:"Proibe todos cookies",fallback:"está desativado.",ads:{title:"Rede de anúncios",details:"As redes de anúncios podem gerar receitas com a venda de espaço publicitário no site."},analytic:{title:"Medição de audiência",details:"Serviços de medição de audiência usados para gerar estatísticas no intuito de melhorar o site."},social:{title:"Rede sociais",details:"Rede sociais podem ameliorar o utilização do site e ajudar a promove-lo via compartilhamentos."},video:{title:"Vídeos",details:"Serviços de compartilhamento de vídeo adicionam medias no site a aumentam sua visibilidade."},comment:{title:"Comentários",details:"Gerenciadores de comentários facilitam o sistema de comentários e lutam contra o spam."},support:{title:"Suporte",details:"Serviços de suporte lhe ajudam a entrar em contato com a equipe de suporte."},api:{title:"APIs",details:"APIs são usadas para carregar scripts: geolocalização, motores de pesquisa, traduções, ..."},other:{title:"De outros",details:"Serviços para exibir conteúdo da web."},mandatoryTitle:"Mandatory cookies",mandatoryText:"This site uses co
1okies necessary for its proper functioning which cannot be deactivated.",controle:"Controle seus dados"},tarteaucitron.lang={middleBarHead:"☝ 🍪",adblock:"Привет! Этот сайт совершенно открытый и позволяет вам выбрать сервисы третьих лиц, которым вы хотите дать доступ.",adblock_call:"Пожалуйста дезактивируйте АдБлокер чтобы начать настройку.",reload:"Перезагрузите страницу",alertBigScroll:"Продолжая прокрутки",alertBigClick:"Если вы продолжаете использовать сайт",alertBig:"вы позволяете сервисы третьих лиц",alertBigPrivacy:"Этот сайт использует кукис и позволяет вам контролировать сервисы которые вы хотите активировать",alertSmall:"Настройка сервисов",personalize:"Персонализировать",acceptAll:"Ок, все активировать",close:"Закрыть",privacyUrl:"Политика конфиденциальности",all:"Преференция всем сервисам",info:"Защитить вашу конфиденциальность",disclaimer:"Активирование сервисов третьих лиц позволяет использование их кукис и технолоний отслеживания необходимых для их функционирования",allow:"Позролить",deny:"Не позволить",noCookie:"Этот сервис не использует кукис.",useCookie:"Этот сервис может быть инсталирован",useCookieCurrent:"Этот сервис инсталирован",useNoCookie:"Этот сервис не использует кукис.",more:"Подробнее",source:"Посетите официальный сайт",credit:"Кукис манаджер tarteaucitron.js",toggleInfoBox:"Show/hide informations about cookie storage",title:"Панель управления cookies",cookieDetail:"Cookie detail for",ourSite:"on our site",newWindow:"(new window)",allowAll:"Разрешить использование cookies",denyAll:"Запретить использование cookies",fallback:"Деактивирован.",ads:{title:"Рекламная сеть",details:"Мы позволяем вам аренду нашей рекламной сети."},analytic:{title:"Измерение аудиенции",details:"Измерение аудиенции сайта для статистики помогают улучшить предлагаемый сервис."},social:{title:"Социальная сеть",details:"Социальная сеть сайтов помогает улучшить предлагаемый сервис через обмен информации."},video:{title:"Видео",details:"Обмен видео информации позволяет улучшить сервис и увеличит траффик сайта."},comment:{title:"Комментарии",details:"Манаджер комментариев позволяет обмен информации и борьбу со спамом."},support:{title:"Помощь",details:"Помощь позволяет вам контактировать напрямую сайт манаджер и улучшить предлагаемый сервис."},api:{title:"АПИ",details:"АПИ используются для загрузки скриптов; геолокация, поисковый мотор и переводы..."},other:{title:"Другие",details:"Службы для отображения веб-контента."},mandatoryTitle:"Mandatory cookies",mandatoryText:"This site uses cookies necessary for its proper functioning which cannot be deactivated.",controle:"Управляйте своими данными"};

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.