vendor: 87,532 bytes, lines 1-2
1/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ 2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function fe(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}ce.fn=ce.prototype={jquery:t,constructor:ce,length:0,toArray:function(){return ae.call(this)},get:function(e){return null==e?ae.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=ce.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return ce.each(this,e)},map:function(n){return this.pushStack(ce.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(ae.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(ce.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(ce.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:oe.sort,splice:oe.splice},ce.extend=ce.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(ce.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||ce.isPlainObject(n)?n:{},i=!1,a[t]=ce.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},ce.extend({expando:"jQuery"+(t+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==i.call(e))&&(!(t=r(e))||"function"==typeof(n=ue.call(t,"constructor")&&t.constructor)&&o.call(n)===a)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){m(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(c(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(!i)while(t=e[r++])n+=ce.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(c(Object(e))?ce.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:se.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!l.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(c(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g(a)},guid:1,support:le}),"function"==typeof Symbol&&(ce.fn[Symbol.iterator]=oe[Symbol.iterator]),ce.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var pe=oe.pop,de=oe.sort,he=oe.splice,ge="[\\x20\\t\\r\\n\\f]",ve=new RegExp("^"+ge+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ge+"+$","g");ce.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var f=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function p(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}ce.escapeSelector=function(e){return(e+"").replace(f,p)};var ye=C,me=s;!function(){var e,b,w,o,a,T,r,C,d,i,k=me,S=ce.expando,E=0,n=0,s=W(),c=W(),u=W(),h=W(),l=function(e,t){return e===t&&(a=!0),0},f="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",t="(?:\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",p="\\["+ge+"*("+t+")(?:"+ge+"*([*^$|!~]?=)"+ge+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+t+"))|)"+ge+"*\\]",g=":("+t+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+p+")*)|.*)\\)|)",v=new RegExp(ge+"+","g"),y=new RegExp("^"+ge+"*,"+ge+"*"),m=new RegExp("^"+ge+"*([>+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="<a id='"+S+"' href='' disabled='disabled'></a><select id='"+S+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0<I(t,T,null,[e]).length},I.contains=function(e,t){return(e.ownerDocument||e)!=T&&V(e),ce.contains(e,t)},I.attr=function(e,t){(e.ownerDocument||e)!=T&&V(e);var n=b.attrHandle[t.toLowerCase()],r=n&&ue.call(b.attrHandle,t.toLowerCase())?n(e,t,!C):void 0;return void 0!==r?r:e.getAttribute(t)},I.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ce.uniqueSort=function(e){var t,n=[],r=0,i=0;if(a=!le.sortStable,o=!le.sortStable&&ae.call(e,0),de.call(e,l),a){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)he.call(e,n[r],1)}return o=null,e},ce.fn.uniqueSort=function(){return this.pushStack(ce.uniqueSort(ae.apply(this)))},(b=ce.expr={cacheLength:50,createPseudo:F,match:D,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(v," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(d,e,t,h,g){var v="nth"!==d.slice(0,3),y="last"!==d.slice(-4),m="of-type"===e;return 1===h&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u=v!==y?"nextSibling":"previousSibling",l=e.parentNode,c=m&&e.nodeName.toLowerCase(),f=!n&&!m,p=!1;if(l){if(v){while(u){o=e;while(o=o[u])if(m?fe(o,c):1===o.nodeType)return!1;s=u="only"===d&&!s&&"nextSibling"}return!0}if(s=[y?l.firstChild:l.lastChild],y&&f){p=(a=(r=(i=l[S]||(l[S]={}))[d]||[])[0]===E&&r[1])&&r[2],o=a&&l.childNodes[a];while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if(1===o.nodeType&&++p&&o===e){i[d]=[E,a,p];break}}else if(f&&(p=a=(r=(i=e[S]||(e[S]={}))[d]||[])[0]===E&&r[1]),!1===p)while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if((m?fe(o,c):1===o.nodeType)&&++p&&(f&&((i=o[S]||(o[S]={}))[d]=[E,p]),o===e))break;return(p-=g)===h||p%h==0&&0<=p/h}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||I.error("unsupported pseudo: "+e);return a[S]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?F(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=se.call(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:F(function(e){var r=[],i=[],s=ne(e.replace(ve,"$1"));return s[S]?F(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:F(function(t){return function(e){return 0<I(t,e).length}}),contains:F(function(t){return t=t.replace(O,P),function(e){return-1<(e.textContent||ce.text(e)).indexOf(t)}}),lang:F(function(n){return A.test(n||"")||I.error("unsupported lang: "+n),n=n.replace(O,P).toLowerCase(),function(e){var t;do{if(t=C?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=ie.location&&ie.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===r},focus:function(e){return e===function(){try{return T.activeElement}catch(e){}}()&&T.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:z(!1),disabled:z(!0),checked:function(e){return fe(e,"input")&&!!e.checked||fe(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return q.test(e.nodeName)},input:function(e){return N.test(e.nodeName)},button:function(e){return fe(e,"input")&&"button"===e.type||fe(e,"button")},text:function(e){var t;return fe(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:X(function(){return[0]}),last:X(function(e,t){return[t-1]}),eq:X(function(e,t,n){return[n<0?n+t:n]}),even:X(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:X(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:X(function(e,t,n){var r;for(r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:X(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=B(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=_(e);function G(){}function Y(e,t){var n,r,i,o,a,s,u,l=c[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&&!(r=y.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=m.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(ve," ")}),a=a.slice(n.length)),b.filter)!(r=D[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?I.error(e):c(e,s).slice(0)}function Q(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function J(a,e,t){var s=e.dir,u=e.next,l=u||s,c=t&&"parentNode"===l,f=n++;return e.first?function(e,t,n){while(e=e[s])if(1===e.nodeType||c)return a(e,t,n);return!1}:function(e,t,n){var r,i,o=[E,f];if(n){while(e=e[s])if((1===e.nodeType||c)&&a(e,t,n))return!0}else while(e=e[s])if(1===e.nodeType||c)if(i=e[S]||(e[S]={}),u&&fe(e,u))e=e[s]||e;else{if((r=i[l])&&r[0]===E&&r[1]===f)return o[2]=r[2];if((i[l]=o)[2]=a(e,t,n))return!0}return!1}}function K(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Z(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function ee(d,h,g,v,y,e){return v&&!v[S]&&(v=ee(v)),y&&!y[S]&&(y=ee(y,e)),F(function(e,t,n,r){var i,o,a,s,u=[],l=[],c=t.length,f=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)I(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),p=!d||!e&&h?f:Z(f,u,d,n,r);if(g?g(p,s=y||(e?d:c||v)?[]:t,n,r):s=p,v){i=Z(s,l),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(s[l[o]]=!(p[l[o]]=a))}if(e){if(y||d){if(y){i=[],o=s.length;while(o--)(a=s[o])&&i.push(p[o]=a);y(null,s=[],i,r)}o=s.length;while(o--)(a=s[o])&&-1<(i=y?se.call(e,a):u[o])&&(e[i]=!(t[i]=a))}}else s=Z(s===t?s.splice(c,s.length):s),y?y(null,t,s,r):k.apply(t,s)})}function te(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=J(function(e){return e===i},a,!0),l=J(function(e){return-1<se.call(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!=w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])c=[J(K(c),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[S]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return ee(1<s&&K(c),1<s&&Q(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ve,"$1"),t,s<n&&te(e.slice(s,n)),n<r&&te(e=e.slice(n)),n<r&&Q(e))}c.push(t)}return K(c)}function ne(e,t){var n,v,y,m,x,r,i=[],o=[],a=u[e+" "];if(!a){t||(t=Y(e)),n=t.length;while(n--)(a=te(t[n]))[S]?i.push(a):o.push(a);(a=u(e,(v=o,m=0<(y=i).length,x=0<v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=E+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==T||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){a=0,t||o.ownerDocument==T||(V(o),n=!C);while(s=v[a++])if(s(o,t||T,n)){k.call(r,o);break}i&&(E=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=pe.call(r));f=Z(f)}k.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&ce.uniqueSort(r)}return i&&(E=h,w=p),c},m?F(r):r))).selector=e}return a}function re(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&Y(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&C&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(O,P),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=D.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&&(r=u(a.matches[0].replace(O,P),H.test(o[0].type)&&U(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&Q(o)))return k.apply(n,r),n;break}}}return(l||ne(e,c))(r,t,!C,n,!t||H.test(e)&&U(t.parentNode)||t),n}G.prototype=b.filters=b.pseudos,b.setFilters=new G,le.sortStable=S.split("").sort(l).join("")===S,V(),le.sortDetached=$(function(e){return 1&e.compareDocumentPosition(T.createElement("fieldset"))}),ce.find=I,ce.expr[":"]=ce.expr.pseudos,ce.unique=ce.uniqueSort,I.compile=ne,I.select=re,I.setDocument=V,I.tokenize=Y,I.escape=ce.escapeSelector,I.getText=ce.text,I.isXML=ce.isXMLDoc,I.selectors=ce.expr,I.support=ce.support,I.uniqueSort=ce.uniqueSort}();var d=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&ce(e).is(n))break;r.push(e)}return r},h=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},b=ce.expr.match.needsContext,w=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1<se.call(n,e)!==r}):ce.filter(n,e,r)}ce.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ce.find.matchesSelector(r,e)?[r]:[]:ce.find.matches(e,ce.grep(t,function(e){return 1===e.nodeType}))},ce.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(ce(e).filter(function(){for(t=0;t<r;t++)if(ce.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)ce.find(e,i[t],n);return 1<r?ce.uniqueSort(n):n},filter:function(e){return this.pushStack(T(this,e||[],!1))},not:function(e){return this.pushStack(T(this,e||[],!0))},is:function(e){return!!T(this,"string"==typeof e&&b.test(e)?ce(e):e||[],!1).length}});var k,S=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(ce.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&ce(e);if(!b.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&ce.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?ce.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?se.call(ce(e),this[0]):se.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ce.uniqueSort(ce.merge(this.get(),ce(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ce.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return d(e,"parentNode")},parentsUntil:function(e,t,n){return d(e,"parentNode",n)},next:function(e){return A(e,"nextSibling")},prev:function(e){return A(e,"previousSibling")},nextAll:function(e){return d(e,"nextSibling")},prevAll:function(e){return d(e,"previousSibling")},nextUntil:function(e,t,n){return d(e,"nextSibling",n)},prevUntil:function(e,t,n){return d(e,"previousSibling",n)},siblings:function(e){return h((e.parentNode||{}).firstChild,e)},children:function(e){return h(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(fe(e,"template")&&(e=e.content||e),ce.merge([],e.childNodes))}},function(r,i){ce.fn[r]=function(e,t){var n=ce.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=ce.filter(t,n)),1<this.length&&(j[r]||ce.uniqueSort(n),E.test(r)&&n.reverse()),this.pushStack(n)}});var D=/[^\x20\t\r\n\f]+/g;function N(e){return e}function q(e){throw e}function L(e,t,n,r){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}ce.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},ce.each(e.match(D)||[],function(e,t){n[t]=!0}),n):ce.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){ce.each(e,function(e,t){v(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==x(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return ce.each(arguments,function(e,t){var n;while(-1<(n=ce.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<ce.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},ce.extend({Deferred:function(e){var o=[["notify","progress",ce.Callbacks("memory"),ce.Callbacks("memory"),2],["resolve","done",ce.Callbacks("once memory"),ce.Callbacks("once memory"),0,"resolved"],["reject","fail",ce.Callbacks("once memory"),ce.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return ce.Deferred(function(r){ce.each(o,function(e,t){var n=v(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&v(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,v(t)?s?t.call(e,l(u,o,N,s),l(u,o,q,s)):(u++,t.call(e,l(u,o,N,s),l(u,o,q,s),l(u,o,N,o.notifyWith))):(a!==N&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){ce.Deferred.exceptionHook&&ce.Deferred.exceptionHook(e,t.error),u<=i+1&&(a!==q&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(ce.Deferred.getErrorHook?t.error=ce.Deferred.getErrorHook():ce.Deferred.getStackHook&&(t.error=ce.Deferred.getStackHook()),ie.setTimeout(t))}}return ce.Deferred(function(e){o[0][3].add(l(0,e,v(r)?r:N,e.notifyWith)),o[1][3].add(l(0,e,v(t)?t:N)),o[2][3].add(l(0,e,v(n)?n:q))}).promise()},promise:function(e){return null!=e?ce.extend(e,a):a}},s={};return ce.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=ae.call(arguments),o=ce.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?ae.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(L(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||v(i[t]&&i[t].then)))return o.then();while(t--)L(i[t],a(t),o.reject);return o.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;ce.Deferred.exceptionHook=function(e,t){ie.console&&ie.console.warn&&e&&H.test(e.name)&&ie.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},ce.readyException=function(e){ie.setTimeout(function(){throw e})};var O=ce.Deferred();function P(){C.removeEventListener("DOMContentLoaded",P),ie.removeEventListener("load",P),ce.ready()}ce.fn.ready=function(e){return O.then(e)["catch"](function(e){ce.readyException(e)}),this},ce.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--ce.readyWait:ce.isReady)||(ce.isReady=!0)!==e&&0<--ce.readyWait||O.resolveWith(C,[ce])}}),ce.ready.then=O.then,"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?ie.setTimeout(ce.ready):(C.addEventListener("DOMContentLoaded",P),ie.addEventListener("load",P));var M=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n))for(s in i=!0,n)M(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,v(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(ce(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},R=/^-ms-/,I=/-([a-z])/g;function W(e,t){return t.toUpperCase()}function F(e){return e.replace(R,"ms-").replace(I,W)}var $=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function B(){this.expando=ce.expando+B.uid++}B.uid=1,B.prototype={cache:function(e){var t=e[this.expando];return t||(t={},$(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[F(t)]=n;else for(r in t)i[F(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][F(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(F):(t=F(t))in r?[t]:t.match(D)||[]).length;while(n--)delete r[t[n]]}(void 0===t||ce.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!ce.isEmptyObject(t)}};var _=new B,z=new B,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,U=/[A-Z]/g;function V(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(U,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:X.test(i)?JSON.parse(i):i)}catch(e){}z.set(e,t,n)}else n=void 0;return n}ce.extend({hasData:function(e){return z.hasData(e)||_.hasData(e)},data:function(e,t,n){return z.access(e,t,n)},removeData:function(e,t){z.remove(e,t)},_data:function(e,t,n){return _.access(e,t,n)},_removeData:function(e,t){_.remove(e,t)}}),ce.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=z.get(o),1===o.nodeType&&!_.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=F(r.slice(5)),V(o,r,i[r]));_.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){z.set(this,n)}):M(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=z.get(o,n))?t:void 0!==(t=V(o,n))?t:void 0;this.each(function(){z.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){z.remove(this,e)})}}),ce.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=_.get(e,t),n&&(!r||Array.isArray(n)?r=_.access(e,t,ce.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=ce.queue(e,t),r=n.length,i=n.shift(),o=ce._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){ce.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return _.get(e,n)||_.access(e,n,{empty:ce.Callbacks("once memory").add(function(){_.remove(e,[t+"queue",n])})})}}),ce.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?ce.queue(this[0],t):void 0===n?this:this.each(function(){var e=ce.queue(this,t,n);ce._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&ce.dequeue(this,t)})},dequeue:function(e){return this.each(function(){ce.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=ce.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=_.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var G=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Y=new RegExp("^(?:([+-])=|)("+G+")([a-z%]*)$","i"),Q=["Top","Right","Bottom","Left"],J=C.documentElement,K=function(e){return ce.contains(e.ownerDocument,e)},Z={composed:!0};J.getRootNode&&(K=function(e){return ce.contains(e.ownerDocument,e)||e.getRootNode(Z)===e.ownerDocument});var ee=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&K(e)&&"none"===ce.css(e,"display")};function te(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return ce.css(e,t,"")},u=s(),l=n&&n[3]||(ce.cssNumber[t]?"":"px"),c=e.nodeType&&(ce.cssNumber[t]||"px"!==l&&+u)&&Y.exec(ce.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)ce.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,ce.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ne={};function re(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=_.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ee(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ne[s])||(o=a.body.appendChild(a.createElement(s)),u=ce.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ne[s]=u)))):"none"!==n&&(l[c]="none",_.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}ce.fn.extend({show:function(){return re(this,!0)},hide:function(){return re(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ee(this)?ce(this).show():ce(this).hide()})}});var xe,be,we=/^(?:checkbox|radio)$/i,Te=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="<textarea>x</textarea>",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="<option></option>",le.option=!!xe.lastChild;var ke={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 Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n<r;n++)_.set(e[n],"globalEval",!t||_.get(t[n],"globalEval"))}ke.tbody=ke.tfoot=ke.colgroup=ke.caption=ke.thead,ke.th=ke.td,le.option||(ke.optgroup=ke.option=[1,"<select multiple='multiple'>","</select>"]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))ce.merge(p,o.nodeType?[o]:o);else if(je.test(o)){a=a||f.appendChild(t.createElement("div")),s=(Te.exec(o)||["",""])[1].toLowerCase(),u=ke[s]||ke._default,a.innerHTML=u[1]+ce.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;ce.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<ce.inArray(o,r))i&&i.push(o);else if(l=K(o),a=Se(f.appendChild(o),"script"),l&&Ee(a),n){c=0;while(o=a[c++])Ce.test(o.type||"")&&n.push(o)}return f}var De=/^([^.]*)(?:\.(.+)|)/;function Ne(){return!0}function qe(){return!1}function Le(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Le(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=qe;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return ce().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=ce.guid++)),e.each(function(){ce.event.add(this,t,i,r,n)})}function He(e,r,t){t?(_.set(e,r,!1),ce.event.add(e,r,{namespace:!1,handler:function(e){var t,n=_.get(this,r);if(1&e.isTrigger&&this[r]){if(n)(ce.event.special[r]||{}).delegateType&&e.stopPropagation();else if(n=ae.call(arguments),_.set(this,r,n),this[r](),t=_.get(this,r),_.set(this,r,!1),n!==t)return e.stopImmediatePropagation(),e.preventDefault(),t}else n&&(_.set(this,r,ce.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ne)}})):void 0===_.get(e,r)&&ce.event.add(e,r,Ne)}ce.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.get(t);if($(t)){n.handler&&(n=(o=n).handler,i=o.selector),i&&ce.find.matchesSelector(J,i),n.guid||(n.guid=ce.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof ce&&ce.event.triggered!==e.type?ce.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(D)||[""]).length;while(l--)d=g=(s=De.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=ce.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=ce.event.special[d]||{},c=ce.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ce.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),ce.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.hasData(e)&&_.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(D)||[""]).length;while(l--)if(d=g=(s=De.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=ce.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||ce.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)ce.event.remove(e,d+t[l],n,r,!0);ce.isEmptyObject(u)&&_.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=ce.event.fix(e),l=(_.get(this,"events")||Object.create(null))[u.type]||[],c=ce.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=ce.event.handlers.call(this,u,l),t=0;while((i=a[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((ce.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<ce(i,this).index(l):ce.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(ce.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[ce.expando]?e:new ce.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click",!0),!1},trigger:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click"),!0},_default:function(e){var t=e.target;return we.test(t.type)&&t.click&&fe(t,"input")&&_.get(t,"click")||fe(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},ce.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},ce.Event=function(e,t){if(!(this instanceof ce.Event))return new ce.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ne:qe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&ce.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[ce.expando]=!0},ce.Event.prototype={constructor:ce.Event,isDefaultPrevented:qe,isPropagationStopped:qe,isImmediatePropagationStopped:qe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ne,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ne,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ne,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},ce.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},ce.event.addProp),ce.each({focus:"focusin",blur:"focusout"},function(r,i){function o(e){if(C.documentMode){var t=_.get(this,"handle"),n=ce.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,t(e),n.target===n.currentTarget&&t(n)}else ce.event.simulate(i,e.target,ce.event.fix(e))}ce.event.special[r]={setup:function(){var e;if(He(this,r,!0),!C.documentMode)return!1;(e=_.get(this,i))||this.addEventListener(i,o),_.set(this,i,(e||0)+1)},trigger:function(){return He(this,r),!0},teardown:function(){var e;if(!C.documentMode)return!1;(e=_.get(this,i)-1)?_.set(this,i,e):(this.removeEventListener(i,o),_.remove(this,i))},_default:function(e){return _.get(e.target,r)},delegateType:i},ce.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i);n||(C.documentMode?this.addEventListener(i,o):e.addEventListener(r,o,!0)),_.set(t,i,(n||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i)-1;n?_.set(t,i,n):(C.documentMode?this.removeEventListener(i,o):e.removeEventListener(r,o,!0),_.remove(t,i))}}}),ce.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){ce.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||ce.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),ce.fn.extend({on:function(e,t,n,r){return Le(this,e,t,n,r)},one:function(e,t,n,r){return Le(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ce(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=qe),this.each(function(){ce.event.remove(this,e,n,t)})}});var Oe=/<script|<style|<link/i,Pe=/checked\s*(?:[^=]|=\s*.checked.)/i,Me=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)ce.event.add(t,i,s[i][n]);z.hasData(e)&&(o=z.access(e),a=ce.extend({},o),z.set(t,a))}}function $e(n,r,i,o){r=g(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=v(d);if(h||1<f&&"string"==typeof d&&!le.checkClone&&Pe.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),$e(t,r,i,o)});if(f&&(t=(e=Ae(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=ce.map(Se(e,"script"),Ie)).length;c<f;c++)u=e,c!==p&&(u=ce.clone(u,!0,!0),s&&ce.merge(a,Se(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,ce.map(a,We),c=0;c<s;c++)u=a[c],Ce.test(u.type||"")&&!_.access(u,"globalEval")&&ce.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?ce._evalUrl&&!u.noModule&&ce._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):m(u.textContent.replace(Me,""),u,l))}return n}function Be(e,t,n){for(var r,i=t?ce.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||ce.cleanData(Se(r)),r.parentNode&&(n&&K(r)&&Ee(Se(r,"script")),r.parentNode.removeChild(r));return e}ce.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=K(e);if(!(le.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ce.isXMLDoc(e)))for(a=Se(c),r=0,i=(o=Se(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&we.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||Se(e),a=a||Se(c),r=0,i=o.length;r<i;r++)Fe(o[r],a[r]);else Fe(e,c);return 0<(a=Se(c,"script")).length&&Ee(a,!f&&Se(e,"script")),c},cleanData:function(e){for(var t,n,r,i=ce.event.special,o=0;void 0!==(n=e[o]);o++)if($(n)){if(t=n[_.expando]){if(t.events)for(r in t.events)i[r]?ce.event.remove(n,r):ce.removeEvent(n,r,t.handle);n[_.expando]=void 0}n[z.expando]&&(n[z.expando]=void 0)}}}),ce.fn.extend({detach:function(e){return Be(this,e,!0)},remove:function(e){return Be(this,e)},text:function(e){return M(this,function(e){return void 0===e?ce.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return $e(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e)})},prepend:function(){return $e(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ce.cleanData(Se(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ce.clone(this,e,t)})},html:function(e){return M(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!ke[(Te.exec(e)||["",""])[1].toLowerCase()]){e=ce.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(ce.cleanData(Se(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return $e(this,arguments,function(e){var t=this.parentNode;ce.inArray(this,n)<0&&(ce.cleanData(Se(this)),t&&t.replaceChild(e,this))},n)}}),ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){ce.fn[e]=function(e){for(var t,n=[],r=ce(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),ce(r[o])[a](t),s.apply(n,t.get());return this.pushStack(n)}});var _e=new RegExp("^("+G+")(?!px)[a-z%]+$","i"),ze=/^--/,Xe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=ie),t.getComputedStyle(e)},Ue=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Ve=new RegExp(Q.join("|"),"i");function Ge(e,t,n){var r,i,o,a,s=ze.test(t),u=e.style;return(n=n||Xe(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(ve,"$1")||void 0),""!==a||K(e)||(a=ce.style(e,t)),!le.pixelBoxStyles()&&_e.test(a)&&Ve.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function Ye(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",J.appendChild(u).appendChild(l);var e=ie.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),J.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s,u=C.createElement("div"),l=C.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",le.clearCloneStyle="content-box"===l.style.backgroundClip,ce.extend(le,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=C.createElement("table"),t=C.createElement("tr"),n=C.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",J.appendChild(e).appendChild(t).appendChild(n),r=ie.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,J.removeChild(e)),a}}))}();var Qe=["Webkit","Moz","ms"],Je=C.createElement("div").style,Ke={};function Ze(e){var t=ce.cssProps[e]||Ke[e];return t||(e in Je?e:Ke[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=Qe.length;while(n--)if((e=Qe[n]+t)in Je)return e}(e)||e)}var et=/^(none|table(?!-c[ea]).+)/,tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"};function rt(e,t,n){var r=Y.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function it(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=ce.css(e,n+Q[a],!0,i)),r?("content"===n&&(u-=ce.css(e,"padding"+Q[a],!0,i)),"margin"!==n&&(u-=ce.css(e,"border"+Q[a]+"Width",!0,i))):(u+=ce.css(e,"padding"+Q[a],!0,i),"padding"!==n?u+=ce.css(e,"border"+Q[a]+"Width",!0,i):s+=ce.css(e,"border"+Q[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u+l}function ot(e,t,n){var r=Xe(e),i=(!le.boxSizingReliable()||n)&&"border-box"===ce.css(e,"boxSizing",!1,r),o=i,a=Ge(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(_e.test(a)){if(!n)return a;a="auto"}return(!le.boxSizingReliable()&&i||!le.reliableTrDimensions()&&fe(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===ce.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===ce.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+it(e,t,n||(i?"border":"content"),o,r,a)+"px"}function at(e,t,n,r,i){return new at.prototype.init(e,t,n,r,i)}ce.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ge(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!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,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=F(t),u=ze.test(t),l=e.style;if(u||(t=Ze(s)),a=ce.cssHooks[t]||ce.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=Y.exec(n))&&i[1]&&(n=te(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(ce.cssNumber[s]?"":"px")),le.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=F(t);return ze.test(t)||(t=Ze(s)),(a=ce.cssHooks[t]||ce.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ge(e,t,r)),"normal"===i&&t in nt&&(i=nt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),ce.each(["height","width"],function(e,u){ce.cssHooks[u]={get:function(e,t,n){if(t)return!et.test(ce.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ot(e,u,n):Ue(e,tt,function(){return ot(e,u,n)})},set:function(e,t,n){var r,i=Xe(e),o=!le.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===ce.css(e,"boxSizing",!1,i),s=n?it(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-it(e,u,"border",!1,i)-.5)),s&&(r=Y.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=ce.css(e,u)),rt(0,t,s)}}}),ce.cssHooks.marginLeft=Ye(le.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ge(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),ce.each({margin:"",padding:"",border:"Width"},function(i,o){ce.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+Q[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(ce.cssHooks[i+o].set=rt)}),ce.fn.extend({css:function(e,t){return M(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Xe(e),i=t.length;a<i;a++)o[t[a]]=ce.css(e,t[a],!1,r);return o}return void 0!==n?ce.style(e,t,n):ce.css(e,t)},e,t,1<arguments.length)}}),((ce.Tween=at).prototype={constructor:at,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||ce.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(ce.cssNumber[n]?"":"px")},cur:function(){var e=at.propHooks[this.prop];return e&&e.get?e.get(this):at.propHooks._default.get(this)},run:function(e){var t,n=at.propHooks[this.prop];return this.options.duration?this.pos=t=ce.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):at.propHooks._default.set(this),this}}).init.prototype=at.prototype,(at.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ce.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){ce.fx.step[e.prop]?ce.fx.step[e.prop](e):1!==e.elem.nodeType||!ce.cssHooks[e.prop]&&null==e.elem.style[Ze(e.prop)]?e.elem[e.prop]=e.now:ce.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=at.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ce.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ce.fx=at.prototype.init,ce.fx.step={};var st,ut,lt,ct,ft=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function dt(){ut&&(!1===C.hidden&&ie.requestAnimationFrame?ie.requestAnimationFrame(dt):ie.setTimeout(dt,ce.fx.interval),ce.fx.tick())}function ht(){return ie.setTimeout(function(){st=void 0}),st=Date.now()}function gt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=Q[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function vt(e,t,n){for(var r,i=(yt.tweeners[t]||[]).concat(yt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function yt(o,e,t){var n,a,r=0,i=yt.prefilters.length,s=ce.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=st||ht(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:ce.extend({},e),opts:ce.extend(!0,{specialEasing:{},easing:ce.easing._default},t),originalProperties:e,originalOptions:t,startTime:st||ht(),duration:t.duration,tweens:[],createTween:function(e,t){var n=ce.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=F(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=ce.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=yt.prefilters[r].call(l,o,c,l.opts))return v(n.stop)&&(ce._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return ce.map(c,vt,l),v(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),ce.fx.timer(ce.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}ce.Animation=ce.extend(yt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return te(n.elem,e,Y.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(D);for(var n,r=0,i=e.length;r<i;r++)n=e[r],yt.tweeners[n]=yt.tweeners[n]||[],yt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ee(e),v=_.get(e,"fxshow");for(r in n.queue||(null==(a=ce._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,ce.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],ft.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||ce.style(e,r)}if((u=!ce.isEmptyObject(t))||!ce.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=_.get(e,"display")),"none"===(c=ce.css(e,"display"))&&(l?c=l:(re([e],!0),l=e.style.display||l,c=ce.css(e,"display"),re([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===ce.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=_.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&re([e],!0),p.done(function(){for(r in g||re([e]),_.remove(e,"fxshow"),d)ce.style(e,r,d[r])})),u=vt(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?yt.prefilters.unshift(e):yt.prefilters.push(e)}}),ce.speed=function(e,t,n){var r=e&&"object"==typeof e?ce.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return ce.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in ce.fx.speeds?r.duration=ce.fx.speeds[r.duration]:r.duration=ce.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&ce.dequeue(this,r.queue)},r},ce.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ee).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=ce.isEmptyObject(t),o=ce.speed(e,n,r),a=function(){var e=yt(this,ce.extend({},t),o);(i||_.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=ce.timers,r=_.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&pt.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||ce.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=_.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=ce.timers,o=n?n.length:0;for(t.finish=!0,ce.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),ce.each(["toggle","show","hide"],function(e,r){var i=ce.fn[r];ce.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(gt(r,!0),e,t,n)}}),ce.each({slideDown:gt("show"),slideUp:gt("hide"),slideToggle:gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){ce.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),ce.timers=[],ce.fx.tick=function(){var e,t=0,n=ce.timers;for(st=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||ce.fx.stop(),st=void 0},ce.fx.timer=function(e){ce.timers.push(e),ce.fx.start()},ce.fx.interval=13,ce.fx.start=function(){ut||(ut=!0,dt())},ce.fx.stop=function(){ut=null},ce.fx.speeds={slow:600,fast:200,_default:400},ce.fn.delay=function(r,e){return r=ce.fx&&ce.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=ie.setTimeout(e,r);t.stop=function(){ie.clearTimeout(n)}})},lt=C.createElement("input"),ct=C.createElement("select").appendChild(C.createElement("option")),lt.type="checkbox",le.checkOn=""!==lt.value,le.optSelected=ct.selected,(lt=C.createElement("input")).value="t",lt.type="radio",le.radioValue="t"===lt.value;var mt,xt=ce.expr.attrHandle;ce.fn.extend({attr:function(e,t){return M(this,ce.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){ce.removeAttr(this,e)})}}),ce.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?ce.prop(e,t,n):(1===o&&ce.isXMLDoc(e)||(i=ce.attrHooks[t.toLowerCase()]||(ce.expr.match.bool.test(t)?mt:void 0)),void 0!==n?null===n?void ce.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=ce.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!le.radioValue&&"radio"===t&&fe(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(D);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),mt={set:function(e,t,n){return!1===t?ce.removeAttr(e,n):e.setAttribute(n,n),n}},ce.each(ce.expr.match.bool.source.match(/\w+/g),function(e,t){var a=xt[t]||ce.find.attr;xt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=xt[o],xt[o]=r,r=null!=a(e,t,n)?o:null,xt[o]=i),r}});var bt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;function Tt(e){return(e.match(D)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(D)||[]}ce.fn.extend({prop:function(e,t){return M(this,ce.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[ce.propFix[e]||e]})}}),ce.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ce.isXMLDoc(e)||(t=ce.propFix[t]||t,i=ce.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=ce.find.attr(e,"tabindex");return t?parseInt(t,10):bt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),le.optSelected||(ce.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ce.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ce.propFix[this.toLowerCase()]=this}),ce.fn.extend({addClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).addClass(t.call(this,e,Ct(this)))}):(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++)i=e[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this},removeClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).removeClass(t.call(this,e,Ct(this)))}):arguments.length?(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++){i=e[o];while(-1<n.indexOf(" "+i+" "))n=n.replace(" "+i+" "," ")}a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(t,n){var e,r,i,o,a=typeof t,s="string"===a||Array.isArray(t);return v(t)?this.each(function(e){ce(this).toggleClass(t.call(this,e,Ct(this),n),n)}):"boolean"==typeof n&&s?n?this.addClass(t):this.removeClass(t):(e=kt(t),this.each(function(){if(s)for(o=ce(this),i=0;i<e.length;i++)r=e[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==t&&"boolean"!==a||((r=Ct(this))&&_.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===t?"":_.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+Tt(Ct(n))+" ").indexOf(t))return!0;return!1}});var St=/\r/g;ce.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=v(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,ce(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=ce.map(t,function(e){return null==e?"":e+""})),(r=ce.valHooks[this.type]||ce.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=ce.valHooks[t.type]||ce.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(St,""):null==e?"":e:void 0}}),ce.extend({valHooks:{option:{get:function(e){var t=ce.find.attr(e,"value");return null!=t?t:Tt(ce.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!fe(n.parentNode,"optgroup"))){if(t=ce(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=ce.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<ce.inArray(ce.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),ce.each(["radio","checkbox"],function(){ce.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<ce.inArray(ce(e).val(),t)}},le.checkOn||(ce.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Et=ie.location,jt={guid:Date.now()},At=/\?/;ce.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new ie.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||ce.error("Invalid XML: "+(n?ce.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Dt=/^(?:focusinfocus|focusoutblur)$/,Nt=function(e){e.stopPropagation()};ce.extend(ce.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||C],d=ue.call(e,"type")?e.type:e,h=ue.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||C,3!==n.nodeType&&8!==n.nodeType&&!Dt.test(d+ce.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[ce.expando]?e:new ce.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:ce.makeArray(t,[e]),c=ce.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!y(n)){for(s=c.delegateType||d,Dt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||C)&&p.push(a.defaultView||a.parentWindow||ie)}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(_.get(o,"events")||Object.create(null))[e.type]&&_.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&$(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!$(n)||u&&v(n[d])&&!y(n)&&((a=n[u])&&(n[u]=null),ce.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,Nt),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,Nt),ce.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=ce.extend(new ce.Event,n,{type:e,isSimulated:!0});ce.event.trigger(r,null,t)}}),ce.fn.extend({trigger:function(e,t){return this.each(function(){ce.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ce.event.trigger(e,t,n,!0)}});var qt=/\[\]$/,Lt=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function Pt(n,e,r,i){var t;if(Array.isArray(e))ce.each(e,function(e,t){r||qt.test(n)?i(n,t):Pt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==x(e))i(n,e);else for(t in e)Pt(n+"["+t+"]",e[t],r,i)}ce.param=function(e,t){var n,r=[],i=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!ce.isPlainObject(e))ce.each(e,function(){i(this.name,this.value)});else for(n in e)Pt(n,e[n],t,i);return r.join("&")},ce.fn.extend({serialize:function(){return ce.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ce.prop(this,"elements");return e?ce.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ce(this).is(":disabled")&&Ot.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!we.test(e))}).map(function(e,t){var n=ce(this).val();return null==n?null:Array.isArray(n)?ce.map(n,function(e){return{name:t.name,value:e.replace(Lt,"\r\n")}}):{name:t.name,value:n.replace(Lt,"\r\n")}}).get()}});var Mt=/%20/g,Rt=/#.*$/,It=/([?&])_=[^&]*/,Wt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,$t=/^\/\//,Bt={},_t={},zt="*/".concat("*"),Xt=C.createElement("a");function Ut(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(D)||[];if(v(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Vt(t,i,o,a){var s={},u=t===_t;function l(e){var r;return s[e]=!0,ce.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function Gt(e,t){var n,r,i=ce.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&ce.extend(!0,e,r),e}Xt.href=Et.href,ce.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,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":ce.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Gt(Gt(e,ce.ajaxSettings),t):Gt(ce.ajaxSettings,e)},ajaxPrefilter:Ut(Bt),ajaxTransport:Ut(_t),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,v=ce.ajaxSetup({},t),y=v.context||v,m=v.context&&(y.nodeType||y.jquery)?ce(y):ce.event,x=ce.Deferred(),b=ce.Callbacks("once memory"),w=v.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=Wt.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this}};if(x.promise(T),v.url=((e||v.url||Et.href)+"").replace($t,Et.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(D)||[""],null==v.crossDomain){r=C.createElement("a");try{r.href=v.url,r.href=r.href,v.crossDomain=Xt.protocol+"//"+Xt.host!=r.protocol+"//"+r.host}catch(e){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=ce.param(v.data,v.traditional)),Vt(Bt,v,t,T),h)return T;for(i in(g=ce.event&&v.global)&&0==ce.active++&&ce.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Ft.test(v.type),f=v.url.replace(Rt,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(Mt,"+")):(o=v.url.slice(f.length),v.data&&(v.processData||"string"==typeof v.data)&&(f+=(At.test(f)?"&":"?")+v.data,delete v.data),!1===v.cache&&(f=f.replace(It,"$1"),o=(At.test(f)?"&":"?")+"_="+jt.guid+++o),v.url=f+o),v.ifModified&&(ce.lastModified[f]&&T.setRequestHeader("If-Modified-Since",ce.lastModified[f]),ce.etag[f]&&T.setRequestHeader("If-None-Match",ce.etag[f])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&T.setRequestHeader("Content-Type",v.contentType),T.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+zt+"; q=0.01":""):v.accepts["*"]),v.headers)T.setRequestHeader(i,v.headers[i]);if(v.beforeSend&&(!1===v.beforeSend.call(y,T,v)||h))return T.abort();if(u="abort",b.add(v.complete),T.done(v.success),T.fail(v.error),c=Vt(_t,v,t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,v]),h)return T;v.async&&0<v.timeout&&(d=ie.setTimeout(function(){T.abort("timeout")},v.timeout));try{h=!1,c.send(a,l)}catch(e){if(h)throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&&ie.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(v,T,n)),!i&&-1<ce.inArray("script",v.dataTypes)&&ce.inArray("json",v.dataTypes)<0&&(v.converters["text script"]=function(){}),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(ce.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(ce.etag[f]=u)),204===e||"HEAD"===v.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(y,[o,l,T]):x.rejectWith(y,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,v,i?o:a]),b.fireWith(y,[T,l]),g&&(m.trigger("ajaxComplete",[T,v]),--ce.active||ce.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return ce.get(e,t,n,"json")},getScript:function(e,t){return ce.get(e,void 0,t,"script")}}),ce.each(["get","post"],function(e,i){ce[i]=function(e,t,n,r){return v(t)&&(r=r||n,n=t,t=void 0),ce.ajax(ce.extend({url:e,type:i,dataType:r,data:t,success:n},ce.isPlainObject(e)&&e))}}),ce.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),ce._evalUrl=function(e,t,n){return ce.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){ce.globalEval(e,t,n)}})},ce.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=ce(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return v(n)?this.each(function(e){ce(this).wrapInner(n.call(this,e))}):this.each(function(){var e=ce(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=v(t);return this.each(function(e){ce(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){ce(this).replaceWith(this.childNodes)}),this}}),ce.expr.pseudos.hidden=function(e){return!ce.expr.pseudos.visible(e)},ce.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},ce.ajaxSettings.xhr=function(){try{return new ie.XMLHttpRequest}catch(e){}};var Yt={0:200,1223:204},Qt=ce.ajaxSettings.xhr();le.cors=!!Qt&&"withCredentials"in Qt,le.ajax=Qt=!!Qt,ce.ajaxTransport(function(i){var o,a;if(le.cors||Qt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Yt[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&ie.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),ce.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),ce.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ce.globalEval(e),e}}}),ce.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ce.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=ce("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=Tt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&ce.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?ce("<div>").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var en=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;ce.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=ae.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(ae.call(arguments)))}).guid=e.guid=e.guid||ce.guid++,i},ce.holdReady=function(e){e?ce.readyWait++:ce.ready(!0)},ce.isArray=Array.isArray,ce.parseJSON=JSON.parse,ce.nodeName=fe,ce.isFunction=v,ce.isWindow=y,ce.camelCase=F,ce.type=x,ce.now=Date.now,ce.isNumeric=function(e){var t=ce.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},ce.trim=function(e){return null==e?"":(e+"").replace(en,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return ce});var tn=ie.jQuery,nn=ie.$;return ce.noConflict=function(e){return ie.$===ce&&(ie.$=nn),e&&ie.jQuery===ce&&(ie.jQuery=tn),ce},"undefined"==typeof e&&(ie.jQuery=ie.$=ce),ce});
2jQuery.noConflict();(function(){!function(f,k){if(!f.AllianceReseaux){f.AllianceReseaux={};function p(e,n){return n.toUpperCase()}function R(){g.addEventListener?(g.removeEventListener("DOMContentLoaded",a,!1),f.removeEventListener("load",a,!1)):(g.detachEvent("onreadystatechange",a),f.detachEvent("onload",a))}var _,z,H,x,G,C,$,F,q,U,l,w,A,n,S,T,o,J,Q,j=function(e){for(var n=e[0],t=0;t<e.length-1;t++)e[t]=e[t+1];return 0<e.length&&e.length--,n},h=typeof k,V=f.location,g=f.document,W=g.documentElement,K=f.jQuery,X=f.$,Y={},Z=[],t="1.10.2",ee=Z.concat,ne=Z.push,u=Z.slice,te=Z.indexOf,oe=Y.toString,ae=Y.hasOwnProperty,ie=t.trim,P=function(e,n){return new P.fn.init(e,n,z)},re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,M=/\S+/g,se=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ce=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,le=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ue=/^[\],:{}\s]*$/,me=/(?:^|:|,)(?:\s*\[)+/g,de=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,pe=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,fe=/^-ms-/,he
2=/-([\da-z])/gi,a=function(e){!g.addEventListener&&"load"!==e.type&&"complete"!==g.readyState||(R(),P.ready())},ge=(P.fn=P.prototype={jquery:t,constructor:P,init:function(e,n,t){var o,a;if(e){if("string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):P.isFunction(e)?t.ready(e):(e.selector!==k&&(this.selector=e.selector,this.context=e.context),P.makeArray(e,this));if(!(o="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&3<=e.length?[null,e,null]:ce.exec(e))||!o[1]&&n)return(!n||n.jquery?n||t:this.constructor(n)).find(e);if(o[1]){if(n=n instanceof P?n[0]:n,P.merge(this,P.parseHTML(o[1],n&&n.nodeType?n.ownerDocument||n:g,!0)),le.test(o[1])&&P.isPlainObject(n))for(o in n)P.isFunction(this[o])?this[o](n[o]):this.attr(o,n[o])}else{if((a=g.getElementById(o[2]))&&a.parentNode){if(a.id!==o[2])return t.find(e);this.length=1,this[0]=a}this.context=g,this.selector=e}}return this},selector:"",length:0,toArray:function(){return u.call(this)},get:function(e){return null==e?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e){e=P.merge(this.constructor(),e);return e.prevObject=this,e.context=this.context,e},each:function(e,n){return P.each(this,e,n)},ready:function(e){return P.ready.promise().done(e),this},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var n=this.length,e=+e+(e<0?n:0);return this.pushStack(0<=e&&e<n?[this[e]]:[])},map:function(t){return this.pushStack(P.map(this,function(e,n){return t.call(e,n,e)}))},end:function(){return this.prevObject||this.constructor(null)},push:ne,sort:[].sort,splice:[].splice},P.fn.init.prototype=P.fn,P.extend=P.fn.extend=function(){var e,n,t,o,a,i=arguments[0]||{},r=1,s=arguments.length,c=!1;for("boolean"==typeof i&&(c=i,i=arguments[1]||{},r=2),"object"==typeof i||P.isFunction(i)||(i={}),s===r&&(i=this,--r);r<s;r++)if(null!=(o=arguments[r]))for(t in o)a=i[t],n=o[t],i!==n&&(c&&n&&(P.isPlainObject(n)||(e=P.isArray(n)))?(a=e?(e=!1,a&&P.isArray(a)?a:[]):a&&P.isPlainObject(a)?a:{},i[t]=P.extend(c,a,n)):n!==k&&(i[t]=n));return i},P.extend({expando:"jQuery"+(t+Math.random()).replace(/\D/g,""),noConflict:function(e){return f.$===P&&(f.$=X),e&&f.jQuery===P&&(f.jQuery=K),P},isReady:!1,readyWait:1,holdReady:function(e){e?P.readyWait++:P.ready(!0)},ready:function(e){if(!0===e?!--P.readyWait:!P.isReady){if(!g.body)return setTimeout(P.ready);(P.isReady=!0)!==e&&0<--P.readyWait||(_.resolveWith(g,[P]),P.fn.trigger&&P(g).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===P.type(e)},isArray:Array.isArray||function(e){return"array"===P.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?Y[oe.call(e)]||"object":typeof e},isPlainObject:function(e){if(!e||"object"!==P.type(e)||e.nodeType||P.isWindow(e))return!1;try{if(e.constructor&&!ae.call(e,"constructor")&&!ae.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}if(P.support.ownLast)for(var n in e)return ae.call(e,n);for(n in e);return n===k||ae.call(e,n)},isEmptyObject:function(e){for(var n in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,n,t){if(!e||"string"!=typeof e)return null;"boolean"==typeof n&&(t=n,n=!1),n=n||g;var o=le.exec(e),t=!t&&[];return o?[n.createElement(o[1])]:(o=P.buildFragment([e],n,t),t&&P(t).remove(),P.merge([],o.childNodes))},parseJSON:function(e){return f.JSON&&f.JSON.parse?f.JSON.parse(e):null===e?e:"string"==typeof e&&(e=P.trim(e))&&ue.test(e.replace(de,"@").replace(pe,"]").replace(me,""))?Function("return "+e)():(P.error("Invalid JSON: "+e),k)},parseXML:function(e){var n;if(!e||"string"!=typeof e)return null;try{f.DOMParser?n=(new DOMParser).parseFromString(e,"text/xml"):((n=new ActiveXObject("Microsoft.XMLDOM")).async="false",n.loadXML(e))}catch(e){n=k}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||P.error("Invalid XML: "+e),n},noop:function(){},globalEval:function(e){e&&P.trim(e)&&(f.execScript||function(e){f.eval.call(f,e)})(e)}
2,camelCase:function(e){return e.replace(fe,"ms-").replace(he,p)},nodeName:function(e,n){return e.nodeName&&e.nodeName.toLowerCase()===n.toLowerCase()},each:function(e,n,t){var o,a=0,i=e.length,r=Ot(e);if(t){if(r)for(;a<i&&!1!==(o=n.apply(e[a],t));a++);else for(a in e)if(o=n.apply(e[a],t),!1===o)break}else if(r)for(;a<i&&!1!==(o=n.call(e[a],a,e[a]));a++);else for(a in e)if(o=n.call(e[a],a,e[a]),!1===o)break;return e},trim:ie&&!ie.call("\ufeff ")?function(e){return null==e?"":ie.call(e)}:function(e){return null==e?"":(e+"").replace(se,"")},makeArray:function(e,n){n=n||[];return null!=e&&(Ot(Object(e))?P.merge(n,"string"==typeof e?[e]:e):ne.call(n,e)),n},inArray:function(e,n,t){var o;if(n){if(te)return te.call(n,e,t);for(o=n.length,t=t?t<0?Math.max(0,o+t):t:0;t<o;t++)if(t in n&&n[t]===e)return t}return-1},merge:function(e,n){var t=n.length,o=e.length,a=0;if("number"==typeof t)for(;a<t;a++)e[o++]=n[a];else for(;n[a]!==k;)e[o++]=n[a++];return e.length=o,e},grep:function(e,n,t){var o=[],a=0,i=e.length;for(t=!!t;a<i;a++)t!==!!n(e[a],a)&&o.push(e[a]);return o},map:function(e,n,t){var o,a=0,i=e.length,r=[];if(Ot(e))for(;a<i;a++)null!=(o=n(e[a],a,t))&&(r[r.length]=o);else for(a in e)o=n(e[a],a,t),null!=o&&(r[r.length]=o);return ee.apply([],r)},guid:1,proxy:function(e,n){var t,o;return"string"==typeof n&&(o=e[n],n=e,e=o),P.isFunction(e)?(t=u.call(arguments,2),(o=function(){return e.apply(n||this,t.concat(u.call(arguments)))}).guid=e.guid=e.guid||P.guid++,o):k},access:function(e,n,t,o,a,i,r){var s=0,c=e.length,l=null==t;if("object"===P.type(t))for(s in a=!0,t)P.access(e,n,s,t[s],!0,i,r);else if(o!==k&&(a=!0,P.isFunction(o)||(r=!0),n=l?r?(n.call(e,o),null):(l=n,function(e,n,t){return l.call(P(e),t)}):n))for(;s<c;s++)n(e[s],t,r?o:o.call(e[s],s,n(e[s],t)));return a?e:l?n.call(e):c?n(e[0],t):i},now:function(){return(new Date).getTime()},swap:function(e,n,t,o){var a,i={};for(a in n)i[a]=e.style[a],e.style[a]=n[a];for(a in t=t.apply(e,o||[]),n)e.style[a]=i[a];return t}}),P.ready.promise=function(e){if(!_)if(_=P.Deferred(),"complete"===g.readyState)setTimeout(P.ready);else if(g.addEventListener)g.addEventListener("DOMContentLoaded",a,!1),f.addEventListener("load",a,!1);else{g.attachEvent("onreadystatechange",a),f.attachEvent("onload",a);var t=!1;try{t=null==f.frameElement&&g.documentElement}catch(e){}t&&t.doScroll&&function n(){if(!P.isReady){try{t.doScroll("left")}catch(e){return setTimeout(n,50)}R(),P.ready()}}()}return _.promise(e)},P.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,n){Y["[object "+n+"]"]=n.toLowerCase()}),z=P(g),f),i=void 0,N="sizzle"+-new Date,I=ge.document,O=0,ve=0,ye=Je(),be=Je(),xe=Je(),ke=!1,Ce=function(e,n){return e===n&&(ke=!0),0},we=typeof i,Ae={}.hasOwnProperty,t=[],Se=t.pop,Te=t.push,D=t.push,je=t.slice,y=t.indexOf||function(e){for(var n=0,t=this.length;n<t;n++)if(this[n]===e)return n;return-1},Pe="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",r="[\\x20\\t\\r\\n\\f]",Me="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",Ne=Me.replace("w","w#"),Ie="\\["+r+"*("+Me+")"+r+"*(?:([*^$|!~]?=)"+r+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+Ne+")|)|)"+r+"*\\]",Oe=":("+Me+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+Ie.replace(3,8)+")*)|.*)\\)|)",De=RegExp("^"+r+"+|((?:^|[^\\\\])(?:\\\\.)*)"+r+"+$","g"),Be=RegExp("^"+r+"*,"+r+"*"),Le=RegExp("^"+r+"*([>+~]|"+r+")"+r+"*"),Ee=RegExp(r+"*[+~]"),Re=RegExp("="+r+"*([^\\]'\"]*)"+r+"*\\]","g"),_e=RegExp(Oe),ze=RegExp("^"+Ne+"$"),He={ID:RegExp("^#("+Me+")"),CLASS:RegExp("^\\.("+Me+")"),TAG:RegExp("^("+Me.replace("w","w*")+")"),ATTR:RegExp("^"+Ie),PSEUDO:RegExp("^"+Oe),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+r+"*(even|odd|(([+-]|)(\\d*)n|)"+r+"*(?:([+-]|)"+r+"*(\\d+)|))"+r+"*\\)|)","i"),bool:RegExp("^(?:"+Pe+")$","i"),needsContext:RegExp("^"+r+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+r+"*((?:-\\d)?\\d*)"+r+"*\\)|)(?=[^-]|$)","i")},Ge=/^[^{]+\{\s*\[native \w/,$e=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Fe=/^(?:input|select|textarea|button)$/i,qe=/^h\d$/i,Ue=/'|\\/g,B=RegExp("\\\\([\\da-f]{1,6}"+r+"?|("+r+")|.)","ig"),L=function(e,n,t){var o="0x"+n-65536;return o!=o||t?n:o<0?String.fromCharCode(65536+o):String.fromCharCode(55296|o>>10,56320|1023&o)};try{D.apply(t=je.call(I.childNodes),I.childNodes),t[I.childNodes.length].nodeType}catch(e){D={apply:t.length?function(e,n){Te.apply(e,je.call(n))}:function(e,n){for(var t=e.length,o=0;e[t++]=n[o++];);e.length=t-1}}}function E(e,n,t,o){var a,i,r,s,c,l;if((n?n.ownerDocument||n:I)!==A&&w(n),t=t||[],!e||"string"!=typeof e)return t;if(1!==(b=(n=n||A).nodeType)&&9!==b)return[];if(S&&!o){if(c=$e.exec(e))if(l=c[1]){if(9===b){if(!(r=n.getElementById(l))||!r.parentNode)return t;if(r.id===l)return t.push(r),t}else if(n.ownerDocument&&(r=n.ownerDocument.getElementById(l))&&Q(n,r)&&r.id===l)return t.push(r),t}else{if(c[2])return D.apply(t,n.getElementsByTagName(e)),t;if((l=c[3])&&x.getElementsByClassName&&n.getElementsByClassName)return D.apply(t,n.getElementsByClassName(l)),t}if(x.qsa&&(!T||!T.test(e))){if(s=r=N,c=n,l=9===b&&e,1===b&&"object"!==n.nodeName.toLowerCase()){for(i=Ke(e),(r=n.getAttribute("id"))?s=r.replace(Ue,"\\$&"):n.setAttribute("id",s),s="[id='"+s+"'] ",a=i.length;a--;)i[a]=s+Xe(i[a]);c=Ee.test(e)&&n.parentNode||n,l=i.join(",")}if(l)try{return D.apply(t,c.querySelectorAll(l)),t}catch(e){}finally{r||n.removeAttribute("id")}}}var u,m,d,p,f,h=e.replace(De,"$1"),g=n,v=t,y=o,b=Ke(h);if(!y&&1===b.length){if(2<(m=b[0]=b[0].slice(0)).length&&"ID"===(d=m[0]).type&&x.getById&&9===g.nodeType&&S&&C.relative[m[1].type]){if(!(g=(C.find.ID(d.matches[0].replace(B,L),g)||[])[0]))return v;h=h.slice(j(m).value.length)}for(u=He.needsContext.test(h)?0:m.length;u--&&(d=m[u],!C.relative[p=d.type]);)if((f=C.find[p])&&(y=f(d.matches[0].replace(B,L),Ee.test(m[0].type)&&g.parentNode||g))){if(m.splice(u,1),h=y.length&&Xe(m))break;return D.apply(v,y),v}}return q(h,b)(y,g,!S,v,Ee.test(h)),v}function Je(){var t=[];function o(e,n){return t.push(e+=" ")>C.cacheLength&&delete o[j(t)],o[e]=n}return o}function c(e){return e[N]=!0,e}function s(e){var n=A.createElement("div");try{return!!e(n)}catch(e){return!1}finally{n.parentNode&&n.parentNode.removeChild(n)}}function Qe(e,n){for(var t=e.split("|"),o=e.length;o--;)C.attrHandle[t[o]]=n}function Ve(e,n){var t=n&&e,o=t&&1===e.nodeType&&1===n.nodeType&&(~n.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(o)return o;if(t)for(;t=t.nextSibling;)if(t===n)return-1;return e?1:-1}function e(r){return c(function(i){return i=+i,c(function(e,n){for(var t,o=r([],e.length,i),a=o.length;a--;)e[t=o[a]]&&(e[t]=!(n[t]=e[t]))})})}for(H in F=E.isXML=function(e){e=e&&(e.ownerDocument||e).documentElement;return!!e&&"HTML"!==e.nodeName},x=E.support={},w=E.setDocument=function(e){var c=e?e.ownerDocument||e:I,e=c.defaultView;return c!==A&&9===c.nodeType&&c.documentElement?(n=(A=c).documentElement,S=!F(c),e&&e.attachEvent&&e!==e.top&&e.attachEvent("onbeforeunload",function(){w()}),x.attributes=s(function(e){return e.className="i",!e.getAttribute("className")}),x.getElementsByTagName=s(function(e){return e.appendChild(c.createComment("")),!e.getElementsByTagName("*").length}),x.getElementsByClassName=s(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),x.getById=s(function(e){return n.appendChild(e).id=N,!c.getElementsByName||!c.getElementsByName(N).length}),x.getById?(C.find.ID=function(e,n){if(typeof n.getElementById!=we&&S)return(n=n.getElementById(e))&&n.parentNode?[n]:[]},C.filter.ID=function(e){var n=e.replace(B,L);return function(e){return e.getAttribute("id")===n}}):(delete C.find.ID,C.filter.ID=function(e){var n=e.replace(B,L);return function(e){e=typeof e.getAttributeNode!=we&&e.getAttributeNode("id");return e&&e.value===n}}),C.find.TAG=x.getElementsByTagName?function(e,n){return typeof n.getElementsByTagName!=we?n.getElementsByTagName(e):i}:function(e,n){var t,o=[],a=0,i=n.getElementsByTagName(e);
vendor: 6,085 bytes, line 2
2if("*"!==e)return i;for(;t=i[a++];)1===t.nodeType&&o.push(t);return o},C.find.CLASS=x.getElementsByClassName&&function(e,n){return typeof n.getElementsByClassName!=we&&S?n.getElementsByClassName(e):i},o=[],T=[],(x.qsa=Ge.test(c.querySelectorAll))&&(s(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||T.push("\\["+r+"*(?:value|"+Pe+")"),e.querySelectorAll(":checked").length||T.push(":checked")}),s(function(e){var n=c.createElement("input");n.setAttribute("type","hidden"),e.appendChild(n).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&T.push("[*^$]="+r+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||T.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),T.push(",.*:")})),(x.matchesSelector=Ge.test(J=n.webkitMatchesSelector||n.mozMatchesSelector||n.oMatchesSelector||n.msMatchesSelector))&&s(function(e){x.disconnectedMatch=J.call(e,"div"),J.call(e,"[s!='']:x"),o.push("!=",Oe)}),T=T.length&&RegExp(T.join("|")),o=o.length&&RegExp(o.join("|")),Q=Ge.test(n.contains)||n.compareDocumentPosition?function(e,n){var t=9===e.nodeType?e.documentElement:e,n=n&&n.parentNode;return e===n||!(!n||1!==n.nodeType||!(t.contains?t.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,n){if(n)for(;n=n.parentNode;)if(n===e)return!0;return!1},Ce=n.compareDocumentPosition?function(e,n){var t;return e===n?(ke=!0,0):(t=n.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(n))?1&t||!x.sortDetached&&n.compareDocumentPosition(e)===t?e===c||Q(I,e)?-1:n===c||Q(I,n)?1:l?y.call(l,e)-y.call(l,n):0:4&t?-1:1:e.compareDocumentPosition?-1:1}:function(e,n){var t,o=0,a=e.parentNode,i=n.parentNode,r=[e],s=[n];if(e===n)return ke=!0,0;if(!a||!i)return e===c?-1:n===c?1:a?-1:i?1:l?y.call(l,e)-y.call(l,n):0;if(a===i)return Ve(e,n);for(t=e;t=t.parentNode;)r.unshift(t);for(t=n;t=t.parentNode;)s.unshift(t);for(;r[o]===s[o];)o++;return o?Ve(r[o],s[o]):r[o]===I?-1:s[o]===I?1:0},c):A},E.matches=function(e,n){return E(e,null,null,n)},E.matchesSelector=function(e,n){if((e.ownerDocument||e)!==A&&w(e),n=n.replace(Re,"='$1']"),!(!x.matchesSelector||!S||o&&o.test(n)||T&&T.test(n)))try{var t=J.call(e,n);if(t||x.disconnectedMatch||e.document&&11!==e.document.nodeType)return t}catch(e){}return 0<E(n,A,null,[e]).length},E.contains=function(e,n){return(e.ownerDocument||e)!==A&&w(e),Q(e,n)},E.attr=function(e,n){(e.ownerDocument||e)!==A&&w(e);var t=C.attrHandle[n.toLowerCase()],t=t&&Ae.call(C.attrHandle,n.toLowerCase())?t(e,n,!S):i;return t===i?x.attributes||!S?e.getAttribute(n):(t=e.getAttributeNode(n))&&t.specified?t.value:null:t},E.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},E.uniqueSort=function(e){var n,t=[],o=0,a=0;if(ke=!x.detectDuplicates,l=!x.sortStable&&e.slice(0),e.sort(Ce),ke){for(;n=e[a++];)n===e[a]&&(o=t.push(a));for(;o--;)e.splice(t[o],1)}return e},$=E.getText=function(e){var n,t="",o=0,a=e.nodeType;if(a){if(1===a||9===a||11===a){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)t+=$(e)}else if(3===a||4===a)return e.nodeValue}else for(;n=e[o];o++)t+=$(n);return t},(C=E.selectors={cacheLength:50,createPseudo:c,match:He,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(B,L),e[3]=(e[4]||e[5]||"").replace(B,L),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||E.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&E.error(e[0]),e},PSEUDO:function(e){var n,t=!e[5]&&e[2];return He.CHILD.test(e[0])?null:(e[3]&&e[4]!==i?e[2]=e[4]:t&&_e.test(t)&&(n=(n=Ke(t,!0))&&t.indexOf(")",t.length-n)-t.length)&&(e[0]=e[0].slice(0,n),e[2]=t.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var n=e.replace(B,L).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===n}},CLASS:function(e){var n=ye[e+" "];return n||(n=RegExp("(^|"+r+")"+e+"("+r+"|$)"))&&ye(e,function(e){return n.test("string"==typeof e.className&&e.className||typeof e.getAttribute!=we&&e.getAttribute("class")||"")})},ATTR:function(n,t,o){return function(e){e=E.attr(e,n);return null==e?"!="===t:!t||(e+="","="===t?e===o:"!="===t?e!==o:"^="===t?o&&0===e.indexOf(o):"*="===t?o&&-1<e.indexOf(o):"$="===t?o&&e.slice(-o.length)===o:"~="===t?-1<(" "+e+" ").indexOf(o):"|="===t&&(e===o||e.slice(0,o.length+1)===o+"-"))}},CHILD:function(p,e,n,f,h){var g="nth"!==p.slice(0,3),v="last"!==p.slice(-4),y="of-type"===e;return 1===f&&0===h?function(e){return!!e.parentNode}:function(e,n,t){var o,a,i,r,s,c,l=g!=v?"nextSibling":"previousSibling",u=e.parentNode,m=y&&e.nodeName.toLowerCase(),d=!t&&!y;if(u){if(g){for(;l;){for(i=e;i=i[l];)if(y?i.nodeName.toLowerCase()===m:1===i.nodeType)return!1;c=l="only"===p&&!c&&"nextSibling"}return!0}if(c=[v?u.firstChild:u.lastChild],v&&d){for(s=(o=(a=u[N]||(u[N]={}))[p]||[])[0]===O&&o[1],r=o[0]===O&&o[2],i=s&&u.childNodes[s];i=++s&&i&&i[l]||(r=s=0,c.pop());)if(1===i.nodeType&&++r&&i===e){a[p]=[O,s,r];break}}else if(d&&(o=(e[N]||(e[N]={}))[p])&&o[0]===O)r=o[1];else for(;(i=++s&&i&&i[l]||(r=s=0,c.pop()))&&((y?i.nodeName.toLowerCase()!==m:1!==i.nodeType)||!++r||(d&&((i[N]||(i[N]={}))[p]=[O,r]),i!==e)););return(r-=h)===f||0==r%f&&0<=r/f}}},PSEUDO:function(e,i){var n,r=C.pseudos[e]||C.setFilters[e.toLowerCase()]||E.error("unsupported pseudo: "+e);return r[N]?r(i):1<r.length?(n=[e,e,"",i],C.setFilters.hasOwnProperty(e.toLowerCase())?c(function(e,n){for(var t,o=r(e,i),a=o.length;a--;)e[t=y.call(e,o[a])]=!(n[t]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:c(function(e){var o=[],a=[],s=q(e.replace(De,"$1"));return s[N]?c(function(e,n,t,o){for(var a,i=s(e,null,o,[]),r=e.length;r--;)(a=i[r])&&(e[r]=!(n[r]=a))}):function(e,n,t){return o[0]=e,s(o,null,t,a),!a.pop()}}),has:c(function(n){return function(e){return 0<E(n,e).length}}
2),contains:c(function(n){return function(e){return-1<(e.textContent||e.innerText||$(e)).indexOf(n)}}),lang:c(function(t){return ze.test(t||"")||E.error("unsupported lang: "+t),t=t.replace(B,L).toLowerCase(),function(e){var n;do{if(n=S?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=ge.location&&ge.location.hash;return n&&n.slice(1)===e.id},root:function(e){return e===n},focus:function(e){return e===A.activeElement&&(!A.hasFocus||A.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var n=e.nodeName.toLowerCase();return"input"===n&&!!e.checked||"option"===n&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if("@"<e.nodeName||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!C.pseudos.empty(e)},header:function(e){return qe.test(e.nodeName)},input:function(e){return Fe.test(e.nodeName)},button:function(e){var n=e.nodeName.toLowerCase();return"input"===n&&"button"===e.type||"button"===n},text:function(e){var n;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(n=e.getAttribute("type"))||n.toLowerCase()===e.type)},first:e(function(){return[0]}),last:e(function(e,n){return[n-1]}),eq:e(function(e,n,t){return[t<0?t+n:t]}),even:e(function(e,n){for(var t=0;t<n;t+=2)e.push(t);return e}),odd:e(function(e,n){for(var t=1;t<n;t+=2)e.push(t);return e}),lt:e(function(e,n,t){for(var o=t<0?t+n:t;0<=--o;)e.push(o);return e}),gt:e(function(e,n,t){for(var o=t<0?t+n:t;n>++o;)e.push(o);return e})}}).pseudos.nth=C.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})C.pseudos[H]=function(n){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===n}}(H);for(H in{submit:!0,reset:!0})C.pseudos[H]=function(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}(H);function We(){}function Ke(e,n){var t,o,a,i,r,s,c,l=be[e+" "];if(l)return n?0:l.slice(0);for(r=e,s=[],c=C.preFilter;r;){for(i in t&&!(o=Be.exec(r))||(o&&(r=r.slice(o[0].length)||r),s.push(a=[])),t=!1,(o=Le.exec(r))&&(t=j(o),a.push({value:t,type:o[0].replace(De," ")}),r=r.slice(t.length)),C.filter)!(o=He[i].exec(r))||c[i]&&!(o=c[i](o))||(t=j(o),a.push({value:t,type:i,matches:o}),r=r.slice(t.length));if(!t)break}return n?r.length:r?E.error(e):be(e,s).slice(0)}function Xe(e){for(var n=0,t=e.length,o="";n<t;n++)o+=e[n].value;return o}function Ye(s,e,n){var c=e.dir,l=n&&"parentNode"===c,u=ve++;return e.first?function(e,n,t){for(;e=e[c];)if(1===e.nodeType||l)return s(e,n,t)}:function(e,n,t){var o,a,i,r=O+" "+u;if(t){for(;e=e[c];)if((1===e.nodeType||l)&&s(e,n,t))return!0}else for(;e=e[c];)if(1===e.nodeType||l)if((a=(i=e[N]||(e[N]={}))[c])&&a[0]===r){if(!0===(o=a[1])||o===G)return!0===o}else if((a=i[c]=[r])[1]=s(e,n,t)||G,!0===a[1])return!0}}function Ze(a){return 1<a.length?function(e,n,t){for(var o=a.length;o--;)if(!a[o](e,n,t))return!1;return!0}:a[0]}function en(e,n,t,o,a){for(var i,r=[],s=0,c=e.length,l=null!=n;s<c;s++)(i=e[s])&&(!t||t(i,o,a))&&(r.push(i),l)&&n.push(s);return r}function nn(p,f,h,g,v,e){return g&&!g[N]&&(g=nn(g)),v&&!v[N]&&(v=nn(v,e)),c(function(e,n,t,o){var a,i,r,s=[],c=[],l=n.length,u=e||function(e,n,t){for(var o=0,a=n.length;o<a;o++)E(e,n[o],t);return t}(f||"*",t.nodeType?[t]:t,[]),m=!p||!e&&f?u:en(u,s,p,t,o),d=h?v||(e?p:l||g)?[]:n:m;if(h&&h(m,d,t,o),g)for(a=en(d,c),g(a,[],t,o),i=a.length;i--;)(r=a[i])&&(d[c[i]]=!(m[c[i]]=r));if(e){if(v||p){if(v){for(a=[],i=d.length;i--;)(r=d[i])&&a.push(m[i]=r);v(null,d=[],a,o)}for(i=d.length;i--;)(r=d[i])&&-1<(a=v?y.call(e,r):s[i])&&(e[a]=!(n[a]=r))}}else d=en(d===n?d.splice(l,d.length):d),v?v(null,n,d,o):D.apply(n,d)})}function tn(g,v){function e(e,n,t,o,a){var i,r,s,c=[],l=0,u="0",m=e&&[],d=null!=a,p=U,f=e||x&&C.find.TAG("*",a&&n.parentNode||n),h=O+=null==p?1:Math.random()||.1;for(d&&(U=n!==A&&n,G=y);null!=(i=f[u]);u++){if(x&&i){for(r=0;s=g[r++];)if(s(i,n,t)){o.push(i);break}d&&(O=h,G=++y)}b&&((i=!s&&i)&&l--,e)&&m.push(i)}if(l+=u,b&&u!==l){for(r=0;s=v[r++];)s(m,c,n,t);
2if(e){if(0<l)for(;u--;)m[u]||c[u]||(c[u]=Se.call(o));c=en(c)}D.apply(o,c),d&&!e&&0<c.length&&1<l+v.length&&E.uniqueSort(o)}return d&&(O=h,U=p),m}var y=0,b=0<v.length,x=0<g.length;return b?c(e):e}We.prototype=C.filters=C.pseudos,C.setFilters=new We,q=E.compile=function(e,n){var t,o=[],a=[],i=xe[e+" "];if(!i){for(t=(n=n||Ke(e)).length;t--;)((i=function e(n){for(var o,t,a,i=n.length,r=C.relative[n[0].type],s=r||C.relative[" "],c=r?1:0,l=Ye(function(e){return e===o},s,!0),u=Ye(function(e){return-1<y.call(o,e)},s,!0),m=[function(e,n,t){return!r&&(t||n!==U)||((o=n).nodeType?l:u)(e,n,t)}];c<i;c++)if(t=C.relative[n[c].type])m=[Ye(Ze(m),t)];else{if((t=C.filter[n[c].type].apply(null,n[c].matches))[N]){for(a=++c;a<i&&!C.relative[n[a].type];a++);return nn(1<c&&Ze(m),1<c&&Xe(n.slice(0,c-1).concat({value:" "===n[c-2].type?"*":""})).replace(De,"$1"),t,c<a&&e(n.slice(c,a)),a<i&&e(n=n.slice(a)),a<i&&Xe(n))}m.push(t)}return Ze(m)}(n[t]))[N]?o:a).push(i);i=xe(e,tn(a,o))}return i},x.sortStable=N.split("").sort(Ce).join("")===N,x.detectDuplicates=ke,w(),x.sortDetached=s(function(e){return 1&e.compareDocumentPosition(A.createElement("div"))}),s(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||Qe("type|href|height|width",function(e,n,t){return t?i:e.getAttribute(n,"type"===n.toLowerCase()?1:2)}),x.attributes&&s(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||Qe("value",function(e,n,t){return t||"input"!==e.nodeName.toLowerCase()?i:e.defaultValue}),s(function(e){return null==e.getAttribute("disabled")})||Qe(Pe,function(e,n,t){return t?i:(t=e.getAttributeNode(n))&&t.specified?t.value:!0===e[n]?n.toLowerCase():null}),P.find=E,P.expr=E.selectors,P.expr[":"]=P.expr.pseudos,P.unique=E.uniqueSort,P.text=E.getText,P.isXMLDoc=E.isXML,P.contains=E.contains;var on={},an=(P.Callbacks=function(a){var e,t;a="string"==typeof a?on[a]||(t=on[e=a]={},P.each(e.match(M)||[],function(e,n){t[n]=!0}),t):P.extend({},a);function o(e){for(n=a.memory&&e,r=!0,c=l||0,l=0,s=u.length,i=!0;u&&c<s;c++)if(!1===u[c].apply(e[0],e[1])&&a.stopOnFalse){n=!1;break}i=!1,u&&(m?m.length&&o(j(m)):n?u=[]:d.disable())}var i,n,r,s,c,l,u=[],m=!a.once&&[],d={add:function(){var e;return u&&(e=u.length,function o(e){P.each(e,function(e,n){var t=P.type(n);"function"===t?a.unique&&d.has(n)||u.push(n):n&&n.length&&"string"!==t&&o(n)})}(arguments),i?s=u.length:n&&(l=e,o(n))),this},remove:function(){return u&&P.each(arguments,function(e,n){for(var t;-1<(t=P.inArray(n,u,t));)u.splice(t,1),i&&(t<=s&&s--,t<=c)&&c--}),this},has:function(e){return e?-1<P.inArray(e,u):!(!u||!u.length)},empty:function(){return u=[],s=0,this},disable:function(){return u=m=n=k,this},disabled:function(){return!u},lock:function(){return m=k,n||d.disable(),this},locked:function(){return!m},fireWith:function(e,n){return!u||r&&!m||(n=[e,(n=n||[]).slice?n.slice():n],i?m.push(n):o(n)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!r}};return d},P.extend({Deferred:function(e){var r=[["resolve","done",P.Callbacks("once memory"),"resolved"],["reject","fail",P.Callbacks("once memory"),"rejected"],["notify","progress",P.Callbacks("memory")]],a="pending",s={state:function(){return a},always:function(){return c.done(arguments).fail(arguments),this},then:function(){var i=arguments;return P.Deferred(function(a){P.each(r,function(e,n){var t=n[0],o=P.isFunction(i[e])&&i[e];c[n[1]](function(){var e=o&&o.apply(this,arguments);e&&P.isFunction(e.promise)?e.promise().done(a.resolve).fail(a.reject).progress(a.notify):a[t+"With"](this===s?a.promise():this,o?[e]:arguments)})}),i=null}).promise()},promise:function(e){return null!=e?P.extend(e,s):s}},c={};return s.pipe=s.then,P.each(r,function(e,n){var t=n[2],o=n[3];s[n[1]]=t.add,o&&t.add(function(){a=o},r[1^e][2].disable,r[2][2].lock),c[n[0]]=function(){return c[n[0]+"With"](this===c?s:this,arguments),this},c[n[0]+"With"]=t.fireWith}),s.promise(c),e&&e.call(c,c),c},when:function(e){function n(n,t,o){return function(e){t[n]=this,o[n]=1<arguments.length?u.call(arguments):e,o===a?l.notifyWith(t,o):--c||l.resolveWith(t,o)}}var a,t,o,i=0,r=u.call(arguments),s=r.length,c=1!==s||e&&P.isFunction(e.promise)?s:0,l=1===c?e:P.Deferred();if(1<s)for(a=Array(s),t=Array(s),o=Array(s);i<s;i++)r[i]&&P.isFunction(r[i].promise)?r[i].promise().done(n(i,o,r)).fail(l.reject).progress(n(i,t,a)):--c;return c||l.resolveWith(o,r),l.promise()}}),P.support=function(a){var e,n,t,o,i,r,s,c=g.createElement("div");if(c.setAttribute("className","t"),c.innerHTML=" <link/><table></table><a href='/a'>a</a>
2<input type='checkbox'/>",t=c.getElementsByTagName("*")||[],(e=c.getElementsByTagName("a")[0])&&e.style&&t.length){o=(t=g.createElement("select")).appendChild(g.createElement("option")),n=c.getElementsByTagName("input")[0],e.style.cssText="top:1px;float:left;opacity:.5",a.getSetAttribute="t"!==c.className,a.leadingWhitespace=3===c.firstChild.nodeType,a.tbody=!c.getElementsByTagName("tbody").length,a.htmlSerialize=!!c.getElementsByTagName("link").length,a.style=/top/.test(e.getAttribute("style")),a.hrefNormalized="/a"===e.getAttribute("href"),a.opacity=/^0.5/.test(e.style.opacity),a.cssFloat=!!e.style.cssFloat,a.checkOn=!!n.value,a.optSelected=o.selected,a.enctype=!!g.createElement("form").enctype,a.html5Clone="<:nav></:nav>"!==g.createElement("nav").cloneNode(!0).outerHTML,a.inlineBlockNeedsLayout=!1,a.shrinkWrapBlocks=!1,a.pixelPosition=!1,a.deleteExpando=!0,a.noCloneEvent=!0,a.reliableMarginRight=!0,n.checked=a.boxSizingReliable=!0,a.noCloneChecked=n.cloneNode(!0).checked,t.disabled=!0,a.optDisabled=!o.disabled;try{delete c.test}catch(e){a.deleteExpando=!1}for(s in(n=g.createElement("input")).setAttribute("value",""),a.input=""===n.getAttribute("value"),n.value="t",n.setAttribute("type","radio"),a.radioValue="t"===n.value,n.setAttribute("checked","t"),n.setAttribute("name","t"),(o=g.createDocumentFragment()).appendChild(n),a.appendChecked=n.checked,a.checkClone=o.cloneNode(!0).cloneNode(!0).lastChild.checked,c.attachEvent&&(c.attachEvent("onclick",function(){a.noCloneEvent=!1}),c.cloneNode(!0).click()),{submit:!0,change:!0,focusin:!0})c.setAttribute(i="on"+s,"t"),a[s+"Bubbles"]=i in f||!1===c.attributes[i].expando;for(s in c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",a.clearCloneStyle="content-box"===c.style.backgroundClip,P(a))break;a.ownLast="0"!==s,P(function(){var e,n,t="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",o=g.getElementsByTagName("body")[0];o&&((e=g.createElement("div")).style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",o.appendChild(e).appendChild(c),c.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(n=c.getElementsByTagName("td"))[0].style.cssText="padding:0;margin:0;border:0;display:none",r=0===n[0].offsetHeight,n[0].style.display="",n[1].style.display="none",a.reliableHiddenOffsets=r&&0===n[0].offsetHeight,c.innerHTML="",c.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",P.swap(o,null!=o.style.zoom?{zoom:1}:{},function(){a.boxSizing=4===c.offsetWidth}),f.getComputedStyle&&(a.pixelPosition="1%"!==(f.getComputedStyle(c,null)||{}).top,a.boxSizingReliable="4px"===(f.getComputedStyle(c,null)||{width:"4px"}).width,(n=c.appendChild(g.createElement("div"))).style.cssText=c.style.cssText=t,n.style.marginRight=n.style.width="0",c.style.width="1px",a.reliableMarginRight=!parseFloat((f.getComputedStyle(n,null)||{}).marginRight)),typeof c.style.zoom!=h&&(c.innerHTML="",c.style.cssText=t+"width:1px;padding:1px;display:inline;zoom:1",a.inlineBlockNeedsLayout=3===c.offsetWidth,c.style.display="block",c.innerHTML="<div></div>",c.firstChild.style.width="5px",a.shrinkWrapBlocks=3!==c.offsetWidth,a.inlineBlockNeedsLayout)&&(o.style.zoom=1),o.removeChild(e),c=null)}),t=o=e=n=null}return a}({}),/(?:\{[\s\S]*\}|\[[\s\S]*\])$/),rn=/([A-Z])/g;P.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?P.cache[e[P.expando]]:e[P.expando])&&!Et(e)},data:function(e,n,t){return Dt(e,n,t)},removeData:function(e,n){return Bt(e,n)},_data:function(e,n,t){return Dt(e,n,t,!0)},_removeData:function(e,n){return Bt(e,n,!0)},acceptData:function(e){var n;return!(e.nodeType&&1!==e.nodeType&&9!==e.nodeType||(n=e.nodeName&&P.noData[e.nodeName.toLowerCase()])&&(!0===n||e.getAttribute("classid")!==n))}}),P.fn.extend({data:function(e,n){var t,o,a=null,i=0,r=this[0];if(e!==k)return"object"==typeof e?this.each(function(){P.data(this,e)}):1<arguments.length?this.each(function(){P.data(this,e,n)}):r?Lt(r,e,P.data(r,e)):null;if(this.length&&(a=P.data(r),1===r.nodeType)&&!P._data(r,"parsedAttrs")){for(t=r.attributes;t.length>i;i++)0===(o=t[i].name).indexOf("data-")&&Lt(r,o=P.camelCase(o.slice(5)),a[o]);P._data(r,"parsedAttrs",!0)}return a},removeData:function(e){return this.each(function(){P.removeData(this,e)})}}),P.extend({queue:function(e,n,t){var o;return e?(o=P._data(e,n=(n||"fx")+"queue"),t&&(!o||P.isArray(t)?o=P._data(e,n,P.makeArray(t)):o.push(t)),o||[]):k}
2,dequeue:function(e,n){n=n||"fx";var t=P.queue(e,n),o=t.length,a=j(t),i=P._queueHooks(e,n);"inprogress"===a&&(a=j(t),o--),a&&("fx"===n&&t.unshift("inprogress"),delete i.stop,a.call(e,function(){P.dequeue(e,n)},i)),!o&&i&&i.empty.fire()},_queueHooks:function(e,n){var t=n+"queueHooks";return P._data(e,t)||P._data(e,t,{empty:P.Callbacks("once memory").add(function(){P._removeData(e,n+"queue"),P._removeData(e,t)})})}}),P.fn.extend({queue:function(n,t){var e=2;return"string"!=typeof n&&(t=n,n="fx",e--),arguments.length<e?P.queue(this[0],n):t===k?this:this.each(function(){var e=P.queue(this,n,t);P._queueHooks(this,n),"fx"===n&&"inprogress"!==e[0]&&P.dequeue(this,n)})},dequeue:function(e){return this.each(function(){P.dequeue(this,e)})},delay:function(o,e){return o=P.fx&&P.fx.speeds[o]||o,this.queue(e=e||"fx",function(e,n){var t=setTimeout(e,o);n.stop=function(){clearTimeout(t)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){function t(){--a||i.resolveWith(r,[r])}var o,a=1,i=P.Deferred(),r=this,s=this.length;for("string"!=typeof e&&(n=e,e=k),e=e||"fx";s--;)(o=P._data(r[s],e+"queueHooks"))&&o.empty&&(a++,o.empty.add(t));return t(),i.promise(n)}});var sn,cn,ln=/[\t\r\n\f]/g,un=/\r/g,mn=/^(?:input|select|textarea|button|object)$/i,dn=/^(?:a|area)$/i,pn=/^(?:checked|selected)$/i,m=P.support.getSetAttribute,fn=P.support.input,hn=(P.fn.extend({attr:function(e,n){return P.access(this,P.attr,e,n,1<arguments.length)},removeAttr:function(e){return this.each(function(){P.removeAttr(this,e)})},prop:function(e,n){return P.access(this,P.prop,e,n,1<arguments.length)},removeProp:function(e){return e=P.propFix[e]||e,this.each(function(){try{this[e]=k,delete this[e]}catch(e){}})},addClass:function(n){var e,t,o,a,i,r=0,s=this.length,c="string"==typeof n&&n;if(P.isFunction(n))return this.each(function(e){P(this).addClass(n.call(this,e,this.className))});if(c)for(e=(n||"").match(M)||[];r<s;r++)if(o=1===(t=this[r]).nodeType&&(t.className?(" "+t.className+" ").replace(ln," "):" ")){for(i=0;a=e[i++];)o.indexOf(" "+a+" ")<0&&(o+=a+" ");t.className=P.trim(o)}return this},removeClass:function(n){var e,t,o,a,i,r=0,s=this.length,c=0===arguments.length||"string"==typeof n&&n;if(P.isFunction(n))return this.each(function(e){P(this).removeClass(n.call(this,e,this.className))});if(c)for(e=(n||"").match(M)||[];r<s;r++)if(o=1===(t=this[r]).nodeType&&(t.className?(" "+t.className+" ").replace(ln," "):"")){for(i=0;a=e[i++];)for(;0<=o.indexOf(" "+a+" ");)o=o.replace(" "+a+" "," ");t.className=n?P.trim(o):""}return this},toggleClass:function(a,n){var i=typeof a;return"boolean"==typeof n&&"string"==i?n?this.addClass(a):this.removeClass(a):P.isFunction(a)?this.each(function(e){P(this).toggleClass(a.call(this,e,this.className,n),n)}):this.each(function(){if("string"==i)for(var e,n=0,t=P(this),o=a.match(M)||[];e=o[n++];)t.hasClass(e)?t.removeClass(e):t.addClass(e);else i!=h&&"boolean"!=i||(this.className&&P._data(this,"__className__",this.className),this.className=!this.className&&!1!==a&&P._data(this,"__className__")||"")})},hasClass:function(e){for(var n=" "+e+" ",t=0,o=this.length;t<o;t++)if(1===this[t].nodeType&&0<=(" "+this[t].className+" ").replace(ln," ").indexOf(n))return!0;return!1},val:function(n){var e,t,o,a=this[0];return arguments.length?(o=P.isFunction(n),this.each(function(e){1===this.nodeType&&(null==(e=o?n.call(this,e,P(this).val()):n)?e="":"number"==typeof e?e+="":P.isArray(e)&&(e=P.map(e,function(e){return null==e?"":e+""})),(t=P.valHooks[this.type]||P.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&t.set(this,e,"value")!==k||(this.value=e))})):a?(t=P.valHooks[a.type]||P.valHooks[a.nodeName.toLowerCase()])&&"get"in t&&(e=t.get(a,"value"))!==k?e:"string"==typeof(e=a.value)?e.replace(un,""):null==e?"":e:void 0}}),P.extend({valHooks:{option:{get:function(e){var n=P.find.attr(e,"value");return null!=n?n:e.text}},select:{get:function(e){for(var n,t=e.options,o=e.selectedIndex,a="select-one"===e.type||o<0,i=a?null:[],r=a?o+1:t.length,s=o<0?r:a?o:0;s<r;s++)if(!(!(n=t[s]).selected&&s!==o||(P.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&P.nodeName(n.parentNode,"optgroup"))){if(n=P(n).val(),a)return n;i.push(n)}return i},set:function(e,n){for(var t,o,a=e.options,i=P.makeArray(n),r=a.length;r--;)((o=a[r]).selected=0<=P.inArray(P(o).val(),i))&&(t=!0);return t||(e.selectedIndex=-1),i}}},attr:function(e,n,t){var o,a,i=e.nodeType;if(e&&3!==i&&8!==i&&2!==i)return typeof e.getAttribute==h?P.prop(e,n,t):(1===i&&P.isXMLDoc(e)||(n=n.toLowerCase(),o=P.attrHooks[n]||(P.expr.match.bool.test(n)?cn:sn)),t===k?!(o&&"get"in o&&null!==(a=o.get(e,n)))&&null==(a=P.find.attr(e,n))?k:a:null!==t?o&&"set"in o&&(a=o.set(e,t,n))!==k?a:(e.setAttribute(n,t+""),t):(P.removeAttr(e,n),k))},removeAttr:function(e,n){var t,o,a=0,i=n&&n.match(M);if(i&&1===e.nodeType)for(;t=i[a++];)o=P.propFix[t]||t,P.expr.match.bool.test(t)?fn&&m||!pn.test(t)?e[o]=!1:e[P.camelCase("default-"+t)]=e[o]=!1:P.attr(e,t,""),e.removeAttribute(m?t:o)},attrHooks:{type:{set:function(e,n){var t;if(!P.support.radioValue&&"radio"===n&&P.nodeName(e,"input"))return t=e.value,e.setAttribute("type",n),t&&(e.value=t),n}}},propFix:{for:"htmlFor",class:"className"},prop:function(e,n,t){var o,a,i=e.nodeType;if(e&&3!==i&&8!==i&&2!==i)return(1!==i||!P.isXMLDoc(e))&&(n=P.propFix[n]||n,a=P.propHooks[n]),t!==k?a&&"set"in a&&(o=a.set(e,t,n))!==k?o:e[n]=t:a&&"get"in a&&null!==(o=a.get(e,n))?o:e[n]},propHooks:{tabIndex:{get:function(e){var n=P.find.attr(e,"tabindex");return n?parseInt(n,10):mn.test(e.nodeName)||dn.test(e.nodeName)&&e.href?
20:-1}}}}),cn={set:function(e,n,t){return!1===n?P.removeAttr(e,t):fn&&m||!pn.test(t)?e.setAttribute(!m&&P.propFix[t]||t,t):e[P.camelCase("default-"+t)]=e[t]=!0,t}},P.each(P.expr.match.bool.source.match(/\w+/g),function(e,n){var a=P.expr.attrHandle[n]||P.find.attr;P.expr.attrHandle[n]=fn&&m||!pn.test(n)?function(e,n,t){var o=P.expr.attrHandle[n],e=t?k:(P.expr.attrHandle[n]=k)!=a(e,n,t)?n.toLowerCase():null;return P.expr.attrHandle[n]=o,e}:function(e,n,t){return t?k:e[P.camelCase("default-"+n)]?n.toLowerCase():null}}),fn&&m||(P.attrHooks.value={set:function(e,n,t){return P.nodeName(e,"input")?(e.defaultValue=n,k):sn&&sn.set(e,n,t)}}),m||(sn={set:function(e,n,t){var o=e.getAttributeNode(t);return o||e.setAttributeNode(o=e.ownerDocument.createAttribute(t)),o.value=n+="","value"===t||n===e.getAttribute(t)?n:k}},P.expr.attrHandle.id=P.expr.attrHandle.name=P.expr.attrHandle.coords=function(e,n,t){return t?k:(t=e.getAttributeNode(n))&&""!==t.value?t.value:null},P.valHooks.button={get:function(e,n){e=e.getAttributeNode(n);return e&&e.specified?e.value:k},set:sn.set},P.attrHooks.contenteditable={set:function(e,n,t){sn.set(e,""!==n&&n,t)}},P.each(["width","height"],function(e,t){P.attrHooks[t]={set:function(e,n){return""===n?(e.setAttribute(t,"auto"),n):k}}})),P.support.hrefNormalized||P.each(["href","src"],function(e,n){P.propHooks[n]={get:function(e){return e.getAttribute(n,4)}}}),P.support.style||(P.attrHooks.style={get:function(e){return e.style.cssText||k},set:function(e,n){return e.style.cssText=n+""}}),P.support.optSelected||(P.propHooks.selected={get:function(e){e=e.parentNode;return e&&(e.selectedIndex,e.parentNode)&&e.parentNode.selectedIndex,null}}),P.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){P.propFix[this.toLowerCase()]=this}),P.support.enctype||(P.propFix.enctype="encoding"),P.each(["radio","checkbox"],function(){P.valHooks[this]={set:function(e,n){return P.isArray(n)?e.checked=0<=P.inArray(P(e).val(),n):k}},P.support.checkOn||(P.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),/^(?:input|select|textarea)$/i),gn=/^key/,vn=/^(?:mouse|contextmenu)|click/,yn=/^(?:focusinfocus|focusoutblur)$/,bn=/^([^.]*)(?:\.(.+)|)$/,xn=(P.event={global:{},add:function(e,n,t,o,a){var i,r,s,c,l,u,m,d,p,f=P._data(e);if(f)for(t.handler&&(t=(s=t).handler,a=s.selector),t.guid||(t.guid=P.guid++),i=(i=f.events)||(f.events={}),(l=f.handle)||((l=f.handle=function(e){return typeof P==h||e&&P.event.triggered===e.type?k:P.event.dispatch.apply(l.elem,arguments)}).elem=e),r=(n=(n||"").match(M)||[""]).length;r--;)m=p=(d=bn.exec(n[r])||[])[1],d=(d[2]||"").split(".").sort(),m&&(c=P.event.special[m]||{},m=(a?c.delegateType:c.bindType)||m,c=P.event.special[m]||{},p=P.extend({type:m,origType:p,data:o,handler:t,guid:t.guid,selector:a,needsContext:a&&P.expr.match.needsContext.test(a),namespace:d.join(".")},s),(u=i[m])||((u=i[m]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(e,o,d,l))||(e.addEventListener?e.addEventListener(m,l,!1):e.attachEvent&&e.attachEvent("on"+m,l)),c.add&&(c.add.call(e,p),p.handler.guid||(p.handler.guid=t.guid)),a?u.splice(u.delegateCount++,0,p):u.push(p),P.event.global[m]=!0)},remove:function(e,n,t,o,a){var i,r,s,c,l,u,m,d,p,f,h,g=P.hasData(e)&&P._data(e);if(g&&(u=g.events)){for(l=(n=(n||"").match(M)||[""]).length;l--;)if(p=h=(s=bn.exec(n[l])||[])[1],f=(s[2]||"").split(".").sort(),p){for(m=P.event.special[p]||{},d=u[p=(o?m.delegateType:m.bindType)||p]||[],s=s[2]&&RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),c=i=d.length;i--;)r=d[i],!a&&h!==r.origType||t&&t.guid!==r.guid||s&&!s.test(r.namespace)||o&&o!==r.selector&&("**"!==o||!r.selector)||(d.splice(i,1),r.selector&&d.delegateCount--,m.remove&&m.remove.call(e,r));c&&!d.length&&(m.teardown&&!1!==m.teardown.call(e,f,g.handle)||P.removeEvent(e,p,g.handle),delete u[p])}else for(p in u)P.event.remove(e,p+n[l],t,o,!0);P.isEmptyObject(u)&&(delete g.handle,P._removeData(e,"events"))}},trigger:function(e,n,t,o){var a,i,r,s,c,l,u=[t||g],m=ae.call(e,"type")?e.type:e,d=ae.call(e,"namespace")?e.namespace.split("."):[],p=c=t=t||g;if(3!==t.nodeType&&8!==t.nodeType&&!yn.test(m+P.event.triggered)&&(0<=m.indexOf(".")&&(d=m.split("."),m=j(d),d.sort()),i=m.indexOf(":")<0&&"on"+m,(e=e[P.expando]?e:new P.Event(m,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=d.join("."),e.namespace_re=e.namespace?RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=k,e.target||(e.target=t),n=null==n?[e]:P.makeArray(n,[e]),s=P.event.special[m]||{},o||!s.trigger||!1!==s.trigger.apply(t,n))){if(!o&&!s.noBubble&&!P.isWindow(t)){for(r=s.delegateType||m,yn.test(r+m)||(p=p.parentNode);p;p=p.parentNode)u.push(p),c=p;c===(t.ownerDocument||g)&&u.push(c.defaultView||c.parentWindow||f)}for(l=0;(p=u[l++])&&!e.isPropagationStopped();)e.type=1<l?r:s.bindType||m,(a=(P._data(p,"events")||{})[e.type]&&P._data(p,"handle"))&&a.apply(p,n),(a=i&&p[i])&&P.acceptData(p)&&a.apply&&!1===a.apply(
2p,n)&&e.preventDefault();if(e.type=m,!o&&!e.isDefaultPrevented()&&(!s._default||!1===s._default.apply(u.pop(),n))&&P.acceptData(t)&&i&&t[m]&&!P.isWindow(t)){(c=t[i])&&(t[i]=null),P.event.triggered=m;try{t[m]()}catch(e){}P.event.triggered=k,c&&(t[i]=c)}return e.result}},dispatch:function(e){e=P.event.fix(e);var n,t,o,a,i,r=u.call(arguments),s=(P._data(this,"events")||{})[e.type]||[],c=P.event.special[e.type]||{};if((r[0]=e).delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,e)){for(i=P.event.handlers.call(this,e,s),n=0;(o=i[n++])&&!e.isPropagationStopped();)for(e.currentTarget=o.elem,a=0;(t=o.handlers[a++])&&!e.isImmediatePropagationStopped();)e.namespace_re&&!e.namespace_re.test(t.namespace)||(e.handleObj=t,e.data=t.data,(t=((P.event.special[t.origType]||{}).handle||t.handler).apply(o.elem,r))===k)||!1!==(e.result=t)||(e.preventDefault(),e.stopPropagation());return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,n){var t,o,a,i,r=[],s=n.delegateCount,c=e.target;if(s&&c.nodeType&&(!e.button||"click"!==e.type))for(;c!=this;c=c.parentNode||this)if(1===c.nodeType&&(!0!==c.disabled||"click"!==e.type)){for(a=[],i=0;i<s;i++)a[t=(o=n[i]).selector+" "]===k&&(a[t]=o.needsContext?0<=P(t,this).index(c):P.find(t,this,null,[c]).length),a[t]&&a.push(o);a.length&&r.push({elem:c,handlers:a})}return n.length>s&&r.push({elem:this,handlers:n.slice(s)}),r},fix:function(e){if(e[P.expando])return e;var n,t,o,a=e.type,i=e,r=this.fixHooks[a];for(r||(this.fixHooks[a]=r=vn.test(a)?this.mouseHooks:gn.test(a)?this.keyHooks:{}),o=r.props?this.props.concat(r.props):this.props,e=new P.Event(i),n=o.length;n--;)e[t=o[n]]=i[t];return e.target||(e.target=i.srcElement||g),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,r.filter?r.filter(e,i):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,n){return null==e.which&&(e.which=null!=n.charCode?n.charCode:n.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var t,o,a=n.button,i=n.fromElement;return null==e.pageX&&null!=n.clientX&&(o=(t=e.target.ownerDocument||g).documentElement,t=t.body,e.pageX=n.clientX+(o&&o.scrollLeft||t&&t.scrollLeft||0)-(o&&o.clientLeft||t&&t.clientLeft||0),e.pageY=n.clientY+(o&&o.scrollTop||t&&t.scrollTop||0)-(o&&o.clientTop||t&&t.clientTop||0)),!e.relatedTarget&&i&&(e.relatedTarget=i===e.target?n.toElement:i),e.which||a===k||(e.which=1&a?1:2&a?3:4&a?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==zt()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===zt()&&this.blur?(this.blur(),!1):k},delegateType:"focusout"},click:{trigger:function(){return P.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):k},_default:function(e){return P.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==k&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,n,t,o){e=P.extend(new P.Event,t,{type:e,isSimulated:!0,originalEvent:{}});o?P.event.trigger(e,null,n):P.event.dispatch.call(n,e),e.isDefaultPrevented()&&t.preventDefault()}},P.removeEvent=g.removeEventListener?function(e,n,t){e.removeEventListener&&e.removeEventListener(n,t,!1)}:function(e,n,t){n="on"+n;e.detachEvent&&(typeof e[n]==h&&(e[n]=null),e.detachEvent(n,t))},P.Event=function(e,n){return this instanceof P.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||!1===e.returnValue||e.getPreventDefault&&e.getPreventDefault()?Rt:_t):this.type=e,n&&P.extend(this,n),this.timeStamp=e&&e.timeStamp||P.now(),this[P.expando]=!0,k):new P.Event(e,n)},P.Event.prototype={isDefaultPrevented:_t,isPropagationStopped:_t,isImmediatePropagationStopped:_t,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Rt,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Rt,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Rt,this.stopPropagation()}}
2,P.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,a){P.event.special[e]={delegateType:a,bindType:a,handle:function(e){var n,t=e.relatedTarget,o=e.handleObj;return t&&(t===this||P.contains(this,t))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=a),n}}}),P.support.submitBubbles||(P.event.special.submit={setup:function(){return!P.nodeName(this,"form")&&(P.event.add(this,"click._submit keypress._submit",function(e){e=e.target,e=P.nodeName(e,"input")||P.nodeName(e,"button")?e.form:k;e&&!P._data(e,"submitBubbles")&&(P.event.add(e,"submit._submit",function(e){e._submit_bubble=!0}),P._data(e,"submitBubbles",!0))}),k)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode)&&!e.isTrigger&&P.event.simulate("submit",this.parentNode,e,!0)},teardown:function(){return!P.nodeName(this,"form")&&(P.event.remove(this,"._submit"),k)}}),P.support.changeBubbles||(P.event.special.change={setup:function(){return hn.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(P.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),P.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),P.event.simulate("change",this,e,!0)})),!1):(P.event.add(this,"beforeactivate._change",function(e){e=e.target;hn.test(e.nodeName)&&!P._data(e,"changeBubbles")&&(P.event.add(e,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||P.event.simulate("change",this.parentNode,e,!0)}),P._data(e,"changeBubbles",!0))}),k)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||"radio"!==n.type&&"checkbox"!==n.type?e.handleObj.handler.apply(this,arguments):k},teardown:function(){return P.event.remove(this,"._change"),!hn.test(this.nodeName)}}),P.support.focusinBubbles||P.each({focus:"focusin",blur:"focusout"},function(e,n){function t(e){P.event.simulate(n,e.target,P.event.fix(e),!0)}var o=0;P.event.special[n]={setup:function(){0==o++&&g.addEventListener(e,t,!0)},teardown:function(){0==--o&&g.removeEventListener(e,t,!0)}}}),P.fn.extend({on:function(e,n,t,o,a){var i,r;if("object"==typeof e){for(i in"string"!=typeof n&&(t=t||n,n=k),e)this.on(i,n,t,e[i],a);return this}if(null==t&&null==o?(o=n,t=n=k):null==o&&("string"==typeof n?(o=t,t=k):(o=t,t=n,n=k)),!1===o)o=_t;else if(!o)return this;return 1===a&&(r=o,(o=function(e){return P().off(e),r.apply(this,arguments)}).guid=r.guid||(r.guid=P.guid++)),this.each(function(){P.event.add(this,e,o,t,n)})},one:function(e,n,t,o){return this.on(e,n,t,o,1)},off:function(e,n,t){var o,a;if(e&&e.preventDefault&&e.handleObj)o=e.handleObj,P(e.delegateTarget).off(o.namespace?o.origType+"."+o.namespace:o.origType,o.selector,o.handler);else{if("object"!=typeof e)return!1!==n&&"function"!=typeof n||(t=n,n=k),!1===t&&(t=_t),this.each(function(){P.event.remove(this,e,t,n)});for(a in e)this.off(a,n,e[a])}return this},trigger:function(e,n){return this.each(function(){P.event.trigger(e,n,this)})},triggerHandler:function(e,n){var t=this[0];return t?P.event.trigger(e,n,t,!0):k}}),/^.[^:#\[\.,]*$/),kn=/^(?:parents|prev(?:Until|All))/,Cn=P.expr.match.needsContext,wn={children:!0,contents:!0,next:!0,prev:!0},An=(P.fn.extend({find:function(e){var n,t=[],o=this,a=o.length;if("string"!=typeof e)return this.pushStack(P(e).filter(function(){for(n=0;n<a;n++)if(P.contains(o[n],this))return!0}));for(n=0;n<a;n++)P.find(e,o[n],t);return(t=this.pushStack(1<a?P.unique(t):t)).selector=this.selector?this.selector+" "+e:e,t},has:function(e){var n,t=P(e,this),o=t.length;return this.filter(function(){for(n=0;n<o;n++)if(P.contains(this,t[n]))return!0})},not:function(e){return this.pushStack(Gt(this,e||[],!0))},filter:function(e){return this.pushStack(Gt(this,e||[],!1))},is:function(e){return!!Gt(this,"string"==typeof e&&Cn.test(e)?P(e):e||[],!1).length},closest:function(e,n){for(var t,o=0,a=this.length,i=[],r=Cn.test(e)||"string"!=typeof e?P(e,n||this.context):0;o<a;o++)for(t=this[o];t&&t!==n;t=t.parentNode)if(t.nodeType<11&&(r?-1<r.index(t):1===t.nodeType&&P.find.matchesSelector(t,e))){t=i.push(t);break}return this.pushStack(1<i.length?P.unique(i):i)},index:function(e){return e?"string"==typeof e?P.inArray(this[0],P(e)):P.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1}
2,add:function(e,n){n="string"==typeof e?P(e,n):P.makeArray(e&&e.nodeType?[e]:e),e=P.merge(this.get(),n);return this.pushStack(P.unique(e))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),P.each({parent:function(e){e=e.parentNode;return e&&11!==e.nodeType?e:null},parents:function(e){return P.dir(e,"parentNode")},parentsUntil:function(e,n,t){return P.dir(e,"parentNode",t)},next:function(e){return Ht(e,"nextSibling")},prev:function(e){return Ht(e,"previousSibling")},nextAll:function(e){return P.dir(e,"nextSibling")},prevAll:function(e){return P.dir(e,"previousSibling")},nextUntil:function(e,n,t){return P.dir(e,"nextSibling",t)},prevUntil:function(e,n,t){return P.dir(e,"previousSibling",t)},siblings:function(e){return P.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return P.sibling(e.firstChild)},contents:function(e){return P.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:P.merge([],e.childNodes)}},function(o,a){P.fn[o]=function(e,n){var t=P.map(this,a,e);return(n="Until"!==o.slice(-5)?e:n)&&"string"==typeof n&&(t=P.filter(n,t)),1<this.length&&(wn[o]||(t=P.unique(t)),kn.test(o))&&(t=t.reverse()),this.pushStack(t)}}),P.extend({filter:function(e,n,t){var o=n[0];return t&&(e=":not("+e+")"),1===n.length&&1===o.nodeType?P.find.matchesSelector(o,e)?[o]:[]:P.find.matches(e,P.grep(n,function(e){return 1===e.nodeType}))},dir:function(e,n,t){for(var o=[],a=e[n];a&&9!==a.nodeType&&(t===k||1!==a.nodeType||!P(a).is(t));)1===a.nodeType&&o.push(a),a=a[n];return o},sibling:function(e,n){for(var t=[];e;e=e.nextSibling)1===e.nodeType&&e!==n&&t.push(e);return t}}),"abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video"),Sn=/ jQuery\d+="(?:null|\d+)"/g,Tn=RegExp("<(?:"+An+")[\\s/>]","i"),jn=/^\s+/,Pn=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Mn=/<([\w:]+)/,Nn=/<tbody/i,In=/<|&#?\w+;/,On=/<(?:script|style|link)/i,Dn=/^(?:checkbox|radio)$/i,Bn=/checked\s*(?:[^=]|=\s*.checked.)/i,Ln=/^$|\/(?:java|ecma)script/i,En=/^true\/(.*)/,Rn=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,v={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:P.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},_n=$t(g).appendChild(g.createElement("div"));v.optgroup=v.option,v.tbody=v.tfoot=v.colgroup=v.caption=v.thead,v.th=v.td,P.fn.extend({text:function(e){return P.access(this,function(e){return e===k?P.text(this):this.empty().append((this[0]&&this[0].ownerDocument||g).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ft(this,e).appendChild(e)})},prepend:function(){return this.domManip(arguments,function(e){var n;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(n=Ft(this,e)).insertBefore(e,n.firstChild)})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,n){for(var t,o=e?P.filter(e,this):this,a=0;null!=(t=o[a]);a++)n||1!==t.nodeType||P.cleanData(b(t)),t.parentNode&&(n&&P.contains(t.ownerDocument,t)&&Jt(b(t,"script")),t.parentNode.removeChild(t));return this},empty:function(){for(var e,n=0;null!=(e=this[n]);n++){for(1===e.nodeType&&P.cleanData(b(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&P.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,n){return e=null!=e&&e,n=null==n?e:n,this.map(function(){return P.clone(this,e,n)})},html:function(e){return P.access(this,function(e){var n=this[0]||{},t=0,o=this.length;if(e===k)return 1===n.nodeType?n.innerHTML.replace(Sn,""):k;
2if(!("string"!=typeof e||On.test(e)||!P.support.htmlSerialize&&Tn.test(e)||!P.support.leadingWhitespace&&jn.test(e)||v[(Mn.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(Pn,"<$1></$2>");try{for(;t<o;t++)1===(n=this[t]||{}).nodeType&&(P.cleanData(b(n,!1)),n.innerHTML=e);n=0}catch(e){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var o=P.map(this,function(e){return[e.nextSibling,e.parentNode]}),a=0;return this.domManip(arguments,function(e){var n=o[a++],t=o[a++];t&&(n&&n.parentNode!==t&&(n=this.nextSibling),P(this).remove(),t.insertBefore(e,n))},!0),a?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(t,o,a){t=ee.apply([],t);var e,n,i,r,s,c,l=0,u=this.length,m=this,d=u-1,p=t[0],f=P.isFunction(p);if(f||!(u<=1||"string"!=typeof p||P.support.checkClone)&&Bn.test(p))return this.each(function(e){var n=m.eq(e);f&&(t[0]=p.call(this,e,n.html())),n.domManip(t,o,a)});if(u&&(e=(c=P.buildFragment(t,this[0].ownerDocument,!1,!a&&this)).firstChild,1===c.childNodes.length&&(c=e),e)){for(i=(r=P.map(b(c,"script"),qt)).length;l<u;l++)n=c,l!==d&&(n=P.clone(n,!0,!0),i)&&P.merge(r,b(n,"script")),o.call(this[l],n,l);if(i)for(s=r[r.length-1].ownerDocument,P.map(r,Ut),l=0;l<i;l++)n=r[l],Ln.test(n.type||"")&&!P._data(n,"globalEval")&&P.contains(s,n)&&(n.src?P._evalUrl(n.src):P.globalEval((n.text||n.textContent||n.innerHTML||"").replace(Rn,"")));c=e=null}return this}}),P.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,r){P.fn[e]=function(e){for(var n,t=0,o=[],a=P(e),i=a.length-1;t<=i;t++)n=t===i?this:this.clone(!0),P(a[t])[r](n),ne.apply(o,n.get());return this.pushStack(o)}}),P.extend({clone:function(e,n,t){var o,a,i,r,s,c,l,u,m=P.contains(e.ownerDocument,e);if(P.support.html5Clone||P.isXMLDoc(e)||!Tn.test("<"+e.nodeName+">")?i=e.cloneNode(!0):(_n.innerHTML=e.outerHTML,_n.removeChild(i=_n.firstChild)),!(P.support.noCloneEvent&&P.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||P.isXMLDoc(e)))for(o=b(i),s=b(e),r=0;null!=(a=s[r]);++r)if(o[r]){d=void 0;p=void 0;c=void 0;l=void 0;u=void 0;var d=a;var p=o[r];if(1===p.nodeType){if(c=p.nodeName.toLowerCase(),!P.support.noCloneEvent&&p[P.expando]){for(l in(u=P._data(p)).events)P.removeEvent(p,l,u.handle);p.removeAttribute(P.expando)}"script"===c&&p.text!==d.text?(qt(p).text=d.text,Ut(p)):"object"===c?(p.parentNode&&(p.outerHTML=d.outerHTML),P.support.html5Clone&&d.innerHTML&&!P.trim(p.innerHTML)&&(p.innerHTML=d.innerHTML)):"input"===c&&Dn.test(d.type)?(p.defaultChecked=p.checked=d.checked,p.value!==d.value&&(p.value=d.value)):"option"===c?p.defaultSelected=p.selected=d.defaultSelected:"input"!==c&&"textarea"!==c||(p.defaultValue=d.defaultValue)}}if(n)if(t)for(s=s||b(e),o=o||b(i),r=0;null!=(a=s[r]);r++)Qt(a,o[r]);else Qt(e,i);return 0<(o=b(i,"script")).length&&Jt(o,!m&&b(e,"script")),o=s=a=null,i},buildFragment:function(e,n,t,o){for(var a,i,r,s,c,l,u,m=e.length,d=$t(n),p=[],f=0;f<m;f++)if((i=e[f])||0===i)if("object"===P.type(i))P.merge(p,i.nodeType?[i]:i);else if(In.test(i)){for(s=s||d.appendChild(n.createElement("div")),c=(Mn.exec(i)||["",""])[1].toLowerCase(),s.innerHTML=(u=v[c]||v._default)[1]+i.replace(Pn,"<$1></$2>")+u[2],a=u[0];a--;)s=s.lastChild;if(!P.support.leadingWhitespace&&jn.test(i)&&p.push(n.createTextNode(jn.exec(i)[0])),!P.support.tbody)for(a=(i="table"!==c||Nn.test(i)?"<table>"!==u[1]||Nn.test(i)?0:s:s.firstChild)&&i.childNodes.length;a--;)P.nodeName(l=i.childNodes[a],"tbody")&&!l.childNodes.length&&i.removeChild(l);for(P.merge(p,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=d.lastChild}else p.push(n.createTextNode(i));for(s&&d.removeChild(s),P.support.appendChecked||P.grep(b(p,"input"),Vt),f=0;i=p[f++];)if((!o||-1===P.inArray(i,o))&&(r=P.contains(i.ownerDocument,i),s=b(d.appendChild(i),"script"),r&&Jt(s),t))for(a=0;i=s[a++];)Ln.test(i.type||"")&&t.push(i);return s=null,d},cleanData:function(e,n){for(var t,o,a,i,r=0,s=P.expando,c=P.cache,l=P.support.deleteExpando,u=P.event.special;null!=(t=e[r]);r++)if((n||P.acceptData(t))&&(i=(a=t[s])&&c[a])){if(i.events)for(o in i.events)u[o]?P.event.remove(t,o):P.removeEvent(t,o,i.handle);c[a]&&(delete c[a],l?delete t[s]:typeof t.removeAttribute!=h?t.removeAttribute(s):t[s]=null,Z.push(a))}},_evalUrl:function(e){return P.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})}}),P.fn.extend({wrapAll:function(n){var e;return P.isFunction(n)?this.each(function(e){P(this).wrapAll(n.call(this,e))}):(this[0]&&(e=P(n,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)),this)},wrapInner:function(t){return P.isFunction(t)?this.each(function(e){P(this).wrapInner(t.call(this,e))}):this.each(function(){var e=P(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(n){var t=P.isFunction(n);return this.each(function(e){P(this).wrapAll(t?n.call(this,e):n)})},unwrap:function(){return this.parent().each(function(){P.nodeName(this,"body")||P(this).replaceWith(this.childNodes)}).end()}});
2var zn,Hn,Gn,$n=/alpha\([^)]*\)/i,Fn=/opacity\s*=\s*([^)]*)/,qn=/^(top|right|bottom|left)$/,Un=/^(none|table(?!-c[ea]).+)/,Jn=/^margin/,Qn=RegExp("^("+re+")(.*)$","i"),Vn=RegExp("^("+re+")(?!px)[a-z%]+$","i"),Wn=RegExp("^([+-])=("+re+")","i"),Kn={BODY:"block"},Xn={position:"absolute",visibility:"hidden",display:"block"},Yn={letterSpacing:0,fontWeight:400},Zn=["Top","Right","Bottom","Left"],et=["Webkit","O","Moz","ms"],nt=(P.fn.extend({css:function(e,n){return P.access(this,function(e,n,t){var o,a,i={},r=0;if(P.isArray(n)){for(a=Hn(e),o=n.length;r<o;r++)i[n[r]]=P.css(e,n[r],!1,a);return i}return t!==k?P.style(e,n,t):P.css(e,n)},e,n,1<arguments.length)},show:function(){return Xt(this,!0)},hide:function(){return Xt(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Kt(this)?P(this).show():P(this).hide()})}}),P.extend({cssHooks:{opacity:{get:function(e,n){if(n)return""===(n=Gn(e,"opacity"))?"1":n}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:P.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,t,o){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var a,i,r,s=P.camelCase(n),c=e.style;if(n=P.cssProps[s]||(P.cssProps[s]=Wt(c,s)),r=P.cssHooks[n]||P.cssHooks[s],t===k)return r&&"get"in r&&(a=r.get(e,!1,o))!==k?a:c[n];if("string"===(i=typeof t)&&(a=Wn.exec(t))&&(t=(a[1]+1)*a[2]+parseFloat(P.css(e,n)),i="number"),!(null==t||"number"===i&&isNaN(t)||("number"!==i||P.cssNumber[s]||(t+="px"),P.support.clearCloneStyle||""!==t||0!==n.indexOf("background")||(c[n]="inherit"),r&&"set"in r&&(t=r.set(e,t,o))===k)))try{c[n]=t}catch(e){}}},css:function(e,n,t,o){var a,i=P.camelCase(n);return n=P.cssProps[i]||(P.cssProps[i]=Wt(e.style,i)),"normal"===(a=(a=(i=P.cssHooks[n]||P.cssHooks[i])&&"get"in i?i.get(e,!0,t):a)===k?Gn(e,n,o):a)&&n in Yn&&(a=Yn[n]),(""===t||t)&&(i=parseFloat(a),!0===t||P.isNumeric(i))?i||0:a}}),f.getComputedStyle?(Hn=function(e){return f.getComputedStyle(e,null)},Gn=function(e,n,t){var o,t=t||Hn(e),a=t?t.getPropertyValue(n)||t[n]:k,i=e.style;return t&&(""!==a||P.contains(e.ownerDocument,e)||(a=P.style(e,n)),Vn.test(a))&&Jn.test(n)&&(e=i.width,n=i.minWidth,o=i.maxWidth,i.minWidth=i.maxWidth=i.width=a,a=t.width,i.width=e,i.minWidth=n,i.maxWidth=o),a}):g.documentElement.currentStyle&&(Hn=function(e){return e.currentStyle},Gn=function(e,n,t){var o,a,i,t=t||Hn(e),t=t?t[n]:k,r=e.style;return null==t&&r&&r[n]&&(t=r[n]),Vn.test(t)&&!qn.test(n)&&(o=r.left,(i=(a=e.runtimeStyle)&&a.left)&&(a.left=e.currentStyle.left),r.left="fontSize"===n?"1em":t,t=r.pixelLeft+"px",r.left=o,i)&&(a.left=i),""===t?"auto":t}),P.each(["height","width"],function(e,a){P.cssHooks[a]={get:function(e,n,t){return n?0===e.offsetWidth&&Un.test(P.css(e,"display"))?P.swap(e,Xn,function(){return eo(e,a,t)}):eo(e,a,t):k},set:function(e,n,t){var o=t&&Hn(e);return Yt(0,n,t?Zt(e,a,t,P.support.boxSizing&&"border-box"===P.css(e,"boxSizing",!1,o),o):0)}}}),P.support.opacity||(P.cssHooks.opacity={get:function(e,n){return Fn.test((n&&e.currentStyle?e.currentStyle:e.style).filter||"")?.01*parseFloat(RegExp.$1)+"":n?"1":""},set:function(e,n){var t=e.style,e=e.currentStyle,o=P.isNumeric(n)?"alpha(opacity="+100*n+")":"",a=e&&e.filter||t.filter||"";((t.zoom=1)<=n||""===n)&&""===P.trim(a.replace($n,""))&&t.removeAttribute&&(t.removeAttribute("filter"),""===n||e&&!e.filter)||(t.filter=$n.test(a)?a.replace($n,o):a+" "+o)}}),P(function(){P.support.reliableMarginRight||(P.cssHooks.marginRight={get:function(e,n){return n?P.swap(e,{display:"inline-block"},Gn,[e,"marginRight"]):k}}),!P.support.pixelPosition&&P.fn.position&&P.each(["top","left"],function(e,t){P.cssHooks[t]={get:function(e,n){return n?(n=Gn(e,t),Vn.test(n)?P(e).position()[t]+"px":n):k}}})}),P.expr&&P.expr.filters&&(P.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!P.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||P.css(e,"display"))},P.expr.filters.visible=function(e){return!P.expr.filters.hidden(e)}),P.each({margin:"",padding:"",border:"Width"},function(a,i){P.cssHooks[a+i]={expand:function(e){for(var n=0,t={},o="string"==typeof e?e.split(" "):[e];n<4;n++)t[a+Zn[n]+i]=o[n]||o[n-2]||o[0];return t}}
2,Jn.test(a)||(P.cssHooks[a+i].set=Yt)}),/%20/g),tt=/\[\]$/,ot=/\r?\n/g,at=/^(?:submit|button|image|reset|file)$/i,it=/^(?:input|select|textarea|keygen)/i;P.fn.extend({serialize:function(){return P.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=P.prop(this,"elements");return e?P.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!P(this).is(":disabled")&&it.test(this.nodeName)&&!at.test(e)&&(this.checked||!Dn.test(e))}).map(function(e,n){var t=P(this).val();return null==t?null:P.isArray(t)?P.map(t,function(e){return{name:n.name,value:e.replace(ot,"\r\n")}}):{name:n.name,value:t.replace(ot,"\r\n")}}).get()}}),P.param=function(e,n){function t(e,n){n=P.isFunction(n)?n():null==n?"":n,a[a.length]=encodeURIComponent(e)+"="+encodeURIComponent(n)}var o,a=[];if(n===k&&(n=P.ajaxSettings&&P.ajaxSettings.traditional),P.isArray(e)||e.jquery&&!P.isPlainObject(e))P.each(e,function(){t(this.name,this.value)});else for(o in e)!function t(o,e,a,i){if(P.isArray(e))P.each(e,function(e,n){a||tt.test(o)?i(o,n):t(o+"["+("object"==typeof n?e:"")+"]",n,a,i)});else if(a||"object"!==P.type(e))i(o,e);else for(var n in e)t(o+"["+n+"]",e[n],a,i)}(o,e[o],n,t);return a.join("&").replace(nt,"+")},P.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){P.fn[t]=function(e,n){return 0<arguments.length?this.on(t,null,e,n):this.trigger(t)}}),P.fn.extend({hover:function(e,n){return this.mouseenter(e).mouseleave(n||e)},bind:function(e,n,t){return this.on(e,null,n,t)},unbind:function(e,n){return this.off(e,null,n)},delegate:function(e,n,t,o){return this.on(n,e,t,o)},undelegate:function(e,n,t){return 1===arguments.length?this.off(e,"**"):this.off(n,e||"**",t)}});var rt,st,ct=P.now(),lt=/\?/,ut=/#.*$/,mt=/([?&])_=[^&]*/,dt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,pt=/^(?:GET|HEAD)$/,ft=/^\/\//,ht=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,gt=P.fn.load,vt={},yt={},bt="*/".concat("*");try{st=V.href}catch(e){(st=g.createElement("a")).href="",st=st.href}rt=ht.exec(st.toLowerCase())||[],P.fn.load=function(e,n,t){var o,a,i,r,s;return"string"!=typeof e&>?gt.apply(this,arguments):(r=this,0<=(s=e.indexOf(" "))&&(o=e.slice(s,e.length),e=e.slice(0,s)),P.isFunction(n)?(t=n,n=k):n&&"object"==typeof n&&(i="POST"),0<r.length&&P.ajax({url:e,type:i,dataType:"html",data:n}).done(function(e){a=arguments,r.html(o?P("<div>").append(P.parseHTML(e)).find(o):e)}).complete(t&&function(e,n){r.each(t,a||[e.responseText,n,e])}),this)},P.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,n){P.fn[n]=function(e){return this.on(n,e)}}),P.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:st,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(rt[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":bt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":P.parseJSON,"text xml":P.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,n){return n?io(io(e,P.ajaxSettings),n):io(P.ajaxSettings,e)},ajaxPrefilter:oo(vt),ajaxTransport:oo(yt),ajax:function(e,n){"object"==typeof e&&(n=e,e=k);var t,c,l,u,m,d,o,p=P.ajaxSetup({},n=n||{}),f=p.context||p,h=p.context&&(f.nodeType||f.jquery)?P(f):P.event,g=P.Deferred(),v=P.Callbacks("once memory"),y=p.statusCode||{},a={},i={},b=0,r="canceled",x={readyState:0,getResponseHeader:function(e){var n;if(2===b){if(!o)for(o={};n=dt.exec(l);)o[n[1].toLowerCase()]=n[2];n=o[e.toLowerCase()]}return null==n?null:n},getAllResponseHeaders:function(){return 2===b?l:null},setRequestHeader:function(e,n){var t=e.toLowerCase();return b||(e=i[t]=i[t]||e,a[e]=n),this},overrideMimeType:function(e){return b||(p.mimeType=e),this},statusCode:function(e){if(e)if(b<2)for(var n in e)y[n]=[y[n],e[n]];else x.always(e[x.status]);return this},abort:function(e){e=e||r;return d&&d.abort(e),s(0,e),this}};if(g.promise(x).complete=v.add,x.success=x.done,x.error=x.fail,p.url=((e||p.url||st)+"").replace(ut,"").replace(ft,rt[1]+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=P.trim(p.dataType||"*").toLowerCase().match(M)||[""],null==p.crossDomain&&(e=ht.exec(p.url.toLowerCase()),p.crossDomain=!(!e||e[1]===rt[1]&&e[2]===rt[2]&&(e[3]||("http:"===e[1]?"80":"443"))===(rt[3]||("http:"===rt[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=P.param(p.data,p.traditional)),ao(vt,p,n,x),2!==b){for(t in(m=p.global)&&0==P.active++&&P.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!pt.test(p.type),c=p.url,p.hasContent||(p.data&&(c=p.url+=(lt.test(c)?"&":"?")+p.data,delete p.data),!1===p.cache&&(p.url=mt.test(c)?c.replace(mt,"$1_="+ct++):c+(lt.test(c)?"&":"?")+"_="+ct++)),p.ifModified&&(P.lastModified[c]&&x.setRequestHeader("If-Modified-Since",P.lastModified[c]),P.etag[c])&&x.setRequestHeader("If-None-Match",P.etag[c]),(p.data&&p.hasContent&&!1!==p.contentType||n.contentType)&&x.setRequestHeader("Content-Type",p.contentType),x.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+bt+"; q=0.01":""):p.accepts["*"]),p.headers)x.setRequestHeader(t,p.headers[t]);
2if(p.beforeSend&&(!1===p.beforeSend.call(f,x,p)||2===b))return x.abort();for(t in r="abort",{success:1,error:1,complete:1})x[t](p[t]);if(d=ao(yt,p,n,x)){x.readyState=1,m&&h.trigger("ajaxSend",[x,p]),p.async&&0<p.timeout&&(u=setTimeout(function(){x.abort("timeout")},p.timeout));try{b=1,d.send(a,s)}catch(e){if(!(b<2))throw e;s(-1,e)}}else s(-1,"No Transport")}return x;function s(e,n,t,o){var a,i,r,s=n;2!==b&&(b=2,u&&clearTimeout(u),d=k,l=o||"",x.readyState=0<e?4:0,o=200<=e&&e<300||304===e,t&&(r=function(e,n,t){var o,a,i,r,s=e.contents,c=e.dataTypes;for(;"*"===c[0];)j(c),a===k&&(a=e.mimeType||n.getResponseHeader("Content-Type"));if(a)for(r in s)if(s[r]&&s[r].test(a)){c.unshift(r);break}if(c[0]in t)i=c[0];else{for(r in t){if(!c[0]||e.converters[r+" "+c[0]]){i=r;break}o=o||r}i=i||o}return i?(i!==c[0]&&c.unshift(i),t[i]):k}(p,x,t)),r=function(e,n,t,o){var a,i,r,s,c,l={},u=e.dataTypes.slice();if(u[1])for(r in e.converters)l[r.toLowerCase()]=e.converters[r];i=j(u);for(;i;)if(e.responseFields[i]&&(t[e.responseFields[i]]=n),!c&&o&&e.dataFilter&&(n=e.dataFilter(n,e.dataType)),c=i,i=j(u))if("*"===i)i=c;else if("*"!==c&&c!==i){if(!(r=l[c+" "+i]||l["* "+i]))for(a in l)if(s=a.split(" "),s[1]===i&&(r=l[c+" "+s[0]]||l["* "+s[0]])){!0===r?r=l[a]:!0!==l[a]&&(i=s[0],u.unshift(s[1]));break}if(!0!==r)if(r&&e.throws)n=r(n);else try{n=r(n)}catch(e){return{state:"parsererror",error:r?e:"No conversion from "+c+" to "+i}}}return{state:"success",data:n}}(p,r,x,o),o?(p.ifModified&&((t=x.getResponseHeader("Last-Modified"))&&(P.lastModified[c]=t),t=x.getResponseHeader("etag"))&&(P.etag[c]=t),204===e||"HEAD"===p.type?s="nocontent":304===e?s="notmodified":(s=r.state,a=r.data,o=!(i=r.error))):(i=s,(e||!s)&&(s="error",e<0)&&(e=0)),x.status=e,x.statusText=(n||s)+"",o?g.resolveWith(f,[a,s,x]):g.rejectWith(f,[x,s,i]),x.statusCode(y),y=k,m&&h.trigger(o?"ajaxSuccess":"ajaxError",[x,p,o?a:i]),v.fireWith(f,[x,s]),m)&&(h.trigger("ajaxComplete",[x,p]),--P.active||P.event.trigger("ajaxStop"))}},getJSON:function(e,n,t){return P.get(e,n,t,"json")},getScript:function(e,n){return P.get(e,k,n,"script")}}),P.each(["get","post"],function(e,a){P[a]=function(e,n,t,o){return P.isFunction(n)&&(o=o||t,t=n,n=k),P.ajax({url:e,type:a,dataType:o,data:n,success:t})}}),P.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return P.globalEval(e),e}}}),P.ajaxPrefilter("script",function(e){e.cache===k&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),P.ajaxTransport("script",function(n){var o,a;if(n.crossDomain)return a=g.head||P("head")[0]||g.documentElement,{send:function(e,t){(o=g.createElement("script")).async=!0,n.scriptCharset&&(o.charset=n.scriptCharset),o.src=n.url,o.onload=o.onreadystatechange=function(e,n){!n&&o.readyState&&!/loaded|complete/.test(o.readyState)||(o.onload=o.onreadystatechange=null,o.parentNode&&o.parentNode.removeChild(o),o=null,n)||t(200,"success")},a.insertBefore(o,a.firstChild)},abort:function(){o&&o.onload(k,!0)}}});var xt=[],kt=/(=)\?(?=&|$)|\?\?/;P.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=xt.pop()||P.expando+"_"+ct++;return this[e]=!0,e}}),P.ajaxPrefilter("json jsonp",function(e,n,t){var o,a,i,r=!1!==e.jsonp&&(kt.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&kt.test(e.data)&&"data");return r||"jsonp"===e.dataTypes[0]?(o=e.jsonpCallback=P.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,r?e[r]=e[r].replace(kt,"$1"+o):!1!==e.jsonp&&(e.url+=(lt.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return i||P.error(o+" was not called"),i[0]},e.dataTypes[0]="json",a=f[o],f[o]=function(){i=arguments},t.always(function(){f[o]=a,e[o]&&(e.jsonpCallback=n.jsonpCallback,xt.push(o)),i&&P.isFunction(a)&&a(i[0]),i=a=k}),"script"):k});var Ct,wt=0,At=f.ActiveXObject&&function(){for(var e in Ct)Ct[e](k,!0)};P.ajaxSettings.xhr=f.ActiveXObject?function(){return!this.isLocal&&ro()||function(){try{return new f.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}()}:ro,Ne=P.ajaxSettings.xhr(),P.support.cors=!!Ne&&"withCredentials"in Ne,(P.support.ajax=!!Ne)&&P.ajaxTransport(function(l){var u;if(!l.crossDomain||P.support.cors)return{send:function(e,r){var s,n,c=l.xhr();if(l.username?c.open(l.type,l.url,l.async,l.username,l.password):c.open(l.type,l.url,l.async),l.xhrFields)for(n in l.xhrFields)c[n]=l.xhrFields[n];l.mimeType&&c.overrideMimeType&&c.overrideMimeType(l.mimeType),l.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");try{for(n in e)c.setRequestHeader(n,e[n])}catch(e){}c.send(l.hasContent&&l.data||null),u=function(e,n){var t,o,a,i;try{if(u&&(n||4===c.readyState))if(u=k,s&&(c.onreadystatechange=P.noop,At)&&delete Ct[s],n)4!==c.readyState&&c.abort();else{i={},t=c.status,o=c.getAllResponseHeaders(),"string"==typeof c.responseText&&(i.text=c.responseText);try{a=c.statusText}catch(e){a=""}t||!l.isLocal||l.crossDomain?1223===t&&(t=204):t=i.text?200:404}}catch(e){n||r(-1,e)}i&&r(t,a,i,o)},l.async?4===c.readyState?setTimeout(u):(s=++wt,At&&(Ct||(Ct={},P(f).unload(At)),Ct[s]=u),c.onreadystatechange=u):u()},abort:function(){u&&u(k,!0)}}});var St,Tt,jt=/^(?:toggle|show|hide)$/,Pt=RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),Mt=/queueHooks$/,Nt=[function(n,e,t){var o,a,i,r,s,c,l=this,u={},m=n.style,d=n.nodeType&&Kt(n),p=P._data(n,"fxshow");for(o in t.queue||(null==(s=P._queueHooks(n,"fx")).unqueued&&(s.unqueued=0,c=s.empty.fire,s.empty.fire=function(){s.unqueued||c()}),s.unqueued++,l.always(function(){l.always(function(){s.unqueued--,P.queue(n,"fx").length||s.empty.fire()})})),1===n.nodeType&&("height"in e||"width"in e)&&(t.overflow=[m.overflow,m.overflowX,m.overflowY],"inline"===P.css(n,"dis
2play"))&&"none"===P.css(n,"float")&&(P.support.inlineBlockNeedsLayout&&"inline"!==no(n.nodeName)?m.zoom=1:m.display="inline-block"),t.overflow&&(m.overflow="hidden",P.support.shrinkWrapBlocks||l.always(function(){m.overflow=t.overflow[0],m.overflowX=t.overflow[1],m.overflowY=t.overflow[2]})),e)if(a=e[o],jt.exec(a)){if(delete e[o],i=i||"toggle"===a,a===(d?"hide":"show"))continue;u[o]=p&&p[o]||P.style(n,o)}if(!P.isEmptyObject(u))for(o in p?"hidden"in p&&(d=p.hidden):p=P._data(n,"fxshow",{}),i&&(p.hidden=!d),d?P(n).show():l.done(function(){P(n).hide()}),l.done(function(){for(var e in P._removeData(n,"fxshow"),u)P.style(n,e,u[e])}),u)r=co(d?p[o]:0,o,l),o in p||(p[o]=r.start,d&&(r.end=r.start,r.start="width"===o||"height"===o?1:0))}],It={"*":[function(e,n){var t=this.createTween(e,n),o=t.cur(),n=Pt.exec(n),a=n&&n[3]||(P.cssNumber[e]?"":"px"),i=(P.cssNumber[e]||"px"!==a&&+o)&&Pt.exec(P.css(t.elem,e)),r=1,s=20;if(i&&i[3]!==a)for(a=a||i[3],n=n||[],i=+o||1;P.style(t.elem,e,(i/=r=r||".5")+a),r!==(r=t.cur()/o)&&1!==r&&--s;);return n&&(i=t.start=+i||+o||0,t.unit=a,t.end=n[1]?i+(n[1]+1)*n[2]:+n[2]),t}]};P.Animation=P.extend(lo,{tweener:function(e,n){for(var t,o=0,a=(e=P.isFunction(e)?(n=e,["*"]):e.split(" ")).length;o<a;o++)t=e[o],It[t]=It[t]||[],It[t].unshift(n)}
2,prefilter:function(e,n){n?Nt.unshift(e):Nt.push(e)}}),((P.Tween=d).prototype={constructor:d,init:function(e,n,t,o,a,i){this.elem=e,this.prop=t,this.easing=a||"swing",this.options=n,this.start=this.now=this.cur(),this.end=o,this.unit=i||(P.cssNumber[t]?"":"px")},cur:function(){var e=d.propHooks[this.prop];return(e&&e.get?e:d.propHooks._default).get(this)},run:function(e){var n=d.propHooks[this.prop];return this.pos=e=this.options.duration?P.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),(n&&n.set?n:d.propHooks._default).set(this),this}}).init.prototype=d.prototype,(d.propHooks={_default:{get:function(e){var n;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(n=P.css(e.elem,e.prop,""))&&"auto"!==n?n:0:e.elem[e.prop]},set:function(e){P.fx.step[e.prop]?P.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[P.cssProps[e.prop]]||P.cssHooks[e.prop])?P.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}}).scrollTop=d.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},P.each(["toggle","show","hide"],function(e,o){var a=P.fn[o];P.fn[o]=function(e,n,t){return null==e||"boolean"==typeof e?a.apply(this,arguments):this.animate(uo(o,!0),e,n,t)}}),P.fn.extend({fadeTo:function(e,n,t,o){return this.filter(Kt).css("opacity",0).show().end().animate({opacity:n},e,t,o)},animate:function(n,e,t,o){function a(){var e=lo(this,P.extend({},n),r);(i||P._data(this,"finish"))&&e.stop(!0)}var i=P.isEmptyObject(n),r=P.speed(e,t,o);return a.finish=a,i||!1===r.queue?this.each(a):this.queue(r.queue,a)},stop:function(a,e,i){function r(e){var n=e.stop;delete e.stop,n(i)}return"string"!=typeof a&&(i=e,e=a,a=k),e&&!1!==a&&this.queue(a||"fx",[]),this.each(function(){var e=!0,n=null!=a&&a+"queueHooks",t=P.timers,o=P._data(this);if(n)o[n]&&o[n].stop&&r(o[n]);else for(n in o)o[n]&&o[n].stop&&Mt.test(n)&&r(o[n]);for(n=t.length;n--;)t[n].elem!==this||null!=a&&t[n].queue!==a||(t[n].anim.stop(i),e=!1,t.splice(n,1));!e&&i||P.dequeue(this,a)})},finish:function(r){return!1!==r&&(r=r||"fx"),this.each(function(){var e,n=P._data(this),t=n[r+"queue"],o=n[r+"queueHooks"],a=P.timers,i=t?t.length:0;for(n.finish=!0,P.queue(this,r,[]),o&&o.stop&&o.stop.call(this,!0),e=a.length;e--;)a[e].elem===this&&a[e].queue===r&&(a[e].anim.stop(!0),a.splice(e,1));for(e=0;e<i;e++)t[e]&&t[e].finish&&t[e].finish.call(this);delete n.finish})}}),P.each({slideDown:uo("show"),slideUp:uo("hide"),slideToggle:uo("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,o){P.fn[e]=function(e,n,t){return this.animate(o,e,n,t)}}),P.speed=function(e,n,t){var o=e&&"object"==typeof e?P.extend({},e):{complete:t||!t&&n||P.isFunction(e)&&e,duration:e,easing:t&&n||n&&!P.isFunction(n)&&n};return o.duration=P.fx.off?0:"number"==typeof o.duration?o.duration:o.duration in P.fx.speeds?P.fx.speeds[o.duration]:P.fx.speeds._default,null!=o.queue&&!0!==o.queue||(o.queue="fx"),o.old=o.complete,o.complete=function(){P.isFunction(o.old)&&o.old.call(this),o.queue&&P.dequeue(this,o.queue)},o},P.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},P.timers=[],P.fx=d.prototype.init,P.fx.tick=function(){var e,n=P.timers,t=0;for(St=P.now();n.length>t;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||P.fx.stop(),St=k},P.fx.timer=function(e){e()&&P.timers.push(e)&&P.fx.start()},P.fx.interval=13,P.fx.start=function(){Tt=Tt||setInterval(P.fx.tick,P.fx.interval)},P.fx.stop=function(){clearInterval(Tt),Tt=null},P.fx.speeds={slow:600,fast:200,_default:400},P.fx.step={},P.expr&&P.expr.filters&&(P.expr.filters.animated=function(n){return P.grep(P.timers,function(e){return n===e.elem}).length}),P.fn.offset=function(n){var e,t,o,a;return arguments.length?n===k?this:this.each(function(e){P.offset.setOffset(this,n,e)}):(t={top:0,left:0},(a=(o=this[0])&&o.ownerDocument)?(e=a.documentElement,P.contains(e,o)?(typeof o.getBoundingClientRect!=h&&(t=o.getBoundingClientRect()),o=mo(a),{top:t.top+(o.pageYOffset||e.scrollTop)-(e.clientTop||0),left
2:t.left+(o.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):t):void 0)},P.offset={setOffset:function(e,n,t){var o,a=P.css(e,"position"),i=("static"===a&&(e.style.position="relative"),P(e)),r=i.offset(),s=P.css(e,"top"),c=P.css(e,"left"),l={},a=("absolute"===a||"fixed"===a)&&-1<P.inArray("auto",[s,c])?(o=(a=i.position()).top,a.left):(o=parseFloat(s)||0,parseFloat(c)||0);null!=(n=P.isFunction(n)?n.call(e,t,r):n).top&&(l.top=n.top-r.top+o),null!=n.left&&(l.left=n.left-r.left+a),"using"in n?n.using.call(e,l):i.css(l)}},P.fn.extend({position:function(){var e,n,t,o;if(this[0])return t={top:0,left:0},o=this[0],"fixed"===P.css(o,"position")?n=o.getBoundingClientRect():(e=this.offsetParent(),n=this.offset(),(t=P.nodeName(e[0],"html")?t:e.offset()).top+=P.css(e[0],"borderTopWidth",!0),t.left+=P.css(e[0],"borderLeftWidth",!0)),{top:n.top-t.top-P.css(o,"marginTop",!0),left:n.left-t.left-P.css(o,"marginLeft",!0)}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||W;e&&!P.nodeName(e,"html")&&"static"===P.css(e,"position");)e=e.offsetParent;return e||W})}}),P.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,a){var i=/Y/.test(a);P.fn[n]=function(e){return P.access(this,function(e,n,t){var o=mo(e);return t===k?o?a in o?o[a]:o.document.documentElement[n]:e[n]:(o?o.scrollTo(i?P(o).scrollLeft():t,i?t:P(o).scrollTop()):e[n]=t,k)},n,e,arguments.length,null)}}),P.each({Height:"height",Width:"width"},function(i,r){P.each({padding:"inner"+i,content:r,"":"outer"+i},function(o,e){P.fn[e]=function(e,n){var t=arguments.length&&(o||"boolean"!=typeof e),a=o||(!0===e||!0===n?"margin":"border");return P.access(this,function(e,n,t){var o;return P.isWindow(e)?e.document.documentElement["client"+i]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+i],o["scroll"+i],e.body["offset"+i],o["offset"+i],o["client"+i])):t===k?P.css(e,n,a):P.style(e,n,t,a)},r,t?e:k,t,null)}})}),P.fn.size=function(){return this.length},P.fn.andSelf=P.fn.addBack,"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=P:(f.AllianceReseaux.jQuery=P,"function"==typeof define&&define.amd&&define("jquery",[],function(){return P}))}function Ot(e){var n=e.length,t=P.type(e);return!P.isWindow(e)&&(!(1!==e.nodeType||!n)||"array"===t||"function"!==t&&(0===n||"number"==typeof n&&0<n&&n-1 in e))}function Dt(e,n,t,o){if(P.acceptData(e)){var a,i=P.expando,r=e.nodeType,s=r?P.cac
2he:e,c=r?e[i]:e[i]&&i;if(c&&s[c]&&(o||s[c].data)||t!==k||"string"!=typeof n)return s[c=c||(r?e[i]=Z.pop()||P.guid++:i)]||(s[c]=r?{}:{toJSON:P.noop}),"object"!=typeof n&&"function"!=typeof n||(o?s[c]=P.extend(s[c],n):s[c].data=P.extend(s[c].data,n)),e=s[c],o||(e.data||(e.data={}),e=e.data),t!==k&&(e[P.camelCase(n)]=t),"string"==typeof n?null==(a=e[n])&&(a=e[P.camelCase(n)]):a=e,a}}function Bt(e,n,t){if(P.acceptData(e)){var o,a,i=e.nodeType,r=i?P.cache:e,s=i?e[P.expando]:P.expando;if(r[s]){if(n&&(o=t?r[s]:r[s].data)){a=(n=P.isArray(n)?n.concat(P.map(n,P.camelCase)):n in o||(n=P.camelCase(n))in o?[n]:n.split(" ")).length;for(;a--;)delete o[n[a]];if(t?!Et(o):!P.isEmptyObject(o))return}(t||(delete r[s].data,Et(r[s])))&&(i?P.cleanData([e],!0):P.support.deleteExpando||r!=r.window?delete r[s]:r[s]=null)}}}function Lt(e,n,t){if(t===k&&1===e.nodeType){var o="data-"+n.replace(rn,"-$1").toLowerCase();if("string"==typeof(t=e.getAttribute(o))){try{t="true"===t||"false"!==t&&("null"===t?null:+t+""===t?+t:an.test(t)?P.parseJSON(t):t)}catch(e){}P.data(e,n,t)}else t=k}return t}function Et(e){for(var n in e)if(("data"!==n||!P.isEmptyObject(e[n]))&&"toJSON"!==n)return;return 1}function Rt(){return!0}function _t(){return!1}function zt(){try{return g.activeElement}catch(e){}}function Ht(e,n){for(;(e=e[n])&&1!==e.nodeType;);return e}function Gt(e,t,o){if(P.isFunction(t))return P.grep(e,function(e,n){return!!t.call(e,n,e)!==o});if(t.nodeType)return P.grep(e,function(e){return e===t!==o});if("string"==typeof t){if(xn.test(t))return P.filter(t,e,o);t=P.filter(t,e)}return P.grep(e,function(e){return 0<=P.inArray(e,t)!==o})}function $t(e){var n=An.split("|"),t=e.createDocumentFragment();if(t.createElement)for(;n.length;)t.createElement(n.pop());return t}function Ft(e,n){return P.nodeName(e,"table")&&P.nodeName(1===n.nodeType?n:n.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function qt(e){return e.type=(null!==P.find.attr(e,"type"))+"/"+e.type,e}function Ut(e){var n=En.exec(e.type);return n?e.type=n[1]:e.removeAttribute("type"),e}function Jt(e,n){for(var t,o=0;null!=(t=e[o]);o++)P._data(t,"globalEval",!n||P._data(n[o],"globalEval"))}function Qt(e,n){if(1===n.nodeType&&P.hasData(e)){var t,o,a,e=P._data(e),i=P._data(n,e),r=e.events;if(r)for(t in delete i.handle,i.events={},r)for(o=0,a=r[t].length;o<a;o++)P.event.add(n,t,r[t][o]);i.data&&(i.data=P.extend({},i.data))}}function b(e,n){var t,o,a=0,i=typeof e.getElementsByTagName!=h?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!=h?e.querySelectorAll(n||"*"):k;if(!i)for(i=[],t=e.childNodes||e;null!=(o=t[a]);a++)!n||P.nodeName(o,n)?i.push(o):P.merge(i,b(o,n));return n===k||n&&P.nodeName(e,n)?P.merge([e],i):i}function Vt(e){Dn.test(e.type)&&(e.defaultChecked=e.checked)}function Wt(e,n){if(n in e)return n;for(var t=n.charAt(0).toUpperCase()+n.slice(1),o=n,a=et.length;a--;)if((n=et[a]+t)in e)return n;return o}function Kt(e,n){return"none"===P.css(e=n||e,"display")||!P.contains(e.ownerDocument,e)}function Xt(e,n){for(var t,o,a,i=[],r=0,s=e.length;r<s;r++)(o=e[r]).style&&(i[r]=P._data(o,"olddisplay"),t=o.style.display,n?(i[r]||"none"!==t||(o.style.display=""),""===o.style.display&&Kt(o)&&(i[r]=P._data(o,"olddisplay",no(o.nodeName)))):!i[r]&&(a=Kt(o),t&&"none"!==t||!a)&&P._data(o,"olddisplay",a?t:P.css(o,"display")));for(r=0;r<s;r++)!(o=e[r]).style||n&&"none"!==o.style.display&&""!==o.style.display||(o.style.display=n?i[r]||"":"none");return e}function Yt(e,n,t){var o=Qn.exec(n);return o?Math.max(0,o[1]-(t||0))+(o[2]||"px"):n}function Zt(e,n,t,o,a){for(var i=t===(o?"border":"content")?4:"width"===n?1:0,r=0;i<4;i+=2)"margin"===t&&(r+=P.css(e,t+Zn[i],!0,a)),o?("content"===t&&(r-=P.css(e,"padding"+Zn[i],!0,a)),"margin"!==t&&(r-=P.css(e,"border"+Zn[i]+"Width",!0,a))):(r+=P.css(e,"padding"+Zn[i],!0,a),"padding"!==t&&(r+=P.css(e,"border"+Zn[i]+"Width",!0,a)));return r}function eo(e,n,t){var o=!0,a="width"===n?e.offsetWidth:e.offsetHeight,i=Hn(e),r=P.support.boxSizing&&"border-box"===P.css(e,"boxSizing",!1,i);if(a<=0||null==a){if(((a=Gn(e,n,i))<0||null==a)&&(a=e.style[n]),Vn.test(a))return a;
2o=r&&(P.support.boxSizingReliable||a===e.style[n]),a=parseFloat(a)||0}return a+Zt(e,n,t||(r?"border":"content"),o,i)+"px"}function no(e){var n=g,t=Kn[e];return t||("none"!==(t=to(e,n))&&t||((n=((zn=(zn||P("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(n.documentElement))[0].contentWindow||zn[0].contentDocument).document).write("<!doctype html><html><body>"),n.close(),t=to(e,n),zn.detach()),Kn[e]=t),t}function to(e,n){e=P(n.createElement(e)).appendTo(n.body),n=P.css(e[0],"display");return e.remove(),n}function oo(i){return function(e,n){"string"!=typeof e&&(n=e,e="*");var t,o=0,a=e.toLowerCase().match(M)||[];if(P.isFunction(n))for(;t=a[o++];)"+"===t[0]?(t=t.slice(1)||"*",(i[t]=i[t]||[]).unshift(n)):(i[t]=i[t]||[]).push(n)}}function ao(n,o,a,i){var r={},s=n===yt;function c(e){var t;return r[e]=!0,P.each(n[e]||[],function(e,n){n=n(o,a,i);return"string"!=typeof n||s||r[n]?s?!(t=n):k:(o.dataTypes.unshift(n),c(n),!1)}),t}return c(o.dataTypes[0])||!r["*"]&&c("*")}function io(e,n){var t,o,a=P.ajaxSettings.flatOptions||{};for(o in n)n[o]!==k&&((a[o]?e:t=t||{})[o]=n[o]);return t&&P.extend(!0,e,t),e}function ro(){try{return new f.XMLHttpRequest}catch(e){}}function so(){return setTimeout(function(){St=k}),St=P.now()}function co(e,n,t){for(var o,a=(It[n]||[]).concat(It["*"]),i=0,r=a.length;i<r;i++)if(o=a[i].call(t,n,e))return o}function lo(a,e,n){var t,i,o,r,s,c,l,u=0,m=Nt.length,d=P.Deferred().always(function(){delete p.elem}),p=function(){if(i)return!1;for(var e=St||so(),e=Math.max(0,f.startTime+f.duration-e),n=1-(e/f.duration||0),t=0,o=f.tweens.length;t<o;t++)f.tweens[t].run(n);return d.notifyWith(a,[f,n,e]),n<1&&o?e:(d.resolveWith(a,[f]),!1)},f=d.promise({elem:a,props:P.extend({},e),opts:P.extend(!0,{specialEasing:{}},n),originalProperties:e,originalOptions:n,startTime:St||so(),duration:n.duration,tweens:[],createTween:function(e,n){
2n=P.Tween(a,f.opts,e,n,f.opts.specialEasing[e]||f.opts.easing);return f.tweens.push(n),n},stop:function(e){var n=0,t=e?f.tweens.length:0;if(!i){for(i=!0;n<t;n++)f.tweens[n].run(1);e?d.resolveWith(a,[f,e]):d.rejectWith(a,[f,e])}return this}}),h=f.props,g=h,v=f.opts.specialEasing;for(o in g)if(r=P.camelCase(o),s=v[r],c=g[o],P.isArray(c)&&(s=c[1],c=g[o]=c[0]),o!==r&&(g[r]=c,delete g[o]),l=P.cssHooks[r],l&&"expand"in l)for(o in c=l.expand(c),delete g[r],c)o in g||(g[o]=c[o],v[o]=s);else v[r]=s;for(;u<m;u++)if(t=Nt[u].call(f,a,h,f.opts))return t;return P.map(h,co,f),P.isFunction(f.opts.start)&&f.opts.start.call(a,f),P.fx.timer(P.extend(p,{elem:a,anim:f,queue:f.opts.queue})),f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always)}function d(e,n,t,o,a){return new d.prototype.init(e,n,t,o,a)}function uo(e,n){var t,o={height:e},a=0;for(n=n?1:0;a<4;a+=2-n)o["margin"+(t=Zn[a])]=o["padding"+t]=e;return n&&(o.opacity=o.width=e),o}function mo(e){return P.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}}(window),void 0===AllianceReseaux.jQuery.migrateMute&&(AllianceReseaux.jQuery.migrateMute=!0),function(c,t,l){function u(e){var n=t.console;o[e]||(o[e]=!0,c.migrateWarnings.push(e),n&&n.warn&&!c.migrateMute&&(n.warn("JQMIGRATE: "+e),c.migrateTrace)&&n.trace&&n.trace())}function e(e,n,t,o){if(Object.defineProperty)try{return Object.defineProperty(e,n,{configurable:!0,enumerable:!0,get:function(){return u(o),t},set:function(e){u(o),t=e}})}catch(e){}c._definePropertyBroken=!0,e[n]=t}var o={},r=(c.migrateWarnings=[],!c.migrateMute&&t.console&&t.console.log&&t.console.log("JQMIGRATE: Logging is active"),c.migrateTrace===l&&(c.migrateTrace=!0),c.migrateReset=function(){o={},c.migrateWarnings.length=0},"BackCompat"===document.compatMode&&u("jQuery is not compatible with Quirks Mode"),c("<input/>",{size:1}).attr("size")&&c.attrFn),s=c.attr,a=c.attrHooks.value&&c.attrHooks.value.get||function(){return null},i=c.attrHooks.value&&c.attrHooks.value.set||function(){return l},m=/^(?:input|button)$/i,d=/^[238]$/,p=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,f=/^(?:checked|selected)$/i;e(c,"attrFn",r||{},"jQuery.attrFn is deprecated"),c.attr=function(e,n,t,o){var a=n.toLowerCase(),i=e&&e.nodeType;return o&&(s.length<4&&u("jQuery.fn.attr( props, pass ) is deprecated"),e)&&!d.test(i)&&(r?n in r:c.isFunction(c.fn[n]))?c(e)[n](t):("type"===n&&t!==l&&m.test(e.nodeName)&&e.parentNode&&u("Can't change the 'type' of an input or button in IE 6/7/8"),!c.attrHooks[a]&&p.test(a)&&(c.attrHooks[a]={get:function(e,n){var t=c.prop(e,n);return!0===t||"boolean"!=typeof t&&(t=e.getAttributeNode(n))&&!1!==t.nodeValue?n.toLowerCase():l},set:function(e,n,t){return!1===n?c.removeAttr(e,t):((n=c.propFix[t]||t)in e&&(e[n]=!0),e.setAttribute(t,t.toLowerCase())),t}},f.test(a))&&u("jQuery.fn.attr('"+a+"') may use property instead of attribute"),s.call(c,e,n,t))},c.attrHooks.value={get:function(e,n){var t=(e.nodeName||"").toLowerCase();return"button"===t?a.apply(this,arguments):("input"!==t&&"option"!==t&&u("jQuery.fn.attr('value') no longer gets properties"),n in e?e.value:null)},set:function(e,n){var t=(e.nodeName||"").toLowerCase();return"button"===t?i.apply(this,arguments):("input"!==t&&"option"!==t&&u("jQuery.fn.attr('value', val) no longer sets properties"),e.value=n,l)}};function h(e){return"string"!=typeof e||c.event.special.hover?e:(N.test(e)&&u("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),e&&e.replace(N,"mouseenter$1 mouseleave$1"))}var n,g=c.fn.init,v=c.parseJSON,y=/^([^<]*)(<[\w\W]+>)([^>]*)$/,b=(c.fn.init=function(e,n,t){var o;return e&&"string"==typeof e&&!c.isPlainObject(n)&&(o=y.exec(c.trim(e)))&&o[0]&&("<"!==e.charAt(0)&&u("$(html) HTML strings must start with '<' character"),o[3]&&u("$(html) HTML text after last tag is ignored"),"#"===o[0].charAt(0)&&(u("HTML string cannot start with a '#' character"),c.error("JQMIGRATE: Invalid selector string (XSS)")),n&&n.context&&(n=n.context),c.parseHTML)?g.call(this,c.parseHTML(o[2],n,!0),n,t):g.apply(this,arguments)},c.fn.init.prototype=c.fn,c.parseJSON=function(e){return e||null===e?v.apply(this,arguments):(u("jQuery.parseJSON requires a valid JSON string"),null)},c.uaMatch=function(e){e=e.toLowerCase();e=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:e[1]||"",version:e[2]||"0"}},c.browser||(n={},(P=c.uaMatch(navigator.userAgent)).browser&&(n[P.browser]=!0,n.version=P.version),n.chrome?n.webkit=!0:n.webkit&&(n.safari=!0),c.browser=n),e(c,"browser",c.browser,"jQuery.browser is deprecated"),c.sub=function(){function t(e,n){return new t.fn.init(e,n)}c.extend(!0,t,this),t.superclass=this,((t.fn=t.prototype=this()).constructor=t).sub=this.sub,t.fn.init=function(e,n){return n&&n instanceof c&&!(n instanceof t)&&(n=t(n)),c.fn.init.call(this,e,n,o)},t.fn.init.prototype=t.fn;var o=t(document);return u("jQuery.sub() is deprecated"),t},c.ajaxSetup({converters:{"text json":c.parseJSON}}),c.fn.data),x=(c.fn.data=function(e){var n,t=this[0];return t&&"events"===e&&1===arguments.length&&(n=c.data(t,e),t=c._data(t,e),n===l||n===t)&&t!==l?(u("Use of jQuery.fn.data('events') is deprecated"),t):b.apply(this,arguments)},/\/(java|ecma)script/i),k=c.fn.andSelf||c.fn.addBack,C=(c.fn.andSelf=function(){return u("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),k.apply(this,arguments)},c.clean||(c.clean=function(e,n,t,o){n=(n=!(n=n||document).nodeType&&n[0]||n).ownerDocument||n,u("jQuery.clean() is deprecated");var a,i,r,s=[];
2if(c.merge(s,c.buildFragment(e,n).childNodes),t)for(i=function(e){return!e.type||x.test(e.type)?o?o.push(e.parentNode?e.parentNode.removeChild(e):e):t.appendChild(e):l},a=0;null!=(r=s[a]);a++)c.nodeName(r,"script")&&i(r)||(t.appendChild(r),r.getElementsByTagName!==l&&(r=c.grep(c.merge([],r.getElementsByTagName("script")),i),s.splice.apply(s,[a+1,0].concat(r)),a+=r.length));return s}),c.event.add),w=c.event.remove,A=c.event.trigger,S=c.fn.toggle,T=c.fn.live,j=c.fn.die,P="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",M=RegExp("\\b(?:"+P+")\\b"),N=/(?:^|\s)hover(\.\S+|)\b/;c.event.props&&"attrChange"!==c.event.props[0]&&c.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),c.event.dispatch&&e(c.event,"handle",c.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),c.event.add=function(e,n,t,o,a){e!==document&&M.test(n)&&u("AJAX events should be attached to document: "+n),C.call(this,e,h(n||""),t,o,a)},c.event.remove=function(e,n,t,o,a){w.call(this,e,h(n)||"",t,o,a)},c.fn.error=function(){var e=Array.prototype.slice.call(arguments,0);return u("jQuery.fn.error() is deprecated"),e.splice(0,0,"error"),arguments.length?this.bind.apply(this,e):(this.triggerHandler.apply(this,e),this)},c.fn.toggle=function(t,e){if(!c.isFunction(t)||!c.isFunction(e))return S.apply(this,arguments);u("jQuery.fn.toggle(handler, handler...) is deprecated");function n(e){var n=(c._data(this,"lastToggle"+t.guid)||0)%i;return c._data(this,"lastToggle"+t.guid,1+n),e.preventDefault(),o[n].apply(this,arguments)||!1}var o=arguments,a=t.guid||c.guid++,i=0;for(n.guid=a;o.length>i;)o[i++].guid=a;return this.click(n)},c.fn.live=function(e,n,t){return u("jQuery.fn.live() is deprecated"),T?T.apply(this,arguments):(c(this.context).on(e,this.selector,n,t),this)},c.fn.die=function(e,n){return u("jQuery.fn.die() is deprecated"),j?j.apply(this,arguments):(c(this.context).off(e,this.selector||"**",n),this)},c.event.trigger=function(e,n,t,o){return t||M.test(e)||u("Global events are undocumented and deprecated"),A.call(this,e,n,t||document,o)},c.each(P.split("|"),function(e,n){c.event.special[n]={setup:function(){var e=this;return e!==document&&(c.event.add(document,n+"."+c.guid,function(){c.event.trigger(n,null,e,!0)}),c._data(this,n,c.guid++)),!1},teardown:function(){return this!==document&&c.event.remove(document,n+"."+c._data(this,n)),!1}}})}(AllianceReseaux.jQuery,window),!function(r){var s=0;AllianceReseaux._build={_packs:{},_https:"https:"==(document.location.protocol||"")},AllianceReseaux.jQuery('script[src*="widgets-libs/rel/noyau-"][src*="packs="]').each(function(){var e=this.src.match(/packs=([^&$]*)/i);if(e&&e[1])for(var n,t=e[1].split(","),o=0;n=t[o];o++)AllianceReseaux._build._packs[n.toLowerCase()]||(AllianceReseaux._build._packs[n.toLowerCase()]={},AllianceReseaux.jQuery.ajax({url:this.src.match(/(.*)\/widgets-libs\/rel\/noyau-/i)[1]+"/widgets-libs/rel/os"+n.toLowerCase()+"/os"+n.toLowerCase()+"-pack-1.0.min.js",dataType:"script",cache:!0}))}),AllianceReseaux.Widget||(AllianceReseaux.Widget=new function(){this.Instance=function(e,n){return new t(e,n)};var t=function(t,n){var o=null,e="osw-"+s++,a=(n=r.extend(!0,{instanceId:e},n),"Panier"==t&&(this.Instance=function(){return o||AllianceReseaux.Interne.Panier.Instance(n)}),function(e){AllianceReseaux._build._load?e():setTimeout(function(){a(e)},200)}),i=function(e){(o=AllianceReseaux._build._load?o||(((AllianceReseaux.Interne||{})[t]||{}).Instance||function(){return null})(n):null)?e():setTimeout(function(){i(e)},200)};a(function(){var e,n;AllianceReseaux.Interne[t]||AllianceReseaux._build._packs[t.toLowerCase()]||(AllianceReseaux._build._packs[t.toLowerCase()]={},e=0<(e=AllianceReseaux.jQuery('script[src*="widgets-libs/rel/noyau-"]')).length?e[0].src.match(/(.*)\/widgets-libs\/rel\/noyau-/i)[1]:(AllianceReseaux._build._https?"https:":"http:")+"//gadget.open-system.fr",n=t.toLowerCase(),AllianceReseaux.jQuery.ajax({url:e+"/widgets-libs/rel/os"+n.toLowerCase()+"/os"+n.toLowerCase()+"-pack-1.0.min.js",dataType:"script",cache:!0}))}),this.Type=function(){return t},this.PreApp=function(e,n){i(function(){o.PreApp(e,n)})},this.Initialise=function(e){i(function(){o.Initialise(e)})}
2,this.App=function(e,n){i(function(){o.App(e,n)})},this.Evt=function(e,n){i(function(){o.Evt&&o.Evt(e,n)})},this.Extension=function(e,n){i(function(){o.Extension&&o.Extension(e,n)})},this.GetInstanceId=function(){return e}}})}((window,AllianceReseaux.jQuery)),!function(e,t){t.URLHelper||(t.URLHelper={},t.URLHelper.isLocalhost=function(e){return-1<e.indexOf("//localhost")},t.URLHelper.isPageLocalhost=function(e){return t.URLHelper.isLocalhost(document.location.href)},t.URLHelper.setScheme=function(e,n){return e+"://"+n.replace(/^(?:https?:)?\/\//i,"")},t.URLHelper.getScheme=function(e){var n=e.indexOf("://");return-1===n?"":e.substring(0,n).toLowerCase()},t.URLHelper.setPageCompatibleScheme=function(e){return t.URLHelper.setScheme("https"===((n=document.location.protocol)?n.substring(0,Math.max(0,n.length-1)):"")||"http"!==t.URLHelper.getScheme(e)?"https":"http",e);var n},t.URLHelper.combine=function(){var t="";return e.each(arguments,function(e,n){null!=n&&""!==n&&(""!==t?(/\/$/.test(t)||(t+="/"),t+=/^\//.test(n)?n.substring(1):n):t+=n)}),t})}((window,AllianceReseaux.jQuery),AllianceReseaux),!function(t){var n,o,a,i;t.Config||(n=t.URLHelper.setPageCompatibleScheme("//etape-rest.for-system.com/index.aspx"),o=t.URLHelper.setPageCompatibleScheme("//gadget.open-system.fr"),a=t.URLHelper.setPageCompatibleScheme("//img.for-system.com"),i=t.URLHelper.setPageCompatibleScheme("//api-dossier.open-system.fr"),t.Config={},t.Config.getUrlEtapeRest=function(){return n},t.Config.setUrlEtapeRest=function(e){n=t.URLHelper.setPageCompatibleScheme(e)},t.Config.setUrlGadget=function(e){o=t.URLHelper.setPageCompatibleScheme(e)},t.Config.getUrlGadget=function(e){return t.URLHelper.combine(o,e)},t.Config.getUrlImgOS=function(e,n){return t.URLHelper.combine(a,e,n)},t.Config.getUrlApiDossier=function(){return i},t.Config.setUrlApiDossier=function(e){i=t.URLHelper.setPageCompatibleScheme(e)},t.Config.getUrlProxyHttps=function(e){return t.URLHelper.setScheme("https",e)})}((window,AllianceReseaux.jQuery,AllianceReseaux)),!function(i,s,r){var t,c;r.Loader||(t={},c={OsPanier:{getUrl:function(){return"/widgets-libs/rel/ospanier/ospanier.min.js"},check:function(){return null!=r.OsPanier}},OsOverlay:{getUrl:function(){return"/widgets-libs/rel/osoverlay/osoverlay-1.0.min.js"},check:function(){return null!=r.OsOverlay}},WTooltip:{getUrl:function(){return"/widgets-libs/libs/wtooltip.min.js"},check:function(){return null!=s.fn.osLibWTooltip}},Overlay:{getUrl:function(){return"/widgets-libs/libs/overlay.min.js"},check:function(){return null!=s.fn.osLibOverlay}},RangeInput:{getUrl:function(){return"/widgets-libs/libs/rangeinput.min.js"},check:function(){return null!=s.fn.osLibRangeInput}},JQueryJson:{getUrl:function(){return"/widgets-libs/libs/jquery.json-2.2.min.js"},check:function(){return null!=s.toJSON}},UICore:{getUrl:function(){return"/widgets-libs/libs/jquery-ui-1.8.11.core.min.js"},check:function(){return null!=s.ui&&null!=s.ui.version}},UIDatePicker:{getUrl:function(){return"/widgets-libs/libs/jquery-ui-1.8.11.datepicker.min.js"},check:function(){return null!=s.datepicker},charset:"iso-8859-1"},Galleriffic:{getUrl:function(){return"/widgets-libs/libs/jquery.galleriffic-modifie.min.js"},check:function(){return null!=s.galleriffic}},OpacityRollOver:{getUrl:function(){return"/widgets-libs/libs/jquery.opacityrollover.min.js"},check:function(){return null!=s.fn.opacityrollover}},GoogleAnalytics:{getUrl:function(){return"http://www.google-analytics.com/ga.js"},check:function(){return i._gat}},SelectBox:{getUrl:function(){return"/widgets-libs/libs/jquery.selectbox-modifie-0.1.3.min.js"},check:function(){return s.fn.selectbox}},Flash:{getUrl:function(){return"/widgets-libs/libs/jquery.flash.min.js"},check:function(){return s.fn.flash}},OsTimeline:{getUrl:function(){return"/widgets-libs/rel/ostimeline/ostimeline-1.0.min.js"},check:function(){return null!=r.OsTimeline}},JQueryMobile:{getUrl:function(){return"/widgets-libs/libs/jquery.mobile-1.3.2.min.js"},check:function(){return s.mobile}},OsLibFormuleAge:{getUrl:function(){return"/widgets-libs/rel/metiers/oslibformuleage-1.0.min.js"},check:function(){return r.OsLibFormuleAge}},OsLibOpenProRate:{getUrl:function(){return"/widgets-libs/rel/metiers/oslibopenprorate-1.0.min.js"},check:function(){return r.OsLibOpenProRate}},OsFormulaire:{getUrl:function(){return"/widgets-libs/rel/osformulaire/osformulaire-1.0.min.js"},check:function(){return r.OsFormulaire}},DateRangePicker:{getUrl:function(){return"/widgets-libs/libs/daterangepicker.min.js"},check:function(){return null!=s.fn.daterangepicker}},Moment:{getUrl:function(){return"/widgets-libs/libs/moment.min.js"},check:function(){return null!=r.moment}},IntlTelInput:{getUrl:function(){return"/widgets-libs/libs/intlTelInput-18.1.4.min.js"},check:function(){return null!=AllianceReseaux.intlTelInput}}},r.Loader={},r.Loader.registerLib=function(e,n,t){return c[e]=n,t?r.Loader.load([e]):null},r.Loader.loadScript=function(e,n){(n=n||{}).recharger||!t[n.idScript||e]?(e={url:e,dataType:"script",cache:t[n.idScript||e]=!0,success:n.ApresChargement},n.charset&&(e.scriptCharset=n.charset),s.ajax(e)):n.ApresChargement&&n.ApresChargement()},r.Loader.when=function(t,o,a){var i,r=s.Deferred();return a=s.extend({delai:200},a),(i=function(e){var n=t();n?(o&&o(this),r.resolve(n)):0<e?setTimeout(function(){i(e-1)},a.delai):(a.err&&a.err("TimeOut"),r.reject())})(0===a.nb||0<a.nb?a.nb:100),r.promise()},r.Loader.whenLibLoaded=function(e,n){return r.Loader.when(c[e].check,n)},r.Loader.whenAllLibsLoaded=function(n,t){var o;return t?((o=function(e){r.Loader.whenLibLoaded(n[e],function(){e===n.length-1?t():o(e+1)})})(0),null):s.when.apply(s,s.map(n,function(e){return r.Loader.whenLibLoaded(e)}))},r.Loader.load=function(e,n){for(var t=0;t<e.length;t++){var o,a=e[t];i["_oslib_"+a]||c[a].check()||(i["_oslib_"+a]=!0,o=c[a].getUrl(),o=/^http/i.test(o)?r.URLHelper.setPageCompatibleScheme(o):r.URLHelper.combine(r.Config.getUrlGadget(),o),r.Loader.loadScript(o,{charset:c[a].charset}))}return r.Loader.whenAllLibsLoaded(e,n)})}(window,AllianceReseaux.jQuery,AllianceReseaux),!function(n){var o;n.DateHelper||(o={fr:{monthNames:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],monthNamesShort:["Janv.","Févr.","Mars","Avril","Mai","Juin","Juil.","Août","Sept.","Oct.","Nov.","Déc."],dayNames:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],dayNamesShort:["Dim.","Lun.","Mar.","Mer.","Jeu.","Ven.","Sam."]},uk:{monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
2ay","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},es:{monthNames:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],monthNamesShort:["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],dayNames:["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"],dayNamesShort:["Dom","Lun","Mar","Mié","Juv","Vie","Sáb"]},de:{monthNames:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],dayNames:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],dayNamesShort:["So","Mo","Di","Mi","Do","Fr","Sa"]},nl:{monthNames:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],monthNamesShort:["jan","feb","maa","apr","mei","jun","jul","aug","sep","okt","nov","dec"],dayNames:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],dayNamesShort:["zon","maa","din","woe","don","vri","zat"]},it:{monthNames:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],monthNamesShort:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],dayNames:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],dayNamesShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"]},ca:{monthNames:["Gener","Febrer","Març","Abril","Maig","Juny","Juliol","Agost","Setembre","Octubre","Novembre","Desembre"],monthNamesShort:["Gen","Feb","Mar","Abr","Mai","Jun","Jul","Ago","Set","Oct","Nov","Des"],dayNames:["Diumenge","Dilluns","Dimarts","Dimecres","Dijous","Divendres","Dissabte"],dayNamesShort:["Dug","Dln","Dmt","Dmc","Djs","Dvn","Dsb"]},pt:{monthNames:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthNamesShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],dayNames:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],dayNamesShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"]}},n.DateHelper={},n.DateHelper.format=function(e,n,t){t=o[t||"fr"];return null==t&&(t=o.fr),e="string"==typeof e?new Date(e):e,n.replace(/dddd/g,t.dayNames[e.getDay()]).replace(/ddd/g,t.dayNamesShort[e.getDay()]).replace(/dd/g,(""+(e.getDate()+100)).substring(1)).replace(/MMMM/g,t.monthNames[e.getMonth()]).replace(/MMM/g,t.monthNamesShort[e.getMonth()]).replace(/MM/g,(""+(e.getMonth()+101)).substring(1)).replace(/yyyy/g,e.getFullYear()).replace(/yy/g,(""+e.getFullYear()).substring(2)).replace(/HH/g,(""+(e.getHours()+100)).substring(1)).replace(/mm/g,(""+(e.getMinutes()+100)).substring(1))},n.DateHelper.formatToISO8601Date=function(e){return n.DateHelper.format(e,"yyyy-MM-dd")},n.DateHelper.addDays=function(e,n){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+n)},n.DateHelper.diffDays=function(e,n){return Math.round((new Date(n.getFullYear(),n.getMonth(),n.getDate(),12,0,0).getTime()-new Date(e.getFullYear(),e.getMonth(),e.getDate(),12,0,0).getTime())/1e3/3600/24)})}((window,AllianceReseaux.jQuery,AllianceReseaux)),!function(n,d){n.XmlConverter=function(){function r(e,n){return"<"+e+(null!=n&&0<n.length?" "+n.join(" "):"")+">"}function s(e){return"</"+e+">"}function c(e){var n,t=[];for(n in e)m(n)&&t.push(n.substring(1)+'="'+o(e[n])+'"');return t}function l(e){return n.XmlConverter.escape(e.toString())}function u(e){var n,t,o,a=typeof e;if("string"==a||"number"==a||"boolean"==a)return l(e);for(o in n="",e)if(!m(o))if(t=e[o],d.isArray(t))for(var i=0;i<t.length;i++)n+=r(o,c(t[i]))+u(t[i])+s(o);else n+="#text"===o?l(t):r(o,"object"==typeof t?c(t):"")+u(t)+s(o);return n}var m=function(e){return new RegExp("^@").test(e)},o=function(e){return n.XmlConverter.escapeAttributeValue(e.toString()).replace('"',""")};this.serializeObject=function(e,n){var t;return null!=n&&((t={})[n]=e,e=t),u(e)}},n.XmlConverter.escape=function(e){return e.replace(/&/gi,"&").replace(/</gi,"<").replace(/>/gi,">")},n.XmlConverter.escapeAttributeValue=function(e){return n.XmlConverter.escape(e).replace("'","'").replace('"',""")},n.XmlConverter.parseDate=function(e){e=new RegExp("^(?:(\\d*)-(\\d*)-(\\d*))?(?:T?(\\d+):(\\d+):(\\d+))?","gi").exec(e);return new Date(parseInt(e[1]||1,10),parseInt(e[2]||1,10)-1,parseInt(e[3]||2e3,10),parseInt(e[4]||0,10),parseInt(e[5]||0,10),parseInt(e[6]||0,10))}}((window,AllianceReseaux),AllianceReseaux.jQuery),!function(o,a){a.JPath||(a.JPath={},a.JPath.set=function(e,n,t,o){e=e||{};for(var a=n.match(/[^.]+/gi),i=0,r=e;i<a.length;i++){var s,c=a[i];i===a.length-1&&o&&((s=r[c]||[]).push(t),t=s),r=r[c]=i===a.length-1?t:r[c]||{}}return t},a.JPath.get=function(e,n){for(var t=n.split("."),o=0;o<t.length;o++){if(null==e[t[o]])return null;e=e[t[o]]}return e},a.JPath.setOrGetExisting=function(e,n,t){var o=a.JPath.get(e,n);return null!=o?o:a.JPath.set(e,n,t)},a.JPath.extend=function(e,n,t){return a.JPath.set(e,n,o.extend(!0,a.JPath.get(e,n),t))})}((window,AllianceReseaux.jQuery),AllianceReseaux),!function(e){e.Guid||(e.Guid={},e.Guid.newGuid=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var n=16*Math.random()|0;return("x"===e?n:3&n|8).toString(16)})})}((window,AllianceReseaux.jQuery,AllianceReseaux)),!function(r,m,s,c){var t,o,l,n,a,i;function e(e,n,t){this.cible=e,this.nom=n,t._osEvt=this,e.evts&&e.evts[n]&&e.evts[n].push(t)}null==s.OsBase&&(t=s.URLHelper.isPageLocalhost(),o=-1<document.location.href.indexOf("http://os40"),l=s.URLHelper.setPageCompatibleScheme("//json-post.for-system.com/postv2.aspx"),n=s.URLHelper.setPageCompatibleScheme("//json-catalogue.for-system.com/z6078"),a=s.URLHelper.setPageCompatibleScheme("//service-api.open-system.fr/dispo/Produit.aspx"),s.Integrations=function(){},s.Extensions={},s.plugins={rates:{},gm:{}},s.Textes=function(){},s.Interne={},s.Data={},null==s.Regional&&(s.Regional={fr:{closeText:"Fermer",prevText:"Précédent",nextText:"Suivant",currentText:"Aujourd'hui",monthNames:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],monthNamesShort:["Janv.","Févr.","Mars","Avril","Mai","Juin","Juil.","Août","Sept.","Oct.","Nov.","Déc."],dayNames:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],dayNamesShort:["Dim.","Lun.","Mar.","Mer.","Jeu.","Ven.","Sam."],dayNamesMin:["D","L","M","M","J","V","S"],weekHeader:"Sem.",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:"",closeOverlay:"Fermer",aPartirDe:"à partir de",adulte:"adulte",nbSemaines:function(e){return 1===e?e+" semaine":e+" semaines"},nbNuits:function(e){return 1===e?e+" nuit":e+" nuits"}},uk:{closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
2ay","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:"",closeOverlay:"Close",aPartirDe:"from",adulte:"adult",nbSemaines:function(e){return 1===e?e+" week":e+" weeks"},nbNuits:function(e){return 1===e?e+" night":e+" nights"}},es:{closeText:"Cerrar",prevText:"<Ant",nextText:"Sig>",currentText:"Hoy",monthNames:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],monthNamesShort:["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],dayNames:["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"],dayNamesShort:["Dom","Lun","Mar","Mié","Juv","Vie","Sáb"],dayNamesMin:["Do","Lu","Ma","Mi","Ju","Vi","Sá"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:"",closeOverlay:"Cerrar",aPartirDe:"a partir de",adulte:"adulto",nbSemaines:function(e){return 1===e?e+" semana":e+" semanas"},nbNuits:function(e){return 1===e?e+" noche":e+" noches"}},de:{closeText:"schlieÃen",prevText:"<zurück",nextText:"Vor>",currentText:"heute",monthNames:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],dayNames:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],dayNamesShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayNamesMin:["So","Mo","Di","Mi","Do","Fr","Sa"],weekHeader:"Wo",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:"",closeOverlay:"schlieÃen",aPartirDe:"ab",adulte:"erwachsener",nbSemaines:function(e){return 1===e?e+" woche":e+" wochen"},nbNuits:function(e){return 1===e?e+" nacht":e+" nächte"}},nl:{closeText:"Sluiten",prevText:"?",nextText:"?",currentText:"Vandaag",monthNames:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],monthNamesShort:["jan","feb","maa","apr","mei","jun","jul","aug","sep","okt","nov","dec"],dayNames:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],dayNamesShort:["zon","maa","din","woe","don","vri","zat"],dayNamesMin:["zo","ma","di","wo","do","vr","za"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:"",closeOverlay:"Sluiten",aPartirDe:"van",adulte:"volwassene",nbSemaines:function(e){return 1===e?e+" week":e+" weken"},nbNuits:function(e){return 1===e?e+" nacht":e+" nachten"}},it:{closeText:"Chiudi",prevText:"<Prec",nextText:"Succ>",currentText:"Oggi",monthNames:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],monthNamesShort:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],dayNames:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],dayNamesShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],dayNamesMin:["Do","Lu","Ma","Me","Gi","Ve","Sa"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:"",closeOverlay:"Chiudi",aPartirDe:"da",adulte:"adulto",nbSemaines:function(e){return 1===e?e+" settimana":e+" settimane"},nbNuits:function(e){return 1===e?e+" notte":e+" notti"}},ca:{closeText:"Tancar",prevText:"<Ant",nextText:"Seg>",currentText:"Avui",monthNames:["Gener","Febrer","Març","Abril","Maig","Juny","Juliol","Agost","Setembre","Octubre","Novembre","Desembre"],monthNamesShort:["Gen","Feb","Mar","Abr","Mai","Jun","Jul","Ago","Set","Oct","Nov","Des"],dayNames:["Diumenge","Dilluns","Dimarts","Dimecres","Dijous","Divendres","Dissabte"],dayNamesShort:["Dug","Dln","Dmt","Dmc","Djs","Dvn","Dsb"],dayNamesMin:["Dg","Dl","Dt","Dc","Dj","Dv","Ds"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:"",closeOverlay:"Tancar",aPartirDe:"des de",adulte:"adulto",nbSemaines:function(e){return 1===e?e+" setmana":e+" setmanes"},nbNuits:function(e){return 1===e?e+" nit":e+" nits"}},pt:{closeText:"Fechar",prevText:"Anterior",nextText:"Seguinte",currentText:"Hoje",monthNames:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthNamesShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],dayNames:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],dayNamesShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],dayNamesMin:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],weekHeader:"Sem",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:"",closeOverlay:"Close",aPartirDe:"from",adulte:"adult",nbSemaines:function(e){return 1===e?e+" semana":e+" semanas"},nbNuits:function(e){return 1===e?e+" noite":e+" noites"}}}),i={},e.prototype={cible:null,nom:null},s.OsEvt=e,s.OsBase={Localhost:function(){return t},Https:function(){return s._build._https},GetUrlHttpsCompatible:function(e){return s.URLHelper.setPageCompatibleScheme(e)},AjouteLib:function(e,n,t){s.Loader.registerLib(e,n,t)},SetUrlGadget:function(e){return s.Config.setUrlGadget(e)},SetUrlPost:function(e){l=e},UrlJSONCatalogue:function(e){return n=e!=c?e:n},UrlServiceAPIProduit:function(e){return a=e!=c?e:a},UrlEtapeRest:function(e){return e!=c&&s.Config.setUrlEtapeRest(e),s.Config.getUrlEtapeRest()},UrlImg:function(e,n){return s.Config.getUrlImgOS(e,n)},Trigger:function(e,n,t){if(e)for(var o=0;a=e[o];o++){var a=!a(a._osEvt,n,t);if(null!=a&&!a)return!1}return!0},GetUrlGadget:function(e,n){return n&&t?"http://localhost"+e:n&&o?"http://os40"+e:s.Config.getUrlGadget(e)},GetUrlScriptStatique:function(e){return"https://map-jsonp.open-system.fr"+e.toLowerCase()},ChargeLibs:function(e,n){return s.Loader.load(e,n)},ChargeDatePicker:function(n,t){this.ChargeLibs(["UICore","UIDatePicker"],function(){var e=s.Regional[n];m.datepicker.setDefaults(m.datepicker.regional[n]=e),t&&t()})},AttendreLib:function(e,n){return s.Loader.whenLibLoaded(e,n)},AttendreLibs:function(e,n){return s.Loader.whenAllLibsLoaded(e,n)},PostJSONP:function(e){if(e&&e.url&&e.data){var n=e.url,t=e.data,a=e.success||e.callback||function(){};if(m.support.cors&&"string"!=typeof t)m.ajax({url:n,type:"post",dataType:"json",xhrFields:{withCredentials:!0},data:t,success:a});else{var i=t&&"string"==typeof t?"&"+t:"";if(t&&"string"!=typeof t)for(var o in t)i+="&"+encodeURIComponent(o)+"="+encodeURIComponent(t[o]);m.ajax({url:l,dataType:"jsonp",data:{c:"open",url:n},success:function(e){function t(e){var n=i.substring(1e3*e,1e3*(e+1));m.ajax({url:l,dataType:"jsonp",data:{c:"bloc",id:o,i:e,b:n},success:function(){e+1<=i.length/1e3?t(e+1):m.ajax({url:l,dataType:"jsonp",data:{c:"post",id:o},success:a})}})}var o=e.id;t(0)}})}}},Attendre:function(e,n,t){return s.Loader.when(e,n,t)},ChargeCss:function(e,n){var t,n=n||{},o=m("link[href$='"+e+"']");return 0==o.length?(this.ExtensionLog({categorie:"Css",lien:e}),(t=document.createElement("link")).href=e,t.rel="stylesheet",t.type="text/css",n.apresDom?m(n.apresDom).after(t):m("head").prepend(t),t):o.get(0)},ChargeStyle:function(e,n){i[e]||(i[e]=!0,m(document.head||"head").append('<style type="text/css">'+n+"</style>"))},ChargeScript:function(e,n){s.Loader.loadScript(e,n)},ChargeIntegration:function(e,n){var t;if(e)return s.Integrations[e]||(t="integration/"+100*Math.floor(e/100)+"/"+e,this.ChargeScript(this.GetUrlGadget("/widgets/"+t+".js"),{idScript:t,charset
2:"utf-8"})),this.AttendreIntegration(e,n)},AttendreIntegration:function(e,n){var t;if(e)return t=this.Attendre(function(){return s.Integrations[e]}),n&&t.done(function(e){n({integration:e})}),t;throw new Error("Paramètre idIntegration manquant")},StandardiseOptions:function(e,n,t){var o,a={};for(o in e){for(var i=!1,r=0;!i&&r<t.length;r++)i=o==t[r];i?this.SetJPath(a,n+"."+o,e[o]):a[o]=e[o]}return a},ChargeCatalogue:function(e){e="/data/"+e.replace(/\s*-/gi,"/").replace(/\*/gi,"!u002a").replace(/\|/gi,"!u007c").toLowerCase()+"/catalogue.js";s.OsBase.ChargeScript(s.OsBase.GetUrlScriptStatique(e),{idScript:e})},AttendreCatalogue:function(e,n){s.OsBase.Attendre(function(){return null!=s.Data[e]},function(){n(s.Data[e]())})},ChargeGoogleMaps:function(e,n,t){var o,a=this;!r._oscarte_googlemaps_load&&r.google&&r.google.maps&&r.google.maps.Map?r._oscarte_googlemaps_load=2:0==(r._oscarte_googlemaps_load||0)&&(r._oscarte_googlemaps_load=1,r._oscarte_googlemaps_callback=function(){r._oscarte_googlemaps_load=2},(o=document.createElement("script")).type="text/javascript",m(function(){if(o.src=a.GetUrlHttpsCompatible("maps.google.com/maps/api/js?")+(n?"&key="+n:"")+((t||{}).places?"&libraries=places":"")+"&callback=_oscarte_googlemaps_callback",document.body.appendChild(o),e)try{s.OsBase.Quota({idIntegration:e,api:"GoogleMaps"})}catch(e){}}))},AttendreGoogleMaps:function(e){s.OsBase.Attendre(function(){return 2==r._oscarte_googlemaps_load},e)},ChargeUniversalAnalytics:function(){var e,n,t,o;e=r,o=document,n="__gaTracker",e.GoogleAnalyticsObject=n,e[n]=e[n]||function(){(e[n].q=e[n].q||[]).push(arguments)},e[n].l=+new Date,t=o.createElement("script"),o=o.getElementsByTagName("script")[0],t.async=1,t.src="//www.google-analytics.com/analytics.js",o.parentNode.insertBefore(t,o)},AttendreUniversalAnalytics:function(e){s.OsBase.Attendre(function(){return r.__gaTracker},e)},GenereBlocTypeAnnonce:function(e,n,t){return null==n||0===n?e.hide():(t=m.extend({langue:"fr",textes:{particulier:{fr:"Annonce d'un particulier",uk:"private accommodation provider",ca:"Anunci d'un particular",de:"Anzeige privat",es:"Anuncio de particular",it:"Annuncio per privati",nl:"Particuliere advertentie"},professionnel:{fr:"Annonce professionnelle",uk:"professional rental company",ca:"Anunci dâun professional",de:"Anzeige gewerbsmäÃig",es:"Anuncio profesional",it:"Annuncio per professionisti",nl:"Zakelijke advertentie"}}},t),e.empty().show().addClass("TypeAnnonce").toggleClass("TypeAnnonceParticulier",1===n).toggleClass("TypeAnnoncePro",2===n).append(m('<span class="osw-badge__stroke"></span>').text((1===n?t.textes.particulier:t.textes.professionnel)[t.langue])))},FormatePrix:function(e,n){var t,o,n=n||{};return 0==e?n.span?'<span class="Entiere Entiere0 osw-montant-partie-entiere">0</span><span class="Decimale Decimale00 osw-montant-partie-decimale">,00</span>'+(n.devise?'<span class="SymboleMonnaie osw-montant-symbole-monnaie"> '+n.devise.symbole+"</span>":""):"0,00"+(n.devise?" "+n.devise.symbole:""):(t=(o=""+Math.round(e)).substr(t=e<0?1:0,o.length-2-t)||"0",o=o.substr(o.length-2).padStart(2,"0"),n.span?(e<0?'<span class="SymboleSigne osw-montant-symbole-signe">-</span>':"")+'<span class="Entiere osw-montant-partie-entiere'+("0"==t?" Entiere0":"")+'">'+t+'</span><span class="Decimale osw-montant-partie-decimale'+("00"==o?" Decimale00":"")+'">,'+o+"</span>"+(n.devise?'<span class="SymboleMonnaie osw-montant-symbole-monnaie"> '+n.devise.symbole+"</span>":""):t+","+o+(n.devise?" "+n.devise.symbole:""))},GenereBlocPrix:function(e){function n(e){return null==e?'<span class="Entiere EntiereNulle osw-montant-partie-entiere">-</span><span class="Decimale DecimaleNulle osw-montant-partie-decimale">.--</span><span class="SymboleMonnaie osw-montant-symbole-monnaie"> '+a.symbole+"</span>":s.OsBase.FormatePrix(100*e,{span:!0,devise:a})}var t,o,a=e.devise||{symbole:"â¬"},i=s.Regional[e.langue||"fr"],r='<div class="BlocInfosPrix osw-bloc-prix">';return"string"==typeof e.prefixe?t=e.prefixe:e.prixAPartirDe&&(t=i.aPartirDe),t&&(r+='<div class="BlocPrefixe osw-prix-prefixe">'+t+"</div>"),r=(r=(r=(r=null!=e.prixBarre&&e.prixBarre>e.prix?(r+='<div class="BlocPrixBarre osw-prix osw-prix-barre"><div class="PrixBarreValeur osw-prix-valeur">')+'<span class="BlocMontant osw-montant">'+n(e.prixBarre)+'</span></div><div class="Clear"></div></div>':r)+'<div class="BlocPrixStd osw-prix osw-prix-std">'+'<div class="PrixValeur osw-prix-valeur">')+('<span class="BlocMontant osw-montant">'+n(e.prix)+"</span>")+"</div>")+'<div class="Clear"></div>'+"</div>","string"==typeof e.infosSupp?o=e.infosSupp:e.infosSupp&&(o="",e.infosSupp.prefixe&&(o+=e.infosSupp.prefixe),e.infosSupp.nbNuits)&&(o+=e.infosSupp.nbNuits%7==0?i.nbSemaines(e.infosSupp.nbNuits/7):i.nbNuits(e.infosSupp.nbNuits)),o&&(r+='<div class="InfoSupp osw-prix-suffixe">'+o+"</div>"),{dom:m(r=r+'<div class="Clear"></div>'+"</div>").get(0),html:r}},FormateMinutes:function(e,n){var t=parseInt(e/60,10),o=(e%60+100+"").substring(1);return n?n.replace(/HH/g,t).replace(/mm/g,o):60<e?t+"h"+o:e+"min"},FormateDate:function(e,n,t){return s.DateHelper.format(e,n,t)},DateXmlEnJs:function(e){return s.XmlConverter.parseDate(e)},DateCalEnJs:function(e){return!e||(e=e.split("/")).length<3?null:new Date(parseInt(e[2],10),parseInt(e[1],10)-1,parseInt(e[0],10))},FormateDateCal:function(e,n,t){e=this.DateCalEnJs(e);return e?this.FormateDate(e,n,t):""},DateAddDays:function(e,n){return s.DateHelper.addDays(e,n)},DateDiffDays:function(e,n){return s.DateHelper.diffDays(e,n)},toXML:function(e){if(!e)return"";var n,t="";for(n in e)t+="<"+n+">"+e[n]+"</"+n+">";return t},toXMLText:function(e){return s.XmlConverter.escape(e)},CreeGuid:function(){return s.Guid.newGuid()},WTooltip:function(e){this.ChargeLibs(["WTooltip"],function(){m(e).find("*[id^='_tooltip_']").osLibWTooltip({style:"",content:!0,callBefore:function(e,n){m(e).html(m("#"+n.id+"_tooltip").html())}})})},Paginer:function(a){var i,r,e,n,t,s=m(a.canvas),c=a.nb||5,l=0,u=s.find(".js-pagination-item").removeClass("js-pagination-item");u.length>c&&(i=s.find(".js-pagination-bloc-precedent").removeClass("js-pagination-bloc-precedent"),r=s.find(".js-pagination-bloc-suivant").removeClass("js-pagination-bloc-suivant"),e=s.find(".js-pagination-precedent").removeClass("js-pagination-precedent"),n=s.find(".js-pagination-suivant").removeClass("js-pagination-suivant"),t=function(e,n){0==(l+=e||0)?i.hide():i.show(),l*c+c>=u.length?r.hide():r.show();for(var t,o=0;t=u[o];o++)l*c<=o&&o<l*c+c?((a.avantAffichageItem||function(){})({item:t}),m(t).show()):m(t).hide();n&&s.get(0).scrollIntoView({behavior:"smooth"})},e.click(function(){t(-1,!0)}),n.click(function(){t(1,!0)}),t(0,!1),s.find(".js-pagination-nav").removeClass("js-pagination-nav").css("display","block"))},Metiers:function(){return{1:"Meuble",2:"Hotel",3:"Camping",4:"ChHote",5:"Activite",9:"Sej
2our",10:"Billet",16:"Refuge",17:"Package",20:"Loisirs",22:"Hebergement"}},MetierParPrefixeUI:function(e){return{ARDI:"ardecheendirect",AVAI:"hotel",AWOO:"Awoo",B2FM:"meuble",B2F2M:"meuble",CVERT:"camping",ESF:"esf",FBKH:"hotel",GPIM:"meuble",HELI:"meuble",HRES:"meuble",HRIT:"hotel",NOVH:"hotel",INGCA:"camping",INGCH:"chhote",INGH:"hotel",INGM:"meuble",ITEAC:"chhote",ITEAG:"meuble",MARK:"meuble",MTF:"chhote",OACTI:"activite",OPBI:"billet",OPBO:"boutique",OPLM:"magasinlocation",OPRE:"restaurant",OPRF:"refuge",OPTR:"transport",OSCA:"camping",OSCH:"chhote",OSHO:"hotel",OSMB:"meuble",OSNOM:"nomade",OSSEJ:"sejour",UNIC:"camping",WRESM:"meuble",ZEPH:"meuble",ELIB:"forfait",RESAL:"meuble",GEST:"meuble",CVMB:"meuble",CVCH:"chhote",ADOC:"loisirs",ADOCD:"loisirs",RESAX:"hotel",INTH:"hotel",FFCAM:"refuge",VBOOK:"hotel",WELO:"billet",HELLO:"billet"}[e]||"indetermine"},Quota:function(e){(e=e)&&e.idIntegration&&e.api&&m.ajax({url:s.URLHelper.setPageCompatibleScheme("//quota.for-system.com/index.aspx"),dataType:"jsonp",data:{i:e.idIntegration,a:e.api}})},CreeDevTracker:function(e,n,t){if(e&&n&&n.ID)try{this.ChargeLibs(["GoogleAnalytics"],function(){try{e.tracker=_gat._createTracker(n.ID),n.Domaine&&e.tracker._setDomainName(n.Domaine),e.tracker._setAllowLinker(!0),t&&t()}catch(e){}})}catch(e){}},UI:{Ajoute:function(e,n){for(var t,o=0;t=e[o];o++)s.OsBase.UI[t]=n},Parse:function(e){var n=(e=e.trim()).match("(CF|CP|CC|CA|CG)*-*([A-Z0-9]+){1}-{1}([0-9]+)-*(.*)","i");if(5!=((n||[]).length||0))return null;if("OSMB"==n[2]){if({29160:1,33308:1,33830:1,33831:1,30514:1,32172:1,30463:1,27605:1,27607:1,27627:1,27645:1,27788:1,27867:1,27910:1,27994:1,27995:1,28046:1,28114:1,28175:1,28377:1,28470:1,29732:1,29796:1,30103:1,30159:1,30178:1,30719:1,30762:1,32152:1,32687:1,34092:1,41537:1,30852:1}[n[3]])return{ui:e.replace("OSMB","CVMB"),type:n[1],source:"CVMB",id1:n[3],id2:n[4]}}else if("OSCH"==n[2])if({37095:1,30205:1,30417:1,28044:1,28047:1,28113:1,30656:1,41473:1}[n[3]])return{ui:e.replace("OSCH","CVCH"),type:n[1],source:"CVCH",id1:n[3],id2:n[4]};e=e.match("(CF|CP|CC|CA|CG)*-*(.*)","i");return{ui:n[0],type:n[1],source:n[2],id1:n[3],id2:n[4],uiSansType:3==((e||[]).length||0)?e[2]:null}}},SetJPath:function(e,n,t,o){s.JPath.set(e,n,t,o)},GetJPath:function(e,n){return s.JPath.get(e,n)},ExtensionLog:function(e){try{e.heure=(new Date).toLocaleTimeString(),document._AllianceReseaux_ExtensionLog=document._AllianceReseaux_ExtensionLog||[],document._AllianceReseaux_ExtensionLog.push(e)}catch(e){}},Pax2NbPers:function(e){var n=(e.nbAdultes||0)+(e.enfants||[]).length;return e.cmax&&(0==n||n>e.cmax)?e.cmax:e.cmin&&n<e.cmin?e.cmin:n},IsMobile:function(){return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
2sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.substr(0,4))},StringifyXmlJSON:function(e,n){function a(e,n,t){if(!(n==c||5<t||e.match(/[^a-z0-9-_]/gi)))switch(n.constructor){case r.Object:case r.Array:if(!m.isArray(n)||0!=n.length){if(i+="<"+e+' type="'+(m.isArray(n)?"col":"obj")+'">',m.isArray(n))m(n).each(function(e,n){a("item",n,t+1)});else for(var o in n)a(o,n[o],t+1);i+="</"+e+">"}break;case r.Number:i+="<"+e+' type="num">'+n+"</"+e+">";break;case r.String:i+="<"+e+">"+s.OsBase.toXMLText(n)+"</"+e+">"}}var i="";return a(e,n,0),i},AttributEncode:function(e){return e.replaceAll('"',""").replaceAll("'","'")},xmlEncode:function(e){e=e.replaceAll("&","&");return e=(e=(e=(e=e.replaceAll("<","<")).replaceAll(">",">")).replaceAll('"',""")).replaceAll("'","'")},ValideInfoExterne:function(e){e=e||"";return e.length<256?e:""},ListePays:function(e){return{fr:[{c:"af",nom:"Afghanistan"},{c:"al",nom:"Albanie"},{c:"dz",nom:"Algérie"},{c:"de",nom:"Allemagne"},{c:"ad",nom:"Andorre"},{c:"ao",nom:"Angola"},{c:"ai",nom:"Anguilla"},{c:"ag",nom:"Antigua et Barbuda"},{c:"an",nom:"Antilles Néerlandaises"},{c:"sa",nom:"Arabie Saoudite"},{c:"ar",nom:"Argentine"},{c:"am",nom:"Arménie"},{c:"aw",nom:"Aruba"},{c:"au",nom:"Australie"},{c:"at",nom:"Autriche"},{c:"az",nom:"Azerbaïdjan"},{c:"bs",nom:"Bahamas"},{c:"bd",nom:"Bangladesh"},{c:"bb",nom:"Barbade"},{c:"bh",nom:"Barhein"},{c:"by",nom:"Bélarus"},{c:"be",nom:"Belgique"},{c:"bz",nom:"Belize"},{c:"bj",nom:"Bénin"},{c:"bm",nom:"Bermudes"},{c:"bt",nom:"Bhoutan"},{c:"io",nom:"BIOT (British Indian Ocean Territories)"},{c:"bo",nom:"Bolivie"},{c:"ba",nom:"Bosnie"},{c:"bw",nom:"Botswana"},{c:"br",nom:"Brésil"},{c:"bn",nom:"Brunei"},{c:"bg",nom:"Bulgarie"},{c:"bf",nom:"Burkina Faso"},{c:"bi",nom:"Burundi"},{c:"kh",nom:"Cambodge"},{c:"cm",nom:"Cameroun"},{c:"ca",nom:"Canada"},{c:"cv",nom:"Cap Vert"},{c:"ic",nom:"Caraïbes"},{c:"ky",nom:"Cayman (Iles)"},{c:"cl",nom:"Chili"},{c:"cn",nom:"Chine"},{c:"cy",nom:"Chypre"},{c:"co",nom:"Colombie"},{c:"km",nom:"Comores"},{c:"cd",nom:"Congo (République Démocratique du)"},{c:"cg",nom:"Congo (République du)"},{c:"kp",nom:"Corée du Nord"},{c:"kr",nom:"Corée du Sud"},{c:"cr",nom:"Costa Rica"},{c:"ci",nom:"Côte d'Ivoire"},{c:"hr",nom:"Croatie"},{c:"cu",nom:"Cuba"},{c:"dk",nom:"Danemark"},{c:"dj",nom:"Djibouti"},{c:"dm",nom:"Dominique"},{c:"eg",nom:"Egypte"},{c:"sv",nom:"El Salvador"},{c:"ae",nom:"Emirats Arabes Unis"},{c:"ec",nom:"Equateur"},{c:"er",nom:"Erythrée"},{c:"es",nom:"Espagne"},{c:"ee",nom:"Estonie"},{c:"fm",nom:"Etats Fédérés de Micronésie"},{c:"us",nom:"Etats-Unis d'Amérique"},{c:"et",nom:"Ethiopie"},{c:"fk",nom:"Falkland (Iles)"},{c:"fj",nom:"Fidji"},{c:"fi",nom:"Finlande"},{c:"fr",nom:"France (métropolitaine)"},{c:"ga",nom:"Gabon"},{c:"gp",nom:"Guadeloupe"},{c:"gm",nom:"Gambie"},{c:"ge",nom:"Géorgie"},{c:"gh",nom:"Ghana"},{c:"gi",nom:"Gibraltar"},{c:"gr",nom:"Grèce"},{c:"gd",nom:"Grenade"},{c:"gu",nom:"Guam"},{c:"gt",nom:"Guatemala"},{c:"gn",nom:"Guinée"},{c:"gw",nom:"Guinée Bissau"},{c:"gq",nom:"Guinée Equatoriale"},{c:"gy",nom:"Guyana"},{c:"gf",nom:"Guyane Française"},{c:"ht",nom:"Haïti"},{c:"hn",nom:"Honduras"},{c:"hk",nom:"Hong Kong"},{c:"hu",nom:"Hongrie"},{c:"in",nom:"Inde"},{c:"id",nom:"Indonésie"},{c:"iq",nom:"Irak"},{c:"ir",nom:"Iran"},{c:"ie",nom:"Irlande"},{c:"is",nom:"Islande"},{c:"il",nom:"Israël"},{c:"it",nom:"Italie"},{c:"jm",nom:"Jamaïque"},{c:"jp",nom:"Japon"},{c:"jo",nom:"Jordanie"},{c:"kz",nom:"Kazakhstan"},{c:"ke",nom:"Kénya"},{c:"kg",nom:"Kirghizistan"},{c:"ki",nom:"Kiribati"},{c:"kw",nom:"Koweit"},{c:"re",nom:"La Réunion"},{c:"la",nom:"Laos"},{c:"ls",nom:"Lesotho"},{c:"lv",nom:"Lettonie"},{c:"lb",nom:"Liban"},{c:"lr",nom:"Libéria"},{c:"ly",nom:"Libye"},{c:"li",nom:"Liechtenstein"},{c:"lt",nom:"Lituanie"},{c:"lu",nom:"Luxembourg"},{c:"mk",nom:"Macedoine"},{c:"mg",nom:"Madagascar"},{c:"my",nom:"Malaisie"},{c:"mw",nom:"Malawi"},{c:"mv",nom:"Maldives"},{c:"ml",nom:"Mali"},{c:"mt",nom:"Malte"},{c:"mp",nom:"Mariannes du Nord (Iles)"},{c:"ma",nom:"Maroc"},{c:"mq",nom:"Martinique"},{c:"mh",nom:"Marshall (Iles)"},{c:"mu",nom:"Maurice"},{c:"mr",nom:"Mauritanie"},{c:"yt",nom:"Mayotte"},{c:"mx",nom:"Mexique"},{c:"md",nom:"Moldavie"},{c:"mc",nom:"Monaco"},{c:"mn",nom:"Mongolie"},{c:"ms",nom:"Montserrat"},{c:"mz",nom:"Mozambique"},{c:"mm",nom:"Myanmar"},{c:"na",nom:"Namibie"},{c:"nr",nom:"Nauru"},{c:"np",nom:"Népal"},{c:"ni",nom:"Nicaragua"},{c:"ne",nom:"Niger"},{c:"ng",nom:"Nigeria"},{c:"nu",nom:"Niue"},{c:"nf",nom:"Norfolk"},{c:"no",nom:"Norvège"},{c:"nc",nom:"Nouvelle-Calédonie"},{c:"nz",nom:"Nouvelle Zélande"},{c:"om",nom:"Oman"},{c:"ug",nom:"Ouganda"},{c:"uz",nom:"Ouzbékistan"},{c:"pk",nom:"Pakistan"},{c:"ps",nom:"Palestine"},{c:"pa",nom:"Panama"},{c:"pg",nom:"Papouasie-Nouvelle Guinée"},{c:"py",nom:"Paraguay"},{c:"nl",nom:"Pays-Bas"},{c:"pe",nom:"Pérou"},{c:"ph",nom:"Philippines"},{c:"pn",nom:"Pitcairn"},{c:"pl",nom:"Pologne"},{c:"pf",nom:"Polynésie Française"},{c:"pt",nom:"Portugal"},{c:"qa",nom:"Qatar"},{c:"cf",nom:"République d'Afrique Centrale"},{c:"za",nom:"République d'Afrique du Sud"},{c:"do",nom:"République Dominicaine"},{c:"cz",nom:"République Tchèque"},{c:"ro",nom:"Roumanie"},{c:"gb",nom:"Royaume-uni"},{c:"ru",nom:"Russie"},{c:"rw",nom:"Rwanda"},{c:"eh",nom:"Sahara Occidental"},{c:"sh",nom:"Sainte-Hélène"},{c:"lc",nom:"Sainte-Lucie"},{c:"kn",nom:"Saint-Kitts et Nevis"},{c:"sm",nom:"Saint-Marin"},{c:"pm",nom:"Saint-Pierre-Et-Miquelon"},{c:"vc",nom:"Saint-Vincent et Grenadines"},{c:"sb",nom:"Salomon"},{c:"as",nom:"Samoa Américaines"},{c:"ws",nom:"Samoa Occidentales"},{c:"st",nom:"Sao Tome et Principe"}
2,{c:"sn",nom:"Sénégal"},{c:"rs",nom:"Serbie et Monténégro"},{c:"sc",nom:"Seychelles"},{c:"sl",nom:"Sierra Leone"},{c:"sg",nom:"Singapour"},{c:"sk",nom:"Slovaquie"},{c:"si",nom:"Slovénie"},{c:"so",nom:"Somalie"},{c:"sd",nom:"Soudan"},{c:"lk",nom:"Sri Lanka"},{c:"se",nom:"Suède"},{c:"ch",nom:"Suisse"},{c:"sr",nom:"Surinam"},{c:"sz",nom:"Swaziland"},{c:"sy",nom:"Syrie"},{c:"tj",nom:"Tadjikistan"},{c:"tw",nom:"Taïwan"},{c:"tz",nom:"Tanzanie"},{c:"td",nom:"Tchad"},{c:"cz",nom:"Tchèque (République)"},{c:"tf",nom:"Terres Australes et Antarctiques Françaises"},{c:"th",nom:"Thaïlande"},{c:"tl",nom:"Timor Oriental"},{c:"tg",nom:"Togo"},{c:"tk",nom:"Tokelau"},{c:"to",nom:"Tonka"},{c:"tt",nom:"Trinidad et Tobago"},{c:"tn",nom:"Tunisie"},{c:"tm",nom:"Turkménistan"},{c:"tc",nom:"Turques et Caïques (Iles)"},{c:"tr",nom:"Turquie"},{c:"tv",nom:"Tuvalu"},{c:"ua",nom:"Ukraine"},{c:"uy",nom:"Uruguay"},{c:"vu",nom:"Vanuatu"},{c:"va",nom:"Vatican"},{c:"ve",nom:"Vénézuela"},{c:"vi",nom:"Vierges Américaines (Iles)"},{c:"vg",nom:"Vierges Britanniques (Iles)"},{c:"vn",nom:"Vietnam"},{c:"wf",nom:"Wallis et Futuna"},{c:"ye",nom:"Yémen"},{c:"zm",nom:"Zambie"},{c:"zw",nom:"Zimbabwe"}],uk:[{c:"af",nom:"Afghanistan"},{c:"al",nom:"Albania"},{c:"dz",nom:"Algeria"},{c:"as",nom:"American Samoa"},{c:"ad",nom:"Andorra"},{c:"ao",nom:"Angola"},{c:"ai",nom:"Anguilla"},{c:"ag",nom:"Antigua and Barbuda"},{c:"ar",nom:"Argentina"},{c:"am",nom:"Armenia"},{c:"aw",nom:"Aruba"},{c:"au",nom:"Australia"},{c:"at",nom:"Austria"},{c:"az",nom:"Azerbaijan"},{c:"bs",nom:"Bahamas"},{c:"bh",nom:"Bahrain"},{c:"bd",nom:"Bangladesh"},{c:"bb",nom:"Barbados"},{c:"by",nom:"Belarus"},{c:"be",nom:"Belgium"},{c:"bz",nom:"Belize"},{c:"bj",nom:"Benin"},{c:"bm",nom:"Bermuda"},{c:"bt",nom:"Bhutan"},{c:"bo",nom:"Bolivia"},{c:"ba",nom:"Bosnia"},{c:"bw",nom:"Botswana"},{c:"br",nom:"Brazil"},{c:"io",nom:"British Indian Ocean Territories"},{c:"vg",nom:"British Virgin Islands"},{c:"bn",nom:"Brunei"},{c:"bg",nom:"Bulgaria"},{c:"bf",nom:"Burkina Faso"},{c:"bi",nom:"Burundi"},{c:"kh",nom:"Cambodia"},{c:"cm",nom:"Cameroon"},{c:"ca",nom:"Canada"},{c:"cv",nom:"Cape Verde"},{c:"ic",nom:"Caribbean Islands"},{c:"ky",nom:"Cayman Islands"},{c:"cf",nom:"Central African Republic"},{c:"td",nom:"Chad"},{c:"cl",nom:"Chile"},{c:"cn",nom:"China"},{c:"co",nom:"Colombia"},{c:"km",nom:"Comoros"},{c:"cd",nom:"Congo ( Democratic Republic of)"},{c:"cg",nom:"Congo (Republic of)"},{c:"cr",nom:"Costa Rica"},{c:"hr",nom:"Croatia"},{c:"cu",nom:"Cuba"},{c:"cy",nom:"Cyprus"},{c:"cz",nom:"Czech Republic"},{c:"cz",nom:"Czech Republic"},{c:"dk",nom:"Denmark"},{c:"dj",nom:"Djibouti"},{c:"do",nom:"Dominican Republic"},{c:"dm",nom:"Dominique"},{c:"tl",nom:"East-Timor"},{c:"ec",nom:"Ecuador"},{c:"eg",nom:"Egypt"},{c:"sv",nom:"El Salvador"},{c:"gq",nom:"Equatorial Guinea"},{c:"er",nom:"Eritrea"},{c:"ee",nom:"Estonia"},{c:"et",nom:"Ethiopia"},{c:"fk",nom:"Falkland Islands"},{c:"fj",nom:"Fiji"},{c:"fi",nom:"Finland"},{c:"fr",nom:"France (continental)"},{c:"ga",nom:"Gabon"},{c:"gm",nom:"Gambia"},{c:"ge",nom:"Georgia"},{c:"de",nom:"Germany"},{c:"gh",nom:"Ghana"},{c:"gi",nom:"Gibraltar"},{c:"gr",nom:"Greece"},{c:"gd",nom:"Grenada"},{c:"gp",nom:"Guadeloupe"},{c:"gu",nom:"Guam"},{c:"gt",nom:"Guatemala"},{c:"gn",nom:"Guinea"},{c:"gw",nom:"Guinea Bissau"},{c:"gy",nom:"Guyana"},{c:"gf",nom:"Guyane Française"},{c:"ht",nom:"Haïti"},{c:"hn",nom:"Honduras"},{c:"hk",nom:"Hong Kong"},{c:"hu",nom:"Hungary"},{c:"is",nom:"Iceland"},{c:"in",nom:"India"},{c:"id",nom:"Indonesia"},{c:"ir",nom:"Iran"},{c:"iq",nom:"Iraq"},{c:"ie",nom:"Ireland"},{c:"il",nom:"Israel"},{c:"it",nom:"Italy"},{c:"ci",nom:"Ivory Coast"},{c:"jm",nom:"Jamaica"},{c:"jp",nom:"Japan"},{c:"jo",nom:"Jordan"},{c:"kz",nom:"Kazakhstan"},{c:"ke",nom:"Kenya"},{c:"ki",nom:"Kiribati"},{c:"kw",nom:"Kuwait"},{c:"kg",nom:"Kyrgyzstan"},{c:"re",nom:"La Réunion"},{c:"la",nom:"Laos"},{c:"lv",nom:"Latvia"},{c:"lb",nom:"Lebanon"},{c:"ls",nom:"Lesotho"},{c:"lr",nom:"Liberia"},{c:"ly",nom:"Libya"},{c:"li",nom:"Liechtenstein"},{c:"lt",nom:"Lithuania"},{c:"lu",nom:"Luxembourg"},{c:"mk",nom:"Macedonia"},{c:"mg",nom:"Madagascar"},{c:"mw",nom:"Malawi"},{c:"my",nom:"Malaysia"},{c:"mv",nom:"Maldives"},{c:"ml",nom:"Mali"},{c:"mt",nom:"Malta"},{c:"mq",nom:"Martinique"},{c:"mh",nom:"Marshall Islands"},{c:"mr",nom:"Mauritania"},{c:"mu",nom:"Mauritius"},{c:"yt",nom:"Mayotte"},{c:"mx",nom:"Mexico"},{c:"fm",nom:"Micronesia (Federated States of)"},{c:"md",nom:"Moldova"},{c:"mc",nom:"Monaco"},{c:"mn",nom:"Mongolia"},{c:"ms",nom:"Montserrat"},{c:"ma",nom:"Morocco"},{c:"mz",nom:"Mozambique"},{c:"mm",nom:"Myanmar"},{c:"na",nom:"Namibia"},{c:"nr",nom:"Nauru"},{c:"an",nom:"Nederlands Antilla"},{c:"np",nom:"Nepal"},{c:"nl",nom:"Netherlands"},{c:"nc",nom:"New Caledonia"},{c:"nz",nom:"New Zealand"},{c:"ni",nom:"Nicaragua"},{c:"ne",nom:"Niger"},{c:"ng",nom:"Nigeria"},{c:"nu",nom:"Niue"},{c:"nf",nom:"Norfolk"},{c:"kp",nom:"North Korea"},{c:"no",nom:"Norway"},{c:"om",nom:"Oman"},{c:"pk",nom:"Pakistan"},{c:"ps",nom:"Palestine"},{c:"pa",nom:"Panama"},{c:"pg",nom:"Papua New Guinea"},{c:"py",nom:"Paraguay"},{c:"pe",nom:"Peru"},{c:"ph",nom:"Philippines"},{c:"pn",nom:"Pitcairn"},{c:"pl",nom:"Poland"},{c:"pf",nom:"Polynésie Française"},{c:"pt",nom:"Portugal"},{c:"qa",nom:"Qatar"},{c:"ro",nom:"Romania"},{c:"ru",nom:"Russia"},{c:"rw",nom:"Rwanda"},{c:"kn",nom:"Saint Kitts and Nevis"},{c:"sh",nom:"Saint-Helena"},{c:"lc",nom:"Saint-Lucia"},{c:"pm",nom:"Saint-Pierre-and-Miquelon"},{c:"vc",nom:"Saint-Vincent and Grenadines"},{c:"mp",nom:"Saipan"},{c:"sb",nom:"Salomon"},{c:"sm",nom:"San Marino"},{c:"st",nom:"Sao Tome and Principe"},{c:"sa",nom:"Saudi Arabia"}
2,{c:"sn",nom:"Senegal"},{c:"rs",nom:"Serbia and Montenegro"},{c:"sc",nom:"Seychelles"},{c:"sl",nom:"Sierra Leone"},{c:"sg",nom:"Singapore"},{c:"sk",nom:"Slovakia"},{c:"si",nom:"Slovenia"},{c:"so",nom:"Somalia"},{c:"za",nom:"South Africa Republic"},{c:"kr",nom:"South Korea"},{c:"es",nom:"Spain"},{c:"lk",nom:"Sri Lanka"},{c:"sd",nom:"Sudan"},{c:"sr",nom:"Suriname"},{c:"sz",nom:"Swaziland"},{c:"se",nom:"Sweden"},{c:"ch",nom:"Switzerland"},{c:"sy",nom:"Syria"},{c:"tf",nom:"TAAF"},{c:"tw",nom:"Taiwan"},{c:"tj",nom:"Tajikistan"},{c:"tz",nom:"Tanzania"},{c:"th",nom:"Thailand"},{c:"tg",nom:"Togo"},{c:"tk",nom:"Tokelau"},{c:"to",nom:"Tonga"},{c:"tt",nom:"Trinidad and Tobago"},{c:"tn",nom:"Tunisia"},{c:"tr",nom:"Turkey"},{c:"tm",nom:"Turkmenistan"},{c:"tc",nom:"Turks and Caicos Islands"},{c:"tv",nom:"Tuvalu"},{c:"ae",nom:"U.A.Emirates"},{c:"us",nom:"U.S.A"},{c:"ug",nom:"Uganda"},{c:"ua",nom:"Ukraine"},{c:"gb",nom:"United Kingdom"},{c:"vi",nom:"United States Virgin Islands"},{c:"uy",nom:"Uruguay"},{c:"uz",nom:"Uzbekistan"},{c:"vu",nom:"Vanuatu"},{c:"va",nom:"Vatican"},{c:"ve",nom:"Venezuela"},{c:"vn",nom:"Vietnam"},{c:"wf",nom:"Wallis And Futuna"},{c:"eh",nom:"Western Sahara"},{c:"ws",nom:"Western Samoa"},{c:"ye",nom:"Yemen"},{c:"zm",nom:"Zambia"},{c:"zw",nom:"Zimbabwe"}],es:[{c:"af",nom:"Afghanistan"},{c:"al",nom:"Albania"},{c:"dz",nom:"Algeria"},{c:"as",nom:"American Samoa"},{c:"ad",nom:"Andorra"},{c:"ao",nom:"Angola"},{c:"ai",nom:"Anguilla"},{c:"ag",nom:"Antigua and Barbuda"},{c:"ar",nom:"Argentina"},{c:"am",nom:"Armenia"},{c:"aw",nom:"Aruba"},{c:"au",nom:"Australia"},{c:"at",nom:"Austria"},{c:"az",nom:"Azerbaijan"},{c:"bs",nom:"Bahamas"},{c:"bh",nom:"Bahrain"},{c:"bd",nom:"Bangladesh"},{c:"bb",nom:"Barbados"},{c:"by",nom:"Belarus"},{c:"be",nom:"Belgium"},{c:"bz",nom:"Belize"},{c:"bj",nom:"Benin"},{c:"bm",nom:"Bermuda"},{c:"bt",nom:"Bhutan"},{c:"bo",nom:"Bolivia"},{c:"ba",nom:"Bosnia"},{c:"bw",nom:"Botswana"},{c:"br",nom:"Brazil"},{c:"io",nom:"British Indian Ocean Territories"},{c:"vg",nom:"British Virgin Islands"},{c:"bn",nom:"Brunei"},{c:"bg",nom:"Bulgaria"},{c:"bf",nom:"Burkina Faso"},{c:"bi",nom:"Burundi"},{c:"kh",nom:"Cambodia"},{c:"cm",nom:"Cameroon"},{c:"ca",nom:"Canada"},{c:"cv",nom:"Cape Verde"},{c:"ic",nom:"Caribbean Islands"},{c:"ky",nom:"Cayman Islands"},{c:"cf",nom:"Central African Republic"},{c:"td",nom:"Chad"},{c:"cl",nom:"Chile"},{c:"cn",nom:"China"},{c:"co",nom:"Colombia"},{c:"km",nom:"Comoros"},{c:"cd",nom:"Congo ( Democratic Republic of)"},{c:"cg",nom:"Congo (Republic of)"},{c:"cr",nom:"Costa Rica"},{c:"hr",nom:"Croatia"},{c:"cu",nom:"Cuba"},{c:"cy",nom:"Cyprus"},{c:"cz",nom:"Czech Republic"},{c:"cz",nom:"Czech Republic"},{c:"dk",nom:"Denmark"},{c:"dj",nom:"Djibouti"},{c:"do",nom:"Dominican Republic"},{c:"dm",nom:"Dominique"},{c:"tl",nom:"East-Timor"},{c:"ec",nom:"Ecuador"},{c:"eg",nom:"Egypt"},{c:"sv",nom:"El Salvador"},{c:"gq",nom:"Equatorial Guinea"},{c:"er",nom:"Eritrea"},{c:"ee",nom:"Estonia"},{c:"et",nom:"Ethiopia"},{c:"fk",nom:"Falkland Islands"},{c:"fj",nom:"Fiji"},{c:"fi",nom:"Finland"},{c:"fr",nom:"France (continental)"},{c:"gf",nom:"French Guiana"},{c:"pf",nom:"French Polynesia"},{c:"ga",nom:"Gabon"},{c:"gm",nom:"Gambia"},{c:"ge",nom:"Georgia"},{c:"de",nom:"Germany"},{c:"gh",nom:"Ghana"},{c:"gi",nom:"Gibraltar"},{c:"gr",nom:"Greece"},{c:"gd",nom:"Grenada"},{c:"gp",nom:"Guadeloupe"},{c:"gu",nom:"Guam"},{c:"gt",nom:"Guatemala"},{c:"gn",nom:"Guinea"},{c:"gw",nom:"Guinea Bissau"},{c:"gy",nom:"Guyana"},{c:"ht",nom:"Haïti"},{c:"hn",nom:"Honduras"},{c:"hk",nom:"Hong Kong"},{c:"hu",nom:"Hungary"},{c:"is",nom:"Iceland"},{c:"in",nom:"India"},{c:"id",nom:"Indonesia"},{c:"ir",nom:"Iran"},{c:"iq",nom:"Iraq"},{c:"ie",nom:"Ireland"},{c:"il",nom:"Israel"},{c:"it",nom:"Italy"},{c:"ci",nom:"Ivory Coast"},{c:"jm",nom:"Jamaica"},{c:"jp",nom:"Japan"},{c:"jo",nom:"Jordan"},{c:"kz",nom:"Kazakhstan"},{c:"ke",nom:"Kenya"},{c:"ki",nom:"Kiribati"},{c:"kw",nom:"Kuwait"},{c:"kg",nom:"Kyrgyzstan"},{c:"re",nom:"La Réunion"},{c:"la",nom:"Laos"},{c:"lv",nom:"Latvia"},{c:"lb",nom:"Lebanon"},{c:"ls",nom:"Lesotho"},{c:"lr",nom:"Liberia"},{c:"ly",nom:"Libya"},{c:"li",nom:"Liechtenstein"},{c:"lt",nom:"Lithuania"},{c:"lu",nom:"Luxembourg"},{c:"mk",nom:"Macedonia"},{c:"mg",nom:"Madagascar"},{c:"mw",nom:"Malawi"},{c:"my",nom:"Malaysia"},{c:"mv",nom:"Maldives"},{c:"ml",nom:"Mali"},{c:"mt",nom:"Malta"},{c:"mq",nom:"Martinique"},{c:"mh",nom:"Marshall Islands"},{c:"mr",nom:"Mauritania"},{c:"mu",nom:"Mauritius"},{c:"yt",nom:"Mayotte"},{c:"mx",nom:"Mexico"},{c:"fm",nom:"Micronesia (Federated States of)"},{c:"md",nom:"Moldova"},{c:"mc",nom:"Monaco"},{c:"mn",nom:"Mongolia"},{c:"ms",nom:"Montserrat"},{c:"ma",nom:"Morocco"},{c:"mz",nom:"Mozambique"},{c:"mm",nom:"Myanmar"},{c:"na",nom:"Namibia"},{c:"nr",nom:"Nauru"},{c:"an",nom:"Nederlands Antilla"},{c:"np",nom:"Nepal"},{c:"nl",nom:"Netherlands"},{c:"nc",nom:"New Caledonia"},{c:"nz",nom:"New Zealand"},{c:"ni",nom:"Nicaragua"},{c:"ne",nom:"Niger"},{c:"ng",nom:"Nigeria"},{c:"nu",nom:"Niue"},{c:"nf",nom:"Norfolk"},{c:"kp",nom:"North Korea"},{c:"no",nom:"Norway"},{c:"om",nom:"Oman"},{c:"pk",nom:"Pakistan"},{c:"ps",nom:"Palestine"},{c:"pa",nom:"Panama"},{c:"pg",nom:"Papua New Guinea"},{c:"py",nom:"Paraguay"},{c:"pe",nom:"Peru"},{c:"ph",nom:"Philippines"},{c:"pn",nom:"Pitcairn"},{c:"pl",nom:"Poland"},{c:"pt",nom:"Portugal"},{c:"qa",nom:"Qatar"},{c:"ro",nom:"Romania"},{c:"ru",nom:"Russia"},{c:"rw",nom:"Rwanda"},{c:"kn",nom:"Saint Kitts and Nevis"},{c:"sh",nom:"Saint-Helena"},{c:"lc",nom:"Saint-Lucia"},{c:"pm",nom:"Saint-Pierre-And-Miquelon"},{c:"vc",nom:"Saint-Vincent and Grenadines"},{c:"mp",nom:"Saipan"},{c:"sb",nom:"Salomon"},{c:"sm",nom:"San Marino"},{c:"st",nom:"Sao Tome and Principe"},{c:"sa",nom:"Saudi Arabia"}
2,{c:"sn",nom:"Senegal"},{c:"rs",nom:"Serbia and Montenegro"},{c:"sc",nom:"Seychelles"},{c:"sl",nom:"Sierra Leone"},{c:"sg",nom:"Singapore"},{c:"sk",nom:"Slovakia"},{c:"si",nom:"Slovenia"},{c:"so",nom:"Somalia"},{c:"za",nom:"South Africa Republic"},{c:"kr",nom:"South Korea"},{c:"es",nom:"Spain"},{c:"lk",nom:"Sri Lanka"},{c:"sd",nom:"Sudan"},{c:"sr",nom:"Suriname"},{c:"sz",nom:"Swaziland"},{c:"se",nom:"Sweden"},{c:"ch",nom:"Switzerland"},{c:"sy",nom:"Syria"},{c:"tf",nom:"TAAF"},{c:"tw",nom:"Taiwan"},{c:"tj",nom:"Tajikistan"},{c:"tz",nom:"Tanzania"},{c:"th",nom:"Thailand"},{c:"tg",nom:"Togo"},{c:"tk",nom:"Tokelau"},{c:"to",nom:"Tonga"},{c:"tt",nom:"Trinidad and Tobago"},{c:"tn",nom:"Tunisia"},{c:"tr",nom:"Turkey"},{c:"tm",nom:"Turkmenistan"},{c:"tc",nom:"Turks and Caicos Islands"},{c:"tv",nom:"Tuvalu"},{c:"ae",nom:"U.A.Emirates"},{c:"us",nom:"U.S.A"},{c:"ug",nom:"Uganda"},{c:"ua",nom:"Ukraine"},{c:"gb",nom:"United Kingdom"},{c:"vi",nom:"United States Virgin Islands"},{c:"uy",nom:"Uruguay"},{c:"uz",nom:"Uzbekistan"},{c:"vu",nom:"Vanuatu"},{c:"va",nom:"Vatican"},{c:"ve",nom:"Venezuela"},{c:"vn",nom:"Vietnam"},{c:"wf",nom:"Wallis And Futuna"},{c:"eh",nom:"Western Sahara"},{c:"ws",nom:"Western Samoa"},{c:"ye",nom:"Yemen"},{c:"zm",nom:"Zambia"},{c:"zw",nom:"Zimbabwe"}],de:[{c:"af",nom:"Afghanistan"},{c:"eg",nom:"Ãgypten"},{c:"al",nom:"Albanien"},{c:"dz",nom:"Algerien"},{c:"as",nom:"Amerikanisch-Samoa"},{c:"ad",nom:"Andorra"},{c:"ao",nom:"Angola"},{c:"ai",nom:"Anguilla"},{c:"ag",nom:"Antigua und Barbuda"},{c:"gq",nom:"Aquatorial Guinea"},{c:"ar",nom:"Argentinien"},{c:"am",nom:"Armenien"},{c:"aw",nom:"Aruba"},{c:"az",nom:"Aserbaidschan"},{c:"et",nom:"Ãthiopien"},{c:"au",nom:"Australien"},{c:"bs",nom:"Bahamas"},{c:"bh",nom:"Bahrain"},{c:"bd",nom:"Bangladesh"},{c:"bb",nom:"Barbados"},{c:"be",nom:"Belgien"},{c:"bz",nom:"Belize"},{c:"bj",nom:"Benin"},{c:"bm",nom:"Bermuda"},{c:"bt",nom:"Bhutan"},{c:"bo",nom:"Bolivien"},{c:"ba",nom:"Bosnien-Herzegowina"},{c:"bw",nom:"Botswana"},{c:"br",nom:"Brasilien"},{c:"io",nom:"British Indian Ocean Territories"},{c:"vg",nom:"British Virgin Islands"},{c:"bn",nom:"Brunei"},{c:"bg",nom:"Bulgarien"},{c:"bf",nom:"Burkina Faso"},{c:"mm",nom:"Burma"},{c:"bi",nom:"Burundi"},{c:"ky",nom:"Cayman Inseln"},{c:"cl",nom:"Chile"},{c:"cn",nom:"China"},{c:"kp",nom:"Corea, Dem. VR"},{c:"kr",nom:"Corea, Republik"},{c:"cr",nom:"Costa Rica"},{c:"dk",nom:"Dänemark"},{c:"cd",nom:"Demokratische Republik Kongo"},{c:"de",nom:"Deutschland"},{c:"dj",nom:"Djibouti"},{c:"dm",nom:"Dominica"},{c:"do",nom:"Dominikanische Republik"},{c:"ec",nom:"Ecuador"},{c:"sv",nom:"El Salvador"},{c:"ci",nom:"Elfenbeinküste"},{c:"er",nom:"Eritrea"},{c:"ee",nom:"Estland"},{c:"fk",nom:"Falkland-Inseln"},{c:"fj",nom:"Fidschi"},{c:"fi",nom:"Finnland"},{c:"fr",nom:"Frankreich"},{c:"gf",nom:"French Guiana"},{c:"pf",nom:"French Polynesia"},{c:"ga",nom:"Gabun"},{c:"gm",nom:"Gambia"},{c:"ge",nom:"Georgien"},{c:"gh",nom:"Ghana"},{c:"gi",nom:"Gibraltar"},{c:"gd",nom:"Grenada"},{c:"gr",nom:"Griechenland"},{c:"gb",nom:"GroÃbritannien"},{c:"gp",nom:"Guadeloupe"},{c:"gu",nom:"Guam"},{c:"gt",nom:"Guatemala"},{c:"gn",nom:"Guinea"},{c:"gw",nom:"Guinea Bissau"},{c:"gy",nom:"Guyana"},{c:"ht",nom:"Haiti"},{c:"hn",nom:"Honduras"},{c:"hk",nom:"Hong Kong"},{c:"in",nom:"Indien"},{c:"id",nom:"Indonesien"},{c:"iq",nom:"Irak"},{c:"ir",nom:"Iran"},{c:"ie",nom:"Irland"},{c:"is",nom:"Island"},{c:"il",nom:"Israel"},{c:"it",nom:"Italien"},{c:"jm",nom:"Jamaika"},{c:"jp",nom:"Japan"},{c:"ye",nom:"Jemen"},{c:"jo",nom:"Jordanien"},{c:"kh",nom:"Kambodscha"},{c:"cm",nom:"Kamerun"},{c:"ca",nom:"Kanada"},{c:"cv",nom:"Kap Verde"},{c:"ic",nom:"Karibik"},{c:"kz",nom:"Kasachstan"},{c:"qa",nom:"Katar"},{c:"ke",nom:"Kenia"},{c:"kg",nom:"Kirgistan"},{c:"ki",nom:"Kiribati"},{c:"co",nom:"Kolumbien"},{c:"km",nom:"Komoren"},{c:"hr",nom:"Kroatien"},{c:"cu",nom:"Kuba"},{c:"kw",nom:"Kuwait"},{c:"re",nom:"La Réunion"},{c:"la",nom:"Laos"},{c:"ls",nom:"Lesotho"},{c:"lv",nom:"Lettland"},{c:"lb",nom:"Libanon"},{c:"lr",nom:"Liberia"},{c:"ly",nom:"Libyen"},{c:"li",nom:"Liechtenstein"},{c:"lt",nom:"Litauen"},{c:"lu",nom:"Luxemburg"},{c:"mg",nom:"Madagaskar"},{c:"mw",nom:"Malawi"},{c:"my",nom:"Malaysia"},{c:"mv",nom:"Malediven"},{c:"ml",nom:"Mali"},{c:"mt",nom:"Malta"},{c:"mp",nom:"Mariannes-Inseln des Nordens"},{c:"ma",nom:"Marokko"},{c:"mq",nom:"Martinique"},{c:"mh",nom:"Marshall Inseln"},{c:"mr",nom:"Mauritanien"},{c:"mu",nom:"Mauritius"},{c:"yt",nom:"Mayotte"},{c:"mk",nom:"Mazedonien"},{c:"mx",nom:"Mexiko"},{c:"fm",nom:"Micronesien"},{c:"md",nom:"Moldawien"},{c:"mc",nom:"Monaco"},{c:"mn",nom:"Mongolei"},{c:"ms",nom:"Montserrat"},{c:"mz",nom:"Mosambik"},{c:"na",nom:"Namibia"},{c:"nr",nom:"Nauru"},{c:"np",nom:"Nepal"},{c:"nz",nom:"Neuseeland"},{c:"ni",nom:"Nicaragua"},{c:"nl",nom:"Niederlande"},{c:"an",nom:"Niederländische Antillen"},{c:"ne",nom:"Niger"},{c:"ng",nom:"Nigeria"},{c:"nu",nom:"Niue"},{c:"nc",nom:"New Caledonia"},{c:"nf",nom:"Norfolk"},{c:"no",nom:"Norwegen"},{c:"om",nom:"Oman"},{c:"at",nom:"Ãsterreich"},{c:"tl",nom:"Ost-Timor"},{c:"pk",nom:"Pakistan"},{c:"ps",nom:"Palästina"},{c:"pa",nom:"Panama"},{c:"pg",nom:"Papua Neuguinea"},{c:"py",nom:"Paraguay"},{c:"pe",nom:"Peru"},{c:"ph",nom:"Philippinen"},{c:"pn",nom:"Pitcairn"},{c:"pl",nom:"Polen"},{c:"pt",nom:"Portugal"},{c:"cg",nom:"Republik Kongo"},{c:"ro",nom:"Römanien"},{c:"rw",nom:"Ruanda"},{c:"ru",nom:"RuÃland"},{c:"kn",nom:"Saint Kitts und Nevis"},{c:"sh",nom:"Saint-Helena"},{c:"lc",nom:"Saint-Lucia"},{c:"pm",nom:"Saint-Pierre-And-Miquelon"},{c:"vc",nom:"Saint-Vincent Grenadinen"},{c:"zm",nom:"Sambia"},{c:"sm",nom:"San Marino"},{c:"st",nom:"Sao Tome"},{c:"sa",nom:"Saudi Arabien"},{c:"se",nom:"Schweden"},{c:"ch",nom:"Schweiz"}
2,{c:"sn",nom:"Senegal"},{c:"sc",nom:"Seychellen"},{c:"rs",nom:"Siebien - Montenegro"},{c:"sl",nom:"Sierra Leone"},{c:"zw",nom:"Simbabwe"},{c:"sg",nom:"Singapur"},{c:"sk",nom:"Slowakische Republik"},{c:"si",nom:"Slowenien"},{c:"sb",nom:"Solomon-Inseln"},{c:"so",nom:"Somalia"},{c:"es",nom:"Spanien"},{c:"lk",nom:"Sri Lanka"},{c:"za",nom:"Südafrika Republik"},{c:"sd",nom:"Sudan"},{c:"sr",nom:"Suriname"},{c:"sz",nom:"Swaziland"},{c:"sy",nom:"Syrien"},{c:"tf",nom:"TAAF"},{c:"tj",nom:"Tadjikistan"},{c:"tw",nom:"Taiwan"},{c:"tz",nom:"Tansania"},{c:"th",nom:"Thailand"},{c:"tg",nom:"Togo"},{c:"tk",nom:"Tokelau"},{c:"to",nom:"Tonga"},{c:"tt",nom:"Trinidad und Tobago"},{c:"td",nom:"Tschad"},{c:"cz",nom:"Tschechien"},{c:"cz",nom:"Tschechische Republik"},{c:"tn",nom:"Tunesien"},{c:"tr",nom:"Türkei"},{c:"tm",nom:"Turkmenistan"},{c:"tc",nom:"Turks und Caicos-Inseln"},{c:"tv",nom:"Tuvalu"},{c:"ug",nom:"Uganda"},{c:"ua",nom:"Ukranien"},{c:"hu",nom:"Ungarn"},{c:"vi",nom:"United States Virgin Islands"},{c:"uy",nom:"Uruguay"},{c:"uz",nom:"Usbekistan"},{c:"vu",nom:"Vanuatu"},{c:"va",nom:"Vatikan"},{c:"ve",nom:"Venezuela"},{c:"ae",nom:"Vereinigte Arabische Emirate"},{c:"us",nom:"Vereinigte Staaten"},{c:"vn",nom:"Vietnam"},{c:"wf",nom:"Wallis And Futuna"},{c:"by",nom:"Weissrussland"},{c:"ws",nom:"Western-Samoa"},{c:"eh",nom:"Westsahara"},{c:"cf",nom:"Zentralafrikanische Republik"},{c:"cy",nom:"Zypern"}],ca:[{c:"af",nom:"Afghanistan"},{c:"al",nom:"Albania"},{c:"dz",nom:"Algeria"},{c:"as",nom:"American Samoa"},{c:"ad",nom:"Andorra"},{c:"ao",nom:"Angola"},{c:"ai",nom:"Anguilla"},{c:"ag",nom:"Antigua and Barbuda"},{c:"ar",nom:"Argentina"},{c:"am",nom:"Armenia"},{c:"aw",nom:"Aruba"},{c:"au",nom:"Australia"},{c:"at",nom:"Austria"},{c:"az",nom:"Azerbaijan"},{c:"bs",nom:"Bahamas"},{c:"bh",nom:"Bahrain"},{c:"bd",nom:"Bangladesh"},{c:"bb",nom:"Barbados"},{c:"by",nom:"Belarus"},{c:"be",nom:"Belgium"},{c:"bz",nom:"Belize"},{c:"bj",nom:"Benin"},{c:"bm",nom:"Bermuda"},{c:"bt",nom:"Bhutan"},{c:"bo",nom:"Bolivia"},{c:"ba",nom:"Bosnia"},{c:"bw",nom:"Botswana"},{c:"br",nom:"Brazil"},{c:"io",nom:"British Indian Ocean Territories"},{c:"vg",nom:"British Virgin Islands"},{c:"bn",nom:"Brunei"},{c:"bg",nom:"Bulgaria"},{c:"bf",nom:"Burkina Faso"},{c:"bi",nom:"Burundi"},{c:"kh",nom:"Cambodia"},{c:"cm",nom:"Cameroon"},{c:"ca",nom:"Canada"},{c:"cv",nom:"Cape Verde"},{c:"ic",nom:"Caribbean Islands"},{c:"ky",nom:"Cayman Islands"},{c:"cf",nom:"Central African Republic"},{c:"td",nom:"Chad"},{c:"cl",nom:"Chile"},{c:"cn",nom:"China"},{c:"co",nom:"Colombia"},{c:"km",nom:"Comoros"},{c:"cd",nom:"Congo ( Democratic Republic of)"},{c:"cg",nom:"Congo (Republic of)"},{c:"cr",nom:"Costa Rica"},{c:"hr",nom:"Croatia"},{c:"cu",nom:"Cuba"},{c:"cy",nom:"Cyprus"},{c:"cz",nom:"Czech Republic"},{c:"cz",nom:"Czech Republic"},{c:"dk",nom:"Denmark"},{c:"dj",nom:"Djibouti"},{c:"do",nom:"Dominican Republic"},{c:"dm",nom:"Dominique"},{c:"tl",nom:"East-Timor"},{c:"ec",nom:"Ecuador"},{c:"eg",nom:"Egypt"},{c:"sv",nom:"El Salvador"},{c:"gq",nom:"Equatorial Guinea"},{c:"er",nom:"Eritrea"},{c:"ee",nom:"Estonia"},{c:"et",nom:"Ethiopia"},{c:"fk",nom:"Falkland Islands"},{c:"fj",nom:"Fiji"},{c:"fi",nom:"Finland"},{c:"fr",nom:"França metropolitana"},{c:"ga",nom:"Gabon"},{c:"gm",nom:"Gambia"},{c:"ge",nom:"Georgia"},{c:"de",nom:"Germany"},{c:"gh",nom:"Ghana"},{c:"gi",nom:"Gibraltar"},{c:"gr",nom:"Greece"},{c:"gd",nom:"Grenada"},{c:"gp",nom:"Guadeloupe"},{c:"gf",nom:"Guaiana Francesa"},{c:"gu",nom:"Guam"},{c:"gt",nom:"Guatemala"},{c:"gn",nom:"Guinea"},{c:"gw",nom:"Guinea Bissau"},{c:"gy",nom:"Guyana"},{c:"ht",nom:"Haïti"},{c:"hn",nom:"Honduras"},{c:"hk",nom:"Hong Kong"},{c:"hu",nom:"Hungary"},{c:"is",nom:"Iceland"},{c:"in",nom:"India"},{c:"id",nom:"Indonesia"},{c:"ir",nom:"Iran"},{c:"iq",nom:"Iraq"},{c:"ie",nom:"Ireland"},{c:"il",nom:"Israel"},{c:"it",nom:"Italy"},{c:"ci",nom:"Ivory Coast"},{c:"jm",nom:"Jamaica"},{c:"jp",nom:"Japan"},{c:"jo",nom:"Jordan"},{c:"kz",nom:"Kazakhstan"},{c:"ke",nom:"Kenya"},{c:"ki",nom:"Kiribati"},{c:"kw",nom:"Kuwait"},{c:"kg",nom:"Kyrgyzstan"},{c:"la",nom:"Laos"},{c:"re",nom:"La Reunió"},{c:"lv",nom:"Latvia"},{c:"lb",nom:"Lebanon"},{c:"ls",nom:"Lesotho"},{c:"lr",nom:"Liberia"},{c:"ly",nom:"Libya"},{c:"li",nom:"Liechtenstein"},{c:"lt",nom:"Lithuania"},{c:"lu",nom:"Luxembourg"},{c:"mk",nom:"Macedonia"},{c:"mg",nom:"Madagascar"},{c:"mw",nom:"Malawi"},{c:"my",nom:"Malaysia"},{c:"mv",nom:"Maldives"},{c:"ml",nom:"Mali"},{c:"mt",nom:"Malta"},{c:"mh",nom:"Marshall Islands"},{c:"mq",nom:"Martinica"},{c:"mr",nom:"Mauritania"},{c:"mu",nom:"Mauritius"},{c:"yt",nom:"Mayotte"},{c:"mx",nom:"Mexico"},{c:"fm",nom:"Micronesia (Federated States of)"},{c:"md",nom:"Moldova"},{c:"mc",nom:"Monaco"},{c:"mn",nom:"Mongolia"},{c:"ms",nom:"Montserrat"},{c:"ma",nom:"Morocco"},{c:"mz",nom:"Mozambique"},{c:"mm",nom:"Myanmar"},{c:"na",nom:"Namibia"},{c:"nr",nom:"Nauru"},{c:"an",nom:"Nederlands Antilla"},{c:"np",nom:"Nepal"},{c:"nl",nom:"Netherlands"},{c:"nz",nom:"New Zealand"},{c:"ni",nom:"Nicaragua"},{c:"ne",nom:"Niger"},{c:"ng",nom:"Nigeria"},{c:"nu",nom:"Niue"},{c:"nf",nom:"Norfolk"},{c:"kp",nom:"North Korea"},{c:"no",nom:"Norway"},{c:"nc",nom:"Nova Caledònia"},{c:"om",nom:"Oman"},{c:"pk",nom:"Pakistan"},{c:"ps",nom:"Palestine"},{c:"pa",nom:"Panama"},{c:"pg",nom:"Papua New Guinea"},{c:"py",nom:"Paraguay"},{c:"pe",nom:"Peru"},{c:"ph",nom:"Philippines"},{c:"pn",nom:"Pitcairn"},{c:"pl",nom:"Poland"},{c:"pf",nom:"Polinèsia Francesa"},{c:"pt",nom:"Portugal"},{c:"qa",nom:"Qatar"},{c:"ro",nom:"Romania"},{c:"ru",nom:"Russia"},{c:"rw",nom:"Rwanda"},{c:"kn",nom:"Saint Kitts and Nevis"},{c:"sh",nom:"Saint-Helena"},{c:"lc",nom:"Saint-Lucia"},{c:"pm",nom:"Saint-Pierre i Miquelon"},{c:"vc",nom:"Saint-Vincent and Grenadines"},{c:"mp",nom:"Saipan"},{c:"sb",nom:"Salomon"},{c:"sm",nom:"San Marino"},{c:"st",nom:"Sao Tome and Principe"},{c:"sa",nom:"Saudi Arabia"}
2,{c:"sn",nom:"Senegal"},{c:"rs",nom:"Serbia and Montenegro"},{c:"sc",nom:"Seychelles"},{c:"sl",nom:"Sierra Leone"},{c:"sg",nom:"Singapore"},{c:"sk",nom:"Slovakia"},{c:"si",nom:"Slovenia"},{c:"so",nom:"Somalia"},{c:"za",nom:"South Africa Republic"},{c:"kr",nom:"South Korea"},{c:"es",nom:"Spain"},{c:"lk",nom:"Sri Lanka"},{c:"sd",nom:"Sudan"},{c:"sr",nom:"Suriname"},{c:"sz",nom:"Swaziland"},{c:"se",nom:"Sweden"},{c:"ch",nom:"Switzerland"},{c:"sy",nom:"Syria"},{c:"tf",nom:"TAAF"},{c:"tw",nom:"Taiwan"},{c:"tj",nom:"Tajikistan"},{c:"tz",nom:"Tanzania"},{c:"th",nom:"Thailand"},{c:"tg",nom:"Togo"},{c:"tk",nom:"Tokelau"},{c:"to",nom:"Tonga"},{c:"tt",nom:"Trinidad and Tobago"},{c:"tn",nom:"Tunisia"},{c:"tr",nom:"Turkey"},{c:"tm",nom:"Turkmenistan"},{c:"tc",nom:"Turks and Caicos Islands"},{c:"tv",nom:"Tuvalu"},{c:"ae",nom:"U.A.Emirates"},{c:"us",nom:"U.S.A"},{c:"ug",nom:"Uganda"},{c:"ua",nom:"Ukraine"},{c:"gb",nom:"United Kingdom"},{c:"vi",nom:"United States Virgin Islands"},{c:"uy",nom:"Uruguay"},{c:"uz",nom:"Uzbekistan"},{c:"vu",nom:"Vanuatu"},{c:"va",nom:"Vatican"},{c:"ve",nom:"Venezuela"},{c:"vn",nom:"Vietnam"},{c:"wf",nom:"Wallis i Futuna"},{c:"eh",nom:"Western Sahara"},{c:"ws",nom:"Western Samoa"},{c:"ye",nom:"Yemen"},{c:"zm",nom:"Zambia"},{c:"zw",nom:"Zimbabwe"}],nl:[{c:"af",nom:"Afghanistan"},{c:"eg",nom:"Ãgypten"},{c:"al",nom:"Albanien"},{c:"dz",nom:"Algerien"},{c:"as",nom:"Amerikanisch-Samoa"},{c:"ad",nom:"Andorra"},{c:"ao",nom:"Angola"},{c:"ai",nom:"Anguilla"},{c:"ag",nom:"Antigua und Barbuda"},{c:"gq",nom:"Aquatorial Guinea"},{c:"ar",nom:"Argentinien"},{c:"am",nom:"Armenien"},{c:"aw",nom:"Aruba"},{c:"az",nom:"Aserbaidschan"},{c:"et",nom:"Ãthiopien"},{c:"au",nom:"Australien"},{c:"bs",nom:"Bahamas"},{c:"bh",nom:"Bahrain"},{c:"bd",nom:"Bangladesh"},{c:"bb",nom:"Barbados"},{c:"be",nom:"Belgien"},{c:"bz",nom:"Belize"},{c:"bj",nom:"Benin"},{c:"bm",nom:"Bermuda"},{c:"bt",nom:"Bhutan"},{c:"bo",nom:"Bolivien"},{c:"ba",nom:"Bosnien-Herzegowina"},{c:"bw",nom:"Botswana"},{c:"br",nom:"Brasilien"},{c:"io",nom:"British Indian Ocean Territories"},{c:"vg",nom:"British Virgin Islands"},{c:"bn",nom:"Brunei"},{c:"bg",nom:"Bulgarien"},{c:"bf",nom:"Burkina Faso"},{c:"mm",nom:"Burma"},{c:"bi",nom:"Burundi"},{c:"ky",nom:"Cayman Inseln"},{c:"cl",nom:"Chile"},{c:"cn",nom:"China"},{c:"kp",nom:"Corea, Dem. VR"},{c:"kr",nom:"Corea, Republik"},{c:"cr",nom:"Costa Rica"},{c:"dk",nom:"Dänemark"},{c:"cd",nom:"Demokratische Republik Kongo"},{c:"de",nom:"Deutschland"},{c:"dj",nom:"Djibouti"},{c:"dm",nom:"Dominica"},{c:"do",nom:"Dominikanische Republik"},{c:"ec",nom:"Ecuador"},{c:"sv",nom:"El Salvador"},{c:"ci",nom:"Elfenbeinküste"},{c:"er",nom:"Eritrea"},{c:"ee",nom:"Estland"},{c:"fk",nom:"Falkland-Inseln"},{c:"fj",nom:"Fidschi"},{c:"fi",nom:"Finnland"},{c:"fr",nom:"Frankrijk"},{c:"gf",nom:"Frans-Guyana"},{c:"pf",nom:"Frans-Polynesië"},{c:"ga",nom:"Gabun"},{c:"gm",nom:"Gambia"},{c:"ge",nom:"Georgien"},{c:"gh",nom:"Ghana"},{c:"gi",nom:"Gibraltar"},{c:"gd",nom:"Grenada"},{c:"gr",nom:"Griechenland"},{c:"gb",nom:"GroÃbritannien"},{c:"gp",nom:"Guadeloupe"},{c:"gu",nom:"Guam"},{c:"gt",nom:"Guatemala"},{c:"gn",nom:"Guinea"},{c:"gw",nom:"Guinea Bissau"},{c:"gy",nom:"Guyana"},{c:"ht",nom:"Haiti"},{c:"hn",nom:"Honduras"},{c:"hk",nom:"Hong Kong"},{c:"in",nom:"Indien"},{c:"id",nom:"Indonesien"},{c:"iq",nom:"Irak"},{c:"ir",nom:"Iran"},{c:"ie",nom:"Irland"},{c:"is",nom:"Island"},{c:"il",nom:"Israel"},{c:"it",nom:"Italien"},{c:"jm",nom:"Jamaika"},{c:"jp",nom:"Japan"},{c:"ye",nom:"Jemen"},{c:"jo",nom:"Jordanien"},{c:"kh",nom:"Kambodscha"},{c:"cm",nom:"Kamerun"},{c:"ca",nom:"Kanada"},{c:"cv",nom:"Kap Verde"},{c:"ic",nom:"Karibik"},{c:"kz",nom:"Kasachstan"},{c:"qa",nom:"Katar"},{c:"ke",nom:"Kenia"},{c:"kg",nom:"Kirgistan"},{c:"ki",nom:"Kiribati"},{c:"co",nom:"Kolumbien"},{c:"km",nom:"Komoren"},{c:"hr",nom:"Kroatien"},{c:"cu",nom:"Kuba"},{c:"kw",nom:"Kuwait"},{c:"re",nom:"La Réunion"},{c:"la",nom:"Laos"},{c:"ls",nom:"Lesotho"},{c:"lv",nom:"Lettland"},{c:"lb",nom:"Libanon"},{c:"lr",nom:"Liberia"},{c:"ly",nom:"Libyen"},{c:"li",nom:"Liechtenstein"},{c:"lt",nom:"Litauen"},{c:"lu",nom:"Luxemburg"},{c:"mg",nom:"Madagaskar"},{c:"mw",nom:"Malawi"},{c:"my",nom:"Malaysia"},{c:"mv",nom:"Malediven"},{c:"ml",nom:"Mali"},{c:"mt",nom:"Malta"},{c:"mp",nom:"Mariannes-Inseln des Nordens"},{c:"ma",nom:"Marokko"},{c:"mh",nom:"Marshall Inseln"},{c:"mq",nom:"Martinique"},{c:"mr",nom:"Mauritanien"},{c:"mu",nom:"Mauritius"},{c:"yt",nom:"Mayotte"},{c:"mk",nom:"Mazedonien"},{c:"mx",nom:"Mexiko"},{c:"fm",nom:"Micronesien"},{c:"md",nom:"Moldawien"},{c:"mc",nom:"Monaco"},{c:"mn",nom:"Mongolei"},{c:"ms",nom:"Montserrat"},{c:"mz",nom:"Mosambik"},{c:"na",nom:"Namibia"},{c:"nr",nom:"Nauru"},{c:"np",nom:"Nepal"},{c:"nz",nom:"Neuseeland"},{c:"ni",nom:"Nicaragua"},{c:"nl",nom:"Niederlande"},{c:"an",nom:"Niederländische Antillen"},{c:"nc",nom:"Nieuw-Caledonië"},{c:"ne",nom:"Niger"},{c:"ng",nom:"Nigeria"},{c:"nu",nom:"Niue"},{c:"nf",nom:"Norfolk"},{c:"no",nom:"Norwegen"},{c:"om",nom:"Oman"},{c:"at",nom:"Ãsterreich"},{c:"tl",nom:"Ost-Timor"},{c:"pk",nom:"Pakistan"},{c:"ps",nom:"Palästina"},{c:"pa",nom:"Panama"},{c:"pg",nom:"Papua Neuguinea"},{c:"py",nom:"Paraguay"},{c:"pe",nom:"Peru"},{c:"ph",nom:"Philippinen"},{c:"pn",nom:"Pitcairn"},{c:"pl",nom:"Polen"},{c:"pt",nom:"Portugal"},{c:"cg",nom:"Republik Kongo"},{c:"ro",nom:"Römanien"},{c:"rw",nom:"Ruanda"},{c:"ru",nom:"RuÃland"},{c:"kn",nom:"Saint Kitts und Nevis"},{c:"sh",nom:"Saint-Helena"},{c:"lc",nom:"Saint-Lucia"},{c:"pm",nom:"Saint-Pierre en Miquelon"},{c:"vc",nom:"Saint-Vincent Grenadinen"},{c:"zm",nom:"Sambia"},{c:"sm",nom:"San Marino"},{c:"st",nom:"Sao Tome"},{c:"sa",nom:"Saudi Arabien"},{c:"se",nom:"Schweden"},{c:"ch",nom:"Schweiz"}
2,{c:"sn",nom:"Senegal"},{c:"sc",nom:"Seychellen"},{c:"rs",nom:"Siebien - Montenegro"},{c:"sl",nom:"Sierra Leone"},{c:"zw",nom:"Simbabwe"},{c:"sg",nom:"Singapur"},{c:"sk",nom:"Slowakische Republik"},{c:"si",nom:"Slowenien"},{c:"sb",nom:"Solomon-Inseln"},{c:"so",nom:"Somalia"},{c:"es",nom:"Spanien"},{c:"lk",nom:"Sri Lanka"},{c:"za",nom:"Südafrika Republik"},{c:"sd",nom:"Sudan"},{c:"sr",nom:"Suriname"},{c:"sz",nom:"Swaziland"},{c:"sy",nom:"Syrien"},{c:"tf",nom:"TAAF"},{c:"tj",nom:"Tadjikistan"},{c:"tw",nom:"Taiwan"},{c:"tz",nom:"Tansania"},{c:"th",nom:"Thailand"},{c:"tg",nom:"Togo"},{c:"tk",nom:"Tokelau"},{c:"to",nom:"Tonga"},{c:"tt",nom:"Trinidad und Tobago"},{c:"td",nom:"Tschad"},{c:"cz",nom:"Tschechien"},{c:"cz",nom:"Tschechische Republik"},{c:"tn",nom:"Tunesien"},{c:"tr",nom:"Türkei"},{c:"tm",nom:"Turkmenistan"},{c:"tc",nom:"Turks und Caicos-Inseln"},{c:"tv",nom:"Tuvalu"},{c:"ug",nom:"Uganda"},{c:"ua",nom:"Ukranien"},{c:"hu",nom:"Ungarn"},{c:"vi",nom:"United States Virgin Islands"},{c:"uy",nom:"Uruguay"},{c:"uz",nom:"Usbekistan"},{c:"vu",nom:"Vanuatu"},{c:"va",nom:"Vatikan"},{c:"ve",nom:"Venezuela"},{c:"ae",nom:"Vereinigte Arabische Emirate"},{c:"us",nom:"Vereinigte Staaten"},{c:"vn",nom:"Vietnam"},{c:"wf",nom:"Wallis en Futuna"},{c:"by",nom:"Weissrussland"},{c:"ws",nom:"Western-Samoa"},{c:"eh",nom:"Westsahara"},{c:"cf",nom:"Zentralafrikanische Republik"},{c:"cy",nom:"Zypern"}],it:[{c:"af",nom:"Afghanistan"},{c:"al",nom:"Albania"},{c:"dz",nom:"Algeria"},{c:"as",nom:"American Samoa"},{c:"ad",nom:"Andorra"},{c:"ao",nom:"Angola"},{c:"ai",nom:"Anguilla"},{c:"ag",nom:"Antigua and Barbuda"},{c:"ar",nom:"Argentina"},{c:"am",nom:"Armenia"},{c:"aw",nom:"Aruba"},{c:"au",nom:"Australia"},{c:"at",nom:"Austria"},{c:"az",nom:"Azerbaijan"},{c:"bs",nom:"Bahamas"},{c:"bh",nom:"Bahrain"},{c:"bd",nom:"Bangladesh"},{c:"bb",nom:"Barbados"},{c:"by",nom:"Belarus"},{c:"be",nom:"Belgium"},{c:"bz",nom:"Belize"},{c:"bj",nom:"Benin"},{c:"bm",nom:"Bermuda"},{c:"bt",nom:"Bhutan"},{c:"bo",nom:"Bolivia"},{c:"ba",nom:"Bosnia"},{c:"bw",nom:"Botswana"},{c:"br",nom:"Brazil"},{c:"io",nom:"British Indian Ocean Territories"},{c:"vg",nom:"British Virgin Islands"},{c:"bn",nom:"Brunei"},{c:"bg",nom:"Bulgaria"},{c:"bf",nom:"Burkina Faso"},{c:"bi",nom:"Burundi"},{c:"kh",nom:"Cambodia"},{c:"cm",nom:"Cameroon"},{c:"ca",nom:"Canada"},{c:"cv",nom:"Cape Verde"},{c:"ic",nom:"Caribbean Islands"},{c:"ky",nom:"Cayman Islands"},{c:"cf",nom:"Central African Republic"},{c:"td",nom:"Chad"},{c:"cl",nom:"Chile"},{c:"cn",nom:"China"},{c:"co",nom:"Colombia"},{c:"km",nom:"Comoros"},{c:"cd",nom:"Congo ( Democratic Republic of)"},{c:"cg",nom:"Congo (Republic of)"},{c:"cr",nom:"Costa Rica"},{c:"hr",nom:"Croatia"},{c:"cu",nom:"Cuba"},{c:"cy",nom:"Cyprus"},{c:"cz",nom:"Czech Republic"},{c:"cz",nom:"Czech Republic"},{c:"dk",nom:"Denmark"},{c:"dj",nom:"Djibouti"},{c:"do",nom:"Dominican Republic"},{c:"dm",nom:"Dominique"},{c:"tl",nom:"East-Timor"},{c:"ec",nom:"Ecuador"},{c:"eg",nom:"Egypt"},{c:"sv",nom:"El Salvador"},{c:"gq",nom:"Equatorial Guinea"},{c:"er",nom:"Eritrea"},{c:"ee",nom:"Estonia"},{c:"et",nom:"Ethiopia"},{c:"fk",nom:"Falkland Islands"},{c:"fj",nom:"Fiji"},{c:"fi",nom:"Finland"},{c:"fr",nom:"France (continental)"},{c:"ga",nom:"Gabon"},{c:"gm",nom:"Gambia"},{c:"ge",nom:"Georgia"},{c:"de",nom:"Germany"},{c:"gh",nom:"Ghana"},{c:"gi",nom:"Gibraltar"},{c:"gr",nom:"Greece"},{c:"gd",nom:"Grenada"},{c:"gp",nom:"Guadeloupe"},{c:"gu",nom:"Guam"},{c:"gt",nom:"Guatemala"},{c:"gn",nom:"Guinea"},{c:"gw",nom:"Guinea Bissau"},{c:"gy",nom:"Guyana"},{c:"gf",nom:"Guyane Française"},{c:"ht",nom:"Haïti"},{c:"hn",nom:"Honduras"},{c:"hk",nom:"Hong Kong"},{c:"hu",nom:"Hungary"},{c:"is",nom:"Iceland"},{c:"in",nom:"India"},{c:"id",nom:"Indonesia"},{c:"ir",nom:"Iran"},{c:"iq",nom:"Iraq"},{c:"ie",nom:"Ireland"},{c:"il",nom:"Israel"},{c:"it",nom:"Italy"},{c:"ci",nom:"Ivory Coast"},{c:"jm",nom:"Jamaica"},{c:"jp",nom:"Japan"},{c:"jo",nom:"Jordan"},{c:"kz",nom:"Kazakhstan"},{c:"ke",nom:"Kenya"},{c:"ki",nom:"Kiribati"},{c:"kw",nom:"Kuwait"},{c:"kg",nom:"Kyrgyzstan"},{c:"re",nom:"La Réunion"},{c:"la",nom:"Laos"},{c:"lv",nom:"Latvia"},{c:"lb",nom:"Lebanon"},{c:"ls",nom:"Lesotho"},{c:"lr",nom:"Liberia"},{c:"ly",nom:"Libya"},{c:"li",nom:"Liechtenstein"},{c:"lt",nom:"Lithuania"},{c:"lu",nom:"Luxembourg"},{c:"mk",nom:"Macedonia"},{c:"mg",nom:"Madagascar"},{c:"mw",nom:"Malawi"},{c:"my",nom:"Malaysia"},{c:"mv",nom:"Maldives"},{c:"ml",nom:"Mali"},{c:"mt",nom:"Malta"},{c:"mq",nom:"Martinique"},{c:"mh",nom:"Marshall Islands"},{c:"mr",nom:"Mauritania"},{c:"mu",nom:"Mauritius"},{c:"yt",nom:"Mayotte"},{c:"mx",nom:"Mexico"},{c:"fm",nom:"Micronesia (Federated States of)"},{c:"md",nom:"Moldova"},{c:"mc",nom:"Monaco"},{c:"mn",nom:"Mongolia"},{c:"ms",nom:"Montserrat"},{c:"ma",nom:"Morocco"},{c:"mz",nom:"Mozambique"},{c:"mm",nom:"Myanmar"},{c:"na",nom:"Namibia"},{c:"nr",nom:"Nauru"},{c:"an",nom:"Nederlands Antilla"},{c:"np",nom:"Nepal"},{c:"nl",nom:"Netherlands"},{c:"nc",nom:"New Caledonia"},{c:"nz",nom:"New Zealand"},{c:"ni",nom:"Nicaragua"},{c:"ne",nom:"Niger"},{c:"ng",nom:"Nigeria"},{c:"nu",nom:"Niue"},{c:"nf",nom:"Norfolk"},{c:"kp",nom:"North Korea"},{c:"no",nom:"Norway"},{c:"om",nom:"Oman"},{c:"pk",nom:"Pakistan"},{c:"ps",nom:"Palestine"},{c:"pa",nom:"Panama"},{c:"pg",nom:"Papua New Guinea"},{c:"py",nom:"Paraguay"},{c:"pe",nom:"Peru"},{c:"ph",nom:"Philippines"},{c:"pn",nom:"Pitcairn"},{c:"pl",nom:"Poland"},{c:"pf",nom:"Polynésie Française"},{c:"pt",nom:"Portugal"},{c:"qa",nom:"Qatar"},{c:"ro",nom:"Romania"},{c:"ru",nom:"Russia"},{c:"rw",nom:"Rwanda"},{c:"kn",nom:"Saint Kitts and Nevis"},{c:"sh",nom:"Saint-Helena"},{c:"lc",nom:"Saint-Lucia"},{c:"pm",nom:"Saint-Pierre-and-Miquelon"},{c:"vc",nom:"Saint-Vincent and Grenadines"},{c:"mp",nom:"Saipan"},{c:"sb",nom:"Salomon"},{c:"sm",nom:"San Marino"},{c:"st",nom:"Sao Tome and Principe"},{c:"sa",nom:"Saudi Arabia"}
2,{c:"sn",nom:"Senegal"},{c:"rs",nom:"Serbia and Montenegro"},{c:"sc",nom:"Seychelles"},{c:"sl",nom:"Sierra Leone"},{c:"sg",nom:"Singapore"},{c:"sk",nom:"Slovakia"},{c:"si",nom:"Slovenia"},{c:"so",nom:"Somalia"},{c:"za",nom:"South Africa Republic"},{c:"kr",nom:"South Korea"},{c:"es",nom:"Spain"},{c:"lk",nom:"Sri Lanka"},{c:"sd",nom:"Sudan"},{c:"sr",nom:"Suriname"},{c:"sz",nom:"Swaziland"},{c:"se",nom:"Sweden"},{c:"ch",nom:"Switzerland"},{c:"sy",nom:"Syria"},{c:"tf",nom:"TAAF"},{c:"tw",nom:"Taiwan"},{c:"tj",nom:"Tajikistan"},{c:"tz",nom:"Tanzania"},{c:"th",nom:"Thailand"},{c:"tg",nom:"Togo"},{c:"tk",nom:"Tokelau"},{c:"to",nom:"Tonga"},{c:"tt",nom:"Trinidad and Tobago"},{c:"tn",nom:"Tunisia"},{c:"tr",nom:"Turkey"},{c:"tm",nom:"Turkmenistan"},{c:"tc",nom:"Turks and Caicos Islands"},{c:"tv",nom:"Tuvalu"},{c:"ae",nom:"U.A.Emirates"},{c:"ug",nom:"Uganda"},{c:"ua",nom:"Ukraine"},{c:"gb",nom:"United Kingdom"},{c:"vi",nom:"United States Virgin Islands"},{c:"uy",nom:"Uruguay"},{c:"us",nom:"U.S.A"},{c:"uz",nom:"Uzbekistan"},{c:"vu",nom:"Vanuatu"},{c:"va",nom:"Vatican"},{c:"ve",nom:"Venezuela"},{c:"vn",nom:"Vietnam"},{c:"wf",nom:"Wallis And Futuna"},{c:"eh",nom:"Western Sahara"},{c:"ws",nom:"Western Samoa"},{c:"ye",nom:"Yemen"},{c:"zm",nom:"Zambia"},{c:"zw",nom:"Zimbabwe"}]}[e]}},m.cookie=function(e,n,t){if(void 0===n){var o=null;if(document.cookie&&""!=document.cookie)for(var a=document.cookie.split(";"),i=0;i<a.length;i++){var r=m.trim(a[i]);if(r.substring(0,e.length+1)==e+"="){o=decodeURIComponent(r.substring(e.length+1));break}}return o}t=t||{},null===n&&(n="",t.expires=-1);var s="",c=(t.expires&&("number"==typeof t.expires||t.expires.toUTCString)&&("number"==typeof t.expires?(c=new Date).setTime(c.getTime()+24*t.expires*60*60*1e3):c=t.expires,s="; expires="+c.toUTCString()),t.path?"; path="+t.path:""),l=t.domain?"; domain="+t.domain:"",t=t.secure?"; secure":"";document.cookie=[e,"=",encodeURIComponent(n),s,c,l,t].join("")})}(window,AllianceReseaux.jQuery,AllianceReseaux),!function(t,e,o){var a;o.Console||(a=o.URLHelper.isPageLocalhost(),o.Console={},e.each(["log","dir","time","timeEnd","groupCollapsed","groupEnd","timeStamp"],function(e,n){o.Console[n]=function(){if(a)try{var e=t.console;e&&e[n]&&(e[n].apply?e[n].apply(e,arguments):Function.prototype.bind&&Function.prototype.bind.call(e[n],e).apply(e,arguments))}catch(e){}}}),o.Console.groupDir=function(e,n){o.Console.groupCollapsed(e),o.Console.dir(n),o.Console.groupEnd(e)},o.Console.enable=function(){a=!0})}(window,AllianceReseaux.jQuery,AllianceReseaux),!function(r,o){r.Interne.Broker||(r.Interne.Broker=function(){var a=this,i={};this.subscribe=function(e,n,t){"string"!=typeof n&&(t=n,n="*"),null==(n=i[e=e+"."+n])&&(n=o.Callbacks(),i[e]=n),n.add(t)},this.subscribeOnce=function(e,n,t){var o;"string"!=typeof n&&(t=n,n="*"),t.onceWrapper=o=function(){a.unsubscribe(e,n,o),t.apply(a,arguments)},a.subscribe(e,n,o)},this.publish=function(e,n,t){var o;"string"!=typeof n&&(t=n,n="*"),r.Console.groupDir("AR.Events.publish "+(o=e+"."+n),t),null!=(e=i[e+".*"])&&e.fire(t),"*"!==n&&null!=(e=i[o])&&e.fire(t)},this.unsubscribe=function(e,n,t){"string"!=typeof n&&(t=n,n="*"),null!=(e=i[e+"."+n])&&e.remove(t.onceWrapper||t)}},r.Events=new r.Interne.Broker)}((window,AllianceReseaux),AllianceReseaux.jQuery),!function(x,k,C){null==C.Tracking&&(C.Tracking=new function(){function h(e,n){if(n&&e)for(var t in n)e=e.replace(new RegExp("\\$"+t,"gim"),n[t]);return e}function g(e,n){if(n&&e)if("function"==typeof e)e=e(n);else for(var t in e)e[t]=h(e[t],n);return e}var v={},m=this,y=(this.Cree=function(n,e){try{var t,o,a,i,r,s;function c(){dataLayer.push(arguments)}n&&n.ID&&((r=v[n.ID])?(k.extend(!0,r.options,n),d(n.ID,e)):(r=v[n.ID]={options:n,contexte:e||{}},n.tracker?v[n.ID].tracker=n.tracker:(n.instancierTracker=null==n.instancierTracker||n.instancierTracker,n.tagManager?n.instancierTracker&&(t=x,o=document,a="dataLayer",i=n.ID,t[a]=t[a]||[],t[a].push({"gtm.start":(new Date).getTime(),event:"gtm.js"}),t=o.getElementsByTagName("script")[0],(a=o.createElement("script")).async=!0,a.src="https://www.googletagmanager.com/gtm.js?id="+i,t.parentNode.insertBefore(a,t)):n.universal?n.instancierTracker?(C.OsBase.ChargeUniversalAnalytics(),C.OsB
2ase.AttendreUniversalAnalytics(function(){__gaTracker("create",n.ID,"auto",{name:n.ID.replace(/\-/gi,""),cookieDomain:n.Domaine||"none",allowLinker:!0}),v[n.ID].tracker={}})):C.OsBase.AttendreUniversalAnalytics(function(){v[n.ID].tracker={}}):n.atinternet?n.instancierTracker?(x.ATInternet=x.ATInternet||{},x.ATInternet.onTrackerLoad=function(){var e=new x.ATInternet.Tracker.Tag;null==e.privacy.getVisitorMode()&&e.privacy.setVisitorMode("cnil","exempt"),v[n.ID].tracker=e},(u=document.createElement("script")).type="text/javascript",u.async=!0,u.src=n.ID,(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]||document.getElementsByTagName("script")[0].parentNode).insertBefore(u,null)):C.OsBase.Attendre(function(){return x.tag},function(){v[n.ID].tracker=x.tag}):n.atinternetpiano?C.OsBase.Attendre(function(){return x.pa},function(){v[n.ID].tracker=x.pa}):n.matomo||(n.googleGA4?n.instancierTracker&&(x.dataLayer=x.dataLayer||[],c("js",new Date),c("config",n.ID),(l=document.createElement("script")).type="text/javascript",l.async=!0,l.src="https://www.googletagmanager.com/gtag/js?id="+n.ID,(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]||document.getElementsByTagName("script")[0].parentNode).insertBefore(l,null)):n.matomocloud||(n.instancierTracker?C.OsBase.ChargeLibs(["GoogleAnalytics"],function(){var e=_gat._createTracker(n.ID);n.Domaine&&e._setDomainName(n.Domaine),e._setAllowLinker(!0),v[n.ID].tracker=e}):C.OsBase.Attendre(function(){return x._gat},function(){v[n.ID].tracker=tracker})))),s=C.OsBase.GetUrlGadget("/widgets/themes/std/json/tracking/dico.js"),C.OsBase.ChargeScript(s,{idScript:s,charset:"utf-8"}),C.OsBase.Attendre(function(){return!!m.GetDico},function(){var e,n=m.GetDico();r.options.Dico?(e=C.OsBase.GetUrlGadget("/widgets/themes/std/json/tracking/dico-"+r.options.Dico+".js"),C.OsBase.ChargeScript(e,{idScript:e,charset:"utf-8"}),C.OsBase.Attendre(function(){return!!m["GetDico"+r.options.Dico]},function(){k.extend(n,m["GetDico"+r.options.Dico]()),r.dico=n})):r.dico=n})))}catch(e){}var l,u},this.TrackDicoEvent=function(m,d,e,p){try{if(!d||!m)return null;var f=v[m];f&&(k.extend(f.contexte,e),f.contexte&&f.contexte.ui&&!f.contexte.metier&&(f.contexte.metier=C.OsBase.MetierParPrefixeUI(C.OsBase.UI.Parse(f.contexte.ui).source)),C.OsBase.Attendre(function(){return f.dico},function(){try{var e=f.dico[d+"#event"];if(e)for(var n=0;n<e.length;n++)e[n](f.contexte);var t=f.dico[d+"#datalayer"];if(x.dataLayer&&t)for(var o,t=k.extend(!0,{},t),a=0;o=t[a];a++){var i=g(o,f.contexte);i.content&&(i=g(i.content,f.contexte)),x.dataLayer.push(i)}if(!f.options.tagManager){var r,s=f.dico[d+"#pageview"],c=(s&&((r="string"==typeof s?{page:s}:k.extend(!0,{},s)).page=h(r.page,f.contexte),b(m,r,p)),f.dico[d]),l=[];if(c){for(var u=0;u<5;u++)l[u]=c[u],l[u]&&(l[u]=h(l[u],f.contexte));y(m,l[0],l[1],l[2],l[3],l[4],p)}}}catch(e){C.Console.log(e)}}))}catch(e){C.Console.log(e)}},this.TrackEvent=function(e,n,t,o,a,i,r){var s={};r&&r.push(s);try{var c=v[e];c&&!c.options.tagManager&&(n=(n||"").replace(/\s*>\s*$/gi,""),t=(t||"").replace(/\s*>\s*$/gi,""),o=(o||"").replace(/\s*>\s*$/gi,""),i=c.options.baseUrlPage?c.options.baseUrlPage.replace(/\s*\/\s*$/gi,"")+"/"+(i||"").replace(/^\s*\/\s*/gi,""):i,c.options.universal?C.OsBase.Attendre(function(){return __gaTracker},function(){__gaTracker(function(){C.OsBase.Attendre(function(){return __gaTracker.getByName(e.replace(/\-/gi,""))},function(){__gaTracker(e.replace(/\-/gi,"")+".send","event",n,t,o,null==a?null:parseFloat(a),{page:i,hitCallback:function(){s.ok=!0}})})})}):C.OsBase.Attendre(function(){return c.tracker},function(){c.tracker._trackEvent(n,t,o,null==a?null:parseFloat(a)),s.ok=!0}))}catch(e){s.ok=!0}}),b=this.TrackPage=function(e,n,t){var o={};t&&t.push(o);try{var a,i=v[e];i&&!i.options.tagManager&&((a="string"==typeof n?{page:n}:n).page=i.options.baseUrlPage?i.options.baseUrlPage.replace(/\s*\/\s*$/gi,"")+"/"+(a.page||"").replace(/^\s*\/\s*/gi,""):a.page,i.options.universal?C.OsBase.Attendre(function(){return __gaTracker},function(){__gaTracker(function(){C.OsBase.Attendre(function(){return __gaTracker.getByName(e.replace(/\-/gi,""))},function(){i.options.requireDisplayFeatures&&__gaTracker(e.replace(/\-/gi,"")+".require","displayfeatures"),i.options.requireLinkId&&__gaTracker(e.replace(/\-/gi,"")+".require","linkid","linkid.js"),i.options.requireLinker&&__gaTracker(e.replace(/\-/gi,"")+".require","linker"),i.options.linkerAutoLink&&__gaTracker(e.replace(/\-/gi,"")+".linker:autoLink",i.options.linkerAutoLink),i.options.anonymizeIp&&__gaTracker(e.replace(/\-/gi,"")+".set","anonymizeIp",!0),__gaTracker(e.replace(/\-/gi,"")+".send","pageview",k.extend(!0,{},a,{hitCallback:function(){o.ok=!0}}))})})}):i.options.atinternet?C.OsBase.Attendre(function(){return i.tracker},function(){i.tracker.page.send({name:a.page})}):i.options.atinternetpiano?(x._paq=x._paq||[],_paq.push(["sendEvent","page.display",{page:a.page}])):i.options.googleGA4?C.OsBase.Attendre(function(){return x.gtag},function(){gtag("event","page_view",{page_title:n})}):i.options.matomocloud?(x._paq=x._paq||[],_paq.push(["setDocumentTitle",a.page]),_paq.push(["trackPageView"])):C.OsBase.Attendre(function(){return i.tracker},function(){i.tracker._trackPageview(a.page),o.ok=!0}))}catch(e){o.ok=!0}},d=(this.AddTransaction=function(e,n,t){var o={};t&&t.push(o);try{var a=v[e];
2if(a)return a.options.tagManager?x.dataLayer?void x.dataLayer.push(k.extend(!0,{},n,{eventCallback:function(){o.ok=!0}})):void(o.ok=!0):void(a.options.universal&&C.OsBase.Attendre(function(){return __gaTracker},function(){__gaTracker(function(){C.OsBase.Attendre(function(){return __gaTracker.getByName(e.replace(/\-/gi,""))},function(){__gaTracker(e.replace(/\-/gi,"")+".require","ecommerce","ecommerce.js"),__gaTracker(e.replace(/\-/gi,"")+".ecommerce:addTransaction",k.extend(!0,{},n,{hitCallback:function(){o.ok=!0}}))})})}))}catch(e){o.ok=!0}},this.AddItem=function(e,n,t){var o={};t&&t.push(o);try{var a=v[e];a&&a.options.universal&&C.OsBase.Attendre(function(){return __gaTracker},function(){__gaTracker(function(){C.OsBase.Attendre(function(){return __gaTracker.getByName(e.replace(/\-/gi,""))},function(){__gaTracker(e.replace(/\-/gi,"")+".require","ecommerce","ecommerce.js"),__gaTracker(e.replace(/\-/gi,"")+".ecommerce:addItem",k.extend(!0,{},n,{hitCallback:function(){o.ok=!0}}))})})})}catch(e){o.ok=!0}},this.TrackTrans=function(e){try{var n=v[e];n&&n.options.universal&&C.OsBase.Attendre(function(){return __gaTracker},function(){__gaTracker(function(){C.OsBase.Attendre(function(){return __gaTracker.getByName(e.replace(/\-/gi,""))},function(){__gaTracker(e.replace(/\-/gi,"")+".require","ecommerce","ecommerce.js"),__gaTracker(e.replace(/\-/gi,"")+".ecommerce:send")})})})}catch(e){}},this.Contexte=function(e,n){if(void 0===n)return(v[e]||{}).contexte;v[e]&&k.extend(v[e].contexte,n)})})}(window,AllianceReseaux.jQuery,AllianceReseaux),!function(e){e.Tracking.Mappers=e.Tracking.Mappers||{},e.Tracking.Mappers.TagManager=e.Tracking.Mappers.TagManager||{},e.Tracking.Mappers.TagManager.UniversalEC={Checkout:function(r){return r=AllianceReseaux.jQuery.extend(!0,{event:"checkout",step:1},r),function(e){for(var n,t=[],o=0;o<e.osTracker.Paniers.length;o++)for(var a=e.osTracker.Paniers[o],i=0;i<a.Produits.length;i++)n=a.Produits[i],t.push({name:n.Nom,id:n.Sku,price:n.Prix,category:n.Categorie,quantity:n.Qt});return{event:r.event,currencyCode:e.osTracker.Paniers[0].Devise.CodeAlpha,ecommerce:{checkout:{actionField:{step:r.step},products:t}}}}},Purchase:function(s){return s=AllianceReseaux.jQuery.extend(!0,{event:"purchase"},s),function(e){for(var n,t,o=0,a=[],i=0;i<e.osTracker.Paniers.length;i++)if(2==(n=e.osTracker.Paniers[i]).Etat||3==n.Etat){o+=n.Total;for(var r=0;r<n.Produits.length;r++)t=n.Produits[r],a.push({name:t.Nom,id:t.Sku,price:t.Prix,category:t.Categorie,quantity:t.Qt})}return{event:s.event,ecommerce:{currencyCode:e.osTracker.Paniers[0].Devise.CodeAlpha,purchase:{actionField:{id:e.osTracker.IdActionContact,revenue:o,affiliation:e.osTracker.Domaine},products:a}}}}}}}((window,AllianceReseaux.jQuery,AllianceReseaux)),!function(c,e){e.Tracking.Mappers=e.Tracking.Mappers||{},e.Tracking.Mappers.Matomo={Order:function(e){for(var n,t,o=!1,a=0,i=c._paq=c._paq||[],r=0;r<e.osTracker.Paniers.length;r++)if(2==(n=e.osTracker.Paniers[r]).Etat||3==n.Etat){a+=n.Total;for(var s=0;s<n.Produits.length;s++)t=n.Produits[s],o=!0,i.push(["addEcommerceItem",t.Sku,t.Nom,[t.Categorie],t.Prix,t.Qt])}o&&i.push(["trackEcommerceOrder",e.osTracker.IdActionContact,a])}}}(window,(AllianceReseaux.jQuery,AllianceReseaux)),!function(e){e.Tracking.Mappers=e.Tracking.Mappers||{},e.Tracking.Mappers.GoogleGA4={Order:function(e){for(var n,t,o=!1,a=0,i=[],r=0;r<e.osTracker.Paniers.length;r++)if(2==(n=e.osTracker.Paniers[r]).Etat||3==n.Etat){a+=n.Total;for(var s=0;s<n.Produits.length;s++)t=n.Produits[s],o=!0,i.push({item_id:t.Sku,item_name:t.Nom,item_category:t.Categorie,price:t.Prix,quantity:t.Qt})}o&>ag("event","purchase",{transaction_id:e.osTracker.IdActionContact,value:a,currency:e.osTracker.Paniers[0].Devise.CodeAlpha,items:i})}}}((window,AllianceReseaux.jQuery,AllianceReseaux)),!function(c,e){e.Tracking.Mappers=e.Tracking.Mappers||{},e.Tracking.Mappers.MatomoCloud={Order:function(e){for(var n,t,o=!1,a=0,i=c._paq=c._paq||[],r=0;r<e.osTracker.Paniers.length;r++)if(2==(n=e.osTracker.Paniers[r]).Etat||3==n.Etat){a+=n.Total;for(var s=0;s<n.Produits.length;s++)t=n.Produits[s],o=!0,i.push(["addEcommerceItem",t.Sku,t.Nom,[t.Categorie],t.Prix,t.Qt])}o&&i.push(["trackEcommerceOrder",e.osTracker.IdActionContact,a])}}}(window,(AllianceReseaux.jQuery,AllianceReseaux)),!function(t){function o(){var e,n;return t.browser.msie?(e=t(document).height(),n=t(window).height(),[window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,e-n<20?n:e]):[t(document).width(),t(document).height()]}function a(e){if(e)return e.call(t.mask)}var i,r,s,c,l,u;t.tools=t.tools||{version:"1.2.5"},i=t.tools.expose={conf:{maskId:"exposeMask",loadSpeed:"slow",closeSpeed:"fast",closeOnClick:!0,closeOnEsc:!0,zIndex:9998,opacity:.8,startOpacity:0,color:"#fff",onLoad:null,onClose:null}},t.mask={load:function(e,n){return c||(e=(e="string"==typeof e?{color:e}:e)||l,l=e=t.extend(t.extend({},i.conf),e),(r=t("#"+e.maskId)).length||(r=t("<div/>").attr("id",e.maskId),t("body").append(r)),o(),r.css({position:"fixed",top:0,left:0,right:0,bottom:0,display:"none",opacity:e.startOpacity,zIndex:e.zIndex}),e.color&&r.css("backgroundColor",e.color),!1!==a(e.onBeforeLoad)&&(e.closeOnEsc&&t(document).bind("keydown.mask",function(e){27==e.keyCode&&t.mask.close(e)}),e.closeOnClick&&r.bind("click.mask",function(e){t.mask.close(e)}),t(window).bind("resize.mask",function(){t.mask.fit()}),n&&n.length&&(u=n.eq(0).css("zIndex"),t.each(n,function(){var e=t(this);/relative|absolute|fixed/i.test(e.css("position"))||e.css("position","relative")}),s=n.css({zIndex:Math.max(e.zIndex+1,"auto"==u?0:u)})),r.css({display:"block"}).fadeTo(e.loadSpeed,e.opacity,function(){t.mask.fit(),a(e.onLoad),c="full"}),c=!0)),this},close:function(){if(c){if(!1===a(l.onBeforeClose))return this;r.fadeOut(l.closeSpeed,function(){a(l.onClose),s&&s.css({zIndex:u}),c=!1}
2),t(document).unbind("keydown.mask"),r.unbind("click.mask"),t(window).unbind("resize.mask")}return this},fit:function(){var e;c&&(e=o(),r.css({width:e[0],height:e[1]}))},getMask:function(){return r},isLoaded:function(e){return e?"full"==c:c},getConf:function(){return l},getExposed:function(){return s}},t.fn.mask=function(e){return t.mask.load(e),this},t.fn.expose=function(e){return t.mask.load(e,this),this}}(AllianceReseaux.jQuery),!function(f){function t(e,r){var n,s,c=this,l=e.add(c),u=f(window),m=f.tools.expose&&(r.mask||r.expose),d=Math.random().toString().slice(10),t=(m&&((m="string"==typeof m?{color:m}:m).closeOnClick=m.closeOnEsc=!1),r.target||e.attr("rel")),p=t?f(t):e;if(!p.length)throw"Could not find osLibOverlay: "+t;e&&-1==e.index(p)&&e.click(function(e){return c.load(e),e.preventDefault()}),f.extend(c,{load:function(e){if(!c.isOpened()){var n,t,o,a,i=g[r.effect];if(!i)throw'osLibOverlay: cannot find effect : "'+r.effect+'"';r.oneInstance&&f.each(h,function(){this.close(e)}),(e=e||f.Event()).type="onBeforeLoad",l.trigger(e),e.isDefaultPrevented()||(s=!0,m&&f(p).expose(m),n=r.top,t=r.left,o=p.outerWidth({margin:!0}),a=p.outerHeight({margin:!0}),"string"==typeof n&&(n="center"==n?Math.max((u.height()-a)/2,0):parseInt(n,10)/100*u.height()),"center"==t&&(t=Math.max((u.width()-o)/2,0)),i[0].call(c,{top:n,left:t},function(){s&&(e.type="onLoad",l.trigger(e))}),m&&r.closeOnClick&&f.mask.getMask().one("click",c.close),r.closeOnClick&&f(document).bind("click."+d,function(e){f(e.target).parents(p).length||c.close(e)}),r.closeOnEsc&&f(document).bind("keydown."+d,function(e){27==e.keyCode&&c.close(e)}))}return c},close:function(e){return c.isOpened()?((e=e||f.Event()).type="onBeforeClose",l.trigger(e),e.isDefaultPrevented()?void 0:(s=!1,g[r.effect][1].call(c,function(){e.type="onClose",l.trigger(e)}),f(document).unbind("click."+d).unbind("keydown."+d),m&&f.mask.close(),c)):c},getOverlay:function(){return p},getTrigger:function(){return e},getClosers:function(){return n},isOpened:function(){return s},getConf:function(){return r}}),f.each("onBeforeLoad,onStart,onLoad,onBeforeClose,onClose".split(","),function(e,n){f.isFunction(r[n])&&f(c).bind(n,r[n]),c[n]=function(e){return e&&f(c).bind(n,e),c}}),(n=p.find(r.close||".close")).length||r.close||(n=f('<a class="close" role="button" aria-label="close">X</a>'),p.prepend(n)),n.click(function(e){c.close(e)}),r.load&&c.load()}f.tools=f.tools||{version:"1.2.5"},f.tools.osLibOverlay={addEffect:function(e,n,t){g[e]=[n,t]},conf:{close:null,closeOnClick:!0,closeOnEsc:!0,closeSpeed:"fast",effect:"default",fixed:!f.browser.msie||6<f.browser.version,left:"center",load:!1,mask:null,oneInstance:!0,speed:"normal",target:null,top:"10%"}};var h=[],g={};f.tools.osLibOverlay.addEffect("default",function(e,n){var t=this.getConf(),o=f(window);t.fixed||(e.top+=o.scrollTop(),e.left+=o.scrollLeft()),e.position=t.fixed?"fixed":"absolute",this.getOverlay().css(e).fadeIn(t.speed,n)},function(e){this.getOverlay().fadeOut(this.getConf().closeSpeed,e)}),f.fn.osLibOverlay=function(e){var n=this.data("osLibOverlay");return n||(f.isFunction(e)&&(e={onBeforeLoad:e}),e=f.extend(!0,{},f.tools.osLibOverlay.conf,e),this.each(function(){n=new t(f(this),e),h.push(n),f(this).data("osLibOverlay",n)}),e.api?n:this)}}(AllianceReseaux.jQuery),!function(u,m){var d;null==AllianceReseaux.OsOverlay&&(d={},m(u).scroll(function(){var e=m(document).height();e&&m(".os-overlay-mask").height(e)}),AllianceReseaux.OsOverlay=function(t){var n,e,o,a,i,r,s,c,l;t&&(s=AllianceReseaux.OsBase.CreeGuid(),a=t.theme||"std",l=t.personnalisation||"",n=t.nePasFermerSurClic,e=this.Ferme=function(){m(".os-overlay:visible").last().osLibOverlay().close()},this.FermerSurClic=function(e){n=!e},o=function(){var e=m(m(".os-overlay").last()),n=parseInt((m(u).width()-e.width())/2,10)+m(document).scrollLeft();e.css("left",n<0?0:n)},a=(c=d[t.persistance])?m(c):m(t.cible).addClass(a).addClass(l).addClass("os-overlay").attr("role","modal").appendTo(m("body")),c||m.data(a[0],"guid",s),i="_osoverlay_fixobjects_"+(new Date).getTime(),r="_osoverlay_fixoverlays_"+(new Date).getTime(),m.browser.msie&&!m.data(document,"__scrollBUGIE9")&&(m.data(document,"__scrollBUGIE9",!0),m(document).bind("scroll",function(){0<m(".overlay:visible").length&&m(document).scrollTop()<10&&m(document).scrollTop(10)})),m.browser.msie&&0==m(document).scrollTop()&&m(document).scrollTop(10),l={fixed:!1,top:50,closeOnClick:!1,closeOnEsc:!1,load:!0,oneInstance:!1,onLoad:function(){t.onLoad&&t.onLoad(),m(u).resize(o),o()},onClose:function(){document[i].css("visibility",""),t.affichageunique&&document[r].css("visibility",""),t.onClose&&t.onClose();var e=this.getOverlay(),n=m.data(e[0],"mask");t.persistance||m(e).remove(),m(n).remove(),m(".os-overlay-mask").last().css("visibility","")},onBeforeClose:function(){return document._fix_ie_fermeture_overlay_document_location?document._fix_ie_fermeture_overlay_document_location=!1:(t.onBeforeClose&&t.onBeforeClose(),!0)},onBeforeLoad:function(){var e;document[i]=m("object:visible").css("visibility","hidden"),t.affichageunique&&(e=m(".os-overlay"),document[r]=m(e.splice(0,e.length-1)||[]),document[r].css("visibility","hidden")),t.onBeforeLoad&&t.onBeforeLoad()}},0==m(".os-overlay-mask").length&&(l.mask={color:"#000",loadSpeed:0,opacity:.7}),c?(a.osLibOverlay().load(),overlay=c):(overlay=a.osLibOverlay(l)[0],t.persistance&&(d[t.persistance]=overlay)),s=m("#exposeMask").removeClass("os-overlay-mask").addClass("os-overlay-mask")[0],l=(l.mask?m(s):(c=parseInt(m(".os-overlay-mask").last().css("z-index"),10)+2,a.css("z-index",c+1),m(".os-overlay-mask").last().clone().css("z-index",c).appendTo(m("body")))).click(function(){n||(t.onClose&&t.onClose(),e())}),m.data(a[0],"mask",l[0]),m(".os-overlay-mask:not(:last)").css("visibility","hidden"))})}(window,AllianceReseaux.jQuery),!function(e,n){var s,t,o,c,l,a;function i(e){o||AllianceReseaux.OsBase.Attendre(function(){return 0<n("body").length},function(){t=t||n("<iframe style='display:none;' src='"+s+"/widgets/osstorage/local.html'></iframe>").load(function(){o=!0}).appendTo(n("body"))[0]});function r(e){AllianceReseaux.OsBase.Attendre(function(){return o},function(){e(t)})}this.Lit=function(o,a,i){return l&&o&&""!=o?(r(function(e){var n=AllianceReseaux.OsBase.CreeGuid(),t="__lit"+(i?"lock":"");c["__lit"+n]=a,e.contentWindow.postMessage(t+n+o,s)}),!0):(a(null),!1)},this.Ecrit=function(t,o,a){return!(!l||!t||""==t||(r(function(e){var n=new Date;n.setDate(n.getDate()+2),e.contentWindow.postMessage("__ecrit"+t+"__expiration"+(a&&a.getTime?a:n).getTime()+"__donnees"+o,s)}),0))},this.UnLock=function(n){return!(!l||!n||""==n||(r(function(e){e.contentWindow.postMessage("__unlock"+n,s)}),0))}}null==AllianceReseaux.OsStorage&&(s=AllianceReseaux.OsBase.GetUrlGadget(""),t=null,o=!"/widgets/osstorage/local.html",c=[],(l=function(){try{return e.localStorage}catch(e){return!1}}())&&!AllianceReseaux.OsStorage?(AllianceReseaux.OsStorage=i,a=function(e){var n;"string"==typeof e.data&&0==e.data.indexOf("__lit")&&(n=c[e.data.substring(0,41)])&&n(e.data.substring(41))},e.addEventListener?e.addEventListener("message",a,!0):e.attachEvent&&e.attachEvent("onmessage",a)):AllianceReseaux.OsStorage=i)}(window,AllianceReseaux.jQuery),!function(T,j){var s;AllianceReseaux.PopInPanier||(s="<style>.OsPanierPopIn { font-size:12px; background-color:#fff; border-radius:4px; width:600px; min-height:100px; color:#000; } .OsPanierPopIn .Clear { clear:both; }\n .OsPanierPopIn .BlocAttente { display:none; }\n .OsPanierPopIn.Attente .BlocAttente { display:block; }\n .OsPanierPopIn.Attente .BlocContenu { display:none; }\n .OsPanierPopIn.Attente .close { display:none; }\n .OsPanierPopIn .BlocPage { padding:10px; }\n .OsPanierPopIn .BlocTitre { background-image: none; background-color: transparent; border-bottom: 1px dotted #CCC; color: #666; font-size: 14px; font-weight: bold; line-height: 23px; margin-bottom: 5px; text-align: left; padding: 3px 0 0; }\n .OsPanierPopIn .BlocAttente { height:100px; width:100%; }\n .OsPanierPopIn .TableSupplement { width:100%; font-size:12px;border-bottom: 1px solid #E6E7E8;padding-bottom: 0; }\n .OsPanierPopIn .TableSupplement TD { border:0; padding:0; vertical-align:top; text-align:left; }\n .OsPanierPopIn .BlocContenu { width:100%; }\n .OsPanierPopIn .BlocSupplement .Info { color: white; font-weight: bold; cursor: help; display: inline; margin-left: 5px; margin-right: 0px; border-radius: 4px; padding: 1px 4px; border: 1px solid #292929; background-color: #A99E96; font-size: 9px; box-shadow: 1px 1px 2px #888; }\n .OsPanierPopIn .BlocSupplement .Info.Over { background-color: #000; }\n .OsPanierPopIn.OverlayPlusInfo { width:400px; border-radius: 4px; padding:15px; font-size:15px; }\n .OsPanierPopIn.Lock .close { background:url(//gadget.open-system.fr/widgets/themes/std/commun/images/close.png) no-repeat; position:absolute; right:-15px; top:-15px; cursor:pointer; height:35px; width:35px; padding:0; border:none; }\n .OsPanierPopIn.Lock .close span { display:none; } .OsPanierPopIn.Lock.overlay .close span { display:block; }\n .OsPanierPopIn .OverlayLibelle { border-bottom:1px dotted #CCC; color:#666; font-size:15px; font-weight:bold; }\n .OsPanierPopIn .OverlayDescription { margin-top:10px;margin-bottom:10px; font-size:15px; }\n .OsPanierPopIn .BlocSupplement .Operation { width:292px; }\n .OsPanierPopIn .BlocSupplement .NbPers { float:right; width:45px; line-height:25px; padding: 5px 0 0 0; text-align:center; padding: 2px 0 0 0; }\n .OsPanierPopIn .BlocSupplement .Quantite { float:right; width:45px; padding: 5px 0 0 0; text-align:right; }\n .OsPanierPopIn .BlocSupplement .Quantite select { background: none repeat scroll 0 0 white; border: 1px solid #DDD; color: #8C8C8C; font-size: 11px; height: 18px; width:35px; padding:0; -webkit-padding:0; -webkit-appearance:menulist; }\n .OsPanierPopIn .BlocSupplement .Libelle { line-height:25px; padding: 2px 0px 0px 0; color:#000; }\n .OsPanierPopIn .BlocSupplement .Operateur { float:right; width:20px; line-height:25px; text-align:center; padding: 2px 0 0 0; }\n .OsPanierPopIn .BlocSupplement .Prix { float:right;
2 width:65px; line-height:25px; text-align:right; padding: 2px 0 0 0; }\n .OsPanierPopIn .BlocSupplement .NbJours { float:right; width:42px; line-height:25px; text-align:center; padding: 2px 0 0 0; }\n .OsPanierPopIn .BlocSupplement .Total { float:right; width:65px; line-height: 25px; font-weight: bold; font-size: 13px; text-align:right; padding: 2px 0px 0px 0;}\n .OsPanierPopIn .BlocPrix { padding-top: 10px; color: #333; float:right; width:110px; }\n .OsPanierPopIn .BlocPrix .LibellePrixOption { float: left; line-height: 25px; font-weight: bold; color:#666; font-size: 14px; }\n .OsPanierPopIn .BlocPrix .PrixOption { float: right; line-height: 25px; font-weight: bold; font-size: 13px; }\n .OsPanierPopIn .BlocPrix .BlocPrixTotal { color: black; border-top: 1px solid #E6E7E8; display:none; }\n .OsPanierPopIn .BlocPrix .LibellePrixTotal { float: left; line-height: 25px; font-weight: bold; font-size: 15px; text-transform: uppercase; }\n .OsPanierPopIn .BlocPrix .PrixTotal { float: right; line-height: 25px; font-weight: bold; font-size: 18px; }\n </style>",j(function(){j('<div class="OsPanierPopIn CssCustom Attente">'+s+'<div class="BlocPage"><div class="BlocAttente"></div><div class="BlocContenu js-bloc-contenu"></div></div></div>').css("visibility","hidden").css("position","absolute").css("top","-2000px").appendTo(j("body"))}),AllianceReseaux.PopInPanier=function(e){var i=(e||{}).langue||"fr",w=null,c=null,a=null,n=null,A=null,S={fr:{choixsupplements:"Suppléments",totalsupplements:"Total",total:"Total",annuler:"Annuler",ajouteraupanier:"Continuer",plusdinfos:"Plus d'infos",jour:"jour",jours:"jours",abreviationpers:"pers.",ajoutActivites:"Sélection d'activités proposées par nos partenaires locaux.",produitAjoute:"Le produit a été ajouté à votre panier",hebergementAjoute:"Réservez des activités pour votre séjour.",nonMerciActivites:"Non merci, terminer ma réservation",produitsAjoutes:"Ces produits viennent d'être ajoutés à votre panier",continuerMesAchats:"Continuer mes achats",passerMaCommande:"Passer ma commande",chambre:"Chambre",pasDeSupplementMerci:"Pas de suppléments, merci"},uk:{choixsupplements:"Supplements",totalsupplements:"Total",total:"Total",annuler:"Back",ajouteraupanier:"Next",plusdinfos:"More info",jour:"day",jours:"days",abreviationpers:"pers.",ajoutActivites:"A selection of activities organised by our local partners.",hebergementAjoute:"Book activities for your stay.",nonMerciActivites:"No thanks, finish my booking",produitAjoute:"The item has just been added to your basket",produitsAjoutes:"These items have just been added to your basket",continuerMesAchats:"Continue shopping",passerMaCommande:"Pay my order",chambre:"Room",pasDeSupplementMerci:"No supplements, thank you"},pt:{choixsupplements:"Suplementos",totalsupplements:"Total",total:"Total",annuler:"Cancelar",ajouteraupanier:"Continuar",plusdinfos:"Mais informação",jour:"dia",jours:"dias",abreviationpers:"pess.",ajoutActivites:"Souhaitez-vous ajouter des activités pour votre séjour ?",hebergementAjoute:"L'hébergement a été ajouté à votre panier",nonMerciActivites:"Non merci, passer ma commande",produitAjoute:"O produto foi adicionado ao seu carrinho",produitsAjoutes:"Estes produtos acabam de ser adicionados ao seu carrinho",continuerMesAchats:"Continuar as minhas compras",passerMaCommande:"Fazer a meu pedido",chambre:"Quarto",pasDeSupplementMerci:"Continuar"},es:{choixsupplements:"Suplementos",totalsupplements:"Total",total:"Total",annuler:"Atrás",ajouteraupanier:"Adelante",plusdinfos:"+ info",jour:"dÃa",jours:"dÃas",abreviationpers:"pers.",ajoutActivites:"Una selección de las actividades ofrecidas por nuestros socios locales.",hebergementAjoute:"Reserve las actividades para su estancia.",nonMerciActivites:"No gracias, deseo finalizar mi reserva",produitAjoute:"El producto ha sido añadido a su cesta",produitsAjoutes:"Los productos han sido añadidos a su cesta",continuerMesAchats:"Seguir comprando",passerMaCommande:"Validar mi pedido",chambre:"Habitación",pasDeSupplementMerci:"Sin suplementos gracias"},de:{choixsupplements:"Ergänzungen",totalsupplements:"Gesamt",total:"Gesamt",annuler:"Zurück",ajouteraupanier:"Weiter",plusdinfos:"+ info",jour:"tag",jours:"tage",abreviationpers:"pers.",ajoutActivites:"Eine Auswahl an Aktivitäten von unseren lokalen Partnern.",hebergementAjoute:"Buchen Sie Aktivitäten für Ihren Aufenthalt.",nonMerciActivites:"Nein danke, Buchung abschlieÃen",produitAjoute:"Diese Produkte wurden soeben Ihrem Warenkorb hinzugefügt",produitsAjoutes:"Diese Produkte wurden soeben Ihrem Warenkorb hinzugefügt",continuerMesAchats:"Einkauf fortsetzen",passerMaCommande:"Bestellen",chambre:"Zimmer",pasDe
2SupplementMerci:"Keine Ergänzungen, danke"},nl:{choixsupplements:"Supplementen",totalsupplements:"Totaal",total:"Totaal",annuler:"Terug",ajouteraupanier:"Volgende",plusdinfos:"+ info",jour:"dag",jours:"dagen",abreviationpers:"pers.",ajoutActivites:"Een selectie activiteiten aangeboden door onze lokale partnerbedrijven.",hebergementAjoute:"Reserveer activiteiten voor uw verblijf.",nonMerciActivites:"Nee, bedankt, reservering voltooien",produitAjoute:"Het product is toegevoegd aan uw winkelwagen",produitsAjoutes:"De producten zijn toegevoegd aan uw winkelwagen",continuerMesAchats:"Verder winkelen",passerMaCommande:"Bestellen",chambre:"Kamer",pasDeSupplementMerci:"Geen supplementen, bedankt"},ca:{choixsupplements:"Suplements",totalsupplements:"Total",total:"Total",annuler:"Enrere",ajouteraupanier:"Endavant",plusdinfos:"+ info",jour:"dia",jours:"dies",abreviationpers:"pers.",ajoutActivites:"Una selecció d'activitats proposades pels nostres col·laboradors locals.",hebergementAjoute:"Reserveu activitats per la vostra estada.",nonMerciActivites:"No, grà cies, acabar la meva reserva",produitAjoute:"El producte ha estat afegit a la cistella",produitsAjoutes:"Aquests productes han estat afegits a la cistella",continuerMesAchats:"Continuar comprant",passerMaCommande:"Validar la comanda",chambre:"Habitació",pasDeSupplementMerci:"Sense suplements, grà cies"},it:{choixsupplements:"Integratori",totalsupplements:"Totale",total:"Totale",annuler:"Indietro",ajouteraupanier:"Avanti",plusdinfos:"+ info",jour:"giorno",jours:"giorni",abreviationpers:"pers.",ajoutActivites:"Una selezione di attività proposte dai nostri partner locali.",hebergementAjoute:"Prenota le attività per il soggiorno.",nonMerciActivites:"No grazie, concludo la prenotazione",produitAjoute:"Questi prodotti sono appena stati aggiunti al carrello",produitsAjoutes:"Questi prodotti sono appena stati aggiunti al carrello",continuerMesAchats:"Continua lo shopping",passerMaCommande:"Procedi",chambre:"Stanza",pasDeSupplementMerci:"Nessun supplemento, grazie"}}[i],o=(this.OuvreSupplements=function(C){w=j('<div class="OsPanierPopIn Lock CssCustom Attente oslangue-'+i+' " role="modal">'+s+'<div class="BlocPage"><div class="BlocAttente"></div><div class="BlocContenu js-blocContenu"><div class="BlocProduits js-blocProduits"><div class="BlocProduit js-blocProduit"><div class="BlocTitre">'+S.choixsupplements+'<span class="js-titre-produit"></span></div><div class="BlocSupplement js-blocSupplement" /><div class="BlocPrix"><div class="BlocPrixOption"><div class="LibellePrixOption">'+S.totalsupplements+' :</div><div class="PrixOption js-prixOption" /><div class="Clear" /></div><div class="BlocPrixTotal"><div class="LibellePrixTotal">'+S.total+' :</div><div class="PrixTotal js-prixTotal" /><div class="Clear" /></div><div class="Clear" /></div><div class="Clear" /></div></div><div class="BlocBoutons"><div class="Bouton BoutonAjouter js-boutonAjouter"><a href="javascript:void(0);" role="button" aria-label="'+S.ajouteraupanier+'"><span class="js-ajout-panier">'+S.ajouteraupanier+'</span></a></div><div class="js-cible-boutons-libres" /><div class="Clear" /></div></div></div></div>');function e(e){if(0==((e||{}).Supplements||[]).length)A.calcultaxe="<Produits></Produits>",A.aucunSupplement=!0,(C.selection||function(){})(A);else{for(var n=w.find(".js-blocProduits").removeClass("js-blocProduits"),t=n.find(".js-blocProduit").removeClass("js-blocProduit").remove(),o=0;o<(C.qte||1);o++)a(e,t.clone().appendTo(n),o);w.removeClass("Attente")}}(A={calcultaxe:null,annulation:!0}).overlay=new AllianceReseaux.OsOverlay({cible:w,onLoad:function(){w.find(".close").empty().append("<span>"+(AllianceReseaux.Regional[i]||AllianceReseaux.Regional.fr).closeOverlay+"</span>");var e=w.find(".js-cible-boutons-libres").removeClass("js-cible-boutons-libres");C.surAffichage&&C.surAffichage({cibleBoutonsLibres:e})},onClose:function(){A.fermer=!0,A.calcultaxe||(C.selection||function(){})(A)},theme:C.theme,nePasFermerSurClic:!0}),c=w.find(".js-blocContenu").removeClass("js-blocContenu"),w.find(".js-boutonAjouter").removeClass("js-boutonAjouter").click(function(){C.trackingID&&AllianceReseaux.Tracking.TrackDicoEvent(C.trackingID,"widget-popin-supplements-continuer"),A.calcultaxe=o(),A.overlay.FermerSurClic(!1),w.addClass("Attente"),(C.selection||function(){})(A)});var n,t,a=function(e,n,t){function a(e){return AllianceReseaux.OsBase.GenereBlocPrix({prix:e,devise:C.devise}).html}for(var o=n.find(".js-blocSupplement").removeClass("js-blocSupplement"),i=n.find(".js-prixOption").removeClass("js-pri
2xOption"),r=n.find(".js-prixTotal").removeClass("js-prixTotal"),s=n.find(".js-titre-produit").removeClass("js-titre-produit"),c=(C.qte&&1<C.qte&&s.text(" - "+S.chambre+" "+(t+1)+" : "),!1),l=!1,u=0;(p=e.Supplements[u])&&(!c||!l);u++)c=c||1<p.NbJours,l=l||!p.Obligatoire||0<p.Quantite&&(p.NbPers||C.nbpers);for(var m=!1,u=0;p=e.Supplements[u];u++)p.Obligatoire&&(m=!0);function d(){var t=0,o=0;n.find("select").each(function(){var e=j.data(this,"supplement"),n=(o+=parseInt(this.options[this.selectedIndex].value),this.options[this.selectedIndex].value*e.prix*(e.supplement.NbJours||1));e.blocTotal.html(a(n)),t+=1==e.supplement.SurPlace?0:n}),i.html(a(t)),r.html(a(t+(C.prix||0))),m||0!==o?w.find(".js-ajout-panier").text(S.ajouteraupanier):w.find(".js-ajout-panier").text(S.pasDeSupplementMerci)}for(var p,u=0;p=e.Supplements[u];u++){for(var f=1===p.SurPlace,h=p.NbPers||C.nbpers,g=p.Pourcentage?p.Pourcentage*(C.prix||0)/100:p.Prix,v=j("<select "+(p.Obligatoire?'style="display:none;"':"")+"/>").attr("title",p.Libelle+" : "+g*(p.NbJours||1)+" â¬"),y=p.Obligatoire?p.Quantite&&h||1:0;y<=(p.Obligatoire?p.Quantite&&h||1:p.Quantite);y++)p.QuantiteStricte&&0!==y&&y!=(p.Obligatoire?p.Quantite&&h||1:p.Quantite)||j("<option "+(y===(p.QuantiteDefaut||0)?'selected="true" ':"")+"/>").attr("value",y).text(y).appendTo(v);v.change(d);var b=null,x=((p.Description||p.UrlInfo)&&!function(n){b=j('<span class="Info">?</span>').mouseover(function(){j(this).addClass("Over")}).mouseleave(function(){j(this).removeClass("Over")}).click(function(){var e;n.Description?((e=j('<div class="OsPanierPopIn Lock OverlayPlusInfo CssCustom"><div class="OverlayLibelle">'+n.Libelle+'</div><div class="OverlayDescription">'+n.Description+"</div>"+(n.UrlInfo?'<div class="Bouton BoutonPlusInfo js-boutonPlusInfo"><a href="javascript:void(0);" role="link" aria-label="'+S.plusdinfos+'"><span>'+S.plusdinfos+"</span></a></div>":"")+"</div>")).find(".js-boutonPlusInfo").removeClass("js-boutonPlusInfo").click(function(){T.open(n.UrlInfo)}),new AllianceReseaux.OsOverlay({cible:e})):T.open(n.UrlInfo)})}(p),j('<td class="Operation" />').appendTo(j("<tr />").append(j('<td class="Libelle">'+p.Libelle+"</td>").append(b)).appendTo(j('<table class="TableSupplement" cellspacing="0" cellpadding="0" role="presentation"/>').addClass(p.Obligatoire?"SupplementObligatoire":"SupplementOptionnel").appendTo(o)))),k=j('<div class="Total">'+a(0)+"</div>").appendTo(x).css("visibility",f?"hidden":"visible");j('<div class="Operateur" '+(p.Obligatoire&&!p.Quantite&&1==p.NbJours?'style="display:none;"':f?'style="visibility:hidden"':"")+">=</div>").appendTo(x),j('<div class="NbPers" '+(p.Obligatoire&&l?"":'style="display:none;"')+">"+(p.Quantite&&h?h+" "+S.abreviationpers:"")+"</div>").appendTo(x),j('<div class="Quantite" '+(p.Obligatoire?'style="display:none;"':p.Quantite?"":'style="visibility:hidden"')+"/>").append(j('<span class="OsWrapSelect"></span>').append(v)).appendTo(x),j('<div class="Operateur">'+((!p.Obligatoire||p.Quantite&&h)&&p.Quantite?"x":"")+"</div>").appendTo(x),j('<div class="NbJours" '+(c?"":'style="display:none;"')+">"+(1<p.NbJours?p.NbJours+" "+S.jours:"")+"</div>").appendTo(x),j('<div class="Operateur" '+(c?"":'style="display:none;"')+">"+(1<p.NbJours?"x":"")+"</div>").appendTo(x),j('<div class="Prix" '+(p.Obligatoire&&!p.Quantite&&1==p.NbJours?'style="display:none;"':"")+">"+a(g)+"</div>").appendTo(x),j('<div class="Clear" />').appendTo(x),j.data(v[0],"supplement",{supplement:p,blocTotal:k,prix:g,idx:t}),A.overlay.FermerSurClic(!0)}d()};C.data?e(C.data):(n=C,t=e,j.ajax({url:AllianceReseaux.OsBase.UrlJSONCatalogue()+"e8_"+i+"-.aspx?Param/CodeOs="+n.ui+"&Param/DureeSejour="+n.dureesejour+"&Param/DebutSejour="+n.debutsejour,data:n.ParamsRecherche,dataType:"jsonp",success:function(e){t(e)}}))},this.SurchargeTextes=function(e){j.extend(!0,S,e)},this.PopInV1=function(e){var n=j('<div class="BlocPopIn BlocPopInV1"><div class="produit"><div class="titre">'+S.produitAjoute+'</div><div class="detail"><div class="Clear"></div></div><div class="js-panier-boutons">'+(e.sansPersonnalisation?'<style>.OsPanierPopIn.Lock .Bouton.BoutonPlusInfo { float:left; } .OsPanierPopIn.Lock .Bouton.BoutonContinuer { float:left; } .OsPanierPopIn .Bouton.BoutonTerminer { float:right; } .OsPanierPopIn.Lock .BlocPopIn .titre { text-align:center; color: #666; font-size: 18px; } </style><div class="BlocBoutons"><div class="Bouton BoutonContinuer js-boutonContinuer"><a href="javascript:void(0)" role="button" aria-label="'+S.continuerMesAchats+'"><span>'+S.continuerMesAchats+'</span></a></div><div class="Bouton BoutonTerminer js-boutonTerminer"><a href="javascript:void(0)" role="button" aria-label="'+S.passerMaCommande+'"><span>'+S.passerMaCommande+'</span></a></div><div class="Clear" /></div>':'<style>.OsBtImgCompatibilite { display:none; } </style><div class="boutons"><div class="btcontinuer" role="button" aria-label="'+S.continuerMesAchats+'"><span class="OsBtImgCompatibilite">'+S.continuerMesAchats+'</span></div><div class="btterminer"><span class="OsBtImgCompatibilite">'+S.passerMaCommande+'</span></div><div class="Clear" /></div>')+'</div>
2<div class="InclusionPanierAjout js-inclusion-panier-ajout"></div></div></div>'),t=n.find(".js-panier-boutons").removeClass("js-panier-boutons");return t.find(".btcontinuer,.js-boutonContinuer").removeClass("js-boutonContinuer").click(function(){e.continuer(A)}),t.find(".btterminer,.js-boutonTerminer").removeClass("js-boutonTerminer").click(function(){e.terminer(A)}),e.sansPersonnalisation||w.removeClass("Lock").addClass(e.theme).addClass(e.personnalisation).addClass("overlay").addClass("panier-resultat"),e.sansPersonnalisation||w.find("style").remove(),A.overlay.FermerSurClic(!0),w.removeClass("Attente"),c.empty().append(n),{blocBoutons:t,inclusion:n.find(".js-inclusion-panier-ajout").removeClass("js-inclusion-panier-ajout").hide()}},this.PopInV2=function(e){var n="",t=j('<div class="BlocPopIn BlocPopInV2"><div class="interieur"><div class="titre">'+S.produitsAjoutes+'</div><div class="derniers-produits-ajoutes js-bloc-conteneurproduits"></div><div class="detail"><div class="Clear"></div></div><div class="js-panier-boutons">'+(e.sansPersonnalisation?'<style>.OsPanierPopIn .Bouton.BoutonPlusInfo { float:left; } .OsPanierPopIn .Bouton.BoutonContinuer { float:left; } .OsPanierPopIn .Bouton.BoutonTerminer { float:right; } .OsPanierPopIn .BlocPopIn .titre { text-align:center; color: #666; font-size: 18px; } </style><div class="BlocBoutons"><div class="Bouton BoutonContinuer js-boutonContinuer"><a href="javascript:void(0)" role="button" aria-label="'+S.continuerMesAchats+'"><span>'+S.continuerMesAchats+'</span></a></div><div class="Bouton BoutonTerminer js-boutonTerminer"><a href="javascript:void(0)" role="button" aria-label="'+S.passerMaCommande+'"><span>'+S.passerMaCommande+'</span></a></div><div class="Clear" /></div>':'<style>.OsBtImgCompatibilite { display:none; } </style><div class="boutons"><div class="btcontinuer"><span class="OsBtImgCompatibilite">'+S.continuerMesAchats+'</span></div><div class="btterminer"><span class="OsBtImgCompatibilite">'+S.passerMaCommande+'</span></div><div class="Clear" /></div>')+'</div><div class="InclusionPanierAjout js-inclusion-panier-ajout"></div></div></div>'),o=j(e.ligneProduitRenderer?"<div></div>":"<ul></ul>").addClass("produits");t.find(".js-bloc-conteneurproduits").append(o);for(var a,i=0;a=e.produitsAjoutes[i];i++){var r=null,r=e.ligneProduitRenderer?e.ligneProduitRenderer(a):j('<li class="ligne structureType'+a.Type+(a.numtheme?" numtheme"+a.numtheme:"")+(a.idtypecourseos?" idtypecourseos"+a.idtypecourseos:"")+'"><div class="titre-long"><div>'+a.Titre.replace(/\s*\n+\s*$/gi,"").replace(/\s*\n+\s*/gi,"</div><div>")+'</div></div><div class="prix">'+AllianceReseaux.OsBase.FormatePrix(100*a.PrixPublicTotal)+' €</div><div class="clear"></div></li>');o.append(r),n+=(""==n?"":",")+a.IdInterne}var s=t.find(".js-panier-boutons").removeClass("js-panier-boutons");return s.find(".btcontinuer,.js-boutonContinuer").removeClass("js-boutonContinuer").click(function(){e.continuer(A)}),s.find(".btterminer,.js-boutonTerminer").removeClass("js-boutonTerminer").click(function(){e.terminer(A)}),w.addClass("panier-resultat"),e.sansPersonnalisation||w.removeClass("Lock").addClass(e.theme).addClass(e.personnalisation).addClass("overlay"),e.sansPersonnalisation||w.find("style").remove(),A.overlay.FermerSurClic(!0),w.removeClass("Attente"),c.empty().append(t),{blocBoutons:s,inclusion:t.find(".js-inclusion-panier-ajout").removeClass("js-inclusion-panier-ajout").hide(),listeIdInterne:n}},this.PopInActivite=function(e){var n=j('<div class="BlocPopIn BlocPopInV2"><div class="interieur"><div class="js-txt-titre titre"></div><div class="js-panier-boutons"><div class="BlocBoutons"><div class="Bouton BoutonTerminer js-boutonTerminer"><a href="javascript:void(0)" role="button" aria-label="'+S.nonMerciActivites+'"><span class="js-txt-lien"></span></a></div><div class="Clear" /></div><div class="js-txt-titreactivites titreactivites"></div></div><div class="detail"><div class="js-activite-addock"><div class="js-cible-widgetproduit"></div></div></div><div class="InclusionPanierAjout js-inclusion-panier-ajout"></div></div></div>'),t=(j(".js-txt-titre",n).text(S.hebergementAjoute),j(".js-txt-titreactivites",n).text(S.ajoutActivites),j(".js-txt-lien",n).text(S.nonMerciActivites),n.find(".js-panier
2-boutons").removeClass("js-panier-boutons")),o=(t.find(".js-boutonTerminer").removeClass("js-boutonTerminer").click(function(){e.terminer(A)}),e.sansPersonnalisation||w.removeClass("Lock").addClass(e.theme).addClass(e.personnalisation).addClass("overlay").addClass("panier-resultat"),e.sansPersonnalisation||w.find("style").remove(),A.overlay.FermerSurClic(!1),w.find(".close").click(function(){e.terminer(A)}),w.removeClass("Attente"),c.empty().append(n),new AllianceReseaux.Widget.Instance("Produit",{idPanier:e.idPanier,idIntegration:e.idIntegration,langue:i,ui:e.widget.ui}));o.PreApp("cible",n.find(".js-cible-widgetproduit")),e.paramsSupplements&&e.paramsSupplements&&e.paramsSupplements.debutsejour&&(o.PreApp("dispo.debut",e.paramsSupplements.debutsejour),e.paramsSupplements.dureesejour)&&o.PreApp("dispo.duree",e.paramsSupplements.dureesejour);for(var a=0;a<e.widget.preApps.length;a++)o.PreApp(e.widget.preApps[a].nom,e.widget.preApps[a].valeur);return o.Initialise(),{blocBoutons:t,inclusion:n.find(".js-inclusion-panier-ajout").removeClass("js-inclusion-panier-ajout").hide()}},function(){var t="";return t+="<Produits> ",w.find("select").each(function(){var e=j.data(this,"supplement"),n=e.supplement;!n.Obligatoire&&0<this.options[this.selectedIndex].value&&(t=(t=(t=(t=(t=(t=(t=(t=(t+='<Produit IdFournisseur="'+n.IdFournisseur+'">')+"<Idx>"+e.idx+"</Idx>")+"<IdProduit>"+n.IdProduit+"</IdProduit>")+"<IdDispo>"+n.IdDispo+"</IdDispo>")+(n.CodeProduit?"<CodeProduit>"+n.CodeProduit+"</CodeProduit>":"")+"<IdInternePrincipal />")+"<IdProduitPrincipal>"+n.IdProduitPrincipal+"</IdProduitPrincipal><Famille>1</Famille><TypeProduit>TAXE</TypeProduit><ParamCalcul>")+"<NbPers>"+this.options[this.selectedIndex].value+"</NbPers>")+"<NbJours>"+n.NbJours+"</NbJours></ParamCalcul>")+(n.RPH?"<RPH>"+n.RPH+"</RPH>":"")+"</Produit>")}),t+="</Produits>"}),r=(this.FermeSupplements=function(){w&&(w.osLibOverlay().close(),n=w=null)},this.OuvreAttente=function(){var e=j.Deferred();return a=j('<div class="OsPanierPopIn CssCustom Attente">'+s+'<div class="BlocPage"><div class="BlocAttente"></div><div class="BlocContenu js-bloc-contenu"></div></div></div>').addClass("oslangue-"+i),c=a.find(".js-bloc-contenu").removeClass("js-bloc-contenu"),A={},a.width("600px"),A.overlay=new AllianceReseaux.OsOverlay({cible:a,nePasFermerSurClic:!0,onLoad:function(){e.resolve()}}),n=a.width(),e.promise()},this.FermeAttente=function(){a&&(a.osLibOverlay().close(),n=a=null)},this.OuvreContenu=function(n){function t(e){w=a,n.sansFermeture||(w.find(".close").empty().append("<span>"+(AllianceReseaux.Regional[i]||AllianceReseaux.Regional.fr).closeOverlay+"</span>"),A.overlay.FermerSurClic(!0)),w._optsClasses=n.classes,w.removeClass("Attente").addClass(n.classes).width(""),c.empty().append(e),r(),o.resolve()}var o=j.Deferred();return n.url?j.ajax({url:n.url.replace(/^https?:/i,""),dataType:"jsonp",success:function(e){t(e.html)}}):t(n.canvas),o.promise()},this.FermeContenu=function(){c.empty(),A.overlay.FermerSurClic(!1),w.addClass("Attente").removeClass(w._optsClasses),r()},function(){n&&(w.css("left",w.position().left-(w.width()-n)/2+"px"),n=w.width())});this.ScrollTo=function(){null!=w&&0<w.length&&T.scrollTo({top:w.position().top-50,behavior:"smooth"})}})}(window,AllianceReseaux.jQuery),!function(re,se,ce,le){var ue,me,de,pe,o;null==ce.OsPanier&&(ue="Impossible de créer la session.",me=ce.URLHelper.setPageCompatibleScheme("//json-session.for-system.com/z6058"),de="aucun",pe="mini",o={},ce.InstancePanier=function(e){var n=(e.cible||"widget-panier")+"#"+e.id+"#"+e.idIntegration,t=o[n];return t||(t=new ce.OsPanier(e),o[n]=t),ce.OsBase.ExtensionLog({categorie:"Instance",texte:"[Panier] idPanier : "+e.id+", idIntegration : "+e.idIntegration}),t},ce.Interne.Panier=new function(){this.Instance=function(e){if(e&&e.idPanier&&e.idIntegration)return e.id=e.idPanier,ce.InstancePanier(e);throw"Instance Panier : Paramètre manquant."},this.Reset=function(){o={}}},ce.OsPanier=function(e,n){function E(){f&&f.id?(a=f.domaine||a,r=f.alias||r,y=V(),x=(f.affichage||k.panier.affichage||x).toLowerCase(),C=f.textes||(k.panier.textes||{})[b]||(k.panier.textes||{}).fr||k.panier.textes,P.SurchargeTextes(C),x!=de&&w&&W(),ce.OsBase.ChargeStyle("OsPanier",".OsPanier .EnteteTotal { display:none; }\n.OsPanier .contenu .Details .Titre { display:none; }\n"),"1.5"===k.theme_version?ce.OsBase.ChargeCss(ce.OsBase.GetUrlGadget(ce.URLHelper.combine("/widgets/themes/api15/rel/themes",k.personnalisation||"defaut","api-panier.min.css"),!0)):"aucun"!==x&&(g?ce.OsBase.ChargeCss(ce.OsBase.GetUrlGadget("/widgets/themes/"+h+"/"+g+"/ospanier/"+(x||"mini")+".css"),!0):ce.OsBase.ChargeCss(ce.OsBase.GetUrlGadget("/widgets/themes/api/v1/ospanier/"+(x||"mini")+".css"),!0)),B({init:!0}),ce.OsBase.CreeDevTracker(l,f.devTracking),(k.tracking&&k.tracking.ID||M.tracking&&M.tracking.ID)&&(T=(k.tracking?k:M).tracking.ID,ce.Tracking.Cree(se.extend(!0,{},k.tracking,M.tracking),{integration:t,langue:b}))):alert("Identifiant du panier inexistant ou incorrect.")}function i(){var e;return(k.tracking||{}).tagManager&&re.ga&&re.ga.getAll&&(e=(e=re.ga.getAll())&&e[0]&&e[0].get&&e[0].get("linkerParam")||"")?"&"+e:""}function R(){se(".attente","string"==typeof w?se("#"+w):w.jquery?w:se(w)).show()}function o(n){k&&n&&n(),k||ce.OsBase.AttendreIntegration(t,function(e){k=se.extend(!0,{panier:{textes:null}},e.integration),a=k.panier.domaine=""+(k.panier.domaine[b]||k.panier.domaine.fr||k.panier.domaine),r=k.panier.alias,s=k.panier.zonedossier||1,c=k.panier.urlValidationPanier,G=M.panier.numEtapeDossier||k.panier.numEtapeDossier,h=k.theme||"std",g=g||k.personnalisation,S=M.panier.target||k.panier.target,$=k.panier.versionPopIn||1,k.panier.callbackPreselectionUrl&&(_=ie(k.panier.callbackPreselectionUrl)),n&&n()})}var f=null,f="string"==typeof e?((n=n||{}).iInfosScenario=n.iInfosScenario||{},{idIntegration:0,id:e,cible:n.canvas,langue:(n.iInfosScenario.GetLangue||function(){return"fr"})(),style:n.style,textes:n.textes,affichage:n.affichage,iInfosScenario:{GetDomaine:n.iInfosScenario.GetDomaine||function(){return null},GetUrlValidationPanier:n.iInfosScenario.GetUrlValidationPanier||function(){return null},GetZoneDossier:n.iInfosScenario.GetZoneDossier||function(){return null},GetNumEtapeDossier:n.iInfosScenario.GetNumEtapeDossier||function(){return null}}}):e,h=null,g=null,v=(this.evts={Actualisation:[],AvantAjout:[]}
2,this),y=null,b=f.langue||"fr",x=pe,t=f.idIntegration,k=null,_=null,z={fr:{chargement:"Chargement",patienter:"Veuillez patienter",errAjoutPanier:"Votre panier contient des prestations qui ne peuvent pas être réservées simultanément avec la prestation que vous souhaitiez ajouter à votre panier. Vous devez donc soit réserver d'abord les prestations actuellement présentes dans votre panier, soit les supprimer de votre panier."},uk:{chargement:"Loading",patienter:"Please wait",errAjoutPanier:"The items selected cannot be purchased simultaneously. To continue with this purchase you must first either complete the transaction for the items currently in your basket or empty your basket and start again."},pt:{chargement:"Loading",patienter:"Please wait",errAjoutPanier:"The items selected cannot be purchased simultaneously. To continue with this purchase you must first either complete the transaction for the items currently in your basket or empty your basket and start again."},es:{chargement:"Cargando",patienter:"Espere por favor",errAjoutPanier:"The items selected cannot be purchased
2simultaneously. To continue with this purchase you must first either complete the transaction for the items currently in your basket or empty your basket and start again."},de:{chargement:"Laden",patienter:"Bitte warten",errAjoutPanier:"The items selected cannot be purchased simultaneously. To continue with this purchase you must first either complete the transaction for the items currently in your basket or empty your basket and start again."},it:{chargement:"Caricamento",patienter:"Si prega di attendere",errAjoutPanier:"The items selected cannot be purchased simultaneously. To continue with this purchase you must first either complete the transaction for the items currently in your basket or empty your basket and start again."},nl:{chargement:"Het laden",patienter:"Een moment geduld",errAjoutPanier:"The items selected cannot be purchased simultaneously. To continue with this purchase you must first either complete the transaction for the items currently in your basket or empty your basket and start again."}}[b],C=null,w=f.cible||"widget-panier",H=f.style,a=null,r=null,s=null,c=null,G=null,$=1,F=!1,A=!1,S=null,q=[],T=null,l={},U=null,j=null,J=(new Date).getTime(),Q=0,P=new ce.PopInPanier({langue:b}),M={panier:{popIn:{surAffichage:[]},beforePopIn:[],beforeAdd:[],onDataLoad:[],onDataUpdated:[],beforeSessionLoad:[],avantValidationPanier:[]},tracking:{baseUrlPage:null}},u=null,m=(0==t&&(ce.Integrations[t]={panier:{domaine:f.iInfosScenario.GetDomaine(),zonedossier:f.iInfosScenario.GetZoneDossier(),urlValidationPanier:f.iInfosScenario.GetUrlValidationPanier(),numEtapeDossier:f.iInfosScenario.GetNumEtapeDossier()}}),ce.OsBase.ChargeIntegration(t),this.GetCanvas=function(){return w},this.GetId=function(){return f.id}),d=this.GetRf=function(){return y},p=this.GetLangue=function(){return b},N=(this.GetDomaine=function(){return a},this.Alias=function(e){if(void 0===e)return r;r=e},this.GetZoneDossier=function(){return s},this.GetNumEtapeDossier=function(){return G},this.GetPersonnalisation=function(){return g},this.GetTheme=function(){return h},this.GetAffichage=function(){return x},this.GetIdIntegration=function(){return t},this.SetStyle=function(e){H=e},this.EstSessionInitialisee=function(){return F},this.EstIntegre=function(){return null!=k},this.Target=function(e){if(void 0===e)return S;S=e},this.PopIn=function(){return P},null),I=null,O=null,D=this.devTrackEvent=function(e,n,t,o){try{var a;return l&&l.tracker?(a=new Date,l.tracker._trackEvent("OsPanier#"+id+"#"+b,e+"#"+n,"["+d()+"]["+a.getHours()+"h"+a.getMinutes()+"m"+a.getSeconds()+"s]"+(t||""),o==le?0:o)):!1}catch(e){return!1}},V=function(){for(var e=re.location.href.slice(re.location.href.indexOf("?")+1).split("&"),n=0,t="";t=e[n];n++)if("Rf"==t.split("=")[0])return t.split("=")[1];return null},B=(this.GetNouvelleSession=function(){B({forceNouvelleSession:!0})},this.GetSession=function(t){function e(e){var e={NumEtape:1,Rd:m(),_WPJS:"r",Rf:e},n=(ce.OsBase.Trigger(M.panier.beforeSessionLoad,{params:e},{}),ce.OsBase.GetUrlHttpsCompatible(a)+"/"+(r||"index")+("fr"==p()?"":"_"+p())+".aspx");se.ajax({url:n,data:e,dataType:"jsonp",cache:!1,success:function(e){var n=new Date((new Date).getTime()+36e5);se.cookie(o,e.rf,{expires:n,path:"/"}),X(e,t)}})}var o="os_session_local_"+a.toLowerCase().replace(/^(https?:)?\/\//gi,"")+("/"==a[a.length-1]?"":"/");(t||{}).init&&f.nouvelleSession||(t||{}).forceNouvelleSession?e("DQWV2XQQQQQQQWWMRUGHY834QA"):e(y||se.cookie(o))}),W=function(){!g&&H&&ce.OsBase.ChargeCss(H),ce.OsBase.ChargeScript(ce.OsBase.GetUrlGadget("/widgets/ospanier/"+x+".js")),ce.OsBase.ChargeLibs(["WTooltip"])},K=function(e){return!((e||{}).params&&(e||{}).params["Globales/ServiceRef"]&&"addock"===(e||{}).params["Globales/ServiceRef"])&&k.produit&&k.produit.hebe&&k.produit.hebe.afficherActiviteAutourDeMoi},X=function(s,c){var n=K(c);if(J=s.time||(new Date).getTime(),Q=(new Date).getTime()-J,(c||{}).init&&ce.OsBase.Trigger(M.panier.onDataLoad,{data:s,opts:c},{}),"ok"!=s.statut)alert(s.message||ue),D("Erreur","GetSessionCallback",s.message||ue);else{ce.OsBase.Trigger(M.panier.onDataUpdated,{data:s,opts:c||{}},{});for(var e,r=c||{},l=(j=s.mini||{},U=j.Caddie,[]),t=0;2==$&&0<s.mini.Nb&&(e=s.mini.Produits[t]);
2t++)q[e.IdInterne]||l.push(e),q[e.IdInterne]=e;Z();for(var u=r.validerSurAjout||0!=r.validerSurAjout&&A,o=!u||n,a=(r.ajouter&&!o||P.FermeAttente(),y=s.rf,F=!0,ce.OsBase.Trigger(v.evts.Actualisation,s,null),s.mini.Produits?s.mini.Produits.filter(e=>"2"!=e.Type):[]),i=(s.mini.Nb=a.length,[]),t=0;t<l.length;t++)-1==i.indexOf(l[t].IdGroupe)&&i.push(l[t].IdGroupe);for(t=0;t<i.length;t++){var m=l.filter(e=>"2"==e.Type&&e.IdGroupe==i[t]),d=l.find(e=>"2"!=e.Type&&e.IdGroupe==i[t]);if(null!=d&&null!=m)for(var p=0;p<m.length;p++)d.PrixPublicTotal=d.PrixPublicTotal+m[p].PrixPublicTotal,d.Supplements.push({NomProduit:m[p].NomProduit,Prix:m[p].PrixPublicTotal,Quantite:m[p].Quantite})}if(r.ajouter&&T)for(t=0;t<l.length;t++)"2"!==l[t].Type&&ce.Tracking.TrackDicoEvent(T,"widget-panier-ajouter-fin",{produitAjoute:l[t],panier:j});r.ajouter&&r.surAjout&&r.surAjout(s),r.ajouter&&!o&&(L(r),A)||(r.ajouter&&o&&(!r.compatibilite||r.overlay)&&"-1"!=r.retAjout&&(r.compatibilite&&P.OuvreSupplements({data:{},time:(new Date).getTime()}),ce.OsBase.Trigger(M.panier.beforePopIn,{data:s,popIn:P,callbackPopIn:a=function(){function a(e){T&&ce.Tracking.TrackDicoEvent(T,"widget-panier-continuer");var n=(k.panier.btcontinuer||{}).url;n?document.location.href=n[b]||n.fr||n:e.overlay.Ferme()}function i(e){T&&ce.Tracking.TrackDicoEvent(T,"widget-panier-terminer"),L({click:!0}),"_blank"==S&&e.overlay.Ferme()}var e=c.contexte&&c.contexte.ui?c.contexte.ui:c.paramsSupplements&&c.paramsSupplements.ui?c.paramsSupplements.ui:null;se.when(n&&e&&0<=se.inArray(ce.OsBase.UI.Parse(e).source,["OSCH","OSMB","OSCA","OSHO"])?Y(e):null).then(function(e){var n,t,o;null==e||null==e.widget?u?L(r):(n=0==l.length?P.PopInV1({continuer:a,terminer:i,theme:h,personnalisation:g,sansPersonnalisation:(c||{}).sansPersonnalisation}):P.PopInV2({continuer:a,terminer:i,produitsAjoutes:l,theme:h,personnalisation:g,sansPersonnalisation:(c||{}).sansPersonnalisation,ligneProduitRenderer:v["GetLigneProduit"+x]?function(e){return v["GetLigneProduit"+x]({langue:b,textes:C,suppression:!1},e)}:null}),t=((k.inclusions||{}).panierAjout||{}).url,P.ScrollTo(),t&&(n.inclusion.addClass("attente").show(),o="?Rf="+y+"&Param/ListeIdInterne="+n.listeIdInterne,se.ajax({scriptCharset:"utf-8",contentType:"application/json; charset=utf-8",url:(t[b]||t.fr||t)+o,dataType:"jsonp",success:function(e){n.inclusion.removeClass("attente").html(e.html)},error:function(e){n.inclusion.removeClass("attente").empty()}})),0<M.panier.popIn.surAffichage.length&&ce.OsBase.Trigger(M.panier.popIn.surAffichage,{domBtns:n.blocBoutons[0],domInclusion:n.inclusion[0],ui:(r.contexte||{}).ui,minipanier:s.mini},{})):(v.Evt("panier.beforeAdd",function(e,n,t){n.validerSurAjout=!1}),P.PopInActivite({continuer:a,terminer:i,theme:h,personnalisation:g,sansPersonnalisation:(c||{}).sansPersonnalisation,idPanier:f.id,idIntegration:f.idIntegration,paramsSupplements:(c||{}).paramsSupplements,widget:e.widget},se.extend(c,f)))})}},{}))&&(r.avantPopIn||a)({data:s,popIn:P,callbackPopIn:a}),x!=de&&w&&ce.OsBase.Attendre(function(){return null!=v["Get"+x]},function(){var r=v["Get"+x]({langue:b,data:s,textes:C,toggle:f.toggle,init:(c||{}).init||!1});se(function(){var e,n=null,t=se("<div></div>").addClass("OsPanier").addClass("api").addClass("v1").addClass("oslangue-"+b).addClass("CssCustom").append(r),o=("string"==typeof w?se("#"+w):w.jquery?w:se(w)).empty().append(t),a=(g&&t.addClass(h).addClass(g),0==o.length&&(A=!0),se(".btn-valider",o).click(function(){n&&n.Ferme(),L({click:!0})}),se(".btn-supprimer",o).click(function(){n&&n.Ferme(),te(this.id.split("#")[2])}),se(".js-panier-toggle",o).removeClass("js-panier-toggle")),i=(a&&(e=function(e){var n=a.hasClass("etat0")?0:1;a.removeClass("etat0").removeClass("etat1").addClass("etat"+(e==le?0==n?1:0:e)),T&&e==le&&0==n&&ce.Tracking.TrackDicoEvent(T,"widget-panier-deplier")},se(".js-panier-toggle-leave",o).removeClass("js-panier-toggle-leave").mouseleave(function(){e(0)}),se(".js-panier-toggle-enter",o).removeClass("js-panier-toggle-enter").mouseenter(function(){e(1)}
2),se(".js-panier-toggle-click",o).removeClass("js-panier-toggle-click").click(function(){e()})),se(".js-panier-overlay",o).removeClass("js-panier-overlay"));i&&se(".js-panier-overlay-click",o).click(function(){n=new AllianceReseaux.OsOverlay({cible:i.clone(!0)})})})}))}},Y=function(e){return se.ajax({scriptCharset:"utf-8",contentType:"application/json; charset=utf-8",url:ce.OsBase.UrlEtapeRest(),dataType:"jsonp",data:{ref:"json-openpro-addock-reseller",q:[e].join("|")}})},Z=function(){se(".attente","string"==typeof w?se("#"+w):w.jquery?w:se(w)).hide()},ee=this.Ajouter=function(t){t.ajouter=!0,t.compatibilite=!t.sansCompatibilite,t.contexte=t.contexte||{},t.contexte&&t.contexte.ui&&!t.contexte.metier&&(t.contexte.metier=ce.OsBase.MetierParPrefixeUI(ce.OsBase.UI.Parse(t.contexte.ui).source)),t.validerSurAjout=k.panier.validerSurAjout||t.validerSurAjout;var o="";try{if(T)if(t.contexte&&(t.produits||[])[0])for(var e,n=0;e=t.produits[n];n++)ce.Tracking.TrackDicoEvent(T,"widget-panier-ajout",se.extend(!0,{},t.contexte,{intitule:e.intitule||""}));else ce.Tracking.TrackDicoEvent(T,"widget-panier-ajout",se.extend(!0,{intitule:""},t.contexte));function a(e){var n;(t.surSelectionSupplements||function(){})(e),e.calcultaxe&&(D("Ajout",""),t.timePanierAjout=(new Date).getTime(),ce.OsBase.Trigger(M.panier.beforeAdd,t,{}),ce.OsBase.Trigger(v.evts.AvantAjout,{},{}),o+="[ApsTriggerAvtAjout]",e="",t.contexte&&(t.contexte.itinerance||t.contexte.ui)&&(e+="<hdle>"+ce.OsBase.StringifyXmlJSON("contexte",t.contexte)+"</hdle>"),"string"!=typeof(t.params||"")?(N&&(t.params["Globales/CodePartenaire"]=N),I&&(t.params["Globales/CodeClientExterne"]=I),O&&(t.params["Globales/CodeRetour"]=O),e&&(t.params["Param/HandleXml"]=e),t.params["Param/Action"]=4):(N&&(t.params+="&Globales/CodePartenaire="+N),I&&(t.params+="&Globales/CodeClientExterne="+I),O&&(t.params+="&Globales/CodeRetour="+O),e&&(t.params+="&Param/HandleXml="+e),t.params+="&Param/Action=4"),P.ScrollTo(),R(),e=t.autoriserBlank&&"_blank"==S&&!K(t),t.autoriserBlank,n=t.validerSurAjout||0!=t.validerSurAjout&&A,u=n&&e?oe():null,n=ne({data:t.params}),(e=i())&&(n+=(n.match(/\.aspx\?/i)?"":"?")+e),ce.OsBase.PostJSONP({url:n,data:t.params,success:function(e){"-1"==e.ajout?(u&&u.close(),alert(z.errAjoutPanier||"Erreur"),t.validerSurAjout=!1,t.retAjout=e.ajout,t.compatibilite||P.FermeSupplements()):y=e.rf,B(t)}}))}t.compatibilite?a({calcultaxe:"<Produits></Produits>"}):P.OuvreSupplements(se.extend({},t.paramsSupplements,{data:t.paramsSupplements?t.paramsSupplements.data:{},cible:se("<div />"),selection:a,langue:b,theme:h,personnalisation:g,trackingID:T}))}catch(e){D("Erreur","OsPanier.Ajouter","[ "+e+" ]"+o)}},ne=(this.AjouterProduit=function(e){e.ajouter=!0,e.sansCompatibilite=e.sansCompatibilite==le||e.sansCompatibilite,ee(e)},this.GetUrlSession=function(e){var n=ce.OsBase.GetUrlHttpsCompatible(!(e=e||{}).jsonSession&&(a&&s?a+"/z"+s:null)||me);return e.data&&("string"==typeof e.data?e.data="Rd="+m()+"&Rf="+d()+"&"+e.data:(e.data.Rd=m(),e.data.Rf=d())),n+"e"+(e.numEtape||"20")+(r?"_"+r+"_a":"")+"_"+p()+"-.aspx"+(e.data?"":"?Rd="+m()+"&Rf="+d())}),te=this.Supprimer=function(n){var e;try{D("Suppression",""),R(),P.OuvreAttente(),T&&(e=se.grep(j.Produits,function(e){return e.IdInterne===n}),ce.Tracking.TrackDicoEvent(T,"widget-panier-supprimer",{produitSupprime:e[0],panier:j})),se.ajax({url:ne()+"&Param/Action=1&Param/IdInterne="+n,dataType:"jsonp",success:function(e){B()}})}catch(e){D("Erreur","OsPanier.Supprimer","[ "+e+" ]")}},oe=function(){var e=re.open("","_blank");
2return e.document.write('<html><head><title>Chargement...</title><style>.OsAttente { position: relative; min-height: 100px; }.OsAttente::before { content: ""; width: 50px; height: 50px; -webkit-animation: osloader infinite 1s linear; animation: osloader infinite 1s linear; border: 3px solid transparent; border-top-color: #333; border-bottom-color: #333; border-radius: 100%; margin-left: calc(50px / 2 - 50px); margin-top: calc(50px / 2 - 50px); position: absolute; top: 50%; left: 50%; display: block; z-index: 10 } @keyframes osloader { 0% { -webkit-transform: rotate(0); transform: rotate(0) } to { -webkit-transform: rotate(1turn); transform: rotate(1turn) } } @-webkit-keyframes osloader { 0% { -webkit-transform: rotate(0); transform: rotate(0) } to { -webkit-transform: rotate(1turn); transform: rotate(1turn) } }</style></head><body><div class="OsAttente"></div></body></html>'),e},L=this.ValiderPanier=function(o){var n,e;k.panier.bloquerValidation?alert("Service indisponible."):(D("ValiderPanier",""),T&&ce.Tracking.TrackDicoEvent(T,"widget-panier-valider"),a?c||s?(n=function(){var e,n,t="";t=c?ce.OsBase.GetUrlHttpsCompatible(a)+"/"+c+"&Rd="+m()+"&Rf="+d()+i():(e=(e=M.panier.numEtapeDossierAuto||k.panier.numEtapeDossierAuto)&&!(o||{}).click?e:G||4,ce.OsBase.GetUrlHttpsCompatible(a)+"/z"+s+"e"+e+(r?"_"+r+"_a":"")+"_"+p()+"-.aspx?Param/Action=0&Rd="+m()+"&Rf="+d()+i()),u?(P.FermeSupplements(),u.document.location.href=t,u=null):(n=S||"_top","_blank"==(n=(o||{}).ajouter&&"_blank"==S?"_top":n)?re.open(t,"_blank"):((o||{}).ajouter||P.OuvreAttente({}),se(function(){se('<form method="post" action="'+t+'" target="'+n+'"><input type="hidden" name="dummy_ie11" value="0" /></form>').appendTo(se("body")).submit()})))},ce.OsBase.Trigger(M.panier.avantValidationPanier,{validerPanierCallback:e=function(e){k.panier.user&&k.panier.user.type||e&&e.user&&e.user.type?(P.OuvreAttente({}),se.ajax({url:ce.OsBase.GetUrlHttpsCompatible(a)+"/z"+s+"e20"+(r?"_"+r+"_a":"")+"_"+p()+"-.aspx",dataType:"jsonp",data:{Rd:m(),Rf:d(),"Param/Action":5,"Param/JsonPanierUser":JSON.stringify(se.extend(!0,{},k.panier.user,e?e.user:null))},complete:n})):n()}},{})?e():P.FermeSupplements()):alert("Erreur : la zonedossier ou le urlValidationPanier doit être précisée."):alert("Erreur : le domaine doit être précisé."))},ae=this.ApresInitialisation=function(e){ce.OsBase.Attendre(function(){return F},function(){e({minipanier:j})})},ie=(this.ApresPreselection=function(n,t){n&&o(function(){_?ae(function(e){_(n,e,t)}):n({preselection:{}})})},function(a){var e=ce.OsBase.GetUrlGadget(a).replace(/^https?:/i,"");return ce.OsBase.ChargeScript(e,{idScript:a,charset:"utf-8"}),function(e,n,t){var o=null;ce.OsBase.Attendre(function(){return o=ce.Extensions[a]},function(){o(e,n,t)})}});this.Caddie=function(){return U},this.Initialise=function(){o(E)},this.SetCodeProvenance=function(e){N=e},this.SetCodeClientExterne=function(e){I=e},this.SetCodeRetour=function(e){O=e},this.CheckHeureMaxResa=function(){try{var e;return k.heureMaxReservation?(e=new Date((new Date).getTime()+Q),k.heureMaxReservation>100*new Date(e).getHours()+new Date(e).getMinutes()):!0}catch(e){}},this.PreApp=function(e,n){ce.OsBase.SetJPath(M,e,n,!1)}
2,this.Evt=function(e,n){n._osEvt=e,ce.OsBase.SetJPath(M,e,n,!0)},o(function(){f.surIntegration&&f.surIntegration(),f.idPanier||E()})},ce.OsPanier.SetUrlSession=function(e){me=e})}(window,AllianceReseaux.jQuery,AllianceReseaux),!function(window,jQuery,AR,undefined){var cacheMaquette,cacheDico;AR.Interne.Transformation||(cacheMaquette={},cacheDico={},AR.Interne.Transformation=function(modeleOpts){var that=this,$langue=modeleOpts.langue||"fr",$dico=null,$maquette=null,$root=null,$data={},$callback=modeleOpts.callback,$apresTransformation=[],$apresInsertionPage=[],$modeles={},$toggleHeaders={},$toggleGroups={},$toggleHeadersLinks={},$evts=null,$instance=null,separateur="{#&_remplace_&#}",tags={"for:bind":{},"for:contenu":{}},idxAttributs={_defaut:{tri:10},jpath:{tri:1},langue:{tri:15},mots:{tri:17},br:{tri:20},date:{tri:25},datexml:{tri:25},domCol:{tri:100},domObj:{tri:100},callback:{tri:101},proxyhttps:{tri:110}},triAttributs=function(e,n){e=(idxAttributs[e.name]||idxAttributs._defaut).tri,n=(idxAttributs[n.name]||idxAttributs._defaut).tri;return n<e?1:e<n?-1:0},estArray=function(e){return!(!e||"string"==typeof e||e.length==undefined)},estArrayNonVide=function(e){return estArray(e)&&0<e.length},estNonArrayOuArrayVide=function(e){return!estArrayNonVide(e)},loadMaquette=function(){var e=!1;
2try{e=jQuery.browser.msie&&parseInt(jQuery.browser.version.match(/^(\d+)\./i)[1],10)<9}catch(e){}$maquette=(e?((e=new ActiveXObject("Msxml2.DOMDocument")).loadXML(that[modeleOpts.maquette]()),e):jQuery.parseXML(that[modeleOpts.maquette]())).childNodes[0]},urlMaquette,urlDico,apresInsertionPage=(modeleOpts.maquette&&"string"==typeof modeleOpts.maquette?that[modeleOpts.maquette]?loadMaquette():(urlMaquette=AR.OsBase.GetUrlGadget("/widgets/transformation/maquettes/"+modeleOpts.maquette+".js",!0),cacheMaquette[urlMaquette]||(cacheMaquette[urlMaquette]=jQuery.ajax({url:urlMaquette,scriptCharset:"utf-8",dataType:"script",cache:!0})),cacheMaquette[urlMaquette].done(loadMaquette)):$maquette=modeleOpts.maquette||{},modeleOpts.dico&&"string"==typeof modeleOpts.dico?(urlDico=AR.OsBase.GetUrlGadget("/widgets/transformation/dicos/"+modeleOpts.dico+"/"+$langue+".js",!0),cacheDico[urlDico]||(cacheDico[urlDico]=jQuery.ajax({url:urlDico,scriptCharset:"utf-8",dataType:"script",cache:!0})),cacheDico[urlDico].done(function(){$dico=that["dicos-"+modeleOpts.dico+"-"+$langue]()})):$dico=modeleOpts.dico||{},this.apresInsertionPage=function(e){if(e==undefined)for(var n,t=0;n=$apresInsertionPage[t];t++)n.fn(n.p);else $apresInsertionPage.push(e)}),execute=this.execute=function(i){$modeles={},$callback=i.callback||$callback,$dico=i.dico||$dico,$root=i.root,$data=i.data||{},$apresTransformation=[],$apresInsertionPage=[],$toggleHeaders={},$toggleGroups={},$toggleHeadersLinks={},$evts=i.evts||modeleOpts.evts||{},$instance=i.instance||modeleOpts.instance||{},AR.OsBase.Attendre(function(){return $maquette&&$dico},function(){for(var e,n=new Date,t={sortie:jQuery("<div />")[0],current:$maquette,nd:$root,dom:{}},o=(xjs(t),new Date),a=0;e=$apresTransformation[a];a++)e.fn(e.p);(i.success||function(){})({sortie:t.sortie,dom:t.dom,dico:$dico,ms:o.getTime()-n.getTime(),modeles:$modeles})})},xjs=function(ctx){var current=ctx.current,sortie=ctx.sortie,$nd=ctx.nd,$dom=ctx.dom,$idx=$nd.$idx=$nd.$idx||0,$self=$nd.$self=$nd,$array=$nd.$array,$premier=$nd.$premier=$nd.$array&&0==$nd.$idx,$dernier=$nd.$dernier=$nd.$array&&$nd.$idx==$nd.$array.length-1,$pair=$nd.$pair=$nd.$array&&$nd.$idx%2==0,$impair=$nd.$impair=$nd.$array&&$nd.$idx%2==1,$fns={jpath:function(expr){for(var set=[],expressions=expr.replace(/\|\|/gi,separateur).split("|"),$ndOld=$nd,jpathExpr=function(expression){for(var matches=expression.replace(new RegExp(separateur,"gi"),"||").replace(/(^\s*)|(\s*$)/gi,"").match(/[^{}]+|{[^}]+}/gi),m=0,match;match=(matches||[])[m];m++)if("{"==match.substring(0,1)){for(var tmp=$nd,i=0;$nd=estArrayNonVide(tmp)?tmp[i]:0==i?tmp:null;i++){var test=!0;try{test=eval(match.substring(1,match.length-1))}catch(err){test=!1}if(!test){if(estNonArrayOuArrayVide(tmp))return void($nd=null);$nd._xjs_ignore=!0}}$nd=tmp}else{try{$nd=eval((-1==match.indexOf("$")?"$nd.":"")+match)}catch(err){$nd=null}if(null==$nd)return}},i=0,expression;expression=expressions[i];i++)$nd=$ndOld,jpathExpr(expression),!$nd&&0!=$nd||set.push($nd);if($nd=0==set.length?null:1==set.length?set[0]:[],1<set.length){$nd=[];for(var i=0,item;item=set[i];i++)estArray(item)?$nd=$nd.concat(item):$nd.push(item)}},test:function(e){var n=$nd;$fns.jpath(e),$nd=null!=$nd?n:null},data:function(e){jQuery.data(sortie,e,$nd)},prix:function(e){$nd=AR.OsBase.FormatePrix(100*parseFloat($nd),{span:!0})},date:function(e){$nd=AR.OsBase.FormateDate($nd,e||"dd/MM/yyyy",$langue)},datexml:function(e){$nd=AR.OsBase.FormateDate(AR.OsBase.DateXmlEnJs($nd),e||"dd/MM/yyyy",$langue)},minutes:function(e){$nd=AR.OsBase.FormateMinutes($nd,e)},mots:function(e){e=new RegExp("(([^\\s\\r\\t\\n]+[\\s\\r\\t\\n]+){"+e+"})(.*)").exec($nd);e&&e[1]&&e[3]&&($nd=jQuery.trim(e[1])+"...")},siteweb:function(){$nd=($nd=jQuery.trim($nd||""))&&($nd.match("^http(s)?://")?$nd:"http://"+$nd)},langue:function(){$nd=$nd[$langue]||$nd.uk||$nd.fr},br:function(){$nd=$nd.replace(/\n/gi,"<br/>")},modele:function(e){try{$modeles[e]=current}catch(e){}},ancre:function(e){try{jQuery(current).empty().append(jQuery($modeles[e]).clone())}catch(e){}},maquette:function(e){try{$modeles[e]=jQuery(current).children().first().clone()[0],jQuery(current).empty()}catch(e){}},cache:function(e){$nd=null},dico:function(cle){try{for(var params="",p,i=0;p=current.childNodes[i];i++)params+="for:dico"==(p.tagName||"").toLowerCase()?(""==params?"":",")+jQuery(p).text():"";$nd=0==params.length?$dico[cle]:eval("("+$dico[cle]+")("+params+")")}
2catch(err){$nd=""}},csstxt:function(e){jQuery(sortie).addClass("cssTxt").addClass("cssTxtCustom").addClass("oslangue-"+($langue||"fr")).addClass(e)},attribut:function(e){var n;e&&(n=jQuery("<div />"),parcoursEnfants({sortie:n,current:current,nd:$nd}),"class"==e?jQuery(sortie).addClass(n.text()):jQuery(sortie).attr(e,n.text())),$nd=null},proxyhttps:function(){null!=$nd&&"https"!==AR.URLHelper.getScheme($nd)&&($nd=AR.Config.getUrlProxyHttps($nd))},eval:function(expr){try{$nd=eval(expr)}catch(err){$nd=null}},script:function(expr){eval(expr)},itere:function(expr){try{for(var t=[],i=0;i<eval(expr);i++)t.push($nd);$nd=t}catch(err){$nd=null}},properties:function(){try{var e,n=[];for(e in $nd)n.push({p:e,val:$nd[e]});$nd=n}catch(e){$nd=null}},largeurhauteur:function(){try{if($nd.paysage!=undefined)return void jQuery(sortie).addClass(0!=$nd.paysage&&"0"!=$nd.paysage?"largeur":"hauteur")}catch(e){}$apresTransformation.push({fn:function(e){try{var n=jQuery('<table style="position:absolute;top:-10000px;left:-10000px;visibility:hidden;"></table>').appendTo(jQuery("body")),t=jQuery('<td><img src="'+(e.nd.vig||e.nd.src)+'" border="0" /></td>').appendTo(jQuery("<tr></tr>").appendTo(n));jQuery(sortie).addClass(t.height()>t.width()?"hauteur":"largeur"),n.remove()}catch(e){}},p:{sortie:sortie,nd:$nd}})},lightbox:function(){$apresTransformation.push({fn:function(e){try{jQuery(e.sortie).find("a").lightBox()}catch(e){}},p:{sortie:sortie}})},togglehauteur:function(expr){$apresInsertionPage.push({fn:function(e){try{jQuery(e.sortie).OsToggleHauteur(e.opts)}catch(e){}},p:{sortie:sortie,opts:expr?eval("new Object("+expr+")"):{}}})},toggleHeader:function(expr){$toggleHeaders[eval(expr)]=sortie,$apresTransformation.push({fn:function(p){try{jQuery(p.sortie._toggleBody).addClass("toggleBody etat1"),jQuery(p.sortie).addClass("toggleHeader etat1"),jQuery(p.sortie._toggleLinks).addClass("toggleLink etat1");var domClick=[p.sortie],domHeadersLinks=$toggleHeadersLinks[eval(expr)];domHeadersLinks&&(domClick=domClick.concat(domHeadersLinks)),jQuery(domClick).click(function(){var e=jQuery(p.sortie).hasClass("etat0")?"etat1":"etat0";jQuery([p.sortie,p.sortie._toggleBody]).removeClass("etat0 etat1").addClass(e),p.sortie._toggleGroup&&jQuery.each($toggleHeaders,function(e,n){p.sortie!==n&&p.sortie._toggleGroup==n._toggleGroup&&jQuery([n,n._toggleBody]).removeClass("etat0 etat1").addClass("etat0")})}).hover(function(){jQuery(p.sortie).addClass("hover"),jQuery(p.sortie._toggleBody).addClass("header-hover")},function(){jQuery(p.sortie).removeClass("hover"),jQuery(p.sortie._toggleBody).removeClass("header-hover")}),p.sortie._toggleGroup&&$toggleGroups[p.sortie._toggleGroup]?jQuery([p.sortie,p.sortie._toggleBody]).removeClass("etat0 etat1").addClass("etat0"):p.sortie._toggleGroup&&($toggleGroups[p.sortie._toggleGroup]=p.sortie)}catch(err){}},p:{sortie:sortie,nd:$nd}})},toggleBody:function(expr){$toggleHeaders[eval(expr)]._toggleBody=sortie},toggleGroup:function(expr){sortie._toggleGroup=eval(expr)},toggleHeaderLink:function(expr){$toggleHeadersLinks[eval(expr)]=$toggleHeadersLinks[eval(expr)]||[],$toggleHeadersLinks[eval(expr)].push(sortie)},tooltip:function(){$apresInsertionPage.push({fn:function(e){try{AR.OsBase.WTooltip(e.sortie)}catch(e){}},p:{sortie:sortie}})},trigger:function(e){AR.OsBase.Trigger(AR.OsBase.GetJPath($evts,e),{sortie:sortie,nd:$nd,langue:$langue,data:$data},{})},call:function(e){var n;$instance&&(n=!1)===(n=$instance[e]?$instance[e]({sortie:sortie,nd:$nd,langue:$langue,data:$data}):n)&&($nd=null)},domObj:function(expr){try{var domPath="$dom."+expr,nouveau={sortie:sortie,nd:$nd};nouveau.parent=$dom,eval(domPath+" = nouveau"),$dom=nouveau}catch(err){}},domCol:function(expr){try{var domPath="$dom."+expr,nouveau={sortie:sortie,nd:$nd},ancien=eval(domPath),col;ancien?(nouveau.parent=ancien[0].parent,nouveau.array=ancien,nouveau.idx=ancien.length,ancien.push(nouveau)):(col=[nouveau],nouveau.parent=$dom,nouveau.array=col,nouveau.idx=0,eval(domPath+" = col")),$dom=nouveau}catch(err){}},callback:function(e){$apresTransformation.push({fn:$callback,p:{expr:e,nd:$nd,sortie:sortie,dom:$dom}})}};if(!current.tagName)return"table"==(sortie.nodeName||"").toLowerCase()?void 0:void jQuery(sortie).append(jQuery(current).text());if("style"==current.tagName.toLowerCase())AR.OsBase.ChargeStyle(modeleOpts.maquette&&"string"==typeof modeleOpts.maquette?modeleOpts.maquette:"Transformation"+(new Date).getTime(),jQuery(current).text());else if(tags[current.tagName.toLowerCase()])if("for:contenu"==current.tagName.toLowerCase())parcoursEnfants({sortie:sortie,current:current,nd:$nd,dom:$dom});else{for(var attributs=[],i=0,attr;attr=current.attributes[i];i++)attributs.push(attr);attributs.sort(triAttributs);for(var i=0,attr;attr=attributs[i];i++)null!=$nd&&$fns[attr.name](attr.value);if(null!=$nd)if("object"!=typeof $nd)jQuery(sortie).append($nd);else if(estArray($nd))for(var i=0,that;that=$nd[i];i++)that._xjs_ignore||(that.$array=$nd,that.$idx=i,parcoursEnfants({sortie:sortie,current:current,nd:that,dom:$dom}));else parcoursEnfants({sortie:sortie,current:current,nd:$nd,dom:$dom})}else{for(var cloneHTML=jQuery(document.createElement(current.tagName)),fix_IE_8_9_10_IMG_WIDTH="img"==current.tagName.toLowerCase(),fix_IE_8_9_10_IMG_HEIGHT="img"==current.tagName.toLowerCase(),i=0,attr;attr=current.attributes[i];
2i++)"xmlns:for"!=attr.name&&(cloneHTML.attr(attr.name,attr.value),fix_IE_8_9_10_IMG_WIDTH&&"width"==attr.name.toLowerCase()&&(fix_IE_8_9_10_IMG_WIDTH=!1),fix_IE_8_9_10_IMG_HEIGHT)&&"height"==attr.name.toLowerCase()&&(fix_IE_8_9_10_IMG_WIDTH=!1);fix_IE_8_9_10_IMG_WIDTH&&cloneHTML.removeAttr("width"),fix_IE_8_9_10_IMG_HEIGHT&&cloneHTML.removeAttr("height"),parcoursEnfants({sortie:cloneHTML.appendTo(sortie)[0],current:current,nd:$nd,dom:$dom})}},parcoursEnfants=function(e){for(var n,t=0;n=e.current.childNodes[t];t++)xjs({sortie:e.sortie,current:n,nd:e.nd,dom:e.dom})}})}(window,AllianceReseaux.jQuery,AllianceReseaux);AllianceReseaux._build._date="2026-08-26T09:53:16";AllianceReseaux._build._load=!0;(window._ar_noyau||function(){})()})();!function(t,e,i){t.fn.responsiveSlides=function(n){var o=t.extend({auto:!0,speed:500,timeout:4e3,pager:!1,nav:!1,random:!1,pause:!1,touch:!0,touchThreshold:200,pauseControls:!0,prevText:"Previous",nextText:"Next",maxwidth:"",navContainer:"",manualControls:"",tabSelector:"a",namespace:"rslides",before:t.noop,after:t.noop},n);return this.each(function(){i++;var s,r,a,l,c,h,d=t(this),u=0,p=d.children(),f=p.length,m=parseFloat(o.speed),_=parseFloat(o.timeout),g=parseFloat(o.maxwidth),v=o.namespace,y=v+i,b=v+"_nav "+y+"_nav",w=v+"_here",x=y+"_on",T=y+"_s",C=t("<ul class='"+v+"_tabs "+y+"_tabs' />"),L={float:"left",position:"relative",opacity:1,zIndex:2,"transition-duration":m+"ms"},k={float:"none",position:"absolute",opacity:0,zIndex:1,"transition-duration":m+300+"ms"},S=function(){var t,e=(document.body||document.documentElement).style,i="transition";if("string"==typeof e[i])return!0;for(s=["Moz","Webkit","Khtml","O","ms"],i=i.charAt(0).toUpperCase()+i.substr(1),t=0;t<s.length;t++)if("string"==typeof e[s[t]+i])return!0;return!1}(),E=function(e){o.before(e),S?(p.removeClass(x).css(k).eq(e).addClass(x).css(L),u=e,setTimeout(function(){o.after(e)},m)):p.stop().fadeOut(m,function(){t(this).removeClass(x).css(k).css("opacity",1)}).eq(e).fadeIn(m,function(){t(this).addClass(x).css(L),o.after(e),u=e})};if(o.random&&(p.sort(function(){return Math.round(Math.random())-.5}),d.empty().append(p)),p.each(function(t){this.id=T+t}),d.addClass(v+" "+y),n&&n.maxwidth&&d.css("max-width",g),p.hide().css(k).eq(0).addClass(x).css(L).show(),S&&p.show().css({"-webkit-transition":"opacity "+m+"ms linear","-moz-transition":"opacity "+m+"ms linear","-o-transition":"opacity "+m+"ms linear",transition:"opacity "+m+"ms linear"}),p.length>1){if(_<m+100)return;if(o.pager&&!o.manualControls){var P=[];p.each(function(t){var e=t+1;P+="<li><a href='#' class='"+T+e+"'><span>"+e+"</span></a></li>"}),C.append(P),n.navContainer?t(o.navContainer).append(C):d.after(C)}if(o.manualControls&&(C=t(o.manualControls)).addClass(v+"_tabs "+y+"_tabs"),(o.pager||o.manualControls)&&C.find("li").each(function(e){t(this).addClass(T+(e+1))}),(o.pager||o.manualControls)&&(h=C.find(o.tabSelector),r=function(t){h.closest("li").removeClass(w).eq(t).addClass(w)}),o.auto&&(a=function(){c=setInterval(function(){p.stop(!0,!0);var t=u+1<f?u+1:0;(o.pager||o.manualControls)&&r(t),E(t)},_)})(),l=function(){o.auto&&(clearInterval(c),a())},o.pause&&d.hover(function(){clearInterval(c)},function(){l()}),(o.pager||o.manualControls)&&(h.bind("click",function(e){e.preventDefault(),o.pauseControls||l();var i=h.index(this);u===i||t("."+x).queue("fx").length||(r(i),E(i))}).eq(0).closest("li").addClass(w),o.pauseControls&&h.hover(function(){clearInterval(c)},function(){l()})),o.nav){var A="<a href='#' class='"+b+" prev'>"+o.prevText+"</a><a href='#' class='"+b+" next'>"+o.nextText+"</a>";n.navContainer?t(o.navContainer).append(A):d.after(A);var D=t("."+y+"_nav"),O=D.filter(".prev");D.bind("click",function(e){e.preventDefault();var i=t("."+x);if(!i.queue("fx").length){var n=p.index(i),s=n-1,a=n+1<f?u+1:0;E(t(this)[0]===O[0]?s:a),(o.pager||o.manualControls)&&r(t(this)[0]===O[0]?s:a),o.pauseControls||l()}}),o.pauseControls&&D.hover(function(){clearInterval(c)},function(){l()})}}if(o.touch){var M={touches:{touchstart:{x:-1,y:-1},touchmove:{x:-1,y:-1},touchend:!1,direction:"undetermined"},touchHandler:function(e){var i;if(void 0!==e&&(e.preventDefault(),"undefined"!=typeof e.originalEvent.touches))switch(i=e.originalEvent.touches[0],e.type){case"touchstart":clearInterval(c);case"touchmove":M.touches[e.type].x=i.pageX;case"touchend":if(M.touches.touchstart.x>-1&&M.touches.touchmove.x>-1){M.touches.direction=M.touches.touchstart.x<M.touches.touchmove.x?"right":"left";var n=t("."+x),s=p.index(n),r=s-1,a=s+1<f?u+1:0;Math.abs(M.touches.touchstart.x-M.touches.touchmove.x)>o.touchThreshold&&("left"===M.touches.direction?E(a):E(r),M.touches.touchstart={x:-1,y:-1},M.touches.touchmove={x:-1,y:-1},M.touches.direction="undetermined",l())}}},init:function(){p.bind("touchstart",M.touchHandler),p.bind("touchmove",M.touchHandler),p.bind("touchend",M.touchHandler)}};M.init()}if("undefined"==typeof document.body.style.maxWidth&&n.maxwidth){var z=function(){d.css("width","100%"),d.width()>g&&d.css("width",g)};z(),t(e).bind("resize",function(){z()})}})}}
2(jQuery,this,0),function(t,e,i){var n={version:"1.0.3+ed36a04"};"object"==typeof module&&"object"==typeof module.exports?module.exports=n:"function"==typeof define&&define.amd&&define(n),void 0!==t&&function(){var e=t.L;n.noConflict=function(){return t.L=e,this},t.L=n}(),n.Util={extend:function(t){var e,i,n,o;for(i=1,n=arguments.length;i<n;i++)for(e in o=arguments[i])t[e]=o[e];return t},create:Object.create||function(){function t(){}return function(e){return t.prototype=e,new t}}(),bind:function(t,e){var i=Array.prototype.slice;if(t.bind)return t.bind.apply(t,i.call(arguments,1));var n=i.call(arguments,2);return function(){return t.apply(e,n.length?n.concat(i.call(arguments)):arguments)}},stamp:function(t){return t._leaflet_id=t._leaflet_id||++n.Util.lastId,t._leaflet_id},lastId:0,throttle:function(t,e,i){var n,o,s,r;return r=function(){n=!1,o&&(s.apply(i,o),o=!1)},s=function(){n?o=arguments:(t.apply(i,arguments),setTimeout(r,e),n=!0)}},wrapNum:function(t,e,i){var n=e[1],o=e[0],s=n-o;return t===n&&i?t:((t-o)%s+s)%s+o},falseFn:function(){return!1},formatNum:function(t,e){var i=Math.pow(10,e||5);return Math.round(t*i)/i},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},splitWords:function(t){return n.Util.trim(t).split(/\s+/)},setOptions:function(t,e){for(var i in t.hasOwnProperty("options")||(t.options=t.options?n.Util.create(t.options):{}),e)t.options[i]=e[i];return t.options},getParamString:function(t,e,i){var n=[];for(var o in t)n.push(encodeURIComponent(i?o.toUpperCase():o)+"="+encodeURIComponent(t[o]));return(e&&-1!==e.indexOf("?")?"&":"?")+n.join("&")},template:function(t,e){return t.replace(n.Util.templateRe,function(t,n){var o=e[n];if(o===i)throw new Error("No value provided for variable "+t);return"function"==typeof o&&(o=o(e)),o})},templateRe:/\{ *([\w_\-]+) *\}/g,isArray:Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},indexOf:function(t,e){for(var i=0;i<t.length;i++)if(t[i]===e)return i;return-1},emptyImageUrl:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="},function(){function e(e){return t["webkit"+e]||t["moz"+e]||t["ms"+e]}function i(e){var i=+new Date,n=Math.max(0,16-(i-o));return o=i+n,t.setTimeout(e,n)}var o=0,s=t.requestAnimationFrame||e("RequestAnimationFrame")||i,r=t.cancelAnimationFrame||e("CancelAnimationFrame")||e("CancelRequestAnimationFrame")||function(e){t.clearTimeout(e)};n.Util.requestAnimFrame=function(e,o,r){return r&&s===i?void e.call(o):s.call(t,n.bind(e,o))},n.Util.cancelAnimFrame=function(e){e&&r.call(t,e)}}(),n.extend=n.Util.extend,n.bind=n.Util.bind,n.stamp=n.Util.stamp,n.setOptions=n.Util.setOptions,n.Class=function(){},n.Class.extend=function(t){var e=function(){this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},i=e.__super__=this.prototype,o=n.Util.create(i);for(var s in o.constructor=e,e.prototype=o,this)this.hasOwnProperty(s)&&"prototype"!==s&&(e[s]=this[s]);return t.statics&&(n.extend(e,t.statics),delete t.statics),t.includes&&(n.Util.extend.apply(null,[o].concat(t.includes)),delete t.includes),o.options&&(t.options=n.Util.extend(n.Util.create(o.options),t.options)),n.extend(o,t),o._initHooks=[],o.callInitHooks=function(){if(!this._initHooksCalled){i.callInitHooks&&i.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,e=o._initHooks.length;t<e;t++)o._initHooks[t].call(this)}},e},n.Class.include=function(t){return n.extend(this.prototype,t),this},n.Class.mergeOptions=function(t){return n.extend(this.prototype.options,t),this},n.Class.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},n.Evented=n.Class.extend({on:function(t,e,i){if("object"==typeof t)for(var o in t)this._on(o,t[o],e);else for(var s=0,r=(t=n.Util.splitWords(t)).length;s<r;s++)this._on(t[s],e,i);return this},off:function(t,e,i){if(t)if("object"==typeof t)for(var o in t)this._off(o,t[o],e);else for(var s=0,r=(t=n.Util.splitWords(t)).length;s<r;s++)this._off(t[s],e,i);else delete this._events;return this},_on:function(t,e,n){this._events=this._events||{};var o=this._events[t];o||(o=[],this._events[t]=o),n===this&&(n=i);for(var s={fn:e,ctx:n},r=o,a=0,l=r.length;a<l;a++)if(r[a].fn===e&&r[a].ctx===n)return;r.push(s)},_off:function(t,e,o){var s,r,a;if(this._events&&(s=this._events[t])){if(!e){for(r=0,a=s.length;r<a;r++)s[r].fn=n.Util.falseFn;return void delete this._events[t]}if(o===this&&(o=i),s)for(r=0,a=s.length;r<a;r++){var l=s[r];if(l.ctx===o&&l.fn===e)return l.fn=n.Util.falseFn,this._firingCount&&(this._events[t]=s=s.slice()),void s.splice(r,1)}}}
2,fire:function(t,e,i){if(!this.listens(t,i))return this;var o=n.Util.extend({},e,{type:t,target:this});if(this._events){var s=this._events[t];if(s){this._firingCount=this._firingCount+1||1;for(var r=0,a=s.length;r<a;r++){var l=s[r];l.fn.call(l.ctx||this,o)}this._firingCount--}}return i&&this._propagateEvent(o),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 o in t)this.once(o,t[o],e);return this}var s=n.bind(function(){this.off(t,e,i).off(t,s,i)},this);return this.on(t,e,i).on(t,s,i)},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[n.stamp(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[n.stamp(t)],this},_propagateEvent:function(t){for(var e in this._eventParents)this._eventParents[e].fire(t.type,n.extend({layer:t.target},t),!0)}});var o=n.Evented.prototype;o.addEventListener=o.on,o.removeEventListener=o.clearAllEventListeners=o.off,o.addOneTimeEventListener=o.once,o.fireEvent=o.fire,o.hasEventListeners=o.listens,n.Mixin={Events:o},function(){var i=navigator.userAgent.toLowerCase(),o=e.documentElement,s="ActiveXObject"in t,r=-1!==i.indexOf("webkit"),a=-1!==i.indexOf("phantom"),l=-1!==i.search("android [23]"),c=-1!==i.indexOf("chrome"),h=-1!==i.indexOf("gecko")&&!r&&!t.opera&&!s,d=0===navigator.platform.indexOf("Win"),u="undefined"!=typeof orientation||-1!==i.indexOf("mobile"),p=!t.PointerEvent&&t.MSPointerEvent,f=t.PointerEvent||p,m=s&&"transition"in o.style,_="WebKitCSSMatrix"in t&&"m11"in new t.WebKitCSSMatrix&&!l,g="MozPerspective"in o.style,v="OTransition"in o.style,y=!t.L_NO_TOUCH&&(f||"ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch);n.Browser={ie:s,ielt9:s&&!e.addEventListener,edge:"msLaunchUri"in navigator&&!("documentMode"in e),webkit:r,gecko:h,android:-1!==i.indexOf("android"),android23:l,chrome:c,safari:!c&&-1!==i.indexOf("safari"),win:d,ie3d:m,webkit3d:_,gecko3d:g,opera12:v,any3d:!t.L_DISABLE_3D&&(m||_||g)&&!v&&!a,mobile:u,mobileWebkit:u&&r,mobileWebkit3d:u&&_,mobileOpera:u&&t.opera,mobileGecko:u&&h,touch:!!y,msPointer:!!p,pointer:!!f,retina:(t.devicePixelRatio||t.screen.deviceXDPI/t.screen.logicalXDPI)>1}}(),n.Point=function(t,e,i){this.x=i?Math.round(t):t,this.y=i?Math.round(e):e},n.Point.prototype={clone:function(){return new n.Point(this.x,this.y)},add:function(t){return this.clone()._add(n.point(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(n.point(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 n.Point(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new n.Point(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},distanceTo:function(t){var e=(t=n.point(t)).x-this.x,i=t.y-this.y;return Math.sqrt(e*e+i*i)},equals:function(t){return(t=n.point(t)).x===this.x&&t.y===this.y},contains:function(t){return t=n.point(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+n.Util.formatNum(this.x)+", "+n.Util.formatNum(this.y)+")"}},n.point=function(t,e,o){return t instanceof n.Point?t:n.Util.isArray(t)?new n.Point(t[0],t[1]):t===i||null===t?t:"object"==typeof t&&"x"in t&&"y"in t?new n.Point(t.x,t.y):new n.Point(t,e,o)},n.Bounds=function(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])},n.Bounds.prototype={extend:function(t){return t=n.point(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 n.Point((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return new n.Point(this.min.x,this.max.y)},getTopRight:function(){return new n.Point(this.max.x,this.min.y)},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var e,i;return(t="number"==typeof t[0]||t instanceof n.Point?n.point(t):n.bounds(t))instanceof n.Bounds?(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=n.bounds(t);var e=this.min,i=this.max,o=t.min,s=t.max,r=s.x>=e.x&&o.x<=i.x,a=s.y>=e.y&&o.y<=i.y;return r&&a},overlaps:function(t){t=n.bounds(t);var e=this.min,i=this.max,o=t.min,s=t.max,r=s.x>e.x&&o.x<i.x,a=s.y>e.y&&o.y<i.y;return r&&a},isValid:function(){return!(!this.min||!this.max)}},n.bounds=function(t,e){return!t||t instanceof n.Bounds?t:new n.Bounds(t,e)}
2,n.Transformation=function(t,e,i,n){this._a=t,this._b=e,this._c=i,this._d=n},n.Transformation.prototype={transform:function(t,e){return this._transform(t.clone(),e)},_transform:function(t,e){return e=e||1,t.x=e*(this._a*t.x+this._b),t.y=e*(this._c*t.y+this._d),t},untransform:function(t,e){return e=e||1,new n.Point((t.x/e-this._b)/this._a,(t.y/e-this._d)/this._c)}},n.DomUtil={get:function(t){return"string"==typeof t?e.getElementById(t):t},getStyle:function(t,i){var n=t.style[i]||t.currentStyle&&t.currentStyle[i];if((!n||"auto"===n)&&e.defaultView){var o=e.defaultView.getComputedStyle(t,null);n=o?o[i]:null}return"auto"===n?null:n},create:function(t,i,n){var o=e.createElement(t);return o.className=i||"",n&&n.appendChild(o),o},remove:function(t){var e=t.parentNode;e&&e.removeChild(t)},empty:function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},toFront:function(t){t.parentNode.appendChild(t)},toBack:function(t){var e=t.parentNode;e.insertBefore(t,e.firstChild)},hasClass:function(t,e){if(t.classList!==i)return t.classList.contains(e);var o=n.DomUtil.getClass(t);return o.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(o)},addClass:function(t,e){if(t.classList!==i)for(var o=n.Util.splitWords(e),s=0,r=o.length;s<r;s++)t.classList.add(o[s]);else if(!n.DomUtil.hasClass(t,e)){var a=n.DomUtil.getClass(t);n.DomUtil.setClass(t,(a?a+" ":"")+e)}},removeClass:function(t,e){t.classList!==i?t.classList.remove(e):n.DomUtil.setClass(t,n.Util.trim((" "+n.DomUtil.getClass(t)+" ").replace(" "+e+" "," ")))},setClass:function(t,e){t.className.baseVal===i?t.className=e:t.className.baseVal=e},getClass:function(t){return t.className.baseVal===i?t.className:t.className.baseVal},setOpacity:function(t,e){"opacity"in t.style?t.style.opacity=e:"filter"in t.style&&n.DomUtil._setOpacityIE(t,e)},_setOpacityIE:function(t,e){var i=!1,n="DXImageTransform.Microsoft.Alpha";try{i=t.filters.item(n)}catch(t){if(1===e)return}e=Math.round(100*e),i?(i.Enabled=100!==e,i.Opacity=e):t.style.filter+=" progid:"+n+"(opacity="+e+")"},testProp:function(t){for(var i=e.documentElement.style,n=0;n<t.length;n++)if(t[n]in i)return t[n];return!1},setTransform:function(t,e,i){var o=e||new n.Point(0,0);t.style[n.DomUtil.TRANSFORM]=(n.Browser.ie3d?"translate("+o.x+"px,"+o.y+"px)":"translate3d("+o.x+"px,"+o.y+"px,0)")+(i?" scale("+i+")":"")},setPosition:function(t,e){t._leaflet_pos=e,n.Browser.any3d?n.DomUtil.setTransform(t,e):(t.style.left=e.x+"px",t.style.top=e.y+"px")},getPosition:function(t){return t._leaflet_pos||new n.Point(0,0)}},function(){n.DomUtil.TRANSFORM=n.DomUtil.testProp(["transform","WebkitTransform","OTransform","MozTransform","msTransform"]);var i=n.DomUtil.TRANSITION=n.DomUtil.testProp(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);if(n.DomUtil.TRANSITION_END="webkitTransition"===i||"OTransition"===i?i+"End":"transitionend","onselectstart"in e)n.DomUtil.disableTextSelection=function(){n.DomEvent.on(t,"selectstart",n.DomEvent.preventDefault)},n.DomUtil.enableTextSelection=function(){n.DomEvent.off(t,"selectstart",n.DomEvent.preventDefault)};else{var o=n.DomUtil.testProp(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);n.DomUtil.disableTextSelection=function(){if(o){var t=e.documentElement.style;this._userSelect=t[o],t[o]="none"}},n.DomUtil.enableTextSelection=function(){o&&(e.documentElement.style[o]=this._userSelect,delete this._userSelect)}}n.DomUtil.disableImageDrag=function(){n.DomEvent.on(t,"dragstart",n.DomEvent.preventDefault)},n.DomUtil.enableImageDrag=function(){n.DomEvent.off(t,"dragstart",n.DomEvent.preventDefault)},n.DomUtil.preventOutline=function(e){for(;-1===e.tabIndex;)e=e.parentNode;e&&e.style&&(n.DomUtil.restoreOutline(),this._outlineElement=e,this._outlineStyle=e.style.outline,e.style.outline="none",n.DomEvent.on(t,"keydown",n.DomUtil.restoreOutline,this))},n.DomUtil.restoreOutline=function(){this._outlineElement&&(this._outlineElement.style.outline=this._outlineStyle,delete this._outlineElement,delete this._outlineStyle,n.DomEvent.off(t,"keydown",n.DomUtil.restoreOutline,this))}}(),n.LatLng=function(t,e,n){if(isNaN(t)||isNaN(e))throw new Error("Invalid LatLng object: ("+t+", "+e+")");this.lat=+t,this.lng=+e,n!==i&&(this.alt=+n)},n.LatLng.prototype={equals:function(t,e){return!!t&&(t=n.latLng(t),Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng))<=(e===i?1e-9:e))}
2,toString:function(t){return"LatLng("+n.Util.formatNum(this.lat,t)+", "+n.Util.formatNum(this.lng,t)+")"},distanceTo:function(t){return n.CRS.Earth.distance(this,n.latLng(t))},wrap:function(){return n.CRS.Earth.wrapLatLng(this)},toBounds:function(t){var e=180*t/40075017,i=e/Math.cos(Math.PI/180*this.lat);return n.latLngBounds([this.lat-e,this.lng-i],[this.lat+e,this.lng+i])},clone:function(){return new n.LatLng(this.lat,this.lng,this.alt)}},n.latLng=function(t,e,o){return t instanceof n.LatLng?t:n.Util.isArray(t)&&"object"!=typeof t[0]?3===t.length?new n.LatLng(t[0],t[1],t[2]):2===t.length?new n.LatLng(t[0],t[1]):null:t===i||null===t?t:"object"==typeof t&&"lat"in t?new n.LatLng(t.lat,"lng"in t?t.lng:t.lon,t.alt):e===i?null:new n.LatLng(t,e,o)},n.LatLngBounds=function(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])},n.LatLngBounds.prototype={extend:function(t){var e,i,o=this._southWest,s=this._northEast;if(t instanceof n.LatLng)e=t,i=t;else{if(!(t instanceof n.LatLngBounds))return t?this.extend(n.latLng(t)||n.latLngBounds(t)):this;if(e=t._southWest,i=t._northEast,!e||!i)return this}return o||s?(o.lat=Math.min(e.lat,o.lat),o.lng=Math.min(e.lng,o.lng),s.lat=Math.max(i.lat,s.lat),s.lng=Math.max(i.lng,s.lng)):(this._southWest=new n.LatLng(e.lat,e.lng),this._northEast=new n.LatLng(i.lat,i.lng)),this},pad:function(t){var e=this._southWest,i=this._northEast,o=Math.abs(e.lat-i.lat)*t,s=Math.abs(e.lng-i.lng)*t;return new n.LatLngBounds(new n.LatLng(e.lat-o,e.lng-s),new n.LatLng(i.lat+o,i.lng+s))},getCenter:function(){return new n.LatLng((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 n.LatLng(this.getNorth(),this.getWest())},getSouthEast:function(){return new n.LatLng(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t="number"==typeof t[0]||t instanceof n.LatLng||"lat"in t?n.latLng(t):n.latLngBounds(t);var e,i,o=this._southWest,s=this._northEast;
2return t instanceof n.LatLngBounds?(e=t.getSouthWest(),i=t.getNorthEast()):e=i=t,e.lat>=o.lat&&i.lat<=s.lat&&e.lng>=o.lng&&i.lng<=s.lng},intersects:function(t){t=n.latLngBounds(t);var e=this._southWest,i=this._northEast,o=t.getSouthWest(),s=t.getNorthEast(),r=s.lat>=e.lat&&o.lat<=i.lat,a=s.lng>=e.lng&&o.lng<=i.lng;return r&&a},overlaps:function(t){t=n.latLngBounds(t);var e=this._southWest,i=this._northEast,o=t.getSouthWest(),s=t.getNorthEast(),r=s.lat>e.lat&&o.lat<i.lat,a=s.lng>e.lng&&o.lng<i.lng;return r&&a},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t){return!!t&&(t=n.latLngBounds(t),this._southWest.equals(t.getSouthWest())&&this._northEast.equals(t.getNorthEast()))},isValid:function(){return!(!this._southWest||!this._northEast)}},n.latLngBounds=function(t,e){return t instanceof n.LatLngBounds?t:new n.LatLngBounds(t,e)},n.Projection={},n.Projection.LonLat={project:function(t){return new n.Point(t.lng,t.lat)},unproject:function(t){return new n.LatLng(t.y,t.x)},bounds:n.bounds([-180,-90],[180,90])},n.Projection.SphericalMercator={R:6378137,MAX_LATITUDE:85.0511287798,project:function(t){var e=Math.PI/180,i=this.MAX_LATITUDE,o=Math.max(Math.min(i,t.lat),-i),s=Math.sin(o*e);return new n.Point(this.R*t.lng*e,this.R*Math.log((1+s)/(1-s))/2)},unproject:function(t){var e=180/Math.PI;return new n.LatLng((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*e,t.x*e/this.R)},bounds:function(){var t=6378137*Math.PI;return n.bounds([-t,-t],[t,t])}()},n.CRS={latLngToPoint:function(t,e){var i=this.projection.project(t),n=this.scale(e);return this.transformation._transform(i,n)},pointToLatLng:function(t,e){var i=this.scale(e),n=this.transformation.untransform(t,i);return this.projection.unproject(n)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){if(this.infinite)return null;var e=this.projection.bounds,i=this.scale(t),o=this.transformation.transform(e.min,i),s=this.transformation.transform(e.max,i);return n.bounds(o,s)},infinite:!1,wrapLatLng:function(t){var e=this.wrapLng?n.Util.wrapNum(t.lng,this.wrapLng,!0):t.lng,i=this.wrapLat?n.Util.wrapNum(t.lat,this.wrapLat,!0):t.lat,o=t.alt;return n.latLng(i,e,o)},wrapLatLngBounds:function(t){var e=t.getCenter(),i=this.wrapLatLng(e),o=e.lat-i.lat,s=e.lng-i.lng;if(0===o&&0===s)return t;
2var r=t.getSouthWest(),a=t.getNorthEast(),l=n.latLng({lat:r.lat-o,lng:r.lng-s}),c=n.latLng({lat:a.lat-o,lng:a.lng-s});return new n.LatLngBounds(l,c)}},n.CRS.Simple=n.extend({},n.CRS,{projection:n.Projection.LonLat,transformation:new n.Transformation(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var i=e.lng-t.lng,n=e.lat-t.lat;return Math.sqrt(i*i+n*n)},infinite:!0}),n.CRS.Earth=n.extend({},n.CRS,{wrapLng:[-180,180],R:6371e3,distance:function(t,e){var i=Math.PI/180,n=t.lat*i,o=e.lat*i,s=Math.sin(n)*Math.sin(o)+Math.cos(n)*Math.cos(o)*Math.cos((e.lng-t.lng)*i);return this.R*Math.acos(Math.min(s,1))}}),n.CRS.EPSG3857=n.extend({},n.CRS.Earth,{code:"EPSG:3857",projection:n.Projection.SphericalMercator,transformation:function(){var t=.5/(Math.PI*n.Projection.SphericalMercator.R);return new n.Transformation(t,.5,-t,.5)}()}),n.CRS.EPSG900913=n.extend({},n.CRS.EPSG3857,{code:"EPSG:900913"}),n.CRS.EPSG4326=n.extend({},n.CRS.Earth,{code:"EPSG:4326",projection:n.Projection.LonLat,transformation:new n.Transformation(1/180,1,-1/180,.5)}),n.Map=n.Evented.extend({options:{crs:n.CRS.EPSG3857,center:i,zoom:i,minZoom:i,maxZoom:i,layers:[],maxBounds:i,renderer:i,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(t,e){e=n.setOptions(this,e),this._initContainer(t),this._initLayout(),this._onResize=n.bind(this._onResize,this),this._initEvents(),e.maxBounds&&this.setMaxBounds(e.maxBounds),e.zoom!==i&&(this._zoom=this._limitZoom(e.zoom)),e.center&&e.zoom!==i&&this.setView(n.latLng(e.center),e.zoom,{reset:!0}),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this.callInitHooks(),this._zoomAnimated=n.DomUtil.TRANSITION&&n.Browser.any3d&&!n.Browser.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),n.DomEvent.on(this._proxy,n.DomUtil.TRANSITION_END,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(t,e,o){if((e=e===i?this._zoom:this._limitZoom(e),t=this._limitCenter(n.latLng(t),e,this.options.maxBounds),o=o||{},this._stop(),this._loaded&&!o.reset&&!0!==o)&&(o.animate!==i&&(o.zoom=n.extend({animate:o.animate},o.zoom),o.pan=n.extend({animate:o.animate,duration:o.duration},o.pan)),this._zoom!==e?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,e,o.zoom):this._tryAnimatedPan(t,o.pan)))return clearTimeout(this._sizeTimer),this;return 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||(n.Browser.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+t,e)},zoomOut:function(t,e){return t=t||(n.Browser.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-t,e)},setZoomAround:function(t,e,i){var o=this.getZoomScale(e),s=this.getSize().divideBy(2),r=(t instanceof n.Point?t:this.latLngToContainerPoint(t)).subtract(s).multiplyBy(1-1/o),a=this.containerPointToLatLng(s.add(r));return this.setView(a,e,{zoom:i})},_getBoundsCenterZoom:function(t,e){e=e||{},t=t.getBounds?t.getBounds():n.latLngBounds(t);var i=n.point(e.paddingTopLeft||e.padding||[0,0]),o=n.point(e.paddingBottomRight||e.padding||[0,0]),s=this.getBoundsZoom(t,!1,i.add(o));s="number"==typeof e.maxZoom?Math.min(e.maxZoom,s):s;
2var r=o.subtract(i).divideBy(2),a=this.project(t.getSouthWest(),s),l=this.project(t.getNorthEast(),s);return{center:this.unproject(a.add(l).divideBy(2).add(r),s),zoom:s}},fitBounds:function(t,e){if(!(t=n.latLngBounds(t)).isValid())throw new Error("Bounds are not valid.");var i=this._getBoundsCenterZoom(t,e);return this.setView(i.center,i.zoom,e)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,e){return this.setView(t,this._zoom,{pan:e})},panBy:function(t,e){if(t=n.point(t).round(),e=e||{},!t.x&&!t.y)return this.fire("moveend");if(!0!==e.animate&&!this.getSize().contains(t))return this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new n.PosAnimation,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),!1!==e.animate){n.DomUtil.addClass(this._mapPane,"leaflet-pan-anim");var i=this._getMapPanePos().subtract(t).round();this._panAnim.run(this._mapPane,i,e.duration||.25,e.easeLinearity)}else this._rawPanBy(t),this.fire("move").fire("moveend");return this},flyTo:function(t,e,o){function s(t){var e=(f*f-p*p+(t?-1:1)*g*g*m*m)/(2*(t?f:p)*g*m),i=Math.sqrt(e*e+1)-e;return i<1e-9?-18:Math.log(i)}function r(t){return(Math.exp(t)-Math.exp(-t))/2}function a(t){return(Math.exp(t)+Math.exp(-t))/2}function l(t){return p*(a(v)*function(t){return r(t)/a(t)}(v+_*t)-r(v))/g}if(!1===(o=o||{}).animate||!n.Browser.any3d)return this.setView(t,e,o);this._stop();var c=this.project(this.getCenter()),h=this.project(t),d=this.getSize(),u=this._zoom;t=n.latLng(t),e=e===i?u:e;var p=Math.max(d.x,d.y),f=p*this.getZoomScale(u,e),m=h.distanceTo(c)||1,_=1.42,g=_*_,v=s(0),y=Date.now(),b=(s(1)-v)/_,w=o.duration?1e3*o.duration:1e3*b*.8;return this._moveStart(!0),function x(){var i=(Date.now()-y)/w,o=function(t){return 1-Math.pow(1-t,1.5)}(i)*b;i<=1?(this._flyToFrame=n.Util.requestAnimFrame(x,this),this._move(this.unproject(c.add(h.subtract(c).multiplyBy(l(o)/m)),u),this.getScaleZoom(p/function(t){return p*(a(v)/a(v+_*t))}(o),u),{flyTo:!0})):this._move(t,e)._moveEnd(!0)}.call(this),this},flyToBounds:function(t,e){var i=this._getBoundsCenterZoom(t,e);return this.flyTo(i.center,i.zoom,e)},setMaxBounds:function(t){return(t=n.latLngBounds(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){return this.options.minZoom=t,this._loaded&&this.getZoom()<this.options.minZoom?this.setZoom(t):this},setMaxZoom:function(t){return this.options.maxZoom=t,this._loaded&&this.getZoom()>this.options.maxZoom?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var i=this.getCenter(),o=this._limitCenter(i,this._zoom,n.latLngBounds(t));return i.equals(o)||this.panTo(o,e),this._enforcingBounds=!1,this},invalidateSize:function(t){if(!this._loaded)return this;t=n.extend({animate:!1,pan:!0},!0===t?{animate:!0}:t);var e=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var i=this.getSize(),o=e.divideBy(2).round(),s=i.divideBy(2).round(),r=o.subtract(s);return r.x||r.y?(t.animate&&t.pan?this.panBy(r):(t.pan&&this._rawPanBy(r),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(n.bind(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:e,newSize:i})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=n.extend({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var e=n.bind(this._handleGeolocationResponse,this),i=n.bind(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,i,t):navigator.geolocation.getCurrentPosition(e,i,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var e=t.code,i=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+i+"."})},_handleGeolocationResponse:function(t){var e=t.coords.latitude,i=t.coords.longitude,o=new n.LatLng(e,i),s=o.toBounds(t.coords.accuracy),r=this._locateOptions;if(r.setView){var a=this.getBoundsZoom(s);this.setView(o,r.maxZoom?Math.min(a,r.maxZoom):a)}var l={latlng:o,bounds:s,timestamp:t.timestamp};for(var c in t.coords)"number"==typeof t.coords[c]&&(l[c]=t.coords[c]);this.fire("locationfound",l)},addHandler:function(t,e){if(!e)return this;var i=this[t]=new e(this);return this._handlers.push(i),this.options[t]&&i.enable(),this},remove:function(){if(this._initEvents(!0),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=i,this._containerId=i}for(var t in n.DomUtil.remove(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();return this},createPane:function(t,e){var i="leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),o=n.DomUtil.create("div",i,e||this._mapPane);return t&&(this._panes[t]=o),o},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(),e=this.unproject(t.getBottomLeft()),i=this.unproject(t.getTopRight());return new n.LatLngBounds(e,i)},getMinZoom:function(){return this.options.minZoom===i?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===i?this._layersMaxZo
2om===i?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,i){t=n.latLngBounds(t),i=n.point(i||[0,0]);var o=this.getZoom()||0,s=this.getMinZoom(),r=this.getMaxZoom(),a=t.getNorthWest(),l=t.getSouthEast(),c=this.getSize().subtract(i),h=n.bounds(this.project(l,o),this.project(a,o)).getSize(),d=n.Browser.any3d?this.options.zoomSnap:1,u=Math.min(c.x/h.x,c.y/h.y);return o=this.getScaleZoom(u,o),d&&(o=Math.round(o/(d/100))*(d/100),o=e?Math.ceil(o/d)*d:Math.floor(o/d)*d),Math.max(s,Math.min(r,o))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new n.Point(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var i=this._getTopLeftPoint(t,e);return new n.Bounds(i,i.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(t===i?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 n=this.options.crs;return e=e===i?this._zoom:e,n.scale(t)/n.scale(e)},getScaleZoom:function(t,e){var n=this.options.crs;e=e===i?this._zoom:e;var o=n.zoom(t*n.scale(e));return isNaN(o)?1/0:o},project:function(t,e){return e=e===i?this._zoom:e,this.options.crs.latLngToPoint(n.latLng(t),e)},unproject:function(t,e){return e=e===i?this._zoom:e,this.options.crs.pointToLatLng(n.point(t),e)},layerPointToLatLng:function(t){var e=n.point(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){return this.project(n.latLng(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(n.latLng(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(n.latLngBounds(t))},distance:function(t,e){return this.options.crs.distance(n.latLng(t),n.latLng(e))},containerPointToLayerPoint:function(t){return n.point(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return n.point(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(n.point(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(n.latLng(t)))},mouseEventToContainerPoint:function(t){return n.DomEvent.getMousePosition(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=n.DomUtil.get(t);if(!e)throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");n.DomEvent.addListener(e,"scroll",this._onScroll,this),this._containerId=n.Util.stamp(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&n.Browser.any3d,n.DomUtil.addClass(t,"leaflet-container"+(n.Browser.touch?" leaflet-touch":"")+(n.Browser.retina?" leaflet-retina":"")+(n.Browser.ielt9?" leaflet-oldie":"")+(n.Browser.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=n.DomUtil.getStyle(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),n.DomUtil.setPosition(this._mapPane,new n.Point(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(n.DomUtil.addClass(t.markerPane,"leaflet-zoom-hide"),n.DomUtil.addClass(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e){n.DomUtil.setPosition(this._mapPane,new n.Point(0,0));var i=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var o=this._zoom!==e;this._moveStart(o)._move(t,e)._moveEnd(o),this.fire("viewreset"),i&&this.fire("load")},_moveStart:function(t){return t&&this.fire("zoomstart"),this.fire("movestart")},_move:function(t,e,n){e===i&&(e=this._zoom);var o=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),(o||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")}
2,_stop:function(){return n.Util.cancelAnimFrame(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){n.DomUtil.setPosition(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(e){if(n.DomEvent){this._targets={},this._targets[n.stamp(this._container)]=this;var i=e?"off":"on";n.DomEvent[i](this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress",this._handleDOMEvent,this),this.options.trackResize&&n.DomEvent[i](t,"resize",this._onResize,this),n.Browser.any3d&&this.options.transform3DLimit&&this[i]("moveend",this._onMoveEnd)}},_onResize:function(){n.Util.cancelAnimFrame(this._resizeRequest),this._resizeRequest=n.Util.requestAnimFrame(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,o=[],s="mouseout"===e||"mouseover"===e,r=t.target||t.srcElement,a=!1;r;){if((i=this._targets[n.stamp(r)])&&("click"===e||"preclick"===e)&&!t._simulated&&this._draggableMoved(i)){a=!0;break}if(i&&i.listens(e,!0)){if(s&&!n.DomEvent._isExternalTarget(r,t))break;if(o.push(i),s)break}if(r===this._container)break;r=r.parentNode}return o.length||a||s||!n.DomEvent._isExternalTarget(r,t)||(o=[this]),o},_handleDOMEvent:function(t){if(this._loaded&&!n.DomEvent._skipped(t)){var e="keypress"===t.type&&13===t.keyCode?"click":t.type;"mousedown"===e&&n.DomUtil.preventOutline(t.target||t.srcElement),this._fireDOMEvent(t,e)}},_fireDOMEvent:function(t,e,i){if("click"===t.type){var o=n.Util.extend({},t);o.type="preclick",this._fireDOMEvent(o,o.type,i)}if(!t._stopped&&(i=(i||[]).concat(this._findEventTargets(t,e))).length){var s=i[0];"contextmenu"===e&&s.listens(e,!0)&&n.DomEvent.preventDefault(t);var r={originalEvent:t};if("keypress"!==t.type){var a=s instanceof n.Marker;r.containerPoint=a?this.latLngToContainerPoint(s.getLatLng()):this.mouseEventToContainerPoint(t),r.layerPoint=this.containerPointToLayerPoint(r.containerPoint),r.latlng=a?s.getLatLng():this.layerPointToLatLng(r.layerPoint)}for(var l=0;l<i.length;l++)if(i[l].fire(e,r,!0),r.originalEvent._stopped||i[l].options.nonBubblingEvents&&-1!==n.Util.indexOf(i[l].options.nonBubblingEvents,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 n.DomUtil.getPosition(this._mapPane)||new n.Point(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,e){return(t&&e!==i?this._getNewPixelOrigin(t,e):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,e){var i=this.getSize()._divideBy(2);return this.project(t,e)._subtract(i)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,e,i){var n=this._getNewPixelOrigin(i,e);return this.project(t,e)._subtract(n)},_latLngBoundsToNewLayerBounds:function(t,e,i){var o=this._getNewPixelOrigin(i,e);
2return n.bounds([this.project(t.getSouthWest(),e)._subtract(o),this.project(t.getNorthWest(),e)._subtract(o),this.project(t.getSouthEast(),e)._subtract(o),this.project(t.getNorthEast(),e)._subtract(o)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,e,i){if(!i)return t;var o=this.project(t,e),s=this.getSize().divideBy(2),r=new n.Bounds(o.subtract(s),o.add(s)),a=this._getBoundsOffset(r,i,e);return a.round().equals([0,0])?t:this.unproject(o.add(a),e)},_limitOffset:function(t,e){if(!e)return t;var i=this.getPixelBounds(),o=new n.Bounds(i.min.add(t),i.max.add(t));return t.add(this._getBoundsOffset(o,e))},_getBoundsOffset:function(t,e,i){var o=n.bounds(this.project(e.getNorthEast(),i),this.project(e.getSouthWest(),i)),s=o.min.subtract(t.min),r=o.max.subtract(t.max),a=this._rebound(s.x,-r.x),l=this._rebound(s.y,-r.y);return new n.Point(a,l)},_rebound:function(t,e){return t+e>0?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(),o=n.Browser.any3d?this.options.zoomSnap:1;return o&&(t=Math.round(t/o)*o),Math.max(e,Math.min(i,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){n.DomUtil.removeClass(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var i=this._getCenterOffset(t)._floor();return!(!0!==(e&&e.animate)&&!this.getSize().contains(i)||(this.panBy(i,e),0))},_createAnimProxy:function(){var t=this._proxy=n.DomUtil.create("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(e){var i=n.DomUtil.TRANSFORM,o=t.style[i];n.DomUtil.setTransform(t,this.project(e.center,e.zoom),this.getZoomScale(e.zoom,1)),o===t.style[i]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",function(){var e=this.getCenter(),i=this.getZoom();n.DomUtil.setTransform(t,this.project(e,i),this.getZoomScale(i,1))},this)},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,i){if(this._animatingZoom)return!0;if(i=i||{},!this._zoomAnimated||!1===i.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var o=this.getZoomScale(e),s=this._getCenterOffset(t)._divideBy(1-1/o);return!(!0!==i.animate&&!this.getSize().contains(s)||(n.Util.requestAnimFrame(function(){this._moveStart(!0)._animateZoom(t,e,!0)},this),0))},_animateZoom:function(t,e,i,o){i&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,n.DomUtil.addClass(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:o}),setTimeout(n.bind(this._onZoomTransitionEnd,this),250)},_onZoomTransitionEnd:function(){this._animatingZoom&&(n.DomUtil.removeClass(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),n.Util.requestAnimFrame(function(){this._moveEnd(!0)},this))}}),n.map=function(t,e){return new n.Map(t,e)},n.Layer=n.Evented.extend({options:{pane:"overlayPane",nonBubblingEvents:[],attribution:null},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[n.stamp(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[n.stamp(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var i=this.getEvents();e.on(i,this),this.once("remove",function(){e.off(i,this)},this)}this.onAdd(e),this.getAttribution&&e.attributionControl&&e.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),e.fire("layeradd",{layer:this})}}}),n.Map.include({addLayer:function(t){var e=n.stamp(t);return this._layers[e]?this:(this._layers[e]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t),this)},removeLayer:function(t){var e=n.stamp(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):this},hasLayer:function(t){return!!t&&n.stamp(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?n.Util.isArray(t)?t:[t]:[]).length;e<i;e++)this.addLayer(t[e])}
2,_addZoomLimit:function(t){!isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[n.stamp(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){var e=n.stamp(t);this._zoomBoundLayers[e]&&(delete this._zoomBoundLayers[e],this._updateZoomLevels())},_updateZoomLevels:function(){var t=1/0,e=-1/0,n=this._getZoomSpan();for(var o in this._zoomBoundLayers){var s=this._zoomBoundLayers[o].options;t=s.minZoom===i?t:Math.min(t,s.minZoom),e=s.maxZoom===i?e:Math.max(e,s.maxZoom)}this._layersMaxZoom=e===-1/0?i:e,this._layersMinZoom=t===1/0?i:t,n!==this._getZoomSpan()&&this.fire("zoomlevelschange"),this.options.maxZoom===i&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===i&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var s="_leaflet_events";n.DomEvent={on:function(t,e,i,o){if("object"==typeof e)for(var s in e)this._on(t,s,e[s],i);else for(var r=0,a=(e=n.Util.splitWords(e)).length;r<a;r++)this._on(t,e[r],i,o);return this},off:function(t,e,i,o){if("object"==typeof e)for(var s in e)this._off(t,s,e[s],i);else for(var r=0,a=(e=n.Util.splitWords(e)).length;r<a;r++)this._off(t,e[r],i,o);return this},_on:function(e,i,o,r){var a=i+n.stamp(o)+(r?"_"+n.stamp(r):"");if(e[s]&&e[s][a])return this;var l=function(i){return o.call(r||e,i||t.event)},c=l;return n.Browser.pointer&&0===i.indexOf("touch")?this.addPointerListener(e,i,l,a):!n.Browser.touch||"dblclick"!==i||!this.addDoubleTapListener||n.Browser.pointer&&n.Browser.chrome?"addEventListener"in e?"mousewheel"===i?e.addEventListener("onwheel"in e?"wheel":"mousewheel",l,!1):"mouseenter"===i||"mouseleave"===i?(l=function(i){i=i||t.event,n.DomEvent._isExternalTarget(e,i)&&c(i)},e.addEventListener("mouseenter"===i?"mouseover":"mouseout",l,!1)):("click"===i&&n.Browser.android&&(l=function(t){return n.DomEvent._filterClick(t,c)}),e.addEventListener(i,l,!1)):"attachEvent"in e&&e.attachEvent("on"+i,l):this.addDoubleTapListener(e,l,a),e[s]=e[s]||{},e[s][a]=l,this},_off:function(t,e,i,o){var r=e+n.stamp(i)+(o?"_"+n.stamp(o):""),a=t[s]&&t[s][r];return a?(n.Browser.pointer&&0===e.indexOf("touch")?this.removePointerListener(t,e,r):n.Browser.touch&&"dblclick"===e&&this.removeDoubleTapListener?this.removeDoubleTapListener(t,r):"removeEventListener"in t?"mousewheel"===e?t.removeEventListener("onwheel"in t?"wheel":"mousewheel",a,!1):t.removeEventListener("mouseenter"===e?"mouseover":"mouseleave"===e?"mouseout":e,a,!1):"detachEvent"in t&&t.detachEvent("on"+e,a),t[s][r]=null,this):this},stopPropagation:function(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,n.DomEvent._skipped(t),this},disableScrollPropagation:function(t){return n.DomEvent.on(t,"mousewheel",n.DomEvent.stopPropagation)},disableClickPropagation:function(t){var e=n.DomEvent.stopPropagation;return n.DomEvent.on(t,n.Draggable.START.join(" "),e),n.DomEvent.on(t,{click:n.DomEvent._fakeStop,dblclick:e})},preventDefault:function(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this},stop:function(t){return n.DomEvent.preventDefault(t).stopPropagation(t)},getMousePosition:function(t,e){if(!e)return new n.Point(t.clientX,t.clientY);var i=e.getBoundingClientRect();return new n.Point(t.clientX-i.left-e.clientLeft,t.clientY-i.top-e.clientTop)},_wheelPxFactor:n.Browser.win&&n.Browser.chrome?2:n.Browser.gecko?t.devicePixelRatio:1,getWheelDelta:function(t){return n.Browser.edge?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/n.DomEvent._wheelPxFactor: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:t.detail?t.detail/-32765*60:0},_skipEvents:{},_fakeStop:function(t){n.DomEvent._skipEvents[t.type]=!0},_skipped:function(t){var e=this._skipEvents[t.type];return this._skipEvents[t.type]=!1,e},_isExternalTarget:function(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},_filterClick:function(t,e){var i=t.timeStamp||t.originalEvent&&t.originalEvent.timeStamp,o=n.DomEvent._lastClick&&i-n.DomEvent._lastClick;return o&&o>100&&o<500||t.target._simulatedClick&&!t._simulated?void n.DomEvent.stop(t):(n.DomEvent._lastClick=i,void e(t))}},n.DomEvent.addListener=n.DomEvent.on,n.DomEvent.removeListener=n.DomEvent.off,n.PosAnimation=n.Evented.extend({run:function(t,e,
2i,o){this.stop(),this._el=t,this._inProgress=!0,this._duration=i||.25,this._easeOutPower=1/Math.max(o||.5,.2),this._startPos=n.DomUtil.getPosition(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=n.Util.requestAnimFrame(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,i=1e3*this._duration;e<i?this._runFrame(this._easeOut(e/i),t):(this._runFrame(1),this._complete())},_runFrame:function(t,e){var i=this._startPos.add(this._offset.multiplyBy(t));e&&i._round(),n.DomUtil.setPosition(this._el,i),this.fire("step")},_complete:function(){n.Util.cancelAnimFrame(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),n.Projection.Mercator={R:6378137,R_MINOR:6356752.314245179,bounds:n.bounds([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var e=Math.PI/180,i=this.R,o=t.lat*e,s=this.R_MINOR/i,r=Math.sqrt(1-s*s),a=r*Math.sin(o),l=Math.tan(Math.PI/4-o/2)/Math.pow((1-a)/(1+a),r/2);return o=-i*Math.log(Math.max(l,1e-10)),new n.Point(t.lng*e*i,o)},unproject:function(t){for(var e,i=180/Math.PI,o=this.R,s=this.R_MINOR/o,r=Math.sqrt(1-s*s),a=Math.exp(-t.y/o),l=Math.PI/2-2*Math.atan(a),c=0,h=.1;c<15&&Math.abs(h)>1e-7;c++)e=r*Math.sin(l),e=Math.pow((1-e)/(1+e),r/2),l+=h=Math.PI/2-2*Math.atan(a*e)-l;return new n.LatLng(l*i,t.x*i/o)}},n.CRS.EPSG3395=n.extend({},n.CRS.Earth,{code:"EPSG:3395",projection:n.Projection.Mercator,transformation:function(){var t=.5/(Math.PI*n.Projection.Mercator.R);return new n.Transformation(t,.5,-t,.5)}()}),n.GridLayer=n.Layer.extend({options:{tileSize:256,opacity:1,updateWhenIdle:n.Browser.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:i,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(t){n.setOptions(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(),n.DomUtil.remove(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=null},bringToFront:function(){return this._map&&(n.DomUtil.toFront(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(n.DomUtil.toBack(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.Util.throttle(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return e.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof n.Point?t:new n.Point(t,t)},_updateZIndex:function(){this._container&&this.options.zIndex!==i&&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,s=i.length;o<s;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&&!n.Browser.ielt9){n.DomUtil.setOpacity(this._container,this.options.opacity);var t=+new Date,e=!1,i=!1;for(var o in this._tiles){var s=this._tiles[o];if(s.current&&s.loaded){var r=Math.min(1,(t-s.loaded)/200);n.DomUtil.setOpacity(s.el,r),r<1?e=!0:(s.active&&(i=!0),s.active=!0)}}i&&!this._noPrune&&this._pruneTiles(),e&&(n.Util.cancelAnimFrame
2(this._fadeFrame),this._fadeFrame=n.Util.requestAnimFrame(this._updateOpacity,this))}},_initContainer:function(){this._container||(this._container=n.DomUtil.create("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(t===i)return i;for(var o in this._levels)this._levels[o].el.children.length||o===t?this._levels[o].el.style.zIndex=e-Math.abs(t-o):(n.DomUtil.remove(this._levels[o].el),this._removeTilesAtZoom(o),delete this._levels[o]);var s=this._levels[t],r=this._map;return s||((s=this._levels[t]={}).el=n.DomUtil.create("div","leaflet-tile-container leaflet-zoom-animated",this._container),s.el.style.zIndex=e,s.origin=r.project(r.unproject(r.getPixelOrigin()),t).round(),s.zoom=t,this._setZoomTransform(s,r.getCenter(),r.getZoom()),n.Util.falseFn(s.el.offsetWidth)),this._level=s,s},_pruneTiles:function(){if(this._map){var t,e,i=this._map.getZoom();if(i>this.options.maxZoom||i<this.options.minZoom)return void this._removeAllTiles();for(t in this._tiles)(e=this._tiles[t]).retain=e.current;for(t in this._tiles)if((e=this._tiles[t]).current&&!e.active){var n=e.coords;this._retainParent(n.x,n.y,n.z,n.z-5)||this._retainChildren(n.x,n.y,n.z,n.z+2)}for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}},_removeTilesAtZoom:function(t){for(var e in this._tiles)this._tiles[e].coords.z===t&&this._removeTile(e)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)n.DomUtil.remove(this._levels[t].el),delete this._levels[t];this._removeAllTiles(),this._tileZoom=null},_retainParent:function(t,e,i,o){var s=Math.floor(t/2),r=Math.floor(e/2),a=i-1,l=new n.Point(+s,+r);l.z=+a;var c=this._tileCoordsToKey(l),h=this._tiles[c];return h&&h.active?(h.retain=!0,!0):(h&&h.loaded&&(h.retain=!0),a>o&&this._retainParent(s,r,a,o))},_retainChildren:function(t,e,i,o){for(var s=2*t;s<2*t+2;s++)for(var r=2*e;r<2*e+2;r++){var a=new n.Point(s,r);a.z=i+1;var l=this._tileCoordsToKey(a),c=this._tiles[l];c&&c.active?c.retain=!0:(c&&c.loaded&&(c.retain=!0),i+1<o&&this._retainChildren(s,r,i+1,o))}},_resetView:function(t){var e=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),e,e)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_setView:function(t,e,n,o){var s=Math.round(e);(this.options.maxZoom!==i&&s>this.options.maxZoom||this.options.minZoom!==i&&s<this.options.minZoom)&&(s=i);var r=this.options.updateWhenZooming&&s!==this._tileZoom;o&&!r||(this._tileZoom=s,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),s!==i&&this._update(t),n||this._pruneTiles(),this._noPrune=!!n),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 o=this._map.getZoomScale(i,t.zoom),s=t.origin.multiplyBy(o).subtract(this._map._getNewPixelOrigin(e,i)).round();n.Browser.any3d?n.DomUtil.setTransform(t.el,s,o):n.DomUtil.setPosition(t.el,s)},_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(),o=e.getZoomScale(i,this._tileZoom),s=e.project(t,this._tileZoom).floor(),r=e.getSize().divideBy(2*o);return new n.Bounds(s.subtract(r),s.add(r))},_update:function(t){var o=this._map;if(o){var s=o.getZoom();if(t===i&&(t=o.getCenter()),this._tileZoom!==i){var r=this._getTiledPixelBounds(t),a=this._pxBoundsToTileRange(r),l=a.getCenter(),c=[],h=this.options.keepBuffer,d=new n.Bounds(a.getBottomLeft().subtract([h,-h]),a.getTopRight().add([h,-h]));for(var u in this._tiles){var p=this._tiles[u].coords;p.z===this._tileZoom&&d.contains(n.point(p.x,p.y))||(this._tiles[u].current=!1)}if(Math.abs(s-this._tileZoom)>
21)return void this._setView(t,s);for(var f=a.min.y;f<=a.max.y;f++)for(var m=a.min.x;m<=a.max.x;m++){var _=new n.Point(m,f);if(_.z=this._tileZoom,this._isValidTile(_)){var g=this._tiles[this._tileCoordsToKey(_)];g?g.current=!0:c.push(_)}}if(c.sort(function(t,e){return t.distanceTo(l)-e.distanceTo(l)}),0!==c.length){this._loading||(this._loading=!0,this.fire("loading"));var v=e.createDocumentFragment();for(m=0;m<c.length;m++)this._addTile(c[m],v);this._level.el.appendChild(v)}}}},_isValidTile:function(t){var e=this._map.options.crs;if(!e.infinite){var i=this._globalTileRange;if(!e.wrapLng&&(t.x<i.min.x||t.x>i.max.x)||!e.wrapLat&&(t.y<i.min.y||t.y>i.max.y))return!1}if(!this.options.bounds)return!0;var o=this._tileCoordsToBounds(t);return n.latLngBounds(this.options.bounds).overlaps(o)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToBounds:function(t){var e=this._map,i=this.getTileSize(),o=t.scaleBy(i),s=o.add(i),r=e.unproject(o,t.z),a=e.unproject(s,t.z),l=new n.LatLngBounds(r,a);return this.options.noWrap||e.wrapLatLngBounds(l),l},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),i=new n.Point(+e[0],+e[1]);return i.z=+e[2],i},_removeTile:function(t){var e=this._tiles[t];e&&(n.DomUtil.remove(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){n.DomUtil.addClass(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=n.Util.falseFn,t.onmousemove=n.Util.falseFn,n.Browser.ielt9&&this.options.opacity<1&&n.DomUtil.setOpacity(t,this.options.opacity),n.Browser.android&&!n.Browser.android23&&(t.style.WebkitBackfaceVisibility="hidden")},_addTile:function(t,e){var i=this._getTilePos(t),o=this._tileCoordsToKey(t),s=this.createTile(this._wrapCoords(t),n.bind(this._tileReady,this,t));this._initTile(s),this.createTile.length<2&&n.Util.requestAnimFrame(n.bind(this._tileReady,this,t,null,s)),n.DomUtil.setPosition(s,i),this._tiles[o]={el:s,coords:t,current:!0},e.appendChild(s),this.fire("tileloadstart",{tile:s,coords:t})},_tileReady:function(t,e,i){if(this._map){e&&this.fire("tileerror",{error:e,tile:i,coords:t});var o=this._tileCoordsToKey(t);(i=this._tiles[o])&&(i.loaded=+new Date,this._map._fadeAnimated?(n.DomUtil.setOpacity(i.el,0),n.Util.cancelAnimFrame(this._fadeFrame),this._fadeFrame=n.Util.requestAnimFrame(this._updateOpacity,this)):(i.active=!0,this._pruneTiles()),e||(n.DomUtil.addClass(i.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:i.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),n.Browser.ielt9||!this._map._fadeAnimated?n.Util.requestAnimFrame(this._pruneTiles,this):setTimeout(n.bind(this._pruneTiles,this),250)))}},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new n.Point(this._wrapX?n.Util.wrapNum(t.x,this._wrapX):t.x,this._wrapY?n.Util.wrapNum(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new n.Bounds(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}}),n.gridLayer=function(t){return new n.GridLayer(t)},n.TileLayer=n.GridLayer.extend({options:{minZoom:0,maxZoom:18,maxNativeZoom:null,minNativeZoom:null,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(t,e){this._url=t,(e=n.setOptions(this,e)).detectRetina&&n.Browser.retina&&e.maxZoom>0&&(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("")),n.Browser.android||this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url=t,e||this.redraw(),this},createTile:function(t,i){var o=e.createElement("img");return n.DomEvent.on(o,"load",n.bind(this._tileOnLoad,this,i,o)),n.DomEvent.on(o,"error",n.bind(this._tileOnError,this,i,o)),this.options.crossOrigin&&(o.crossOrigin=""),o.alt="",o.setAttribute("role","presentation"),o.src=this.getTileUrl(t),o},getTileUrl:function(t){var e={r:n.Browser.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var i=this._globalTileRange.max.y-t.y;this.options.tms&&(e.y=i),e["-y"]=i}return n.Util.template(this._url,n.extend(e,this.options))},_tileOnLoad:function(t,e){n.Browser.ielt9?setTimeout(n.bind(t,this,null,e),
20):t(null,e)},_tileOnError:function(t,e,i){var n=this.options.errorTileUrl;n&&e.src!==n&&(e.src=n),t(i,e)},getTileSize:function(){var t=this._map,e=n.GridLayer.prototype.getTileSize.call(this),i=this._tileZoom+this.options.zoomOffset,o=this.options.minNativeZoom,s=this.options.maxNativeZoom;return null!==o&&i<o?e.divideBy(t.getZoomScale(o,i)).round():null!==s&&i>s?e.divideBy(t.getZoomScale(s,i)).round():e},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom,i=this.options.zoomReverse,n=this.options.zoomOffset,o=this.options.minNativeZoom,s=this.options.maxNativeZoom;return i&&(t=e-t),t+=n,null!==o&&t<o?o:null!==s&&t>s?s:t},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&((e=this._tiles[t].el).onload=n.Util.falseFn,e.onerror=n.Util.falseFn,e.complete||(e.src=n.Util.emptyImageUrl,n.DomUtil.remove(e)))}}),n.tileLayer=function(t,e){return new n.TileLayer(t,e)},n.TileLayer.WMS=n.TileLayer.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.extend({},this.defaultWmsParams);for(var o in e)o in this.options||(i[o]=e[o]);e=n.setOptions(this,e),i.width=i.height=e.tileSize*(e.detectRetina&&n.Browser.retina?2:1),this.wmsParams=i},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[e]=this._crs.code,n.TileLayer.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToBounds(t),i=this._crs.project(e.getNorthWest()),o=this._crs.project(e.getSouthEast()),s=(this._wmsVersion>=1.3&&this._crs===n.CRS.EPSG4326?[o.y,i.x,i.y,o.x]:[i.x,o.y,o.x,i.y]).join(","),r=n.TileLayer.prototype.getTileUrl.call(this,t);return r+n.Util.getParamString(this.wmsParams,r,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+s},setParams:function(t,e){return n.extend(this.wmsParams,t),e||this.redraw(),this}}),n.tileLayer.wms=function(t,e){return new n.TileLayer.WMS(t,e)},n.ImageOverlay=n.Layer.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1},initialize:function(t,e,i){this._url=t,this._bounds=n.latLngBounds(e),n.setOptions(this,i)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(n.DomUtil.addClass(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){n.DomUtil.remove(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&&n.DomUtil.toFront(this._image),this},bringToBack:function(){return this._map&&n.DomUtil.toBack(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=t,this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t=this._image=n.DomUtil.create("img","leaflet-image-layer "+(this._zoomAnimated?"leaflet-zoom-animated":""));t.onselectstart=n.Util.falseFn,t.onmousemove=n.Util.falseFn,t.onload=n.bind(this.fire,this,"load"),this.options.crossOrigin&&(t.crossOrigin=""),t.src=this._url,t.alt=this.options.alt},_animateZoom:function(t){var e=this._map.getZoomScale(t.zoom),i=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;n.DomUtil.setTransform(this._image,i,e)},_reset:function(){var t=this._image,e=new n.Bounds(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),i=e.getSize();n.DomUtil.setPosition(t,e.min),t.style.width=i.x+"px",t.style.height=i.y+"px"},_updateOpacity:function(){n.DomUtil.setOpacity(this._image,this.options.opacity)}}
2),n.imageOverlay=function(t,e,i){return new n.ImageOverlay(t,e,i)},n.Icon=n.Class.extend({initialize:function(t){n.setOptions(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,e){var i=this._getIconUrl(t);if(!i){if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var n=this._createImg(i,e&&"IMG"===e.tagName?e:null);return this._setIconStyles(n,t),n},_setIconStyles:function(t,e){var i=this.options,o=i[e+"Size"];"number"==typeof o&&(o=[o,o]);var s=n.point(o),r=n.point("shadow"===e&&i.shadowAnchor||i.iconAnchor||s&&s.divideBy(2,!0));t.className="leaflet-marker-"+e+" "+(i.className||""),r&&(t.style.marginLeft=-r.x+"px",t.style.marginTop=-r.y+"px"),s&&(t.style.width=s.x+"px",t.style.height=s.y+"px")},_createImg:function(t,i){return(i=i||e.createElement("img")).src=t,i},_getIconUrl:function(t){return n.Browser.retina&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}}),n.icon=function(t){return new n.Icon(t)},n.Icon.Default=n.Icon.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 n.Icon.Default.imagePath||(n.Icon.Default.imagePath=this._detectIconPath()),(this.options.imagePath||n.Icon.Default.imagePath)+n.Icon.prototype._getIconUrl.call(this,t)},_detectIconPath:function(){var t=n.DomUtil.create("div","leaflet-default-icon-path",e.body),i=n.DomUtil.getStyle(t,"background-image")||n.DomUtil.getStyle(t,"backgroundImage");return e.body.removeChild(t),0===i.indexOf("url")?i.replace(/^url\([\"\']?/,"").replace(/marker-icon\.png[\"\']?\)$/,""):""}}),n.Marker=n.Layer.extend({options:{icon:new n.Icon.Default,interactive:!0,draggable:!1,keyboard:!0,title:"",alt:"",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",nonBubblingEvents:["click","dblclick","mouseover","mouseout","contextmenu"]},initialize:function(t,e){n.setOptions(this,e),this._latlng=n.latLng(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()),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=n.latLng(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(){if(this._icon){var t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,e="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),i=t.icon.createIcon(this._icon),o=!1;i!==this._icon&&(this._icon&&this._removeIcon(),o=!0,t.title&&(i.title=t.title),t.alt&&(i.alt=t.alt)),n.DomUtil.addClass(i,e),t.keyboard&&(i.tabIndex="0"),this._icon=i,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex});var s=t.icon.createShadow(this._shadow),r=!1;s!==this._shadow&&(this._removeShadow(),r=!0),s&&(n.DomUtil.addClass(s,e),s.alt=""),this._shadow=s,t.opacity<1&&this._updateOpacity(),o&&this.getPane().appendChild(this._icon),this._initInteraction(),s&&r&&this.getPane("shadowPane").appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),n.DomUtil.remove(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&n.DomUtil.remove(this._shadow),this._shadow=null},_setPos:function(t){n.DomUtil.setPosition(this._icon,t),this._shadow&&n.DomUtil.setPosition(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon.style.zIndex=this._zIndex+t},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(e)},_initInteraction:function(){if(this.options.interactive&&(n.DomUtil.addClass(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),n.Handler.MarkerDrag)){var t=this.options.draggable;this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new n.Handler.MarkerDrag(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;n.DomUtil.setOpacity(this._icon,t),this._shadow&&n.DomUtil.setOpacity(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor||[0,0]},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor||[0,0]}}),n.marker=function(t,e){return new n.Marker(t,e)},n.DivIcon=n.Icon.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var i=t&&"DIV"===t.tagName?t:e.createElement("div"),o=this.options;if(i.innerHTML=!1!==o.html?o.html:"",o.bgPos){var s=n.point(o.bgPos);i.style.backgroundPosition=-s.x+"px "+-s.y+"px"}return this._setIconStyles(i,"icon"),i},createShadow:function(){return null}}),n.divIcon=function(t){return new n.DivIcon(t)},n.DivOverlay=n.Layer.extend({options:{offset:[0,7],className:"",pane:"popupPane"},initialize:function(t,e){n.setOptions(this,t),this._source=e},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&n.DomUtil.setOpacity(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&n.DomUtil.setOpacity(this._container,1),this.bringToFront()},onRemove:function(t){t._fadeAnimated?(n.DomUtil.setOpacity(this._container,0),this._removeTimeout=setTimeout(n.bind(n.DomUtil.remove,n.DomUtil,this._container),200)):n.Dom
2Util.remove(this._container)},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=n.latLng(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&&n.DomUtil.toFront(this._container),this},bringToBack:function(){return this._map&&n.DomUtil.toBack(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(){if(this._map){var t=this._map.latLngToLayerPoint(this._latlng),e=n.point(this.options.offset),i=this._getAnchor();this._zoomAnimated?n.DomUtil.setPosition(this._container,t.add(i)):e=e.add(t).add(i);var o=this._containerBottom=-e.y,s=this._containerLeft=-Math.round(this._containerWidth/2)+e.x;this._container.style.bottom=o+"px",this._container.style.left=s+"px"}},_getAnchor:function(){return[0,0]}}),n.Popup=n.DivOverlay.extend({options:{maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,className:""},openOn:function(t){return t.openPopup(this),this},onAdd:function(t){n.DivOverlay.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof n.Path||this._source.on("preclick",n.DomEvent.stopPropagation))},onRemove:function(t){n.DivOverlay.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof n.Path||this._source.off("preclick",n.DomEvent.stopPropagation))},getEvents:function(){var t=n.DivOverlay.prototype.getEvents.call(this);return("closeOnClick"in this.options?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this._close),this.options.keepInView&&(t.moveend=this._adjustPan),t},_close:function(){this._map&&this._map.closePopup(this)},_initLayout:function(){var t="leaflet-popup",e=this._container=n.DomUtil.create("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated");if(this.options.closeButton){var i=this._closeButton=n.DomUtil.create("a",t+"-close-button",e);i.href="#close",i.innerHTML="×",n.DomEvent.on(i,"click",this._onCloseButtonClick,this)}var o=this._wrapper=n.DomUtil.create("div",t+"-content-wrapper",e);this._contentNode=n.DomUtil.create("div",t+"-content",o),n.DomEvent.disableClickPropagation(o).disableScrollPropagation(this._contentNode).on(o,"contextmenu",n.DomEvent.stopPropagation),this._tipContainer=n.DomUtil.create("div",t+"-tip-container",e),this._tip=n.DomUtil.create("div",t+"-tip",this._tipContainer)},_updateLayout:function(){var t=this._contentNode,e=t.style;e.width="",e.whiteSpace="nowrap";var i=t.offsetWidth;i=Math.min(i,this.options.maxWidth),i=Math.max(i,this.options.minWidth),e.width=i+1+"px",e.whiteSpace="",e.height="";var o=t.offsetHeight,s=this.options.maxHeight,r="leaflet-popup-scrolled";s&&o>s?(e.height=s+"px",n.DomUtil.addClass(t,r)):n.DomUtil.removeClass(t,r),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),i=this._getAnchor();n.DomUtil.setPosition(this._container,e.add(i))},_adjustPan:function(){if(!(!this.options.autoPan||this._map._panAnim&&this._map._panAnim._inProgress)){var t=this._map,e=parseInt(n.DomUtil.getStyle(this._container,"marginBottom"),10)||0,i=this._container.offsetHeight+e,o=this._containerWidth,s=new n.Point(this._containerLeft,-i-this._containerBottom);s._add(n.DomUtil.getPosition(this._container));var r=t.layerPointToContainerPoint(s),a=n.point(this.options.autoPanPadding),l=n.point(this.options.autoPanPaddingTopLeft||a),c=n.point(this.options.autoPanPaddingBottomRight||a),h=t.getSize(),d=0,u=0;r.x+o+c.x>
2h.x&&(d=r.x+o-h.x+c.x),r.x-d-l.x<0&&(d=r.x-l.x),r.y+i+c.y>h.y&&(u=r.y+i-h.y+c.y),r.y-u-l.y<0&&(u=r.y-l.y),(d||u)&&t.fire("autopanstart").panBy([d,u])}},_onCloseButtonClick:function(t){this._close(),n.DomEvent.stop(t)},_getAnchor:function(){return n.point(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),n.popup=function(t,e){return new n.Popup(t,e)},n.Map.mergeOptions({closePopupOnClick:!0}),n.Map.include({openPopup:function(t,e,i){return t instanceof n.Popup||(t=new n.Popup(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}}),n.Layer.include({bindPopup:function(t,e){return t instanceof n.Popup?(n.setOptions(t,e),this._popup=t,t._source=this):(this._popup&&!e||(this._popup=new n.Popup(e,this)),this._popup.setContent(t)),this._popupHandlersAdded||(this.on({click:this._openPopup,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t,e){if(t instanceof n.Layer||(e=t,t=this),t instanceof n.FeatureGroup)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;if(this._popup&&this._map)return n.DomEvent.stop(t),e instanceof n.Path?void this.openPopup(t.layer||t.target,t.latlng):void(this._map.hasLayer(this._popup)&&this._popup._source===e?this.closePopup():this.openPopup(e,t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)}}),n.Tooltip=n.DivOverlay.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(t){n.DivOverlay.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){n.DivOverlay.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var t=n.DivOverlay.prototype.getEvents.call(this);return n.Browser.touch&&!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=n.DomUtil.create("div",t)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e=this._map,i=this._container,o=e.latLngToContainerPoint(e.getCenter()),s=e.layerPointToContainerPoint(t),r=this.options.direction,a=i.offsetWidth,l=i.offsetHeight,c=n.point(this.options.offset),h=this._getAnchor();"top"===r?t=t.add(n.point(-a/2+c.x,-l+c.y+h.y,!0)):"bottom"===r?t=t.subtract(n.point(a/2-c.x,-c.y,!0)):"center"===r?t=t.subtract(n.point(a/2+c.x,l/2-h.y+c.y,!0)):"right"===r||"auto"===r&&s.x<o.x?(r="right",t=t.add(n.point(c.x+h.x,h.y-l/2+c.y,!0))):(r="left",t=t.subtract(n.point(a+h.x-c.x,l/2-h.y-c.y,!0))),n.DomUtil.removeClass(i,"leaflet-tooltip-right"),n.DomUtil.removeClass(i,"leaflet-tooltip-left"),n.DomUtil.removeClass(i,"leaflet-tooltip-top"),n.DomUtil.removeClass(i,"leaflet-tooltip-bottom"),n.DomUtil.addClass(i,"leaflet-tooltip-"+r),n.DomUtil.setPosition(i,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&n.DomUtil.setOpacity(this._container,t)},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(e)},_getAnchor:function(){return n.point(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}),n.tooltip=function(t,e){return new n.Tooltip(t,e)}
2,n.Map.include({openTooltip:function(t,e,i){return t instanceof n.Tooltip||(t=new n.Tooltip(i).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:this.addLayer(t)},closeTooltip:function(t){return t&&this.removeLayer(t),this}}),n.Layer.include({bindTooltip:function(t,e){return t instanceof n.Tooltip?(n.setOptions(t,e),this._tooltip=t,t._source=this):(this._tooltip&&!e||(this._tooltip=n.tooltip(e,this)),this._tooltip.setContent(t)),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){if(t||!this._tooltipHandlersAdded){var e=t?"off":"on",i={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?i.add=this._openTooltip:(i.mouseover=this._openTooltip,i.mouseout=this.closeTooltip,this._tooltip.options.sticky&&(i.mousemove=this._moveTooltip),n.Browser.touch&&(i.click=this._openTooltip)),this[e](i),this._tooltipHandlersAdded=!t}},openTooltip:function(t,e){if(t instanceof n.Layer||(e=t,t=this),t instanceof n.FeatureGroup)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&&(n.DomUtil.addClass(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&&(n.DomUtil.removeClass(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:i)},_moveTooltip:function(t){var e,i,n=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(e=this._map.mouseEventToContainerPoint(t.originalEvent),i=this._map.containerPointToLayerPoint(e),n=this._map.layerPointToLatLng(i)),this._tooltip.setLatLng(n)}}),n.LayerGroup=n.Layer.extend({initialize:function(t){var e,i;if(this._layers={},t)for(e=0,i=t.length;e<i;e++)this.addLayer(t[e])},addLayer:function(t){var e=this.getLayerId(t);return this._layers[e]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){var e=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[e]&&this._map.removeLayer(this._layers[e]),delete this._layers[e],this},hasLayer:function(t){return!!t&&(t in this._layers||this.getLayerId(t)in this._layers)},clearLayers:function(){for(var t in this._layers)this.removeLayer(this._layers[t]);return 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){for(var e in this._layers)t.addLayer(this._layers[e])},onRemove:function(t){for(var e in this._layers)t.removeLayer(this._layers[e])},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=[];for(var e in this._layers)t.push(this._layers[e]);return t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:function(t){return n.stamp(t)}}),n.layerGroup=function(t){return new n.LayerGroup(t)},n.FeatureGroup=n.LayerGroup.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),n.LayerGroup.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?(t in this._layers&&(t=this._layers[t]),t.removeEventParent(this),n.LayerGroup.prototype.removeLayer.call(this,t),this.fire("layerremove",{layer:t})):this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t=new n.LatLngBounds;for(var e in this._layers){var i=this._layers[e];t.extend(i.getBounds?i.getBounds():i.getLatLng())}return t}}),n.featureGroup=function(t){return new n.FeatureGroup(t)},n.Renderer=n.Layer.extend({options:{padding:.1},initialize:function(t){n.setOptions(this,t),n.stamp(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&n.DomUtil.addClass(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){n.DomUtil.remove(this._container),this.off("update",this._updatePaths,this)},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),o=n.DomUtil.getPosition(this._container),s=this._map.getSize().multiplyBy(.5+this.options.padding),r=this._map.project(this._center,e),a=this._map.project(t,e).subtract(r),l=s.multiplyBy(-i).add(o).add(s).subtract(a);n.Browser.any3d?n.DomUtil.setTransform(this._container,l,i):n.Dom
2Util.setPosition(this._container,l)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),i=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new n.Bounds(i,i.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),n.Map.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this.options.preferCanvas&&n.canvas()||n.svg()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if("overlayPane"===t||t===i)return!1;var e=this._paneRenderers[t];return e===i&&(e=n.SVG&&n.svg({pane:t})||n.Canvas&&n.canvas({pane:t}),this._paneRenderers[t]=e),e}}),n.Path=n.Layer.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!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 n.setOptions(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)+(n.Browser.touch?10:0)}}),n.LineUtil={simplify:function(t,e){if(!e||!t.length)return t.slice();var i=e*e;return t=this._reducePoints(t,i),this._simplifyDP(t,i)},pointToSegmentDistance:function(t,e,i){return Math.sqrt(this._sqClosestPointOnSegment(t,e,i,!0))},closestPointOnSegment:function(t,e,i){return this._sqClosestPointOnSegment(t,e,i)},_simplifyDP:function(t,e){var n=t.length,o=new(typeof Uint8Array!=i+""?Uint8Array:Array)(n);o[0]=o[n-1]=1,this._simplifyDPStep(t,o,e,0,n-1);var s,r=[];for(s=0;s<n;s++)o[s]&&r.push(t[s]);return r},_simplifyDPStep:function(t,e,i,n,o){var s,r,a,l=0;for(r=n+1;r<=o-1;r++)(a=this._sqClosestPointOnSegment(t[r],t[n],t[o],!0))>l&&(s=r,l=a);l>i&&(e[s]=1,this._simplifyDPStep(t,e,i,n,s),this._simplifyDPStep(t,e,i,s,o))},_reducePoints:function(t,e){for(var i=[t[0]],n=1,o=0,s=t.length;n<s;n++)this._sqDist(t[n],t[o])>e&&(i.push(t[n]),o=n);return o<s-1&&i.push(t[s-1]),i},clipSegment:function(t,e,i,n,o){var s,r,a,l=n?this._lastCode:this._getBitCode(t,i),c=this._getBitCode(e,i);for(this._lastCode=c;;){if(!(l|c))return[t,e];if(l&c)return!1;s=l||c,r=this._getEdgeIntersection(t,e,s,i,o),a=this._getBitCode(r,i),s===l?(t=r,l=a):(e=r,c=a)}},_getEdgeIntersection:function(t,e,i,o,s){var r,a,l=e.x-t.x,c=e.y-t.y,h=o.min,d=o.max;return 8&i?(r=t.x+l*(d.y-t.y)/c,a=d.y):4&i?(r=t.x+l*(h.y-t.y)/c,a=h.y):2&i?(r=d.x,a=t.y+c*(d.x-t.x)/l):1&i&&(r=h.x,a=t.y+c*(h.x-t.x)/l),new n.Point(r,a,s)},_getBitCode:function(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},_sqDist:function(t,e){var i=e.x-t.x,n=e.y-t.y;return i*i+n*n},_sqClosestPointOnSegment:function(t,e,i,o){var s,r=e.x,a=e.y,l=i.x-r,c=i.y-a,h=l*l+c*c;return h>0&&((s=((t.x-r)*l+(t.y-a)*c)/h)>1?(r=i.x,a=i.y):s>0&&(r+=l*s,a+=c*s)),l=t.x-r,c=t.y-a,o?l*l+c*c:new n.Point(r,a)}},n.Polyline=n.Path.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,e){n.setOptions(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,o=1/0,s=null,r=n.LineUtil._sqClosestPointOnSegment,a=0,l=this._parts.length;a<l;a++)for(var c=this._parts[a],h=1,d=c.length;h<d;h++){var u=r(t,e=c[h-1],i=c[h],!0);u<o&&(o=u,s=r(t,e,i))}return s&&(s.distance=Math.sqrt(o)),s}
2,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,e,i,n,o,s,r,a=this._rings[0],l=a.length;if(!l)return null;for(t=0,e=0;t<l-1;t++)e+=a[t].distanceTo(a[t+1])/2;if(0===e)return this._map.layerPointToLatLng(a[0]);for(t=0,n=0;t<l-1;t++)if(o=a[t],s=a[t+1],(n+=i=o.distanceTo(s))>e)return r=(n-e)/i,this._map.layerPointToLatLng([s.x-r*(s.x-o.x),s.y-r*(s.y-o.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=n.latLng(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new n.LatLngBounds,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return n.Polyline._flat(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],i=n.Polyline._flat(t),o=0,s=t.length;o<s;o++)i?(e[o]=n.latLng(t[o]),this._bounds.extend(e[o])):e[o]=this._convertLatLngs(t[o]);return e},_project:function(){var t=new n.Bounds;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t);var e=this._clickTolerance(),i=new n.Point(e,e);this._bounds.isValid()&&t.isValid()&&(t.min._subtract(i),t.max._add(i),this._pxBounds=t)},_projectLatlngs:function(t,e,i){var o,s,r=t[0]instanceof n.LatLng,a=t.length;if(r){for(s=[],o=0;o<a;o++)s[o]=this._map.latLngToLayerPoint(t[o]),i.extend(s[o]);e.push(s)}else for(o=0;o<a;o++)this._projectLatlngs(t[o],e,i)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t)){if(this.options.noClip)return void(this._parts=this._rings);var e,i,o,s,r,a,l,c=this._parts;for(e=0,o=0,s=this._rings.length;e<s;e++)for(i=0,r=(l=this._rings[e]).length;i<r-1;i++)(a=n.LineUtil.clipSegment(l[i],l[i+1],t,i,!0))&&(c[o]=c[o]||[],c[o].push(a[0]),a[1]===l[i+1]&&i!==r-2||(c[o].push(a[1]),o++))}},_simplifyPoints:function(){for(var t=this._parts,e=this.options.smoothFactor,i=0,o=t.length;i<o;i++)t[i]=n.LineUtil.simplify(t[i],e)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)}}),n.polyline=function(t,e){return new n.Polyline(t,e)},n.Polyline._flat=function(t){return!n.Util.isArray(t[0])||"object"!=typeof t[0][0]&&"undefined"!=typeof t[0][0]},n.PolyUtil={},n.PolyUtil.clipPolygon=function(t,e,i){var o,s,r,a,l,c,h,d,u,p=[1,4,2,8],f=n.LineUtil;for(s=0,h=t.length;s<h;s++)t[s]._code=f._getBitCode(t[s],e);for(a=0;a<4;a++){for(d=p[a],o=[],s=0,r=(h=t.length)-1;s<h;r=s++)l=t[s],c=t[r],l._code&d?c._code&d||((u=f._getEdgeIntersection(c,l,d,e,i))._code=f._getBitCode(u,e),o.push(u)):(c._code&d&&((u=f._getEdgeIntersection(c,l,d,e,i))._code=f._getBitCode(u,e),o.push(u)),o.push(l));t=o}return t},n.Polygon=n.Polyline.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length}
2,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,e,i,n,o,s,r,a,l,c=this._rings[0],h=c.length;if(!h)return null;for(s=r=a=0,t=0,e=h-1;t<h;e=t++)i=c[t],n=c[e],o=i.y*n.x-n.y*i.x,r+=(i.x+n.x)*o,a+=(i.y+n.y)*o,s+=3*o;return l=0===s?c[0]:[r/s,a/s],this._map.layerPointToLatLng(l)},_convertLatLngs:function(t){var e=n.Polyline.prototype._convertLatLngs.call(this,t),i=e.length;return i>=2&&e[0]instanceof n.LatLng&&e[0].equals(e[i-1])&&e.pop(),e},_setLatLngs:function(t){n.Polyline.prototype._setLatLngs.call(this,t),n.Polyline._flat(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return n.Polyline._flat(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,i=new n.Point(e,e);if(t=new n.Bounds(t.min.subtract(i),t.max.add(i)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t)){if(this.options.noClip)return void(this._parts=this._rings);for(var o,s=0,r=this._rings.length;s<r;s++)(o=n.PolyUtil.clipPolygon(this._rings[s],t,!0)).length&&this._parts.push(o)}},_updatePath:function(){this._renderer._updatePoly(this,!0)}}),n.polygon=function(t,e){return new n.Polygon(t,e)},n.Rectangle=n.Polygon.extend({initialize:function(t,e){n.Polygon.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=n.latLngBounds(t)).getSouthWest
2(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}}),n.rectangle=function(t,e){return new n.Rectangle(t,e)},n.CircleMarker=n.Path.extend({options:{fill:!0,radius:10},initialize:function(t,e){n.setOptions(this,e),this._latlng=n.latLng(t),this._radius=this.options.radius},setLatLng:function(t){return this._latlng=n.latLng(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},setStyle:function(t){var e=t&&t.radius||this._radius;return n.Path.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(),o=[t+i,e+i];this._pxBounds=new n.Bounds(this._point.subtract(o),this._point.add(o))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)}}),n.circleMarker=function(t,e){return new n.CircleMarker(t,e)},n.Circle=n.CircleMarker.extend({initialize:function(t,e,i){if("number"==typeof e&&(e=n.extend({},i,{radius:e})),n.setOptions(this,e),this._latlng=n.latLng(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 n.LatLngBounds(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:n.Path.prototype.setStyle,_project:function(){var t=this._latlng.lng,e=this._latlng.lat,i=this._map,o=i.options.crs;if(o.distance===n.CRS.Earth.distance){var s=Math.PI/180,r=this._mRadius/n.CRS.Earth.R/s,a=i.project([e+r,t]),l=i.project([e-r,t]),c=a.add(l).divideBy(2),h=i.unproject(c).lat,d=Math.acos((Math.cos(r*s)-Math.sin(e*s)*Math.sin(h*s))/(Math.cos(e*s)*Math.cos(h*s)))/s;(isNaN(d)||0===d)&&(d=r/Math.cos(Math.PI/180*e)),this._point=c.subtract(i.getPixelOrigin()),this._radius=isNaN(d)?0:Math.max(Math.round(c.x-i.project([h,t-d]).x),1),this._radiusY=Math.max(Math.round(c.y-a.y),1)}else{var u=o.unproject(o.project(this._latlng).subtract([this._mRadius,0]));this._point=i.latLngToLayerPoint(this._latlng),this._radius=this._point.x-i.latLngToLayerPoint(u).x}this._updateBounds()}}),n.circle=function(t,e,i){return new n.Circle(t,e,i)},n.SVG=n.Renderer.extend({getEvents:function(){var t=n.Renderer.prototype.getEvents.call(this);return t.zoomstart=this._onZoomStart,t},_initContainer:function(){this._container=n.SVG.create("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=n.SVG.create("g"),this._container.appendChild(this._rootGroup)},_onZoomStart:function(){this._update()},_update:function(){if(!this._map._animatingZoom||!this._bounds){n.Renderer.prototype._update.call(this);var t=this._bounds,e=t.getSize(),i=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,i.setAttribute("width",e.x),i.setAttribute("height",e.y)),n.DomUtil.setPosition(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=n.SVG.create("path");t.options.className&&n.DomUtil.addClass(e,t.options.className),t.options.interactive&&n.DomUtil.addClass(e,"leaflet-interactive"),this._updateStyle(t),this._layers[n.stamp(t)]=t},_addPath:function(t){this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){n.DomUtil.remove(t._path),t.removeInteractiveTarget(t._path),delete this._layers[n.stamp(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,i=t.options;e&&(i.stroke?(e.setAttribute("stroke",i.color),e.setAttribute("stroke-opacity",i.opacity),e.setAttribute("stroke-width",i.weight),e.setAttribute("stroke-linecap",i.lineCap),e.setAttribute("stroke-linejoin",i.lineJoin),i.dashArray?e.setAttribute("stroke-dasharray",i.dashArray):e.removeAttribute("stroke-dasharray"),i.dashOffset?e.setAttribute("stroke-dashoffset",i.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),i.fill?(e.setAttribute("fill",i.fillColor||i.color),e.setAttribute("fill-opacity",i.fillOpacity),e.setAttribute("fill-rule",i.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,n.SVG.pointsToPath(t._parts,e))},_updateCircle:function(t){var e=t._point,i=t._radius,n="a"+i+","+(t._radiusY||i)+" 0 1,0 ",o=t._empty()?"M0 0":"M"+(e.x-i)+","+e.y+n+2*i+",0 "+n+2*-i+",0 ";this._setPath(t,o)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){n.DomUtil.toFront(t._path)},_bringToBack:function(t){n.DomUtil.toBack(t._path)}}),n.extend(n.SVG,{create:function(t){return e.createElementNS("http://www.w3.org/2000/svg",t)},pointsToPath:function(t,e){var i,o,s,r,a,l,c="";for(i=0,s=t.length;i<s;i++){for(o=0,r=(a=t[i]).length;o<r;o++)l=a[o],c+=(o?"L":"M")+l.x+" "+l.y;c+=e?n.Browser.svg?"z":"x":""}return c||"M0 0"}}),n.Browser.svg=!(!e.createElementNS||!n.SVG.create("svg").createSVGRect),n.svg=function(t){return n.Browser.svg||n.Browser.vml?new n.SVG(t):null},n.Browser.vml=!n.Browser.svg&&function(){try{var t=e.createElement("div");t.innerHTML='<v:shape adj="1"/>';var i=t.firstChild;return i.style.behavior="url(#default#VML)",i&&"object"==typeof i.adj}catch(t){return!1}}(),n.SVG.include(n.Browser.vml?{_initContainer:function(){this._container=n.DomUtil.create("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(n.Renderer.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=n.SVG.create("shape");n.DomUtil.addClass(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=n.SVG.create("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[n.stamp(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;n.DomUtil.remove(e),t.removeInteractiveTarget(e),delete this._layers[n.stamp(t)]},_updateStyle:function(t){var e=t._stroke,i=t._fill,o=t.options,s=t._container;s.stroked=!!o.stroke,s.filled=!!o.fill,o.stroke?(e||(e=t._stroke=n.SVG.create("stroke")),s.appendChild(e),e.weight=o.weight+"px",e.color=o.color,e.opacity=o.opacity,o.dashArray?e.dashStyle=n.Util.isArray(o.dashArray)?o.dashArray.join(" "):o.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=o.lineCap.replace("butt","flat"),e.joinstyle=o.lineJoin):e&&(s.removeChild(e),t._stroke=null),o.fill?(i||(i=t._fill=n.SVG.create("fill")),s.appendChild(i),i.color=o.fillColor||o.color,i.opacity=o.fillOpacity):i&&(s.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){n.DomUtil.toFront(t._container)},_bringToBack:function(t){n.DomUtil.toBack(t._container)}}:{}),n.Browser.vml&&(n.SVG.create=function(){try{return e.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return e.createElement("<lvml:"+t+' class="lvml">')}}catch(t){return function(t){return e.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}()),n.Canvas=n.Renderer.extend({getEvents:function(){var t=n.Renderer.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){n.Renderer.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=e.createElement("canvas");n.DomEvent.on(t,"mousemove",n.Util.throttle(this._onMouseMove,32,this),this).on(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this).on(t,"mouseout",this._handleMouseOut,this),this._ctx=t.getContext("2d")},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){this._drawnLayers={},n.Renderer.prototype._update.call(this);var t=this._bounds,e=this._container,i=t.getSize(),o=n.Browser.retina?2:1;n.DomUtil.setPosition(e,t.min),e.width=o*i.x,e.height=o*i.y,e.style.width=i.x+"px",e.style.height=i.y+"px",n.Browser.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){n.Renderer.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[n.stamp(t)]=t;var e=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,i=e.next,o=e.prev;i?i.prev=o:this._drawLast=o,o?o.next=i:this._drawFirst=i,delete t._order,delete this._layers[n.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){var e,i=t.options.dashArray.split(","),n=[];for(e=0;e<i.length;e++)n.push(Number(i[e]));t.options._dashArray=n}},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||n.Util.requestAnimFrame
2(this._redraw,this))},_extendRedrawBounds:function(t){var e=(t.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new n.Bounds,this._redrawBounds.extend(t._pxBounds.min.subtract([e,e])),this._redrawBounds.extend(t._pxBounds.max.add([e,e]))},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var t=this._redrawBounds;if(t){var e=t.getSize();this._ctx.clearRect(t.min.x,t.min.y,e.x,e.y)}else this._ctx.clearRect(0,0,this._container.width,this._container.height)},_draw:function(){var t,e=this._redrawBounds;if(this._ctx.save(),e){var i=e.getSize();this._ctx.beginPath(),this._ctx.rect(e.min.x,e.min.y,i.x,i.y),this._ctx.clip()}this._drawing=!0;for(var n=this._drawFirst;n;n=n.next)t=n.layer,(!e||t._pxBounds&&t._pxBounds.intersects(e))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,e){if(this._drawing){var i,n,o,s,r=t._parts,a=r.length,l=this._ctx;if(a){for(this._drawnLayers[t._leaflet_id]=t,l.beginPath(),l.setLineDash&&l.setLineDash(t.options&&t.options._dashArray||[]),i=0;i<a;i++){for(n=0,o=r[i].length;n<o;n++)s=r[i][n],l[n?"lineTo":"moveTo"](s.x,s.y);e&&l.closePath()}this._fillStroke(l,t)}}},_updateCircle:function(t){if(this._drawing&&!t._empty()){var e=t._point,i=this._ctx,n=t._radius,o=(t._radiusY||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.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,o=this._map.mouseEventToLayerPoint(t),s=this._drawFirst;s;s=s.next)(e=s.layer).options.interactive&&e._containsPoint(o)&&!this._map._draggableMoved(e)&&(i=e);i&&(n.DomEvent._fakeStop(t),this._fireEvent([i],t))},_onMouseMove:function(t){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var e=this._map.mouseEventToLayerPoint(t);this._handleMouseHover(t,e)}},_handleMouseOut:function(t){var e=this._hoveredLayer;e&&(n.DomUtil.removeClass(this._container,"leaflet-interactive"),this._fireEvent([e],t,"mouseout"),this._hoveredLayer=null)},_handleMouseHover:function(t,e){for(var i,o,s=this._drawFirst;s;s=s.next)(i=s.layer).options.interactive&&i._containsPoint(e)&&(o=i);o!==this._hoveredLayer&&(this._handleMouseOut(t),o&&(n.DomUtil.addClass(this._container,"leaflet-interactive"),this._fireEvent([o],t,"mouseover"),this._hoveredLayer=o)),this._hoveredLayer&&this._fireEvent([this._hoveredLayer],t)},_fireEvent:function(t,e,i){this._map._fireDOMEvent(e,i||e.type,t)},_bringToFront:function(t){var e=t._order,i=e.next,n=e.prev;i&&(i.prev=n,n?n.next=i:i&&(this._drawFirst=i),e.prev=this._drawLast,this._drawLast.next=e,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?i.prev=n:n&&(this._drawLast=n),e.prev=null,e.next=this._drawFirst,this._drawFirst.prev=e,this._drawFirst=e,this._requestRedraw(t))}}),n.Browser.canvas=!!e.createElement("canvas").getContext,n.canvas=function(t){return n.Browser.canvas?new n.Canvas(t):null},n.Polyline.prototype._containsPoint=function(t,e){var i,o,s,r,a,l,c=this._clickTolerance();if(!this._pxBounds.contains(t))return!1;for(i=0,r=this._parts.length;i<r;i++)for(o=0,s=(a=(l=this._parts[i]).length)-1;o<a;s=o++)if((e||0!==o)&&n.LineUtil.pointToSegmentDistance(t,l[s],l[o])<=c)return!0;return!1},n.Polygon.prototype._containsPoint=function(t){var e,i,o,s,r,a,l,c,h=!1;if(!this._pxBounds.contains(t))return!1;for(s=0,l=this._parts.length;s<l;s++)for(r=0,a=(c=(e=this._parts[s]).length)-1;r<c;a=r++)i=e[r],o=e[a],i.y>t.y!=o.y>t.y&&t.x<(o.x-i.x)*(t.y-i.y)/(o.y-i.y)+i.x&&(h=!h);return h||n.Polyline.prototype._containsPoint.call(this,t,!0)},n.CircleMarker.prototype._containsPoint=function(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()},n.GeoJSON=n.FeatureGroup.extend({initialize:function(t,e){n.setOptions(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,i,o,s=n.Util.isArray(t)?t:t.features;if(s){for(e=0,i=s.length;e<i;e++)((o=s[e]).geometries||o.geometry||o.features||o.coordinates)&&this.addData(o);return this}var r=this.options;if(r.filter&&!r.filter(t))return this;var a=n.GeoJSON.geometryToLayer(t,r);return a?(a.feature=n.GeoJSON.asFeature(t),a.defaultOptions=a.options,this.resetStyle(a),r.onEachFeature&&r.onEachFeature(t,a),this.addLayer(a)):this},resetStyle:function(t){return t.options=n.Util.extend({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this},setStyle:function(t){return this.eachLayer(function(e){this._setLayerStyle(e,t)},this)},_setLayerStyle:function(t,e){"function"==typeof e&&(e=e(t.feature)),t.setStyle&&t.setStyle(e)}}),n.extend(n.GeoJSON,{geometryToLayer:function(t,e){var i,o,s,r,a="Feature"===t.type?t.geometry:t,l=a?a.coordinates:null,c=[],h=e&&e.pointToLayer,d=e&&e.coordsToLatLng||this.coordsToLatLng;if(!l&&!a)return null;switch(a.type){case"Point":return i=d(l),h?h(t,i):new n.Marker(i);case"MultiPoint":for(s=0,r=l.length;s<r;s++)i=d(l[s]),c.push(h?h(t,i):new n.Marker(i));return new n.FeatureGroup(c);case"LineString":case"MultiLineString":return o=this.coordsToLatLngs(l,"LineString"===a.type?0:1,d),new n.Polyline(o,e);case"Polygon":case"MultiPolygon":return o=this.coordsToLatLngs(l,"Polygon"===a.type?1:2,d),new n.Polygon(o,e);case"GeometryCollection":for(s=0,r=a.geometries.length;s<r;s++){var u=this.geometryToLayer({geometry:a.geometries[s],type:"Feature",properties:t.properties},e);u&&c.push(u)}return new n.FeatureGroup(c);default:throw new Error("Invalid GeoJSON object.")}},coordsToLatLng:function(t){return new n.LatLng(t[1],t[0],t[2])}
2,coordsToLatLngs:function(t,e,i){for(var n,o=[],s=0,r=t.length;s<r;s++)n=e?this.coordsToLatLngs(t[s],e-1,i):(i||this.coordsToLatLng)(t[s]),o.push(n);return o},latLngToCoords:function(t){return t.alt!==i?[t.lng,t.lat,t.alt]:[t.lng,t.lat]},latLngsToCoords:function(t,e,i){for(var o=[],s=0,r=t.length;s<r;s++)o.push(e?n.GeoJSON.latLngsToCoords(t[s],e-1,i):n.GeoJSON.latLngToCoords(t[s]));return!e&&i&&o.push(o[0]),o},getFeature:function(t,e){return t.feature?n.extend({},t.feature,{geometry:e}):n.GeoJSON.asFeature(e)},asFeature:function(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}});var r={toGeoJSON:function(){return n.GeoJSON.getFeature(this,{type:"Point",coordinates:n.GeoJSON.latLngToCoords(this.getLatLng())})}};n.Marker.include(r),n.Circle.include(r),n.CircleMarker.include(r),n.Polyline.prototype.toGeoJSON=function(){var t=!n.Polyline._flat(this._latlngs),e=n.GeoJSON.latLngsToCoords(this._latlngs,t?1:0);return n.GeoJSON.getFeature(this,{type:(t?"Multi":"")+"LineString",coordinates:e})},n.Polygon.prototype.toGeoJSON=function(){var t=!n.Polyline._flat(this._latlngs),e=t&&!n.Polyline._flat(this._latlngs[0]),i=n.GeoJSON.latLngsToCoords(this._latlngs,e?2:t?1:0,!0);return t||(i=[i]),n.GeoJSON.getFeature(this,{type:(e?"Multi":"")+"Polygon",coordinates:i})},n.LayerGroup.include({toMultiPoint:function(){var t=[];return this.eachLayer(function(e){t.push(e.toGeoJSON().geometry.coordinates)}),n.GeoJSON.getFeature(this,{type:"MultiPoint",coordinates:t})},toGeoJSON:function(){var t=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===t)return this.toMultiPoint();var e="GeometryCollection"===t,i=[];return this.eachLayer(function(t){if(t.toGeoJSON){var o=t.toGeoJSON();i.push(e?o.geometry:n.GeoJSON.asFeature(o))}}),e?n.GeoJSON.getFeature(this,{geometries:i,type:"GeometryCollection"}):{type:"FeatureCollection",features:i}}}),n.geoJSON=function(t,e){return new n.GeoJSON(t,e)},n.geoJson=n.geoJSON,n.Draggable=n.Evented.extend({options:{clickTolerance:3},statics:{START:n.Browser.touch?["touchstart","mousedown"]:["mousedown"],END:{mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},MOVE:{mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"}},initialize:function(t,e,i){this._element=t,this._dragStartTarget=e||t,this._preventOutline=i},enable:function(){this._enabled||(n.DomEvent.on(this._dragStartTarget,n.Draggable.START.join(" "),this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(n.Draggable._dragging===this&&this.finishDrag(),n.DomEvent.off(this._dragStartTarget,n.Draggable.START.join(" "),this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!t._simulated&&this._enabled&&(this._moved=!1,!n.DomUtil.hasClass(this._element,"leaflet-zoom-anim")&&!(n.Draggable._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||(n.Draggable._dragging=this,this._preventOutline&&n.DomUtil.preventOutline(this._element),n.DomUtil.disableImageDrag(),n.DomUtil.disableTextSelection(),this._moving)))){this.fire("down");var i=t.touches?t.touches[0]:t;this._startPoint=new n.Point(i.clientX,i.clientY),n.DomEvent.on(e,n.Draggable.MOVE[t.type],this._onMove,this).on(e,n.Draggable.END[t.type],this._onUp,this)}},_onMove:function(i){if(!i._simulated&&this._enabled){if(i.touches&&i.touches.length>1)return void(this._moved=!0);var o=i.touches&&1===i.touches.length?i.touches[0]:i,s=new n.Point(o.clientX,o.clientY).subtract(this._startPoint);(s.x||s.y)&&(Math.abs(s.x)+Math.abs(s.y)<this.options.clickTolerance||(n.DomEvent.preventDefault(i),this._moved||(this.fire("dragstart"),this._moved=!0,this._startPos=n.DomUtil.getPosition(this._element).subtract(s),n.DomUtil.addClass(e.body,"leaflet-dragging"),this._lastTarget=i.target||i.srcElement,t.SVGElementInstance&&this._lastTarget instanceof SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),n.DomUtil.addClass(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(s),this._moving=!0,n.Util.cancelAnimFrame
2(this._animRequest),this._lastEvent=i,this._animRequest=n.Util.requestAnimFrame(this._updatePosition,this,!0)))}},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),n.DomUtil.setPosition(this._element,this._newPos),this.fire("drag",t)},_onUp:function(t){!t._simulated&&this._enabled&&this.finishDrag()},finishDrag:function(){for(var t in n.DomUtil.removeClass(e.body,"leaflet-dragging"),this._lastTarget&&(n.DomUtil.removeClass(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),n.Draggable.MOVE)n.DomEvent.off(e,n.Draggable.MOVE[t],this._onMove,this).off(e,n.Draggable.END[t],this._onUp,this);n.DomUtil.enableImageDrag(),n.DomUtil.enableTextSelection(),this._moved&&this._moving&&(n.Util.cancelAnimFrame(this._animRequest),this.fire("dragend",{distance:this._newPos.distanceTo(this._startPos)})),this._moving=!1,n.Draggable._dragging=!1}}),n.Handler=n.Class.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}}),n.Map.mergeOptions({dragging:!0,inertia:!n.Browser.android23,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0}),n.Map.Drag=n.Handler.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new n.Draggable(t._mapPane,t._container),this._draggable.on({down:this._onDown,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))}n.DomUtil.addClass(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){n.DomUtil.removeClass(this._map._container,"leaflet-grab"),n.DomUtil.removeClass(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},_onDown:function(){this._map._stop()},_onDragStart:function(){var t=this._map;if(this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=n.latLngBounds(this._map.options.maxBounds);this._offsetLimit=n.bounds(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,i=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(i),this._times.push(e),e-this._times[0]>50&&(this._positions.shift(),this._times.shift())}this._map.fire("move",t).fire("drag",t)},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.x<e.min.x&&(t.x=this._viscousLimit(t.x,e.min.x)),t.y<e.min.y&&(t.y=this._viscousLimit(t.y,e.min.y)),t.x>e.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),i=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-e+i)%t+e-i,s=(n+e+i)%t-e-i,r=Math.abs(o+i)<Math.abs(s+i)?o:s;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=r},_onDragEnd:function(t){var e=this._map,i=e.options,o=!i.inertia||this._times.length<2;if(e.fire("dragend",t),o)e.fire("moveend");else{var s=this._lastPos.subtract(this._positions[0]),r=(this._lastTime-this._times[0])/1e3,a=i.easeLinearity,l=s.multiplyBy(a/r),c=l.distanceTo([0,0]),h=Math.min(i.inertiaMaxSpeed,c),d=l.multiplyBy(h/c),u=h/(i.inertiaDeceleration*a),p=d.multiplyBy(-u/2).round();p.x||p.y?(p=e._limitOffset(p,e.options.maxBounds),n.Util.requestAnimFrame
2(function(){e.panBy(p,{duration:u,easeLinearity:a,noMoveStart:!0,animate:!0})})):e.fire("moveend")}}}),n.Map.addInitHook("addHandler","dragging",n.Map.Drag),n.Map.mergeOptions({doubleClickZoom:!0}),n.Map.DoubleClickZoom=n.Handler.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,i=e.getZoom(),n=e.options.zoomDelta,o=t.originalEvent.shiftKey?i-n:i+n;"center"===e.options.doubleClickZoom?e.setZoom(o):e.setZoomAround(t.containerPoint,o)}}),n.Map.addInitHook("addHandler","doubleClickZoom",n.Map.DoubleClickZoom),n.Map.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60}),n.Map.ScrollWheelZoom=n.Handler.extend({addHooks:function(){n.DomEvent.on(this._map._container,"mousewheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){n.DomEvent.off(this._map._container,"mousewheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var e=n.DomEvent.getWheelDelta(t),i=this._map.options.wheelDebounceTime;this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var o=Math.max(i-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(n.bind(this._performZoom,this),o),n.DomEvent.stop(t)},_performZoom:function(){var t=this._map,e=t.getZoom(),i=this._map.options.zoomSnap||0;t._stop();var n=this._delta/(4*this._map.options.wheelPxPerZoomLevel),o=4*Math.log(2/(1+Math.exp(-Math.abs(n))))/Math.LN2,s=i?Math.ceil(o/i)*i:o,r=t._limitZoom(e+(this._delta>0?s:-s))-e;this._delta=0,this._startTime=null,r&&("center"===t.options.scrollWheelZoom?t.setZoom(e+r):t.setZoomAround(this._lastMousePos,e+r))}}),n.Map.addInitHook("addHandler","scrollWheelZoom",n.Map.ScrollWheelZoom),n.extend(n.DomEvent,{_touchstart:n.Browser.msPointer?"MSPointerDown":n.Browser.pointer?"pointerdown":"touchstart",_touchend:n.Browser.msPointer?"MSPointerUp":n.Browser.pointer?"pointerup":"touchend",addDoubleTapListener:function(t,e,i){function o(t){var e;if(n.Browser.pointer){if(!n.Browser.edge||"mouse"===t.pointerType)return;e=n.DomEvent._pointersCount}else e=t.touches.length;if(!(e>1)){var i=Date.now(),o=i-(r||i);a=t.touches?t.touches[0]:t,l=o>0&&o<=c,r=i}}function s(t){if(l&&!a.cancelBubble){if(n.Browser.pointer){if(!n.Browser.edge||"mouse"===t.pointerType)return;var i,o,s={};for(o in a)i=a[o],s[o]=i&&i.bind?i.bind(a):i;a=s}a.type="dblclick",e(a),r=null}}var r,a,l=!1,c=250,h="_leaflet_",d=this._touchstart,u=this._touchend;return t[h+d+i]=o,t[h+u+i]=s,t[h+"dblclick"+i]=e,t.addEventListener(d,o,!1),t.addEventListener(u,s,!1),t.addEventListener("dblclick",e,!1),this},removeDoubleTapListener:function(t,e){var i="_leaflet_",o=t[i+this._touchstart+e],s=t[i+this._touchend+e],r=t[i+"dblclick"+e];return t.removeEventListener(this._touchstart,o,!1),t.removeEventListener(this._touchend,s,!1),n.Browser.edge||t.removeEventListener("dblclick",r,!1),this}}),n.extend(n.DomEvent,{POINTER_DOWN:n.Browser.msPointer?"MSPointerDown":"pointerdown",POINTER_MOVE:n.Browser.msPointer?"MSPointerMove":"pointermove",POINTER_UP:n.Browser.msPointer?"MSPointerUp":"pointerup",POINTER_CANCEL:n.Browser.msPointer?"MSPointerCancel":"pointercancel",TAG_WHITE_LIST:["INPUT","SELECT","OPTION"],_pointers:{},_pointersCount:0,addPointerListener:function(t,e,i,n){return"touchstart"===e?this._addPointerStart(t,i,n):"touchmove"===e?this._addPointerMove(t,i,n):"touchend"===e&&this._addPointerEnd(t,i,n),this},removePointerListener:function(t,e,i){var n=t["_leaflet_"+e+i];return"touchstart"===e?t.removeEventListener(this.POINTER_DOWN,n,!1):"touchmove"===e?t.removeEventListener(this.POINTER_MOVE,n,!1):"touchend"===e&&(t.removeEventListener(this.POINTER_UP,n,!1),t.removeEventListener(this.POINTER_CANCEL,n,!1)),this},_addPointerStart:function(t,i,o){var s=n.bind(function(t){if("mouse"!==t.pointerType&&t.MSPOINTER_TYPE_MOUSE&&t.pointerType!==t.MSPOINTER_TYPE_MOUSE){if(!(this.TAG_WHITE_LIST.indexOf(t.target.tagName)<0))return;n.DomEvent.preventDefault(t)}this._handlePointer(t,i)},this);if(t["_leaflet_touchstart"+o]=s,t.addEventListener(this.POINTER_DOWN,s,!1),!this._pointerDocListener){var r=n.bind(this._globalPointerUp,this);e.documentElement.addEventListener(this.POINTER_DOWN,n.bind(this._globalPointerDown,this),!0),e.documentElement.addEventListener(this.POINTER_MO
2VE,n.bind(this._globalPointerMove,this),!0),e.documentElement.addEventListener(this.POINTER_UP,r,!0),e.documentElement.addEventListener(this.POINTER_CANCEL,r,!0),this._pointerDocListener=!0}},_globalPointerDown:function(t){this._pointers[t.pointerId]=t,this._pointersCount++},_globalPointerMove:function(t){this._pointers[t.pointerId]&&(this._pointers[t.pointerId]=t)},_globalPointerUp:function(t){delete this._pointers[t.pointerId],this._pointersCount--},_handlePointer:function(t,e){for(var i in t.touches=[],this._pointers)t.touches.push(this._pointers[i]);t.changedTouches=[t],e(t)},_addPointerMove:function(t,e,i){var o=n.bind(function(t){(t.pointerType!==t.MSPOINTER_TYPE_MOUSE&&"mouse"!==t.pointerType||0!==t.buttons)&&this._handlePointer(t,e)},this);t["_leaflet_touchmove"+i]=o,t.addEventListener(this.POINTER_MOVE,o,!1)},_addPointerEnd:function(t,e,i){var o=n.bind(function(t){this._handlePointer(t,e)},this);t["_leaflet_touchend"+i]=o,t.addEventListener(this.POINTER_UP,o,!1),t.addEventListener(this.POINTER_CANCEL,o,!1)}}),n.Map.mergeOptions({touchZoom:n.Browser.touch&&!n.Browser.android23,bounceAtZoomLimits:!0}),n.Map.TouchZoom=n.Handler.extend({addHooks:function(){n.DomUtil.addClass(this._map._container,"leaflet-touch-zoom"),n.DomEvent.on(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){n.DomUtil.removeClass(this._map._container,"leaflet-touch-zoom"),n.DomEvent.off(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var i=this._map;if(t.touches&&2===t.touches.length&&!i._animatingZoom&&!this._zooming){var o=i.mouseEventToContainerPoint(t.touches[0]),s=i.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=i.getSize()._divideBy(2),this._startLatLng=i.containerPointToLatLng(this._centerPoint),"center"!==i.options.touchZoom&&(this._pinchStartLatLng=i.containerPointToLatLng(o.add(s)._divideBy(2))),this._startDist=o.distanceTo(s),this._startZoom=i.getZoom(),this._moved=!1,this._zooming=!0,i._stop(),n.DomEvent.on(e,"touchmove",this._onTouchMove,this).on(e,"touchend",this._onTouchEnd,this),n.DomEvent.preventDefault(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,i=e.mouseEventToContainerPoint(t.touches[0]),o=e.mouseEventToContainerPoint(t.touches[1]),s=i.distanceTo(o)/this._startDist;if(this._zoom=e.getScaleZoom(s,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoom<e.getMinZoom()&&s<1||this._zoom>e.getMaxZoom()&&s>1)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1===s)return}else{var r=i._add(o)._divideBy(2)._subtract(this._centerPoint);if(1===s&&0===r.x&&0===r.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(r),this._zoom)}this._moved||(e._moveStart(!0),this._moved=!0),n.Util.cancelAnimFrame(this._animRequest);var a=n.bind(e._move,e,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=n.Util.requestAnimFrame(a,this,!0),n.DomEvent.preventDefault(t)}},_onTouchEnd:function(){return this._moved&&this._zooming?(this._zooming=!1,n.Util.cancelAnimFrame(this._animRequest),n.DomEvent.off(e,"touchmove",this._onTouchMove).off(e,"touchend",this._onTouchEnd),void(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)))):void(this._zooming=!1)}}),n.Map.addInitHook("addHandler","touchZoom",n.Map.TouchZoom),n.Map.mergeOptions({tap:!0,tapTolerance:15}),n.Map.Tap=n.Handler.extend({addHooks:function(){n.DomEvent.on(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){n.DomEvent.off(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(t.touches){if(n.DomEvent.preventDefault(t),this._fireClick=!0,t.touches.length>1)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var i=t.touches[0],o=i.target;this._startPos=this._newPos=new n.Point(i.clientX,i.clientY),o.tagName&&"a"===o.tagName.toLowerCase()&&n.DomUtil.addClass(o,"leaflet-active"),this._holdTimeout=setTimeout(n.bind(function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",i))},this),1e3),this._simulateEvent("mousedown",i),n.DomEvent.on(e,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(t){if(clearTimeout(this._holdTimeout),n.DomEvent.off(e,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&t&&t.changedTouches){var i=t.changedTouches[0],o=i.target;o&&o.tagName&&"a"===o.tagName.toLowerCase()&&n.DomUtil.removeClass(o,"leaflet-active"),this._simulateEvent("mouseup",i),this._isTapValid()&&this._simulateEvent("click",i)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(t){var e=t.touches[0];this._newPos=new n.Point(e.clientX,e.clientY),this._simulateEvent("mousemove",e)},_simulateEvent:function(i,n){var o=e.createEvent("MouseEvents");o._simulated=!0,n.target._simulatedClick=!0,o.initMouseEvent(i,!0,
2!0,t,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),n.target.dispatchEvent(o)}}),n.Browser.touch&&!n.Browser.pointer&&n.Map.addInitHook("addHandler","tap",n.Map.Tap),n.Map.mergeOptions({boxZoom:!0}),n.Map.BoxZoom=n.Handler.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane},addHooks:function(){n.DomEvent.on(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){n.DomEvent.off(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_resetState:function(){this._moved=!1},_onMouseDown:function(t){return!(!t.shiftKey||1!==t.which&&1!==t.button)&&(this._resetState(),n.DomUtil.disableTextSelection(),n.DomUtil.disableImageDrag(),this._startPoint=this._map.mouseEventToContainerPoint(t),void n.DomEvent.on(e,{contextmenu:n.DomEvent.stop,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this))},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=n.DomUtil.create("div","leaflet-zoom-box",this._container),n.DomUtil.addClass(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new n.Bounds(this._point,this._startPoint),i=e.getSize();n.DomUtil.setPosition(this._box,e.min),this._box.style.width=i.x+"px",this._box.style.height=i.y+"px"},_finish:function(){this._moved&&(n.DomUtil.remove(this._box),n.DomUtil.removeClass(this._container,"leaflet-crosshair")),n.DomUtil.enableTextSelection(),n.DomUtil.enableImageDrag(),n.DomEvent.off(e,{contextmenu:n.DomEvent.stop,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){setTimeout(n.bind(this._resetState,this),0);var e=new n.LatLngBounds(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&this._finish()}}),n.Map.addInitHook("addHandler","boxZoom",n.Map.BoxZoom),n.Map.mergeOptions({keyboard:!0,keyboardPanDelta:80}),n.Map.Keyboard=n.Handler.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"),n.DomEvent.on(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.DomEvent.off(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var i=e.body,n=e.documentElement,o=i.scrollTop||n.scrollTop,s=i.scrollLeft||n.scrollLeft;this._map._container.focus(),t.scrollTo(s,o)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){var e,i,n=this._panKeys={},o=this.keyCodes;for(e=0,i=o.left.length;e<i;e++)n[o.left[e]]=[-1*t,0];for(e=0,i=o.right.length;e<i;e++)n[o.right[e]]=[t,0];for(e=0,i=o.down.length;e<i;e++)n[o.down[e]]=[0,t];for(e=0,i=o.up.length;e<i;e++)n[o.up[e]]=[0,-1*t]},_setZoomDelta:function(t){var e,i,n=this._zoomKeys={},o=this.keyCodes;for(e=0,i=o.zoomIn.length;e<i;e++)n[o.zoomIn[e]]=t;for(e=0,i=o.zoomOut.length;e<i;e++)n[o.zoomOut[e]]=-t},_addHooks:function(){n.DomEvent.on(e,"keydown",this._onKeyDown,this)},_removeHooks:function(){n.DomEvent.off(e,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var e,i=t.keyCode,o=this._map;if(i in this._panKeys){if(o._panAnim&&o._panAnim._inProgress)return;e=this._panKeys[i],t.shiftKey&&(e=n.point(e).multiplyBy(3)),o.panBy(e),o.options.maxBounds&&o.panInsideBounds(o.options.maxBounds)}else if(i in this._zoomKeys)o.setZoom(o.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[i]);else{if(27!==i)return;o.closePopup()}n.DomEvent.stop(t)}}}),n.Map.addInitHook("addHandler","keyboard",n.Map.Keyboard),n.Handler.MarkerDrag=n.Handler.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new n.Draggable(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),n.DomUtil.addClass(t,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&n.DomUtil.removeClass(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup().fire("movestart").fire("dragstart")},_onDrag:function(t){var e=this._marker,i=e._shadow,o=n.DomUtil.getPosition(e._icon),s=e._map.layerPointToLatLng(o);i&&n.DomUtil.setPosition(i,o),e._latlng=s,t.latlng=s,t.oldLatLng=this._oldLatLng,e.fire("move",t).fire("drag",t)},_onDragEnd:function(t){delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),n.Control=n.Class.extend({options:{position:"topright"},initialize:function(t){n.setOptions(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(),o=t._controlCorners[i];return n.DomUtil.addClass(e,"leaflet-control"),-1!==i.indexOf("bottom")?o.insertBefore(e,o.firstChild):o.appendChild(e),this},remove:function(){return this._map?(n.DomUtil.remove(this._container),this.onRemove&&this.onRemove(this._map),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),n.control=function(t){return new n.Control(t)},n.Map.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this}
2,_initControlPos:function(){function t(t,s){var r=i+t+" "+i+s;e[t+s]=n.DomUtil.create("div",r,o)}var e=this._controlCorners={},i="leaflet-",o=this._controlContainer=n.DomUtil.create("div",i+"control-container",this._container);t("top","left"),t("top","right"),t("bottom","left"),t("bottom","right")},_clearControlPos:function(){n.DomUtil.remove(this._controlContainer)}}),n.Control.Zoom=n.Control.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"-",zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",i=n.DomUtil.create("div",e+" leaflet-bar"),o=this.options;return this._zoomInButton=this._createButton(o.zoomInText,o.zoomInTitle,e+"-in",i,this._zoomIn),this._zoomOutButton=this._createButton(o.zoomOutText,o.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))},_createButton:function(t,e,i,o,s){var r=n.DomUtil.create("a",i,o);return r.innerHTML=t,r.href="#",r.title=e,r.setAttribute("role","button"),r.setAttribute("aria-label",e),n.DomEvent.on(r,"mousedown dblclick",n.DomEvent.stopPropagation).on(r,"click",n.DomEvent.stop).on(r,"click",s,this).on(r,"click",this._refocusOnMap,this),r},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";n.DomUtil.removeClass(this._zoomInButton,e),n.DomUtil.removeClass(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMinZoom())&&n.DomUtil.addClass(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMaxZoom())&&n.DomUtil.addClass(this._zoomInButton,e)}}),n.Map.mergeOptions({zoomControl:!0}),n.Map.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new n.Control.Zoom,this.addControl(this.zoomControl))}),n.control.zoom=function(t){return new n.Control.Zoom(t)},n.Control.Attribution=n.Control.extend({options:{position:"bottomright",prefix:'<a href="http://leafletjs.com" title="A JS library for interactive maps">Leaflet</a>'},initialize:function(t){n.setOptions(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=n.DomUtil.create("div","leaflet-control-attribution"),n.DomEvent&&n.DomEvent.disableClickPropagation(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):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var i=[];this.options.prefix&&i.push(this.options.prefix),t.length&&i.push(t.join(", ")),this._container.innerHTML=i.join(" | ")}}}),n.Map.mergeOptions({attributionControl:!0}),n.Map.addInitHook(function(){this.options.attributionControl&&(new n.Control.Attribution).addTo(this)}),n.control.attribution=function(t){return new n.Control.Attribution(t)},n.Control.Scale=n.Control.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",i=n.DomUtil.create("div",e),o=this.options;return this._addScales(o,e+"-line",i),t.on(o.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),i},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,i){t.metric&&(this._mScale=n.DomUtil.create("div",e,i)),t.imperial&&(this._iScale=n.DomUtil.create("div",e,i))},_update:function(){var t=this._map,e=t.getSize().y/2,i=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(i)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t),i=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,i,e/t)},_updateImperial:function(t){var e,i,n,o=3.2808399*t;o>
25280?(e=o/5280,i=this._getRoundNum(e),this._updateScale(this._iScale,i+" mi",i/e)):(n=this._getRoundNum(o),this._updateScale(this._iScale,n+" ft",n/o))},_updateScale:function(t,e,i){t.style.width=Math.round(this.options.maxWidth*i)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),i=t/e;return e*(i=i>=10?10:i>=5?5:i>=3?3:i>=2?2:1)}}),n.control.scale=function(t){return new n.Control.Scale(t)},n.Control.Layers=n.Control.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 o in n.setOptions(this,i),this._layers=[],this._lastZIndex=0,this._handlingClick=!1,t)this._addLayer(t[o],o);for(o in e)this._addLayer(e[o],o,!0)},onAdd:function(t){return this._initLayout(),this._update(),this._map=t,t.on("zoomend",this._checkDisabledLayers,this),this._container},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,e){return this._addLayer(t,e),this._map?this._update():this},addOverlay:function(t,e){return this._addLayer(t,e,!0),this._map?this._update():this},removeLayer:function(t){t.off("add remove",this._onLayerChange,this);var e=this._getLayer(n.stamp(t));return e&&this._layers.splice(this._layers.indexOf(e),1),this._map?this._update():this},expand:function(){n.DomUtil.addClass(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?(n.DomUtil.addClass(this._form,"leaflet-control-layers-scrollbar"),this._form.style.height=t+"px"):n.DomUtil.removeClass(this._form,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return n.DomUtil.removeClass(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",e=this._container=n.DomUtil.create("div",t),i=this.options.collapsed;e.setAttribute("aria-haspopup",!0),n.DomEvent.disableClickPropagation(e),n.Browser.touch||n.DomEvent.disableScrollPropagation(e);var o=this._form=n.DomUtil.create("form",t+"-list");i&&(this._map.on("click",this.collapse,this),n.Browser.android||n.DomEvent.on(e,{mouseenter:this.expand,mouseleave:this.collapse},this));var s=this._layersLink=n.DomUtil.create("a",t+"-toggle",e);s.href="#",s.title="Layers",n.Browser.touch?n.DomEvent.on(s,"click",n.DomEvent.stop).on(s,"click",this.expand,this):n.DomEvent.on(s,"focus",this.expand,this),n.DomEvent.on(o,"click",function(){setTimeout(n.bind(this._onInputClick,this),0)},this),i||this.expand(),this._baseLayersList=n.DomUtil.create("div",t+"-base",o),this._separator=n.DomUtil.create("div",t+"-separator",o),this._overlaysList=n.DomUtil.create("div",t+"-overlays",o),e.appendChild(o)},_getLayer:function(t){for(var e=0;e<this._layers.length;e++)if(this._layers[e]&&n.stamp(this._layers[e].layer)===t)return this._layers[e]},_addLayer:function(t,e,i){t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:e,overlay:i}),this.options.sortLayers&&this._layers.sort(n.bind(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))},_update:function(){if(!this._container)return this;n.DomUtil.empty(this._baseLayersList),n.DomUtil.empty(this._overlaysList);var t,e,i,o,s=0;for(i=0;i<this._layers.length;i++)o=this._layers[i],this._addItem(o),e=e||o.overlay,t=t||!o.overlay,s+=o.overlay?0:1;return this.options.hideSingleBase&&(t=t&&s>1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(n.stamp(t.target)),i=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;i&&this._map.fire(i,e)},_createRadioElement:function(t,i){var n='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(i?' checked="checked"':"")+"/>",o=e.createElement("div");return o.innerHTML=n,o.firstChild},_addItem:function(t){var i,o=e.createElement("label"),s=this._map.hasLayer(t.layer);t.overlay?((i=e.createElement("input")).type="checkbox",i.className="leaflet-control-layers-selector",i.defaultChecked=s):i=this._createRadioElement("leaflet-base-layers",s),i.layerId=n.stamp(t.layer),n.DomEvent.on(i,"click",this._onInputClick,this);var r=e.createElement("span");r.innerHTML=" "+t.name;var a=e.createElement("div");return o.appendChild(a),a.appendChild(i),a.appendChild(r),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(o),this._checkDisabledLayers(),o},_onInputClick:function(){var t,e,i,n=this._form.getElementsByTagName("input"),o=[],s=[];this._handlingClick=!0;for(var r=n.length-1;r>=0;r--)t=n[r],e=this._getLayer(t.layerId).layer,i=this._map.hasLayer(e),t.checked&&!i?o.push(e):!t.checked&&i&&s.push(e);for(r=0;r<s.length;r++)this._map.removeLayer(s[r]);for(r=0;r<o.length;r++)this._map.addLayer(o[r]);this._handlingClick=!1,this._refocusOnMap()},_checkDisabledLayers:function(){for(var t,e,n=this._form.getElementsByTagName("input"),o=this._map.getZoom(),s=n.length-1;s>=0;s--)t=n[s],e=this._getLayer(t.layerId).layer,t.disabled=e.options.minZoom!==i&&o<e.options.minZoom||e.options.maxZoom!==i&&o>e.options.maxZoom},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}
2),n.control.layers=function(t,e,i){return new n.Control.Layers(t,e,i)},L.Icon.Label=L.Icon.extend({options:{labelClassName:""},initialize:function(t){L.Util.setOptions(this,t),L.Icon.prototype.initialize.call(this,this.options)},setLabelAsHidden:function(){this._labelHidden=!0},createIcon:function(){return this._createLabel(L.Icon.prototype.createIcon.call(this))},createShadow:function(){if(!this.options.shadowUrl)return null;var t=L.Icon.prototype.createShadow.call(this);return t&&(t.style.marginLeft=-this.options.wrapperAnchor.x+"px",t.style.marginTop=-this.options.wrapperAnchor.y+"px"),t},showLabel:function(t){this._labelTextIsSet()&&(t.childNodes[1].style.display="block")},hideLabel:function(t){this._labelTextIsSet()&&(t.childNodes[1].style.display="none")},_createLabel:function(t){if(!this._labelTextIsSet())return t;var e=document.createElement("div"),i=document.createElement("span");return e.style.marginLeft=-this.options.wrapperAnchor.x+"px",e.style.marginTop=-this.options.wrapperAnchor.y+"px",e.className="leaflet-marker-icon-wrapper leaflet-zoom-animated",i.className="leaflet-marker-iconlabel "+this.options.labelClassName,i.innerHTML=this.options.labelText,i.style.marginLeft=this.options.labelAnchor.x+"px",i.style.marginTop=this.options.labelAnchor.y+"px",this._labelHidden&&(i.style.display="none",t.style.cursor="pointer"),t.style.marginLeft=this.options.iconAnchor.x+"px",t.style.marginTop=this.options.iconAnchor.y+"px",e.appendChild(t),e.appendChild(i),e},_labelTextIsSet:function(){return"undefined"!=typeof this.options.labelText&&null!==this.options.labelText}}),L.Icon.Label.Default=L.Icon.Label.extend({options:{labelAnchor:new L.Point(29,8),wrapperAnchor:new L.Point(13,41),iconAnchor:new L.Point(0,0),labelText:null,iconUrl:L.Icon.Default.imagePath+"/marker-icon.png",iconSize:new L.Point(25,41),popupAnchor:new L.Point(0,-33),shadowUrl:L.Icon.Default.imagePath+"/marker-shadow.png",shadowSize:new L.Point(41,41)}}),L.Marker.Label=L.Marker.extend({_initIcon:function(){if(!(this.options.icon instanceof L.Icon.Label))throw new Error("Icon must be an instance of L.Icon.Label.");this.options.revealing&&this.options.icon.setLabelAsHidden(),L.Marker.prototype._initIcon.call(this)},_removeIcon:function(){this.options.revealing&&L.DomEvent.off(this._icon,"mouseover",this._showLabel).off(this._icon,"mouseout",this._hideLabel),L.Marker.prototype._removeIcon.call(this)},_initInteraction:function(){L.Marker.prototype._initInteraction.call(this),this.options.revealing&&L.DomEvent.on(this._icon,"mouseover",this._showLabel,this).on(this._icon,"mouseout",this._hideLabel,this)},_showLabel:function(){this.options.icon.showLabel(this._icon)},_hideLabel:function(){this.options.icon.hideLabel(this._icon)}})}(window,document),function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;"undefined"!=typeof window?e=window:"undefined"!=typeof global?e=global:"undefined"!=typeof self&&(e=self),e.omnivore=t()}}(function(){return function t(e,i,n){function o(r,a){if(!i[r]){if(!e[r]){var l="function"==typeof require&&require;if(!a&&l)return l(r,!0);if(s)return s(r,!0);var c=new Error("Cannot find module '"+r+"'");throw c.code="MODULE_NOT_FOUND",c}var h=i[r]={exports:{}};e[r][0].call(h.exports,function(t){var i=e[r][1][t];return o(i||t)},h,h.exports,t,e,i,n)}return i[r].exports}for(var s="function"==typeof require&&require,r=0;r<n.length;r++)o(n[r]);return o}({1:[function(t,e){function i(t,e){"addData"in t&&t.addData(e),"setGeoJSON"in t&&t.setGeoJSON(e)}function n(t,e,n){var o="string"==typeof t?JSON.parse(t):t;for(var s in n=n||L.geoJson(),o.objects){var r=f.feature(o,o.objects[s]);r.features?i(n,r.features):i(n,r)}return n}function o(t,e,n){return n=n||L.geoJson(),e=e||{},d.csv2geojson(t,e,function(t,e){return t?n.fire("error",{error:t}):void i(n,e)}),n}function s(t,e,n){var o=c(t);return o?(i(n=n||L.geoJson(),m.gpx(o)),n):n.fire("error",{error:"Could not parse GPX"})}function r(t,e,n){var o=c(t);return o?(i(n=n||L.geoJson(),m.kml(o)),n):n.fire("error",{error:"Could not parse KML"})}function a(t,e,n){n=n||L.geoJson(),e=e||{};for(var o=p.decode(t,e.precision),s={type:"LineString",coordinates:[]},r=0;r<o.length;r++)s.coordinates[r]=[o[r][1],o[r][0]];return i(n,s),n}function l(t,e,n){return i(n=n||L.geoJson(),u(t)),n}function c(t){return"string"==typeof t?(new DOMParser).parseFromString(t,"text/xml"):t}var h=t("corslite"),d=t("csv2geojson"),u=t("wellknown"),p=t("polyline"),f=t("topojson/topojson.js"),m=t("togeojson");
2e.exports.polyline=function(t,e,i){var n=i||L.geoJson();return h(t,function(t,i){return t?n.fire("error",{error:t}):(a(i.responseText,e,n),void n.fire("ready"))}),n},e.exports.polyline.parse=a,e.exports.geojson=function(t,e,n){var o=n||L.geoJson();return h(t,function(t,e){return t?o.fire("error",{error:t}):(i(o,JSON.parse(e.responseText)),void o.fire("ready"))}),o},e.exports.topojson=function(t,e,i){var o=i||L.geoJson();return h(t,function(t,e){return t?o.fire("error",{error:t}):(n(e.responseText,0,o),void o.fire("ready"))}),o},e.exports.topojson.parse=n,e.exports.csv=function(t,e,i){var n=i||L.geoJson();return h(t,function(t,i){function s(){r=!0}var r;return t?n.fire("error",{error:t}):(n.on("error",s),o(i.responseText,e,n),n.off("error",s),void(r||n.fire("ready")))}),n},e.exports.csv.parse=o,e.exports.gpx=function(t,e,i){var n=i||L.geoJson();return h(t,function(t,e){function i(){o=!0}var o;return t?n.fire("error",{error:t}):(n.on("error",i),s(e.responseXML||e.responseText,0,n),n.off("error",i),void(o||n.fire("ready")))}),n},e.exports.gpx.parse=s,e.exports.kml=function(t,e,i){var n=i||L.geoJson();return h(t,function(t,e){function i(){o=!0}var o;return t?n.fire("error",{error:t}):(n.on("error",i),r(e.responseXML||e.responseText,0,n),n.off("error",i),void(o||n.fire("ready")))}),n},e.exports.kml.parse=r,e.exports.wkt=function(t,e,i){var n=i||L.geoJson();return h(t,function(t,e){return t?n.fire("error",{error:t}):(l(e.responseText,0,n),void n.fire("ready"))}),n},e.exports.wkt.parse=l},{corslite:5,csv2geojson:6,polyline:9,togeojson:10,"topojson/topojson.js":11,wellknown:12}],2:[function(){},{}],3:[function(t,e){e.exports=t(2)},{"/Users/tmcw/src/leaflet-omnivore/node_modules/browserify/lib/_empty.js":2}],4:[function(t,e){function i(){}var n=e.exports={};n.nextTick=function(){var t="undefined"!=typeof window&&window.setImmediate,e="undefined"!=typeof window&&window.MutationObserver,i="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(t)return function(t){return window.setImmediate(t)};var n=[];if(e){var o=document.createElement("div");return new MutationObserver(function(){var t=n.slice();n.length=0,t.forEach(function(t){t()})}).observe(o,{attributes:!0}),function(t){n.length||o.setAttribute("yes","no"),n.push(t)}}return i?(window.addEventListener("message",function(t){var e=t.source;(e===window||null===e)&&"process-tick"===t.data&&(t.stopPropagation(),n.length>0)&&n.shift()()},!0),function(t){n.push(t),window.postMessage("process-tick","*")}):function(t){setTimeout(t,0)}}(),n.title="browser",n.browser=!0,n.env={},n.argv=[],n.on=i,n.addListener=i,n.once=i,n.off=i,n.removeListener=i,n.removeAllListeners=i,n.emit=i,n.binding=function(){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(){throw new Error("process.chdir is not supported")}},{}],5:[function(t,e){void 0!==e&&(e.exports=function(t,e,i){function n(){var t;void 0===r.status||(t=r.status)>=200&&300>t||304===t?e.call(r,null,r):e.call(r,r,null)}var o=!1;if("undefined"==typeof window.XMLHttpRequest)return e(Error("Browser not supported"));if(void 0===i){var s=t.match(/^\s*https?:\/\/[^\/]*/);i=s&&s[0]!==location.protocol+"//"+location.domain+(location.port?":"+location.port:"")}var r=new window.XMLHttpRequest;if(i&&!("withCredentials"in r)){r=new window.XDomainRequest;var a=e;e=function(){if(o)a.apply(this,arguments);else{var t=this,e=arguments;setTimeout(function(){a.apply(t,e)},0)}}}return"onload"in r?r.onload=n:r.onreadystatechange=function(){4===r.readyState&&n()},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})},{}],6:[function(t,e){function i(t){return!!t.match(/(Lat)(itude)?/gi)}function n(t){return!!t.match(/(L)(on|ng)(gitude)?/i)}function o(t){return"object"==typeof t?Object.keys(t).length:0}function s(t){var e=[];return[",",";","\t","|"].forEach(function(i){var n=r(i).parse(t);if(n.length>=1){for(var s=o(n[0]),a=0;a<n.length;a++)if(o(n[a])!==s)return;e.push({delimiter:i,arity:Object.keys(n[0]).length})}}),e.length?e.sort(function(t,e){return e.arity-t.arity})[0].delimiter:null}var r=t("dsv"),a=t("sexagesimal");
2e.exports={isLon:n,isLat:i,csv:r.csv.parse,tsv:r.tsv.parse,dsv:r,auto:function(t){var e=s(t);return e?r(e).parse(t):null},csv2geojson:function(t,e,o){o||(o=e,e={}),e.delimiter=e.delimiter||",";var l=e.latfield||"",c=e.lonfield||"",h=[],d={type:"FeatureCollection",features:h};if("auto"===e.delimiter&&"string"==typeof t&&(e.delimiter=s(t),!e.delimiter))return o({type:"Error",message:"Could not autodetect delimiter"});var u="string"==typeof t?r(e.delimiter).parse(t):t;if(!u.length)return o(null,d);if(!l||!c){for(var p in u[0])!l&&i(p)&&(l=p),!c&&n(p)&&(c=p);if(!l||!c){var f=[];for(var m in u[0])f.push(m);return o({type:"Error",message:"Latitude and longitude fields not present",data:u,fields:f})}}for(var _=[],g=0;g<u.length;g++)if(void 0!==u[g][c]&&void 0!==u[g][c]){var v,y,b,w=u[g][c],x=u[g][l];(b=a(w,"EW"))&&(w=b),(b=a(x,"NS"))&&(x=b),v=parseFloat(w),y=parseFloat(x),isNaN(v)||isNaN(y)?_.push({message:"A row contained an invalid value for latitude or longitude",row:u[g]}):(e.includeLatLon||(delete u[g][c],delete u[g][l]),h.push({type:"Feature",properties:u[g],geometry:{type:"Point",coordinates:[parseFloat(v),parseFloat(y)]}}))}o(_.length?_:null,d)},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[0].properties,{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[0].properties,{type:"FeatureCollection",features:[i]}}}},{dsv:7,sexagesimal:8}],7:[function(t,e){t("fs"),e.exports=new Function('dsv.version = "0.0.3";\n\ndsv.tsv = dsv("\\t");\ndsv.csv = dsv(",");\n\nfunction dsv(delimiter) {\n var dsv = {},\n reFormat = new RegExp("[\\"" + delimiter + "\\n]"),\n delimiterCode = delimiter.charCodeAt(0);\n\n dsv.parse = function(text, f) {\n var o;\n return dsv.parseRows(text, function(row, i) {\n if (o) return o(row, i - 1);\n var a = new Function("d", "return {" + row.map(function(name, i) {\n return JSON.stringify(name) + ": d[" + i + "]";\n }).join(",") + "}");\n o = f ? function(row, i) { return f(a(row), i); } : a;\n });\n };\n\n dsv.parseRows = function(text, f) {\n var EOL = {}, // sentinel value for end-of-line\n EOF = {}, // sentinel value for end-of-file\n rows = [], // output rows\n N = text.length,\n I = 0, // current character index\n n = 0, // the current line number\n t, // the current token\n eol; // is the current token followed by EOL?\n\n function token() {\n if (I >= N) return EOF; // special case: end of file\n if (eol) return eol = false, EOL; // special case: end of line\n\n // special case: quotes\n var j = I;\n if (text.charCodeAt(j) === 34) {\n var i = j;\n while (i++ < N) {\n if (text.charCodeAt(i) === 34) {\n if (text.charCodeAt(i + 1) !== 34) break;\n ++i;\n }\n }\n I = i + 2;\n var c = text.charCodeAt(i + 1);\n if (c === 13) {\n eol = true;\n if (text.charCodeAt(i + 2) === 10) ++I;\n } else if (c === 10) {\n eol = true;\n }\n return text.substring(j + 1, i).replace(/""/g, "\\"");\n }\n\n // common case: find next delimiter or newline\n while (I < N) {\n var c = text.charCodeAt(I++), k = 1;\n if (c === 10) eol = true; // \\n\n else if (c === 13) { eol = true; if (text.charCodeAt(I) === 10) ++I, ++k; } // \\r|\\r\\n\n else if (c !== delimiterCode) continue;\n return text.substring(j, I - k);\n }\n\n // special case: last token before EOF\n return text.substring(j);\n }\n\n while ((t = token()) !== EOF) {\n var a = [];\n while (t !== EOL && t !== EOF) {\n a.push(t);\n t = token();\n }\n if (f && !(a = f(a, n++))) continue;\n rows.push(a);\n }\n\n return rows;\n };\n\n dsv.format = function(rows) {\n if (Array.isArray(rows[0])) return dsv.formatRows(rows); // deprecated; use formatRows\n var fieldSet = {}, fields = [];\n\n // Compute unique fields in order of discovery.\n rows.forEach(function(row) {\n for (var field in row) {\n if (!(field in fieldSet)) {\n fields.push(fieldSet[field] = field);\n }\n }\n });\n\n return [fields.map(formatValue).join(delimiter)].concat(rows.map(function(row) {\n return fields.map(function(field) {\n return formatValue(row[field]);\n }).join(delimiter);\n })).join("\\n");\n };\n\n dsv.formatRows = function(rows) {\n return rows.map(formatRow).join("\\n");\n };\n\n function formatRow(row) {\n return row.map(formatValue).join(delimiter);\n }\n\n function formatValue(text) {\n return reFormat.test(text) ? "\\"" + text.replace(/\\"/g, "\\"\\"") + "\\"" : text;\n }\n\n return dsv;\n}\n;return dsv')()},{fs:2}
2],8:[function(t,e){e.exports=function(t,e){if(e||(e="NSEW"),"string"!=typeof t)return null;var i=t.match(/^([0-9.]+)ð? *(?:([0-9.]+)['ââ¬â¢Ã¢â¬Â²Ã¢â¬Ë] *)?(?:([0-9.]+)(?:''|"|ââ¬Â|ââ¬Â³) *)?([NSEW])?/);return i?i[4]&&-1===e.indexOf(i[4])?null:((i[1]?parseFloat(i[1]):0)+(i[2]?parseFloat(i[2])/60:0)+(i[3]?parseFloat(i[3])/3600:0))*(i[4]&&"S"===i[4]||"W"===i[4]?-1:1):null}},{}],9:[function(t,e){function i(t,e){t=Math.round(t*e),0>(t<<=1)&&(t=~t);for(var i="";t>=32;)i+=String.fromCharCode(63+(32|31&t)),t>>=5;return i+String.fromCharCode(t+63)}var n={decode:function(t,e){for(var i,n=0,o=0,s=0,r=[],a=0,l=0,c=null,h=Math.pow(10,e||5);n<t.length;){c=null,a=0,l=0;do{l|=(31&(c=t.charCodeAt(n++)-63))<<a,a+=5}while(c>=32);i=1&l?~(l>>1):l>>1,a=l=0;do{l|=(31&(c=t.charCodeAt(n++)-63))<<a,a+=5}while(c>=32);o+=i,s+=1&l?~(l>>1):l>>1,r.push([o/h,s/h])}return r},encode:function(t,e){if(!t.length)return"";for(var n=Math.pow(10,e||5),o=i(t[0][0],n)+i(t[0][1],n),s=1;s<t.length;s++){var r=t[s],a=t[s-1];o+=i(r[0]-a[0],n),o+=i(r[1]-a[1],n)}return o}};void 0!==typeof e&&(e.exports=n)},{}],10:[function(t,e,i){(function(n){toGeoJSON=function(){"use strict";function e(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 o(t,e){return t.getElementsByTagName(e)}function s(t,e){return t.getAttribute(e)}function r(t,e){return parseFloat(s(t,e))}function a(t,e){var i=o(t,e);return i.length?i[0]:null}function l(t){for(var e=0,i=[];e<t.length;e++)i[e]=parseFloat(t[e]);return i}function c(t){return t&&function(t){t.normalize&&t.normalize()}(t),t&&t.firstChild&&t.firstChild.nodeValue||""}function h(t){return l(t.replace(m,"").split(","))}function d(t){for(var e=t.replace(_,"").split(g),i=[],n=0;n<e.length;n++)i.push(h(e[n]));return i}function u(t){var e=[r(t,"lon"),r(t,"lat")],i=a(t,"ele"),n=a(t,"time");return i&&e.push(parseFloat(c(i))),{coordinates:e,time:n?c(n):null}}function p(t){return void 0!==t.xml?t.xml:f.serializeToString(t)}var f,m=/\s*/g,_=/^\s*|\s*$/g,g=/\s+/;return"undefined"!=typeof XMLSerializer?f=new XMLSerializer:"object"!=typeof i||"object"!=typeof n||n.browser||(f=new(t("xmldom").XMLSerializer)),{kml:function(t){function i(t){var e,i;return"#"===(t=t||"").substr(0,1)&&(t=t.substr(1)),(6===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 n(t){return l(t.split(" "))}function r(t){var e=o(t,"coord"),i=[],s=[];0===e.length&&(e=o(t,"gx:coord"));for(var r=0;r<e.length;r++)i.push(n(c(e[r])));var a=o(t,"when");for(r=0;r<a.length;r++)s.push(c(a[r]));return{coords:i,times:s}}function u(t){var e,i,n,s,l,p=[],f=[];if(a(t,"MultiGeometry"))return u(a(t,"MultiGeometry"));if(a(t,"MultiTrack"))return u(a(t,"MultiTrack"));if(a(t,"gx:MultiTrack"))return u(a(t,"gx:MultiTrack"));for(n=0;n<g.length;n++)if(i=o(t,g[n]))for(s=0;s<i.length;s++)if(e=i[s],"Point"==g[n])p.push({type:"Point",coordinates:h(c(a(e,"coordinates")))});else if("LineString"==g[n])p.push({type:"LineString",coordinates:d(c(a(e,"coordinates")))});else if("Polygon"==g[n]){var m=o(e,"LinearRing"),_=[];for(l=0;l<m.length;l++)_.push(d(c(a(m[l],"coordinates"))));p.push({type:"Polygon",coordinates:_})}else if("Track"==g[n]||"gx:Track"==g[n]){var v=r(e);p.push({type:"LineString",coordinates:v.coords}),v.times.length&&f.push(v.times)}return{geoms:p,coordTimes:f}}function f(t){var e,n=u(t),r={},l=c(a(t,"name")),h=c(a(t,"styleUrl")),d=c(a(t,"description")),p=a(t,"TimeSpan"),f=a(t,"ExtendedData"),m=a(t,"LineStyle"),g=a(t,"PolyStyle");if(!n.geoms.length)return[];if(l&&(r.name=l),h&&_[h]&&(r.styleUrl=h,r.styleHash=_[h]),d&&(r.description=d),p){var v=c(a(p,"begin")),y=c(a(p,"end"));r.timespan={begin:v,end:y}}if(m){var b=i(c(a(m,"color"))),w=b[0],x=b[1],T=parseFloat(c(a(m,"width")));w&&(r.stroke=w),isNaN(x)||(r["stroke-opacity"]=x),isNaN(T)||(r["stroke-width"]=T)}if(g){var C=i(c(a(g,"color"))),L=C[0],k=C[1],S=c(a(g,"fill")),E=c(a(g,"outline"));L&&(r.fill=L),isNaN(k)||(r["fill-opacity"]=k),S&&(r["fill-opacity"]="1"===S?1:0),E&&(r["stroke-opacity"]="1"===E?1:0)}if(f){var P=o(f,"Data"),A=o(f,"SimpleData");for(e=0;e<P.length;e++)r[P[e].getAttribute("name")]=c(a(P[e],"value"));for(e=0;e<A.length;e++)r[A[e].getAttribute("name")]=c(A[e])}n.coordTimes.length&&(r.coordTimes=1===n.coordTimes.length?n.coordTimes[0]:n.coordTimes);var D={type:"Feature",geometry:1===n.geoms.length?n.geoms[0]:{type:"GeometryCollection",geometries:n.geoms},properties:r};return s(t,"id")&&(D.id=s(t,"id")),[D]}for(var m={type:"FeatureCollection",features:[]},_={},g=["Polygon","LineString","Point","Track","gx:Track"],v=o(t,"Placemark"),y=o(t,"Style"),b=0;b<y.length;b++)_["#"+s(y[b],"id")]=e(p(y[b])).toString(16);for(var w=0;w<v.length;w++)m.features=m.features.concat(f(v[w]));return m},gpx:function(t){function e(t,e){var i=o(t,e),n=[],s=[],r=i.length;if(!(2>r)){for(var a=0;r>a;a++){var l=u(i[a]);n.push(l.coordinates),l.time&&s.push(l.time)}return{line:n,times:s}}}function i(t){for(var i,n=o(t,"trkseg"),s=[],a=[],l=0;l<n.length;l++)(i=e(n[l],"trkpt")).line&&s.push(i.line),i.times.length&&a.push(i.times);if(0!==s.length){var c=r(t);return a.length&&(c.coordTimes=1===s.length?a[0]:a),{type:"Feature",properties:c,geometry:{type:1===s.length?"LineString":"MultiLineString",coordinates:1===s.length?s[0]:s}}}}function n(t){var i=e(t,"rtept");if(i){var n={type:"Feature",properties:r(t),geometry:{type:"LineString",coordinates:i}};return i.times.length&&(n.geometry.times=i.times),n}}function s(t){var e=r(t);return e.sym=c(a(t,"sym")),{type:"Feature",properties:e,geometry:{type:"Point",coordinates:u(t).coordinates}}}function r(t){var e,i=["name","desc","author","copyright","link","time","keywords"],n={};for(e=0;e<i.length;e++)n[i[e]]=c(a(t,i[e]));return function(t){var e={};for(var i in t)t[i]&&(e[i]=t[i]);return e}(n)}var l,h,d=o(t,"trk"),p=o(t,"rte"),f=o(t,"wpt"),m={type:"FeatureCollection",features:[]};for(l=0;l<d.length;l++)(h=i(d[l]))&&m.features.push(h);for(l=0;l<p.length;l++)(h=n(p[l]))&&m.features.push(h);for(l=0;l<f.length;l++)m.features.push(s(f[l]));return m}}}(),void 0!==e&&(e.exports=toGeoJSON)}).call(this,t("_process"))},{_process:4,xmldom:3}],11:[function(t,e){!function(){function t(t,e){function i(e){var i,n=t.arcs[0>e?~e:e],o=n[0];
2return t.transform?(i=[0,0],n.forEach(function(t){i[0]+=t[0],i[1]+=t[1]})):i=n[n.length-1],0>e?[i,o]:[o,i]}function n(t,e){for(var i in t){var n=t[i];delete e[n.start],delete n.start,delete n.end,n.forEach(function(t){o[0>t?~t:t]=1}),a.push(n)}}var o={},s={},r={},a=[],l=-1;return e.forEach(function(i,n){var o,s=t.arcs[0>i?~i:i];s.length<3&&!s[1][0]&&!s[1][1]&&(o=e[++l],e[l]=i,e[n]=o)}),e.forEach(function(t){var e,n,o=i(t),a=o[0],l=o[1];if(e=r[a])if(delete r[e.end],e.push(t),e.end=l,n=s[l]){delete s[n.start];var c=n===e?e:e.concat(n);s[c.start=e.start]=r[c.end=n.end]=c}else s[e.start]=r[e.end]=e;else if(e=s[l])if(delete s[e.start],e.unshift(t),e.start=a,n=r[a]){delete r[n.end];var h=n===e?e:n.concat(e);s[h.start=n.start]=r[h.end=e.end]=h}else s[e.start]=r[e.end]=e;else s[(e=[t]).start=a]=r[e.end=l]=e}),n(r,s),n(s,r),e.forEach(function(t){o[0>t?~t:t]||a.push([t])}),a}function i(e,i,n){function o(t){var e=0>t?~t:t;(c[e]||(c[e]=[])).push({i:t,g:l})}function s(t){t.forEach(o)}function r(t){t.forEach(s)}var a=[];if(arguments.length>1){var l,c=[],h={LineString:s,MultiLineString:r,Polygon:r,MultiPolygon:function(t){t.forEach(r)}};(function t(e){"GeometryCollection"===e.type?e.geometries.forEach(t):e.type in h&&(l=e,h[e.type](e.arcs))})(i),c.forEach(arguments.length<3?function(t){a.push(t[0].i)}:function(t){n(t[0].g,t[t.length-1].g)&&a.push(t[0].i)})}else for(var d=0,u=e.arcs.length;u>d;++d)a.push(d);return{type:"MultiLineString",arcs:t(e,a)}}function o(e,i){function o(t){t.forEach(function(e){e.forEach(function(e){(a[e=0>e?~e:e]||(a[e]=[])).push(t)})}),l.push(t)}function s(t){return function(t){for(var e,i=-1,n=t.length,o=t[n-1],s=0;++i<n;)e=o,o=t[i],s+=e[0]*o[1]-e[1]*o[0];return.5*s}(r(e,{type:"Polygon",arcs:[t]}).coordinates[0])>0}var a={},l=[],c=[];return i.forEach(function(t){"Polygon"===t.type?o(t.arcs):"MultiPolygon"===t.type&&t.arcs.forEach(o)}),l.forEach(function(t){if(!t._){var e=[],i=[t];for(t._=1,c.push(e);t=i.pop();)e.push(t),t.forEach(function(t){t.forEach(function(t){a[0>t?~t:t].forEach(function(t){t._||(t._=1,i.push(t))})})})}}),l.forEach(function(t){delete t._}),{type:"MultiPolygon",arcs:c.map(function(i){var o=[];if(i.forEach(function(t){t.forEach(function(t){t.forEach(function(t){a[0>t?~t:t].length<2&&o.push(t)})})}),o=t(e,o),(n=o.length)>1)for(var r,l=s(i[0][0]),c=0;c<n;++c)if(l===s(o[c])){r=o[0],o[0]=o[c],o[c]=r;break}return o})}}function s(t,e){var i={type:"Feature",id:e.id,properties:e.properties||{},geometry:r(t,e)};return null==e.id&&delete i.id,i}function r(t,e){function i(t,e){e.length&&e.pop();for(var i,n=l[0>t?~t:t],o=0,s=n.length;s>o;++o)e.push(i=n[o].slice()),a(i,o);0>t&&function(t,e){for(var i,n=t.length,o=n-e;o<--n;)i=t[o],t[o++]=t[n],t[n]=i}(e,s)}function n(t){return t=t.slice(),a(t,0),t}function o(t){for(var e=[],n=0,o=t.length;o>n;++n)i(t[n],e);return e.length<2&&e.push(e[0].slice()),e}function s(t){for(var e=o(t);e.length<4;)e.push(e[0].slice());return e}function r(t){return t.map(s)}var a=h(t.transform),l=t.arcs,c={Point:function(t){return n(t.coordinates)},MultiPoint:function(t){return t.coordinates.map(n)},LineString:function(t){return o(t.arcs)},MultiLineString:function(t){return t.arcs.map(o)},Polygon:function(t){return r(t.arcs)},MultiPolygon:function(t){return t.arcs.map(r)}};return function d(t){var e=t.type;return"GeometryCollection"===e?{type:e,geometries:t.geometries.map(d)}:e in c?{type:e,coordinates:c[e](t)}:null}(e)}function a(t,e){for(var i=0,n=t.length;n>i;){var o=i+n>>>1;t[o]<e?i=o+1:n=o}return i}function l(t){var e=t[0],i=t[1],n=t[2];return Math.abs((e[0]-n[0])*(i[1]-e[1])-(e[0]-i[0])*(n[1]-e[1]))}function c(t,e){return t[1][2]-e[1][2]}function h(t){if(!t)return d;var e,i,n=t.scale[0],o=t.scale[1],s=t.translate[0],r=t.translate[1];return function(t,a){a||(e=i=0),t[0]=(e+=t[0])*n+s,t[1]=(i+=t[1])*o+r}}function d(){}var u={version:"1.6.8",mesh:function(t){return r(t,i.apply(this,arguments))},meshArcs:i,merge:function(t){return r(t,o.apply(this,arguments))},mergeArcs:o,feature:function(t,e){return"GeometryCollection"===e.type?{type:"FeatureCollection",features:e.geometries.map(function(e){return s(t,e)})}:s(t,e)},neighbors:function(t){function e(t,e){t.forEach(function(t){0>t&&(t=~t);var i=n[t];i?i.push(e):n[t]=[e]})}function i(t,i){t.forEach(function(t){e(t,i)})}var n={},o=t.map(function(){return[]}),s={LineString:e,MultiLineString:i,Polygon:i,MultiPolygon:function(t,e){t.forEach(function(t){i(t,e)})}};for(var r in t.forEach(function e(t,i){"GeometryCollection"===t.type?t.geometries.forEac
2h(function(t){e(t,i)}):t.type in s&&s[t.type](t.arcs,i)}),n)for(var l=n[r],c=l.length,h=0;c>h;++h)for(var d=h+1;c>d;++d){var u,p=l[h],f=l[d];(u=o[p])[r=a(u,f)]!==f&&u.splice(r,0,f),(u=o[f])[r=a(u,p)]!==p&&u.splice(r,0,p)}return o},presimplify:function(t,e){function i(t){r.remove(t),t[1][2]=e(t),r.push(t)}var n,o=h(t.transform),s=function(t){if(!t)return d;var e,i,n=t.scale[0],o=t.scale[1],s=t.translate[0],r=t.translate[1];return function(t,a){a||(e=i=0);var l=(t[0]-s)/n|0,c=(t[1]-r)/o|0;t[0]=l-e,t[1]=c-i,e=l,i=c}}(t.transform),r=function(){function t(t,e){for(;e>0;){var i=(e+1>>1)-1,o=n[i];if(c(t,o)>=0)break;n[o._=e]=o,n[t._=e=i]=t}}function e(t,e){for(;;){var i=e+1<<1,s=i-1,r=e,a=n[r];if(o>s&&c(n[s],a)<0&&(a=n[r=s]),o>i&&c(n[i],a)<0&&(a=n[r=i]),r===e)break;n[a._=e]=a,n[t._=e=r]=t}}var i={},n=[],o=0;return i.push=function(e){return t(n[e._=o]=e,o++),o},i.pop=function(){if(!(0>=o)){var t,i=n[0];return--o>0&&(t=n[o],e(n[t._=0]=t,0)),i}},i.remove=function(i){var s,r=i._;if(n[r]===i)return r!==--o&&(c(s=n[o],i)<0?t:e)(n[s._=r]=s,r),r},i}(),a=0;for(e||(e=l),t.arcs.forEach(function(t){var i=[];t.forEach(o);for(var s=1,a=t.length-1;a>s;++s)(n=t.slice(s-1,s+2))[1][2]=e(n),i.push(n),r.push(n);for(t[0][2]=t[a][2]=1/0,s=0,a=i.length;a>s;++s)(n=i[s]).previous=i[s-1],n.next=i[s+1]});n=r.pop();){var u=n.previous,p=n.next;n[1][2]<a?n[1][2]=a:a=n[1][2],u&&(u.next=p,u[2]=n[2],i(u)),p&&(p.previous=u,p[0]=n[0],i(p))}return t.arcs.forEach(function(t){t.forEach(s)}),t}};"object"==typeof e&&e.exports?e.exports=u:this.topojson=u}()},{}],12:[function(t,e){function i(t){function e(e){var i=t.substring(c).match(e);return i?(c+=i[0].length,i[0]):null}function i(){e(/^\s*/)}function o(){i();for(var t,o=0,s=[],r=[s],a=s;t=e(/^(\()/)||e(/^(\))/)||e(/^(\,)/)||e(n);){if("("==t)r.push(a),a=[],r[r.length-1].push(a),o++;else if(")"==t){if(!(a=r.pop()))return;if(0===--o)break}else if(","===t)a=[],r[r.length-1].push(a);else{if(isNaN(parseFloat(t)))return null;a.push(parseFloat(t))}i()}return 0!==o?null:s}function s(){for(var t,o,s=[];o=e(n)||e(/^(\,)/);)","==o?(s.push(t),t=[]):(t||(t=[]),t.push(parseFloat(o))),i();return t&&s.push(t),s.length?s:null}function r(){return function(){if(!e(/^(point)/i))return null;if(i(),!e(/^(\()/))return null;var t=s();return t?(i(),e(/^(\))/)?{type:"Point",coordinates:t[0]}:null):null}()||function(){if(!e(/^(linestring)/i))return null;if(i(),!e(/^(\()/))return null;var t=s();return t&&e(/^(\))/)?{type:"LineString",coordinates:t}:null}
2()||(e(/^(polygon)/i)?(i(),{type:"Polygon",coordinates:o()}):null)||function(){if(!e(/^(multipoint)/i))return null;i();var t=o();return t?(i(),{type:"MultiPoint",coordinates:t}):null}()||function(){if(!e(/^(multilinestring)/i))return null;i();var t=o();return t?(i(),{type:"MultiLineString",coordinates:t}):null}()||(e(/^(multipolygon)/i)?(i(),{type:"MultiPolygon",coordinates:o()}):null)||function(){var t,n=[];if(!e(/^(geometrycollection)/i))return null;if(i(),!e(/^(\()/))return null;for(;t=r();)n.push(t),i(),e(/^(\,)/),i();return e(/^(\))/)?{type:"GeometryCollection",geometries:n}:null}()}var a=t.split(";"),l=(t=a.pop(),(a.shift()||"").split("=").pop()),c=0;return function(t){return t&&l.match(/\d+/)&&(t.crs={type:"name",properties:{name:"urn:ogc:def:crs:EPSG::"+l}}),t}(r())}e.exports=i,e.exports.parse=i,e.exports.stringify=function o(t){function e(t){return 2===t.length?t[0]+" "+t[1]:3===t.length?t[0]+" "+t[1]+" "+t[2]:void 0}function i(t){return t.map(e).join(", ")}function n(t){return t.map(i).map(s).join(", ")}function s(t){return"("+t+")"}switch("Feature"===t.type&&(t=t.geometry),t.type){case"Point":return"POINT ("+e(t.coordinates)+")";case"LineString":return"LINESTRING ("+i(t.coordinates)+")";case"Polygon":return"POLYGON ("+n(t.coordinates)+")";case"MultiPoint":return"MULTIPOINT ("+i(t.coordinates)+")";case"MultiPolygon":return"MULTIPOLYGON ("+function(t){return t.map(n).map(s).join(", ")}(t.coordinates)+")";case"MultiLineString":return"MULTILINESTRING ("+n(t.coordinates)+")";case"GeometryCollection":return"GEOMETRYCOLLECTION ("+t.geometries.map(o).join(", ")+")";default:throw new Error("stringify requires a valid GeoJSON Feature or geometry object as input")}};var n=/^[-+]?([0-9]*\.[0-9]+|[0-9]+)([eE][-+]?[0-9]+)?/},{}]},{},[1])(1)}),function(t,e,i){"use strict";function n(){X&&rt.addClass("msie"),Y&&rt.hide(),$.off().on("click",O.toggle),Z.off().on("click","a",A.click),J&&Z.css("overflow","auto"),rt.off().on("click","img",function(t){t.stopPropagation()}),t(e.body).append(t(rt)),D=e.documentElement}function o(t,e,i){1==e?(I.css({transform:"translateX(25%)",transition:".7s",opacity:0}
2),setTimeout(function(){c(E)},200)):-1==e&&(I.css({transform:"translateX(-25%)",transition:".7s",opacity:0}),setTimeout(function(){c(P)},200)),1==i?Z.addClass("show"):-1==i&&Z.removeClass("show")}function s(t){var i,n=e.createElement("p").style,o=["ms","O","Moz","Webkit"];if(""==n[t])return t;for(t=t.charAt(0).toUpperCase()+t.slice(1),i=o.length;i--;)if(""==n[o[i]+t])return o[i]+t}function r(t){var e=t.keyCode,i=T.keys;return i.close.indexOf(e)>=0&&y()||i.next.indexOf(e)>=0&&c(P)||i.prev.indexOf(e)>=0&&c(E)||!0}function a(){return c("pbPrevBtn"==this.id?E:P),!1}function l(t){k=V,V=t,L=q[t][0],E=(V||(T.loop?q.length:0))-1,P=(V+1)%q.length||(T.loop?0:-1)}function c(t,e,i){if((!t||0>t)&&(t=0),rt.removeClass("error").addClass(t>V?"next":"prev"),l(t),v(),N.empty(),it.onerror=null,I.add(N).data("zoom",1),"video"==(S="video"==C[t].rel?"video":"image"))N.html(h()).addClass("hide"),p(e);else{var n=setTimeout(function(){rt.addClass("pbLoading")},50);T.loop||(U[t==q.length-1?"addClass":"removeClass"]("hide"),B[0==t?"addClass":"removeClass"]("hide")),E>=0&&(nt.src=q[E][0]),P>=0&&(ot.src=q[P][0]),X&&rt.addClass("hide"),T.autoplay&&O.progress.reset(),(it=new Image).onload=function(){clearTimeout(n),p(e)},it.onerror=u,it.src=L}R.on(G,d).addClass("change"),(e||X)&&d(),T.thumbs&&A.changeActive(t,e,i),at.save()}function h(){var e=q[V][0];return e+=(t("<a>").prop("href",q[V][0])[0].search?"&":"?")+"vq=hd720&wmode=opaque",t("<iframe>").prop({scrolling:"no",frameborder:0,allowTransparency:!0,src:e}).attr({webkitAllowFullScreen:!0,mozallowfullscreen:!0,allowFullScreen:!0})}function d(){R.off(G).removeClass("change"),T.counter&&j.find(".counter").text("("+(V+1)+" / "+q.length+")"),T.title&&j.find(".title").text(q[V][1])}function u(){rt.addClass("error"),I[0].src=Q,it.onerror=null}function p(t){function e(){clearTimeout(n),i.off(G).css({transition:"none"}),rt.removeClass("video"),"video"==S?(I[0].src=Q,N.addClass("prepare"),rt.addClass("video")):I.prop({src:L,"class":"prepare"}),setTimeout(function(){I.add(N).removeAttr("style").removeClass("prepare"),rt.removeClass("hide next prev"),setTimeout(function(){I.add(N).on(G,f),X&&f()},0)},50)}var i,n;n=setTimeout(e,2e3),rt.removeClass("pbLoading").addClass("hide"),I.add(N).removeAttr("style").removeClass("zoomable"),t||"video"!=C[k].rel?i=I:(i=N,I.addClass("prepare")),t||X?e():i.on(G,e)}function f(){I.add(N).off(G).addClass("zoomable"),"video"==S?N.removeClass("hide"):$&&T.autoplay&&O.play(),"function"==typeof x.callback&&x.callback.apply(C[V])}function m(i,n){if("video"==S){var o=N.data("zoom")||1;if(.5>(o+=n/10))return!1;N.data("zoom",o).css({width:624*o,height:351*o})}else{o=I.data("zoom")||1;var s=I[0].getBoundingClientRect();.1>(o+=n/10)&&(o=.1),I.data("zoom",o).css({transform:"scale("+o+")"}),s.height>D.clientHeight||s.width>D.clientWidth?t(e).on("mousemove.photobox",g):(t(e).off("mousemove.photobox"),I[0].style[tt]="50% 50%")}return!1}function _(t,e){t.preventDefault(),t.stopPropagation();var i=x.thumbsList;i.css("height",i[0].clientHeight+10*e);var n=j[0].clientHeight/2;H[0].style.cssText="margin-top: -"+n+"px; padding: "+n+"px 0;",Z.hide().show(0),A.calc()}function g(t){var e=(t.clientY/D.clientHeight*(D.clientHeight+200)-100)/D.clientHeight*100,i=(t.clientX/D.clientWidth*100).toFixed(2)+"% "+e.toFixed(2)+"%";I[0].style[tt]=i}function v(){clearTimeout(O.autoPlayTimer),t(e).off("mousemove.photobox"),it.onload=function(){},it.src=nt.src=ot.src=L}function y(){function t(){""!=rt[0].className&&(rt.removeClass("show hide error pbLoading"),I.removeAttr("class").removeAttr("style").off().data("zoom",1),Y&&setTimeout(function(){rt.hide()},200))}F&&(T.autoplay=!1,F=!1),v(),N.find("iframe").prop("src","").empty(),w.prototype.setup(),at.clear(),rt.removeClass("on video").addClass("hide"),I.on(G,t),X&&t(),setTimeout(t,500)}function b(e){var n=e||i.event,o=[].slice.call(arguments,1),s=0,r=0,a=0;return(e=t.event.fix(n)).type="mousewheel",n.wheelDelta&&(s=n.wheelDelta/120),n.detail&&(s=-n.detail/3),a=s,void 0!==n.axis&&n.axis===n.HORIZONTAL_AXIS&&(a=0,r=-1*s),void 0!==n.wheelDeltaY&&(a=n.wheelDeltaY/120),void 0!==n.wheelDeltaX&&(r=-1*n.wheelDeltaX/120),o.unshift(e,s,r,a),(t.event.dispatch||t.event.handle).apply(this,o)}var w,x,T,C,L,k,S,E,P,A,D,O,M,z,I,N,B,U,j,R,$,Z,H,F=!1,W=[],q=[],V=-1,G="transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",X=!("placeholder"in e.createElement("input")),Y=function(){var e=t("<p>")[0];return e.style.cssText="pointer-events:auto",!e.style.pointerEvents}(),J="ontouchend"in e,K=t(),Q="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",tt=s("transformOrigin"),et=s("transition"),it={}
2,nt=new Image,ot=new Image,st={loop:!0,thumbs:!0,counter:!0,title:!0,autoplay:!1,time:3e3,history:!0,hideFlash:!0,zoomable:!0,keys:{close:"27, 88, 67",prev:"37, 80",next:"39, 78"}},rt=t('<div id="pbOverlay">').append(t('<div class="pbLoader"><b></b><b></b><b></b></div>'),B=t('<div id="pbPrevBtn" class="prevNext"><b></b></div>').on("click",a),U=t('<div id="pbNextBtn" class="prevNext"><b></b></div>').on("click",a),H=t('<div class="wrapper">').append(I=t("<img>"),N=t("<div>")),t('<div id="pbCloseBtn">').on("click",y)[0],$=t('<div id="pbAutoplayBtn">').append(t('<div class="pbProgress">')),j=t('<div id="pbCaption">').append(R=t('<div class="pbCaptionText">').append('<div class="title"></div><div class="counter">'),Z=t("<div>").addClass("pbThumbs")));t.fn.photobox=function(e,i,o){if(t(this).data("_photobox"))return this;if("string"!=typeof e&&(e="a"),"prepareDOM"===e)return n(),this;var s=t.extend({},st,i||{}),r=new w(s,this,e);return t(this).data("_photobox",r),r.callback=o,W.push(r),this},(w=function(i,n,o){this.options=t.extend({},i),this.target=o,this.selector=t(n||e),this.thumbsList=null;var s=this.imageLinksFilter(n.find(o));this.imageLinks=s[0],this.images=s[1],this.init()}).prototype={init:function(){var e=this;this.options.thumbs&&(this.thumbsList=A.generate(this.imageLinks)),this.selector.on("click.photobox",this.target,function(t){t.preventDefault(),e.open(this)}),t(".diaporama").bind("click",function(){F=!0,e.options.autoplay=!0,t(".diaporama-wrapper ul li:eq(0)").children("figure").children("a").trigger("click")}),this.observerTimeout=null,1==this.selector[0].nodeType&&e.observeDOM(e.selector[0],function(){clearTimeout(e.observerTimeout),e.observerTimeout=setTimeout(function(){var t,i=e.imageLinksFilter(e.selector.find(e.target));e.imageLinks=i[0],e.images=i[1],q=e.images,C=e.imageLinks,e.thumbsList=A.generate(e.imageLinks),t=e.thumbsList.find('a[href="'+L+'"]').eq(0).parent().index(),Z.html(e.thumbsList),l(t),A.changeActive(t,0)},50)})},open:function(e){var i=t.inArray(e,this.imageLinks);return-1!=i&&(T=this.options,q=this.images,C=this.imageLinks,x=this,this.setup(1),rt.on(G,function(){rt.off(G).addClass("on"),c(i,!0)}).addClass("show"),X&&rt.trigger("MSTransitionEnd"),!1)},imageLinksFilter:function(e){var i=[];return[e.filter(function(){var e=t(this).find("img")[0];return!!e&&(i.push([this.href,e.getAttribute("alt")||e.getAttribute("title")||""]),!0)}),i]},observeDOM:function(){var t=i.MutationObserver||i.WebKitMutationObserver,e=i.addEventListener;return function(i,n){t?new t(function(t){(t[0].addedNodes.length||t[0].removedNodes.length)&&n()}).observe(i,{childList:!0,subtree:!0}):e&&(i.addEventListener("DOMNodeInserted",n,!1),i.addEventListener("DOMNodeRemoved",n,!1))}}(),setup:function(n){var s=n?"on":"off";I[0].src=Q,n?(I.css({transition:"0s"}).removeAttr("style"),rt.show(),Z.html(this.thumbsList),rt[T.thumbs?"addClass":"removeClass"]("thumbs"),T.thumbs&&(K.removeAttr("class"),t(i).on("resize.photobox",A.calc),A.calc()),this.images.length<2?rt.removeClass("thumbs hasArrows hasCounter hasAutoplay"):(rt.addClass("hasArrows hasCounter"),T.time>1e3?(rt.addClass("hasAutoplay"),T.autoplay?O.progress.start():O.pause()):rt.removeClass("hasAutoplay"))):t(i).off("resize.photobox"),T.hideFlash&&t.each(["object","embed"],function(e,i){t(i).each(function(){n&&(this._photobox=this.style.visibility),this.style.visibility=n?"hidden":this._photobox})}),t(e).off("keydown.photobox")[s]({"keydown.photobox":r}),"ontouchstart"in document.documentElement&&(rt.removeClass("hasArrows"),H[s]("swipe",o)),T.zoomable&&(rt[s]({"mousewheel.photobox":m}),X||Z[s]({"mousewheel.photobox":_}))},destroy:function(){return this.selector.off("click.photobox",this.target).removeData("_photobox"),y(),this.selector}},A={generate:function(e){var i,n,o,s,r,a=t("<ul>"),l=[],c=e.length;for(n=0;c>n;n++)i=e[n],o=(s=t(i).find("img"))[0].title||s[0].alt||"",r=i.rel?" class='"+i.rel+"'":"",l.push("<li"+r+'><a href="'+i.href+'"><img src="'+s[0].src+'" alt="" title="'+o+'" /></a></li>');return a.html(l.join("")),a},click:function(e){return e.preventDefault(),K.removeClass("active"),K=t(this).parent().addClass("active"),c(t(this.parentNode).index(),0,1)}
2,changeActiveTimeout:null,changeActive:function(t,e,i){K.index(),K.removeClass("active"),K=Z.find("li").eq(t).addClass("active"),i||(clearTimeout(this.changeActiveTimeout),this.changeActiveTimeout=setTimeout(function(){var t=K[0].offsetLeft+K[0].clientWidth/2-D.clientWidth/2;e?Z.delay(800):Z.stop(),Z.animate({scrollLeft:t},500,"swing")},200))},calc:function(){return M=Z[0].clientWidth,z=Z[0].firstChild.clientWidth,!J&&Z[z>M?"on":"off"]("mousemove",A.move),this},move:function(t){var e=z/M;Z[0].scrollLeft=t.pageX*e-500}},O={autoPlayTimer:!1,play:function(){O.autoPlayTimer=setTimeout(function(){c(P)},T.time),O.progress.start(),$.removeClass("play"),O.setTitle("Click to stop autoplay"),T.autoplay=!0},pause:function(){clearTimeout(O.autoPlayTimer),O.progress.reset(),$.addClass("play"),O.setTitle("Click to resume autoplay"),T.autoplay=!1},progress:{reset:function(){$.find("div").removeAttr("style"),setTimeout(function(){$.removeClass("playing")},200)},start:function(){X||$.find("div").css(et,T.time+"ms"),$.addClass("playing")}},setTitle:function(t){t&&$.prop("title",t+" (every "+T.time/1e3+" seconds)")},toggle:function(t){t.stopPropagation(),O[T.autoplay?"pause":"play"]()}};var at={save:function(){"pushState"in window.history&&decodeURIComponent(window.location.hash.slice(1))!=L&&T.history&&window.history.pushState("photobox",e.title+"-"+q[V][1],window.location.pathname+window.location.search+"#"+encodeURIComponent(L))},load:function(){if(T&&!T.history)return!1;var t,e,i=decodeURIComponent(window.location.hash.slice(1));if(!i&&rt.hasClass("show"))y();else for(t=0;t<W.length;t++)for(e in W[t].images)if(W[t].images[e][0]==i)return W[t].open(W[t].imageLinks[e]),!0},clear:function(){T.history&&"pushState"in window.history&&window.history.pushState("photobox",e.title,window.location.pathname+window.location.search)}};window.onpopstate=function(){var t=window.onpopstate;return function(e){t&&t.apply(this,arguments),"photobox"==e.state&&at.load()}}();var lt=["DOMMouseScroll","mousewheel"];if(t.event.fixHooks)for(var ct=lt.length;ct;)t.event.fixHooks[lt[--ct]]=t.event.mouseHooks;t.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var t=lt.length;t;)this.addEventListener(lt[--t],b,!1);else this.onmousewheel=b},teardown:function(){if(this.removeEventListener)for(var t=lt.length;t;)this.removeEventListener(lt[--t],b,!1);else this.onmousewheel=null}},t.fn.extend({mousewheel:function(t){return t?this.bind("mousewheel",t):this.trigger("mousewheel")},unmousewheel:function(t){return this.unbind("mousewheel",t)}}),t.event.special.swipe={setup:function(){t(this).bind("touchstart",t.event.special.swipe.handler)},teardown:function(){t(this).unbind("touchstart",t.event.special.swipe.handler)},handler:function(e){function i(){h.removeEventListener("touchmove",n),o=s=null}function n(n){n.preventDefault();var a=o-n.touches[0].pageX,d=s-n.touches[0].pageY;return Math.abs(a)>=20?(i(),l=a>0?-1:1):Math.abs(d)>=20&&(i(),c=d>0?1:-1),e.type="swipe",r.unshift(e,l,c),(t.event.dispatch||t.event.handle).apply(h,r)}var o,s,r=[].slice.call(arguments,1),a=e.originalEvent.touches,l=0,c=0,h=this;e=t.event.fix(e),1==a.length&&(o=a[0].pageX,s=a[0].pageY,this.addEventListener("touchmove",n,!1))}},t(e).ready(n),window._photobox={history:at}}(jQuery,document,window),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){"use strict";var e=window.Slick||{};(e=function(){var e=0;return function(i,n){var o,s=this;s.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:t(i),appendDots:t(i),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,i){return t('<button type="button" />').text(i+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},s.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,
vendor: 9,315 bytes, line 2
2sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},t.extend(s,s.initials),s.activeBreakpoint=null,s.animType=null,s.animProp=null,s.breakpoints=[],s.breakpointSettings=[],s.cssTransitions=!1,s.focussed=!1,s.interrupted=!1,s.hidden="hidden",s.paused=!0,s.positionProp=null,s.respondTo=null,s.rowCount=1,s.shouldClick=!0,s.$slider=t(i),s.$slidesCache=null,s.transformType=null,s.transitionType=null,s.visibilityChange="visibilitychange",s.windowWidth=0,s.windowTimer=null,o=t(i).data("slick")||{},s.options=t.extend({},s.defaults,n,o),s.currentSlide=s.options.initialSlide,s.originalSettings=s.options,void 0!==document.mozHidden?(s.hidden="mozHidden",s.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(s.hidden="webkitHidden",s.visibilityChange="webkitvisibilitychange"),s.autoPlay=t.proxy(s.autoPlay,s),s.autoPlayClear=t.proxy(s.autoPlayClear,s),s.autoPlayIterator=t.proxy(s.autoPlayIterator,s),s.changeSlide=t.proxy(s.changeSlide,s),s.clickHandler=t.proxy(s.clickHandler,s),s.selectHandler=t.proxy(s.selectHandler,s),s.setPosition=t.proxy(s.setPosition,s),s.swipeHandler=t.proxy(s.swipeHandler,s),s.dragHandler=t.proxy(s.dragHandler,s),s.keyHandler=t.proxy(s.keyHandler,s),s.instanceUid=e++,s.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,s.registerBreakpoints(),s.init(!0)}}()).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},e.prototype.addSlide=e.prototype.slickAdd=function(e,i,n){var o=this;if("boolean"==typeof i)n=i,i=null;else if(i<0||i>=o.slideCount)return!1;o.unload(),"number"==typeof i?0===i&&0===o.$slides.length?t(e).appendTo(o.$slideTrack):n?t(e).insertBefore(o.$slides.eq(i)):t(e).insertAfter(o.$slides.eq(i)):!0===n?t(e).prependTo(o.$slideTrack):t(e).appendTo(o.$slideTrack),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slides.each(function(e,i){t(i).attr("data-slick-index",e)}),o.$slidesCache=o.$slides,o.reinit()},e.prototype.animateHeight=function(){var t=this;if(1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.animate({height:e},t.options.speed)}},e.prototype.animateSlide=function(e,i){var n={},o=this;o.animateHeight(),!0===o.options.rtl&&!1===o.options.vertical&&(e=-e),!1===o.transformsEnabled?!1===o.options.vertical?o.$slideTrack.animate({left:e},o.options.speed,o.options.easing,i):o.$slideTrack.animate({top:e},o.options.speed,o.options.easing,i):!1===o.cssTransitions?(!0===o.options.rtl&&(o.currentLeft=-o.currentLeft),t({animStart:o.currentLeft}).animate({animStart:e},{duration:o.options.speed,easing:o.options.easing,step:function(t){t=Math.ceil(t),!1===o.options.vertical?(n[o.animType]="translate("+t+"px, 0px)",o.$slideTrack.css(n)):(n[o.animType]="translate(0px,"+t+"px)",o.$slideTrack.css(n))},complete:function(){i&&i.call()}})):(o.applyTransition(),e=Math.ceil(e),!1===o.options.vertical?n[o.animType]="translate3d("+e+"px, 0px, 0px)":n[o.animType]="translate3d(0px,"+e+"px, 0px)",o.$slideTrack.css(n),i&&setTimeout(function(){o.disableTransition(),i.call()},o.options.speed))},e.prototype.getNavTarget=function(){var e=this.options.asNavFor;return e&&null!==e&&(e=t(e).not(this.$slider)),e},e.prototype.asNavFor=function(e){var i=this.getNavTarget();null!==i&&"object"==typeof i&&i.each(function(){var i=t(this).slick("getSlick");i.unslicked||i.slideHandler(e,!0)})},e.prototype.applyTransition=function(t){var e=this,i={};!1===e.options.fade?i[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:i[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},e.prototype.autoPlay=function(){var t=this;t.autoPlayClear(),t.slideCount>t.options.slidesToShow&&(t.autoPlayTimer=setInterval(t.autoPlayIterator,t.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var t=this,e=t.currentSlide+t.options.slidesToScroll;t.paused||t.interrupted||t.focussed||(!1===t.options.infinite&&(1===t.direction&&t.currentSlide+1===t.slideCount-1?t.direction=0:0===t.direction&&(e=t.currentSlide-t.options.slidesToScroll,t.currentSlide-1==0&&(t.direction=1))),t.slideHandler(e))},e.prototype.buildArrows=function(){var e=this;!0===e.options.arrows&&(e.$prevArrow=t(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=t(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),!0!==e.options.infinite&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},e.prototype.buildDots=function(){var e,i,n=this;if(!0===n.options.dots){for(n.$slider.addClass("slick-dotted"),i=t("<ul />").addClass(n.options.dotsClass),e=0;e<=n.getDotCount();e+=1)i.append(t("<li />").append(n.options.customPaging.call(this,n,e)));n.$dots=i.appendTo(n.options.appendDots),n.$dots.find("li").first().addClass("slick-active")}},e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each(function(e,i){t(i).attr("data-slick-index",e).data("originalStyling",t(i).attr("style")||"")}),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?t('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),!0!==e.options.centerMode&&!0!==e.options.swipeToSlide||(e.options.slidesToScroll=1),t("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),!0===e.options.draggable&&e.$list.addClass("draggable")},e.prototype.buildRows=function(){var t,e,i,n,o,s,r,a=this;if(n=document.createDocumentFragment(),s=a.$slider.children(),a.options.rows>1){for(r=a.options.slidesPerRow*a.options.rows,o=Math.ceil(s.length/r),t=0;t<o;t++){var l=document.createElement("div");for(e=0;e<a.options.rows;e++){var c=document.createElement("div");for(i=0;i<a.options.slidesPerRow;i++){var h=t*r+(e*a.options.slidesPerRow+i);s.get(h)&&c.appendChild(s.get(h))}l.appendChild(c)}n.appendChild(l)}a.$slider.empty().append(n),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+"%",display:"inline-block"})}},e.prototype.checkResponsive=function(e,i){var n,o,s,r=this,a=!1,l=r.$slider.width(),c=window.innerWidth||t(window).width();if("window"===r.respondTo?s=c:"slider"===r.respondTo?s=l:"min"===r.respondTo&&(s=Math.min(c,l)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){for(n in o=null,r.breakpoints)r.breakpoints.hasOwnProperty(n)&&(!1===r.originalSettings.mobileFirst?s<r.breakpoints[n]&&(o=r.breakpoints[n]):s>r.breakpoints[n]&&(o=r.breakpoints[n]));null!==o?null!==r.activeBreakpoint?(o!==r.activeBreakpoint||i)&&(r.activeBreakpoint=o,"unslick"===r.breakpointSettings[o]?r.unslick(o):(r.options=t.extend({},r.originalSettings,r.breakpointSettings[o]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),a=o):(r.activeBreakpoint=o,"unslick"===r.breakpointSettings[o]?r.unslick(o):(r.options=t.extend({},r.originalSettings,r.breakpointSettings[o]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),a=o):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e),a=o),e||!1===a||r.$slider.trigger("breakpoint",[r,a])}},e.prototype.changeSlide=function(e,i){var n,o,s=this,r=t(e.currentTarget);switch(r.is("a")&&e.preventDefault(),r.is("li")||(r=r.closest("li")),n=s.slideCount%s.options.slidesToScroll!=0?0:(s.slideCount-s.currentSlide)%s.options.slidesToScroll,e.data.message){case"previous":o=0===n?s.options.slidesToScroll:s.options.slidesToShow-n,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide-o,!1,i);break;case"next":o=0===n?s.options.slidesToScroll:n,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide+o,!1,i);break;case"index":var a=0===e.data.index?0:e.data.index||r.index()*s.options.slidesToScroll;s.slideHandler(s.checkNavigable(a),!1,i),r.children().trigger("focus");break;default:return}},e.prototype.checkNavigable=function(t){var e,i;if(i=0,t>(e=this.getNavigableIndexes())[e.length-1])t=e[e.length-1];else for(var n in e){if(t<e[n]){t=i;break}i=e[n]}return t},e.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&(t("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",t.proxy(e.interrupt,e,!0)).off("mouseleave.
2slick",t.proxy(e.interrupt,e,!1)),!0===e.options.accessibility&&e.$dots.off("keydown.slick",e.keyHandler)),e.$slider.off("focus.slick blur.slick"),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow&&e.$prevArrow.off("keydown.slick",e.keyHandler),e.$nextArrow&&e.$nextArrow.off("keydown.slick",e.keyHandler))),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),t(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),!0===e.options.accessibility&&e.$list.off("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().off("click.slick",e.selectHandler),t(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),t(window).off("resize.slick.slick-"+e.instanceUid,e.resize),t("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),t(window).off("load.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",t.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",t.proxy(e.interrupt,e,!1))},e.prototype.cleanUpRows=function(){var t,e=this;e.options.rows>1&&((t=e.$slides.children().children()).removeAttr("style"),e.$slider.empty().append(t))},e.prototype.clickHandler=function(t){!1===this.shouldClick&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},e.prototype.destroy=function(e){var i=this;i.autoPlayClear(),i.touchObject={},i.cleanUpEvents(),t(".slick-cloned",i.$slider).detach(),i.$dots&&i.$dots.remove(),i.$prevArrow&&i.$prevArrow.length&&(i.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.prevArrow)&&i.$prevArrow.remove()),i.$nextArrow&&i.$nextArrow.length&&(i.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.nextArrow)&&i.$nextArrow.remove()),i.$slides&&(i.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){t(this).attr("style",t(this).data("originalStyling"))}),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.detach(),i.$list.detach(),i.$slider.append(i.$slides)),i.cleanUpRows(),i.$slider.removeClass("slick-slider"),i.$slider.removeClass("slick-initialized"),i.$slider.removeClass("slick-dotted"),i.unslicked=!0,e||i.$slider.trigger("destroy",[i])},e.prototype.disableTransition=function(t){var e=this,i={};i[e.transitionType]="",!1===e.options.fade?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},e.prototype.fadeSlide=function(t,e){var i=this;!1===i.cssTransitions?(i.$slides.eq(t).css({zIndex:i.options.zIndex}),i.$slides.eq(t).animate({opacity:1},i.options.speed,i.options.easing,e)):(i.applyTransition(t),i.$slides.eq(t).css({opacity:1,zIndex:i.options.zIndex}),e&&setTimeout(function(){i.disableTransition(t),e.call()},i.options.speed))},e.prototype.fadeSlideOut=function(t){var e=this;!1===e.cssTransitions?e.$slides.eq(t).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(t),e.$slides.eq(t).css({opacity:0,zIndex:e.options.zIndex-2}))},e.prototype.filterSlides=e.prototype.slickFilter=function(t){var e=this;null!==t&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(t).appendTo(e.$slideTrack),e.reinit())},e.prototype.focusHandler=function(){var e=this;e.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(i){i.stopImmediatePropagation();var n=t(this);setTimeout(function(){e.options.pauseOnFocus&&(e.focussed=n.is(":focus"),e.autoPlay())}
2,0)})},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){return this.currentSlide},e.prototype.getDotCount=function(){var t=this,e=0,i=0,n=0;if(!0===t.options.infinite)if(t.slideCount<=t.options.slidesToShow)++n;else for(;e<t.slideCount;)++n,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else if(!0===t.options.centerMode)n=t.slideCount;else if(t.options.asNavFor)for(;e<t.slideCount;)++n,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else n=1+Math.ceil((t.slideCount-t.options.slidesToShow)/t.options.slidesToScroll);return n-1},e.prototype.getLeft=function(t){var e,i,n,o,s=this,r=0;return s.slideOffset=0,i=s.$slides.first().outerHeight(!0),!0===s.options.infinite?(s.slideCount>s.options.slidesToShow&&(s.slideOffset=s.slideWidth*s.options.slidesToShow*-1,o=-1,!0===s.options.vertical&&!0===s.options.centerMode&&(2===s.options.slidesToShow?o=-1.5:1===s.options.slidesToShow&&(o=-2)),r=i*s.options.slidesToShow*o),s.slideCount%s.options.slidesToScroll!=0&&t+s.options.slidesToScroll>s.slideCount&&s.slideCount>s.options.slidesToShow&&(t>s.slideCount?(s.slideOffset=(s.options.slidesToShow-(t-s.slideCount))*s.slideWidth*-1,r=(s.options.slidesToShow-(t-s.slideCount))*i*-1):(s.slideOffset=s.slideCount%s.options.slidesToScroll*s.slideWidth*-1,r=s.slideCount%s.options.slidesToScroll*i*-1))):t+s.options.slidesToShow>s.slideCount&&(s.slideOffset=(t+s.options.slidesToShow-s.slideCount)*s.slideWidth,r=(t+s.options.slidesToShow-s.slideCount)*i),s.slideCount<=s.options.slidesToShow&&(s.slideOffset=0,r=0),!0===s.options.centerMode&&s.slideCount<=s.options.slidesToShow?s.slideOffset=s.slideWidth*Math.floor(s.options.slidesToShow)/2-s.slideWidth*s.slideCount/2:!0===s.options.centerMode&&!0===s.options.infinite?s.slideOffset+=s.slideWidth*Math.floor(s.options.slidesToShow/2)-s.slideWidth:!0===s.options.centerMode&&(s.slideOffset=0,s.slideOffset+=s.slideWidth*Math.floor(s.options.slidesToShow/2)),e=!1===s.options.vertical?t*s.slideWidth*-1+s.slideOffset:t*i*-1+r,!0===s.options.variableWidth&&(n=s.slideCount<=s.options.slidesToShow||!1===s.options.infinite?s.$slideTrack.children(".slick-slide").eq(t):s.$slideTrack.children(".slick-slide").eq(t+s.options.slidesToShow),e=!0===s.options.rtl?n[0]?-1*(s.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,!0===s.options.centerMode&&(n=s.slideCount<=s.options.slidesToShow||!1===s.options.infinite?s.$slideTrack.children(".slick-slide").eq(t):s.$slideTrack.children(".slick-slide").eq(t+s.options.slidesToShow+1),e=!0===s.options.rtl?n[0]?-1*(s.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,e+=(s.$list.width()-n.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(t){return this.options[t]},e.prototype.getNavigableIndexes=function(){var t,e=this,i=0,n=0,o=[];for(!1===e.options.infinite?t=e.slideCount:(i=-1*e.options.slidesToScroll,n=-1*e.options.slidesToScroll,t=2*e.slideCount);i<t;)o.push(i),i=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return o},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e,i,n=this;return i=!0===n.options.centerMode?n.slideWidth*Math.floor(n.options.slidesToShow/2):0,!0===n.options.swipeToSlide?(n.$slideTrack.find(".slick-slide").each(function(o,s){if(s.offsetLeft-i+t(s).outerWidth()/2>-1*n.swipeLeft)return e=s,!1}),Math.abs(t(e).attr("data-slick-index")-n.currentSlide)||1):n.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(t,e){this.changeSlide({data:{message:"index",index:parseInt(t)}},e)},e.prototype.init=function(e){var i=this;t(i.$slider).hasClass("slick-initialized")||(t(i.$slider).addClass("slick-initialized"),i.buildRows(),i.buildOut(),i.setProps(),i.startLoad(),i.loadSlider(),i.initializeEvents(),i.updateArrows(),i.updateDots(),i.checkResponsive(!0),i.focusHandler()),e&&i.$slider.trigger("init",[i]),!0===i.options.accessibility&&i.initADA(),i.options.autoplay&&(i.paused=!1,i.autoPlay())},e.prototype.initADA=function(){var e=this,i=Math.ceil(e.slideCount/e.options.slidesToShow),n=e.getNavigableIndexes().filter(function(t){return t>=0&&t<e.slideCount});e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==e.$dots&&(e.$slides.not(e.$slideTrack.find(".slick-cloned")).each(function(i){var o=n.indexOf(i);t(this).attr({role:"tabpanel",id:"slick-slide"+e.instanceUid+i,tabindex:-1}),-1!==o&&t(this).attr({"aria-describedby":"slick-slide-control"+e.instanceUid+o})}),e.$dots.attr("role","tablist").find("li").each(function(o){var s=n[o];t(this).attr({role:"presentation"}),t(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+e.instanceUid+o,"aria-controls":"slick-slide"+e.instanceUid+s,"aria-label":o+1+" of "+i,"aria-selected":null,tabindex:"-1"})}).eq(e.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var o=e.currentSlide,s=o+e.options.slidesToShow;o<s;o++)e.$slides.eq(o).attr("tabindex",0);e.activateADA()},e.prototype.initArrowEvents=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},t.changeSlide),t.$nextArrow.off("click.slick").on("click.slick",{message:"next"},t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow.on("keydown.slick",t.keyHandler),t.$nextArrow.on("keydown.slick",t.keyHandler)))},e.prototype.initDotEvents=function(){var e=this;!0===e.options.dots&&(t("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),!0===e.options.accessibility&&e.$dots.on("keydown.slick",e.keyHandler)),!0===e.options.dots&&!0===e.options.pauseOnDotsHover&&t("li",e.$dots).on("mouseenter.slick",t.proxy(e.interrupt,e,!0)).on("mouseleave.
2slick",t.proxy(e.interrupt,e,!1))},e.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",t.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",t.proxy(e.interrupt,e,!1)))},e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"},e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),t(document).on(e.visibilityChange,t.proxy(e.visibility,e)),!0===e.options.accessibility&&e.$list.on("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),t(window).on("orientationchange.slick.slick-"+e.instanceUid,t.proxy(e.orientationChange,e)),t(window).on("resize.slick.slick-"+e.instanceUid,t.proxy(e.resize,e)),t("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),t(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),t(e.setPosition)},e.prototype.initUI=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.show(),t.$nextArrow.show()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.show()},e.prototype.keyHandler=function(t){var e=this;t.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===t.keyCode&&!0===e.options.accessibility?e.changeSlide({data:{message:!0===e.options.rtl?"next":"previous"}}):39===t.keyCode&&!0===e.options.accessibility&&e.changeSlide({data:{message:!0===e.options.rtl?"previous":"next"}}))},e.prototype.lazyLoad=function(){function e(e){t("img[data-lazy]",e).each(function(){var e=t(this),i=t(this).attr("data-lazy"),n=t(this).attr("data-srcset"),o=t(this).attr("data-sizes")||s.$slider.attr("data-sizes"),r=document.createElement("img");r.onload=function(){e.animate({opacity:0}
vendor: 7,102 bytes, line 2
2,100,function(){n&&(e.attr("srcset",n),o&&e.attr("sizes",o)),e.attr("src",i).animate({opacity:1},200,function(){e.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),s.$slider.trigger("lazyLoaded",[s,e,i])})},r.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),s.$slider.trigger("lazyLoadError",[s,e,i])},r.src=i})}var i,n,o,s=this;if(!0===s.options.centerMode?!0===s.options.infinite?o=(n=s.currentSlide+(s.options.slidesToShow/2+1))+s.options.slidesToShow+2:(n=Math.max(0,s.currentSlide-(s.options.slidesToShow/2+1)),o=s.options.slidesToShow/2+1+2+s.currentSlide):(n=s.options.infinite?s.options.slidesToShow+s.currentSlide:s.currentSlide,o=Math.ceil(n+s.options.slidesToShow),!0===s.options.fade&&(n>0&&n--,o<=s.slideCount&&o++)),i=s.$slider.find(".slick-slide").slice(n,o),"anticipated"===s.options.lazyLoad)for(var r=n-1,a=o,l=s.$slider.find(".slick-slide"),c=0;c<s.options.slidesToScroll;c++)r<0&&(r=s.slideCount-1),i=(i=i.add(l.eq(r))).add(l.eq(a)),r--,a++;e(i),s.slideCount<=s.options.slidesToShow?e(s.$slider.find(".slick-slide")):s.currentSlide>=s.slideCount-s.options.slidesToShow?e(s.$slider.find(".slick-cloned").slice(0,s.options.slidesToShow)):0===s.currentSlide&&e(s.$slider.find(".slick-cloned").slice(-1*s.options.slidesToShow))},e.prototype.loadSlider=function(){var t=this;t.setPosition(),t.$slideTrack.css({opacity:1}),t.$slider.removeClass("slick-loading"),t.initUI(),"progressive"===t.options.lazyLoad&&t.progressiveLazyLoad()},e.prototype.next=e.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},e.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},e.prototype.play=e.prototype.slickPlay=function(){var t=this;t.autoPlay(),t.options.autoplay=!0,t.paused=!1,t.focussed=!1,t.interrupted=!1},e.prototype.postSlide=function(e){var i=this;i.unslicked||(i.$slider.trigger("afterChange",[i,e]),i.animating=!1,i.slideCount>i.options.slidesToShow&&i.setPosition(),i.swipeLeft=null,i.options.autoplay&&i.autoPlay(),!0===i.options.accessibility&&(i.initADA(),i.options.focusOnChange&&t(i.$slides.get(i.currentSlide)).attr("tabindex",0).focus()))},e.prototype.prev=e.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(t){t.preventDefault()},e.prototype.progressiveLazyLoad=function(e){e=e||1;var i,n,o,s,r,a=this,l=t("img[data-lazy]",a.$slider);l.length?(i=l.first(),n=i.attr("data-lazy"),o=i.attr("data-srcset"),s=i.attr("data-sizes")||a.$slider.attr("data-sizes"),(r=document.createElement("img")).onload=function(){o&&(i.attr("srcset",o),s&&i.attr("sizes",s)),i.attr("src",n).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===a.options.adaptiveHeight&&a.setPosition(),a.$slider.trigger("lazyLoaded",[a,i,n]),a.progressiveLazyLoad()},r.onerror=function(){e<3?setTimeout(function(){a.progressiveLazyLoad(e+1)},500):(i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),a.$slider.trigger("lazyLoadError",[a,i,n]),a.progressiveLazyLoad())},r.src=n):a.$slider.trigger("allImagesLoaded",[a])},e.prototype.refresh=function(e){var i,n,o=this;n=o.slideCount-o.options.slidesToShow,!o.options.infinite&&o.currentSlide>n&&(o.currentSlide=n),o.slideCount<=o.options.slidesToShow&&(o.currentSlide=0),i=o.currentSlide,o.destroy(!0),t.extend(o,o.initials,{currentSlide:i}),o.init(),e||o.changeSlide({data:{message:"index",index:i}},!1)},e.prototype.registerBreakpoints=function(){var e,i,n,o=this,s=o.options.responsive||null;if("array"===t.type(s)&&s.length){for(e in o.respondTo=o.options.respondTo||"window",s)if(n=o.breakpoints.length-1,s.hasOwnProperty(e)){for(i=s[e].breakpoint;n>=0;)o.breakpoints[n]&&o.breakpoints[n]===i&&o.breakpoints.splice(n,1),n--;o.breakpoints.push(i),o.breakpointSettings[i]=s[e].settings}o.breakpoints.sort(function(t,e){return o.options.mobileFirst?t-e:e-t})}},e.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},e.prototype.resize=function(){var e=this;t(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=t(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()},50))},e.prototype.removeSlide=e.prototype.slickRemove=function(t,e,i){var n=this;if(t="boolean"==typeof t?!0===(e=t)?0:n.slideCount-1:!0===e?--t:t,n.slideCount<1||t<0||t>n.slideCount-1)return!1;n.unload(),!0===i?n.$slideTrack.children().remove():n.$slideTrack.children(this.options.slide).eq(t).remove(),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slidesCache=n.$slides,n.reinit()},e.prototype.setCSS=function(t){var e,i,n=this,o={};!0===n.options.rtl&&(t=-t),e="left"==n.positionProp?Math.ceil(t)+"px":"0px",i="top"==n.positionProp?Math.ceil(t)+"px":"0px",o[n.positionProp]=t,!1===n.transformsEnabled?n.$slideTrack.css(o):(o={},!1===n.cssTransitions?(o[n.animType]="translate("+e+", "+i+")",n.$slideTrack.css(o)):(o[n.animType]="translate3d("+e+", "+i+", 0px)",n.$slideTrack.css(o)))},e.prototype.setDimensions=function(){var t=this;!1===t.options.vertical?!0===t.options.centerMode&&t.$list.css({padding:"0px "+t.options.centerPadding}):(t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),!0===t.options.centerMode&&t.$list.css({padding:t.options.centerPadding+" 0px"})),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),!1===t.options.vertical&&!1===t.options.variableWidth?(t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow),t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))):!0===t.options.variableWidth?t.$slideTrack.width(5e3*t.slideCount):(t.slideWidth=Math.ceil(t.listWidth),t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight(!0)*t.$slideTrack.children(".slick-slide").length)));var e=t.$slides.first().outerWidth(!0)-t.$slides.first().width();!1===t.options.variableWidth&&t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)},e.prototype.setFade=function(){var e,i=this;i.$slides.each(function(n,o){e=i.slideWidth*n*-1,!0===i.options.rtl?t(o).css({position:"relative",right:e,top:0,zIndex:i.options.zIndex-2,opacity:0}
vendor: 5,186 bytes, line 2
2):t(o).css({position:"relative",left:e,top:0,zIndex:i.options.zIndex-2,opacity:0})}),i.$slides.eq(i.currentSlide).css({zIndex:i.options.zIndex-1,opacity:1})},e.prototype.setHeight=function(){var t=this;if(1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.css("height",e)}},e.prototype.setOption=e.prototype.slickSetOption=function(){var e,i,n,o,s,r=this,a=!1;if("object"===t.type(arguments[0])?(n=arguments[0],a=arguments[1],s="multiple"):"string"===t.type(arguments[0])&&(n=arguments[0],o=arguments[1],a=arguments[2],"responsive"===arguments[0]&&"array"===t.type(arguments[1])?s="responsive":void 0!==arguments[1]&&(s="single")),"single"===s)r.options[n]=o;else if("multiple"===s)t.each(n,function(t,e){r.options[t]=e});else if("responsive"===s)for(i in o)if("array"!==t.type(r.options.responsive))r.options.responsive=[o[i]];else{for(e=r.options.responsive.length-1;e>=0;)r.options.responsive[e].breakpoint===o[i].breakpoint&&r.options.responsive.splice(e,1),e--;r.options.responsive.push(o[i])}a&&(r.unload(),r.reinit())},e.prototype.setPosition=function(){var t=this;t.setDimensions(),t.setHeight(),!1===t.options.fade?t.setCSS(t.getLeft(t.currentSlide)):t.setFade(),t.$slider.trigger("setPosition",[t])},e.prototype.setProps=function(){var t=this,e=document.body.style;t.positionProp=!0===t.options.vertical?"top":"left","top"===t.positionProp?t.$slider.addClass("slick-vertical"):t.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===t.options.useCSS&&(t.cssTransitions=!0),t.options.fade&&("number"==typeof t.options.zIndex?t.options.zIndex<3&&(t.options.zIndex=3):t.options.zIndex=t.defaults.zIndex),void 0!==e.OTransform&&(t.animType="OTransform",t.transformType="-o-transform",t.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.MozTransform&&(t.animType="MozTransform",t.transformType="-moz-transform",t.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(t.animType=!1)),void 0!==e.webkitTransform&&(t.animType="webkitTransform",t.transformType="-webkit-transform",t.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.msTransform&&(t.animType="msTransform",t.transformType="-ms-transform",t.transitionType="msTransition",void 0===e.msTransform&&(t.animType=!1)),void 0!==e.transform&&!1!==t.animType&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=t.options.useTransform&&null!==t.animType&&!1!==t.animType},e.prototype.setSlideClasses=function(t){var e,i,n,o,s=this;if(i=s.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),s.$slides.eq(t).addClass("slick-current"),!0===s.options.centerMode){var r=s.options.slidesToShow%2==0?1:0;e=Math.floor(s.options.slidesToShow/2),!0===s.options.infinite&&(t>=e&&t<=s.slideCount-1-e?s.$slides.slice(t-e+r,t+e+1).addClass("slick-active").attr("aria-hidden","false"):(n=s.options.slidesToShow+t,i.slice(n-e+1+r,n+e+2).addClass("slick-active").attr("aria-hidden","false")),0===t?i.eq(i.length-1-s.options.slidesToShow).addClass("slick-center"):t===s.slideCount-1&&i.eq(s.options.slidesToShow).addClass("slick-center")),s.$slides.eq(t).addClass("slick-center")}else t>=0&&t<=s.slideCount-s.options.slidesToShow?s.$slides.slice(t,t+s.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=s.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(o=s.slideCount%s.options.slidesToShow,n=!0===s.options.infinite?s.options.slidesToShow+t:t,s.options.slidesToShow==s.options.slidesToScroll&&s.slideCount-t<s.options.slidesToShow?i.slice(n-(s.options.slidesToShow-o),n+o).addClass("slick-active").attr("aria-hidden","false"):i.slice(n,n+s.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==s.options.lazyLoad&&"anticipated"!==s.options.lazyLoad||s.lazyLoad()},e.prototype.setupInfinite=function(){var e,i,n,o=this;if(!0===o.options.fade&&(o.options.centerMode=!1),!0===o.options.infinite&&!1===o.options.fade&&(i=null,o.slideCount>o.options.slidesToShow)){for(n=!0===o.options.centerMode?o.options.slidesToShow+1:o.options.slidesToShow,e=o.slideCount;e>o.slideCount-n;e-=1)i=e-1,t(o.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i-o.slideCount).prependTo(o.$slideTrack).addClass("slick-cloned");for(e=0;e<n+o.slideCount;e+=1)i=e,t(o.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i+o.slideCount).appendTo(o.$slideTrack).addClass("slick-cloned");o.$slideTrack.find(".slick-cloned").find("[id]").each(function(){t(this).attr("id","")})}},e.prototype.interrupt=function(t){t||this.autoPlay(),this.interrupted=t},e.prototype.selectHandler=function(e){var i=this,n=t(e.target).is(".slick-slide")?t(e.target):t(e.target).parents(".slick-slide"),o=parseInt(n.attr("data-slick-index"));o||(o=0),i.slideCount<=i.options.slidesToShow?i.slideHandler(o,!1,!0):i.slideHandler(o)}
vendor: 5,943 bytes, line 2
2,e.prototype.slideHandler=function(t,e,i){var n,o,s,r,a,l=null,c=this;if(e=e||!1,!(!0===c.animating&&!0===c.options.waitForAnimate||!0===c.options.fade&&c.currentSlide===t))if(!1===e&&c.asNavFor(t),n=t,l=c.getLeft(n),r=c.getLeft(c.currentSlide),c.currentLeft=null===c.swipeLeft?r:c.swipeLeft,!1===c.options.infinite&&!1===c.options.centerMode&&(t<0||t>c.getDotCount()*c.options.slidesToScroll))!1===c.options.fade&&(n=c.currentSlide,!0!==i?c.animateSlide(r,function(){c.postSlide(n)}):c.postSlide(n));else if(!1===c.options.infinite&&!0===c.options.centerMode&&(t<0||t>c.slideCount-c.options.slidesToScroll))!1===c.options.fade&&(n=c.currentSlide,!0!==i?c.animateSlide(r,function(){c.postSlide(n)}):c.postSlide(n));else{if(c.options.autoplay&&clearInterval(c.autoPlayTimer),o=n<0?c.slideCount%c.options.slidesToScroll!=0?c.slideCount-c.slideCount%c.options.slidesToScroll:c.slideCount+n:n>=c.slideCount?c.slideCount%c.options.slidesToScroll!=0?0:n-c.slideCount:n,c.animating=!0,c.$slider.trigger("beforeChange",[c,c.currentSlide,o]),s=c.currentSlide,c.currentSlide=o,c.setSlideClasses(c.currentSlide),c.options.asNavFor&&(a=(a=c.getNavTarget()).slick("getSlick")).slideCount<=a.options.slidesToShow&&a.setSlideClasses(c.currentSlide),c.updateDots(),c.updateArrows(),!0===c.options.fade)return!0!==i?(c.fadeSlideOut(s),c.fadeSlide(o,function(){c.postSlide(o)})):c.postSlide(o),void c.animateHeight();!0!==i?c.animateSlide(l,function(){c.postSlide(o)}):c.postSlide(o)}},e.prototype.startLoad=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var t,e,i,n,o=this;return t=o.touchObject.startX-o.touchObject.curX,e=o.touchObject.startY-o.touchObject.curY,i=Math.atan2(e,t),(n=Math.round(180*i/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0?!1===o.options.rtl?"left":"right":n<=360&&n>=315?!1===o.options.rtl?"left":"right":n>=135&&n<=225?!1===o.options.rtl?"right":"left":!0===o.options.verticalSwiping?n>=35&&n<=135?"down":"up":"vertical"},e.prototype.swipeEnd=function(t){var e,i,n=this;if(n.dragging=!1,n.swiping=!1,n.scrolling)return n.scrolling=!1,!1;if(n.interrupted=!1,n.shouldClick=!(n.touchObject.swipeLength>10),void 0===n.touchObject.curX)return!1;if(!0===n.touchObject.edgeHit&&n.$slider.trigger("edge",[n,n.swipeDirection()]),n.touchObject.swipeLength>=n.touchObject.minSwipe){switch(i=n.swipeDirection()){case"left":case"down":e=n.options.swipeToSlide?n.checkNavigable(n.currentSlide+n.getSlideCount()):n.currentSlide+n.getSlideCount(),n.currentDirection=0;break;case"right":case"up":e=n.options.swipeToSlide?n.checkNavigable(n.currentSlide-n.getSlideCount()):n.currentSlide-n.getSlideCount(),n.currentDirection=1}"vertical"!=i&&(n.slideHandler(e),n.touchObject={},n.$slider.trigger("swipe",[n,i]))}else n.touchObject.startX!==n.touchObject.curX&&(n.slideHandler(n.currentSlide),n.touchObject={})},e.prototype.swipeHandler=function(t){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==t.type.indexOf("mouse")))switch(e.touchObject.fingerCount=t.originalEvent&&void 0!==t.originalEvent.touches?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),t.data.action){case"start":e.swipeStart(t);break;case"move":e.swipeMove(t);break;case"end":e.swipeEnd(t)}},e.prototype.swipeMove=function(t){var e,i,n,o,s,r,a=this;return s=void 0!==t.originalEvent?t.originalEvent.touches:null,!(!a.dragging||a.scrolling||s&&1!==s.length)&&(e=a.getLeft(a.currentSlide),a.touchObject.curX=void 0!==s?s[0].pageX:t.clientX,a.touchObject.curY=void 0!==s?s[0].pageY:t.clientY,a.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(a.touchObject.curX-a.touchObject.startX,2))),r=Math.round(Math.sqrt(Math.pow(a.touchObject.curY-a.touchObject.startY,2))),!a.options.verticalSwiping&&!a.swiping&&r>4?(a.scrolling=!0,!1):(!0===a.options.verticalSwiping&&(a.touchObject.swipeLength=r),i=a.swipeDirection(),void 0!==t.originalEvent&&a.touchObject.swipeLength>4&&(a.swiping=!0,t.preventDefault()),o=(!1===a.options.rtl?1:-1)*(a.touchObject.curX>a.touchObject.startX?1:-1),!0===a.options.verticalSwiping&&(o=a.touchObject.curY>a.touchObject.startY?1:-1),n=a.touchObject.swipeLength,a.touchObject.edgeHit=!1,!1===a.options.infinite&&(0===a.currentSlide&&"right"===i||a.currentSlide>=a.getDotCount()&&"left"===i)&&(n=a.touchObject.swipeLength*a.options.edgeFriction,a.touchObject.edgeHit=!0),!1===a.options.vertical?a.swipeLeft=e+n*o:a.swipeLeft=e+n*(a.$list.height()/a.listWidth)*o,!0===a.options.verticalSwiping&&(a.swipeLeft=e+n*o),!0!==a.options.fade&&!1!==a.options.touchMove&&(!0===a.animating?(a.swipeLeft=null,!1):void a.setCSS(a.swipeLeft))))},e.prototype.swipeStart=function(t){var e,i=this;if(i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow)return i.touchObject={},!1;void 0!==t.originalEvent&&void 0!==t.originalEvent.touches&&(e=t.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==e?e.pageX:t.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==e?e.pageY:t.clientY,i.dragging=!0},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var t=this;null!==t.$slidesCache&&(t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.appendTo(t.$slideTrack),t.reinit())},e.prototype.unload=function(){var e=this;t(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")}
2,e.prototype.unslick=function(t){var e=this;e.$slider.trigger("unslick",[e,t]),e.destroy()},e.prototype.updateArrows=function(){var t=this;Math.floor(t.options.slidesToShow/2),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&!t.options.infinite&&(t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===t.currentSlide?(t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):t.currentSlide>=t.slideCount-t.options.slidesToShow&&!1===t.options.centerMode?(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):t.currentSlide>=t.slideCount-1&&!0===t.options.centerMode&&(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},e.prototype.updateDots=function(){var t=this;null!==t.$dots&&(t.$dots.find("li").removeClass("slick-active").end(),t.$dots.find("li").eq(Math.floor(t.currentSlide/t.options.slidesToScroll)).addClass("slick-active"))},e.prototype.visibility=function(){var t=this;t.options.autoplay&&(document[t.hidden]?t.interrupted=!0:t.interrupted=!1)},t.fn.slick=function(){var t,i,n=this,o=arguments[0],s=Array.prototype.slice.call(arguments,1),r=n.length;for(t=0;t<r;t++)if("object"==typeof o||void 0===o?n[t].slick=new e(n[t],o):i=n[t].slick[o].apply(n[t].slick,s),void 0!==i)return i;return n}}),function(t){"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?module.exports=t():window.noUiSlider=t()}(function(){"use strict";var t="14.1.1";function e(t){t.parentElement.removeChild(t)}function i(t){return null!=t}function n(t){t.preventDefault()}function o(t){return"number"==typeof t&&!isNaN(t)&&isFinite(t)}function s(t,e,i){0<i&&(c(t,e),setTimeout(function(){h(t,e)},i))}function r(t){return Math.max(Math.min(t,100),0)}function a(t){return Array.isArray(t)?t:[t]}function l(t){var e=(t=String(t)).split(".");return 1<e.length?e[1].length:0}function c(t,e){t.classList?t.classList.add(e):t.className+=" "+e}function h(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")}function d(t){var e=void 0!==window.pageXOffset,i="CSS1Compat"===(t.compatMode||"");return{x:e?window.pageXOffset:i?t.documentElement.scrollLeft:t.body.scrollLeft,y:e?window.pageYOffset:i?t.documentElement.scrollTop:t.body.scrollTop}}function u(t,e){return 100/(e-t)}function p(t,e){return 100*e/(t[1]-t[0])}function f(t,e){for(var i=1;t>=e[i];)i+=1;return i}function m(e,i,n){var s;if("number"==typeof i&&(i=[i]),!Array.isArray(i))throw new Error("noUiSlider ("+t+"): 'range' contains invalid value.");if(!o(s="min"===e?0:"max"===e?100:parseFloat(e))||!o(i[0]))throw new Error("noUiSlider ("+t+"): 'range' value isn't numeric.");n.xPct.push(s),n.xVal.push(i[0]),s?n.xSteps.push(!isNaN(i[1])&&i[1]):isNaN(i[1])||(n.xSteps[0]=i[1]),n.xHighestCompleteStep.push(0)}function _(t,e,i){if(e)if(i.xVal[t]!==i.xVal[t+1]){i.xSteps[t]=p([i.xVal[t],i.xVal[t+1]],e)/u(i.xPct[t],i.xPct[t+1]);var n=(i.xVal[t+1]-i.xVal[t])/i.xNumSteps[t],o=Math.ceil(Number(n.toFixed(3))-1),s=i.xVal[t]+i.xNumSteps[t]*o;i.xHighestCompleteStep[t]=s}else i.xSteps[t]=i.xHighestCompleteStep[t]=i.xVal[t]}function g(t,e,i){var n;this.xPct=[],this.xVal=[],this.xSteps=[i||!1],this.xNumSteps=[!1],this.xHighestCompleteStep=[],this.snap=e;var o=[];for(n in t)t.hasOwnProperty(n)&&o.push([t[n],n]);for(o.length&&"object"==typeof o[0][0]?o.sort(function(t,e){return t[0][0]-e[0][0]}):o.sort(function(t,e){return t[0]-e[0]}),n=0;n<o.length;n++)m(o[n][1],o[n][0],this);for(this.xNumSteps=this.xSteps.slice(0),n=0;n<this.xNumSteps.length;n++)_(n,this.xNumSteps[n],this)}g.prototype.getMargin=function(e){var i=this.xNumSteps[0];if(i&&e/i%1!=0)throw new Error("noUiSlider ("+t+"): 'limit', 'margin' and 'padding' must be divisible by step.");return 2===this.xPct.length&&p(this.xVal,e)}
2,g.prototype.toStepping=function(t){return function(t,e,i){if(i>=t.slice(-1)[0])return 100;var n,o,s=f(i,t),r=t[s-1],a=t[s],l=e[s-1],c=e[s];return l+(o=i,p(n=[r,a],n[0]<0?o+Math.abs(n[0]):o-n[0])/u(l,c))}(this.xVal,this.xPct,t)},g.prototype.fromStepping=function(t){return function(t,e,i){if(100<=i)return t.slice(-1)[0];var n,o=f(i,e),s=t[o-1],r=t[o],a=e[o-1];return n=[s,r],(i-a)*u(a,e[o])*(n[1]-n[0])/100+n[0]}(this.xVal,this.xPct,t)},g.prototype.getStep=function(t){return function(t,e,i,n){if(100===n)return n;var o,s,r=f(n,t),a=t[r-1],l=t[r];return i?(l-a)/2<n-a?l:a:e[r-1]?t[r-1]+(o=n-t[r-1],s=e[r-1],Math.round(o/s)*s):n}(this.xPct,this.xSteps,this.snap,t)},g.prototype.getDefaultStep=function(t,e,i){var n=f(t,this.xPct);return(100===t||e&&t===this.xPct[n-1])&&(n=Math.max(n-1,1)),(this.xVal[n]-this.xVal[n-1])/i},g.prototype.getNearbySteps=function(t){var e=f(t,this.xPct);return{stepBefore:{startValue:this.xVal[e-2],step:this.xNumSteps[e-2],highestStep:this.xHighestCompleteStep[e-2]},thisStep:{startValue:this.xVal[e-1],step:this.xNumSteps[e-1],highestStep:this.xHighestCompleteStep[e-1]},stepAfter:{startValue:this.xVal[e],step:this.xNumSteps[e],highestStep:this.xHighestCompleteStep[e]}}},g.prototype.countStepDecimals=function(){var t=this.xNumSteps.map(l);return Math.max.apply(null,t)},g.prototype.convert=function(t){return this.getStep(this.toStepping(t))};var v={to:function(t){return void 0!==t&&t.toFixed(2)},from:Number};function y(e){if("object"==typeof(i=e)&&"function"==typeof i.to&&"function"==typeof i.from)return!0;var i;throw new Error("noUiSlider ("+t+"): 'format' requires 'to' and 'from' methods.")}function b(e,i){if(!o(i))throw new Error("noUiSlider ("+t+"): 'step' is not numeric.");e.singleStep=i}function w(e,i){if("object"!=typeof i||Array.isArray(i))throw new Error("noUiSlider ("+t+"): 'range' is not an object.");if(void 0===i.min||void 0===i.max)throw new Error("noUiSlider ("+t+"): Missing 'min' or 'max' in 'range'.");if(i.min===i.max)throw new Error("noUiSlider ("+t+"): 'range' 'min' and 'max' cannot be equal.");e.spectrum=new g(i,e.snap,e.singleStep)}function x(e,i){if(i=a(i),!Array.isArray(i)||!i.length)throw new Error("noUiSlider ("+t+"): 'start' option is incorrect.");e.handles=i.length,e.start=i}function T(e,i){if("boolean"!=typeof(e.snap=i))throw new Error("noUiSlider ("+t+"): 'snap' option must be a boolean.")}function C(e,i){if("boolean"!=typeof(e.animate=i))throw new Error("noUiSlider ("+t+"): 'animate' option must be a boolean.")}function L(e,i){if("number"!=typeof(e.animationDuration=i))throw new Error("noUiSlider ("+t+"): 'animationDuration' option must be a number.")}function k(e,i){var n,o=[!1];if("lower"===i?i=[!0,!1]:"upper"===i&&(i=[!1,!0]),!0===i||!1===i){for(n=1;n<e.handles;n++)o.push(i);o.push(!1)}else{if(!Array.isArray(i)||!i.length||i.length!==e.handles+1)throw new Error("noUiSlider ("+t+"): 'connect' option doesn't match handle count.");o=i}e.connect=o}function S(e,i){switch(i){case"horizontal":e.ort=0;break;case"vertical":e.ort=1;break;default:throw new Error("noUiSlider ("+t+"): 'orientation' option is invalid.")}}function E(e,i){if(!o(i))throw new Error("noUiSlider ("+t+"): 'margin' option must be numeric.");if(0!==i&&(e.margin=e.spectrum.getMargin(i),!e.margin))throw new Error("noUiSlider ("+t+"): 'margin' option is only supported on linear sliders.")}
vendor: 3,366 bytes, line 2
2function P(e,i){if(!o(i))throw new Error("noUiSlider ("+t+"): 'limit' option must be numeric.");if(e.limit=e.spectrum.getMargin(i),!e.limit||e.handles<2)throw new Error("noUiSlider ("+t+"): 'limit' option is only supported on linear sliders with 2 or more handles.")}function A(e,i){if(!o(i)&&!Array.isArray(i))throw new Error("noUiSlider ("+t+"): 'padding' option must be numeric or array of exactly 2 numbers.");if(Array.isArray(i)&&2!==i.length&&!o(i[0])&&!o(i[1]))throw new Error("noUiSlider ("+t+"): 'padding' option must be numeric or array of exactly 2 numbers.");if(0!==i){if(Array.isArray(i)||(i=[i,i]),!(e.padding=[e.spectrum.getMargin(i[0]),e.spectrum.getMargin(i[1])])===e.padding[0]||!1===e.padding[1])throw new Error("noUiSlider ("+t+"): 'padding' option is only supported on linear sliders.");if(e.padding[0]<0||e.padding[1]<0)throw new Error("noUiSlider ("+t+"): 'padding' option must be a positive number(s).");if(100<e.padding[0]+e.padding[1])throw new Error("noUiSlider ("+t+"): 'padding' option must not exceed 100% of the range.")}}function D(e,i){switch(i){case"ltr":e.dir=0;break;case"rtl":e.dir=1;break;default:throw new Error("noUiSlider ("+t+"): 'direction' option was not recognized.")}}function O(e,i){if("string"!=typeof i)throw new Error("noUiSlider ("+t+"): 'behaviour' must be a string containing options.");var n=0<=i.indexOf("tap"),o=0<=i.indexOf("drag"),s=0<=i.indexOf("fixed"),r=0<=i.indexOf("snap"),a=0<=i.indexOf("hover"),l=0<=i.indexOf("unconstrained");if(s){if(2!==e.handles)throw new Error("noUiSlider ("+t+"): 'fixed' behaviour must be used with 2 handles");E(e,e.start[1]-e.start[0])}if(l&&(e.margin||e.limit))throw new Error("noUiSlider ("+t+"): 'unconstrained' behaviour cannot be used with margin or limit");e.events={tap:n||r,drag:o,fixed:s,snap:r,hover:a,unconstrained:l}}function M(e,i){if(!1!==i)if(!0===i){e.tooltips=[];for(var n=0;n<e.handles;n++)e.tooltips.push(!0)}else{if(e.tooltips=a(i),e.tooltips.length!==e.handles)throw new Error("noUiSlider ("+t+"): must pass a formatter for all handles.");e.tooltips.forEach(function(e){if("boolean"!=typeof e&&("object"!=typeof e||"function"!=typeof e.to))throw new Error("noUiSlider ("+t+"): 'tooltips' must be passed a formatter or 'false'.")})}}function z(t,e){y(t.ariaFormat=e)}function I(t,e){y(t.format=e)}function N(e,i){if("boolean"!=typeof(e.keyboardSupport=i))throw new Error("noUiSlider ("+t+"): 'keyboardSupport' option must be a boolean.")}function B(t,e){t.documentElement=e}function U(e,i){if("string"!=typeof i&&!1!==i)throw new Error("noUiSlider ("+t+"): 'cssPrefix' must be a string or `false`.");e.cssPrefix=i}function j(e,i){if("object"!=typeof i)throw new Error("noUiSlider ("+t+"): 'cssClasses' must be an object.");if("string"==typeof e.cssPrefix)for(var n in e.cssClasses={},i)i.hasOwnProperty(n)&&(e.cssClasses[n]=e.cssPrefix+i[n]);else e.cssClasses=i}function R(e){var n={margin:0,limit:0,padding:0,animate:!0,animationDuration:300,ariaFormat:v,format:v},o={step:{r:!1,t:b},start:{r:!0,t:x},connect:{r:!0,t:k},direction:{r:!0,t:D},snap:{r:!1,t:T},animate:{r:!1,t:C},animationDuration:{r:!1,t:L},range:{r:!0,t:w},orientation:{r:!1,t:S},margin:{r:!1,t:E},limit:{r:!1,t:P},padding:{r:!1,t:A},behaviour:{r:!0,t:O},ariaFormat:{r:!1,t:z},format:{r:!1,t:I},tooltips:{r:!1,t:M},keyboardSupport:{r:!0,t:N},documentElement:{r:!1,t:B},cssPrefix:{r:!0,t:U}
2,cssClasses:{r:!0,t:j}},s={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",keyboardSupport:!0,cssPrefix:"noUi-",cssClasses:{target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",touchArea:"touch-area",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",textDirectionLtr:"txt-dir-ltr",textDirectionRtl:"txt-dir-rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"}};e.format&&!e.ariaFormat&&(e.ariaFormat=e.format),Object.keys(o).forEach(function(r){if(!i(e[r])&&void 0===s[r]){if(o[r].r)throw new Error("noUiSlider ("+t+"): '"+r+"' is required.");return!0}o[r].t(n,i(e[r])?e[r]:s[r])}),n.pips=e.pips;var r=document.createElement("div"),a=void 0!==r.style.msTransform,l=void 0!==r.style.transform;return n.transformRule=l?"transform":a?"msTransform":"webkitTransform",n.style=[["left","top"],["right","bottom"]][n.dir][n.ort],n}return{__spectrum:g,version:t,create:function(i,o){if(!i||!i.nodeName)throw new Error("noUiSlider ("+t+"): create requires a single element, got: "+i);if(i.noUiSlider)throw new Error("noUiSlider ("+t+"): Slider was already initialized.");var l=function(i,o,l){var u,p,f,m,_,g,v,y,b=window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"},w=window.CSS&&CSS.supports&&CSS.supports("touch-action","none")&&function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch(t){}return t}(),x=i,T=o.spectrum,C=[],L=[],k=[],S=0,E={},P=i.ownerDocument,A=o.documentElement||P.documentElement,D=P.body,O=-1,M=0,z=1,I=2,N="rtl"===P.dir||1===o.ort?0:100;function B(t,e){var i=P.createElement("div");return e&&c(i,e),t.appendChild(i),i}function U(t,e){var i=B(t,o.cssClasses.origin),n=B(i,o.cssClasses.handle);return B(n,o.cssClasses.touchArea),n.setAttribute("data-handle",e),o.keyboardSupport&&(n.setAttribute("tabindex","0"),n.addEventListener("keydown",function(t){return function(t,e){if(Z()||H(e))return!1;var i=["Left","Right"],n=["Down","Up"],s=["PageDown","PageUp"],r=["Home","End"];o.dir&&!o.ort?i.reverse():o.ort&&!o.dir&&(n.reverse(),s.reverse());var a,l=t.key.replace("Arrow",""),c=l===s[0],h=l===s[1],d=l===n[0]||l===i[0]||c,u=l===n[1]||l===i[1]||h,p=l===r[1];if(!(d||u||l===r[0]||p))return!0;if(t.preventDefault(),u||d){var f=d?0:1,m=mt(e)[f];if(null===m)return!1;!1===m&&(m=T.getDefaultStep(L[e],d,10)),(h||c)&&(m*=5),m=Math.max(m,1e-7),m*=d?-1:1,a=C[e]+m}else a=p?o.spectrum.xVal[o.spectrum.xVal.length-1]:o.spectrum.xVal[0];return ht(e,T.toStepping(a),!0,!0),ot("slide",e),ot("update",e),ot("change",e),ot("set",e),!1}(t,e)})),n.setAttribute("role","slider"),n.setAttribute("aria-orientation",o.ort?"vertical":"horizontal"),0===e?c(n,o.cssClasses.handleLower):e===o.handles-1&&c(n,o.cssClasses.handleUpper),i}function j(t,e){return!!e&&B(t,o.cssClasses.connect)}function $(t,e){return!!o.tooltips[e]&&B(t.firstChild,o.cssClasses.tooltip)}function Z(){return x.hasAttribute("disabled")}function H(t){return p[t].hasAttribute("disabled")}function F(){_&&(nt("update.tooltips"),_.forEach(function(t){t&&e(t)}),_=null)}function W(){F(),_=p.map($),it("update.tooltips",function(t,e,i){if(_[e]){var n=t[e];!0!==o.tooltips[e]&&(n=o.tooltips[e].to(i[e])),_[e].innerHTML=n}})}function q(t,e,i){var n=P.createElement("div"),s=[];
2s[M]=o.cssClasses.valueNormal,s[z]=o.cssClasses.valueLarge,s[I]=o.cssClasses.valueSub;var r=[];r[M]=o.cssClasses.markerNormal,r[z]=o.cssClasses.markerLarge,r[I]=o.cssClasses.markerSub;var a=[o.cssClasses.valueHorizontal,o.cssClasses.valueVertical],l=[o.cssClasses.markerHorizontal,o.cssClasses.markerVertical];function h(t,e){var i=e===o.cssClasses.value,n=i?s:r;return e+" "+(i?a:l)[o.ort]+" "+n[t]}return c(n,o.cssClasses.pips),c(n,0===o.ort?o.cssClasses.pipsHorizontal:o.cssClasses.pipsVertical),Object.keys(t).forEach(function(s){!function(t,s,r){if((r=e?e(s,r):r)!==O){var a=B(n,!1);a.className=h(r,o.cssClasses.marker),a.style[o.style]=t+"%",M<r&&((a=B(n,!1)).className=h(r,o.cssClasses.value),a.setAttribute("data-value",s),a.style[o.style]=t+"%",a.innerHTML=i.to(s))}}(s,t[s][0],t[s][1])}),n}function V(){m&&(e(m),m=null)}function G(e){V();var i,n,o,s,r,a,l,c,h,d=e.mode,u=e.density||1,p=e.filter||!1,f=function(e,i,n){if("range"===e||"steps"===e)return T.xVal;if("count"===e){if(i<2)throw new Error("noUiSlider ("+t+"): 'values' (>= 2) required for mode 'count'.");var o=i-1,s=100/o;for(i=[];o--;)i[o]=o*s;i.push(100),e="positions"}return"positions"===e?i.map(function(t){return T.fromStepping(n?T.getStep(t):t)}):"values"===e?n?i.map(function(t){return T.fromStepping(T.getStep(T.toStepping(t)))}):i:void 0}(d,e.values||!1,e.stepped||!1),_=(i=u,n=d,o=f,s={},r=T.xVal[0],a=T.xVal[T.xVal.length-1],c=l=!1,h=0,(o=o.slice().sort(function(t,e){return t-e}).filter(function(t){return!this[t]&&(this[t]=!0)},{}))[0]!==r&&(o.unshift(r),l=!0),o[o.length-1]!==a&&(o.push(a),c=!0),o.forEach(function(t,e){var r,a,d,u,p,f,m,_,g,v,y=t,b=o[e+1],w="steps"===n;if(w&&(r=T.xNumSteps[e]),r||(r=b-y),!1!==y&&void 0!==b)for(r=Math.max(r,1e-7),a=y;a<=b;a=(a+r).toFixed(7)/1){for(_=(p=(u=T.toStepping(a))-h)/i,v=p/(g=Math.round(_)),d=1;d<=g;d+=1)s[(f=h+d*v).toFixed(5)]=[T.fromStepping(f),0];m=-1<o.indexOf(a)?z:w?I:M,!e&&l&&(m=0),a===b&&c||(s[u.toFixed(5)]=[a,m]),h=u}}),s),g=e.format||{to:Math.round};return m=x.appendChild(q(_,p,g))}function X(){var t=u.getBoundingClientRect(),e="offset"+["Width","Height"][o.ort];return 0===o.ort?t.width||u[e]:t.height||u[e]}function Y(t,e,i,n){var s=function(s){return!!(s=function(t,e,i){var n,o,s=0===t.type.indexOf("touch"),r=0===t.type.indexOf("mouse"),a=0===t.type.indexOf("pointer");if(0===t.type.indexOf("MSPointer")&&(a=!0),s){var l=function(t){return t.target===i||i.contains(t.target)};if("touchstart"===t.type){var c=Array.prototype.filter.call(t.touches,l);if(1<c.length)return!1;n=c[0].pageX,o=c[0].pageY}else{var h=Array.prototype.find.call(t.changedTouches,l);if(!h)return!1;n=h.pageX,o=h.pageY}}return e=e||d(P),(r||a)&&(n=t.clientX+e.x,o=t.clientY+e.y),t.pageOffset=e,t.points=[n,o],t.cursor=r||a,t}(s,n.pageOffset,n.target||e))&&!(Z()&&!n.doNotReject)&&(r=x,a=o.cssClasse
2s.tap,!((r.classList?r.classList.contains(a):new RegExp("\\b"+a+"\\b").test(r.className))&&!n.doNotReject)&&!(t===b.start&&void 0!==s.buttons&&1<s.buttons)&&(!n.hover||!s.buttons)&&(w||s.preventDefault(),s.calcPoint=s.points[o.ort],void i(s,n)));var r,a},r=[];return t.split(" ").forEach(function(t){e.addEventListener(t,s,!!w&&{passive:!0}),r.push([t,s])}),r}function J(t){var e,i,n,s,a,l,c=100*(t-(e=u,i=o.ort,n=e.getBoundingClientRect(),a=(s=e.ownerDocument).documentElement,l=d(s),/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(l.x=0),i?n.top+l.y-a.clientTop:n.left+l.x-a.clientLeft))/X();return c=r(c),o.dir?100-c:c}function K(t,e){"mouseout"===t.type&&"HTML"===t.target.nodeName&&null===t.relatedTarget&&tt(t,e)}function Q(t,e){if(-1===navigator.appVersion.indexOf("MSIE 9")&&0===t.buttons&&0!==e.buttonsProperty)return tt(t,e);var i=(o.dir?-1:1)*(t.calcPoint-e.startCalcPoint);at(0<i,100*i/e.baseSize,e.locations,e.handleNumbers)}function tt(t,e){e.handle&&(h(e.handle,o.cssClasses.active),S-=1),e.listeners.forEach(function(t){A.removeEventListener(t[0],t[1])}),0===S&&(h(x,o.cssClasses.drag),ct(),t.cursor&&(D.style.cursor="",D.removeEventListener("selectstart",n))),e.handleNumbers.forEach(function(t){ot("change",t),ot("set",t),ot("end",t)})}function et(t,e){if(e.handleNumbers.some(H))return!1;var i;1===e.handleNumbers.length&&(i=p[e.handleNumbers[0]].children[0],S+=1,c(i,o.cssClasses.active)),t.stopPropagation();var s=[],r=Y(b.move,A,Q,{target:t.target,handle:i,listeners:s,startCalcPoint:t.calcPoint,baseSize:X(),pageOffset:t.pageOffset,handleNumbers:e.handleNumbers,buttonsProperty:t.buttons,locations:L.slice()}),a=Y(b.end,A,tt,{target:t.target,handle:i,listeners:s,doNotReject:!0,handleNumbers:e.handleNumbers}),l=Y("mouseout",A,K,{target:t.target,handle:i,listeners:s,doNotReject:!0,handleNumbers:e.handleNumbers});s.push.apply(s,r.concat(a,l)),t.cursor&&(D.style.cursor=getComputedStyle(t.target).cursor,1<p.length&&c(x,o.cssClasses.drag),D.addEventListener("selectstart",n,!1)),e.handleNumbers.forEach(function(t){ot("start",t)})}function it(t,e){E[t]=E[t]||[],E[t].push(e),"update"===t.split(".")[0]&&p.forEach(function(t,e){ot("update",e)})}function nt(t){var e=t&&t.split(".")[0],i=e&&t.substring(e.length);
2Object.keys(E).forEach(function(t){var n=t.split(".")[0],o=t.substring(n.length);e&&e!==n||i&&i!==o||delete E[t]})}function ot(t,e,i){Object.keys(E).forEach(function(n){var s=n.split(".")[0];t===s&&E[n].forEach(function(t){t.call(g,C.map(o.format.to),e,C.slice(),i||!1,L.slice())})})}function st(t,e,i,n,s,a){return 1<p.length&&!o.events.unconstrained&&(n&&0<e&&(i=Math.max(i,t[e-1]+o.margin)),s&&e<p.length-1&&(i=Math.min(i,t[e+1]-o.margin))),1<p.length&&o.limit&&(n&&0<e&&(i=Math.min(i,t[e-1]+o.limit)),s&&e<p.length-1&&(i=Math.max(i,t[e+1]-o.limit))),o.padding&&(0===e&&(i=Math.max(i,o.padding[0])),e===p.length-1&&(i=Math.min(i,100-o.padding[1]))),!((i=r(i=T.getStep(i)))===t[e]&&!a)&&i}function rt(t,e){var i=o.ort;return(i?e:t)+", "+(i?t:e)}function at(t,e,i,n){var o=i.slice(),s=[!t,t],r=[t,!t];n=n.slice(),t&&n.reverse(),1<n.length?n.forEach(function(t,i){var n=st(o,t,o[t]+e,s[i],r[i],!1);!1===n?e=0:(e=n-o[t],o[t]=n)}):s=r=[!0];var a=!1;n.forEach(function(t,n){a=ht(t,i[t]+e,s[n],r[n])||a}),a&&n.forEach(function(t){ot("update",t),ot("slide",t)})}function lt(t,e){return o.dir?100-t-e:t}function ct(){k.forEach(function(t){var e=50<L[t]?-1:1,i=3+(p.length+e*t);p[t].style.zIndex=i})}function ht(t,e,i,n){return!1!==(e=st(L,t,e,i,n,!1))&&(function(t,e){L[t]=e,C[t]=T.fromStepping(e);var i="translate("+rt(10*(lt(e,0)-N)+"%","0")+")";p[t].style[o.transformRule]=i,dt(t),dt(t+1)}(t,e),!0)}function dt(t){if(f[t]){var e=0,i=100;0!==t&&(e=L[t-1]),t!==f.length-1&&(i=L[t]);var n=i-e,s="translate("+rt(lt(e,n)+"%","0")+")",r="scale("+rt(n/100,"1")+")";f[t].style[o.transformRule]=s+" "+r}}function ut(t,e){return null===t||!1===t||void 0===t?L[e]:("number"==typeof t&&(t=String(t)),t=o.format.from(t),!1===(t=T.toStepping(t))||isNaN(t)?L[e]:t)}function pt(t,e){var i=a(t),n=void 0===L[0];e=void 0===e||!!e,o.animate&&!n&&s(x,o.cssClasses.tap,o.animationDuration),k.forEach(function(t){ht(t,ut(i[t],t),!0,!1)});for(var r=1===k.length?0:1;r<k.length;++r)k.forEach(function(t){ht(t,L[t],!0,!0)});ct(),k.forEach(function(t){ot("update",t),null!==i[t]&&e&&ot("set",t)})}function ft(){var t=C.map(o.format.to);return 1===t.length?t[0]:t}function mt(t){var e=L[t],i=T.getNearbySteps(e),n=C[t],s=i.thisStep.step,r=null;if(o.snap)return[n-i.stepBefore.startValue||null,i.stepAfter.startValue-n||null];!1!==s&&n+s>i.stepAfter.startValue&&(s=i.stepAfter.startValue-n),r=n>i.thisStep.startValue?i.thisStep.step:!1!==i.stepBefore.step&&n-i.stepBefore.highestStep,100===e?s=null:0===e&&(r=null);var a=T.countStepDecimals();return null!==s&&!1!==s&&(s=Number(s.toFixed(a))),null!==r&&!1!==r&&(r=Number(r.toFixed(a))),[r,s]}return c(v=x,o.cssClasses.target),0===o.dir?c(v,o.cssClasses.ltr):c(v,o.cssClasses.rtl),0===o.ort?c(v,o.cssClasses.horizontal):c(v,o.cssClasses.vertical),c(v,"rtl"===getComputedStyle(v).direction?o.cssClasses.textDirectionRtl:o.cssClasses.textDirectionLtr),u=B(v,o.cssClasses.base),function(t,e){var i=B(e,o.cssClasses.connects);p=[],(f=[]).push(j(i,t[0]));for(var n=0;n<o.handles;n++)p.push(U(e,n)),k[n]=n,f.push(j(i,t[n+1]))}(o.connect,u),(y=o.events).fixed||p.forEach(function(t,e){Y(b.start,t.children[0],et,{handleNumbers:[e]})}),y.tap&&Y(b.start,u,function(t){t.stopPropagation();var e,i,n,r=J(t.calcPoint),a=(e=r,n=!(i=100),p.forEach(function(t,o){if(!H(o)){var s=L[o],r=Math.abs(s-e);(r<i||r<=i&&s<e||100===r&&100===i)&&(n=o,i=r)}}),n);if(!1===a)return!1;o.events.snap||s(x,o.cssClasses.tap,o.animationDuration),ht(a,r,!0,!0),ct(),ot("slide",a,!0),ot("update",a,!0),ot("change",a,!0),ot("set",a,!0),o.events.snap&&et(t,{handleNumbers:[a]})},{}),y.hover&&Y(b.move,u,function(t){var e=J(t.calcPoint),i=T.getStep(e),n=T.fromStepping(i);
2Object.keys(E).forEach(function(t){"hover"===t.split(".")[0]&&E[t].forEach(function(t){t.call(g,n)})})},{hover:!0}),y.drag&&f.forEach(function(t,e){if(!1!==t&&0!==e&&e!==f.length-1){var i=p[e-1],n=p[e],s=[t];c(t,o.cssClasses.draggable),y.fixed&&(s.push(i.children[0]),s.push(n.children[0])),s.forEach(function(t){Y(b.start,t,et,{handles:[i,n],handleNumbers:[e-1,e]})})}}),pt(o.start),o.pips&&G(o.pips),o.tooltips&&W(),it("update",function(t,e,i,n,s){k.forEach(function(t){var e=p[t],n=st(L,t,0,!0,!0,!0),r=st(L,t,100,!0,!0,!0),a=s[t],l=o.ariaFormat.to(i[t]);n=T.fromStepping(n).toFixed(1),r=T.fromStepping(r).toFixed(1),a=T.fromStepping(a).toFixed(1),e.children[0].setAttribute("aria-valuemin",n),e.children[0].setAttribute("aria-valuemax",r),e.children[0].setAttribute("aria-valuenow",a),e.children[0].setAttribute("aria-valuetext",l)})}),g={destroy:function(){for(var t in o.cssClasses)o.cssClasses.hasOwnProperty(t)&&h(x,o.cssClasses[t]);for(;x.firstChild;)x.removeChild(x.firstChild);delete x.noUiSlider},steps:function(){return k.map(mt)},on:it,off:nt,get:ft,set:pt,setHandle:function(e,i,n){if(!(0<=(e=Number(e))&&e<k.length))throw new Error("noUiSlider ("+t+"): invalid handle number, got: "+e);ht(e,ut(i,e),!0,!0),ot("update",e),n&&ot("set",e)},reset:function(t){pt(o.start,t)},__moveHandles:function(t,e,i){at(t,e,L,i)},options:l,updateOptions:function(t,e){var i=ft(),n=["margin","limit","padding","range","animate","snap","step","format","pips","tooltips"];n.forEach(function(e){void 0!==t[e]&&(l[e]=t[e])});var s=R(l);n.forEach(function(e){void 0!==t[e]&&(o[e]=s[e])}),T=s.spectrum,o.margin=s.margin,o.limit=s.limit,o.padding=s.padding,o.pips?G(o.pips):V(),o.tooltips?W():F(),L=[],pt(t.start||i,e)},target:x,removePips:V,removeTooltips:F,pips:G}}(i,R(o),o);return i.noUiSlider=l}}}),function(t,e){"use strict";var i=t.jQuery||t.Zepto,n=0,o=!1;function s(n,s,r,a,l){var c=0,h=-1,d=-1,u=!1,p="afterLoad",f="load",m="error",_="img",g="src",v="srcset",y="sizes",b="background-image";function w(){var e,o,c,p;u=t.devicePixelRatio>1,r=x(r),s.delay>=0&&setTimeout(function(){T(!0)},s.delay),(s.delay<0||s.combined)&&(a.e=(e=s.throttle,o=function(t){"resize"===t.type&&(h=d=-1),T(t.all)},p=0,function(t,i){var r=+new Date-p;function a(){p=+new Date,o.call(n,t)}c&&clearTimeout(c),r>e||!s.enableThrottle||i?a():c=setTimeout(a,e-r)}),a.a=function(t){t=x(t),r.push.apply(r,t)},a.g=function(){return r=i(r).filter(function(){return!i(this).data(s.loadedName)})},a.f=function(t){for(var e=0;e<t.length;e++){var i=r.filter(function(){return this===t[e]});i.length&&T(!1,i)}},T(),i(s.appendScroll).on("scroll."+l+" resize."+l,a.e))}function x(t){for(var o=s.defaultImage,r=s.placeholder,a=s.imageBase,l=s.srcsetAttribute,c=s.loaderAttribute,h=s._f||{},d=0,u=(t=i(t).filter(function(){var t=i(this),n=k(this);return!t.data(s.handledName)&&(t.attr(s.attribute)||t.attr(l)||t.attr(c)||h[n]!==e)}).data("plugin_"+s.name,n)).length;d<u;d++){var p=i(t[d]),f=k(t[d]),m=p.attr(s.imageBaseAttribute)||a;f===_&&m&&p.attr(l)&&p.attr(l,S(p.attr(l),m)),h[f]===e||p.attr(c)||p.attr(c,h[f]),f===_&&o&&!p.attr(g)?p.attr(g,o):f===_||!r||p.css(b)&&"none"!==p.css(b)||p.css(b,"url('"+r+"')")}return t}function T(t,e){if(r.length){for(var o=e||r,a=!1,l=s.imageBase||"",c=s.srcsetAttribute,h=s.handledName,d=0;d<o.length;d++)if(t||e||L(o[d])){var u=i(o[d]),p=k(o[d]),f=u.attr(s.attribute),m=u.attr(s.imageBaseAttribute)||l,y=u.attr(s.loaderAttribute);u.data(h)||s.visibleOnly&&!u.is(":visible")||!((f||u.attr(c))&&(p===_&&(m+f!==u.attr(g)||u.attr(c)!==u.attr(v))||p!==_&&m+f!==u.css(b))||y)||(a=!0,u.data(h,!0),C(u,p,m,y))}a&&(r=i(r).filter(function(){return!i(this).data(h)}))}else s.autoDestroy&&n.destroy()}function C(t,e,n,o){++c;var r=function(){P("onError",t),E(),r=i.noop};P("beforeLoad",t);var a=s.attribute,l=s.srcsetAttribute,h=s.sizesAttribute,d=s.retinaAttribute,w=s.removeAttribute,x=s.loadedName,T=t.attr(d);if(o){var C=function(){w&&t.removeAttr(s.loaderAttribute),t.data(x,!0),P(p,t),setTimeout(E,1),C=i.noop};t.off(m).one(m,r).one(f,C),P(o,t,function(e){e?(t.off(f),C()):(t.off(m),r())})||t.trigger(m)}else{var L=i(new Image);L.one(m,r).one(f,function(){t.hide(),e===_?t.attr(y,L.attr(y)).attr(v,L.attr(v)).attr(g,L.attr(g)):t.css(b,"url('"+L.attr(g)+"')"),t[s.effect](s.effectTime),w&&(t.removeAttr(a+" "+l+" "+d+" "+s.imageBaseAttribute),h!==y&&t.removeAttr(h)),t.data(x,!0),P(p,t),L.remove(),E()});var k=(u&&T?T:t.attr(a))||"";
2L.attr(y,t.attr(h)).attr(v,t.attr(l)).attr(g,k?n+k:null),L.complete&&L.trigger(f)}}function L(e){var n=e.getBoundingClientRect(),o=s.scrollDirection,r=s.threshold,a=(d>=0?d:d=i(t).height())+r>n.top&&-r<n.bottom,l=(h>=0?h:h=i(t).width())+r>n.left&&-r<n.right;return"vertical"===o?a:"horizontal"===o?l:a&&l}function k(t){return t.tagName.toLowerCase()}function S(t,e){if(e){var i=t.split(",");t="";for(var n=0,o=i.length;n<o;n++)t+=e+i[n].trim()+(n!==o-1?",":"")}return t}function E(){--c,r.length||c||P("onFinishedAll")}function P(t,e,i){return!!(t=s[t])&&(t.apply(n,[].slice.call(arguments,1)),!0)}"event"===s.bind||o?w():i(t).on(f+"."+l,w)}function r(o,r){var a=this,l=i.extend({},a.config,r),c={},h=l.name+"-"+ ++n;return a.config=function(t,i){return i===e?l[t]:(l[t]=i,a)},a.addItems=function(t){return c.a&&c.a("string"===i.type(t)?i(t):t),a},a.getItems=function(){return c.g?c.g():{}},a.update=function(t){return c.e&&c.e({},!t),a},a.force=function(t){return c.f&&c.f("string"===i.type(t)?i(t):t),a},a.loadAll=function(){return c.e&&c.e({all:!0},!0),a},a.destroy=function(){return i(l.appendScroll).off("."+h,c.e),i(t).off("."+h),c={},e},s(a,l,o,c,h),l.chainable?o:a}i.fn.Lazy=i.fn.lazy=function(t){return new r(this,t)},i.Lazy=i.lazy=function(t,n,o){if(i.isFunction(n)&&(o=n,n=[]),i.isFunction(o)){t=i.isArray(t)?t:[t],n=i.isArray(n)?n:[n];for(var s=r.prototype.config,a=s._f||(s._f={}),l=0,c=t.length;l<c;l++)(s[t[l]]===e||i.isFunction(s[t[l]]))&&(s[t[l]]=o);for(var h=0,d=n.length;h<d;h++)a[n[h]]=t[0]}},r.prototype.config={name:"lazy",chainable:!0,autoDestroy:!0,bind:"load",threshold:500,visibleOnly:!1,appendScroll:t,scrollDirection:"both",imageBase:null,defaultImage:"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",placeholder:null,delay:-1,combined:!1,attribute:"data-src",srcsetAttribute:"data-srcset",sizesAttribute:"data-sizes",retinaAttribute:"data-retina",loaderAttribute:"data-loader",imageBaseAttribute:"data-imagebase",removeAttribute:!0,handledName:"handled",loadedName:"loaded",effect:"show",effectTime:0,enableThrottle:!0,throttle:250,beforeLoad:e,afterLoad:e,onError:e,onFinishedAll:e},i(t).on("load",function(){o=!0})}(window),function(t){t.lazy(["frame","iframe"],"iframe",function(e,i){var n=this;if("iframe"===e[0].tagName.toLowerCase()){var o=e.attr("data-error-detect");"true"!==o&&"1"!==o?(e.attr("src",e.attr("data-src")),n.config("removeAttribute")&&e.removeAttr("data-src data-error-detect")):t.ajax({url:e.attr("data-src"),dataType:"html",crossDomain:!0,xhrFields:{withCredentials:!0},success:function(t){e.html(t).attr("src",e.attr("data-src")),n.config("removeAttribute")&&e.removeAttr("data-src data-error-detect")},error:function(){i(!1)}})}else i(!1)})}(window.jQuery||window.Zepto),(window.jQuery||window.Zepto).lazy(["yt","youtube"],function(t,e){if("iframe"===t[0].tagName.toLowerCase()){var i=/1|true/.test(t.attr("data-nocookie"));t.attr("src","https://www.youtube"+(i?"-nocookie":"")+".com/embed/"+t.attr("data-src")+"?rel=0&showinfo=0"),this.config("removeAttribute")&&t.removeAttr("data-src")}else e(!1)}),(window.jQuery||window.Zepto).lazy("vimeo",function(t,e){"iframe"===t[0].tagName.toLowerCase()?(t.attr("src","https://player.vimeo.com/video/"+t.attr("data-src")),this.config("removeAttribute")&&t.removeAttr("data-src")):e(!1)}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).Popper={})}(this,function(t){function e(t,e){return{width:(t=t.getBoundingClientRect()).width/1,height:t.height/1,top:t.top/1,right:t.right/1,bottom:t.bottom/1,left:t.left/1,x:t.left/1,y:t.top/1}}function i(t){return null==t?window:"[object Window]"!==t.toString()?(t=t.ownerDocument)&&t.defaultView||window:t}function n(t){return{scrollLeft:(t=i(t)).pageXOffset,scrollTop:t.pageYOffset}}function o(t){return t instanceof i(t).Element||t instanceof Element}function s(t){return t instanceof i(t).HTMLElement||t instanceof HTMLElement}function r(t){return"undefined"!=typeof ShadowRoot&&(t instanceof i(t).ShadowRoot||t instanceof ShadowRoot)}
2function a(t){return t?(t.nodeName||"").toLowerCase():null}function l(t){return((o(t)?t.ownerDocument:t.document)||window.document).documentElement}function c(t){return e(l(t)).left+n(t).scrollLeft}function h(t){return i(t).getComputedStyle(t)}function d(t){return t=h(t),/auto|scroll|overlay|hidden/.test(t.overflow+t.overflowY+t.overflowX)}function u(t,o,r){void 0===r&&(r=!1);var h=s(o);s(o)&&o.getBoundingClientRect();var u=l(o);t=e(t);var p={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(h||!h&&!r)&&(("body"!==a(o)||d(u))&&(p=o!==i(o)&&s(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:n(o)),s(o)?((f=e(o)).x+=o.clientLeft,f.y+=o.clientTop):u&&(f.x=c(u))),{x:t.left+p.scrollLeft-f.x,y:t.top+p.scrollTop-f.y,width:t.width,height:t.height}}function p(t){var i=e(t),n=t.offsetWidth,o=t.offsetHeight;return 1>=Math.abs(i.width-n)&&(n=i.width),1>=Math.abs(i.height-o)&&(o=i.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:o}}function f(t){return"html"===a(t)?t:t.assignedSlot||t.parentNode||(r(t)?t.host:null)||l(t)}function m(t,e){var n;void 0===e&&(e=[]);var o=function r(t){return 0<=["html","body","#document"].indexOf(a(t))?t.ownerDocument.body:s(t)&&d(t)?t:r(f(t))}(t);return t=o===(null==(n=t.ownerDocument)?void 0:n.body),n=i(o),o=t?[n].concat(n.visualViewport||[],d(o)?o:[]):o,e=e.concat(o),t?e:e.concat(m(f(o)))}function _(t){return s(t)&&"fixed"!==h(t).position?t.offsetParent:null}function g(t){for(var e=i(t),n=_(t);n&&0<=["table","td","th"].indexOf(a(n))&&"static"===h(n).position;)n=_(n);if(n&&("html"===a(n)||"body"===a(n)&&"static"===h(n).position))return e;if(!n)t:{if(n=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),-1===navigator.userAgent.indexOf("Trident")||!s(t)||"fixed"!==h(t).position)for(t=f(t);s(t)&&0>["html","body"].indexOf(a(t));){var o=h(t);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||n&&"filter"===o.willChange||n&&o.filter&&"none"!==o.filter){n=t;break t}t=t.parentNode}n=null}return n||e}function v(t){var e=new Map,i=new Set,n=[];return t.forEach(function(t){e.set(t.name,t)}),t.forEach(function(t){i.has(t.name)||function o(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){i.has(t)||(t=e.get(t))&&o(t)}),n.push(t)}(t)}),n}function y(t){return t.split("-")[0]}function b(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&r(i))do{if(e&&t.isSameNode(e))return!0;e=e.parentNode||e.host}while(e);return!1}function w(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function x(t,o){if("viewport"===o){o=i(t);var r=l(t);o=o.visualViewport;var a=r.clientWidth;r=r.clientHeight;var d=0,u=0;o&&(a=o.width,r=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(d=o.offsetLeft,u=o.offsetTop)),t=w(t={width:a,height:r,x:d+c(t),y:u})}else s(o)?((t=e(o)).top+=o.clientTop,t.left+=o.clientLeft,t.bottom=t.top+o.clientHeight,t.right=t.left+o.clientWidth,t.width=o.clientWidth,t.height=o.clientHeight,t.x=t.left,t.y=t.top):(t=l(u=l(t)),a=n(u),o=null==(r=u.ownerDocument)?void 0:r.body,r=$(t.scrollWidth,t.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),d=$(t.scrollHeight,t.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-a.scrollLeft+c(u),a=-a.scrollTop,"rtl"===h(o||t).direction&&(u+=$(t.clientWidth,o?o.clientWidth:0)-r),t=w({width:r,height:d,x:u,y:a}));return t}function T(t,e,i){return e="clippingParents"===e?function(t){var e=m(f(t)),i=0<=["absolute","fixed"].indexOf(h(t).position)&&s(t)?g(t):t;return o(i)?e.filter(function(t){return o(t)&&b(t,i)&&"body"!==a(t)}):[]}(t):[].concat(e),(i=(i=[].concat(e,[i])).reduce(function(e,i){return i=x(t,i),e.top=$(i.top,e.top),e.right=Z(i.right,e.right),e.bottom=Z(i.bottom,e.bottom),e.left=$(i.left,e.left),e},x(t,i[0]))).width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function C(t){return t.split("-")[1]}function L(t){return 0<=["top","bottom"].indexOf(t)?"x":"y"}function k(t){var e=t.reference,i=t.element,n=(t=t.placement)?y(t):null;t=t?C(t):null;var o=e.x+e.width/2-i.width/2,s=e.y+e.height/2-i.height/2;switch(n){case"top":o={x:o,y:e.y-i.height};break;case"bottom":o={x:o,y:e.y+e.height};break;case"right":o={x:e.x+e.width,y:s};break;case"left":o={x:e.x-i.width,y:s};break;default:o={x:e.x,y:e.y}}if(null!=(n=n?L(n):null))switch(s="y"===n?"height":"width",t){case"start":o[n]-=e[s]/2-i[s]/2;break;case"end":o[n]+=e[s]/2-i[s]/2}return o}function S(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function E(t,e){return e.reduce(function(e,i){return e[i]=t,e},{})}function P(t,i){void 0===i&&(i={});var n=i;i=void 0===(i=n.placement)?t.placement:i;var s=n.boundary,r=void 0===s?"clippingParents":s,a=void 0===(s=n.rootBoundary)?"viewport":s;s=void 0===(s=n.elementContext)?"popper":s;var c=n.altBoundary,h=void 0!==c&&c;n=S("number"!=typeof(n=void 0===(n=n.padding)?0:n)?n:E(n,B)),c=t.rects.popper,r=T(o(h=t.elements[h?"popper"===s?"reference":"popper":s])?h:h.contextElement||l(t.elements.popper),r,a),h=k({reference:a=e(t.elements.reference),element:c,strategy:"absolute",placement:i}),c=w(Object.assign({},c,h)),a="popper"===s?c:a;var d={top:r.top-a.top+n.top,bottom:a.bottom-r.bottom+n.bottom,left:r.left-a.left+n.left,right:a.right-r.right+n.right};if(t=t.modifiersData.offset,"popper"===s&&t){var u=t[i];
2Object.keys(d).forEach(function(t){var e=0<=["right","bottom"].indexOf(t)?1:-1,i=0<=["top","bottom"].indexOf(t)?"y":"x";d[t]+=u[i]*e})}return d}function A(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];return!e.some(function(t){return!(t&&"function"==typeof t.getBoundingClientRect)})}function D(t){void 0===t&&(t={});var e=t.defaultModifiers,i=void 0===e?[]:e,n=void 0===(t=t.defaultOptions)?F:t;return function(t,e,s){function r(){l.forEach(function(t){return t()}),l=[]}void 0===s&&(s=n);var a={placement:"bottom",orderedModifiers:[],options:Object.assign({},F,n),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],c=!1,h={state:a,setOptions:function(s){return s="function"==typeof s?s(a.options):s,r(),a.options=Object.assign({},n,a.options,s),a.scrollParents={reference:o(t)?m(t):t.contextElement?m(t.contextElement):[],popper:m(e)},s=function(t){var e=v(t);return R.reduce(function(t,i){return t.concat(e.filter(function(t){return t.phase===i}))},[])}(function(t){var e=[].concat(i,a.options.modifiers).reduce(function(t,e){var i=t[e.name];return t[e.name]=i?Object.assign({},i,e,{options:Object.assign({},i.options,e.options),data:Object.assign({},i.data,e.data)}):e,t},{});return Object.keys(e).map(function(t){return e[t]})}()),a.orderedModifiers=s.filter(function(t){return t.enabled}),a.orderedModifiers.forEach(function(t){var e=t.name,i=t.options;i=void 0===i?{}:i,"function"==typeof(t=t.effect)&&(e=t({state:a,name:e,instance:h,options:i}),l.push(e||function(){}))}),h.update()},forceUpdate:function(){if(!c){var t=a.elements,e=t.reference;if(A(e,t=t.popper))for(a.rects={reference:u(e,g(t),"fixed"===a.options.strategy),popper:p(t)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}),e=0;e<a.orderedModifiers.length;e++)if(!0===a.reset)a.reset=!1,e=-1;else{var i=a.orderedModifiers[e];t=i.fn;var n=i.options;n=void 0===n?{}:n,i=i.name,"function"==typeof t&&(a=t({state:a,options:n,name:i,instance:h})||a)}}},update:function(t){var e;return function(){return e||(e=new Promise(function(i){Promise.resolve().then(function(){e=void 0,i(t())})})),e}}(function(){return new Promise(function(t){h.forceUpdate(),t(a)})}),destroy:function(){r(),c=!0}};return A(t,e)?(h.setOptions(s).then(function(t){!c&&s.onFirstUpdate&&s.onFirstUpdate(t)}),h):h}}function O(t){var e,n=t.popper,o=t.popperRect,s=t.placement,r=t.variation,a=t.offsets,c=t.position,d=t.gpuAcceleration,u=t.adaptive;if(!0===(t=t.roundOffsets)){t=a.y;var p=window.devicePixelRatio||1;t={x:H(H(a.x*p)/p)||0,y:H(H(t*p)/p)||0}}else t="function"==typeof t?t(a):a;t=void 0===(t=(p=t).x)?0:t,p=void 0===(p=p.y)?0:p;var f=a.hasOwnProperty("x");a=a.hasOwnProperty("y");var m,_="left",v="top",y=window;if(u){var b=g(n),w="clientHeight",x="clientWidth";b===i(n)&&"static"!==h(b=l(n)).position&&"absolute"===c&&(w="scrollHeight",x="scrollWidth"),"top"!==s&&("left"!==s&&"right"!==s||"end"!==r)||(v="bottom",p-=b[w]-o.height,p*=d?1:-1),"left"!==s&&("top"!==s&&"bottom"!==s||"end"!==r)||(_="right",t-=b[x]-o.width,t*=d?1:-1)}return n=Object.assign({position:c},u&&G),d?Object.assign({},n,((m={})[v]=a?"0":"",m[_]=f?"0":"",m.transform=1>=(y.devicePixelRatio||1)?"translate("+t+"px, "+p+"px)":"translate3d("+t+"px, "+p+"px, 0)",m)):Object.assign({},n,((e={})[v]=a?p+"px":"",e[_]=f?t+"px":"",e.transform="",e))}function M(t){return t.replace(/left|right|bottom|top/g,function(t){return K[t]})}function z(t){return t.replace(/start|end/g,function(t){return Q[t]})}function I(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function N(t){return["top","right","bottom","left"].some(function(e){return 0<=t[e]})}var B=["top","bottom","right","left"],U=B.reduce(function(t,e){return t.concat([e+"-start",e+"-end"])},[]),j=[].concat(B,["auto"]).reduce(function(t,e){return t.concat([e,e+"-start",e+"-end"])},[]),R="beforeRead read afterRead beforeMain main afterMain beforeWrite write afterWrite".split(" "),$=Math.max,Z=Math.min,H=Math.round,F={placement:"bottom",modifiers:[],strategy:"absolute"},W={passive:!0},q={name:"eventListeners",enabled:!0,phase:"write",fn:function(){}
2,effect:function(t){var e=t.state,n=t.instance,o=(t=t.options).scroll,s=void 0===o||o,r=void 0===(t=t.resize)||t,a=i(e.elements.popper),l=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&l.forEach(function(t){t.addEventListener("scroll",n.update,W)}),r&&a.addEventListener("resize",n.update,W),function(){s&&l.forEach(function(t){t.removeEventListener("scroll",n.update,W)}),r&&a.removeEventListener("resize",n.update,W)}},data:{}},V={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state;e.modifiersData[t.name]=k({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},G={top:"auto",right:"auto",bottom:"auto",left:"auto"},X={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options;t=void 0===(t=i.gpuAcceleration)||t;var n=i.adaptive;n=void 0===n||n,i=void 0===(i=i.roundOffsets)||i,t={placement:y(e.placement),variation:C(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:t},null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,O(Object.assign({},t,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:n,roundOffsets:i})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,O(Object.assign({},t,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:i})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},Y={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach(function(t){var i=e.styles[t]||{},n=e.attributes[t]||{},o=e.elements[t];s(o)&&a(o)&&(Object.assign(o.style,i),Object.keys(n).forEach(function(t){var e=n[t];!1===e?o.removeAttribute(t):o.setAttribute(t,!0===e?"":e)}))})},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach(function(t){var n=e.elements[t],o=e.attributes[t]||{};t=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce(function(t,e){return t[e]="",t},{}),s(n)&&a(n)&&(Object.assign(n.style,t),Object.keys(o).forEach(function(t){n.removeAttribute(t)}))})}},requires:["computeStyles"]},J={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.name,n=void 0===(t=t.options.offset)?[0,0]:t,o=(t=j.reduce(function(t,i){var o=e.rects,s=y(i),r=0<=["left","top"].indexOf(s)?-1:1,a="function"==typeof n?n(Object.assign({},o,{placement:i})):n;return o=(o=a[0])||0,a=((a=a[1])||0)*r,s=0<=["left","right"].indexOf(s)?{x:a,y:o}:{x:o,y:a},t[i]=s,t},{}))[e.placement],s=o.x;o=o.y,null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=s,e.modifiersData.popperOffsets.y+=o),e.modifiersData[i]=t}},K={left:"right",right:"left",bottom:"top",top:"bottom"},Q={start:"end",end:"start"},tt={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options;if(t=t.name,!e.modifiersData[t]._skip){var n=i.mainAxis;n=void 0===n||n;var o=i.altAxis;o=void 0===o||o;var s=i.fallbackPlacements,r=i.padding,a=i.boundary,l=i.rootBoundary,c=i.altBoundary,h=i.flipVariations,d=void 0===h||h,u=i.allowedAutoPlacements;h=y(i=e.options.placement),s=s||(h!==i&&d?function(t){if("auto"===y(t))return[];var e=M(t);return[z(t),e,z(e)]}(i):[M(i)]);var p=[i].concat(s).reduce(function(t,i){return t.concat("auto"===y(i)?function(t,e){void 0===e&&(e={});var i=e.boundary,n=e.rootBoundary,o=e.padding,s=e.flipVariations,r=e.allowedAutoPlacements,a=void 0===r?j:r,l=C(e.placement);0===(s=(e=l?s?U:U.filter(function(t){return C(t)===l}):B).filter(function(t){return 0<=a.indexOf(t)})).length&&(s=e);var c=s.reduce(function(e,s){return e[s]=P(t,{placement:s,boundary:i,rootBoundary:n,padding:o})[y(s)],e},{});return Object.keys(c).sort(function(t,e){return c[t]-c[e]})}(e,{placement:i,boundary:a,rootBoundary:l,padding:r,flipVariations:d,allowedAutoPlacements:u}):i)},[]);i=e.rects.reference,s=e.rects.popper;var f=new Map;h=!0;for(var m=p[0],_=0;_<p.length;_++){var g=p[_],v=y(g),b="start"===C(g),w=0<=["top","bottom"].indexOf(v),x=w?"width":"height",T=P(e,{placement:g,boundary:a,rootBoundary:l,altBoundary:c,padding:r});if(b=w?b?"right":"left":b?"bottom":"top",i[x]>s[x]&&(b=M(b)),x=M(b),w=[],n&&w.push(0>=T[v]),o&&w.push(0>=T[b],0>=T[x]),w.every(function(t){return t})){m=g,h=!1;break}f.set(g,w)}if(h)for(n=function(t){var e=p.find(function(e){if(e=f.get(e))return e.slice(0,t).every(function(t){return t})});if(e)return m=e,"break"},o=d?3:1;0<o&&"break"!==n(o);o--);e.placement!==m&&(e.modifiersData[t]._skip=!0,e.placement=m,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},et={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options;t=t.name;var n=i.mainAxis,o=void 0===n||n,s=void 0!==(n=i.altAxis)&&n;n=void 0===(n=i.tether)||n;var r=i.tetherOffset,a=void 0===r?0:r,l=P(e,{boundary:i.boundary,rootBoundary:i.rootBoundary,padding:i.padding,altBoundary:i.altBoundary});i=y(e.placement);var c=C(e.placement),h=!c,d=L(i);i="x"===d?"y":"x",r=e.modifiersData.popperOffsets;var u=e.rects.reference,f=e.rects.popper,m="function"==typeof a?a(Object.assign({},e.rects,{placement:e.placement})):a;if(a={x:0,y:0},r){if(o||s){var _="y"===d?"top":"left",v="y"===d?"bottom":"right",b="y"===d?"height":"width",w=r[d
2],x=r[d]+l[_],T=r[d]-l[v],k=n?-f[b]/2:0,S="start"===c?u[b]:f[b];c="start"===c?-f[b]:-u[b],f=e.elements.arrow,f=n&&f?p(f):{width:0,height:0};var E=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0};_=E[_],v=E[v],f=$(0,Z(u[b],f[b])),S=h?u[b]/2-k-f-_-m:S-f-_-m,u=h?-u[b]/2+k+f+v+m:c+f+v+m,h=e.elements.arrow&&g(e.elements.arrow),m=e.modifiersData.offset?e.modifiersData.offset[e.placement][d]:0,h=r[d]+S-m-(h?"y"===d?h.clientTop||0:h.clientLeft||0:0),u=r[d]+u-m,o&&(o=n?Z(x,h):x,T=n?$(T,u):T,o=$(o,Z(w,T)),r[d]=o,a[d]=o-w),s&&(o=(s=r[i])+l["x"===d?"top":"left"],l=s-l["x"===d?"bottom":"right"],o=n?Z(o,h):o,n=n?$(l,u):l,n=$(o,Z(s,n)),r[i]=n,a[i]=n-s)}e.modifiersData[t]=a}},requiresIfExists:["offset"]},it={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,n=t.name,o=t.options,s=i.elements.arrow,r=i.modifiersData.popperOffsets,a=y(i.placement);if(t=L(a),a=0<=["left","right"].indexOf(a)?"height":"width",s&&r){o=S("number"!=typeof(o="function"==typeof(o=o.padding)?o(Object.assign({},i.rects,{placement:i.placement})):o)?o:E(o,B));var l=p(s),c="y"===t?"top":"left",h="y"===t?"bottom":"right",d=i.rects.reference[a]+i.rects.reference[t]-r[t]-i.rects.popper[a];r=r[t]-i.rects.reference[t],r=(s=(s=g(s))?"y"===t?s.clientHeight||0:s.clientWidth||0:0)/2-l[a]/2+(d/2-r/2),a=$(o[c],Z(r,s-l[a]-o[h])),i.modifiersData[n]=((e={})[t]=a,e.centerOffset=a-r,e)}},effect:function(t){var e=t.state;if(null!=(t=void 0===(t=t.options.element)?"[data-popper-arrow]":t)){if("string"==typeof t&&!(t=e.elements.popper.querySelector(t)))return;b(e.elements.popper,t)&&(e.elements.arrow=t)}},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},nt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state;t=t.name;var i=e.rects.reference,n=e.rects.popper,o=e.modifiersData.preventOverflow,s=P(e,{elementContext:"reference"}),r=P(e,{altBoundary:!0});i=I(s,i),n=I(r,n,o),o=N(i),r=N(n),e.modifiersData[t]={referenceClippingOffsets:i,popperEscapeOffsets:n,isReferenceHidden:o,hasPopperEscaped:r},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":o,"data-popper-escaped":r})}},ot=D({defaultModifiers:[q,V,X,Y]}),st=[q,V,X,Y,J,tt,et,it,nt],rt=D({defaultModifiers:st});t.applyStyles=Y,t.arrow=it,t.computeStyles=X,t.createPopper=rt,t.createPopperLite=ot,t.defaultModifiers=st,t.detectOverflow=P,t.eventListeners=q,t.flip=tt,t.hide=nt,t.offset=J,t.popperGenerator=D,t.popperOffsets=V,t.preventOverflow=et,Object.defineProperty(t,"__esModule",{value:!0})}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("@popperjs/core")):"function"==typeof define&&define.amd?define(["@popperjs/core"],e):(t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap=e(t.Popper)}(this,function(t){"use strict";const e=function(t){if(t&&t.__esModule)return t;const e=Object.create(null);if(t)for(const i in t)if("default"!==i){const n=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(e,i,n.get?n:{enumerable:!0,get:()=>t[i]})}return e["default"]=t,Object.freeze(e)}(t),i="transitionend",n=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),e=i&&"#"!==i?i.trim():null}return e},o=t=>{const e=n(t);return e&&document.querySelector(e)?e:null},s=t=>{const e=n(t);return e?document.querySelector(e):null},r=t=>{t.dispatchEvent(new Event(i))},a=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),l=t=>a(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(t):null,c=(t,e,i)=>
2{Object.keys(i).forEach(n=>{const o=i[n],s=e[n],r=s&&a(s)?"element":null==(l=s)?`${l}`:{}.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase();var l;if(!new RegExp(o).test(r))throw new TypeError(`${t.toUpperCase()}: Option "${n}" provided type "${r}" but expected type "${o}".`)})},h=t=>!(!a(t)||0===t.getClientRects().length)&&"visible"===getComputedStyle(t).getPropertyValue("visibility"),d=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),u=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?u(t.parentNode):null},p=()=>{},f=t=>{t.offsetHeight},m=()=>{const{jQuery:t}=window;return t&&!document.body.hasAttribute("data-bs-no-jquery")?t:null},_=[],g=()=>"rtl"===document.documentElement.dir,v=t=>{var e;e=(()=>{const e=m();if(e){const i=t.NAME,n=e.fn[i];e.fn[i]=t.jQueryInterface,e.fn[i].Constructor=t,e.fn[i].noConflict=(()=>(e.fn[i]=n,t.jQueryInterface))}}),"loading"===document.readyState?(_.length||document.addEventListener("DOMContentLoaded",()=>{_.forEach(t=>t())}),_.push(e)):e()},y=t=>{"function"==typeof t&&t()},b=(t,e,n=!0)=>{if(!n)return void y(t);const o=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);const n=Number.parseFloat(e),o=Number.parseFloat(i);return n||o?(e=e.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(i))):0})(e)+5;let s=!1;const a=({target:n})=>{n===e&&(s=!0,e.removeEventListener(i,a),y(t))};e.addEventListener(i,a),setTimeout(()=>{s||r(e)},o)},w=(t,e,i,n)=>{let o=t.indexOf(e);if(-1===o)return t[!i&&n?t.length-1:0];const s=t.length;return o+=i?1:-1,n&&(o=(o+s)%s),t[Math.max(0,Math.min(o,s-1))]},x=/[^.]*(?=\..*)\.|.*/,T=/\..*/,C=/::\d+$/,L={};let k=1;
2const S={mouseenter:"mouseover",mouseleave:"mouseout"},E=/^(mouseenter|mouseleave)/i,P=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function A(t,e){return e&&`${e}::${k++}`||t.uidEvent||k++}function D(t){const e=A(t);return t.uidEvent=e,L[e]=L[e]||{},L[e]}function O(t,e,i=null){const n=Object.keys(t);for(let o=0,s=n.length;o<s;o++){const s=t[n[o]];if(s.originalHandler===e&&s.delegationSelector===i)return s}return null}function M(t,e,i){const n="string"==typeof e,o=n?i:e;let s=N(t);return P.has(s)||(s=t),[n,o,s]}function z(t,e,i,n,o){if("string"!=typeof e||!t)return;if(i||(i=n,n=null),E.test(e)){const t=t=>(function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)});n?n=t(n):i=t(i)}const[s,r,a]=M(e,i,n),l=D(t),c=l[a]||(l[a]={}),h=O(c,r,s?i:null);if(h)return void(h.oneOff=h.oneOff&&o);const d=A(r,e.replace(x,"")),u=s?function(t,e,i){return function n(o){const s=t.querySelectorAll(e);for(let{target:r}=o;r&&r!==this;r=r.parentNode)for(let a=s.length;a--;)if(s[a]===r)return o.delegateTarget=r,n.oneOff&&B.off(t,o.type,e,i),i.apply(r,[o]);return null}}(t,i,n):function(t,e){return function i(n){return n.delegateTarget=t,i.oneOff&&B.off(t,n.type,e),e.apply(t,[n])}}(t,i);u.delegationSelector=s?i:null,u.originalHandler=r,u.oneOff=o,u.uidEvent=d,c[d]=u,t.addEventListener(a,u,s)}function I(t,e,i,n,o){const s=O(e[i],n,o);s&&(t.removeEventListener(i,s,Boolean(o)),delete e[i][s.uidEvent])}function N(t){return t=t.replace(T,""),S[t]||t}const B={on(t,e,i,n){z(t,e,i,n,!1)},one(t,e,i,n){z(t,e,i,n,!0)},off(t,e,i,n){if("string"!=typeof e||!t)return;const[o,s,r]=M(e,i,n),a=r!==e,l=D(t),c=e.startsWith(".");if(void 0!==s){if(!l||!l[r])return;return void I(t,l,r,s,o?i:null)}c&&Object.keys(l).forEach(i=>{!function(t,e,i,n){const o=e[i]||{};Object.keys(o).forEach(s=>{if(s.includes(n)){const n=o[s];I(t,e,i,n.originalHandler,n.delegationSelector)}})}(t,l,i,e.slice(1))});const h=l[r]||{};Object.keys(h).forEach(i=>{const n=i.replace(C,"");if(!a||e.includes(n)){const e=h[i];I(t,l,r,e.originalHandler,e.delegationSelector)}})},trigger(t,e,i){if("string"!=typeof e||!t)return null;const n=m(),o=N(e),s=e!==o,r=P.has(o);let a,l=!0,c=!0,h=!1,d=null;return s&&n&&(a=n.Event(e,i),n(t).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),h=a.isDefaultPrevented()),r?(d=document.createEvent("HTMLEvents")).initEvent(o,l,!0):d=new CustomEvent(e,{bubbles:l,cancelable:!0}
2),void 0!==i&&Object.keys(i).forEach(t=>{Object.defineProperty(d,t,{get:()=>i[t]})}),h&&d.preventDefault(),c&&t.dispatchEvent(d),d.defaultPrevented&&void 0!==a&&a.preventDefault(),d}},U=new Map,j={set(t,e,i){U.has(t)||U.set(t,new Map);const n=U.get(t);(n.has(e)||0===n.size)&&n.set(e,i)},get:(t,e)=>U.has(t)&&U.get(t).get(e)||null,remove(t,e){if(!U.has(t))return;const i=U.get(t);i["delete"](e),0===i.size&&U["delete"](t)}};class R{constructor(t){(t=l(t))&&(this._element=t,j.set(this._element,this.constructor.DATA_KEY,this))}dispose(){j.remove(this._element,this.constructor.DATA_KEY),B.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach(t=>{this[t]=null})}_queueCallback(t,e,i=!0){b(t,e,i)}static getInstance(t){return j.get(l(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.1.3"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}const $=(t,e="hide")=>{const i=`click.dismiss${t.EVENT_KEY}`,n=t.NAME;B.on(document,i,`[data-bs-dismiss="${n}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),d(this))return;const o=s(this)||this.closest(`.${n}`);t.getOrCreateInstance(o)[e]()})};class Z extends R{static get NAME(){return"alert"}close(){if(B.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),B.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(t){return this.each(function(){const e=Z.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}$(Z,"close"),v(Z);const H='[data-bs-toggle="button"]';class F extends R{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each(function(){const e=F.getOrCreateInstance(this);"toggle"===t&&e[t]()})}}function W(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function q(t){return t.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}B.on(document,"click.bs.button.data-api",H,t=>{t.preventDefault();const e=t.target.closest(H);F.getOrCreateInstance(e).toggle()}),v(F);const V={setDataAttribute(t,e,i){t.setAttribute(`data-bs-${q(e)}`,i)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${q(e)}`)},getDataAttributes(t){if(!t)return{};const e={};return Object.keys(t.dataset).filter(t=>t.startsWith("bs")).forEach(i=>{let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),e[n]=W(t.dataset[i])}),e},getDataAttribute:(t,e)=>W(t.getAttribute(`data-bs-${q(e)}`)),offset(t){const e=t.getBoundingClientRect();return{top:e.top+window.pageYOffset,left:e.left+window.pageXOffset}},position:t=>({top:t.offsetTop,left:t.offsetLeft})},G={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter(t=>t.matches(e)),parents(t,e){const i=[];let n=t.parentNode;for(;n&&n.nodeType===Node.ELEMENT_NODE&&3!==n.nodeType;)n.matches(e)&&i.push(n),n=n.parentNode;return i},prev(t,e){let i=t.previousElementSibling;for(;i;){if(i.matches(e))return[i];i=i.previousElementSibling}return[]},next(t,e){let i=t.nextElementSibling;for(;i;){if(i.matches(e))return[i];i=i.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>`${t}:not([tabindex^="-"])`).join(", ");return this.find(e,t).filter(t=>!d(t)&&h(t))}},X="carousel",Y={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},J={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},K="next",Q="prev",tt="left",et="right",it={ArrowLeft:et,ArrowRight:tt},nt="slid.bs.carousel",ot="active",st=".active.carousel-item";class rt extends R{constructor(t,e){super(t),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._indicatorsElement=G.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return Y}static get NAME(){return X}next(){this._slide(K)}nextWhenVisible(){!document.hidden&&h(this._element)&&this.next()}prev(){this._slide(Q)}pause(t){t||(this._isPaused=!0),G.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(r(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(t){this._activeElement=G.findOne(st,this._element);const e=this._getItemIndex(this._activeElement);if(t>this._items.length-1||t<0)return;if(this._isSliding)return void B.one(this._element,nt,()=>this.to(t));if(e===t)return this.pause(),void this.cycle();const i=t>e?K:Q;this._slide(i,this._items[t])}_getConfig(t){return t={...Y,...V.getDataAttributes(this._element),..."object"==typeof t?t:{}},c(X,t,J),t}_handleSwipe(){const t=Math.abs(this.touchDeltaX);if(t<=40)return;const e=t/this.touchDeltaX;this.touchDeltaX=0,e&&this._slide(e>0?et:tt)}_addEventListeners(){this._config.keyboard&&B.on(this._element,"keydown.bs.carousel",t=>
2this._keydown(t)),"hover"===this._config.pause&&(B.on(this._element,"mouseenter.bs.carousel",t=>this.pause(t)),B.on(this._element,"mouseleave.bs.carousel",t=>this.cycle(t))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const t=t=>this._pointerEvent&&("pen"===t.pointerType||"touch"===t.pointerType),e=e=>{t(e)?this.touchStartX=e.clientX:this._pointerEvent||(this.touchStartX=e.touches[0].clientX)},i=t=>{this.touchDeltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this.touchStartX},n=e=>{t(e)&&(this.touchDeltaX=e.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(t=>this.cycle(t),500+this._config.interval))};G.find(".carousel-item img",this._element).forEach(t=>{B.on(t,"dragstart.bs.carousel",t=>t.preventDefault())}),this._pointerEvent?(B.on(this._element,"pointerdown.bs.carousel",t=>e(t)),B.on(this._element,"pointerup.bs.carousel",t=>n(t)),this._element.classList.add("pointer-event")):(B.on(this._element,"touchstart.bs.carousel",t=>e(t)),B.on(this._element,"touchmove.bs.carousel",t=>i(t)),B.on(this._element,"touchend.bs.carousel",t=>n(t)))}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=it[t.key];e&&(t.preventDefault(),this._slide(e))}_getItemIndex(t){return this._items=t&&t.parentNode?G.find(".carousel-item",t.parentNode):[],this._items.indexOf(t)}_getItemByOrder(t,e){const i=t===K;return w(this._items,e,i,this._config.wrap)}_triggerSlideEvent(t,e){const i=this._getItemIndex(t),n=this._getItemIndex(G.findOne(st,this._element));return B.trigger(this._element,"slide.bs.carousel",{relatedTarget:t,direction:e,from:n,to:i})}_setActiveIndicatorElement(t){if(this._indicatorsElement){const e=G.findOne(".active",this._indicatorsElement);e.classList.remove(ot),e.removeAttribute("aria-current");const i=G.find("[data-bs-target]",this._indicatorsElement);for(let e=0;e<i.length;e++)if(Number.parseInt(i[e].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(t)){i[e].classList.add(ot),i[e].setAttribute("aria-current","true");break}}}_updateInterval(){const t=this._activeElement||G.findOne(st,this._element);if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);e?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=e):this._config.interval=this._config.defaultInterval||this._config.interval}_slide(t,e){const i=this._directionToOrder(t),n=G.findOne(st,this._element),o=this._getItemIndex(n),s=e||this._getItemByOrder(i,n),r=this._getItemIndex(s),a=Boolean(this._interval),l=i===K,c=l?"carousel-item-start":"carousel-item-end",h=l?"carousel-item-next":"carousel-item-prev",d=this._orderToDirection(i);if(s&&s.classList.contains(ot))return void(this._isSliding=!1);if(this._isSliding)return;if(this._triggerSlideEvent(s,d).defaultPrevented)return;if(!n||!s)return;this._isSliding=!0,a&&this.pause(),this._setActiveIndicatorElement(s),this._activeElement=s;const u=()=>{B.trigger(this._element,nt,{relatedTarget:s,direction:d,from:o,to:r})};if(this._element.classList.contains("slide")){s.classList.add(h),f(s),n.classList.add(c),s.classList.add(c);const t=()=>{s.classList.remove(c,h),s.classList.add(ot),n.classList.remove(ot,h,c),this._isSliding=!1,setTimeout(u,0)};this._queueCallback(t,n,!0)}else n.classList.remove(ot),s.classList.add(ot),this._isSliding=!1,u();a&&this.cycle()}_directionToOrder(t){return[et,tt].includes(t)?g()?t===tt?Q:K:t===tt?K:Q:t}_orderToDirection(t){return[K,Q].includes(t)?g()?t===Q?tt:et:t===Q?et:tt:t}static carouselInterface(t,e){const i=rt.getOrCreateInstance(t,e);let{_config:n}=i;"object"==typeof e&&(n={...n,...e});const o="string"==typeof e?e:n.slide;if("number"==typeof e)i.to(e);else if("string"==typeof o){if(void 0===i[o])throw new TypeError(`No method named "${o}"`);i[o]()}else n.interval&&n.ride&&(i.pause(),i.cycle())}static jQueryInterface(t){return this.each(function(){rt.carouselInterface(this,t)})}static dataApiClickHandler(t){const e=s(this);if(!e||!e.classList.contains("carousel"))return;const i={...V.getDataAttributes(e),...V.getDataAttributes(this)},n=this.getAttribute("data-bs-slide-to");n&&(i.interval=!1),rt.carouselInterface(e,i),n&&rt.getInstance(e).to(n),t.preventDefault()}}B.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",rt.dataApiClickHandler),B.on(window,"load.bs.carousel.data-api",()=>{const t=G.find('[data-bs-ride="carousel"]');for(let e=0,i=t.length;e<i;e++)rt.carouselInterface(t[e],rt.getInstance(t[e]))}),v(rt);const at="collapse",lt={toggle:!0,parent:null},ct={toggle:"boolean",parent:"(null|element)"},ht="show",dt="collapse",ut="collapsing",pt="collapsed",ft=":scope .collapse .collapse",mt='[data-bs-toggle="collapse"]';class _t extends R{constructor(t,e){super(t),this._isTransitioning=!1,this._config=this._getConfig(e),this._triggerArray=[];const i=G.find(mt);for(let t=0,e=i.length;t<e;t++){const e=i[t],n=o(e),s=G.find(n).filter(t=>t===this._element);null!==n&&s.length&&(this._selector=n,this._triggerArray.push(e))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return lt}static get NAME(){return at}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t,e=[];if(this._config.parent){const t=G.find(ft,this._config.parent);e=G.find(".collapse.show, .collapse.collapsing",this._config.parent).filter(e=>!t.includes(e))}const i=G.findOne(this._selector);if(e.length){const n=e.find(t=>i!==t);if((t=n?_t.getInstance(n):null)&&t._isTransitioning)return}if(B.trigger(this._element,"show.bs.collapse").defaultPrevented)return;
2e.forEach(e=>{i!==e&&_t.getOrCreateInstance(e,{toggle:!1}).hide(),t||j.set(e,"bs.collapse",null)});const n=this._getDimension();this._element.classList.remove(dt),this._element.classList.add(ut),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(ut),this._element.classList.add(dt,ht),this._element.style[n]="",B.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[n]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(B.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,f(this._element),this._element.classList.add(ut),this._element.classList.remove(dt,ht);const e=this._triggerArray.length;for(let t=0;t<e;t++){const e=this._triggerArray[t],i=s(e);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(ut),this._element.classList.add(dt),B.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}_isShown(t=this._element){return t.classList.contains(ht)}_getConfig(t){return(t={...lt,...V.getDataAttributes(this._element),...t}).toggle=Boolean(t.toggle),t.parent=l(t.parent),c(at,t,ct),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=G.find(ft,this._config.parent);G.find(mt,this._config.parent).filter(e=>!t.includes(e)).forEach(t=>{const e=s(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))})}_addAriaAndCollapsedClass(t,e){t.length&&t.forEach(t=>{e?t.classList.remove(pt):t.classList.add(pt),t.setAttribute("aria-expanded",e)})}static jQueryInterface(t){return this.each(function(){const e={};"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1);const i=_t.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t]()}})}}B.on(document,"click.bs.collapse.data-api",mt,function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();const e=o(this);G.find(e).forEach(t=>{_t.getOrCreateInstance(t,{toggle:!1}).toggle()})}),v(_t);const gt="dropdown",vt="Escape",yt="Space",bt="ArrowUp",wt="ArrowDown",xt=new RegExp("ArrowUp|ArrowDown|Escape"),Tt="click.bs.dropdown.data-api",Ct="keydown.bs.dropdown.data-api",Lt="show",kt='[data-bs-toggle="dropdown"]',St=".dropdown-menu",Et=g()?"top-end":"top-start",Pt=g()?"top-start":"top-end",At=g()?"bottom-end":"bottom-start",Dt=g()?"bottom-start":"bottom-end",Ot=g()?"left-start":"right-start",Mt=g()?"right-start":"left-start",zt={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},It={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class Nt extends R{constructor(t,e){super(t),this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar()}static get Default(){return zt}static get DefaultType(){return It}static get NAME(){return gt}toggle(){return this._isShown()?this.hide():this.show()}show(){if(d(this._element)||this._isShown(this._menu))return;const t={relatedTarget:this._element};if(B.trigger(this._element,"show.bs.dropdown",t).defaultPrevented)return;const e=Nt.getParentFromElement(this._element);this._inNavbar?V.setDataAttribute(this._menu,"popper","none"):this._createPopper(e),"ontouchstart"in document.documentElement&&!e.closest(".navbar-nav")&&[].concat(...document.body.children).forEach(t=>B.on(t,"mouseover",p)),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Lt),this._element.classList.add(Lt),B.trigger(this._element,"shown.bs.dropdown",t)}
2hide(){if(d(this._element)||!this._isShown(this._menu))return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){B.trigger(this._element,"hide.bs.dropdown",t).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>B.off(t,"mouseover",p)),this._popper&&this._popper.destroy(),this._menu.classList.remove(Lt),this._element.classList.remove(Lt),this._element.setAttribute("aria-expanded","false"),V.removeDataAttribute(this._menu,"popper"),B.trigger(this._element,"hidden.bs.dropdown",t))}_getConfig(t){if(t={...this.constructor.Default,...V.getDataAttributes(this._element),...t},c(gt,t,this.constructor.DefaultType),"object"==typeof t.reference&&!a(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${gt.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(t){if(void 0===e)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let i=this._element;"parent"===this._config.reference?i=t:a(this._config.reference)?i=l(this._config.reference):"object"==typeof this._config.reference&&(i=this._config.reference);const n=this._getPopperConfig(),o=n.modifiers.find(t=>"applyStyles"===t.name&&!1===t.enabled);this._popper=e.createPopper(i,this._menu,n),o&&V.setDataAttribute(this._menu,"popper","static")}_isShown(t=this._element){return t.classList.contains(Lt)}_getMenuElement(){return G.next(this._element,St)[0]}_getPlacement(){const t=this._element.parentNode;if(t.classList.contains("dropend"))return Ot;if(t.classList.contains("dropstart"))return Mt;const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?Pt:Et:e?Dt:At}
2_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_selectMenuItem({key:t,target:e}){const i=G.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(h);i.length&&w(i,e,t===wt,!i.includes(e)).focus()}static jQueryInterface(t){return this.each(function(){const e=Nt.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}static clearMenus(t){if(t&&(2===t.button||"keyup"===t.type&&"Tab"!==t.key))return;const e=G.find(kt);for(let i=0,n=e.length;i<n;i++){const n=Nt.getInstance(e[i]);if(!n||!1===n._config.autoClose)continue;if(!n._isShown())continue;const o={relatedTarget:n._element};if(t){const e=t.composedPath(),i=e.includes(n._menu);if(e.includes(n._element)||"inside"===n._config.autoClose&&!i||"outside"===n._config.autoClose&&i)continue;if(n._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;"click"===t.type&&(o.clickEvent=t)}n._completeHide(o)}}static getParentFromElement(t){return s(t)||t.parentNode}static dataApiKeydownHandler(t){if(/input|textarea/i.test(t.target.tagName)?t.key===yt||t.key!==vt&&(t.key!==wt&&t.key!==bt||t.target.closest(St)):!xt.test(t.key))return;const e=this.classList.contains(Lt);if(!e&&t.key===vt)return;if(t.preventDefault(),t.stopPropagation(),d(this))return;const i=this.matches(kt)?this:G.prev(this,kt)[0],n=Nt.getOrCreateInstance(i);if(t.key!==vt)return t.key===bt||t.key===wt?(e||n.show(),void n._selectMenuItem(t)):void(e&&t.key!==yt||Nt.clearMenus());n.hide()}}B.on(document,Ct,kt,Nt.dataApiKeydownHandler),B.on(document,Ct,St,Nt.dataApiKeydownHandler),B.on(document,Tt,Nt.clearMenus),B.on(document,"keyup.bs.dropdown.data-api",Nt.clearMenus),B.on(document,Tt,kt,function(t){t.preventDefault(),Nt.getOrCreateInstance(this).toggle()}),v(Nt);const Bt=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Ut=".sticky-top";class jt{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"paddingRight",e=>e+t),this._setElementAttributes(Bt,"paddingRight",e=>e+t),this._setElementAttributes(Ut,"marginRight",e=>e-t)}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const n=this.getWidth();this._applyManipulationCallback(t,t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+n)return;this._saveInitialAttribute(t,e);const o=window.getComputedStyle(t)[e];t.style[e]=`${i(Number.parseFloat(o))}px`})}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(Bt,"paddingRight"),this._resetElementAttributes(Ut,"marginRight")}_saveInitialAttribute(t,e){const i=t.style[e];i&&V.setDataAttribute(t,e,i)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,t=>{const i=V.getDataAttribute(t,e);void 0===i?t.style.removeProperty(e):(V.removeDataAttribute(t,e),t.style[e]=i)})}_applyManipulationCallback(t,e){a(t)?e(t):G.find(t,this._element).forEach(e)}isOverflowing(){return this.getWidth()>0}}const Rt={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},$t={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},Zt="show",Ht="mousedown.bs.backdrop";class Ft{constructor(t){this._config=this._getConfig(t),this._isAppended=!1,this._element=null}show(t){this._config.isVisible?(this._append(),this._config.isAnimated&&f(this._getElement()),this._getElement().classList.add(Zt),this._emulateAnimation(()=>{y(t)})):y(t)}hide(t){this._config.isVisible?(this._getElement().classList.remove(Zt),this._emulateAnimation(()=>{this.dispose(),y(t)})):y(t)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_getConfig(t){return(t={...Rt,..."object"==typeof t?t:{}}).rootElement=l(t.rootElement),c("backdrop",t,$t),t}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),B.on(this._getElement(),Ht,()=>{y(this._config.clickCallback)}),this._isAppended=!0)}dispose(){this._isAppended&&(B.off(this._element,Ht),this._element.remove(),this._isAppended=!1)}_emulateAnimation(t){b(t,this._getElement(),this._config.isAnimated)}}const Wt={trapElement:null,autofocus:!0},qt={trapElement:"element",autofocus:"boolean"}
2,Vt=".bs.focustrap",Gt="backward";class Xt{constructor(t){this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:t,autofocus:e}=this._config;this._isActive||(e&&t.focus(),B.off(document,Vt),B.on(document,"focusin.bs.focustrap",t=>this._handleFocusin(t)),B.on(document,"keydown.tab.bs.focustrap",t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,B.off(document,Vt))}_handleFocusin(t){const{target:e}=t,{trapElement:i}=this._config;if(e===document||e===i||i.contains(e))return;const n=G.focusableChildren(i);0===n.length?i.focus():this._lastTabNavDirection===Gt?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?Gt:"forward")}_getConfig(t){return t={...Wt,..."object"==typeof t?t:{}},c("focustrap",t,qt),t}}const Yt="modal",Jt="Escape",Kt={backdrop:!0,keyboard:!0,focus:!0},Qt={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},te="hidden.bs.modal",ee="show.bs.modal",ie="resize.bs.modal",ne="click.dismiss.bs.modal",oe="keydown.dismiss.bs.modal",se="mousedown.dismiss.bs.modal",re="modal-open",ae="show",le="modal-static";class ce extends R{constructor(t,e){super(t),this._config=this._getConfig(e),this._dialog=G.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new jt}static get Default(){return Kt}static get NAME(){return Yt}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||B.trigger(this._element,ee,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(re),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),B.on(this._dialog,se,()=>{B.one(this._element,"mouseup.dismiss.bs.modal",t=>{t.target===this._element&&(this._ignoreBackdropClick=!0)})}),this._showBackdrop(()=>this._showElement(t)))}hide(){if(!this._isShown||this._isTransitioning)return;if(B.trigger(this._element,"hide.bs.modal").defaultPrevented)return;this._isShown=!1;const t=this._isAnimated();t&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove(ae),B.off(this._element,ne),B.off(this._dialog,se),this._queueCallback(()=>this._hideModal(),this._element,t)}dispose(){[window,this._dialog].forEach(t=>B.off(t,".bs.modal")),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Ft({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Xt({trapElement:this._element})}_getConfig(t){return t={...Kt,...V.getDataAttributes(this._element),..."object"==typeof t?t:{}},c(Yt,t,Qt),t}_showElement(t){const e=this._isAnimated(),i=G.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,i&&(i.scrollTop=0),e&&f(this._element),this._element.classList.add(ae),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,B.trigger(this._element,"shown.bs.modal",{relatedTarget:t})},this._dialog,e)}_setEscapeEvent(){this._isShown?B.on(this._element,oe,t=>{this._config.keyboard&&t.key===Jt?(t.preventDefault(),this.hide()):this._config.keyboard||t.key!==Jt||this._triggerBackdropTransition()}):B.off(this._element,oe)}_setResizeEvent(){this._isShown?B.on(window,ie,()=>this._adjustDialog()):B.off(window,ie)}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(re),this._resetAdjustments(),this._scrollBar.reset(),B.trigger(this._element,te)})}_showBackdrop(t){B.on(this._element,ne,t=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:t.target===t.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())}),this._backdrop.show(t)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(B.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const{classList:t,scrollHeight:e,style:i}=this._element,n=e>document.documentElement.clientHeight;!n&&"hidden"===i.overflowY||t.contains(le)||(n||(i.overflowY="hidden"),t.add(le),this._queueCallback(()=>{t.remove(le),n||this._queueCallback(()=>{i.overflowY=""},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),i=e>0;(!i&&t&&!g()||i&&!t&&g())&&(this._element.style.paddingLeft=`${e}px`),(i&&!t&&!g()||!i&&t&&g())&&(this._element.style.paddingRight=`${e}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each(function(){const i=ce.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method n
2amed "${t}"`);i[t](e)}})}}B.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(t){const e=s(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),B.one(e,ee,t=>{t.defaultPrevented||B.one(e,te,()=>{h(this)&&this.focus()})});const i=G.findOne(".modal.show");i&&ce.getInstance(i).hide(),ce.getOrCreateInstance(e).toggle(this)}),$(ce),v(ce);const he="offcanvas",de={backdrop:!0,keyboard:!0,scroll:!1},ue={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},pe="show",fe=".offcanvas.show",me="hidden.bs.offcanvas";class _e extends R{constructor(t,e){super(t),this._config=this._getConfig(e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return he}static get Default(){return de}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||B.trigger(this._element,"show.bs.offcanvas",{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new jt).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(pe),this._queueCallback(()=>{this._config.scroll||this._focustrap.activate(),B.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:t})},this._element,!0))}hide(){this._isShown&&(B.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove(pe),this._backdrop.hide(),this._queueCallback(()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new jt).reset(),B.trigger(this._element,me)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(t){return t={...de,...V.getDataAttributes(this._element),..."object"==typeof t?t:{}},c(he,t,ue),t}_initializeBackDrop(){return new Ft({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new Xt({trapElement:this._element})}_addEventListeners(){B.on(this._element,"keydown.dismiss.bs.offcanvas",t=>{this._config.keyboard&&"Escape"===t.key&&this.hide()})}static jQueryInterface(t){return this.each(function(){const e=_e.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}B.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(t){const e=s(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),d(this))return;B.one(e,me,()=>{h(this)&&this.focus()});const i=G.findOne(fe);i&&i!==e&&_e.getInstance(i).hide(),_e.getOrCreateInstance(e).toggle(this)}),B.on(window,"load.bs.offcanvas.data-api",()=>G.find(fe).forEach(t=>_e.getOrCreateInstance(t).show())),$(_e),v(_e);const ge=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),ve=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,ye=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,be=(t,e)=>{const i=t.nodeName.toLowerCase();if(e.includes(i))return!ge.has(i)||Boolean(ve.test(t.nodeValue)||ye.test(t.nodeValue));const n=e.filter(t=>t instanceof RegExp);for(let t=0,e=n.length;t<e;t++)if(n[t].test(i))return!0;return!1};function we(t,e,i){if(!t.length)return t;if(i&&"function"==typeof i)return i(t);const n=(new window.DOMParser).parseFromString(t,"text/html"),o=[].concat(...n.body.querySelectorAll("*"));for(let t=0,i=o.length;t<i;t++){const i=o[t],n=i.nodeName.toLowerCase();if(!Object.keys(e).includes(n)){i.remove();continue}const s=[].concat(...i.attributes),r=[].concat(e["*"]||[],e[n]||[]);s.forEach(t=>{be(t,r)||i.removeAttribute(t.nodeName)})}return n.body.innerHTML}const xe="tooltip",Te=new Set(["sanitize","allowList","sanitizeFn"]),Ce={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boun
2dary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},Le={AUTO:"auto",TOP:"top",RIGHT:g()?"left":"right",BOTTOM:"bottom",LEFT:g()?"right":"left"},ke={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},Se={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},Ee="fade",Pe="show",Ae="show",De="out",Oe=".tooltip-inner",Me=".modal",ze="hide.bs.modal",Ie="hover",
2Ne="focus";class Be extends R{constructor(t,i){if(void 0===e)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(i),this.tip=null,this._setListeners()}static get Default(){return ke}static get NAME(){return xe}static get Event(){return Se}static get DefaultType(){return Ce}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(t){if(this._isEnabled)if(t){const e=this._initializeOnDelegatedTarget(t);e._activeTrigger.click=!e._activeTrigger.click,e._isWithActiveTrigger()?e._enter(null,e):e._leave(null,e)}else{if(this.getTipElement().classList.contains(Pe))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),B.off(this._element.closest(Me),ze,this._hideModalHandler),this.tip&&this.tip.remove(),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const t=B.trigger(this._element,this.constructor.Event.SHOW),i=u(this._element),n=null===i?this._element.ownerDocument.documentElement.contains(this._element):i.contains(this._element);if(t.defaultPrevented||!n)return;"tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(Oe).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const o=this.getTipElement(),s=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME);o.setAttribute("id",s),this._element.setAttribute("aria-describedby",s),this._config.animation&&o.classList.add(Ee);const r="function"==typeof this._config.placement?this._config.placement.call(this,o,this._element):this._config.placement,a=this._getAttachment(r);this._addAttachmentClass(a);const{container:l}=this._config;j.set(o,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(l.append(o),B.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=e.createPopper(this._element,o,this._getPopperConfig(a)),o.classList.add(Pe);const c=this._resolvePossibleFunction(this._config.customClass);c&&o.classList.add(...c.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>{B.on(t,"mouseover",p)});const h=this.tip.classList.contains(Ee);this._queueCallback(()=>{const t=this._hoverState;this._hoverState=null,B.trigger(this._element,this.constructor.Event.SHOWN),t===De&&this._leave(null,this)},this.tip,h)}hide(){if(!this._popper)return;const t=this.getTipElement();if(B.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;t.classList.remove(Pe),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>B.off(t,"mouseover",p)),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const e=this.tip.classList.contains(Ee);this._queueCallback(()=>{this._isWithActiveTrigger()||(this._hoverState!==Ae&&t.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),B.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())},this.tip,e),this._hoverState=""}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const t=document.createElement("div");t.innerHTML=this._config.template;const e=t.children[0];return this.setContent(e),e.classList.remove(Ee,Pe),this.tip=e,this.tip}setContent(t){this._sanitizeAndSetContent(t,this.getTitle(),Oe)}_sanitizeAndSetContent(t,e,i){const n=G.findOne(i,t);e||!n?this.setElementContent(n,e):n.remove()}setElementContent(t,e){if(null!==t)return a(e)?(e=l(e),void(this._config.html?e.parentNode!==t&&(t.innerHTML="",t.append(e)):t.textContent=e.textContent)):void(this._config.html?(this._config.sanitize&&(e=we(e,this._config.allowList,this._config.sanitizeFn)),t.innerHTML=e):t.textContent=e)}getTitle(){const t=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(t)}
2updateAttachment(t){return"right"===t?"end":"left"===t?"start":t}_initializeOnDelegatedTarget(t,e){return e||this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return"function"==typeof t?t.call(this._element):t}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:t=>this._handlePopperPlacementChange(t)}],onFirstUpdate:t=>{t.options.placement!==t.placement&&this._handlePopperPlacementChange(t)}};return{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_addAttachmentClass(t){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(t)}`)}_getAttachment(t){return Le[t.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach(t=>{if("click"===t)B.on(this._element,this.constructor.Event.CLICK,this._config.selector,t=>this.toggle(t));else if("manual"!==t){const e=t===Ie?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,i=t===Ie?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;B.on(this._element,e,this._config.selector,t=>this._enter(t)),B.on(this._element,i,this._config.selector,t=>this._leave(t))}}),this._hideModalHandler=(()=>{this._element&&this.hide()}),B.on(this._element.closest(Me),ze,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const t=this._element.getAttribute("title"),e=typeof this._element.getAttribute("data-bs-original-title");(t||"string"!==e)&&(this._element.setAttribute("data-bs-original-title",t||""),!t||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",t),this._element.setAttribute("title",""))}_enter(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusin"===t.type?Ne:Ie]=!0),e.getTipElement().classList.contains(Pe)||e._hoverState===Ae?e._hoverState=Ae:(clearTimeout(e._timeout),e._hoverState=Ae,e._config.delay&&e._config.delay.show?e._timeout=setTimeout(()=>{e._hoverState===Ae&&e.show()},e._config.delay.show):e.show())}_leave(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusout"===t.type?Ne:Ie]=e._element.contains(t.relatedTarget)),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=De,e._config.delay&&e._config.delay.hide?e._timeout=setTimeout(()=>{e._hoverState===De&&e.hide()},e._config.delay.hide):e.hide())}_isWithActiveTrigger(){for(const t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1}_getConfig(t){const e=V.getDataAttributes(this._element);return Object.keys(e).forEach(t=>{Te.has(t)&&delete e[t]}),(t={...this.constructor.Default,...e,..."object"==typeof t&&t?t:{}}).container=!1===t.container?document.body:l(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),c(xe,t,this.constructor.DefaultType),t.sanitize&&(t.template=we(t.template,t.allowList,t.sanitizeFn)),t}_getDelegateConfig(){const t={};for(const e in this._config)this.constructor.Default[e]!==this._config[e]&&(t[e]=this._config[e]);return t}_cleanTipClass(){const t=this.getTipElement(),e=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),i=t.getAttribute("class").match(e);null!==i&&i.length>0&&i.map(t=>t.trim()).forEach(e=>t.classList.remove(e))}_getBasicClassPrefix(){return"bs-tooltip"}_handlePopperPlacementChange(t){const{state:e}=t;e&&(this.tip=e.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(e.placement)))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(t){return this.each(function(){const e=Be.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method n
2amed "${t}"`);e[t]()}})}}v(Be);const Ue={...Be.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'},je={...Be.DefaultType,content:"(string|element|function)"},Re={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class $e extends Be{static get Default(){return Ue}static get NAME(){return"popover"}static get Event(){return Re}static get DefaultType(){return je}isWithContent(){return this.getTitle()||this._getContent()}setContent(t){this._sanitizeAndSetContent(t,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(t,this._getContent(),".popover-body")}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return"bs-popover"}static jQueryInterface(t){return this.each(function(){const e=$e.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}v($e);const Ze="scrollspy",He={offset:10,method:"auto",target:""},Fe={offset:"number",method:"string",target:"(string|element)"},We="active",qe=".nav-link, .list-group-item, .dropdown-item",Ve="position";class Ge extends R{constructor(t,e){super(t),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(e),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,B.on(this._scrollElement,"scroll.bs.scrollspy",()=>this._process()),this.refresh(),this._process()}static get Default(){return He}static get NAME(){return Ze}refresh(){const t=this._scrollElement===this._scrollElement.window?"offset":Ve,e="auto"===this._config.method?t:this._config.method,i=e===Ve?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),G.find(qe,this._config.target).map(t=>{const n=o(t),s=n?G.findOne(n):null;if(s){const t=s.getBoundingClientRect();if(t.width||t.height)return[V[e](s).top+i,n]}return null}).filter(t=>t).sort((t,e)=>t[0]-e[0]).forEach(t=>{this._offsets.push(t[0]),this._targets.push(t[1])})}dispose(){B.off(this._scrollElement,".bs.scrollspy"),super.dispose()}_getConfig(t){return(t={...He,...V.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}}).target=l(t.target)||document.documentElement,c(Ze,t,Fe),t}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=i){const t=this._targets[this._targets.length-1];this._activeTarget!==t&&this._activate(t)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(let e=this._offsets.length;e--;)this._activeTarget!==this._targets[e]&&t>=this._offsets[e]&&(void 0===this._offsets[e+1]||t<this._offsets[e+1])&&this._activate(this._targets[e])}}_activate(t){this._activeTarget=t,this._clear();const e=qe.split(",").map(e=>`${e}[data-bs-target="${t}"],${e}[href="${t}"]`),i=G.findOne(e.join(","),this._config.target);i.classList.add(We),i.classList.contains("dropdown-item")?G.findOne(".dropdown-toggle",i.closest(".dropdown")).classList.add(We):G.parents(i,".nav, .list-group").forEach(t=>{G.prev(t,".nav-link, .list-group-item").forEach(t=>t.classList.add(We)),G.prev(t,".nav-item").forEach(t=>{G.children(t,".nav-link").forEach(t=>t.classList.add(We))})}),B.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:t})}_clear(){G.find(qe,this._config.target).filter(t=>
2t.classList.contains(We)).forEach(t=>t.classList.remove(We))}static jQueryInterface(t){return this.each(function(){const e=Ge.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}B.on(window,"load.bs.scrollspy.data-api",()=>{G.find('[data-bs-spy="scroll"]').forEach(t=>new Ge(t))}),v(Ge);const Xe="active",Ye="fade",Je="show",Ke=".active",Qe=":scope > li > .active";class ti extends R{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(Xe))return;let t;const e=s(this._element),i=this._element.closest(".nav, .list-group");if(i){const e="UL"===i.nodeName||"OL"===i.nodeName?Qe:Ke;t=(t=G.find(e,i))[t.length-1]}const n=t?B.trigger(t,"hide.bs.tab",{relatedTarget:this._element}):null;if(B.trigger(this._element,"show.bs.tab",{relatedTarget:t}).defaultPrevented||null!==n&&n.defaultPrevented)return;this._activate(this._element,i);const o=()=>{B.trigger(t,"hidden.bs.tab",{relatedTarget:this._element}),B.trigger(this._element,"shown.bs.tab",{relatedTarget:t})};e?this._activate(e,e.parentNode,o):o()}_activate(t,e,i){const n=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?G.children(e,Ke):G.find(Qe,e))[0],o=i&&n&&n.classList.contains(Ye),s=()=>this._transitionComplete(t,n,i);n&&o?(n.classList.remove(Je),this._queueCallback(s,t,!0)):s()}_transitionComplete(t,e,i){if(e){e.classList.remove(Xe);const t=G.findOne(":scope > .dropdown-menu .active",e.parentNode);t&&t.classList.remove(Xe),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}t.classList.add(Xe),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),f(t),t.classList.contains(Ye)&&t.classList.add(Je);let n=t.parentNode;if(n&&"LI"===n.nodeName&&(n=n.parentNode),n&&n.classList.contains("dropdown-menu")){const e=t.closest(".dropdown");e&&G.find(".dropdown-toggle",e).forEach(t=>t.classList.add(Xe)),t.setAttribute("aria-expanded",!0)}i&&i()}static jQueryInterface(t){return this.each(function(){const e=ti.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}B.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),d(this)||ti.getOrCreateInstance(this).show()}),v(ti);const ei="toast",ii="hide",ni="show",oi="showing",si={animation:"boolean",autohide:"boolean",delay:"number"},ri={animation:!0,autohide:!0,delay:5e3};class ai extends R{constructor(t,e){super(t),this._config=this._getConfig(e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return si}static get Default(){return ri}static get NAME(){return ei}show(){B.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(ii),f(this._element),this._element.classList.add(ni),this._element.classList.add(oi),this._queueCallback(()=>{this._element.classList.remove(oi),B.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this._element.classList.contains(ni)&&(B.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(oi),this._queueCallback(()=>{this._element.classList.add(ii),this._element.classList.remove(oi),this._element.classList.remove(ni),B.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this._element.classList.contains(ni)&&this._element.classList.remove(ni),super.dispose()}_getConfig(t){return t={...ri,...V.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}},c(ei,t,this.constructor.DefaultType),t}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const i=t.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){B.on(this._element,"mouseover.bs.toast",t=>this._onInteraction(t,!0)),B.on(this._element,"mouseout.bs.toast",t=>this._onInteraction(t,!1)),B.on(this._element,"focusin.bs.toast",t=>this._onInteraction(t,!0)),B.on(this._element,"focusout.bs.toast",t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const e=ai.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method n
2amed "${t}"`);e[t](this)}})}}return $(ai),v(ai),{Alert:Z,Button:F,Carousel:rt,Collapse:_t,Dropdown:Nt,Modal:ce,Offcanvas:_e,Popover:$e,ScrollSpy:Ge,Tab:ti,Toast:ai,Tooltip:Be}}),function(t){"use strict";t(function(){t("a:eq(0)").prop("hostname"),"undefined"!=typeof theme_values.is_mobile&&Boolean(Number(theme_values.is_mobile)),t("body").hasClass("home");t(".lazyload").lazy({beforeLoad:function(t){t.parent().is("figure")&&t.parent().addClass("lazy_loading")},afterLoad:function(t){t.parent().hasClass("lazy_loading")&&t.parent().removeClass("lazy_loading"),t.removeClass("lazyload")}});var e=function(e,i){for(var n=[],o=0;o<e.length;o++)t.inArray(e[o],i)>=0&&n.push(e[o]);return n},i=function(t,e,i){return void 0===t.attr(e)?(t.attr(e,i),i):t.attr(e)},n=[];t(".lazy_photo").each(function(){var e=t(this);t("<img/>",{src:e.data("url")}).appendTo(e).on("load",function(){e.addClass("loaded")})});var o=function(e,o){var s=i(e,"id","galley_"+o),r=i(e,"data-pager",0),a=i(e,"data-nav",0),l=i(e,"data-pause",0),c=i(e,"data-auto",1),h=(i(e,"data-speed",800),i(e,"data-transition",400),e.parent()),d={auto:1==c,pager:1==r,nav:1==a,prevText:"«",nextText:"»",pause:1==l,touch:!1};if(h.hasClass("wp-block-column")&&(0===h.index()?h.addClass("padding-r-gallery"):h.index()===h.parent().find(".wp-block-column").length-1?h.addClass("padding-l-gallery"):h.index()>0&&h.addClass("padding-lr-gallery")),void 0!==t("#"+s).data("ratio"))var u='<div class="gallery_wrapper with_ratio" style="padding-bottom:'+t("#"+s).data("ratio")+'"/>';else u='<div class="gallery_wrapper"/>';if(t("#"+s).wrap(u),t("#"+s).hasClass("main_gallery")&&t("#"+s).parent().addClass("main_gallery_wrapper"),t("#"+s).find("li").length>1){var p=n.length;n[p]=setInterval(function(){!function(t,e,i){if(t.find(".lazy_photo").length!=t.find(".loaded").length)return!1;clearInterval(n[e]),i&&"function"==typeof i&&i()}(t("#"+s),p,function(){t("#"+s).hasClass("rslides")||(t("#"+s).responsiveSlides(d),t("#"+s).parent().find(".rslides_nav, .rslides_tabs").wrapAll('<div class="slider_navigation"/>'),t("#"+s).parent().find(".rslides_nav.prev").append('<span class="icon icon-chevron-left"></span>'),t("#"+s).parent().find(".rslides_nav.next").append('<span class="icon icon-chevron-right"></span>'))})},300)}};t(".gallery").length>0&&t(".gallery").each(function(e){o(t(this),e)});var s=function(t,e){t.find(".map-container").length<1&&t.append('<div class="map-container"></div>');var i=t.find(".map-container");if(void 0===i.attr("id")){var n="map_"+e;i.attr("id",n)}else n=t.attr("id");t.hasClass("map-trace")?function(t){if("undefined"!=typeof theme_values.map_settings.itineraires)for(var e in theme_values.map_settings.itineraires)theme_values.map_settings[e]=theme_values.map_settings.itineraires[e];var i=t.parent(),n=L.map(t.attr("id")).setView([i.data("lat"),i.data("lng")],theme_values.map_settings.zoom),o=L.divIcon({className:"sit-map-marker",html:theme_values.map_settings.icon.svg,iconAnchor:[Number(theme_values.map_settings.icon.width)/2,Number(theme_values.map_settings.icon.height)],iconSize:[Number(theme_values.map_settings.icon.width),Number(theme_values.map_settings.icon.height)],popupAnchor:[0,-28]}),s=(L.marker([i.data("lat"),i.data("lng")],{icon:o}).addTo(n),t.parent().data("trace")),r=L.geoJson(null,{style:function(t){return{color:theme_values.map_settings.path.color,weight:theme_values.map_settings.path.weight}}});if("kml"==t.parent().data("ext")){var a=omnivore.kml(s,null,r).on("ready",function(){n.fitBounds(a.getBounds()),n.zoomOut(1)});n.addLayer(a)}else"gpx"==t.parent().data("ext")&&(a=omnivore.gpx(s,null,r).on("ready",function(){n.fitBounds(a.getBounds()),n.zoomOut(1)}),n.addLayer(a));L.tileLayer(theme_values.map_settings.tiles_url,theme_values.map_settings.tiles_datas).addTo(n)}(i):function(t){var e=t.parent(),i=L.map(t.attr("id")).setView([e.data("lat"),e.data("lng")],theme_values.map_settings.zoom),n=L.divIcon({className:"sit-map-marker",html:theme_values.map_settings.icon.svg,iconAnchor:[Number(theme_values.map_settings.icon.width)/2,Number(theme_values.map_settings.icon.height)],iconSize:[Number(theme_values.map_settings.icon.width),Number(theme_values.map_settings.icon.height)],popupAnchor:[0,-28]});L.marker([e.data("lat"),e.data("lng")],{icon:n}).addTo(i);L.tileLayer(theme_values.map_settings.tiles_url,theme_values.map_settings.tiles_datas).addTo(i)}(i)};t(".map-wrapper").length>0&&t(".map-wrapper").each(function(e){s(t(this),e)});t(".mill_modal_alerts").length>0&&(setTimeout(function(){t("body").addClass("alerts_opened")},1e3),t("body").on("click",".mill_alerts_close",function(e){t(e.target).closest(".mill_alerts_close"),t("body").removeClass("alerts_opened")}));var r,a=!1;r=function(){t("#menu_burger").removeClass("active"),t(".menu-interne").removeAttr("style"),t(".menu-interne > ul > li").css("left","0"),t(".header__nav-retour").remove(),window.innerWidth<1200?t(".menu-interne > ul > li > ul").css("display","none"):t(".menu-interne > ul > li ul").removeAttr("style")},t(".header__nav li ul").each(function(){t(this).parent("li").addClass("parentLink"),t(this).parent("li").children("a").append('<span class="niveauEnfant"></span>')}),t("#menu_burger").on("click",function(){t(this).hasClass("active")?(t(this).removeClass("active"),setTimeout(function(){r()},100)):t(this).addClass("active"),t("body").toggleClass("nav_opened")}),t(".menu-interne .niveauEnfant").on("click",function(){if(window.innerWidth<1200)return!(t(this).closest("li").children("ul").length>0&&!a)||(a=!0,t(this).closest("li").children("ul").prepend('<li class="header__nav-retour"><a href="#" title="Retour au menu précédent">Retour</a></li>'),t(this).closest("li").children("ul").css("display","block"),t(".menu-interne").stop(!0,!0).animate({left:"-=100%"},400,function(){a=!1}),!1)}),t(".header__nav ul li").on("click",".header__nav-retour",function(){var e=t(this);return a||(a=!0,t(".menu-interne").stop(!0,!0).animate({left:"+=100%"},400,function(){e.parent("ul").css("display","none"),e.remove(),a=!1})),!1}),t(window).resize(function(){r()}),window.innerWidth<=1200&&t(document).ready(function(){var e=0;t(window).scroll(function(){var i=t(this).scrollTop();i<100?t(".header__navbar").removeClass("is-visible"):i>0&&i<t(document).height()-t(window).height()&&(i>e?t(".header__navbar").removeClass("is-visible").addClass("is-hidden"):t(".header__navbar").removeClass("is-hidden").addClass("is-visible").addClass("scrolling"),e=i)})}),t(".home .section-incontournables .slider_wrapper").each(function(e,i){var n=t(i).find(".slider"),o=t(i).find(".nav_next"),s=t(i).find(".nav_prev");n.slick({slidesToShow:3,slidesToScroll:1,infinite:!0,speed:1e3,arrows:!0,prevArrow:s,nextArrow:o,responsive:[{breakpoint:1024,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:768,settings:{slidesToShow:1,slidesToScroll:1}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]})});[].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map(function(t){return new bootstrap.Tooltip(t)});t(".back-top").click(function(){return t("body,html").animate({scrollTop:0},200),!1});t(".border-wave-top").each(function(){t(this).append('<svg class="wave_top" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 196.94"><defs><style>.cls-1{fill:#045e5b;}</style></defs><path id="Union_1" class="cls-1" d="M0,196.94V0S281.34,70.89,677.38,75.27c396.04,4.38,1135.59,2.66,1242.62,75.34v44.17L0,196.94Z"/></svg>')}),t(".border-wave-bottom").each(function(){t(this).append('<svg class="wave_bottom" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 196.94"><defs><style>.cls-1{fill:#045e5b;}</style></defs><path id="Union_1" class="cls-1" d="M1920,196.94V0s-281.34,70.89-677.38,75.27S107.03,77.93,0,150.61v44.16l1920,2.17Z"/></svg>')}),t(".border-wave-bottom-rotate").each(function(){t(this).append('<svg class="wave_bottom_rotate" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 196.94"><defs><style>.cls-1{fill:#045e5b;}</style></defs><path id="Union_1" class="cls-1" d="M0,196.94V0S281.34,70.89,677.38,75.27c396.04,4.38,1135.59,2.66,1242.62,75.34v44.17L0,196.94Z"/></svg>')}),t(".border-wave-top-min").each(function(){t(this).append('<svg class="wave_top_min" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 478.27 61.64"><defs><style>.cls-1{fill:#045e5b;}</style></defs><path id="vague_top" class="cls-1" d="M0,61.64V0S70.08,17.62,168.74,18.71c98.65,1.09,282.88,.67,309.54,18.72v24.21H0Z"/></svg>')}),t(".border-wave-bottom-min").each(function(){t(this).append('<svg class="wave_bottom_min" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 478.27 61.64"><defs><style>.cls-1{fill:#045e5b;}</style></defs><path id="vague_top" class="cls-1" d="M0,0V61.64s70.08-17.62,168.74-18.71c98.65-1.09,282.88-.66,309.54-18.72V0H0Z"/></svg>')}),t("body").on("click",".video_box_cover, .video_btn",function(e){t(e.target).closest(".video_box").addClass("play")});var l=!1,c=100,h=!1,d={},u=[],p=function(){l=!0},f=function(){t(".tab_fixed_menu").find(".tabdisplay_tab.on").length>0&&t(".tab_fixed_menu").find(".tabdisplay_tab.on").removeClass("on")},m=function(){var e=t(window).scrollTop(),i=u.length,n=!1;c=t(window).height()/4,h=!1;for(var o=i-1;o>=0;o--)if(e>=d[u[o]].top-c){h=d[u[o]].scope,t('a.tabdisplay_btn[data-tab="'+h+'"]').parent().hasClass("on")||(f(),t('a.tabdisplay_btn[data-tab="'+h+'"]').parent().addClass("on")),n=!0;break}!1===n&&f()};t("body").hasClass("sit_object")&&(t(".tabdisplay").find(".tab").each(function(e){var i=e+"_"+t
2(this).find(".tabdisplay_content").attr("id");d[i]={top:t(this).offset().top,height:t(this).innerHeight(),bottom:t(this).offset().top+t(this).innerHeight(),scope:t(this).find(".tabdisplay_content").attr("id").replace("tabdisplay_","")}}),u=Object.keys(d),t(window).on("scroll",p),m(),setInterval(function(){l&&(l=!1,m())},300));t("body").on("click","a.toggle_checkbox",function(e){var i;(i=t(e.target).closest("a")).parent().parent().hasClass("show")?i.parent().parent().removeClass("show"):(t(".toggable.show").removeClass("show"),i.parent().parent().addClass("show"))});t("body").on("submit","#blog_search",function(){var e=t("#blog_search"),i=e.data("url"),n="";e.find("select").each(function(){"all"!==t(this).val()&&(n.length>0&&(n+="_"),n+=t(this).attr("name")+":"+t(this).val())}),n.length>0&&(i+="filter/"+n+"/"),window.location.href=i});var _,g;(t("body").on("click",".newsletter-avizi",function(){t("body").addClass("avizinl_modal_on"),t("body").find(".avizinl_modal").length<1&&(_=t("<div/>",{"class":"avizinl_modal"}).appendTo(t("body")),g=t("<div/>",{"class":"avizinl_modal_box"}).appendTo(_),t("<a/>",{"class":"avizinl_modal_close",href:"javascript:void(0)"}).appendTo(g),g.addClass("processing"),t.post(theme_values.ajax_url,{action:"aviziNewsletter",nonce:theme_values.nonce}).done(function(t){g.prepend(t),setTimeout(function(){g.removeClass("processing")},1e3)}))}),t("body").on("click",".avizinl_modal_close",function(){t("body").removeClass("avizinl_modal_on")}),t("main.contenu_page").length>0)&&(t("main.contenu_page").find(".container > *:last-child").hasClass("fullwidth_block")&&t("main.contenu_page").addClass("no_pb"));t(".mill_blocks.themeposts.mode_list").length>0&&t(".mill_blocks.themeposts.mode_list").each(function(){!function(e){const i=e.find(".articles"),n=e.find(".themeposts_pagination"),o=e.find(".submenu_filter_selector"),s=parseInt(e.data("nbperpage"),10)||9,r=i.find("article.actu_pro");let a=1;function l(){const e=function(){const e=o.length?o.val():"all";return e&&"all"!==e?r.filter(function(){return-1!==(t(this).data("cat")||"").toString().split(" ").indexOf(e)}):r}(),i=Math.max(1,Math.ceil(e.length/s));a>i&&(a=1),r.hide(),e.filter(function(t){return Math.floor(t/s)+1===a}).show(),function(e){if(n.empty(),e<=1)return;const i=t('<div class="themeposts-pagination"></div>'),o=t('<a href="javascript:void(0)" class="themeposts-pagination-prevnext-btn prev"><span class="themeposts-pagination-prevnext-btn-icon iconed"></span></a>').toggleClass("inactive",1===a).on("click",function(){a>1&&(a--,l())}),s=t('<a href="javascript:void(0)" class="themeposts-pagination-prevnext-btn next"><span class="themeposts-pagination-prevnext-btn-icon iconed"></span></a>').toggleClass("inactive",a===e).on("click",function(){a<e&&(a++,l())}),r=t('<div class="themeposts-pagination-links"></div>');(function(t){const e=[],i=[];let n=null;for(let i=1;i<=t;i++)(1===i||i===t||i>=a-1&&i<=a+1)&&e.push(i);return e.forEach(function(t){null!==n&&(t-n==2?i.push(n+1):t-n>2&&i.push("...")),i.push(t),n=t}),i})(e).forEach(function(e){var i;"..."!==e?t('<a href="javascript:void(0)" class="themeposts-pagination-page"><span></span></a>').toggleClass("active",e===a).attr("data-nb",e).find("span").text(e).end().on("click",(i=e,function(){a=i,l()})).appendTo(r):r.append('<span class="pagination-separator">...</span>')}),i.append(o,r,s),n.append(i)}(i)}o.length&&o.on("change",function(){a=1,l()});l()}(t(this))}),t(".photobox").length>0&&t(".photobox").photobox("a",{rotatable:!1,single:!1});var v=function(){t("body").addClass("modal_search_opened")};t("body").on("click keypress",'input[name="recherche"]',function(e){t(e.target).closest("#form_search").removeClass("empty_search")}),t("body").on("submit","#form_search",function(e){!function(e){if(t(e.target).find('input[name="recherche"]').val().length<3)t(e.target).addClass("empty_search"),e.preventDefault(),e.stopPropagation()}(e)}),t("body").on("click","#site_search",function(){t(".modal_search.search_modal").length<1?t(".modal_search").length>0?v():t.post(theme_values.ajax_url,{action:"initSearch",nonce:theme_values.nonce}).done(function(e){t("body").append(e),v()}):v()}),t("body").on("click","#go_search",function(e){t(e.target).closest("a").parent().parent().submit()}),t("body").on("click","#close_search",function(){t("body").removeClass("modal_search_opened"),t("body").addClass("modal_search_closing"),setTimeout(function(){t("body").removeClass("modal_search_closing")},500)});t("body").on("click",".tabdisplay_btn",function(e){!function(e){var i=t(".tabdisplay");if(i.hasClass("tabs"))e.closest("ul.tabdisplay_menu").find("li.active").removeClass("active"),e.parent().addClass("active"),i.find(".tabdisplay_content.d-block").addClass("d-none").removeClass("d-block"),i.find(".tabdisplay_content#tabdisplay_"+e.data("tab")).addClass("d-block").removeClass("d-none");else if(i.hasClass("linear")){var n=t("#tabdisplay_"+e.data("tab")).parent().offset().top;t("html, body").animate({scrollTop:n-50+"px"},400)}else i.hasClass("accordion")&&(i.hasClass("clicked")||i.addClass("clicked"),e.parent().parent().hasClass("show_content")?(e.parent().parent().removeClass("show_content"),e.parent().parent().find(".accordion_content").slideUp()):(e.parent().parent().addClass("show_content"),e.parent().parent().find(".accordion_content").slideDown()))}(t(e.target))});var y=function(e,i){if("undefined"===e.data("trace"))return!1;void 0===e.attr("id")&&e.attr("id","chart"+i);var n=e.data("trace"),o=e.data("sitid"),s={action:"apidae",security:theme_values.security,controller:"PublicAjax",method:"returnPathElevationDatas",params:{trace:n,object_id:o}};t.post(theme_values.ajax_url,s).fail(function(){alert("Désolé, une erreur est survenue")}).done(function(i){!0===i.success?function(e,i){var n=[],o=0;for(var s in i)n.push([Number(s),i[s].z]),o++;e.parent().removeClass("loading");t.jqplot(e.attr("id"),[n],{grid:{drawBorder:!1,shadow:!1,background:"rgba(0,0,0,0)"},seriesDefaults:{shadowAlpha:.1,shadowDepth:2,fillToZero:!0},series:[{color:theme_values.elevation_color,showMarker:!1,showLine:!0,fill:!0,fillAndStroke:!0,markerOptions:{style:"filledCircle",size:8},rendererOptions:{smooth:!0}}],axes:{xaxis:{pad:0,show:!1,min:0,max:o,showTicks:!1,tickOptions:{showGridline:!1}},yaxis:{pad:0,show:!1}}})}(e,i.datas.json):e.parent().slideUp("slow",function(){e.parent().remove()})})};t(".path-elevation").length>0&&t(".path-elevation").each(function(e){y(t(this),e)});var b=!1,w=function(e){e.preventDefault(),e.stopPropagation();var i=t(e.target);if(!i.closest(".mill_blocks").hasClass("mill_apidae_list_detailled")){var n=i.closest(".apidae-wishlist"),o=1===parseInt(n.attr("data-in")),s={action:"apidae",security:theme_values.security,controller:"PublicAjax",method:"addToWishList",params:{id:n.data("id"),is_in:o,page:theme_values.page}};t.post(theme_values.ajax_url,s).fail(function(){alert("Désolé, une erreur est survenue")}).done(function(e){!0===e.success?(!function(e){if(t("#wish-list-menu").length>0&&(t("#wish-list-menu").text(e),t("#wish-list-menu").attr("data-nb",e)),t("#wish-list-pagenb").length>0){var i=t("#wish-list-pagenb");1===e?i.text(e+" "+i.data("singular")):e>1?i.text(e+" "+i.data("plural")):location.reload()}}(e.datas.nb),!1===o?n.attr("data-in",1):t(".mill_apidae_widhlist").length>0?n.parent().slideUp("slow",function(){n.parent().remove()}):n.attr("data-in",0)):alert("Désolé, une erreur est survenue")}).always(function(){b=!1})}};t("body").on("click",".apidae-wishlist",function(t){t.preventDefault(),t.stopPropagation(),w(t)}),t("body").on("click",".apidae-wishlist-reset",function(){!function(){if(!0!==b){b=!0;var e={action:"apidae",security:theme_values.security,controller:"PublicAjax",method:"emptyWishList"};t.post(theme_values.ajax_url,e).fail(function(){alert("Désolé, une erreur est survenue")}).done(function(t){!0===t.success?location.reload():alert("Désolé, une erreur est survenue")}).always(function(){b=!1})}}()}),t("body").on("click","#millapidae-wishlist-download",function(){if(!0!==b){b=!0;var e={action:"apidae",security:theme_values.security,controller:"PublicAjax",method:"wishlistDownload",lang:t
2("html").attr("lang")};t(".apidae-filters").addClass("processing"),t.post(theme_values.ajax_url,e).fail(function(){alert("Désolé, une erreur est survenue")}).done(function(e){t("#wishlist-pdf").length>0&&t("#wishlist-pdf").remove(),!0===e.success?t("<iframe/>",{src:e.message,id:"wishlist-pdf",style:"width:0;height:0;visibility:hidden"}).appendTo("body"):alert("Désolé, une erreur est survenue")}).always(function(){b=!1,t(".apidae-filters").removeClass("processing")})}});var x=function(){t("#object_tooltip").slideDown("slow")},T=function(t){var e="mel"==t.data("type")?'<a href="mailto:'+t.text()+'">'+t.text()+"</a>":t.text(),i='<span class="label">'+t.data("label")+" : </span>";return i+='<span class="value">'+e+"</span>"},C=function(e){e.data("type");var i=!1;"none"===t("#object_tooltip").css("display")?(t("#object_tooltip").html(T(e)),t("#object_tooltip").data("type",e.data("type")),x()):(void 0!==t("#object_tooltip").data("type")&&t("#object_tooltip").data("type")!==e.data("type")&&(i=function(i=T(e),n=e.data("type")){t("#object_tooltip").html(i),t("#object_tooltip").data("type",n),x()}),function(e=!1){t("#object_tooltip").slideUp("slow",function(){!1!==e&&e()})}(i))},k=function(e,i=!1){if(e.parent().parent().find("#object_tooltip").length<1)t("<div/>",{id:"object_tooltip"}).insertAfter(e.parent())};if(t("body").on("click",".object_interaction",function(e){!function(e){window._paq=window._paq||[];var i=t(e.target).closest(".object_interaction"),n=i.data("id"),o=i.data("type"),s=i.data("value");let r={action:"apidae",security:theme_values.security,controller:"PublicAjax",method:"addInteraction",params:{id:n,type:o,value:s}};i.hasClass("decode_val")&&(r.params.decode=!0),t.post(theme_values.ajax_url,r).fail(function(){alert("Désolé, une erreur est survenue")}).done(function(e){i.removeClass("object_interaction"),i.hasClass("decode_val")&&(i.text(e.value),i.hasClass("tooltip_show")?(i.addClass("tooltip_ready"),k(i),C(i)):"mel"===o?(i.attr("href","mailto:"+e.value),void 0===i.attr("id")&&i.attr("id","object_mel"),i.hasClass("tooltip_show")||t("#"+i.attr("id"))[0].click()):"tel"===o&&i.attr("href","tel:"+e.value))})}(e)}),t("body").on("click",".tooltip_ready",function(e){!function(e){var i=t(e.target);i.hasClass("is_mobile")||(e.preventDefault(),e.stopPropagation(),C(i))}(e)}),t("#widget-panier").length>0&&void 0!==t("#widget-panier").data("integration")&&void 0!==t("#widget-panier").data("panier")){var S=t("html").attr("lang"),E="fr-FR"===S||"fr"===S?"fr":"uk",P=AllianceReseaux.Widget.Instance("Panier",{idPanier:t("#widget-panier").data("panier"),idIntegration:t("#widget-panier").data("integration"),langue:E});P.PreApp("panier.target","_blank"),P.Initialise()}t(".resa-open-system").length>0&&t(".resa-open-system").each(function(){!function(e){var i=t("html").attr("lang"),n="fr-FR"===i||"fr"===i?"fr":"uk",o=e.data("ui"),s=!1,r=!1;if("undefined"!=typeof theme_values.os_idIntegration?s=theme_values.os_idIntegration:void 0!==e.data("integration")&&(s=e.data("integration")),"undefined"!=typeof theme_values.os_idPanier?r=theme_values.os_idPanier:void 0!==e.data("panier")&&(r=e.data("panier")),!1!==s&&!1!==r){var a=AllianceReseaux.Widget.Instance("Produit",{idPanier:r,idIntegration:s,langue:n,ui:o});a.PreApp("moteur.enLigne",!0),a.PreApp("moteur.resultat.overlay",!1),a.Initialise()}}(t(this))});t("body").on("click",".simplelist-paginate",function(e){var i,n;i=t(e.target).closest(".simplelist-paginate"),n=i.closest(".mill_apidae_simple_list_paged"),i.hasClass("active")||(n.find(".mill_apidae_simple_list_page").removeClass("display"),n.find(".mill_apidae_simple_list_page#simple_list_page_"+i.data("page")).addClass("display"),i.parent().find(".active").removeClass("active"),i.addClass("active"),1===parseInt(i.data("page"))?n.find(".simplelist-paginate-prevnext.prev").addClass("inactive"):n.find(".simplelist-paginate-prevnext.prev").hasClass("inactive")&&n.find(".simplelist-paginate-prevnext.prev").removeClass("inactive"),parseInt(i.data("page"))===n.find(".apidae-pagination-links").find("a").length?n.find(".simplelist-paginate-prevnext.next").addClass("inactive"):n.find(".simplelist-paginate-prevnext.next").hasClass("inactive")&&n.find(".simplelist-paginate-prevnext.next").removeClass("inactive"))}),t("body").on("click",".simplelist-paginate-prevnext",function(e){!function(t){if(!t.hasClass("inactive")){var e=t.closest(".mill_apidae_simple_list_paged"),i=parseInt(e.find(".apidae-pagination-links").find("a.active").data("page"));t.hasClass("prev")?i--:i++,e.find(".mill_apidae_simple_list_page").removeClass("display"),e.find(".mill_apidae_simple_list_page#simple_list_page_"+i).addClass("display"),e.find(".apidae-pagination-links").find("a.active").removeClass("active"),e.find(".apidae-pagination-links").find('a[data-page="'+i+'"]').addClass("active"),1===parseInt(i)?e.find(".simplelist-paginate-prevnext.prev").addClass("inactive"):e.find(".simplelist-paginate-prevnext.prev").hasClass("inactive")&&e.find(".simplelist-paginate-prevnext.prev").removeClass("inactive"),i===e.find(".apidae-pagination-links").find("a").length?e.find(".simplelist-paginate-prevnext.next").addClass("inactive"):e.find(".simplelist-paginate-prevnext.next").hasClass("inactive")&&e.find(".simplelist-paginate-prevnext.next").removeClass("inactive")}}(t(e.target).closest(".simplelist-paginate-prevnext"))});t(".mill_apidae_simple_list_slicked").length>0&&t(".mill_apidae_simple_list_slicked").each(function(){var e,i,n,o,s,r,a,l,c;e=t(this),i=parseInt(e.data("slick")),n=t(e).find(".slider"),o=t(e).find(".nav_next"),s={slidesToShow:i,slidesToScroll:1,infinite:!0,speed:1e3,arrows:!0,prevArrow:t(e).find(".nav_prev"),nextArrow:o},r=[],a={breakpoint:992,settings:{slidesToShow:2,slidesToScroll:1}},l={breakpoint:768,settings:{slidesToShow:1,slidesToScroll:1}},c={breakpoint:1200,settings:{slidesToShow:i>2?i-1:i,slidesToScroll:1}},r.push(c),r.push(a),r.push(l),s.responsive=r,n.slick(s)});t("body").on("click",".toggable.mode_checkbox > p.label > a",function(e){var i;(i=t(e.target)).parent().parent().hasClass("show_choices")?t(".toggable.mode_checkbox.show_choices").removeClass("show_choices"):(t(".toggable.mode_checkbox.show_choices").removeClass("show_choices"),i.parent().parent().toggleClass("show_choices"))});var A={},D=function(e,i){for(var n in i){if("undefined"==typeof A[e].filters.mode||"select"==A[e].filters.mode){var o=t("#select_"+e+"_blog_"+n);o.find("option:selected").prop("selected",!1),o.find('option[value="'+i[n]+'"]').prop("selected",!0)}else{var s=t("input#"+e+n+"_"+i[n]);s.prop("checked",!0),s.parent().parent().find(".btn_all").prop("checked",!1)}A[e].active_filter["blog_"+n]=i[n]}R(e),A[e].current_nb_total=A[e].current.length,!0===A[e].is_paginated&&O(e),U(e)},O=function(e){if(A[e].page=1,A[e].nb_page=Math.ceil(A[e].current_nb_total/A[e].pagination),A[e].pagination_wrapper.html(""),A[e].nb_page>1)for(var i=1;i<=A[e].nb_page;i++)t("<a/>",{href:"javascript:void(0)",html:"<span>"+i+"</span>","class":1===i?"submenu_paginate theme_paginate active":"submenu_paginate theme_paginate","data-page":i,"data-scope":e}).appendTo(A[e].pagination_wrapper);U(e)},M=function(t,e){for(var i in e)"undefined"==typeof A[t].filters.mode||"select"==A[t].filters.mode?I(t,e[i]):N(t,e[i])},z=function(e){if(A[e].filters.wrapper.find(".submenu_filter_wrapper").length<1){var i=t("<div/>",{"class":"submenu_filter_wrapper"}).appendTo(A[e].filters.wrapper);if("undefined"!=typeof A[e].filters.label)t("<p/>",{"class":"label",text:A[e].filters.label}).appendTo(i)}else i=A[e].filters.wrapper.find(".submenu_filter_wrapper");return i},I=function(e,i){var n=z(e);A[e].active_filter[i.tax]="all";
2var o=t("<div/>",{"class":"select-box"}).appendTo(n);t("<div/>",{"class":"icon icon-feuille2"}).appendTo(o);if("undefined"!=typeof i.datas.label){var s=i.datas.label;t("<label/>",{"for":"select_"+e+"_"+i.tax,text:s.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}).prependTo(o)}var r=t("<div/>",{"class":"select-wrapper"}).appendTo(o),a=t("<select/>",{"class":"submenu_filter submenu_filter_selector",id:"select_"+e+"_"+i.tax,"data-scope":e,"data-tax":i.tax}).appendTo(r);t("<option/>",{text:i.datas.all,value:"all"}).appendTo(a);for(var l in i.datas.terms)t("<option/>",{text:i.datas.terms[l].name,value:l}).appendTo(a)},N=function(e,i){var n=z(e);A[e].active_filter[i.tax]="all";var o=t("<div/>",{"class":"btns-box"}).appendTo(n),s=t("<div/>",{"class":"btns-wrapper"}).appendTo(o);for(var r in B("all",e,i.tax,i.datas.all,s,!0),i.datas.terms)B(r,e,i.tax,i.datas.terms[r].name,s)},B=function(e,i,n,o,s,r=!1){var a=t("<div/>",{"class":"filter_btn"}).appendTo(s),l={id:i+n+"_"+e,name:n+"[]",type:"checkbox",value:e,"data-scope":i,"class":"submenu_filter_btn"};l["class"]+="all"===e?" btn_all":" btn_opt",!0===r&&(l.checked=!0);t("<input/>",l).appendTo(a),t("<label/>",{"for":i+n+"_"+e,text:o}).appendTo(a)},U=function(e){if(A[e].list_wrapper.html(""),A[e].current.length<1)t("<p/>",{"class":"has-text-align-center has-theme-blue-color has-text-color has-medium-font-size",text:A[e].no_results}).appendTo(A[e].list_wrapper);else if(!1===A[e].is_paginated)for(var i in A[e].current)A[e].list_wrapper.append(A[e].html[A[e].current[i]]);else{A[e].pagination;var n=(A[e].page-1)*A[e].pagination,o=n+A[e].pagination;for(i=n;i<o;i++)A[e].list_wrapper.append(A[e].html[A[e].current[i]])}},j=function(e){if(e.hasClass("submenu_filter_selector"))A[e.data("scope")].active_filter[e.data("tax")]=e.val();else if(e.hasClass("submenu_filter_btn"))for(var i in e.hasClass("btn_all")?e.parent().parent().find(".submenu_filter_btn:not(.btn_all)").prop("checked",!1):e.is(":checked")?e.parent().parent().find(".btn_all").prop("checked",!1):e.parent().parent().find(".submenu_filter_btn:checked").length<1&&e.parent().parent().find(".btn_all").prop("checked",!0),A[e.data("scope")].active_filter)A[e.data("scope")].active_filter[i]=[],t('input[name="'+i+'[]"]:checked').each(function(){A[e.data("scope")].active_filter[i].push(t(this).val())});R(e.data("scope")),A[e.data("scope")].current_nb_total=A[e.data("scope")].current.length,!0===A[e.data("scope")].is_paginated&&O(e.data("scope")),U(e.data("scope"))},R=function(t){!function(t){for(var e in A[t].current=[],A[t].html)A[t].current.push(parseInt(e))}(t);var i=A[t].current;for(var n in A[t].active_filter)if("object"==typeof A[t].active_filter[n])for(var o in A[t].active_filter[n]){var s=A[t].active_filter[n][o];if("all"!==s){var r=A[t].filters.datas[n].terms[s].items;i=e(i,r)}}else if("all"!==A[t].active_filter[n]){r=A[t].filters.datas[n].terms[A[t].active_filter[n]].items;i=e(i,r)}A[t].current=i};t(".mill_blocks.submenu").length>0&&(t(".mill_blocks.submenu").each(function(){"undefined"!=typeof window["json_"+t(this).data("id")]&&function(e){if(A[e.attr("id")]=window["json_"+e.data("id")],A[e.attr("id")].html={},A[e.attr("id")].current=[],A[e.attr("id")].active_filter={},A[e.attr("id")].total=e.find(".millsubmenu_item_wrapper").length,A[e.attr("id")].list_wrapper=e.find(".items-wrapper"),e.find(".millsubmenu_item_wrapper").each(function(){A[e.attr("id")].html[t(this).data("id")]=t(this),A[e.attr("id")].current.push(t(this).data("id"))}),"undefined"!=typeof A[e.attr("id")].filters&&"undefined"!=typeof A[e.attr("id")].filters.datas){var i=[];for(var n in A[e.attr("id")].filters.datas)if("all"!==n){var o={tax:n,datas:A[e.attr("id")].filters.datas[n]};i.push(o)}i.length>0&&(A[e.attr("id")].filters.wrapper=e.find(".submenu_filters"),A[e.attr("id")].filters.datas.all={items:A[e.attr("id")].current},M(e.attr("id"),i)),"undefined"!=typeof A[e.attr("id")].filters_active&&!1!==A[e.attr("id")].filters_active&&setTimeout(function(){D(e.attr("id"),A[e.attr("id")].filters_active)},10)}"undefined"!=typeof A[e.attr("id")].submenu_nb_per_page?(A[e.attr("id")].is_paginated=!0,A[e.attr("id")].pagination=Number(A[e.attr("id")].submenu_nb_per_page),A[e.attr("id")].pagination_wrapper=e.find(".submenu_pagination"),A[e.attr("id")].pagination_wrapper.addClass("theme_pagination"),A[e.attr("id")].current_nb_total=A[e.attr("id")].total,O(e.attr("id"))):A[e.attr("id")].is_paginated=!1}(t(this))}),t("body").on("change",".submenu_filter_selector",function(e){j(t(e.target))}),t("body").on("change",".submenu_filter_btn",function(e){j(t(e.target))}),t("body").on("click",".submenu_paginate",function(e){var i;(i=t(e.target).closest(".submenu_paginate")).hasClass("active")||(A[i.data("scope")].page=Number(i.data("page")),i.parent().find(".active").removeClass("active"),i.addClass("active")),U(i.data("scope"))}))})}(jQuery);var scripts=document.getElementsByTagName('script'),path=scripts[scripts.length-1].src.split('?')[0],tarteaucitronForceCDN=(tarteaucitronForceCDN===undefined)?'':tarteaucitronForceCDN,cdn=(tarteaucitronForceCDN==='')?path.split('/').slice(0,-1).join('/')+'/':tarteaucitronForceCDN,alreadyLaunch=(alreadyLaunch===un
2defined)?0:alreadyLaunch,tarteaucitronForceLanguage=(tarteaucitronForceLanguage===undefined)?'':tarteaucitronForceLanguage,tarteaucitronForceExpire=(tarteaucitronForceExpire===undefined)?'':tarteaucitronForceExpire,tarteaucitronCustomText=(tarteaucitronCustomText===undefined)?'':tarteaucitronCustomText,tarteaucitronExpireInDay=(tarteaucitronExpireInDay===undefined||typeof tarteaucitronExpireInDay!=="boolean")?!0:tarteaucitronExpireInDay,timeExpire=31536000000,tarteaucitronProLoadServices,tarteaucitronNoAdBlocker=!1;var tarteaucitron={"version":20210509,"cdn":cdn,"user":{},"lang":{},"services":{},"added":[],"idprocessed":[],"state":[],"launch":[],"parameters":{},"isAjax":!1,"reloadThePage":!1,"events":{"init":function(){},"load":function(){},},"init":function(params){"use strict";var origOpen;tarteaucitron.parameters=params;if(alreadyLaunch===0){alreadyLaunch=1;if(window.addEventListener){window.addEventListener("load",function(){tarteaucitron.initEvents.loadEvent(!1)},!1);window.addEventListener("scroll",function(){tarteaucitron.initEvents.scrollEvent()},!1);window.addEventListener("keydown",function(evt){tarteaucitron.initEvents.keydownEvent(!1,evt)},!1);window.addEventListener("hashchange",function(){tarteaucitron.initEvents.hashchangeEvent()},!1);window.addEventListener("resize",function(){tarteaucitron.initEvents.resizeEvent()},!1)}else{window.attachEvent("onload",function(){tarteaucitron.initEvents.loadEvent(!0)});window.attachEvent("onscroll",function(){tarteaucitron.initEvents.scrollEvent()});window.attachEvent("onkeydown",function(evt){tarteaucitron.initEvents.keydownEvent(!0,evt)});window.attachEvent("onhashchange",function(){tarteaucitron.initEvents.hashchangeEvent()});window.attachEvent("onresize",function(){tarteaucitron.initEvents.resizeEvent()})} 3if(typeof XMLHttpRequest!=='undefined'){origOpen=XMLHttpRequest.prototype.open;XMLHttpRequest.prototype.open=function(){if(window.addEventListener){this.addEventListener("load",function(){if(typeof tarteaucitronProLoadServices==='function'){tarteaucitronProLoadServices()}},!1)}else if(typeof this.attachEvent!=='undefined'){this.attachEvent("onload",function(){if(typeof tarteaucitronProLoadServices==='function'){tarteaucitronProLoadServices()}})}else{if(typeof tarteaucitronProLoadServices==='function'){setTimeout(tarteaucitronProLoadServices,1000)}} 4try{origOpen.apply(this,arguments)}catch(err){}}}} 5if(tarteaucitron.events.init){tarteaucitron.events.init()}},"initEvents":{"loadEvent":function(isOldBrowser){tarteaucitron.load();tarteaucitron.fallback(['tarteaucitronOpenPanel'],function(elem){if(isOldBrowser){elem.attachEvent("onclick",function(event){tarteaucitron.userInterface.openPanel
5();event.preventDefault()})}else{elem.addEventListener("click",function(event){tarteaucitron.userInterface.openPanel();event.preventDefault()},!1)}},!0)},"keydownEvent":function(isOldBrowser,evt){if(evt.keyCode===27){tarteaucitron.userInterface.closePanel()} 6if(isOldBrowser){if(evt.keyCode===9&&focusableEls.indexOf(evt.target)>=0){if(evt.shiftKey){if(document.activeElement===firstFocusableEl){lastFocusableEl.focus();evt.preventDefault()}}else{if(document.activeElement===lastFocusableEl){firstFocusableEl.focus();evt.preventDefault()}}}}},"hashchangeEvent":function(){if(document.location.hash===tarteaucitron.hashtag&&tarteaucitron.hashtag!==''){tarteaucitron.userInterface.openPanel()}},"resizeEvent":function(){var tacElem=document.getElementById('tarteaucitron');var tacCookieContainer=document.getElementById('tarteaucitronCookiesListContainer');if(tacElem&&tacElem.style.display==='block'){tarteaucitron.userInterface.jsSizing('main')} 7if(tacCookieContainer&&tacCookieContainer.style.display==='block'){tarteaucitron.userInterface.jsSizing('cookie')}},"scrollEvent":function(){var scrollPos=window.pageYOffset||document.documentElement.scrollTop;var heightPosition;var tacPercentage=document.getElementById('tarteaucitronPercentage');var tacAlertBig=document.getElementById('tarteaucitronAlertBig');if(tacAlertBig&&!tarteaucitron.highPrivacy){if(tacAlertBig.style.display==='block'){heightPosition=tacAlertBig.offsetHeight+'px';if(scrollPos>(screen.height*2)){tarteaucitron.userInterface.respondAll(!0)}else if(scrollPos>(screen.height/2)){document.getElementById('tarteaucitronDisclaimerAlert').innerHTML='<strong>'+tarteaucitron.lang.alertBigScroll+'</strong> '+tarteaucitron.lang.alertBig} 8if(tacPercentage){if(tarteaucitron.orientation==='top'){tacPercentage.style.top=heightPosition}else{tacPercentage.style.bottom=heightPosition} 9tacPercentage.style.width=((100/(screen.height*2))*scrollPos)+'%'}}}},},"load":function(){"use strict";var cdn=tarteaucitron.cdn,language=tarteaucitron.getLanguage(),useJSDelivrMinifiedJS=(cdn.indexOf('cdn.jsdelivr.net')>=0),pathToLang=cdn+'lang/tarteaucitron.'+language+(useJSDelivrMinifiedJS?'.min':'')+'.js?v='+tarteaucitron.version,pathToServices=cdn+'tarteaucitron.services'+(useJSDelivrMinifiedJS?'.min':'')+'.js?v='+tarteaucitron.version,linkElement=document.createElement('link'),defaults={"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,"closePopup":!1,"groupServices":!1},params=tarteaucitron.parameters;if(((tarteaucitron.parameters.readmoreLink!==undefined&&window.location.href==tarteaucitron.parameters.readmoreLink)||window.location.href==tarteaucitron.parameters.privacyUrl)&&tarteaucitron.parameters.orientation=="middle"){tarteaucitron.parameters.orientation="bottom"} 10if(typeof tarteaucitronCustomPremium!=='undefined'){tarteaucitronCustomPremium()} 11if(params!==undefined){for(var k in defaults){if(!tarteaucitron.parameters.hasOwnProperty(k)){tarteaucitron.parameters[k]=defaults[k]}}} 12tarteaucitron.orientation=tarteaucitron.parameters.orientation;tarteaucitron.hashtag=tarteaucitron.parameters.hashtag;tarteaucitron.highPrivacy=tarteaucitron.parameters.highPrivacy;tarteaucitron.handleBrowserDNTRequest=tarteaucitron.parameters.handleBrowserDNTRequest;tarteaucitron.customCloserId=tarteaucitron.parameters.customCloserId;if(!tarteaucitron.parameters.useExternalCss){linkElement.rel='stylesheet';linkElement.type='text/css';linkElement.href=cdn+'css/tarteaucitron'+(useJSDelivrMinifiedJS?'.min':'')+'.css?v='+tarteaucitron.version;document.getElementsByTagName('head')[0].appendChild(linkElement)} 13tarteaucitron.addInternalScript(pathToLang,'',function(){if(tarteaucitronCustomText!==''){tarteaucitron.lang=tarteaucitron.AddOrUpdate(tarteaucitron.lang,tarteaucitronCustomText)} 14tarteaucitron.addInternalScript(pathToServices,'',function(){if(tarteaucitron.orientation==='middle'){var customThemeMiddle=document.createElement('style'),cssRuleMiddle='div#tarteaucitronRoot.tarteaucitronBeforeVisible:before {content: \'\';position: fixed;width: 100%;height: 100%;background: white;top: 0;left: 0;z-index: 999;opacity: 0.5;}div#tarteaucitronAlertBig:before {content: \''+tarteaucitron.lang.middleBarHead+'\';font-size: 35px;}body #tarteaucitronRoot div#tarteaucitronAlertBig {width: 60%;min-width: 285px;height: auto;margin: auto;left: 50%;top: 50%;transform: translate(-50%, -50%);box-shadow: 0 0 9000px #000;border-radius: 20px;padding: 35px 25px;}
14span#tarteaucitronDisclaimerAlert {padding: 0 30px;}#tarteaucitronRoot span#tarteaucitronDisclaimerAlert {margin: 10px 0 30px;display: block;text-align: center;font-size: 21px;}@media screen and (max-width: 900px) {div#tarteaucitronAlertBig button {margin: 0 auto 10px!important;display: block!important;}}';customThemeMiddle.type='text/css';if(customThemeMiddle.styleSheet){customThemeMiddle.styleSheet.cssText=cssRuleMiddle}else{customThemeMiddle.appendChild(document.createTextNode(cssRuleMiddle))} 15document.getElementsByTagName('head')[0].appendChild(customThemeMiddle)} 16if(tarteaucitron.orientation==='popup'){var customThemePopup=document.createElement('style'),cssRulePopup='div#tarteaucitronAlertBig:before {content: \''+tarteaucitron.lang.middleBarHead+'\';font-size: 22px;}body #tarteaucitronRoot div#tarteaucitronAlertBig {bottom: 0;top: auto!important;left: 8px!important;right: auto!important;transform: initial!important;border-radius: 5px 5px 0 0!important;max-width: 250px!important;width: Calc(100% - 16px)!important;min-width: 0!important;padding: 25px 0;}span#tarteaucitronDisclaimerAlert {padding: 0 30px;font-size: 15px!important;}#tarteaucitronRoot span#tarteaucitronDisclaimerAlert {margin: 10px 0 30px;display: block;text-align: center;font-size: 21px;}div#tarteaucitronAlertBig button {margin: 0 auto 10px!important;display: block!important;width: Calc(100% - 60px);box-sizing: border-box;}';customThemePopup.type='text/css';if(customThemePopup.styleSheet){customThemePopup.styleSheet.cssText=cssRulePopup}else{customThemePopup.appendChild(document.createTextNode(cssRulePopup))} 17document.getElementsByTagName('head')[0].appendChild(customThemePopup)} 18var body=document.body,div=document.createElement('div'),html='',index,orientation='Top',cat=['ads','analytic','api','comment','social','support','video','other'],i;cat=cat.sort(function(a,b){if(tarteaucitron.lang[a].title>tarteaucitron.lang[b].title){return 1} 19if(tarteaucitron.lang[a].title<tarteaucitron.lang[b].title){return-1} 20return 0});html+='<div id="tarteaucitronPremium"></div>';if(tarteaucitron.reloadThePage){html+='<button type="button" id="tarteaucitronBack" aria-label="'+tarteaucitron.lang.close+' ('+tarteaucitron.lang.reload+')" title="'+tarteaucitron.lang.close+' ('+tarteaucitron.lang.reload+')"></button>'}else{html+='<button type="button" id="tarteaucitronBack" aria-label="'+tarteaucitron.lang.close+'" title="'+tarteaucitron.lang.close+'"></button>'} 21html+='<div id="tarteaucitron" role="dialog" aria-modal="true" aria-describedby="tarteaucitronInfo" aria-labelledby="dialogTitle" tabindex="-1">';if(tarteaucitron.reloadThePage){html+=' <button type="button" id="tarteaucitronClosePanel" aria-label="'+tarteaucitron.lang.close+' ('+tarteaucitron.lang.reload+')" title="'+tarteaucitron.lang.close+' ('+tarteaucitron.lang.reload+')">'}else{html+=' <button type="button" id="tarteaucitronClosePanel">'} 22html+=' '+tarteaucitron.lang.close;html+=' </button>';html+=' <div id="tarteaucitronServices">';html+=' <div class="tarteaucitronLine tarteaucitronMainLine" id="tarteaucitronMainLineOffset">';html+=' <span class="tarteaucitronH1" role="heading" aria-level="1" id="dialogTitle">'+tarteaucitron.lang.title+'</span>';html+=' <div id="tarteaucitronInfo">';html+=' '+tarteaucitron.lang.disclaimer;if(tarteaucitron.parameters.privacyUrl!==""){html+=' <br/><br/>';html+=' <button type="button" id="tarteaucitronPrivacyUrlDialog" role="link">';html+=' '+tarteaucitron.lang.privacyUrl;html+=' </button>'} 23html+=' </div>';html+=' <div class="tarteaucitronName">';html+=' <span class="tarteaucitronH2" role="heading" aria-level="2">'+tarteaucitron.lang.all+'</span>';html+=' </div>';html+=' <div class="tarteaucitronAsk" id="tarteaucitronScrollbarAdjust">';html+=' <button type="button" id="tarteaucitronAllAllowed" class="tarteaucitronAllow">';html+=' <span class="tarteaucitronCheck"></span> '+tarteaucitron.lang.allowAll;html+=' </button> ';html+=' <button type="button" id="tarteaucitronAllDenied" class="tarteaucitronDeny">';
23html+=' <span class="tarteaucitronCross"></span> '+tarteaucitron.lang.denyAll;html+=' </button>';html+=' </div>';html+=' </div>';html+=' <div class="tarteaucitronBorder">';html+=' <div class="clear"></div><ul>';if(tarteaucitron.parameters.mandatory==!0){html+='<li id="tarteaucitronServicesTitle_mandatory">';html+='<div class="tarteaucitronTitle">';html+=' <button type="button" tabindex="-1"><span class="tarteaucitronPlus"></span> '+tarteaucitron.lang.mandatoryTitle+'</button>';html+='</div>';html+='<ul id="tarteaucitronServices_mandatory">';html+='<li class="tarteaucitronLine">';html+=' <div class="tarteaucitronName">';html+=' <span class="tarteaucitronH3" role="heading" aria-level="3">'+tarteaucitron.lang.mandatoryText+'</span>';html+=' <span class="tarteaucitronListCookies"></span><br/>';html+=' </div>';html+=' <div class="tarteaucitronAsk">';html+=' <button type="button" class="tarteaucitronAllow" tabindex="-1" disabled>';html+=' <span class="tarteaucitronCheck"></span> '+tarteaucitron.lang.allow;html+=' </button> ';html+=' <button type="button" class="tarteaucitronDeny" style="visibility:hidden" tabindex="-1">';html+=' <span class="tarteaucitronCross"></span> '+tarteaucitron.lang.deny;html+=' </button> ';html+=' </div>';html+='</li>';html+='</ul></li>'} 24for(i=0;i<cat.length;i+=1){html+=' <li id="tarteaucitronServicesTitle_'+cat[i]+'" class="tarteaucitronHidden">';html+=' <div class="tarteaucitronTitle">';html+=' <button type="button" class="catToggleBtn" data-cat="tarteaucitronDetails'+cat[i]+'"><span class="tarteaucitronPlus"></span> '+tarteaucitron.lang[cat[i]].title+'</button>';html+=' </div>';html+=' <div id="tarteaucitronDetails'+cat[i]+'" class="tarteaucitronDetails tarteaucitronInfoBox">';html+=' '+tarteaucitron.lang[cat[i]].details;html+=' </div>';html+=' <ul id="tarteaucitronServices_'+cat[i]+'"></ul></li>'} 25html+=' <li id="tarteaucitronNoServicesTitle" class="tarteaucitronLine">'+tarteaucitron.lang.noServices+'</li>';html+=' </ul>';html+=' <div class="tarteaucitronHidden tarteaucitron-spacer-20" id="tarteaucitronScrollbarChild"></div>';if(tarteaucitron.parameters.removeCredit===!1){html+=' <a class="tarteaucitronSelfLink" href="https://tarteaucitron.io/" rel="nofollow noreferrer noopener" target="_blank" title="tarteaucitron '+tarteaucitron.lang.newWindow+'"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHcAAAAeCAYAAAAWwoEYAAADl0lEQVRoge1Y0W3bQAx9CjKARlC+9GVUmqDJBHEmiDyB6wkcTxBngtgTxJ0gzgQW4C/9aYOmE6g4lTQo+k6y3Rb94QOERNQd+cjj8XiGwWAwGAwGg8FgMBgMBoPB8F8RNRXe+whEKe7c36ZCAeCRxC9Rig2PUd8kPgAsoxSfQ3YAzAA8D/HwYYCb05kBKKO0teFkmbC1jlKsAnq/Abjn+QBqAIsoRS30ttwG/HNz1wH/XIxWTicLdvtW7xTAGEAMtP685CNsBTe2d/BLydfXAG57SEnMAST0zgYZSUCPk02bCvkJduIzuJzDLfPolbY+tLKmar+/8+IRePy4qdpE03qHuH8fipFb4N2+XdA3AJ/0vaQxt7s9FvkIS2XvtqnwM0rxpOQfbnE5G2LhTCmUO2fHIngOmcv+KG3HafDchB6ntwjYqenR2PqC7sOZ3E7FXHB0vqxoFyUyLh7OEH7LOGouvhhN3eIBeKXv0n5MsufdHqXcwYR5U2EbpV35lSspVPJmQj4TcgRK7jTg5IzmPUhhwM5a2WHUFCx+NgiDucmgh7idikLovHFlL0pxQ9xzX+IIP9Y6FrJsqhjlQpZRAkFVDCjZfcCHt6bqJDmuh5ylCWx0RVnk3oumaknqTH5sqrY0fBWyULaHUIgAgxb46MxV3DbieAhxOxUxjSuljig9lMQ/Bcfoi9BTEv9aLORSndVxYOH525sUDC6u2gWxcNzBNRxPanyh3ktKinOgy3WoxPbtUM0t6RkbQnzBnFPgi9GCOEubY9UffIryz9iKRe8s/FUfEWosJJGxagp85bpUO3VywQ46lOtAWfNxKwa4JXQ+628+bpxYGXXMzp5rXH401VEyXwIdowXFaKWSMFHvMTVmGnc+P3oXV2QOiBCfgex8QtcQCbcQE/H+eoHzrkFo1KM7zVO4jVVj5s6lRiWF7zyXyfRMc97J3tzj87mYqZ7E2YjzUct9GUi4tjHLR8dVkBLjQcuHFleWvQfRNEhFR7uX7pkctOwvZXsft7sAtyldEUIN2UTeLxnEfxKYswzdi88BdbZ8hifUoSMftQvP+muRwN6+Q3DeqqRExP9QmTtcheiHh0Ot1x2i2km1bP9pbufw5zZdyWsOrh7vQae5OZWbsMv30pi7cd/CKj3coPEVaCP4Zhx4eQWhOZ1Y9MTXGyP8/iGjEyfa1T4fO/4Lea9vBoPBYDAYDAaDwWAwGAwGwz8GgF8siXCCbrSRhgAAAABJRU5ErkJggg==" alt="tarteaucitron.io" /></a>'} 26html+=' </div>';html+=' </div>';html+='</div>';if(tarteaucitron.parameters.orientation==='bottom'){orientation='Bottom'} 27if(tarteaucitron.parameters.highPrivacy&&!tarteaucitron.parameters.AcceptAllCta){html+='<div tabindex="-1" id="tarteaucitronAlertBig" class="tarteaucitronAlertBig'+orientation+'">';
vendor: 2,923 bytes, lines 27-33
27html+=' <span id="tarteaucitronDisclaimerAlert">';html+=' '+tarteaucitron.lang.alertBigPrivacy;html+=' </span>';html+=' <button type="button" id="tarteaucitronPersonalize" aria-label="'+tarteaucitron.lang.personalize+' '+tarteaucitron.lang.modalWindow+'" title="'+tarteaucitron.lang.personalize+' '+tarteaucitron.lang.modalWindow+'">';html+=' '+tarteaucitron.lang.personalize;html+=' </button>';if(tarteaucitron.parameters.privacyUrl!==""){html+=' <button role="link" type="button" id="tarteaucitronPrivacyUrl">';html+=' '+tarteaucitron.lang.privacyUrl;html+=' </button>'} 28html+='</div>'}else{html+='<div tabindex="-1" id="tarteaucitronAlertBig" class="tarteaucitronAlertBig'+orientation+'">';html+=' <span id="tarteaucitronDisclaimerAlert">';if(tarteaucitron.parameters.highPrivacy){html+=' '+tarteaucitron.lang.alertBigPrivacy}else{html+=' '+tarteaucitron.lang.alertBigClick+' '+tarteaucitron.lang.alertBig} 29html+=' </span>';html+=' <button type="button" class="tarteaucitronCTAButton tarteaucitronAllow" id="tarteaucitronPersonalize2">';html+=' <span class="tarteaucitronCheck"></span> '+tarteaucitron.lang.acceptAll;html+=' </button>';if(tarteaucitron.parameters.DenyAllCta){if(tarteaucitron.reloadThePage){html+=' <button type="button" class="tarteaucitronCTAButton tarteaucitronDeny" id="tarteaucitronAllDenied2" aria-label="'+tarteaucitron.lang.denyAll+' ('+tarteaucitron.lang.reload+')" title="'+tarteaucitron.lang.denyAll+' ('+tarteaucitron.lang.reload+')">'}else{html+=' <button type="button" class="tarteaucitronCTAButton tarteaucitronDeny" id="tarteaucitronAllDenied2">'} 30html+=' <span class="tarteaucitronCross"></span> '+tarteaucitron.lang.denyAll;html+=' </button>'} 31html+=' <button type="button" id="tarteaucitronCloseAlert" aria-label="'+tarteaucitron.lang.personalize+' '+tarteaucitron.lang.modalWindow+'" title="'+tarteaucitron.lang.personalize+' '+tarteaucitron.lang.modalWindow+'">';html+=' '+tarteaucitron.lang.personalize;html+=' </button>';if(tarteaucitron.parameters.privacyUrl!==""){html+=' <button type="button" id="tarteaucitronPrivacyUrl" role="link">';html+=' '+tarteaucitron.lang.privacyUrl;html+=' </button>'} 32html+='</div>';html+='<div id="tarteaucitronPercentage"></div>'} 33if(tarteaucitron.parameters.showIcon===!0){html+='<div id="tarteaucitronIcon" class="tarteaucitronIcon'+tarteaucitron.parameters.iconPosition+'">';html+=' <button type="button" id="tarteaucitronManager">';html+=' <img src="'+(tarteaucitron.parameters.iconSrc?tarteaucitron.parameters.iconSrc:'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAGA0lEQVRoge1a207bWBRdBtJwLYZhKDMVmlSK1LxNkPo+ZH6g8B6p5AuALwC+APoFoVLeoT8whPeRSt+CZKmZVu3AiIsRlEtCktGyjy8xzuXYhvahS0JJHJ/4rLP3XnuffcAPfGdQ7mM6jRLSAF4BxqsbewB2lRS2o35mpEQaJcwCyANIdLi1DGBNSWEzqmdHRqRRwjqAJclhtExOSUEP+/xIiDRKhhUWfL7ShTtBuJnqcw+/z4Ql0xNmMEwSSz4ku
33NIzSgpjSsqYJP/GeE185wYJroedRyiLNEpGLLzzrHSuk+83SgbxvOcyyRaDziWsRVZkSRDinpzPbwVGWIucuohsKynMS47fAQyls/BMSRmKJo3AFhG5wm2N1wF+Zs3zebbFfR0RxrXcJHQlgH+LMW616pR/WiIMEXfW3mtzXyeEGWsjKot8c4TOI98L+iKaR5PS6IUk88RLAO9F8UjrbYoYMOosNavpfmODIiwRXRR/G3ohaWVo1RU/c30jV8ab2mV8qVGzHWBOLyTLZiWs5Rolg/C3ySOi0tXP/k4aEwOwSBKPJs7Rp16ABJTe+p1xVX0It/owqqdDEMRoqd3RFxqDPh20Ig6VEPVC0i5RSCD+6wl6HlW7GksSlUMV11/GrUs5NasFLusDE9ELSVphXemtJwaT/8JyIRvxNNCfBmIiNdR04LII3DSrbe0yjqvyJF/ppptqVlt+MCLCEh/oOkPPP6N38Mb5cnQBGFsEqmXg5j3QMwoMzwGnr4HYbybBq13gZAOom/FO63zdf2qQArCsZrUN2TlJy69eSDKYV+6Q4MpP75ivHzPA53ngaBW4eGuSOt0A/lsGPmXMz0+3TFJcTfFbPfFbfnwlhON+iQhlWmA82CQ4ocQ7c6KcfL3DHuls0yT6Sx4YnLXJDCQOIRRv5yGIJBgP8Sdisj2qubpc5UGJmo+W49ifVmzL8HcpGhQPvZCUKiCliIhEN0tr2OCqHuSA8gwQ/92MkU7gxEmeVqGrTTgpxPXbUrtGWYus0I9thRIraagRQUIDf7Qn4yZhKRiFQIyhfMfUr3yblokVWSJ6k8xSnc7eNN/RjowfCYiFoDUFer1S3gW6JiJ8Nt30EMbEhU+vzSIztuRYjRLsR8IHLjlf7HZ+MrWWEXxNmbvapt4jGSqZRYSkGUetSNTPzHsui5YMQ2ajJUNks6mw4wT54Ok2ShnzzIPCUGshzawCRKy5FqvrTZe0RWzQGvw79m67XZjKmxJrLsICjtZa55gxXy+6F4sYsEtxTqhXdRTLC8ulSDaWoCLsolfN+8YUhOsJV709H7Cudr0LlVEtzqBcN+shEyThdR941OnAbF8pirKJqXyupTRTtQSReiVmXW1j7oBErB0d9xM2WEd5J9ZKYtuR4WKwwBSoORbpGrJ5ZI9lt71irJmGX1px0JYE26uNErawr2zfIcP4OHEKXm66PA3wjpCNEfpJunI4muifPjKvsFCkGjExTq63yxMJsZNMYF/J4HmDC5A3Yq36jy0ClePHVhwuu/b1HSFlEfHD5ZtD1bEK44Qu1mWys6tbWmZyPWckzlPTGiRw/XHCuk+q4Rek+mVrVL/UppwrdDEGNV2kpyuhccgc5Oxm9vWnn+19vJrVpLor0kTUrGacMplb1CfOFyTD4o9uNrHqr2Z+ZMSp1c2XcVSORnh9Q81q3k599ETgkNnjg0nGzi10K7rX+bZpHbrblPcY5A4Zxk2xcjzCvTpd9027Aa0QtouyyrKFRR6D/04DwkFGvHPXM3Qda/Jb4nPgI7hQLVM1q5HIBt2MzQNa57Z1DiiLAGa5Mi+O4Sz3Mpp6laPHO6InII3ITnX1QtI+EOX+m9ZxleOZ/j9PiuKoLi3aqXPuEoSye/Vhkm+LalbLtHhMS0R6zu7aZ3vP2jOjL7QVv4McxhcDnZIelAQibGIbULOapf3PuE1Vs9qeaOTdkVKr00gCQiw4NlBzDvf1Lxx+uP5r3Dgv5KQZRzWn+GRwz8jmDS8itUg7iB6vLuJCF5Uty4A9mVKkFR6MiJDachST/oHvHgD+B4SoUIitpF05AAAAAElFTkSuQmCC')+'" alt="'+tarteaucitron.lang.icon+' '+tarteaucitron.lang.modalWindow+'" title="'+tarteaucitron.lang.icon+' '+tarteaucitron.lang.modalWindow+'">';html+=' </button>';html+='</div>'} 34if(tarteaucitron.parameters.showAlertSmall===!0){html+='<div id="tarteaucitronAlertSmall" class="tarteaucitronAlertSmall'+orientation+'">';html+=' <button type="button" id="tarteaucitronManager" aria-label="'+tarteaucitron.lang.alertSmall+' '+tarteaucitron.lang.modalWindow+'" title="'+tarteaucitron.lang.alertSmall+' '+tarteaucitron.lang.modalWindow+'">';html+=' '+tarteaucitron.lang.alertSmall;html+=' <span id="tarteaucitronDot">';html+=' <span id="tarteaucitronDotGreen"></span>';html+=' <span id="tarteaucitronDotYellow"></span>';html+=' <span id="tarteaucitronDotRed"></span>';html+=' </span>';if(tarteaucitron.parameters.cookieslist===!0){html+=' </button><!-- @whitespace';html+=' --><button type="button" id="tarteaucitronCookiesNumber" aria-expanded="false" aria-controls="tarteaucitronCookiesListContainer">0</button>';html+=' <div id="tarteaucitronCookiesListContainer">';if(tarteaucitron.reloadThePage){html+=' <button type="button" id="tarteaucitronClosePanelCookie" aria-label="'+tarteaucitron.lang.close+' ('+tarteaucitron.lang.reload+')" title="'+tarteaucitron.lang.close+' ('+tarteaucitron.lang.reload+')">'}else{html+=' <button type="button" id="tarteaucitronClosePanelCookie">'} 35html+=' '+tarteaucitron.lang.close;html+=' </button>';html+=' <div class="tarteaucitronCookiesListMain" id="tarteaucitronCookiesTitle">';html+=' <span class="tarteaucitronH2" role="heading" aria-level="2" id="tarteaucitronCookiesNumberBis">0 cookie</span>';html+=' </div>';html+=' <div id="tarteaucitronCookiesList"></div>';html+=' </div>'}else{html+=' </div>'} 36html+='</div>'} 37tarteaucitron.addInternalScript(tarteaucitron.cdn+'advertising'+(useJSDelivrMinifiedJS?'.min':'')+'.js?v='+tarteaucitron.version,'',function(){if(tarteaucitronNoAdBlocker===!0||tarteaucitron.parameters.adblocker===!1){div.id='tarteaucitronRoot';if(tarteaucitron.parameters.bodyPosition==='top'){var bodyFirstChild=body.firstChild;body.insertBefore(div,bodyFirstChild)}else{body.appendChild(div,body)} 38div.innerHTML=html;var tacRootAvailableEvent;
38if(typeof(Event)==='function'){tacRootAvailableEvent=new Event("tac.root_available")}else if(typeof(document.createEvent)==='function'){tacRootAvailableEvent=document.createEvent('Event');tacRootAvailableEvent.initEvent("tac.root_available",!0,!0)} 39if(typeof(window.dispatchEvent)==='function'){window.dispatchEvent(tacRootAvailableEvent)} 40if(tarteaucitron.job!==undefined){tarteaucitron.job=tarteaucitron.cleanArray(tarteaucitron.job);for(index=0;index<tarteaucitron.job.length;index+=1){tarteaucitron.addService(tarteaucitron.job[index])}}else{tarteaucitron.job=[]} 41if(tarteaucitron.job.length===0){tarteaucitron.userInterface.closeAlert()} 42tarteaucitron.isAjax=!0;tarteaucitron.job.push=function(id){if(typeof tarteaucitron.job.indexOf==='undefined'){tarteaucitron.job.indexOf=function(obj,start){var i,j=this.length;for(i=(start||0);i<j;i+=1){if(this[i]===obj){return i}} 43return-1}} 44if(tarteaucitron.job.indexOf(id)===-1){Array.prototype.push.call(this,id)} 45tarteaucitron.launch[id]=!1;tarteaucitron.addService(id)};if(document.location.hash===tarteaucitron.hashtag&&tarteaucitron.hashtag!==''){tarteaucitron.userInterface.openPanel
45()} 46tarteaucitron.cookie.number();setInterval(tarteaucitron.cookie.number,60000)}},tarteaucitron.parameters.adblocker);if(tarteaucitron.parameters.adblocker===!0){setTimeout(function(){if(tarteaucitronNoAdBlocker===!1){html='<div id="tarteaucitronAlertBig" class="tarteaucitronAlertBig'+orientation+' tarteaucitron-display-block" role="alert" aria-live="polite">';html+=' <p id="tarteaucitronDisclaimerAlert">';html+=' '+tarteaucitron.lang.adblock+'<br/>';html+=' <strong>'+tarteaucitron.lang.adblock_call+'</strong>';html+=' </p>';html+=' <button type="button" class="tarteaucitronCTAButton" id="tarteaucitronCTAButton">';html+=' '+tarteaucitron.lang.reload;html+=' </button>';html+='</div>';html+='<div id="tarteaucitronPremium"></div>';div.id='tarteaucitronRoot';if(tarteaucitron.parameters.bodyPosition==='top'){var bodyFirstChild=body.firstChild;body.insertBefore(div,bodyFirstChild)}else{body.appendChild(div,body)} 47div.innerHTML=html}},1500)} 48if(tarteaucitron.parameters.closePopup===!0){setTimeout(function(){var closeElement=document.getElementById('tarteaucitronAlertBig'),closeSpan=document.createElement('span');if(closeElement){closeSpan.textContent='X';closeSpan.setAttribute('id',"tarteaucitronCloseCross");closeElement.insertBefore(closeSpan,closeElement.firstElementChild)}},100)} 49if(tarteaucitron.parameters.groupServices===!0){var tac_group_style=document.createElement('style');tac_group_style.innerHTML='.tarteaucitronTitle{display:none}';document.head.appendChild(tac_group_style);var cats=document.querySelectorAll('[id^="tarteaucitronServicesTitle_"]') 50Array.prototype.forEach.call(cats,function(item){var cat=item.getAttribute('id').replace(/^(tarteaucitronServicesTitle_)/,"");if(cat!=="mandatory"){var html='';html+='<li class="tarteaucitronLine">';html+=' <div class="tarteaucitronName">';html+=' <span class="tarteaucitronH3" role="heading" aria-level="2">'+tarteaucitron.lang[cat].title+'</span>';html+=' <span>'+tarteaucitron.lang[cat].details+'</span>';html+=' <button type="button" aria-expanded="false" class="tarteaucitron-toggle-group" id="tarteaucitron-toggle-group-'+cat+'">'+tarteaucitron.lang.alertSmall+' ('+document.getElementById("tarteaucitronServices_"+cat).childElementCount+')</button>';html+=' </div>';html+=' <div class="tarteaucitronAsk" id="tarteaucitron-group-'+cat+'">';html+=' <button type="button" aria-label="'+tarteaucitron.lang.allow+' '+tarteaucitron.lang[cat].title+'" class="tarteaucitronAllow" id="tarteaucitron-accept-group-'+cat+'">';html+=' <span class="tarteaucitronCheck"></span> '+tarteaucitron.lang.allow;html+=' </button> ';html+=' <button type="button" aria-label="'+tarteaucitron.lang.deny+' '+tarteaucitron.lang[cat].title+'" class="tarteaucitronDeny" id="tarteaucitron-reject-group-'+cat+'">';html+=' <span class="tarteaucitronCross"></span> '+tarteaucitron.lang.deny;html+=' </button>';html+=' </div>';html+='</li>';var ul=document.createElement('ul');ul.innerHTML=html;item.insertBefore(ul,item.querySelector('#tarteaucitronServices_'+cat+''));document.querySelector('#tarteaucitronServices_'+cat).style.display='none';tarteaucitron.addClickEventToId("tarteaucitron-toggle-group-"+cat,function(){tarteaucitron.userInterface.toggle('tarteaucitronServices_'+cat);if(document.getElementById('tarteaucitronServices_'+cat).style.display=='block'){tarteaucitron.userInterface.addClass('tarteaucitronServicesTitle_'+cat,'tarteaucitronIsExpanded');document.getElementById('tarteaucitron-toggle-group-'+cat).setAttribute('aria-expanded','true')}else{tarteaucitron.userInterface.removeClass('tarteaucitronServicesTitle_'+cat,'tarteaucitronIsExpanded');document.getElementById('tarteaucitron-toggle-group-'+cat).setAttribute('aria-expanded','false')}});tarteaucitron.addClickEventToId("tarteaucitron-accept-group-"+cat,function(){tarteaucitron.userInterface.respondAll(!0,cat)});tarteaucitron.addClickEventToId("tarteaucitron-reject-group-"+cat,function(){tarteaucitron.userInterface.respondAll(!1,cat)})}})} 51tarteaucitron.userInterface.color("",!0);setTimeout(function(){tarteaucitron.addClickEventToId("tarteaucitronCloseCross",function(){tarteaucitron.userInterface.closeAlert()});tarteaucitron.addClickEventToId("tarteaucitronPersonalize",function(){tarteaucitron.userInterface.openPanel
51()});tarteaucitron.addClickEventToId("tarteaucitronPersonalize2",function(){tarteaucitron.userInterface.respondAll(!0)});tarteaucitron.addClickEventToId("tarteaucitronManager",function(){tarteaucitron.userInterface.openPanel()});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,'',!0);if(tarteaucitron.reloadThePage===!0){window.location.reload()}});tarteaucitron.addClickEventToId("tarteaucitronCloseAlert",function(){tarteaucitron.userInterface.openPanel
51()});tarteaucitron.addClickEventToId("tarteaucitronCTAButton",function(){location.reload()});var toggleBtns=document.getElementsByClassName("catToggleBtn"),i;for(i=0;i<toggleBtns.length;i++){toggleBtns[i].dataset.index=i;tarteaucitron.addClickEventToElement(toggleBtns[i],function(){tarteaucitron.userInterface.toggle('tarteaucitronDetails'+cat[this.dataset.index],'tarteaucitronInfoBox');return!1})} 52var allowBtns=document.getElementsByClassName("tarteaucitronAllow");for(i=0;i<allowBtns.length;i++){tarteaucitron.addClickEventToElement(allowBtns[i],function(){tarteaucitron.userInterface.respond(this,!0)})} 53var denyBtns=document.getElementsByClassName("tarteaucitronDeny");for(i=0;i<denyBtns.length;i++){tarteaucitron.addClickEventToElement(denyBtns[i],function(){tarteaucitron.userInterface.respond(this,!1)})} 54if(tarteaucitron.events.load){tarteaucitron.events.load()}},500)})})},"addService":function(serviceId){"use strict";var html='',s=tarteaucitron.services,service=s[serviceId],cookie=tarteaucitron.cookie.read(),hostname=document.location.hostname,hostRef=document.referrer.split('/')[2],isNavigating=(hostRef===hostname&&window.location.href!==tarteaucitron.parameters.privacyUrl),isAutostart=(!service.needConsent),isWaiting=(cookie.indexOf(service.key+'=wait')>=0),isDenied=(cookie.indexOf(service.key+'=false')>=0),isAllowed=((cookie.indexOf(service.key+'=true')>=0)||(!service.needConsent&&cookie.indexOf(service.key+'=false')<0)),isResponded=(cookie.indexOf(service.key+'=false')>=0||cookie.indexOf(service.key+'=true')>=0),isDNTRequested=(navigator.doNotTrack==="1"||navigator.doNotTrack==="yes"||navigator.msDoNotTrack==="1"||window.doNotTrack==="1"),currentStatus=(isAllowed)?tarteaucitron.lang.allowed:tarteaucitron.lang.disallowed;if(tarteaucitron.added[service.key]!==!0){tarteaucitron.added[service.key]=!0;html+='<li id="'+service.key+'Line" class="tarteaucitronLine">';html+=' <div class="tarteaucitronName">';html+=' <span class="tarteaucitronH3" role="heading" aria-level="3">'+service.name+'</span>';html+=' <span class="tacCurrentStatus" id="tacCurrentStatus'+service.key+'">'+currentStatus+'</span>';html+=' <span class="tarteaucitronReadmoreSeparator"> - </span>';html+=' <span id="tacCL'+service.key+'" class="tarteaucitronListCookies"></span><br/>';if(tarteaucitron.parameters.moreInfoLink==!0){var link='https://tarteaucitron.io/service/'+service.key+'/';if(service.readmoreLink!==undefined&&service.readmoreLink!==''){link=service.readmoreLink} 55if(tarteaucitron.parameters.readmoreLink!==undefined&&tarteaucitron.parameters.readmoreLink!==''){link=tarteaucitron.parameters.readmoreLink} 56html+=' <a href="'+link+'" target="_blank" rel="noreferrer noopener nofollow" title="'+tarteaucitron.lang.cookieDetail+' '+service.name+' '+tarteaucitron.lang.ourSite+' '+tarteaucitron.lang.newWindow+'" class="tarteaucitronReadmoreInfo">';html+=' '+tarteaucitron.lang.more;html+=' </a>';html+=' <span class="tarteaucitronReadmoreSeparator"> - </span>';html+=' <a href="'+service.uri+'" target="_blank" rel="noreferrer noopener" title="'+tarteaucitron.lang.source+' '+service.name+' '+tarteaucitron.lang.newWindow+'" class="tarteaucitronReadmoreOfficial">';html+=' '+tarteaucitron.lang.source;html+=' </a>'} 57html+=' </div>';html+=' <div class="tarteaucitronAsk">';html+=' <button type="button" aria-label="'+tarteaucitron.lang.allow+' '+service.name+'" id="'+service.key+'Allowed" class="tarteaucitronAllow">';html+=' <span class="tarteaucitronCheck"></span> '+tarteaucitron.lang.allow;html+=' </button> ';html+=' <button type="button" aria-label="'+tarteaucitron.lang.deny+' '+service.name+'" id="'+service.key+'Denied" class="tarteaucitronDeny">';html+=' <span class="tarteaucitronCross"></span> '+tarteaucitron.lang.deny;html+=' </button>';html+=' </div>';html+='</li>';tarteaucitron.userInterface.css('tarteaucitronServicesTitle_'+service.type,'display','block');if(document.getElementById('tarteaucitronServices_'+service.type)!==null){document.getElementById('tarteaucitronServices_'+service.type).innerHTML+=html} 58tarteaucitron.userInterface.css('tarteaucitronNoServicesTitle','display','none');tarteaucitron.userInterface.order(service.type);tarteaucitron.addClickEventToId(service.key+'Allowed',function(){tarteaucitron.userInterface.respond(this,!0)});tarteaucitron.addClickEventToId(service.key+'Denied',function(){tarteaucitron.userInterface.respond(this,!1)})} 59tarteaucitron.pro('!'+service.key+'='+isAllowed);if(isResponded===!1&&tarteaucitron.user.bypass===!0){isAllowed=!0;tarteaucitron.cookie.create(service.key,!0)} 60if((!isResponded&&(isAutostart||(isNavigating&&isWaiting))&&!tarteaucitron.highPrivacy)||isAllowed){
60if(!isAllowed||(!service.needConsent&&cookie.indexOf(service.key+'=false')<0)){tarteaucitron.cookie.create(service.key,!0)} 61if(tarteaucitron.launch[service.key]!==!0){tarteaucitron.launch[service.key]=!0;if(typeof tarteaucitronMagic==='undefined'||tarteaucitronMagic.indexOf("_"+service.key+"_")<0){service.js()} 62tarteaucitron.sendEvent(service.key+'_loaded')} 63tarteaucitron.state[service.key]=!0;tarteaucitron.userInterface.color(service.key,!0)}else if(isDenied){if(typeof service.fallback==='function'){if(typeof tarteaucitronMagic==='undefined'||tarteaucitronMagic.indexOf("_"+service.key+"_")<0){service.fallback()}} 64tarteaucitron.state[service.key]=!1;tarteaucitron.userInterface.color(service.key,!1)}else if(!isResponded&&isDNTRequested&&tarteaucitron.handleBrowserDNTRequest){tarteaucitron.cookie.create(service.key,'false');if(typeof service.fallback==='function'){if(typeof tarteaucitronMagic==='undefined'||tarteaucitronMagic.indexOf("_"+service.key+"_")<0){service.fallback()}} 65tarteaucitron.state[service.key]=!1;tarteaucitron.userInterface.color(service.key,!1)}else if(!isResponded){tarteaucitron.cookie.create(service.key,'wait');if(typeof service.fallback==='function'){if(typeof tarteaucitronMagic==='undefined'||tarteaucitronMagic.indexOf("_"+service.key+"_")<0){service.fallback()}} 66tarteaucitron.userInterface.color(service.key,'wait');tarteaucitron.userInterface.openAlert()} 67tarteaucitron.cookie.checkCount(service.key);tarteaucitron.sendEvent(service.key+'_added')},"sendEvent":function(event_key){if(event_key!==undefined){var send_event_item;if(typeof(Event)==='function'){send_event_item=new Event(event_key)}else if(typeof(document.createEvent)==='function'){send_event_item=document.createEvent('Event');send_event_item.initEvent(event_key,!0,!0)} 68document.dispatchEvent(send_event_item)}},"cleanArray":function cleanArray(arr){"use strict";var i,len=arr.length,out=[],obj={},s=tarteaucitron.services;for(i=0;i<len;i+=1){if(!obj[arr[i]]){obj[arr[i]]={};if(tarteaucitron.services[arr[i]]!==undefined){out.push(arr[i])}}} 69out=out.sort(function(a,b){if(s[a].type+s[a].key>s[b].type+s[b].key){return 1} 70if(s[a].type+s[a].key<s[b].type+s[b].key){return-1} 71return 0});return out},"userInterface":{"css":function(id,property,value){"use strict";if(document.getElementById(id)!==null){if(property=="display"&&value=="none"&&(id=="tarteaucitron"||id=="tarteaucitronBack"||id=="tarteaucitronAlertBig")){document.getElementById(id).style.opacity="0";setTimeout(function(){document.getElementById(id).style[property]=value},200)}else{document.getElementById(id).style[property]=value;if(property=="display"&&value=="block"&&(id=="tarteaucitron"||id=="tarteaucitronAlertBig")){document.getElementById(id).style.opacity="0";setTimeout(function(){document.getElementById(id).style.opacity="1"},1)} 72if(property=="display"&&value=="block"&&id=="tarteaucitronBack"){document.getElementById(id).style.opacity="0";setTimeout(function(){document.getElementById(id).style.opacity="0.7"},1)}}}},"addClass":function(id,className){"use strict";if(document.getElementById(id)!==null&&document.getElementById(id).classList!==undefined){document.getElementById(id).classList.add(className)}},"removeClass":function(id,className){"use strict";if(document.getElementById(id)!==null&&document.getElementById(id).classList!==undefined){document.getElementById(id).classList.remove(className)}},"respondAll":function(status,type,allowSafeAnalytics){"use strict";var s=tarteaucitron.services,service,key,index=0;for(index=0;index<tarteaucitron.job.length;index+=1){if(typeof type!=='undefined'&&type!==''&&s[tarteaucitron.job[index]].type!==type){continue} 73if(allowSafeAnalytics&&typeof s[tarteaucitron.job[index]].safeanalytic!=="undefined"&&s[tarteaucitron.job[index]].safeanalytic===!0){continue} 74service=s[tarteaucitron.job[index]];key=service.key;if(tarteaucitron.state[key]!==status){if(status===!1&&tarteaucitron.launch[key]===!0){tarteaucitron.reloadThePage=!0;if(tarteaucitron.checkIfExist('tarteaucitronClosePanel')){var ariaCloseValue=document.getElementById('tarteaucitronClosePanel').textContent.trim()+' ('+tarteaucitron.lang.reload+')';document.getElementById('tarteaucitronClosePanel').setAttribute("aria-label",ariaCloseValue);document.getElementById('tarteaucitronClosePanel').setAttribute("title",ariaCloseValue)}}
75if(tarteaucitron.launch[key]!==!0&&status===!0){tarteaucitron.pro('!'+key+'=engage');tarteaucitron.launch[key]=!0;if(typeof tarteaucitronMagic==='undefined'||tarteaucitronMagic.indexOf("_"+key+"_")<0){tarteaucitron.services[key].js()} 76tarteaucitron.sendEvent(key+'_loaded')} 77var itemStatusElem=document.getElementById('tacCurrentStatus'+key);if(status==!0){itemStatusElem.innerHTML=tarteaucitron.lang.allowed}else{itemStatusElem.innerHTML=tarteaucitron.lang.disallowed} 78tarteaucitron.state[key]=status;tarteaucitron.cookie.create(key,status);tarteaucitron.userInterface.color(key,status)}}},"respond":function(el,status){"use strict";if(el.id===''){return} 79var key=el.id.replace(new RegExp("(Eng[0-9]+|Allow|Deni)ed","g"),'');if(key.substring(0,13)==='tarteaucitron'||key===''){return} 80if(tarteaucitron.state[key]===status){return} 81if(status===!1&&tarteaucitron.launch[key]===!0){tarteaucitron.reloadThePage=!0;if(tarteaucitron.checkIfExist('tarteaucitronClosePanel')){var ariaCloseValue=document.getElementById('tarteaucitronClosePanel').textContent.trim()+' ('+tarteaucitron.lang.reload+')';document.getElementById('tarteaucitronClosePanel').setAttribute("aria-label",ariaCloseValue);document.getElementById('tarteaucitronClosePanel').setAttribute("title",ariaCloseValue)}} 82if(status===!0){if(tarteaucitron.launch[key]!==!0){tarteaucitron.pro('!'+key+'=engage');tarteaucitron.launch[key]=!0;if(typeof tarteaucitronMagic==='undefined'||tarteaucitronMagic.indexOf("_"+key+"_")<0){tarteaucitron.services[key].js()} 83tarteaucitron.sendEvent(key+'_loaded')}} 84var itemStatusElem=document.getElementById('tacCurrentStatus'+key);if(status==!0){itemStatusElem.innerHTML=tarteaucitron.lang.allowed}else{itemStatusElem.innerHTML=tarteaucitron.lang.disallowed} 85tarteaucitron.state[key]=status;tarteaucitron.cookie.create(key,status);tarteaucitron.userInterface.color(key,status)},"color":function(key,status){"use strict";var c='tarteaucitron',nbDenied=0,nbPending=0,nbAllowed=0,sum=tarteaucitron.job.length,index,s=tarteaucitron.services;if(key!==""){if(status===!0){tarteaucitron.userInterface.addClass(key+'Line','tarteaucitronIsAllowed');tarteaucitron.userInterface.removeClass(key+'Line','tarteaucitronIsDenied');document.getElementById(key+'Allowed').setAttribute('aria-pressed','true');document.getElementById(key+'Denied').setAttribute('aria-pressed','false')}else if(status===!1){tarteaucitron.userInterface.removeClass(key+'Line','tarteaucitronIsAllowed');tarteaucitron.userInterface.addClass(key+'Line','tarteaucitronIsDenied');document.getElementById(key+'Allowed').setAttribute('aria-pressed','false');document.getElementById(key+'Denied').setAttribute('aria-pressed','true')}else{document.getElementById(key+'Allowed').setAttribute('aria-pressed','false');document.getElementById(key+'Denied').setAttribute('aria-pressed','false')} 86var sumToRemove=0;for(index=0;index<sum;index+=1){if(typeof s[tarteaucitron.job[index]].safeanalytic!=="undefined"&&s[tarteaucitron.job[index]].safeanalytic===!0){sumToRemove+=1;continue} 87if(tarteaucitron.state[tarteaucitron.job[index]]===!1){nbDenied+=1}else if(tarteaucitron.state[tarteaucitron.job[index]]===undefined){nbPending+=1}else if(tarteaucitron.state[tarteaucitron.job[index]]===!0){nbAllowed+=1}} 88sum-=sumToRemove;tarteaucitron.userInterface.css(c+'DotGreen','width',((100/sum)*nbAllowed)+'%');tarteaucitron.userInterface.css(c+'DotYellow','width',((100/sum)*nbPending)+'%');tarteaucitron.userInterface.css(c+'DotRed','width',((100/sum)*nbDenied)+'%');if(nbDenied===0&&nbPending===0){tarteaucitron.userInterface.removeClass(c+'AllDenied',c+'IsSelected');tarteaucitron.userInterface.addClass(c+'AllAllowed',c+'IsSelected');tarteaucitron.userInterface.addClass(c+'MainLineOffset',c+'IsAllowed');tarteaucitron.userInterface.removeClass(c+'MainLineOffset',c+'IsDenied');document.getElementById(c+'AllDenied').setAttribute('aria-pressed','false');document.getElementById(c+'AllAllowed').setAttribute('aria-pressed','true')}else if(nbAllowed===0&&nbPending===0){tarteaucitron.userInterface.removeClass(c+'AllAllowed',c+'IsSelected');tarteaucitron.userInterface.addClass(c+'AllDenied',c+'IsSelected');tarteaucitron.userInterface.removeClass(c+'MainLineOffset',c+'IsAllowed');tarteaucitron.userInterface.addClass(c+'MainLineOffset',c+'IsDenied');document.getElementById(c+'AllDenied').setAttribute('aria-pressed','true');document.getElementById(c+'AllAllowed').setAttribute('aria-pressed','false')}else{tarteaucitron.userInterface.removeClass(c+'AllAllowed',c+'IsSelected');tarteaucitron.userInterface.removeClass(c+'AllDenied',c+'IsSelected');tarteaucitron.userInterface.removeClass(c+'MainLineOffset',c+'IsAllowed');tarteaucitron.userInterface.removeClass(c+'MainLineOffset',c+'IsDenied');document.getElementById(c+'AllDenied').setAttribute('aria-pressed','false');document.getElementById(c+'AllAllowed').setAttribute('aria-pressed','false')} 89if(nbPending===0){tarteaucitron.userInterface.closeAlert()} 90if(tarteaucitron.services[key].cookies.length>0&&status===!1){tarteaucitron.cookie.purge(tarteaucitron.services[key].cookies)} 91if(status===!0){if(document.getElementById('tacCL'+key)!==null){document.getElementById('tacCL'+key).innerHTML='...'} 92setTimeout(function(){tarteaucitron.cookie.checkCount(key)},2500)}else{tarteaucitron.cookie.checkCount(key)}} 93var cats=document.querySelectorAll('[id^="tarteaucitronServicesTitle_"]') 94Array.prototype.forEach.call(cats,function(item){var cat=item.getAttribute('id').replace(/^(tarteaucitronServicesTitle_)/,""),total=document.getElementById("tarteaucitronServices_"+cat).childElementCount;var doc=document.getElementById("tarteaucitronServices_"+cat),groupdenied=0,groupallowed=0;for(var ii=0;ii<doc.children.length;ii++){if(doc.children[ii].className=="tarteaucitronLine tarteaucitronIsDenied"){groupdenied++} 95if(doc.children[ii].className=="tarteaucitronLine tarteaucitronIsAllowed"){groupallowed++}} 96if(total===groupallowed){tarteaucitron.userInterface.removeClass('tarteaucitron-group-'+cat,'tarteaucitronIsDenied');tarteaucitron.userInterface.addClass('tarteaucitron-group-'+cat,'tarteaucitronIsAllowed');if(document.getElementById('tarteaucitron-reject-group-'+cat)){document.getElementById('tarteaucitron-reject-group-'+cat).setAttribute('aria-pressed','false');document.getElementById('tarteaucitron-accept-group-'+cat).setAttribute('aria-pressed','true')}} 97if(total===groupdenied){tarteaucitron.userInterface.addClass('tarteaucitron-group-'+cat,'tarteaucitronIsDenied');tarteaucitron.userInterface.removeClass('tarteaucitron-group-'+cat,'tarteaucitronIsAllowed');if(document.getElementById('tarteaucitron-reject-group-'+cat)){document.getElementById('tarteaucitron-reject-group-'+cat).setAttribute('aria-pressed','true');document.getElementById('tarteaucitron-accept-group-'+cat).setAttribute('aria-pressed','false')}} 98if(total!==groupdenied&&total!==groupallowed){tarteaucitron.userInterface.removeClass('tarteaucitron-group-'+cat,'tarteaucitronIsDenied');tarteaucitron.userInterface.removeClass('tarteaucitron-group-'+cat,'tarteaucitronIsAllowed');if(document.getElementById('tarteaucitron-reject-group-'+cat)){document.getElementById('tarteaucitron-reject-group-'+cat).setAttribute('aria-pressed','false');document.getElementById('tarteaucitron-accept-group-'+cat).setAttribute('aria-pressed','false')}} 99groupdenied=0;groupallowed=0})},"openPanel":function(){"use strict";tarteaucitron.userInterface.css('tarteaucitron','display','block');tarteaucitron.userInterface.css('tarteaucitronBack','display','block');tarteaucitron.userInterface.css('tarteaucitronCookiesListContainer','display','none');document.getElementById('tarteaucitronClosePanel').focus();if(document.getElementsByTagName('body')[0].classList!==undefined){document.getElementsByTagName('body')[0].classList.add('tarteaucitron-modal-open')} 100tarteaucitron.userInterface.focusTrap();tarteaucitron.userInterface.jsSizing('main');var tacOpenPanelEvent;
100if(typeof(Event)==='function'){tacOpenPanelEvent=new Event("tac.open_panel")}else if(typeof(document.createEvent)==='function'){tacOpenPanelEvent=document.createEvent('Event');tacOpenPanelEvent.initEvent("tac.open_panel",!0,!0)} 101if(typeof(window.dispatchEvent)==='function'){window.dispatchEvent(tacOpenPanelEvent)}},"closePanel":function(){"use strict";if(document.location.hash===tarteaucitron.hashtag){if(window.history){window.history.replaceState('',document.title,window.location.pathname+window.location.search)}else{document.location.hash=''}} 102if(tarteaucitron.checkIfExist('tarteaucitron')){if(tarteaucitron.checkIfExist('tarteaucitronCloseAlert')){document.getElementById('tarteaucitronCloseAlert').focus()}else if(tarteaucitron.checkIfExist('tarteaucitronManager')){document.getElementById('tarteaucitronManager').focus()}else if(tarteaucitron.customCloserId&&tarteaucitron.checkIfExist(tarteaucitron.customCloserId)){document.getElementById(tarteaucitron.customCloserId).focus()} 103tarteaucitron.userInterface.css('tarteaucitron','display','none')} 104if(tarteaucitron.checkIfExist('tarteaucitronCookiesListContainer')&&tarteaucitron.checkIfExist('tarteaucitronCookiesNumber')){document.getElementById('tarteaucitronCookiesNumber').focus();document.getElementById('tarteaucitronCookiesNumber').setAttribute("aria-expanded","false");tarteaucitron.userInterface.css('tarteaucitronCookiesListContainer','display','none')} 105tarteaucitron.fallback(['tarteaucitronInfoBox'],function(elem){elem.style.display='none'},!0);if(tarteaucitron.reloadThePage===!0){window.location.reload()}else{tarteaucitron.userInterface.css('tarteaucitronBack','display','none')} 106if(document.getElementsByTagName('body')[0].classList!==undefined){document.getElementsByTagName('body')[0].classList.remove('tarteaucitron-modal-open')} 107var tacClosePanelEvent;if(typeof(Event)==='function'){tacClosePanelEvent=new Event("tac.close_panel")}else if(typeof(document.createEvent)==='function'){tacClosePanelEvent=document.createEvent('Event');tacClosePanelEvent.initEvent("tac.close_panel",!0,!0)} 108if(typeof(window.dispatchEvent)==='function'){window.dispatchEvent(tacClosePanelEvent)}},"focusTrap":function(){"use strict";var focusableEls,firstFocusableEl,lastFocusableEl,filtered;focusableEls=document.getElementById('tarteaucitron').querySelectorAll('a[href], button');filtered=[];for(var i=0,max=focusableEls.length;i<max;i++){if(focusableEls[i].offsetHeight>0){filtered.push(focusableEls[i])}} 109firstFocusableEl=filtered[0];lastFocusableEl=filtered[filtered.length-1];document.getElementById('tarteaucitron').addEventListener("keydown",function(evt){if(evt.key==='Tab'||evt.keyCode===9){if(evt.shiftKey){if(document.activeElement===firstFocusableEl){lastFocusableEl.focu
109s();evt.preventDefault()}}else{if(document.activeElement===lastFocusableEl){firstFocusableEl.focus();evt.preventDefault()}}}})},"openAlert":function(){"use strict";var c='tarteaucitron';tarteaucitron.userInterface.css(c+'Percentage','display','block');tarteaucitron.userInterface.css(c+'AlertSmall','display','none');tarteaucitron.userInterface.css(c+'Icon','display','none');tarteaucitron.userInterface.css(c+'AlertBig','display','block');tarteaucitron.userInterface.addClass(c+'Root','tarteaucitronBeforeVisible');var tacOpenAlertEvent;if(typeof(Event)==='function'){tacOpenAlertEvent=new Event("tac.open_alert")}else if(typeof(document.createEvent)==='function'){tacOpenAlertEvent=document.createEvent('Event');tacOpenAlertEvent.initEvent("tac.open_alert",!0,!0)} 110if(document.getElementById('tarteaucitronAlertBig')!==null){document.getElementById('tarteaucitronAlertBig').focus()} 111if(typeof(window.dispatchEvent)==='function'){window.dispatchEvent(tacOpenAlertEvent)}},"closeAlert":function(){"use strict";var c='tarteaucitron';tarteaucitron.userInterface.css(c+'Percentage','display','none');tarteaucitron.userInterface.css(c+'AlertSmall','display','block');tarteaucitron.userInterface.css(c+'Icon','display','block');tarteaucitron.userInterface.css(c+'AlertBig','display','none');tarteaucitron.userInterface.removeClass(c+'Root','tarteaucitronBeforeVisible');tarteaucitron.userInterface.jsSizing('box');var tacCloseAlertEvent;if(typeof(Event)==='function'){tacCloseAlertEvent=new Event("tac.close_alert")}else if(typeof(document.createEvent)==='function'){tacCloseAlertEvent=document.createEvent('Event');tacCloseAlertEvent.initEvent("tac.close_alert",!0,!0)} 112if(typeof(window.dispatchEvent)==='function'){window.dispatchEvent(tacCloseAlertEvent)}},"toggleCookiesList":function(){"use strict";var div=document.getElementById('tarteaucitronCookiesListContainer'),togglediv=document.getElementById('tarteaucitronCookiesNumber');if(div===null){return} 113if(div.style.display!=='block'){tarteaucitron.cookie.number();div.style.display='block';togglediv.setAttribute("aria-expanded","true");tarteaucitron.userInterface.jsSizing('cookie');tarteaucitron.userInterface.css('tarteaucitron','display','none');tarteaucitron.userInterface.css('tarteaucitronBack','display','block');tarteaucitron.fallback(['tarteaucitronInfoBox'],function(elem){elem.style.display='none'},!0)}else{div.style.display='none';togglediv.setAttribute("aria-expanded","false");tarteaucitron.userInterface.css('tarteaucitron','display','none');tarteaucitron.userInterface.css('tarteaucitronBack','display','none')}},"toggle":function(id,closeClass){"use strict";var div=document.getElementById(id);if(div===null){return} 114if(closeClass!==undefined){tarteaucitron.fallback([closeClass],function(elem){if(elem.id!==id){elem.style.display='none'}},!0)} 115if(div.style.display!=='block'){div.style.display='block'}else{div.style.display='none'}},"order":function(id){"use strict";var main=document.getElementById('tarteaucitronServices_'+id),allDivs,store=[],i;if(main===null){return} 116allDivs=main.childNodes;if(typeof Array.prototype.map==='function'&&typeof Enumerable==='undefined'){Array.prototype.map.call(main.children,Object).sort(function(a,b){if(tarteaucitron.services[a.id.replace(/Line/g,'')].name>tarteaucitron.services[b.id.replace(/Line/g,'')].name){return 1} 117if(tarteaucitron.services[a.id.replace(/Line/g,'')].name<tarteaucitron.services[b.id.replace(/Line/g,'')].name){return-1} 118return 0}).forEach(function(element){main.appendChild(element)})}},"jsSizing":function(type){"use strict";var scrollbarMarginRight=10,scrollbarWidthParent,scrollbarWidthChild,servicesHeight,e=window,a='inner',windowInnerHeight=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,mainTop,mainHeight,closeButtonHeight,headerHeight,cookiesListHeight,cookiesCloseHeight,cookiesTitleHeight,paddingBox,alertSmallHeight,cookiesNumberHeight;if(type==='box'){if(document.getElementById('tarteaucitronAlertSmall')!==null&&document.getElementById('tarteaucitronCookiesNumber')!==null){tarteaucitron.userInterface.css('tarteaucitronCookiesNumber','padding','0px 10px');alertSmallHeight=document.getElementById('tarteaucitronAlertSmall').offsetHeight;cookiesNumberHeight=document.getElementById('tarteaucitronCookiesNumber').offsetHeight;paddingBox=(alertSmallHeight-cookiesNumberHeight)/2;tarteaucitron.userInterface.css('tarteaucitronCookiesNumber','padding',paddingBox+'px 10px')}}else if(type==='main'){if(window.innerWidth===undefined){a='client';e=document.documentElement||document.body} 119if(document.getElementById('tarteaucitron')!==null&&document.getElementById('tarteaucitronClosePanel')!==null&&document.getElementById('tarteaucitronMainLineOffset')!==null){tarteaucitron.userInterface.css('tarteaucitronServices','height','auto');mainHeight=document.getElementById('tarteaucitron').offsetHeight;closeButtonHeight=document.getElementById('tarteaucitronClosePanel').offsetHeight;servicesHeight=(mainHeight-closeButtonHeight+2);tarteaucitron.userInterface.css('tarteaucitronServices','height',servicesHeight+'px');tarteaucitron.userInterface.css('tarteaucitronServices','overflow-x','auto')} 120if(document.getElementById('tarteaucitronServices')!==null&&document.getElementById('tarteaucitronScrollbarChild')!==null){if(e[a+'Width']<=479){}else if(e[a+'Width']<=767){scrollbarMarginRight=12} 121scrollbarWidthParent=document.getElementById('tarteaucitronServices').offsetWidth;scrollbarWidthChild=document.getElementById('tarteaucitronScrollbarChild').offsetWidth} 122if(document.getElementById('tarteaucitron')!==null){if(e[a+'Width']<=767){mainTop=0}else{mainTop=((windowInnerHeight-document.getElementById('tarteaucitron').offsetHeight)/2)-21} 123if(document.getElementById('tarteaucitronMainLineOffset')!==null){if(document.getElementById('tarteaucitron').offsetHeight<(windowInnerHeight/2)){mainTop-=document.getElementById('tarteaucitronMainLineOffset').offsetHeight}} 124if(mainTop<0){mainTop=0} 125tarteaucitron.userInterface.css('tarteaucitron','top',mainTop+'px')}}else if(type==='cookie'){if(document.getElementById('tarteaucitronAlertSmall')!==null){tarteaucitron.userInterface.css('tarteaucitronCookiesListContainer','bottom',(document.getElementById('tarteaucitronAlertSmall').offsetHeight)+'px')} 126if(document.getElementById('tarteaucitronCookiesListContainer')!==null){tarteaucitron.userInterface.css('tarteaucitronCookiesList','height','auto');cookiesListHeight=document.getElementById('tarteaucitronCookiesListContainer').offsetHeight;cookiesCloseHeight=document.getElementById('tarteaucitronClosePanelCookie').offsetHeight;cookiesTitleHeight=document.getElementById('tarteaucitronCookiesTitle').offsetHeight;tarteaucitron.userInterface.css('tarteaucitronCookiesList','height',(cookiesListHeight-cookiesCloseHeight-cookiesTitleHeight-2)+'px')}}}},"cookie":{"owner":{},"create":function(key,status){"use strict";if(tarteaucitronForceExpire!==''){if((tarteaucitronExpireInDay&&tarteaucitronForceExpire<365)||(!tarteaucitronExpireInDay&&tarteaucitronForceExpire<8760)){if
126(tarteaucitronExpireInDay){timeExpire=tarteaucitronForceExpire*86400000}else{timeExpire=tarteaucitronForceExpire*3600000}}} 127var d=new Date(),time=d.getTime(),expireTime=time+timeExpire,regex=new RegExp("!"+key+"=(wait|true|false)","g"),cookie=tarteaucitron.cookie.read().replace(regex,""),value=tarteaucitron.parameters.cookieName+'='+cookie+'!'+key+'='+status,domain=(tarteaucitron.parameters.cookieDomain!==undefined&&tarteaucitron.parameters.cookieDomain!=='')?'; domain='+tarteaucitron.parameters.cookieDomain:'',secure=location.protocol==='https:'?'; Secure':'';d.setTime(expireTime);document.cookie=value+'; expires='+d.toGMTString()+'; path=/'+domain+secure+'; samesite=lax'},"read":function(){"use strict";var nameEQ=tarteaucitron.parameters.cookieName+"=",ca=document.cookie.split(';'),i,c;for(i=0;i<ca.length;i+=1){c=ca[i];while(c.charAt(0)===' '){c=c.substring(1,c.length)} 128if(c.indexOf(nameEQ)===0){return c.substring(nameEQ.length,c.length)}} 129return''},"purge":function(arr){"use strict";var i;for(i=0;i<arr.length;i+=1){var rgxpCookie=new RegExp("^(.*;)?\\s*"+arr[i]+"\\s*=\\s*[^;]+(.*)?$");if(document.cookie.match(rgxpCookie)){document.cookie=arr[i]+'=; expires=Thu, 01 Jan 2000 00:00:00 GMT; path=/;';document.cookie=arr[i]+'=; expires=Thu, 01 Jan 2000 00:00:00 GMT; path=/; domain=.'+location.hostname+';';document.cookie=arr[i]+'=; expires=Thu, 01 Jan 2000 00:00:00 GMT; path=/; domain=.'+location.hostname.split('.').slice(-2).join('.')+';'}}},"checkCount":function(key){"use strict";var arr=tarteaucitron.services[key].cookies,nb=arr.length,nbCurrent=0,html='',i,status=document.cookie.indexOf(key+'=true');if(status>=0&&nb===0){html+=tarteaucitron.lang.useNoCookie}else if(status>=0){for(i=0;i<nb;i+=1){if(document.cookie.indexOf(arr[i]+'=')!==-1){nbCurrent+=1;if(tarteaucitron.cookie.owner[arr[i]]===undefined){tarteaucitron.cookie.owner[arr[i]]=[]} 130if(tarteaucitron.cookie.crossIndexOf(tarteaucitron.cookie.owner[arr[i]],tarteaucitron.services[key].name)===!1){tarteaucitron.cookie.owner[arr[i]].push(tarteaucitron.services[key].name)}}} 131if(nbCurrent>0){html+=tarteaucitron.lang.useCookieCurrent+' '+nbCurrent+' cookie';if(nbCurrent>1){html+='s'} 132html+='.'}else{html+=tarteaucitron.lang.useNoCookie}}else if(nb===0){html=tarteaucitron.lang.noCookie}else{html+=tarteaucitron.lang.useCookie+' '+nb+' cookie';if(nb>1){html+='s'} 133html+='.'} 134if(document.getElementById('tacCL'+key)!==null){document.getElementById('tacCL'+key).innerHTML=html}},"crossIndexOf":function(arr,match){"use strict";var i;for(i=0;i<arr.length;i+=1){if(arr[i]===match){return!0}} 135return!1},"number":function(){"use strict";var cookies=document.cookie.split(';'),nb=(document.cookie!=='')?cookies.length:0,html='',i,name,namea,nameb,c,d,s=(nb>1)?'s':'',savedname,regex=/^https?\:\/\/([^\/?#]+)(?:[\/?#]|$)/i,regexedDomain=(tarteaucitron.cdn.match(regex)!==null)?tarteaucitron.cdn.match(regex)[1]:tarteaucitron.cdn,host=(tarteaucitron.domain!==undefined)?tarteaucitron.domain:regexedDomain;cookies=cookies.sort(function(a,b){namea=a.split('=',1).toString().replace(/ /g,'');nameb=b.split('=',1).toString().replace(/ /g,'');c=(tarteaucitron.cookie.owner[namea]!==undefined)?tarteaucitron.cookie.owner[namea]:'0';d=(tarteaucitron.cookie.owner[nameb]!==undefined)?tarteaucitron.cookie.owner[nameb]:'0';if(c+a>d+b){return 1} 136if(c+a<d+b){return-1} 137return 0});if(document.cookie!==''){for(i=0;i<nb;i+=1){name=cookies[i].split('=',1).toString().replace(/ /g,'');if(tarteaucitron.cookie.owner[name]!==undefined&&tarteaucitron.cookie.owner[name].join(' // ')!==savedname){savedname=tarteaucitron.cookie.owner[name].join(' // ');html+='<div class="tarteaucitronHidden">';html+=' <span class="tarteaucitronTitle tarteaucitronH3" role="heading" aria-level="3">';html+=' '+tarteaucitron.cookie.owner[name].join(' // ');html+=' </span>';html+='</div><ul class="cookie-list">'}else if(tarteaucitron.cookie.owner[name]===undefined&&host!==savedname){savedname=host;html+='<div class="tarteaucitronHidden">';html+=' <span class="tarteaucitronTitle tarteaucitronH3" role="heading" aria-level="3">';html+=' '+host;html+=' </span>';html+='</div><ul class="cookie-list">'} 138html+='<li class="tarteaucitronCookiesListMain">';html+=' <div class="tarteaucitronCookiesListLeft"><button type="button" class="purgeBtn" data-cookie="'+tarteaucitron.fixSelfXSS(cookies[i].split('=',1)
138)+'"><strong>×</strong></button> <strong>'+tarteaucitron.fixSelfXSS(name)+'</strong>';html+=' </div>';html+=' <div class="tarteaucitronCookiesListRight">'+tarteaucitron.fixSelfXSS(cookies[i].split('=').slice(1).join('='))+'</div>';html+='</li>'} 139html+='</ul>'}else{html+='<div class="tarteaucitronCookiesListMain">';html+=' <div class="tarteaucitronCookiesListLeft"><strong>-</strong></div>';html+=' <div class="tarteaucitronCookiesListRight"></div>';html+='</div>'} 140html+='<div class="tarteaucitronHidden tarteaucitron-spacer-20"></div>';if(document.getElementById('tarteaucitronCookiesList')!==null){document.getElementById('tarteaucitronCookiesList').innerHTML=html} 141if(document.getElementById('tarteaucitronCookiesNumber')!==null){document.getElementById('tarteaucitronCookiesNumber').innerHTML=nb;document.getElementById('tarteaucitronCookiesNumber').setAttribute("aria-label",nb+' cookie'+s+" - "+tarteaucitron.lang.toggleInfoBox);document.getElementById('tarteaucitronCookiesNumber').setAttribute("title",nb+' cookie'+s+" - "+tarteaucitron.lang.toggleInfoBox)} 142if(document.getElementById('tarteaucitronCookiesNumberBis')!==null){document.getElementById('tarteaucitronCookiesNumberBis').innerHTML=nb+' cookie'+s} 143var purgeBtns=document.getElementsByClassName("purgeBtn");for(i=0;i<purgeBtns.length;i++){tarteaucitron.addClickEventToElement(purgeBtns[i],function(){tarteaucitron.cookie.purge([this.dataset.cookie]);tarteaucitron.cookie.number();tarteaucitron.userInterface.jsSizing('cookie');return!1})} 144for(i=0;i<tarteaucitron.job.length;i+=1){tarteaucitron.cookie.checkCount(tarteaucitron.job[i])}}},"fixSelfXSS":function(html){return html.toString().replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},"getLanguage":function(){"use strict";var availableLanguages='bg,ca,cn,cs,da,de,el,en,es,fi,fr,hu,it,ja,lt,lv,nl,no,oc,pl,pt,ro,ru,se,sk,sv,tr,vi,zh',defaultLanguage='en';if(tarteaucitronForceLanguage!==''){if(availableLanguages.indexOf(tarteaucitronForceLanguage)!==-1){return tarteaucitronForceLanguage}} 145if(!navigator){return'en'} 146var lang=navigator.language||navigator.browserLanguage||navigator.systemLanguage||navigator.userLang||null,userLanguage=lang?lang.substr(0,2):null;if(availableLanguages.indexOf(userLanguage)===-1){return defaultLanguage} 147return userLanguage},"getLocale":function(){"use strict";if(!navigator){return'en_US'} 148var lang=navigator.language||navigator.browserLanguage||navigator.systemLanguage||navigator.userLang||null,userLanguage=lang?lang.substr(0,2):null;if(userLanguage==='fr'){return'fr_FR'}else if(userLanguage==='en'){return'en_US'}else if(userLanguage==='de'){return'de_DE'}else if(userLanguage==='es'){return'es_ES'}else if(userLanguage==='it'){return'it_IT'}else if(userLanguage==='pt'){return'pt_PT'}else if(userLanguage==='nl'){return'nl_NL'}else if(userLanguage==='el'){return'el_EL'}else{return'en_US'}},"addScript":function(url,id,callback,execute,attrName,attrVal,internal){"use strict";var script,done=!1;if(execute===!1){if(typeof callback==='function'){callback()}}else{script=document.createElement('script');script.id=(id!==undefined)?id:'';script.async=!0;script.src=url;if(attrName!==undefined&&attrVal!==undefined){script.setAttribute(attrName,attrVal)} 149if(typeof callback==='function'){if(!tarteaucitron.parameters.useExternalJs||!internal){script.onreadystatechange=script.onload=function(){var state=script.readyState;if(!done&&(!state||/loaded|complete/.test(state))){done=!0;callback()}}}else{callback()}} 150if(!tarteaucitron.parameters.useExternalJs||!internal){document.getElementsByTagName('head')[0].appendChild(script)}}},"addInternalScript":function(url,id,callback,execute,attrName,attrVal){tarteaucitron.addScript(url,id,callback,execute,attrName,attrVal,!0)},"checkIfExist":function(elemId){"use strict";return document.getElementById(elemId)!==null&&document.getElementById(elemId).offsetWidth!==0&&document.getElementById(elemId).offsetHeight!==0},"makeAsync":{"antiGhost":0,"buffer":'',"init":function(url,id){"use strict";var savedWrite=document.write,savedWriteln=document.writeln;document.write=function(content){tarteaucitron.makeAsync.buffer+=content};document.writeln=function(content){tarteaucitron.makeAsync.buffer+=content.concat("\n")};setTimeout(function(){document.write=savedWrite;document.writeln=savedWriteln},20000);tarteaucitron.makeAsync.getAndParse(url,id)},"getAndParse":function(url,id){"use strict";if(tarteaucitron.makeAsync.antiGhost>9){tarteaucitron.makeAsync.antiGhost=0;return} 151tarteaucitron.makeAsync.antiGhost+=1;tarteaucitron.addInternalScript(url,'',function(){if(document.getElementById(id)!==null){document.getElementById(id).innerHTML+="<span class='tarteaucitron-display-none'> </span>"+tarteaucitron.makeAsync.buffer;tarteaucitron.makeAsync.buffer='';tarteaucitron.makeAsync.execJS(id)}})},"execJS":function(id){var i,scripts,childId,type;if(document.getElementById(id)===null){return} 152scripts=document.getElementById(id).getElementsByTagName('script');for(i=0;i<scripts.length;i+=1){type=(scripts[i].getAttribute('type')!==null)?scripts[i].getAttribute('type'):'';if(type===''){type=(scripts[i].getAttribute('language')!==null)?scripts[i].getAttribute('language'):''} 153if(scripts[i].getAttribute('src')!==null&&scripts[i].getAttribute('src')!==''){childId=id+Math.floor(Math.random()*99999999999);document.getElementById(id).innerHTML+='<div id="'+childId+'"></div>';tarteaucitron.makeAsync.getAndParse(scripts[i].getAttribute('src'),childId)}else if(type.indexOf('javascript')!==-1||type===''){eval(scripts[i].innerHTML)}}}},"fallback":function(matchClass,content,noInner){"use strict";var elems=document.getElementsByTagName('*'),i,index=0;for(i in elems){if(elems[i]!==undefined){for(index=0;index<matchClass.length;index+=1){if((' '+elems[i].className+' ').indexOf(' '+matchClass[index]+' ')>-1){if(typeof content==='function'){if(noInner===!0){content(elems[i])}else{elems[i].innerHTML=content(elems[i])}}else{elems[i].innerHTML=content}}}}}},"engage":function(id){"use strict";var html='',r=Math.floor(Math.random()*100000),engage=tarteaucitron.services[id].name+' '+tarteaucitron.lang.fallback;if(tarteaucitron.lang['engage-'+id]!==undefined){engage=tarteaucitron.lang['engage-'+id]} 154html+='<div class="tac_activate tac_activate_'+id+'">';html+=' <div class="tac_float">';html+=' '+engage;html+=' <button type="button" class="tarteaucitronAllow" id="Eng'+r+'ed'+id+'">';
154html+=' <span class="tarteaucitronCheck"></span> '+tarteaucitron.lang.allow;html+=' </button>';html+=' </div>';html+='</div>';return html},"extend":function(a,b){"use strict";var prop;for(prop in b){if(b.hasOwnProperty(prop)){a[prop]=b[prop]}}},"proTemp":'',"proTimer":function(){"use strict";setTimeout(tarteaucitron.proPing,500)},"pro":function(list){"use strict";tarteaucitron.proTemp+=list;clearTimeout(tarteaucitron.proTimer);tarteaucitron.proTimer=setTimeout(tarteaucitron.proPing,500)},"proPing":function(){"use strict";if(tarteaucitron.uuid!==''&&tarteaucitron.uuid!==undefined&&tarteaucitron.proTemp!==''&&tarteaucitronStatsEnabled){var div=document.getElementById('tarteaucitronPremium'),timestamp=new Date().getTime(),url='https://tarteaucitron.io/log/?';if(div===null){return} 155url+='account='+tarteaucitron.uuid+'&';url+='domain='+tarteaucitron.domain+'&';url+='status='+encodeURIComponent(tarteaucitron.proTemp)+'&';url+='_time='+timestamp;div.innerHTML='<img src="'+url+'" class="tarteaucitron-display-none" alt="" />';tarteaucitron.proTemp=''} 156tarteaucitron.cookie.number()},"AddOrUpdate":function(source,custom){for(var key in custom){if(custom[key]instanceof Object){source[key]=tarteaucitron.AddOrUpdate(source[key],custom[key])}else{source[key]=custom[key]}} 157return source},"getElemWidth":function(elem){return elem.getAttribute('width')||elem.clientWidth},"getElemHeight":function(elem){return elem.getAttribute('height')||elem.clientHeight},"getElemAttr":function(elem,attr){return elem.getAttribute('data-'+attr)||elem.getAttribute(attr)},"addClickEventToId":function(elemId,func){tarteaucitron.addClickEventToElement(document.getElementById(elemId),func)},"addClickEventToElement":function(e,func){if(e){if(e.addEventListener){e.addEventListener("click",func)}else{e.attachEvent("onclick",func)}}},"triggerJobsAfterAjaxCall":function(){tarteaucitron.job.forEach(function(e){tarteaucitron.job.push(e)});var i;var allowBtns=document.getElementsByClassName("tarteaucitronAllow");for(i=0;i<allowBtns.length;i++){tarteaucitron.addClickEventToElement(allowBtns[i],function(){tarteaucitron.userInterface.respond(this,!0)})} 158var denyBtns=document.getElementsByClassName("tarteaucitronDeny");for(i=0;i<denyBtns.length;i++){tarteaucitron.addClickEventToElement(denyBtns[i],function(){tarteaucitron.userInterface.respond(this,!1)})}}};(function($){'use strict';$(function(){var tarteaucitronForceLanguage=mill_rgpd_vars_from_php.lang;window.tarteaucitronForceLanguage=tarteaucitronForceLanguage;var options={"hashtag":"#tarteaucitron","highPrivacy":!0,"orientation":"bottom","adblocker":!1,"showAlertSmall":!1,"cookieslist":!0,"removeCredit":!0,"tarteaucitronHeader":!0,"showIcon":!1,"DenyAllCta":!1,"customLanguage":mill_rgpd_vars_from_php.lang_custom};if(mill_rgpd_vars_from_php.page_confidentialite_url!==undefined){options.privacyUrl=mill_rgpd_vars_from_php.page_confidentialite_url} 159tarteaucitron.init(options);for(var prop in mill_rgpd_vars_from_php.services){if(prop=='ga'&&'object'===typeof mill_rgpd_vars_from_php.services[prop]){if('gajs'==mill_rgpd_vars_from_php.services[prop][1]){tarteaucitron.user.gajsUa=mill_rgpd_vars_from_php.services[prop][2];tarteaucitron.user.gajsMore=function(){}}else if('analytics'==mill_rgpd_vars_from_php.services[prop][1]){tarteaucitron.user.analyticsUa=mill_rgpd_vars_from_php.services[prop][2];tarteaucitron.user.analyticsMore=function(){}}else if('gtag'==mill_rgpd_vars_from_php.services[prop][1]){tarteaucitron.user.gtagUa=mill_rgpd_vars_from_php.services[prop][2];tarteaucitron.user.gtagMore=function(){}}else if('googletagmanager'==mill_rgpd_vars_from_php.services[prop][1]){tarteaucitron.user.googletagmanagerId=mill_rgpd_vars_from_php.services[prop][2]} 160if(!1!==mill_rgpd_vars_from_php.services[prop][0])(tarteaucitron.job=tarteaucitron.job||[]).push(mill_rgpd_vars_from_php.services[prop][1]);}else{if(!1!==mill_rgpd_vars_from_php.services[prop])(tarteaucitron.job=tarteaucitron.job||[]).push(prop);}} 161if(typeof tarteaucitron.job==='undefined'){tarteaucitron.job=[]} 162if(typeof mill_rgpd_vars_from_php.addon!==undefined){eval(mill_rgpd_vars_from_php.addon)}})})(jQuery)
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.