PageSourceSearch

https://www.mint-bayern.de/wp-content/cache/min/1/c525afc9d9bf63c63f9104df8520c88a.js

js mint-bayern.de collected 2026-10-04 06:00:58 UTC 769,845 bytes, 1,064 lines download raw bytes

vendor: 22,881 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}
vendor: 1,967 bytes, line 2
2return 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]||
vendor: 9,546 bytes, line 2
2ce.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])||
vendor: 8,814 bytes, line 2
2(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);
vendor: 14,182 bytes, line 2
2n.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;
vendor: 4,590 bytes, line 2
2return 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)
vendor: 13,972 bytes, line 2
2);!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]);
vendor: 9,033 bytes, line 2
2if(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 
2M(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});jQuery.noConflict();"use strict";function xs(i,n){const s=Object.create(null),l=i.split(",");for(let h=0;h<l.length;h++)s[l[h]]=!0;return n?h=>!!s[h.toLowerCase()]:h=>!!s[h]}const bt={},Ii=[],pe=()=>{},eh=()=>!1,ih=/^on[^a-z]/,co=i=>ih.test(i),Ps=i=>i.startsWith("onUpdate:"),Bt=Object.assign,Cs=(i,n)=>{const s=i.indexOf(n);s>-1&&i.splice(s,1)},nh=Object.prototype.hasOwnProperty,ut=(i,n)=>nh.call(i,n),q=Array.isArray,Ai=i=>Ln(i)==="[object Map]",Hi=i=>Ln(i)==="[object Set]",jr=i=>Ln(i)==="[object Date]",it=i=>typeof i=="function",It=i=>typeof i=="string",Ni=i=>typeof i=="symbol",wt=i=>i!==null&&typeof i=="object",Ra=i=>(wt(i)||it(i))&&it(i.then)&&it(i.catch),Da=Object.prototype.toString,
vendor: 8,433 bytes, line 2
2Ln=i=>Da.call(i),oh=i=>Ln(i).slice(8,-1),za=i=>Ln(i)==="[object Object]",Ms=i=>It(i)&&i!=="NaN"&&i[0]!=="-"&&""+parseInt(i,10)===i,Jn=xs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),fo=i=>{const n=Object.create(null);return s=>n[s]||(n[s]=i(s))},sh=/-(\w)/g,Ce=fo(i=>i.replace(sh,(n,s)=>s?s.toUpperCase():"")),rh=/\B([A-Z])/g,gi=fo(i=>i.replace(rh,"-$1").toLowerCase()),po=fo(i=>i.charAt(0).toUpperCase()+i.slice(1)),Qo=fo(i=>i?`on${po(i)}`:""),pi=(i,n)=>!Object.is(i,n),Qn=(i,n)=>{for(let s=0;s<i.length;s++)i[s](n)},oo=(i,n,s)=>{Object.defineProperty(i,n,{configurable:!0,enumerable:!1,value:s})},so=i=>{const n=parseFloat(i);return isNaN(n)?i:n};let Gr;const ls=()=>Gr||(Gr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function _i(i){if(q(i)){const n={};for(let s=0;s<i.length;s++){const l=i[s],h=It(l)?hh(l):_i(l);if(h)for(const r in h)n[r]=h[r]}return n}else if(It(i)||wt(i))return i}const ah=/;(?![^(]*\))/g,lh=/:([^]+)/,uh=/\/\*[^]*?\*\//g;function hh(i){const n={};return i.replace(uh,"").split(ah).forEach(s=>{if(s){const l=s.split(lh);l.length>1&&(n[l[0].trim()]=l[1].trim())}}),n}function Ts(i){let n="";if(It(i))n=i;else if(q(i))for(let s=0;s<i.length;s++){const l=Ts(i[s]);l&&(n+=l+" ")}else if(wt(i))for(const s in i)i[s]&&(n+=s+" ");return n.trim()}const ch="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",fh=xs(ch);function Na(i){return!!i||i===""}function dh(i,n){if(i.length!==n.length)return!1;let s=!0;for(let l=0;s&&l<i.length;l++)s=xn(i[l],n[l]);return s}function xn(i,n){if(i===n)return!0;let s=jr(i),l=jr(n);if(s||l)return s&&l?i.getTime()===n.getTime():!1;if(s=Ni(i),l=Ni(n),s||l)return i===n;if(s=q(i),l=q(n),s||l)return s&&l?dh(i,n):!1;if(s=wt(i),l=wt(n),s||l){if(!s||!l)return!1;const h=Object.keys(i).length,r=Object.keys(n).length;if(h!==r)return!1;for(const u in i){const c=i.hasOwnProperty(u),d=n.hasOwnProperty(u);if(c&&!d||!c&&d||!xn(i[u],n[u]))return!1}}return String(i)===String(n)}function Ss(i,n){return i.findIndex(s=>xn(s,n))}const Si=i=>It(i)?i:i==null?"":q(i)||wt(i)&&(i.toString===Da||!it(i.toString))?JSON.stringify(i,Ba,2):String(i),Ba=(i,n)=>n&&n.__v_isRef?Ba(i,n.value):Ai(n)?{[`Map(${n.size})`]:[...n.entries()].reduce((s,[l,h])=>(s[`${l} =>`]=h,s),{})}:Hi(n)?{[`Set(${n.size})`]:[...n.values()]}:wt(n)&&!q(n)&&!za(n)?String(n):n;let he;class ph{constructor(n=!1){this.detached=n,this._active=!0,this.effects=[],this.cleanups=[],this.parent=he,!n&&he&&(this.index=(he.scopes||(he.scopes=[])).push(this)-1)}get active(){return this._active}run(n){if(this._active){const s=he;try{return he=this,n()}finally{he=s}}}on(){he=this}off(){he=this.parent}stop(n){if(this._active){let s,l;for(s=0,l=this.effects.length;s<l;s++)this.effects[s].stop();for(s=0,l=this.cleanups.length;s<l;s++)this.cleanups[s]();if(this.scopes)for(s=0,l=this.scopes.length;s<l;s++)this.scopes[s].stop(!0);if(!this.detached&&this.parent&&!n){const h=this.parent.scopes.pop();h&&h!==this&&(this.parent.scopes[this.index]=h,h.index=this.index)}this.parent=void 0,this._active=!1}}}function _h(i,n=he){n&&n.active&&n.effects.push(i)}function mh(){return he}const Es=i=>{const n=new Set(i);return n.w=0,n.n=0,n},Za=i=>(i.w&qe)>0,Ua=i=>(i.n&qe)>0,gh=({deps:i})=>{if(i.length)for(let n=0;n<i.length;n++)i[n].w|=qe},vh=i=>{const{deps:n}=i;if(n.length){let s=0;for(let l=0;l<n.length;l++){const h=n[l];Za(h)&&!Ua(h)?h.delete(i):n[s++]=h,h.w&=~qe,h.n&=~qe}n.length=s}},us=new WeakMap;let hn=0,qe=1;const hs=30;let ce;const fi=Symbol(""),cs=Symbol("");class Os{constructor(n,s=null,l){this.fn=n,this.scheduler=s,this.active=!0,this.deps=[],this.parent=void 0,_h(this,l)}run(){if(!this.active)return this.fn();let n=ce,s=Ke;for(;n;){if(n===this)return;n=n.parent}try{return this.parent=ce,ce=this,Ke=!0,qe=1<<++hn,hn<=hs?gh(this):Wr(this),this.fn()}finally{hn<=hs&&vh(this),qe=1<<--hn,ce=this.parent,Ke=s,this.parent=void 0,this.deferStop&&this.stop()}}stop(){ce===this?this.deferStop=!0:this.active&&(Wr(this),this.onStop&&this.onStop(),this.active=!1)}}function Wr(i){const{deps:n}=i;if(n.length){for(let s=0;s<n.length;s++)n[s].delete(i);n.length=0}}let Ke=!0;const Fa=[];function Vi(){Fa.push(Ke),Ke=!1}function ji(){const i=Fa.pop();Ke=i===void 0?!0:i}function Jt(i,n,s){if(Ke&&ce){let l=us.get(i);l||us.set(i,l=new Map);let h=l.get(s);h||l.set(s,h=Es()),Ha(h)}}function Ha(i,n){let s=!1;hn<=hs?Ua(i)||(i.n|=qe,s=!Za(i)):s=!i.has(ce),s&&(i.add(ce),ce.deps.push(i))}function Re(i,n,s,l,h,r){const u=us.get(i);if(!u)return;let c=[];if(n==="clear")c=[...u.values()];else if(s==="length"&&q(i)){const d=Number(l);u.forEach((_,g)=>{(g==="length"||!Ni(g)&&g>=d)&&c.push(_)})}else switch(s!==void 0&&c.push(u.get(s)),n){case"add":q(i)?Ms(s)&&c.push(u.get("length")):(c.push(u.get(fi)),Ai(i)&&c.push(u.get(cs)));break;case"delete":q(i)||(c.push(u.get(fi)),Ai(i)&&c.push(u.get(cs)));break;case"set":Ai(i)&&c.push(u.get(fi));break}if(c.length===1)c[0]&&fs(c[0]);else{const d=[];for(const _ of c)_&&d.push(..._);fs(Es(d))}}function fs(i,n){const s=q(i)?i:[...i];for(const l of s)l.computed&&Kr(l);for(const l of s)l.computed||Kr(l)}function Kr(i,n){(i!==ce||i.allowRecurse)&&(i.scheduler?i.scheduler():i.run())}const yh=xs("__proto__,__v_isRef,__isVue"),Va=new Set(Object.getOwnPropertyNames(Symbol).filter(i=>i!=="arguments"&&i!=="caller").map(i=>Symbol[i]).filter(Ni)),$r=bh();function bh(){const i={};return["includes","indexOf","lastIndexOf"].forEach(n=>{i[n]=function(...s){const l=_t(this);for(let r=0,u=this.length;r<u;r++)Jt(l,"get",r+"");const h=l[n](...s);return h===-1||h===!1?l[n](...s.map(_t)):h}}),["push","pop","shift","unshift","splice"].forEach(n=>{i[n]=function(...s){Vi();const l=_t(this)[n].apply(this,s);return ji(),l}}),i}function wh(i){const n=_t(this);return Jt(n,"has",i),n.hasOwnProperty(i)}class ja{constructor(n=!1,s=!1){this._isReadonly=n,this._shallow=s}get(n,s,l){const h=this._isReadonly,r=this._shallow;if(s==="__v_isReactive")return!h;if(s==="__v_isReadonly")return h;if(s==="__v_isShallow")return r;if(s==="__v_raw"&&l===(h?r?Rh:$a:r?Ka:Wa).get(n))return n;const u=q(n);if(!h){if(u&&ut($r,s))return Reflect.get($r,s,l);if(s==="hasOwnProperty")return wh}const c=Reflect.get(n,s,l);return(Ni(s)?Va.has(s):yh(s))||(h||Jt(n,"get",s),r)?c:Gt(c)?u&&Ms(s)?c:c.value:wt(c)?h?qa(c):As(c):c}}class Ga extends ja{constructor(n=!1){super(!1,n)}set(n,s,l,h){let r=n[s];if(Bi(r)&&Gt(r)&&!Gt(l))return!1;if(!this._shallow&&(!ro(l)&&!Bi(l)&&(r=_t(r),l=_t(l)),!q(n)&&Gt(r)&&!Gt(l)))return r.value=l,!0;const u=q(n)&&Ms(s)?Number(s)<n.length:ut(n,s),c=Reflect.set(n,s,l,h);return n===_t(h)&&(u?pi(l,r)&&Re(n,"set",s,l):Re(n,"add",s,l)),c}deleteProperty(n,s){const l=ut(n,s);n[s];const h=Reflect.deleteProperty(n,s);return h&&l&&Re(n,"delete",s,void 0),h}has(n,s){const l=Reflect.has(n,s);return(!Ni(s)||!Va.has(s))&&Jt(n,"has",s),l}ownKeys(n){return Jt(n,"iterate",q(n)?"length":fi),Reflect.ownKeys(n)}}class Lh extends ja{constructor(n=!1){super(!0,n)}set(n,s){return!0}deleteProperty(n,s){return!0}}const xh=new Ga,Ph=new Lh,Ch=new Ga(!0),ks=i=>i,_o=i=>Reflect.getPrototypeOf(i);function Vn(i,n,s=!1,l=!1){i=i.__v_raw;const h=_t(i),r=_t(n);s||(pi(n,r)&&Jt(h,"get",n),Jt(h,"get",r));const{has:u}=_o(h),c=l?ks:s?Ds:mn;if(u.call(h,n))return c(i.get(n));if(u.call(h,r))return c(i.get(r));i!==h&&i.get(n)}function jn(i,n=!1){const s=this.__v_raw,l=_t(s),h=_t(i);return n||(pi(i,h)&&Jt(l,"has",i),Jt(l,"has",h)),i===h?s.has(i):s.has(i)||s.has(h)}function Gn(i,n=!1){return i=i.__v_raw,!n&&Jt(_t(i),"iterate",fi),Reflect.get(i,"size",i)}function qr(i){i=_t(i);const n=_t(this);return _o(n).has.call(n,i)||(n.add(i),Re(n,"add",i,i)),this}function Xr(i,n){n=_t(n);const s=_t(this),{has:l,get:h}=_o(s);let r=l.call(s,i);r||(i=_t(i),r=l.call(s,i));const u=h.call(s,i);return s.set(i,n),r?pi(n,u)&&Re(s,"set",i,n):Re(s,"add",i,n),this}function Yr(i){const n=_t(this),{has:s,get:l}=_o(n);let h=s.call(n,i);h||(i=_t(i),h=s.call(n,i)),l&&l.call(n,i);const r=n.delete(i);return h&&Re(n,"delete",i,void 0),r}function Jr(){const i=_t(this),n=i.size!==0,s=i.clear();return n&&Re(i,"clear",void 0,void 0),s}function Wn(i,n){return function(l,h){const r=this,u=r.__v_raw,c=_t(u),d=n?ks:i?Ds:mn;return!i&&Jt(c,"iterate",fi),u.forEach((_,g)=>l.call(h,d(_),d(g),r))}}function Kn(i,n,s){return function(...l){const h=this.__v_raw,r=_t(h),u=Ai(r),c=i==="entr
2ies"||i===Symbol.iterator&&u,d=i==="keys"&&u,_=h[i](...l),g=s?ks:n?Ds:mn;return!n&&Jt(r,"iterate",d?cs:fi),{next(){const{value:m,done:b}=_.next();return b?{value:m,done:b}:{value:c?[g(m[0]),g(m[1])]:g(m),done:b}},[Symbol.iterator](){return this}}}}function He(i){return function(...n){return i==="delete"?!1:this}}function Mh(){const i={get(r){return Vn(this,r)},get size(){return Gn(this)},has:jn,add:qr,set:Xr,delete:Yr,clear:Jr,forEach:Wn(!1,!1)},n={get(r){return Vn(this,r,!1,!0)},get size(){return Gn(this)},has:jn,add:qr,set:Xr,delete:Yr,clear:Jr,forEach:Wn(!1,!0)},s={get(r){return Vn(this,r,!0)},get size(){return Gn(this,!0)},has(r){return jn.call(this,r,!0)},add:He("add"),set:He("set"),delete:He("delete"),clear:He("clear"),forEach:Wn(!0,!1)},l={get(r){return Vn(this,r,!0,!0)},get size(){return Gn(this,!0)},has(r){return jn.call(this,r,!0)},add:He("add"),set:He("set"),delete:He("delete"),clear:He("clear"),forEach:Wn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{i[r]=Kn(r,!1,!1),s[r]=Kn(r,!0,!1),n[r]=Kn(r,!1,!0),l[r]=Kn(r,!0,!0)}),[i,s,n,l]}const[Th,Sh,Eh,Oh]=Mh();function Is(i,n){const s=n?i?Oh:Eh:i?Sh:Th;return(l,h,r)=>h==="__v_isReactive"?!i:h==="__v_isReadonly"?i:h==="__v_raw"?l:Reflect.get(ut(s,h)&&h in l?s:l,h,r)}const kh={get:Is(!1,!1)},Ih={get:Is(!1,!0)},Ah={get:Is(!0,!1)},Wa=new WeakMap,Ka=new WeakMap,$a=new WeakMap,Rh=new WeakMap;function Dh(i){switch(i){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function zh(i){return i.__v_skip||!Object.isExtensible(i)?0:Dh(oh(i))}function As(i){return Bi(i)?i:Rs(i,!1,xh,kh,Wa)}function Nh(i){return Rs(i,!1,Ch,Ih,Ka)}function qa(i){return Rs(i,!0,Ph,Ah,$a)}function Rs(i,n,s,l,h){if(!wt(i)||i.__v_raw&&!(n&&i.__v_isReactive))return i;const r=h.get(i);if(r)return r;const u=zh(i);if(u===0)return i;const c=new Proxy(i,u===2?l:s);return h.set(i,c),c}function Ri(i){return Bi(i)?Ri(i.__v_raw):!!(i&&i.__v_isReactive)}function Bi(i){return!!(i&&i.__v_isReadonly)}function ro(i){return!!(i&&i.__v_isShallow)}function Xa(i){return Ri(i)||Bi(i)}function _t(i){const n=i&&i.__v_raw;return n?_t(n):i}function Ya(i){return oo(i,"__v_skip",!0),i}const mn=i=>wt(i)?As(i):i,Ds=i=>wt(i)?qa(i):i;function Ja(i){Ke&&ce&&(i=_t(i),Ha(i.dep||(i.dep=Es())))}function Qa(i,n){i=_t(i);const s=i.dep;s&&fs(s)}function Gt(i){return!!(i&&i.__v_isRef===!0)}function fe(i){return Bh(i,!1)}function Bh(i,n){return Gt(i)?i:new Zh(i,n)}class Zh{constructor(n,s){this.__v_isShallow=s,this.dep=void 0,this.__v_isRef=!0,this._rawValue=s?n:_t(n),this._value=s?n:mn(n)}get value(){return Ja(this),this._value}set value(n){const s=this.__v_isShallow||ro(n)||Bi(n);n=s?n:_t(n),pi(n,this._rawValue)&&(this._rawValue=n,this._value=s?n:mn(n),Qa(this))}}function Uh(i){return Gt(i)?i.value:i}const Fh={get:(i,n,s)=>Uh(Reflect.get(i,n,s)),set:(i,n,s,l)=>{const h=i[n];return Gt(h)&&!Gt(s)?(h.value=s,!0):Reflect.set(i,n,s,l)}};function tl(i){return Ri(i)?i:new Proxy(i,Fh)}class Hh{constructor(n,s,l,h){this._setter=s,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Os(n,()=>{this._dirty||(this._dirty=!0,Qa(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!h,this.__v_isReadonly=l}get value(){const n=_t(this);return Ja(n),(n._dirty||!n._cacheable)&&(n._dirty=!1,n._value=n.effect.run()),n._value}set value(n){this._setter(n)}}function Vh(i,n,s=!1){let l,h;const r=it(i);return r?(l=i,h=pe):(l=i.get,h=i.set),new Hh(l,h,r||!h,s)}function $e(i,n,s,l){let h;try{h=l?i(...l):i()}catch(r){mo(r,n,s)}return h}function _e(i,n,s,l){if(it(i)){const r=$e(i,n,s,l);return r&&Ra(r)&&r.catch(u=>{mo(u,n,s)}),r}const h=[];for(let r=0;r<i.length;r++)h.push(_e(i[r],n,s,l));return h}function mo(i,n,s,l=!0){const h=n?n.vnode:null;if(n){let r=n.parent;const u=n.proxy,c=s;for(;r;){const _=r.ec;if(_){for(let g=0;g<_.length;g++)if(_[g](i,u,c)===!1)return}r=r.parent}const d=n.appContext.config.errorHandler;if(d){$e(d,null,10,[i,u,c]);return}}jh(i,s,h,l)}function jh(i,n,s,l=!0){console.error(i)}let gn=!1,ds=!1;const jt=[];let Pe=0;const Di=[];let Ae=null,ai=0;const el=Promise.resolve();let zs=null;function Gh(i){const n=zs||el;return i?n.then(this?i.bind(this):i):n}function Wh(i){let n=Pe+1,s=jt.length;for(;n<s;){const l=n+s>>>1,h=jt[l],r=vn(h);r<i||r===i&&h.pre?n=l+1:s=l}return n}function Ns(i){(!jt.length||!jt.includes(i,gn&&i.allowRecurse?Pe+1:Pe))&&(i.id==null?jt.push(i):jt.splice(Wh(i.id),0,i),il())}function il(){!gn&&!ds&&(ds=!0,zs=el.then(ol))}function Kh(i){const n=jt.indexOf(i);n>Pe&&jt.splice(n,1)}function $h(i){q(i)?Di.push(...i):(!Ae||!Ae.includes(i,i.allowRecurse?ai+1:ai))&&Di.push(i),il()}function Qr(i,n=gn?Pe+1:0){for(;n<jt.length;n++){const s=jt[n];s&&s.pre&&(jt.splice(n,1),n--,s())}}function nl(i){if(Di.length){const n=[...new Set(Di)];if(Di.length=0,Ae){Ae.push(...n);return}for(Ae=n,Ae.sort((s,l)=>vn(s)-vn(l)),ai=0;ai<Ae.length;ai++)Ae[ai]();Ae=null,ai=0}}const vn=i=>i.id==null?1/0:i.id,qh=(i,n)=>{const s=vn(i)-vn(n);if(s===0){if(i.pre&&!n.pre)return-1;if(n.pre&&!i.pre)return 1}return s};function ol(i){ds=!1,gn=!0,jt.sort(qh);const n=pe;try{for(Pe=0;Pe<jt.length;Pe++){const s=jt[Pe];s&&s.active!==!1&&$e(s,null,14)}}finally{Pe=0,jt.length=0,nl(),gn=!1,zs=null,(jt.length||Di.length)&&ol()}}function Xh(i,n,...s){if(i.isUnmounted)return;const l=i.vnode.props||bt;let h=s;const r=n.startsWith("update:"),u=r&&n.slice(7);if(u&&u in l){const g=`${u==="modelValue"?"model":u}Modifiers`,{number:m,trim:b}=l[g]||bt;b&&(h=s.map(w=>It(w)?w.trim():w)),m&&(h=s.map(so))}let c,d=l[c=Qo(n)]||l[c=Qo(Ce(n))];!d&&r&&(d=l[c=Qo(gi(n))]),d&&_e(d,i,6,h);const _=l[c+"Once"];if(_){if(!i.emitted)i.emitted={};else if(i.emitted[c])return;i.emitted[c]=!0,_e(_,i,6,h)}}function sl(i,n,s=!1){const l=n.emitsCache,h=l.get(i);if(h!==void 0)return h;const r=i.emits;let u={},c=!1;if(!it(i)){const d=_=>{const g=sl(_,n,!0);g&&(c=!0,Bt(u,g))};!s&&n.mixins.length&&n.mixins.forEach(d),i.extends&&d(i.extends),i.mixins&&i.mixins.forEach(d)}return!r&&!c?(wt(i)&&l.set(i,null),null):(q(r)?r.forEach(d=>u[d]=null):Bt(u,r),wt(i)&&l.set(i,u),u)}function go(i,n){return!i||!co(n)?!1:(n=n.slice(2).replace(/Once$/,""),ut(i,n[0].toLowerCase()+n.slice(1))||ut(i,gi(n))||ut(i,n))}let se=null,rl=null;function ao(i){const n=se;return se=i,rl=i&&i.type.__scopeId||null,n}function Yh(i,n=se,s){if(!n||i._n)return i;const l=(...h)=>{l._d&&ha(-1);const r=ao(n);let u;
vendor: 40,124 bytes, lines 2-15
2try{u=i(...h)}finally{ao(r),l._d&&ha(1)}return u};return l._n=!0,l._c=!0,l._d=!0,l}function ts(i){const{type:n,vnode:s,proxy:l,withProxy:h,props:r,propsOptions:[u],slots:c,attrs:d,emit:_,render:g,renderCache:m,data:b,setupState:w,ctx:M,inheritAttrs:C}=i;let B,R;const j=ao(i);try{if(s.shapeFlag&4){const Z=h||l;B=xe(g.call(Z,Z,m,r,w,b,M)),R=d}else{const Z=n;B=xe(Z.length>1?Z(r,{attrs:d,slots:c,emit:_}):Z(r,null)),R=n.props?d:Jh(d)}}catch(Z){pn.length=0,mo(Z,i,1),B=me(mi)}let A=B;if(R&&C!==!1){const Z=Object.keys(R),{shapeFlag:Q}=A;Z.length&&Q&7&&(u&&Z.some(Ps)&&(R=Qh(R,u)),A=Zi(A,R))}return s.dirs&&(A=Zi(A),A.dirs=A.dirs?A.dirs.concat(s.dirs):s.dirs),s.transition&&(A.transition=s.transition),B=A,ao(j),B}const Jh=i=>{let n;for(const s in i)(s==="class"||s==="style"||co(s))&&((n||(n={}))[s]=i[s]);return n},Qh=(i,n)=>{const s={};for(const l in i)(!Ps(l)||!(l.slice(9)in n))&&(s[l]=i[l]);return s};function tc(i,n,s){const{props:l,children:h,component:r}=i,{props:u,children:c,patchFlag:d}=n,_=r.emitsOptions;if(n.dirs||n.transition)return!0;if(s&&d>=0){if(d&1024)return!0;if(d&16)return l?ta(l,u,_):!!u;if(d&8){const g=n.dynamicProps;for(let m=0;m<g.length;m++){const b=g[m];if(u[b]!==l[b]&&!go(_,b))return!0}}}else return(h||c)&&(!c||!c.$stable)?!0:l===u?!1:l?u?ta(l,u,_):!0:!!u;return!1}function ta(i,n,s){const l=Object.keys(n);if(l.length!==Object.keys(i).length)return!0;for(let h=0;h<l.length;h++){const r=l[h];if(n[r]!==i[r]&&!go(s,r))return!0}return!1}function ec({vnode:i,parent:n},s){for(;n&&n.subTree===i;)(i=n.vnode).el=s,n=n.parent}const al="components";function vo(i,n){return nc(al,i,!0,n)||i}const ic=Symbol.for("v-ndc");function nc(i,n,s=!0,l=!1){const h=se||Nt;if(h){const r=h.type;if(i===al){const c=Xc(r,!1);if(c&&(c===n||c===Ce(n)||c===po(Ce(n))))return r}const u=ea(h[i]||r[i],n)||ea(h.appContext[i],n);return!u&&l?r:u}}function ea(i,n){return i&&(i[n]||i[Ce(n)]||i[po(Ce(n))])}const oc=i=>i.__isSuspense;function sc(i,n){n&&n.pendingBranch?q(i)?n.effects.push(...i):n.effects.push(i):$h(i)}const $n={};function fn(i,n,s){return ll(i,n,s)}function ll(i,n,{immediate:s,deep:l,flush:h,onTrack:r,onTrigger:u}=bt){var c;const d=mh()===((c=Nt)==null?void 0:c.scope)?Nt:null;let _,g=!1,m=!1;if(Gt(i)?(_=()=>i.value,g=ro(i)):Ri(i)?(_=()=>i,l=!0):q(i)?(m=!0,g=i.some(Z=>Ri(Z)||ro(Z)),_=()=>i.map(Z=>{if(Gt(Z))return Z.value;if(Ri(Z))return hi(Z);if(it(Z))return $e(Z,d,2)})):it(i)?n?_=()=>$e(i,d,2):_=()=>{if(!(d&&d.isUnmounted))return b&&b(),_e(i,d,3,[w])}:_=pe,n&&l){const Z=_;_=()=>hi(Z())}let b,w=Z=>{b=j.onStop=()=>{$e(Z,d,4)}},M;if(bn)if(w=pe,n?s&&_e(n,d,3,[_(),m?[]:void 0,w]):_(),h==="sync"){const Z=Qc();M=Z.__watcherHandles||(Z.__watcherHandles=[])}else return pe;let C=m?new Array(i.length).fill($n):$n;const B=()=>{if(!!j.active)if(n){const Z=j.run();(l||g||(m?Z.some((Q,st)=>pi(Q,C[st])):pi(Z,C)))&&(b&&b(),_e(n,d,3,[Z,C===$n?void 0:m&&C[0]===$n?[]:C,w]),C=Z)}else j.run()};B.allowRecurse=!!n;let R;h==="sync"?R=B:h==="post"?R=()=>Yt(B,d&&d.suspense):(B.pre=!0,d&&(B.id=d.uid),R=()=>Ns(B));const j=new Os(_,R);n?s?B():C=j.run():h==="post"?Yt(j.run.bind(j),d&&d.suspense):j.run();const A=()=>{j.stop(),d&&d.scope&&Cs(d.scope.effects,j)};return M&&M.push(A),A}function rc(i,n,s){const l=this.proxy,h=It(i)?i.includes(".")?ul(l,i):()=>l[i]:i.bind(l,l);let r;it(n)?r=n:(r=n.handler,s=n);const u=Nt;Ui(this);const c=ll(h,r.bind(l),s);return u?Ui(u):di(),c}function ul(i,n){const s=n.split(".");return()=>{let l=i;for(let h=0;h<s.length&&l;h++)l=l[s[h]];return l}}function hi(i,n){if(!wt(i)||i.__v_skip||(n=n||new Set,n.has(i)))return i;if(n.add(i),Gt(i))hi(i.value,n);else if(q(i))for(let s=0;s<i.length;s++)hi(i[s],n);else if(Hi(i)||Ai(i))i.forEach(s=>{hi(s,n)});else if(za(i))for(const s in i)hi(i[s],n);return i}function ue(i,n){const s=se;if(s===null)return i;const l=Lo(s)||s.proxy,h=i.dirs||(i.dirs=[]);for(let r=0;r<n.length;r++){let[u,c,d,_=bt]=n[r];u&&(it(u)&&(u={mounted:u,updated:u}),u.deep&&hi(c),h.push({dir:u,instance:l,value:c,oldValue:void 0,arg:d,modifiers:_}))}return i}function oi(i,n,s,l){const h=i.dirs,r=n&&n.dirs;for(let u=0;u<h.length;u++){const c=h[u];r&&(c.oldValue=r[u].value);let d=c.dir[l];d&&(Vi(),_e(d,s,8,[i.el,c,i,n]),ji())}}/*! #__NO_SIDE_EFFECTS__ */function ze(i,n){return it(i)?(()=>Bt({name:i.name},n,{setup:i}))():i}const to=i=>!!i.type.__asyncLoader,hl=i=>i.type.__isKeepAlive;function ac(i,n){cl(i,"a",n)}function lc(i,n){cl(i,"da",n)}function cl(i,n,s=Nt){const l=i.__wdc||(i.__wdc=()=>{let h=s;for(;h;){if(h.isDeactivated)return;h=h.parent}return i()});if(yo(n,l,s),s){let h=s.parent;for(;h&&h.parent;)hl(h.parent.vnode)&&uc(l,n,s,h),h=h.parent}}function uc(i,n,s,l){const h=yo(n,i,l,!0);dl(()=>{Cs(l[n],h)},s)}function yo(i,n,s=Nt,l=!1){if(s){const h=s[i]||(s[i]=[]),r=n.__weh||(n.__weh=(...u)=>{if(s.isUnmounted)return;Vi(),Ui(s);const c=_e(n,s,i,u);return di(),ji(),c});return l?h.unshift(r):h.push(r),r}}const Ne=i=>(n,s=Nt)=>(!bn||i==="sp")&&yo(i,(...l)=>n(...l),s),hc=Ne("bm"),fl=Ne("m"),cc=Ne("bu"),fc=Ne("u"),dc=Ne("bum"),dl=Ne("um"),pc=Ne("sp"),_c=Ne("rtg"),mc=Ne("rtc");function gc(i,n=Nt){yo("ec",i,n)}function Ei(i,n,s,l){let h;const r=s&&s[l];if(q(i)||It(i)){h=new Array(i.length);for(let u=0,c=i.length;u<c;u++)h[u]=n(i[u],u,void 0,r&&r[u])}else if(typeof i=="number"){h=new Array(i);for(let u=0;u<i;u++)h[u]=n(u+1,u,void 0,r&&r[u])}else if(wt(i))if(i[Symbol.iterator])h=Array.from(i,(u,c)=>n(u,c,void 0,r&&r[c]));else{const u=Object.keys(i);h=new Array(u.length);for(let c=0,d=u.length;c<d;c++){const _=u[c];h[c]=n(i[_],_,c,r&&r[c])}}else h=[];return s&&(s[l]=h),h}const ps=i=>i?Cl(i)?Lo(i)||i.proxy:ps(i.parent):null,dn=Bt(Object.create(null),{$:i=>i,$el:i=>i.vnode.el,$data:i=>i.data,$props:i=>i.props,$attrs:i=>i.attrs,$slots:i=>i.slots,$refs:i=>i.refs,$parent:i=>ps(i.parent),$root:i=>ps(i.root),$emit:i=>i.emit,$options:i=>Bs(i),$forceUpdate:i=>i.f||(i.f=()=>Ns(i.update)),$nextTick:i=>i.n||(i.n=Gh.bind(i.proxy)),$watch:i=>rc.bind(i)}),es=(i,n)=>i!==bt&&!i.__isScriptSetup&&ut(i,n),vc={get({_:i},n){const{ctx:s,setupState:l,data:h,props:r,accessCache:u,type:c,appContext:d}=i;let _;if(n[0]!=="$"){const w=u[n];if(w!==void 0)switch(w){case 1:return l[n];case 2:return h[n];case 4:return s[n];case 3:return r[n]}else{if(es(l,n))return u[n]=1,l[n];if(h!==bt&&ut(h,n))return u[n]=2,h[n];if((_=i.propsOptions[0])&&ut(_,n))return u[n]=3,r[n];if(s!==bt&&ut(s,n))return u[n]=4,s[n];_s&&(u[n]=0)}}const g=dn[n];let m,b;if(g)return n==="$attrs"&&Jt(i,"get",n),g(i);if((m=c.__cssModules)&&(m=m[n]))return m;if(s!==bt&&ut(s,n))return u[n]=4,s[n];if(b=d.config.globalProperties,ut(b,n))return b[n]},set({_:i},n,s){const{data:l,setupState:h,ctx:r}=i;return es(h,n)?(h[n]=s,!0):l!==bt&&ut(l,n)?(l[n]=s,!0):ut(i.props,n)||n[0]==="$"&&n.slice(1)in i?!1:(r[n]=s,!0)},has({_:{data:i,setupState:n,accessCache:s,ctx:l,appContext:h,propsOptions:r}},u){let c;return!!s[u]||i!==bt&&ut(i,u)||es(n,u)||(c=r[0])&&ut(c,u)||ut(l,u)||ut(dn,u)||ut(h.config.globalProperties,u)},defineProperty(i,n,s){return s.get!=null?i._.accessCache[n]=0:ut(s,"value")&&this.set(i,n,s.value,null),Reflect.defineProperty(i,n,s)}};function ia(i){return q(i)?i.reduce((n,s)=>(n[s]=null,n),{}):i}let _s=!0;function yc(i){const n=Bs(i),s=i.proxy,l=i.ctx;_s=!1,n.beforeCreate&&na(n.beforeCreate,i,"bc");const{data:h,computed:r,methods:u,watch:c,provide:d,inject:_,created:g,beforeMount:m,mounted:b,beforeUpdate:w,updated:M,activated:C,deactivated:B,beforeDestroy:R,beforeUnmount:j,destroyed:A,unmounted:Z,render:Q,renderTracked:st,renderTriggered:Lt,errorCaptured:rt,serverPrefetch:Rt,expose:Qt,inheritAttrs:xt,components:Et,directives:Me,filters:Zt}=n;if(_&&bc(_,l,null),u)for(const ft in u){const F=u[ft];it(F)&&(l[ft]=F.bind(s))}if(h){const ft=h.call(s,s);wt(ft)&&(i.data=As(ft))}if(_s=!0,r)for(const ft in r){const F=r[ft],ge=it(F)?F.bind(s,s):it(F.get)?F.get.bind(s,s):pe,X=!it(F)&&it(F.set)?F.set.bind(s):pe,dt=zi({get:ge,set:X});Object.defineProperty(l,ft,{enumerable:!0,configurable:!0,get:()=>dt.value,set:yt=>dt.value=yt})}if(c)for(const ft in c)pl(c[ft],l,s,ft);if(d){const ft=it(d)?d.call(s):d;Reflect.ownKeys(ft).forEach(F=>{Mc(F,ft[F])})}g&&na(g,i,"c");function ht(ft,F){q(F)?F.forEach(ge=>ft(ge.bind(s))):F&&ft(F.bind(s))}if(ht(hc,m),ht(fl,b),ht(cc,w),ht(fc,M),ht(ac,C),ht(lc,B),ht(gc,rt),ht(mc,st),ht(_c,Lt),ht(dc,j),ht(dl,Z),ht(pc,Rt),q(Qt))if(Qt.length){const ft=i.exposed||(i.exposed={});Qt.forEach(F=>{Object.defineProperty(ft,F,{get:()=>s[F],set:ge=>s[F]=ge})})}else i.exposed||(i.exposed={});Q&&i.render===pe&&(i.render=Q),xt!=null&&(i.inheritAttrs=xt),Et&&(i.components=Et),Me&&(i.directives=Me)}function bc(i,n,s=pe){q(i)&&(i=ms(i));for(const l in i){const h=i[l];let r;wt(h)?"default"in h?r=eo(h.from||l,h.default,!0):r=eo(h.from||l):r=eo(h),Gt(r)?Object.defineProperty(n,l,{enumerable:!0,configurable:!0,get:()=>r.value,set:u=>r.value=u}):n[l]=r}}function na(i,n,s){_e(q(i)?i.map(l=>l.bind(n.proxy)):i.bind(n.proxy),n,s)}function pl(i,n,s,l){const h=l.includes(".")?ul(s,l):()=>s[l];if(It(i)){const r=n[i];it(r)&&fn(h,r)}else if(it(i))fn(h,i.bind(s));else if(wt(i))if(q(i))i.forEach(r=>pl(r,n,s,l));else{const r=it(i.handler)?i.handler.bind(s):n[i.handler];it(r)&&fn(h,r,i)}}function Bs(i){const n=i.type,{mixins:s,extends:l}=n,{mixins:h,optionsCache:r,config:{optionMergeStrategies:u}}=i.appContext,c=r.get(n);let d;return c?d=c:!h.length&&!s&&!l?d=n:(d={},h.length&&h.forEach(_=>lo(d,_,u,!0)),lo(d,n,u)),wt(n)&&r.set(n,d),d}function lo(i,n,s,l=!1){const{mixins:h,extends:r}=n;r&&lo(i,r,s,!0),h&&h.forEach(u=>lo(i,u,s,!0));for(const u in n)if(!(l&&u==="expose")){const c=wc[u]||s&&s[u];i[u]=c?c(i[u],n[u]):n[u]}return i}const wc={data:oa,props:sa,emits:sa,methods:cn,computed:cn,beforeCreate:Kt,created:Kt,beforeMount:Kt,mounted:Kt,beforeUpdate:Kt,updated:Kt,beforeDestroy:Kt,beforeUnmount:Kt,destroyed:Kt,unmounted:Kt,activated:Kt,deactivated:Kt,errorCaptured:Kt,serverPrefetch:Kt,components:cn,directives:cn,watch:xc,provide:oa,inject:Lc};function oa(i,n){return n?i?function(){return Bt(it(i)?i.call(this,this):i,it(n)?n.call(this,this):n)}:n:i}function Lc(i,n){return cn(ms(i),ms(n))}function ms(i){if(q(i)){const n={};for(let s=0;s<i.length;s++)n[i[s]]=i[s];return n}return i}function Kt(i,n){return i?[...new Set([].concat(i,n))]:n}function cn(i,n){return i?Bt(Object.create(null),i,n):n}function sa(i,n){return i?q(i)&&q(n)?[...new Set([...i,...n])]:Bt(Object.create(null),ia(i),ia(n!=null?n:{})):n}function xc(i,n){if(!i)return n;if(!n)return i;const s=Bt(Object.create(null),i);for(const l in n)s[l]=Kt(i[l],n[l]);return s}function _l(){return{app:null,config:{isNativeTag:eh,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Pc=0;function Cc(i,n){return function(l,h=null){it(l)||(l=Bt({},l)),h!=null&&!wt(h)&&(h=null);const r=_l(),u=new WeakSet;let c=!1;const d=r.app={_uid:Pc++,_component:l,_props:h,_container:null,_context:r,_instance:null,version:tf,get config(){return r.config},set config(_){},use(_,...g){return u.has(_)||(_&&it(_.install)?(u.add(_),_.install(d,...g)):it(_)&&(u.add(_),_(d,...g))),d},mixin(_){return r.mixins.includes(_)||r.mixins.push(_),d},component(_,g){return g?(r.components[_]=g,d):r.components[_]},directive(_,g){return g?(r.directives[_]=g,d):r.directives[_]},mount(_,g,m){if(!c){const b=me(l,h);return b.appContext=r,g&&n?n(b,_):i(b,_,m),c=!0,d._container=_,_.__vue_app__=d,Lo(b.component)||b.component.proxy}},unmount(){c&&(i(null,d._container),delete d._container.__vue_app__)},provide(_,g){return r.provides[_]=g,d},runWithContext(_){uo=d;try{return _()}finally{uo=null}}};return d}}let uo=null;function Mc(i,n){if(Nt){let s=Nt.provides;const l=Nt.parent&&Nt.parent.provides;l===s&&(s=Nt.provides=Object.create(l)),s[i]=n}}function eo(i,n,s=!1){const l=Nt||se;if(l||uo){const h=l?l.parent==null?l.vnode.appContext&&l.vnode.appContext.provides:l.parent.provides:uo._context.provides;if(h&&i in h)return h[i];if(arguments.length>1)return s&&it(n)?n.call(l&&l.proxy):n}}function Tc(i,n,s,l=!1){const h={},r={};oo(r,wo,1),i.propsDefaults=Object.create(null),ml(i,n,h,r);for(const u in i.propsOptions[0])u in h||(h[u]=void 0);s?i.props=l?h:Nh(h):i.type.props?i.props=h:i.props=r,i.attrs=r}function Sc(i,n,s,l){const{props:h,attrs:r,vnode:{patchFlag:u}}=i,c=_t(h),[d]=i.propsOptions;let _=!1;if((l||u>0)&&!(u&16)){if(u&8){const g=i.vnode.dynamicProps;for(let m=0;m<g.length;m++){let b=g[m];if(go(i.emitsOptions,b))continue;const w=n[b];if(d)if(ut(r,b))w!==r[b]&&(r[b]=w,_=!0);else{const M=Ce(b);h[M]=gs(d,c,M,w,i,!1)}else w!==r[b]&&(r[b]=w,_=!0)}}}else{ml(i,n,h,r)&&(_=!0);let g;for(const m in c)(!n||!ut(n,m)&&((g=gi(m))===m||!ut(n,g)))&&(d?s&&(s[m]!==void 0||s[g]!==void 0)&&(h[m]=gs(d,c,m,void 0,i,!0)):delete h[m]);if(r!==c)for(const m in r)(!n||!ut(n,m)&&!0)&&(delete r[m],_=!0)}_&&Re(i,"set","$attrs")}function ml(i,n,s,l){const[h,r]=i.propsOptions;let u=!1,c;if(n)for(let d in n){if(Jn(d))continue;const _=n[d];let g;h&&ut(h,g=Ce(d))?!r||!r.includes(g)?s[g]=_:(c||(c={}))[g]=_:go(i.emitsOptions,d)||(!(d in l)||_!==l[d])&&(l[d]=_,u=!0)}if(r){const d=_t(s),_=c||bt;for(let g=0;g<r.length;g++){const m=r[g];s[m]=gs(h,d,m,_[m],i,!ut(_,m))}}return u}function gs(i,n,s,l,h,r){const u=i[s];if(u!=null){const c=ut(u,"default");if(c&&l===void 0){const d=u.default;if(u.type!==Function&&!u.skipFactory&&it(d)){const{propsDefaults:_}=h;s in _?l=_[s]:(Ui(h),l=_[s]=d.call(null,n),di())}else l=d}u[0]&&(r&&!c?l=!1:u[1]&&(l===""||l===gi(s))&&(l=!0))}return l}function gl(i,n,s=!1){const l=n.propsCache,h=l.get(i);if(h)return h;const r=i.props,u={},c=[];let d=!1;if(!it(i)){const g=m=>{d=!0;const[b,w]=gl(m,n,!0);Bt(u,b),w&&c.push(...w)};!s&&n.mixins.length&&n.mixins.forEach(g),i.extends&&g(i.extends),i.mixins&&i.mixins.forEach(g)}if(!r&&!d)return wt(i)&&l.set(i,Ii),Ii;if(q(r))for(let g=0;g<r.length;g++){const m=Ce(r[g]);ra(m)&&(u[m]=bt)}else if(r)for(const g in r){const m=Ce(g);if(ra(m)){const b=r[g],w=u[m]=q(b)||it(b)?{type:b}:Bt({},b);if(w){const M=ua(Boolean,w.type),C=ua(String,w.type);w[0]=M>-1,w[1]=C<0||M<C,(M>-1||ut(w,"default"))&&c.push(m)}}}const _=[u,c];return wt(i)&&l.set(i,_),_}function ra(i){return i[0]!=="$"}function aa(i){const n=i&&i.toString().match(/^\s*(function|class) (\w+)/);return n?n[2]:i===null?"null":""}function la(i,n){return aa(i)===aa(n)}function ua(i,n){return q(n)?n.findIndex(s=>la(s,i)):it(n)&&la(n,i)?0:-1}const vl=i=>i[0]==="_"||i==="$stable",Zs=i=>q(i)?i.map(xe):[xe(i)],Ec=(i,n,s)=>{if(n._n)return n;const l=Yh((...h)=>Zs(n(...h)),s);return l._c=!1,l},yl=(i,n,s)=>{const l=i._ctx;for(const h in i){if(vl(h))continue;const r=i[h];if(it(r))n[h]=Ec(h,r,l);else if(r!=null){const u=Zs(r);n[h]=()=>u}}},bl=(i,n)=>{const s=Zs(n);i.slots.default=()=>s},Oc=(i,n)=>{if(i.vnode.shapeFlag&32){const s=n._;s?(i.slots=_t(n),oo(n,"_",s)):yl(n,i.slots={})}else i.slots={},n&&bl(i,n);oo(i.slots,wo,1)},kc=(i,n,s)=>{const{vnode:l,slots:h}=i;let r=!0,u=bt;if(l.shapeFlag&32){const c=n._;c?s&&c===1?r=!1:(Bt(h,n),!s&&c===1&&delete h._):(r=!n.$stable,yl(n,h)),u=n}else n&&(bl(i,n),u={default:1});if(r)for(const c in h)!vl(c)&&u[c]==null&&delete h[c]};function vs(i,n,s,l,h=!1){if(q(i)){i.forEach((b,w)=>vs(b,n&&(q(n)?n[w]:n),s,l,h));return}if(to(l)&&!h)return;const r=l.shapeFlag&4?Lo(l.component)||l.component.proxy:l.el,u=h?null:r,{i:c,r:d}=i,_=n&&n.r,g=c.refs===bt?c.refs={}:c.refs,m=c.setupState;if(_!=null&&_!==d&&(It(_)?(g[_]=null,ut(m,_)&&(m[_]=null)):Gt(_)&&(_.value=null)),it(d))$e(d,c,12,[u,g]);else{const b=It(d),w=Gt(d);if(b||w){const M=()=>{if(i.f){const C=b?ut(m,d)?m[d]:g[d]:d.value;h?q(C)&&Cs(C,r):q(C)?C.includes(r)||C.push(r):b?(g[d]=[r],ut(m,d)&&(m[d]=g[d])):(d.value=[r],i.k&&(g[i.k]=d.value))}else b?(g[d]=u,ut(m,d)&&(m[d]=u)):w&&(d.value=u,i.k&&(g[i.k]=u))};u?(M.id=-1,Yt(M,s)):M()}}}const Yt=sc;function Ic(i){return Ac(i)}function Ac(i,n){const s=ls();s.__VUE__=!0;const{insert:l,remove:h,patchProp:r,createElement:u,createText:c,createComment:d,setText:_,setElementText:g,parentNode:m,nextSibling:b,setScopeId:w=pe,insertStaticContent:M}=i,C=(y,x,S,O=null,k=null,D=null,U=!1,z=null,N=!!x.dynamicChildren)=>{if(y===x)return;y&&!sn(y,x)&&(O=$t(y),yt(y,k,D,!0),y=null),x.patchFlag===-2&&(N=!1,x.dynamicChildren=null);const{type:I,ref:G,shapeFlag:V}=x;switch(I){case bo:B(y,x,S,O);break;case mi:R(y,x,S,O);break;case io:y==null&&j(x,S,O,U);break;case Ht:Et(y,x,S,O,k,D,U,z,N);break;default:V&1?Q(y,x,S,O,k,D,U,z,N):V&6?Me(y,x,S,O,k,D,U,z,N):(V&64||V&128)&&I.process(y,x,S,O,k,D,U,z,N,Te)}G!=null&&k&&vs(G,y&&y.ref,D,x||y,!x)},B=(y,x,S,O)=>{if(y==null)l(x.el=c(x.children),S,O);else{const k=x.el=y.el;x.children!==y.children&&_(k,x.children)}},R=(y,x,S,O)=>{y==null?l(x.el=d(x.children||""),S,O):x.el=y.el},j=(y,x,S,O)=>{[y.el,y.anchor]=M(y.children,x,S,O,y.el,y.anchor)},A=({el:y,anchor:x},S,O)=>{let k;for(;y&&y!==x;)k=b(y),l(y,S,O),y=k;l(x,S,O)},Z=({el:y,anchor:x})=>{let S;for(;y&&y!==x;)S=b(y),h(y),y=S;h(x)},Q=(y,x,S,O,k,D,U,z,N)=>{U=U||x.type==="svg",y==null?st(x,S,O,k,D,U,z,N):Rt(y,x,k,D,U,z,N)},st=(y,x,S,O,k,D,U,z)=>{let N,I;const{type:G,props:V,shapeFlag:K,transition:J,dirs:nt}=y;if(N=y.el=u(y.type,D,V&&V.is,V),K&8?g(N,y.children):K&16&&rt(y.children,N,null,O,k,D&&G!=="foreignObject",U,z),nt&&oi(y,null,O,"created"),Lt(N,y,y.scopeId,U,O),V){for(const pt in V)pt!=="value"&&!Jn(pt)&&r(N,pt,null,V[pt],D,y.children,O,k,tt);"value"in V&&r(N,"value",null,V.value),(I=V.onVnodeBeforeMount)&&Le(I,O,y)}nt&&oi(y,null,O,"beforeMount");const gt=Rc(k,J);gt&&J.beforeEnter(N),l(N,x,S),((I=V&&V.onVnodeMounted)||gt||nt)&&Yt(()=>{I&&Le(I,O,y),gt&&J.enter(N),nt&&oi(y,null,O,"mounted")},k)},Lt=(y,x,S,O,k)=>{if(S&&w(y,S),O)for(let D=0;D<O.length;D++)w(y,O[D]);if(k){let D=k.subTree;if(x===D){const U=k.vnode;Lt(y,U,U.scopeId,U.slotScopeIds,k.parent)}}},rt=(y,x,S,O,k,D,U,z,N=0)=>{for(let I=N;I<y.length;I++){const G=y[I]=z?je(y[I]):xe(y[I]);C(null,G,x,S,O,k,D,U,z)}},Rt=(y,x,S,O,k,D,U)=>{const z=x.el=y.el;let{patchFlag:N,dynamicChildren:I,dirs:G}=x;N|=y.patchFlag&16;const V=y.props||bt,K=x.props||bt;let J;S&&si(S,!1),(J=K.onVnodeBeforeUpdate)&&Le(J,S,x,y),G&&oi(x,y,S,"beforeUpdate"),S&&si(S,!0);const nt=k&&x.type!=="foreignObject";if(I?Qt(y.dynamicChildren,I,z,S,O,nt,D):U||F(y,x,z,null,S,O,nt,D,!1),N>0){if(N&16)xt(z,x,V,K,S,O,k);else if(N&2&&V.class!==K.class&&r(z,"class",null,K.class,k),N&4&&r(z,"style",V.style,K.style,k),N&8){const gt=x.dynamicProps;for(let pt=0;pt<gt.length;pt++){const Mt=gt[pt],qt=V[Mt],Se=K[Mt];(Se!==qt||Mt==="value")&&r(z,Mt,qt,Se,k,y.children,S,O,tt)}}N&1&&y.children!==x.children&&g(z,x.children)}else!U&&I==null&&xt(z,x,V,K,S,O,k);((J=K.onVnodeUpdated)||G)&&Yt(()=>{J&&Le(J,S,x,y),G&&oi(x,y,S,"updated")},O)},Qt=(y,x,S,O,k,D,U)=>{for(let z=0;z<x.length;z++){const N=y[z],I=x[z],G=N.el&&(N.type===Ht||!sn(N,I)||N.shapeFlag&70)?m(N.el):S;C(N,I,G,null,O,k,D,U,!0)}},xt=(y,x,S,O,k,D,U)=>{if(S!==O){if(S!==bt)for(const z in S)!Jn(z)&&!(z in O)&&r(y,z,S[z],null,U,x.children,k,D,tt);for(const z in O){if(Jn(z))continue;const N=O[z],I=S[z];N!==I&&z!=="value"&&r(y,z,I,N,U,x.children,k,D,tt)}"value"in O&&r(y,"value",S.value,O.value)}},Et=(y,x,S,O,k,D,U,z,N)=>{const I=x.el=y?y.el:c(""),G=x.anchor=y?y.anchor:c("");let{patchFlag:V,dynamicChildren:K,slotScopeIds:J}=x;J&&(z=z?z.concat(J):J),y==null?(l(I,S,O),l(G,S,O),rt(x.children,S,G,k,D,U,z,N)):V>0&&V&64&&K&&y.dynamicChildren?(Qt(y.dynamicChildren,K,S,k,D,U,z),(x.key!=null||k&&x===k.subTree)&&wl(y,x,!0)):F(y,x,S,G,k,D,U,z,N)},Me=(y,x,S,O,k,D,U,z,N)=>{x.slotScopeIds=z,y==null?x.shapeFlag&512?k.ctx.activate(x,S,O,U,N):Zt(x,S,O,k,D,U,N):Xe(y,x,N)},Zt=(y,x,S,O,k,D,U)=>{const z=y.component=Gc(y,O,k);if(hl(y)&&(z.ctx.renderer=Te),Wc(z),z.asyncDep){if(k&&k.registerDep(z,ht),!y.el){const N=z.subTree=me(mi);R(null,N,x,S)}return}ht(z,y,x,S,k,D,U)},Xe=(y,x,S)=>{const O=x.component=y.component;if(tc(y,x,S))if(O.asyncDep&&!O.asyncResolved){ft(O,x,S);return}else O.next=x,Kh(O.update),O.update();else x.el=y.el,O.vnode=x},ht=(y,x,S,O,k,D,U)=>{const z=()=>{if(y.isMounted){let{next:G,bu:V,u:K,parent:J,vnode:nt}=y,gt=G,pt;si(y,!1),G?(G.el=nt.el,ft(y,G,U)):G=nt,V&&Qn(V),(pt=G.props&&G.props.onVnodeBeforeUpdate)&&Le(pt,J,G,nt),si(y,!0);const Mt=ts(y),qt=y.subTree;y.subTree=Mt,C(qt,Mt,m(qt.el),$t(qt),y,k,D),G.el=Mt.el,gt===null&&ec(y,Mt.el),K&&Yt(K,k),(pt=G.props&&G.props.onVnodeUpdated)&&Yt(()=>Le(pt,J,G,nt),k)}else{let G;const{el:V,props:K}=x,{bm:J,m:nt,parent:gt}=y,pt=to(x);if(si(y,!1),J&&Qn(J),!pt&&(G=K&&K.onVnodeBeforeMount)&&Le(G,gt,x),si(y,!0),V&&Je){const Mt=()=>{y.subTree=ts(y),Je(V,y.subTree,y,k,null)};pt?x.type.__asyncLoader().then(()=>!y.isUnmounted&&Mt()):Mt()}else{const Mt=y.subTree=ts(y);C(null,Mt,S,O,y,k,D),x.el=Mt.el}if(nt&&Yt(nt,k),!pt&&(G=K&&K.onVnodeMounted)){const Mt=x;Yt(()=>Le(G,gt,Mt),k)}(x.shapeFlag&256||gt&&to(gt.vnode)&&gt.vnode.shapeFlag&256)&&y.a&&Yt(y.a,k),y.isMounted=!0,x=S=O=null}},N=y.effect=new Os(z,()=>Ns(I),y.scope),I=y.update=()=>N.run();I.id=y.uid,si(y,!0),I()},ft=(y,x,S)=>{x.component=y;const O=y.vnode.props;y.vnode=x,y.next=null,Sc(y,x.props,O,S),kc(y,x.children,S),Vi(),Qr(),ji()},F=(y,x,S,O,k,D,U,z,N=!1)=>{const I=y&&y.children,G=y?y.shapeFlag:0,V=x.children,{patchFlag:K,shapeFlag:J}=x;if(K>0){if(K&128){X(I,V,S,O,k,D,U,z,N);return}else if(K&256){ge(I,V,S,O,k,D,U,z,N);return}}J&8?(G&16&&tt(I,k,D),V!==I&&g(S,V)):G&16?J&16?X(I,V,S,O,k,D,U,z,N):tt(I,k,D,!0):(G&8&&g(S,""),J&16&&rt(V,S,O,k,D,U,z,N))},ge=(y,x,S,O,k,D,U,z,N)=>{y=y||Ii,x=x||Ii;const I=y.length,G=x.length,V=Math.min(I,G);let K;for(K=0;K<V;K++){const J=x[K]=N?je(x[K]):xe(x[K]);C(y[K],J,S,null,k,D,U,z,N)}I>G?tt(y,k,D,!0,!1,V):rt(x,S,O,k,D,U,z,N,V)},X=(y,x,S,O,k,D,U,z,N)=>{let I=0;const G=x.length;let V=y.length-1,K=G-1;for(;I<=V&&I<=K;){const J=y[I],nt=x[I]=N?je(x[I]):xe(x[I]);if(sn(J,nt))C(J,nt,S,null,k,D,U,z,N);else break;I++}for(;I<=V&&I<=K;){const J=y[V],nt=x[K]=N?je(x[K]):xe(x[K]);if(sn(J,nt))C(J,nt,S,null,k,D,U,z,N);else break;V--,K--}if(I>V){if(I<=K){const J=K+1,nt=J<G?x[J].el:O;for(;I<=K;)C(null,x[I]=N?je(x[I]):xe(x[I]),S,nt,k,D,U,z,N),I++}}else if(I>K)for(;I<=V;)yt(y[I],k,D,!0),I++;else{const J=I,nt=I,gt=new Map;for(I=nt;I<=K;I++){const Ut=x[I]=N?je(x[I]):xe(x[I]);Ut.key!=null&&gt.set(Ut.key,I)}let pt,Mt=0;const qt=K-nt+1;let Se=!1,Pn=0;const Be=new Array(qt);for(I=0;I<qt;I++)Be[I]=0;for(I=J;I<=V;I++){const Ut=y[I];if(Mt>=qt){yt(Ut,k,D,!0);continue}let te;if(Ut.key!=null)te=gt.get(Ut.key);else for(pt=nt;pt<=K;pt++)if(Be[pt-nt]===0&&sn(Ut,x[pt])){te=pt;break}te===void 0?yt(Ut,k,D,!0):(Be[te-nt]=I+1,te>=Pn?Pn=te:Se=!0,C(Ut,x[te],S,null,k,D,U,z,N),Mt++)}const vi=Se?Dc(Be):Ii;for(pt=vi.length-1,I=qt-1;I>=0;I--){const Ut=nt+I,te=x[Ut],Ze=Ut+1<G?x[Ut+1].el:O;Be[I]===0?C(null,te,S,Ze,k,D,U,z,N):Se&&(pt<0||I!==vi[pt]?dt(te,S,Ze,2):pt--)}}},dt=(y,x,S,O,k=null)=>{const{el:D,type:U,transition:z,children:N,shapeFlag:I}=y;if(I&6){dt(y.component.subTree,x,S,O);return}if(I&128){y.suspense.move(x,S,O);return}if(I&64){U.move(y,x,S,Te);return}if(U===Ht){l(D,x,S);for(let V=0;V<N.length;V++)dt(N[V],x,S,O);l(y.anchor,x,S);return}if(U===io){A(y,x,S);return}if(O!==2&&I&1&&z)if(O===0)z.beforeEnter(D),l(D,x,S),Yt(()=>z.enter(D),k);else{const{leave:V,delayLeave:K,afterLeave:J}=z,nt=()=>l(D,x,S),gt=()=>{V(D,()=>{nt(),J&&J()})};K?K(D,nt,gt):gt()}else l(D,x,S)},yt=(y,x,S,O=!1,k=!1)=>{const{type:D,props:U,ref:z,children:N,dynamicChildren:I,shapeFlag:G,patchFlag:V,dirs:K}=y;if(z!=null&&vs(z,null,S,y,!0),G&256){x.ctx.deactivate(y);return}const J=G&1&&K,nt=!to(y);let gt;if(nt&&(gt=U&&U.onVnodeBeforeUnmount)&&Le(gt,x,y),G&6)mt(y.component,S,O);else{if(G&128){y.suspense.unmount(S,O);return}J&&oi(y,null,x,"beforeUnmount"),G&64?y.type.remove(y,x,S,k,Te,O):I&&(D!==Ht||V>0&&V&64)?tt(I,x,S,!1,!0):(D===Ht&&V&384||!k&&G&16)&&tt(N,x,S),O&&Dt(y)}(nt&&(gt=U&&U.onVnodeUnmounted)||J)&&Yt(()=>{gt&&Le(gt,x,y),J&&oi(y,null,x,"unmounted")},S)},Dt=y=>{const{type:x,el:S,anchor:O,transition:k}=y;if(x===Ht){Ct(S,O);return}if(x===io){Z(y);return}const D=()=>{h(S),k&&!k.persisted&&k.afterLeave&&k.afterLeave()};if(y.shapeFlag&1&&k&&!k.persisted){const{leave:U,delayLeave:z}=k,N=()=>U(S,D);z?z(y.el,D,N):N()}else D()},Ct=(y,x)=>{let S;for(;y!==x;)S=b(y),h(y),y=S;h(x)},mt=(y,x,S)=>{const{bum:O,scope:k,update:D,subTree:U,um:z}=y;O&&Qn(O),k.stop(),D&&(D.active=!1,yt(U,y,x,S)),z&&Yt(z,x),Yt(()=>{y.isUnmounted=!0},x),x&&x.pendingBranch&&!x.isUnmounted&&y.asyncDep&&!y.asyncResolved&&y.suspenseId===x.pendingId&&(x.deps--,x.deps===0&&x.resolve())},tt=(y,x,S,O=!1,k=!1,D=0)=>{for(let U=D;U<y.length;U++)yt(y[U],x,S,O,k)},$t=y=>y.shapeFlag&6?$t(y.component.subTree):y.shapeFlag&128?y.suspense.next():b(y.anchor||y.el),re=(y,x,S)=>{y==null?x._vnode&&yt(x._vnode,null,null,!0):C(x._vnode||null,y,x,null,null,null,S),Qr(),nl(),x._vnode=y},Te={p:C,um:yt,m:dt,r:Dt,mt:Zt,mc:rt,pc:F,pbc:Qt,n:$t,o:i};let Ye,Je;return n&&([Ye,Je]=n(Te)),{render:re,hydrate:Ye,createApp:Cc(re,Ye)}}function si({effect:i,update:n},s){i.allowRecurse=n.allowRecurse=s}function Rc(i,n){return(!i||i&&!i.pendingBranch)&&n&&!n.persisted}function wl(i,n,s=!1){const l=i.children,h=n.children;if(q(l)&&q(h))for(let r=0;r<l.length;r++){const u=l[r];let c=h[r];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=h[r]=je(h[r]),c.el=u.el),s||wl(u,c)),c.type===bo&&(c.el=u.el)}}function Dc(i){const n=i.slice(),s=[0];let l,h,r,u,c;const d=i.length;for(l=0;l<d;l++){const _=i[l];if(_!==0){if(h=s[s.length-1],i[h]<_){n[l]=h,s.push(l);continue}for(r=0,u=s.length-1;r<u;)c=r+u>>1,i[s[c]]<_?r=c+1:u=c;_<i[s[r]]&&(r>0&&(n[l]=s[r-1]),s[r]=l)}}for(r=s.length,u=s[r-1];r-->0;)s[r]=u,u=n[u];return s}const zc=i=>i.__isTeleport,Ht=Symbol.for("v-fgt"),bo=Symbol.for("v-txt"),mi=Symbol.for("v-cmt"),io=Symbol.for("v-stc"),pn=[];let de=null;function Tt(i=!1){pn.push(de=i?null:[])}function Nc(){pn.pop(),de=pn[pn.length-1]||null}let yn=1;function ha(i){yn+=i}function Ll(i){return i.dynamicChildren=yn>0?de||Ii:null,Nc(),yn>0&&de&&de.push(i),i}function Ft(i,n,s,l,h,r){return Ll($(i,n,s,l,h,r,!0))}function Gi(i,n,s,l,h){return Ll(me(i,n,s,l,h,!0))}function Bc(i){return i?i.__v_isVNode===!0:!1}function sn(i,n){return i.type===n.type&&i.key===n.key}const wo="__vInternal",xl=({key:i})=>i!=null?i:null,no=({ref:i,ref_key:n,ref_for:s})=>(typeof i=="number"&&(i=""+i),i!=null?It(i)||Gt(i)||it(i)?{i:se,r:i,k:n,f:!!s}:i:null);function $(i,n=null,s=null,l=0,h=null,r=i===Ht?0:1,u=!1,c=!1){const d={__v_isVNode:!0,__v_skip:!0,type:i,props:n,key:n&&xl(n),ref:n&&no(n),scopeId:rl,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:l,dynamicProps:h,dynamicChildren:null,appContext:null,ctx:se};return c?(Us(d,s),r&128&&i.normalize(d)):s&&(d.shapeFlag|=It(s)?8:16),yn>0&&!u&&de&&(d.patchFlag>0||r&6)&&d.patchFlag!==32&&de.push(d),d}const me=Zc;function Zc(i,n=null,s=null,l=0,h=null,r=!1){if((!i||i===ic)&&(i=mi),Bc(i)){const c=Zi(i,n,!0);return s&&Us(c,s),yn>0&&!r&&de&&(c.shapeFlag&6?de[de.indexOf(i)]=c:de.push(c)),c.patchFlag|=-2,c}if(Yc(i)&&(i=i.__vccOpts),n){n=Uc(n);let{class:c,style:d}=n;c&&!It(c)&&(n.class=Ts(c)),wt(d)&&(Xa(d)&&!q(d)&&(d=Bt({},d)),n.style=_i(d))}const u=It(i)?1:oc(i)?128:zc(i)?64:wt(i)?4:it(i)?2:0;return $(i,n,s,l,h,u,r,!0)}function Uc(i){return i?Xa(i)||wo in i?Bt({},i):i:null}function Zi(i,n,s=!1){const{props:l,ref:h,patchFlag:r,children:u}=i,c=n?Hc(l||{},n):l;return{__v_isVNode:!0,__v_skip:!0,type:i.type,props:c,key:c&&xl(c),ref:n&&n.ref?s&&h?q(h)?h.concat(no(n)):[h,no(n)]:no(n):h,scopeId:i.scopeId,slotScopeIds:i.slotScopeIds,children:u,target:i.target,targetAnchor:i.targetAnchor,staticCount:i.staticCount,shapeFlag:i.shapeFlag,patchFlag:n&&i.type!==Ht?r===-1?16:r|16:r,dynamicProps:i.dynamicProps,dynamicChildren:i.dynamicChildren,appContext:i.appContext,dirs:i.dirs,transition:i.transition,component:i.component,suspense:i.suspense,ssContent:i.ssContent&&Zi(i.ssContent),ssFallback:i.ssFallback&&Zi(i.ssFallback),el:i.el,anchor:i.anchor,ctx:i.ctx,ce:i.ce}}function ys(i=" ",n=0){return me(bo,null,i,n)}function Fc(i,n){const s=me(io,null,i);return s.staticCount=n,s}function Pl(i="",n=!1){return n?(Tt(),Gi(mi,null,i)):me(mi,null,i)}function xe(i){return i==null||typeof i=="boolean"?me(mi):q(i)?me(Ht,null,i.slice()):typeof i=="object"?je(i):me(bo,null,String(i))}function je(i){return i.el===null&&i.patchFlag!==-1||i.memo?i:Zi(i)}function Us(i,n){let s=0;const{shapeFlag:l}=i;if(n==null)n=null;else if(q(n))s=16;else if(typeof n=="object")if(l&65){const h=n.default;h&&(h._c&&(h._d=!1),Us(i,h()),h._c&&(h._d=!0));return}else{s=32;const h=n._;!h&&!(wo in n)?n._ctx=se:h===3&&se&&(se.slots._===1?n._=1:(n._=2,i.patchFlag|=1024))}else it(n)?(n={default:n,_ctx:se},s=32):(n=String(n),l&64?(s=16,n=[ys(n)]):s=8);i.children=n,i.shapeFlag|=s}function Hc(...i){const n={};for(let s=0;s<i.length;s++){const l=i[s];for(const h in l)if(h==="class")n.class!==l.class&&(n.class=Ts([n.class,l.class]));else if(h==="style")n.style=_i([n.style,l.style]);else if(co(h)){const r=n[h],u=l[h];u&&r!==u&&!(q(r)&&r.includes(u))&&(n[h]=r?[].concat(r,u):u)}else h!==""&&(n[h]=l[h])}return n}function Le(i,n,s,l=null){_e(i,n,7,[s,l])}const Vc=_l();let jc=0;function Gc(i,n,s){const l=i.type,h=(n?n.appContext:i.appContext)||Vc,r={uid:jc++,vnode:i,type:l,parent:n,appContext:h,root:null,next:null,subTree:null,effect:null,update:null,scope:new ph(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(h.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:gl(l,h),emitsOptions:sl(l,h),emit:null,emitted:null,propsDefaults:bt,inheritAttrs:l.inheritAttrs,ctx:bt,data:bt,props:bt,attrs:bt,slots:bt,refs:bt,setupState:bt,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=n?n.root:r,r.emit=Xh.bind(null,r),i.ce&&i.ce(r),r}let Nt=null,Fs,Oi,ca="__VUE_INSTANCE_SETTERS__";(Oi=ls()[ca])||(Oi=ls()[ca]=[]),Oi.push(i=>Nt=i),Fs=i=>{Oi.length>1?Oi.forEach(n=>n(i)):Oi[0](i)};const Ui=i=>{Fs(i),i.scope.on()},di=()=>{Nt&&Nt.scope.off(),Fs(null)};function Cl(i){return i.vnode.shapeFlag&4}let bn=!1;function Wc(i,n=!1){bn=n;const{props:s,children:l}=i.vnode,h=Cl(i);Tc(i,s,h,n),Oc(i,l);const r=h?Kc(i,n):void 0;return bn=!1,r}function Kc(i,n){const s=i.type;i.accessCache=Object.create(null),i.proxy=Ya(new Proxy(i.ctx,vc));const{setup:l}=s;if(l){const h=i.setupContext=l.length>1?qc(i):null;Ui(i),Vi();const r=$e(l,i,0,[i.props,h]);if(ji(),di(),Ra(r)){if(r.then(di,di),n)return r.then(u=>{fa(i,u,n)}).catch(u=>{mo(u,i,0)});i.asyncDep=r}else fa(i,r,n)}else Ml(i,n)}function fa(i,n,s){it(n)?i.type.__ssrInlineRender?i.ssrRender=n:i.render=n:wt(n)&&(i.setupState=tl(n)),Ml(i,s)}let da;function Ml(i,n,s){const l=i.type;if(!i.render){if(!n&&da&&!l.render){const h=l.template||Bs(i).template;if(h){const{isCustomElement:r,compilerOptions:u}=i.appContext.config,{delimiters:c,compilerOptions:d}=l,_=Bt(Bt({isCustomElement:r,delimiters:c},u),d);l.render=da(h,_)}}i.render=l.render||pe}{Ui(i),Vi();try{yc(i)}finally{ji(),di()}}}function $c(i){return i.attrsProxy||(i.attrsProxy=new Proxy(i.attrs,{get(n,s){return Jt(i,"get","$attrs"),n[s]}}))}function qc(i){const n=s=>{i.exposed=s||{}};return{get attrs(){return $c(i)},slots:i.slots,emit:i.emit,expose:n}}function Lo(i){if(i.exposed)return i.exposeProxy||(i.exposeProxy=new Proxy(tl(Ya(i.exposed)),{get(n,s){if(s in n)return n[s];if(s in dn)return dn[s](i)},has(n,s){return s in n||s in dn}}))}function Xc(i,n=!0){return it(i)?i.displayName||i.name:i.name||n&&i.__name}function Yc(i){return it(i)&&"__vccOpts"in i}const zi=(i,n)=>Vh(i,n,bn),Jc=Symbol.for("v-scx"),Qc=()=>eo(Jc),tf="3.3.8",ef="http://www.w3.org/2000/svg",li=typeof document<"u"?document:null,pa=li&&li.createElement("template"),nf={insert:(i,n,s)=>{n.insertBefore(i,s||null)},remove:i=>{const n=i.parentNode;n&&n.removeChild(i)},createElement:(i,n,s,l)=>{const h=n?li.createElementNS(ef,i):li.createElement(i,s?{is:s}:void 0);return i==="select"&&l&&l.multiple!=null&&h.setAttribute("multiple",l.multiple),h},createText:i=>li.createTextNode(i),createComment:i=>li.createComment(i),setText:(i,n)=>{i.nodeValue=n},setElementText:(i,n)=>{i.textContent=n},parentNode:i=>i.parentNode,nextSibling:i=>i.nextSibling,querySelector:i=>li.querySelector(i),setScopeId(i,n){i.setAttribute(n,"")},insertStaticContent(i,n,s,l,h,r){const u=s?s.previousSibling:n.lastChild;if(h&&(h===r||h.nextSibling))for(;n.insertBefore(h.cloneNode(!0),s),!(h===r||!(h=h.nextSibling)););else{pa.innerHTML=l?`<svg>${i}</svg>`:i;const c=pa.content;if(l){const d=c.firstChild;for(;d.firstChild;)c.appendChild(d.firstChild);c.removeChild(d)}n.insertBefore(c,s)}return[u?u.nextSibling:n.firstChild,s?s.previousSibling:n.lastChild]}},of=Symbol("_vtc");function sf(i,n,s){const l=i[of];l&&(n=(n?[n,...l]:[...l]).join(" ")),n==null?i.removeAttribute("class"):s?i.setAttribute("class",n):i.className=n}const Hs=Symbol("_vod"),rf={beforeMount(i,{value:n},{transition:s}){i[Hs]=i.style.display==="none"?"":i.style.display,s&&n?s.beforeEnter(i):rn(i,n)},mounted(i,{value:n},{transition:s}){s&&n&&s.enter(i)},updated(i,{value:n,oldValue:s},{transition:l}){!n!=!s&&(l?n?(l.beforeEnter(i),rn(i,!0),l.enter(i)):l.leave(i,()=>{rn(i,!1)}):rn(i,n))},beforeUnmount(i,{value:n}){rn(i,n)}};function rn(i,n){i.style.display=n?i[Hs]:"none"}function af(i,n,s){const l=i.style,h=It(s);if(s&&!h){if(n&&!It(n))for(const r in n)s[r]==null&&bs(l,r,"");for(const r in s)bs(l,r,s[r])}else{const r=l.display;h?n!==s&&(l.cssText=s):n&&i.removeAttribute("style"),Hs in i&&(l.display=r)}}const _a=/\s*!important$/;function bs(i,n,s){if(q(s))s.forEach(l=>bs(i,n,l));else if(s==null&&(s=""),n.startsWith("--"))i.setProperty(n,s);else{const l=lf(i,n);_a.test(s)?i.setProperty(gi(l),s.replace(_a,""),"important"):i[l]=s}}const ma=["Webkit","Moz","ms"],is={};function lf(i,n){const s=is[n];if(s)return s;let l=Ce(n);if(l!=="filter"&&l in i)return is[n]=l;l=po(l);for(let h=0;h<ma.length;h++){const r=ma[h]+l;if(r in i)return is[n]=r}return n}const ga="http://www.w3.org/1999/xlink";function uf(i,n,s,l,h){if(l&&n.startsWith("xlink:"))s==null?i.removeAttributeNS(ga,n.slice(6,n.length)):i.setAttributeNS(ga,n,s);else{const r=fh(n);s==null||r&&!Na(s)?i.removeAttribute(n):i.setAttribute(n,r?"":s)}}function hf(i,n,s,l,h,r,u){if(n==="innerHTML"||n==="textContent"){l&&u(l,h,r),i[n]=s==null?"":s;return}const c=i.tagName;if(n==="value"&&c!=="PROGRESS"&&!c.includes("-")){i._value=s;const _=c==="OPTION"?i.getAttribute("value"):i.value,g=s==null?"":s;_!==g&&(i.value=g),s==null&&i.removeAttribute(n);return}let d=!1;if(s===""||s==null){const _=typeof i[n];_==="boolean"?s=Na(s):s==null&&_==="string"?(s="",d=!0):_==="number"&&(s=0,d=!0)}try{i[n]=s}catch{}d&&i.removeAttribute(n)}function We(i,n,s,l){i.addEventListener(n,s,l)}function cf(i,n,s,l){i.removeEventListener(n,s,l)}const va=Symbol("_vei");function ff(i,n,s,l,h=null){const r=i[va]||(i[va]={}),u=r[n];if(l&&u)u.value=l;else{const[c,d]=df(n);if(l){const _=r[n]=mf(l,h);We(i,c,_,d)}else u&&(cf(i,c,u,d),r[n]=void 0)}}const ya=/(?:Once|Passive|Capture)$/;function df(i){let n;if(ya.test(i)){n={};let l;for(;l=i.match(ya);)i=i.slice(0,i.length-l[0].length),n[l[0].toLowerCase()]=!0}return[i[2]===":"?i.slice(3):gi(i.slice(2)),n]}let ns=0;const pf=Promise.resolve(),_f=()=>ns||(pf.then(()=>ns=0),ns=Date.now());function mf(i,n){const s=l=>{if(!l._vts)l._vts=Date.now();else if(l._vts<=s.attached)return;_e(gf(l,s.value),n,5,[l])};return s.value=i,s.attached=_f(),s}function gf(i,n){if(q(n)){const s=i.stopImmediatePropagation;return i.stopImmediatePropagation=()=>{s.call(i),i._stopped=!0},n.map(l=>h=>!h._stopped&&l&&l(h))}else return n}const ba=/^on[a-z]/,vf=(i,n,s,l,h=!1,r,u,c,d)=>{n==="class"?sf(i,l,h):n==="style"?af(i,s,l):co(n)?Ps(n)||ff(i,n,s,l,u):(n[0]==="."?(n=n.slice(1),!0):n[0]==="^"?(n=n.slice(1),!1):yf(i,n,l,h))?hf(i,n,l,r,u,c,d):(n==="true-value"?i._trueValue=l:n==="false-value"&&(i._falseValue=l),uf(i,n,l,h))};function yf(i,n,s,l){return l?!!(n==="innerHTML"||n==="textContent"||n in i&&ba.test(n)&&it(s)):n==="spellcheck"||n==="draggable"||n==="translate"||n==="form"||n==="list"&&i.tagName==="INPUT"||n==="type"&&i.tagName==="TEXTAREA"||ba.test(n)&&It(s)?!1:n in i}const Fi=i=>{const n=i.props["onUpdate:modelValue"]||!1;return q(n)?s=>Qn(n,s):n};function bf(i){i.target.composing=!0}function wa(i){const n=i.target;n.composing&&(n.composing=!1,n.dispatchEvent(new Event("input")))}const De=Symbol("_assign"),La={created(i,{modifiers:{lazy:n,trim:s,number:l}},h){i[De]=Fi(h);const r=l||h.props&&h.props.type==="number";We(i,n?"change":"input",u=>{if(u.target.composing)return;let c=i.value;s&&(c=c.trim()),r&&(c=so(c)),i[De](c)}),s&&We(i,"change",()=>{i.value=i.value.trim()}),n||(We(i,"compositionstart",bf),We(i,"compositionend",wa),We(i,"change",wa))},mounted(i,{value:n}){i.value=n==null?"":n},beforeUpdate(i,{value:n,modifiers:{lazy:s,trim:l,number:h}},r){if(i[De]=Fi(r),i.composing||document.activeElement===i&&i.type!=="range"&&(s||l&&i.value.trim()===n||(h||i.type==="number")&&so(i.value)===n))return;const u=n==null?"":n;i.value!==u&&(i.value=u)}},os={deep:!0,created(i,n,s){i[De]=Fi(s),We(i,"change",()=>{const l=i._modelValue,h=wn(i),r=i.checked,u=i[De];if(q(l)){const c=Ss(l,h),d=c!==-1;if(r&&!d)u(l.concat(h));else if(!r&&d){const _=[...l];_.splice(c,1),u(_)}}else if(Hi(l)){const c=new Set(l);r?c.add(h):c.delete(h),u(c)}else u(Tl(i,r))})},mounted:xa,beforeUpdate(i,n,s){i[De]=Fi(s),xa(i,n,s)}};function xa(i,{value:n,oldValue:s},l){i._modelValue=n,q(n)?i.checked=Ss(n,l.props.value)>-1:Hi(n)?i.checked=n.has(l.props.value):n!==s&&(i.checked=xn(n,Tl(i,!0)))}const an={deep:!0,created(i,{value:n,modifiers:{number:s}},l){const h=Hi(n);We(i,"change",()=>{const r=Array.prototype.filter.call(i.options,u=>u.selected).map(u=>s?so(wn(u)):wn(u));i[De](i.multiple?h?new Set(r):r:r[0])}),i[De]=Fi(l)},mounted(i,{value:n}){Pa(i,n)},beforeUpdate(i,n,s){i[De]=Fi(s)},updated(i,{value:n}){Pa(i,n)}};function Pa(i,n){const s=i.multiple;if(!(s&&!q(n)&&!Hi(n))){for(let l=0,h=i.options.length;l<h;l++){const r=i.options[l],u=wn(r);if(s)q(n)?r.selected=Ss(n,u)>-1:r.selected=n.has(u);else if(xn(wn(r),n)){i.selectedIndex!==l&&(i.selectedIndex=l);return}}!s&&i.selectedIndex!==-1&&(i.selectedIndex=-1)}}function wn(i){return"_value"in i?i._value:i.value}function Tl(i,n){const s=n?"_trueValue":"_falseValue";return s in i?i[s]:n}const wf={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Ca=(i,n)=>s=>{if(!("key"in s))return;const l=gi(s.key);if(n.some(h=>h===l||wf[h]===l))return i(s)},Lf=Bt({patchProp:vf},nf);let Ma;function xf(){return Ma||(Ma=Ic(Lf))}const xo=(...i)=>{const n=xf().createApp(...i),{mount:s}=n;return n.mount=l=>{const h=Pf(l);if(!h)return;const r=n._component;!it(r)&&!r.render&&!r.template&&(r.template=h.innerHTML),h.innerHTML="";const u=s(h,!1,h instanceof SVGElement);return h instanceof Element&&(h.removeAttribute("v-cloak"),h.setAttribute("data-v-app","")),u},n};function Pf(i){return It(i)?document.querySelector(i):i}/*! *****************************************************************************
3Copyright (c) Microsoft Corporation.
4
5Permission to use, copy, modify, and/or distribute this software for any
6purpose with or without fee is hereby granted.
7
8THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14PERFORMANCE OF THIS SOFTWARE.
15***************************************************************************** */function Cf(i,n,s,l){function h(r){return r instanceof s?r:new s(function(u){u(r)})}
vendor: 4,158 bytes, line 15
15return new(s||(s=Promise))(function(r,u){function c(g){try{_(l.next(g))}catch(m){u(m)}}function d(g){try{_(l.throw(g))}catch(m){u(m)}}function _(g){g.done?r(g.value):h(g.value).then(c,d)}_((l=l.apply(i,n||[])).next())})}var Mf=function i(n,s){if(n===s)return!0;if(n&&s&&typeof n=="object"&&typeof s=="object"){if(n.constructor!==s.constructor)return!1;var l,h,r;if(Array.isArray(n)){if(l=n.length,l!=s.length)return!1;for(h=l;h--!==0;)if(!i(n[h],s[h]))return!1;return!0}if(n.constructor===RegExp)return n.source===s.source&&n.flags===s.flags;if(n.valueOf!==Object.prototype.valueOf)return n.valueOf()===s.valueOf();if(n.toString!==Object.prototype.toString)return n.toString()===s.toString();if(r=Object.keys(n),l=r.length,l!==Object.keys(s).length)return!1;for(h=l;h--!==0;)if(!Object.prototype.hasOwnProperty.call(s,r[h]))return!1;for(h=l;h--!==0;){var u=r[h];if(!i(n[u],s[u]))return!1}return!0}return n!==n&&s!==s};const Ta="__googleMapsScriptId";var ki;(function(i){i[i.INITIALIZED=0]="INITIALIZED",i[i.LOADING=1]="LOADING",i[i.SUCCESS=2]="SUCCESS",i[i.FAILURE=3]="FAILURE"})(ki||(ki={}));class ui{constructor({apiKey:n,authReferrerPolicy:s,channel:l,client:h,id:r=Ta,language:u,libraries:c=[],mapIds:d,nonce:_,region:g,retries:m=3,url:b="https://maps.googleapis.com/maps/api/js",version:w}){if(this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=n,this.authReferrerPolicy=s,this.channel=l,this.client=h,this.id=r||Ta,this.language=u,this.libraries=c,this.mapIds=d,this.nonce=_,this.region=g,this.retries=m,this.url=b,this.version=w,ui.instance){if(!Mf(this.options,ui.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(ui.instance.options)}`);return ui.instance}ui.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?ki.FAILURE:this.done?ki.SUCCESS:this.loading?ki.LOADING:ki.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let n=this.url;return n+="?callback=__googleMapsCallback",this.apiKey&&(n+=`&key=${this.apiKey}`),this.channel&&(n+=`&channel=${this.channel}`),this.client&&(n+=`&client=${this.client}`),this.libraries.length>0&&(n+=`&libraries=${this.libraries.join(",")}`),this.language&&(n+=`&language=${this.language}`),this.region&&(n+=`&region=${this.region}`),this.version&&(n+=`&v=${this.version}`),this.mapIds&&(n+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(n+=`&auth_referrer_policy=${this.authReferrerPolicy}`),n}deleteScript(){const n=document.getElementById(this.id);n&&n.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise((n,s)=>{this.loadCallback(l=>{l?s(l.error):n(window.google)})})}importLibrary(n){return this.execute(),google.maps.importLibrary(n)}loadCallback(n){this.callbacks.push(n),this.execute()}setScript(){var n,s;if(document.getElementById(this.id)){this.callback();return}const l={key:this.apiKey,channel:this.channel,client:this.client,libraries:this.libraries.length&&this.libraries,v:this.version,mapIds:this.mapIds,language:this.language,region:this.region,authReferrerPolicy:this.authReferrerPolicy};Object.keys(l).forEach(r=>!l[r]&&delete l[r]),!((s=(n=window==null?void 0:window.google)===null||n===void 0?void 0:n.maps)===null||s===void 0)&&s.importLibrary||(r=>{let u,c,d,_="The Google Maps JavaScript API",g="google",m="importLibrary",b="__ib__",w=document,M=window;M=M[g]||(M[g]={});const C=M.maps||(M.maps={}),B=new Set,R=new URLSearchParams,j=()=>u||(u=new Promise((A,Z)=>Cf(this,void 0,void 0,function*(){var Q;yield c=w.createElement("script"),c.id=this.id,R.set("libraries",[...B]+"");for(d in r)R.set(d.replace(/[A-Z]/g,st=>"_"+st[0].toLowerCase()),r[d]);R.set("callback",g+".maps."+b),c.src=this.url+"?"+R,C[b]=A,c.onerror=()=>u=Z(Error(_+" could not load.")),c.nonce=this.nonce||((Q=w.querySelector("script[n
15once]"))===null||Q===void 0?void 0:Q.nonce)||"",w.head.append(c)})));C[m]?console.warn(_+" only loads once. Ignoring:",r):C[m]=(A,...Z)=>B.add(A)&&j().then(()=>C[m](A,...Z))})(l);const h=this.libraries.map(r=>this.importLibrary(r));h.length||h.push(this.importLibrary("core")),Promise.all(h).then(()=>this.callback(),r=>{const u=new ErrorEvent("error",{error:r});this.loadErrorCallback(u)})}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(n){if(this.errors.push(n),this.errors.length<=this.retries){const s=this.errors.length*Math.pow(2,this.errors.length);console.error(`Failed to load Google Maps script, retrying in ${s} ms.`),setTimeout(()=>{this.deleteScript(),this.setScript()},s)}else this.onerrorEvent=n,this.callback()}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach(n=>{n(this.onerrorEvent)}),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version){console.warn("Google Maps already loaded outside @googlemaps/js-api-loader.This may result in undesirable behavior as options and script parameters may not match."),this.callback();return}this.loading||(this.loading=!0,this.setScript())}}}var Sl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ws=function i(n,s){if(n===s)return!0;if(n&&s&&typeof n=="object"&&typeof s=="object"){if(n.constructor!==s.constructor)return!1;var l,h,r;if(Array.isArray(n)){if(l=n.length,l!=s.length)return!1;for(h=l;h--!==0;)if(!i(n[h],s[h]))return!1;return!0}if(n.constructor===RegExp)return n.source===s.source&&n.flags===s.flags;if(n.valueOf!==Object.prototype.valueOf)return n.valueOf()===s.valueOf();if(n.toString!==Object.prototype.toString)return n.toString()===s.toString();if(r=Object.keys(n),l=r.length,l!==Object.keys(s).length)return!1;for(h=l;h--!==0;)if(!Object.prototype.hasOwnProperty.call(s,r[h]))return!1;for(h=l;h--!==0;){var u=r[h];if(!i(n[u],s[u]))return!1}return!0}return n!==n&&s!==s};const Sa=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],ss=1,ln=8;class Vs{static from(n){if(!(n instanceof ArrayBuffer))throw new Error("Data must be an instance of ArrayBuffer.");const[s,l]=new Uint8Array(n,0,2);if(s!==219)throw new Error("Data does not appear to be in a KDBush format.");const h=l>>4;if(h!==ss)throw new Error(`Got v${h} data when expected v${ss}.`);const r=Sa[l&15];if(!r)throw new Error("Unrecognized array type.");const[u]=new Uint16Array(n,2,1),[c]=new Uint32Array(n,4,1);return new Vs(c,u,r,n)}constructor(n,s=64,l=Float64Array,h){if(isNaN(n)||n<0)throw new Error(`Unpexpected numItems value: ${n}.`);this.numItems=+n,this.nodeSize=Math.min(Math.max(+s,2),65535),this.ArrayType=l,this.IndexArrayType=n<65536?Uint16Array:Uint32Array;const r=Sa.indexOf(this.ArrayType),u=n*2*this.ArrayType.BYTES_PER_ELEMENT,c=n*this.IndexArrayType.BYTES_PER_ELEMENT,d=(8-c%8)%8;if(r<0)throw new Error(`Unexpected typed array class: ${l}.`);h&&h instanceof ArrayBuffer?(this.data=h,this.ids=new this.IndexArrayType(this.data,ln,n),this.coords=new this.ArrayType(this.data,ln+c+d,n*2),this._pos=n*2,this._finished=!0):(this.data=new ArrayBuffer(ln+u+c+d),this.ids=new this.IndexArrayType(this.data,ln,n),this.coords=new this.ArrayType(this.data,ln+c+d,n*2),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,(ss<<4)+r]),new Uint16Array(this.data,2,1)[0]=s,new Uint32Array(this.data,4,1)[0]=n)}add(n,s){const l=this._pos>>1;return this.ids[l]=l,this.coords[this._pos++]=n,this.coords[this._pos++]=s,l}finish(){const n=this._pos>>1;if(n!==this.numItems)throw new Error(`Added ${n} items when expected ${this.numItems}.`);return Ls(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(n,s,l,h){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:r,coords:u,nodeSize:c}=this,d=[0,r.length-1,0],_=[];for(;d.length;){const g=d.pop()||0,m=d.pop()||0,b=d.pop()||0;if(m-b<=c){for(let B=b;B<=m;B++){const R=u[2*B],j=u[2*B+1];R>=n&&R<=l&&j>=s&&j<=h&&_.push(r[B])}continue}const w=b+m>>1,M=u[2*w],C=u[2*w+1];M>=n&&M<=l&&C>=s&&C<=h&&_.push(r[w]),(g===0?n<=M:s<=C)&&(d.push(b),d.push(w-1),d.push(1-g)),(g===0?l>=M:h>=C)&&(d.push(w+1),d.push(m),d.push(1-g))}return _}within(n,s,l){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:h,coords:r,nodeSize:u}=this,c=[0,h.length-1,0],d=[],_=l*l;for(;c.length;){const g=c.pop()||0,m=c.pop()||0,b=c.pop()||0;if(m-b<=u){for(let B=b;B<=m;B++)Ea(r[2*B],r[2*B+1],n,s)<=_&&d.push(h[B]);continue}const w=b+m>>
vendor: 4,319 bytes, line 15
151,M=r[2*w],C=r[2*w+1];Ea(M,C,n,s)<=_&&d.push(h[w]),(g===0?n-l<=M:s-l<=C)&&(c.push(b),c.push(w-1),c.push(1-g)),(g===0?n+l>=M:s+l>=C)&&(c.push(w+1),c.push(m),c.push(1-g))}return d}}function Ls(i,n,s,l,h,r){if(h-l<=s)return;const u=l+h>>1;El(i,n,u,l,h,r),Ls(i,n,s,l,u-1,1-r),Ls(i,n,s,u+1,h,1-r)}function El(i,n,s,l,h,r){for(;h>l;){if(h-l>600){const _=h-l+1,g=s-l+1,m=Math.log(_),b=.5*Math.exp(2*m/3),w=.5*Math.sqrt(m*b*(_-b)/_)*(g-_/2<0?-1:1),M=Math.max(l,Math.floor(s-g*b/_+w)),C=Math.min(h,Math.floor(s+(_-g)*b/_+w));El(i,n,s,M,C,r)}const u=n[2*s+r];let c=l,d=h;for(un(i,n,l,s),n[2*h+r]>u&&un(i,n,l,h);c<d;){for(un(i,n,c,d),c++,d--;n[2*c+r]<u;)c++;for(;n[2*d+r]>u;)d--}n[2*l+r]===u?un(i,n,l,d):(d++,un(i,n,d,h)),d<=s&&(l=d+1),s<=d&&(h=d-1)}}function un(i,n,s,l){rs(i,s,l),rs(n,2*s,2*l),rs(n,2*s+1,2*l+1)}function rs(i,n,s){const l=i[n];i[n]=i[s],i[s]=l}function Ea(i,n,s,l){const h=i-s,r=n-l;return h*h+r*r}const Tf={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:i=>i},Oa=Math.fround||(i=>n=>(i[0]=+n,i[0]))(new Float32Array(1)),ri=2,Ge=3,as=4,Ve=5,Ol=6;class Sf{constructor(n){this.options=Object.assign(Object.create(Tf),n),this.trees=new Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[]}load(n){const{log:s,minZoom:l,maxZoom:h}=this.options;s&&console.time("total time");const r=`prepare ${n.length} points`;s&&console.time(r),this.points=n;const u=[];for(let d=0;d<n.length;d++){const _=n[d];if(!_.geometry)continue;const[g,m]=_.geometry.coordinates,b=Oa(qn(g)),w=Oa(Xn(m));u.push(b,w,1/0,d,-1,1),this.options.reduce&&u.push(0)}let c=this.trees[h+1]=this._createTree(u);s&&console.timeEnd(r);for(let d=h;d>=l;d--){const _=+Date.now();c=this.trees[d]=this._createTree(this._cluster(c,d)),s&&console.log("z%d: %d clusters in %dms",d,c.numItems,+Date.now()-_)}return s&&console.timeEnd("total time"),this}getClusters(n,s){let l=((n[0]+180)%360+360)%360-180;const h=Math.max(-90,Math.min(90,n[1]));let r=n[2]===180?180:((n[2]+180)%360+360)%360-180;const u=Math.max(-90,Math.min(90,n[3]));if(n[2]-n[0]>=360)l=-180,r=180;else if(l>r){const m=this.getClusters([l,h,180,u],s),b=this.getClusters([-180,h,r,u],s);return m.concat(b)}const c=this.trees[this._limitZoom(s)],d=c.range(qn(l),Xn(u),qn(r),Xn(h)),_=c.data,g=[];for(const m of d){const b=this.stride*m;g.push(_[b+Ve]>1?ka(_,b,this.clusterProps):this.points[_[b+Ge]])}return g}getChildren(n){const s=this._getOriginId(n),l=this._getOriginZoom(n),h="No cluster with the specified id.",r=this.trees[l];if(!r)throw new Error(h);const u=r.data;if(s*this.stride>=u.length)throw new Error(h);const c=this.options.radius/(this.options.extent*Math.pow(2,l-1)),d=u[s*this.stride],_=u[s*this.stride+1],g=r.within(d,_,c),m=[];for(const b of g){const w=b*this.stride;u[w+as]===n&&m.push(u[w+Ve]>1?ka(u,w,this.clusterProps):this.points[u[w+Ge]])}if(m.length===0)throw new Error(h);return m}getLeaves(n,s,l){s=s||10,l=l||0;const h=[];return this._appendLeaves(h,n,s,l,0),h}getTile(n,s,l){const h=this.trees[this._limitZoom(n)],r=Math.pow(2,n),{extent:u,radius:c}=this.options,d=c/u,_=(l-d)/r,g=(l+1+d)/r,m={features:[]};return this._addTileFeatures(h.range((s-d)/r,_,(s+1+d)/r,g),h.data,s,l,r,m),s===0&&this._addTileFeatures(h.range(1-d/r,_,1,g),h.data,r,l,r,m),s===r-1&&this._addTileFeatures(h.range(0,_,d/r,g),h.data,-1,l,r,m),m.features.length?m:null}getClusterExpansionZoom(n){let s=this._getOriginZoom(n)-1;for(;s<=this.options.maxZoom;){const l=this.getChildren(n);if(s++,l.length!==1)break;n=l[0].properties.cluster_id}return s}_appendLeaves(n,s,l,h,r){const u=this.getChildren(s);for(const c of u){const d=c.properties;if(d&&d.cluster?r+d.point_count<=h?r+=d.point_count:r=this._appendLeaves(n,d.cluster_id,l,h,r):r<h?r++:n.push(c),n.length===l)break}return r}_createTree(n){const s=new Vs(n.length/this.stride|0,this.options.nodeSize,Float32Array);for(let l=0;l<n.length;l+=this.stride)s.add(n[l],n[l+1]);return s.finish(),s.data=n,s}_addTileFeatures(n,s,l,h,r,u){for(const c of n){const d=c*this.stride,_=s[d+Ve]>1;let g,m,b;if(_)g=kl(s,d,this.clusterProps),m=s[d],b=s[d+1];else{const C=this.points[s[d+Ge]];g=C.properties;const[B,R]=C.geometry.coordinates;m=qn(B),b=Xn(R)}const w={type:1,geometry:[[Math.round(this.options.extent*(m*r-l)),Math.round(this.options.extent*(b*r-h)
15)]],tags:g};let M;_||this.options.generateId?M=s[d+Ge]:M=this.points[s[d+Ge]].id,M!==void 0&&(w.id=M),u.features.push(w)}}_limitZoom(n){return Math.max(this.options.minZoom,Math.min(Math.floor(+n),this.options.maxZoom+1))}_cluster(n,s){const{radius:l,extent:h,reduce:r,minPoints:u}=this.options,c=l/(h*Math.pow(2,s)),d=n.data,_=[],g=this.stride;for(let m=0;m<d.length;m+=g){if(d[m+ri]<=s)continue;d[m+ri]=s;const b=d[m],w=d[m+1],M=n.within(d[m],d[m+1],c),C=d[m+Ve];let B=C;for(const R of M){const j=R*g;d[j+ri]>s&&(B+=d[j+Ve])}if(B>C&&B>=u){let R=b*C,j=w*C,A,Z=-1;const Q=((m/g|0)<<5)+(s+1)+this.points.length;for(const st of M){const Lt=st*g;if(d[Lt+ri]<=s)continue;d[Lt+ri]=s;const rt=d[Lt+Ve];R+=d[Lt]*rt,j+=d[Lt+1]*rt,d[Lt+as]=Q,r&&(A||(A=this._map(d,m,!0),Z=this.clusterProps.length,this.clusterProps.push(A)),r(A,this._map(d,Lt)))}d[m+as]=Q,_.push(R/B,j/B,1/0,Q,-1,B),r&&_.push(Z)}else{for(let R=0;R<g;R++)_.push(d[m+R]);if(B>1)for(const R of M){const j=R*g;if(!(d[j+ri]<=s)){d[j+ri]=s;for(let A=0;A<g;A++)_.push(d[j+A])}}}}return _}_getOriginId(n){return n-this.points.length>>5}_getOriginZoom(n){return(n-this.points.length)%32}_map(n,s,l){if(n[s+Ve]>1){const u=this.clusterProps[n[s+Ol]];return l?Object.assign({},u):u}const h=this.points[n[s+Ge]].properties,r=this.options.map(h);return l&&r===h?Object.assign({},r):r}}function ka(i,n,s){return{type:"Feature",id:i[n+Ge],properties:kl(i,n,s),geometry:{type:"Point",coordinates:[Ef(i[n]),Of(i[n+1])]}}}function kl(i,n,s){const l=i[n+Ve],h=l>=1e4?`${Math.round(l/1e3)}k`:l>=1e3?`${Math.round(l/100)/10}k`:l,r=i[n+Ol],u=r===-1?{}:Object.assign({},s[r]);return Object.assign(u,{cluster:!0,cluster_id:i[n+Ge],point_count:l,point_count_abbreviated:h})}function qn(i){return i/360+.5}function Xn(i){const n=Math.sin(i*Math.PI/180),s=.5-.25*Math.log((1+n)/(1-n))/Math.PI;return s<0?0:s>1?1:s}function Ef(i){return(i-.5)*360}function Of(i){const n=(180-i*360)*Math.PI/180;return 360*Math.atan(Math.exp(n))/Math.PI-90}/*! *****************************************************************************
16Copyright (c) Microsoft Corporation.
17
18Permission to use, copy, modify, and/or distribute this software for any
19purpose with or without fee is hereby granted.
20
21THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
22REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
23AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
24INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
25LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
26OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
27PERFORMANCE OF THIS SOFTWARE.
28***************************************************************************** */function js(i,n){var s={};for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&n.indexOf(l)<0&&(s[l]=i[l]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,l=Object.getOwnPropertySymbols(i);h<l.length;h++)n.indexOf(l[h])<0&&Object.prototype.propertyIsEnumerable.call(i,l[h])&&(s[l[h]]=i[l[h]]);return s}class Vt{static isAdvancedMarkerAvailable(n){return google.maps.marker&&n.getMapCapabilities().isAdvancedMarkersAvailable===!0}static isAdvancedMarker(n){return google.maps.marker&&n instanceof google.maps.marker.AdvancedMarkerElement}static setMap(n,s){this.isAdvancedMarker(n)?n.map=s:n.setMap(s)}static getPosition(n){if(this.isAdvancedMarker(n)){if(n.position){if(n.position instanceof google.maps.LatLng)return n.position;if(n.position.lat&&n.position.lng)return new google.maps.LatLng(n.position.lat,n.position.lng)}return new google.maps.LatLng(null)}return n.getPosition()}static getVisible(n){return this.isAdvancedMarker(n)?!0:n.getVisible()}}class ho{constructor({markers:n,position:s}){this.markers=n,s&&(s instanceof google.maps.LatLng?this._position=s:this._position=new google.maps.LatLng(s))}get bounds(){if(this.markers.length===0&&!this._position)return;const n=new google.maps.LatLngBounds(this._position,this._position);for(const s of this.markers)n.extend(Vt.getPosition(s));return n}get position(){return this._position||this.bounds.getCenter()}get count(){return this.markers.filter(n=>Vt.getVisible(n)).length}push(n){this.markers.push(n)}delete(){this.marker&&(Vt.setMap(this.marker,null),this.marker=void 0),this.markers.length=0}}const Il=(i,n,s,l)=>{const h=Al(i.getBounds(),n,l);return s.filter(r=>h.contains(Vt.getPosition(r)))},Al=(i,n,s)=>{const{northEast:l,southWest:h}=If(i,n),r=Af({northEast:l,southWest:h},s);return Rf(r,n)},kf=(i,n)=>{const l=(n.lat-i.lat)*Math.PI/180,h=(n.lng-i.lng)*Math.PI/180,r=Math.sin(l/2),u=Math.sin(h/2),c=r*r+Math.cos(i.lat*Math.PI/180)*Math.cos(n.lat*Math.PI/180)*u*u;return 6371*(2*Math.atan2(Math.sqrt(c),Math.sqrt(1-c)))},If=(i,n)=>({northEast:n.fromLatLngToDivPixel(i.getNorthEast()),southWest:n.fromLatLngToDivPixel(i.getSouthWest
28())}),Af=({northEast:i,southWest:n},s)=>(i.x+=s,i.y-=s,n.x-=s,n.y+=s,{northEast:i,southWest:n}),Rf=({northEast:i,southWest:n},s)=>{const l=s.fromDivPixelToLatLng(n),h=s.fromDivPixelToLatLng(i);return new google.maps.LatLngBounds(l,h)};class Rl{constructor({maxZoom:n=16}){this.maxZoom=n}noop({markers:n}){return zf(n)}}class Df extends Rl{constructor(n){var{viewportPadding:s=60}=n,l=js(n,["viewportPadding"]);super(l),this.viewportPadding=60,this.viewportPadding=s}calculate({markers:n,map:s,mapCanvasProjection:l}){return s.getZoom()>=this.maxZoom?{clusters:this.noop({markers:n}),changed:!1}:{clusters:this.cluster({markers:Il(s,l,n,this.viewportPadding),map:s,mapCanvasProjection:l})}}}const zf=i=>i.map(s=>new ho({position:Vt.getPosition(s),markers:[s]}));class Nf extends Df{constructor(n){var{maxDistance:s=4e4,gridSize:l=40}=n,h=js(n,["maxDistance","gridSize"]);super(h),this.clusters=[],this.state={zoom:-1},this.maxDistance=s,this.gridSize=l}calculate({markers:n,map:s,mapCanvasProjection:l}){const h={zoom:s.getZoom()};let r=!1;return this.state.zoom>=this.maxZoom&&h.zoom>=this.maxZoom||(r=!ws(this.state,h)),this.state=h,s.getZoom()>=this.maxZoom?{clusters:this.noop({markers:n}),changed:r}:{clusters:this.cluster({markers:Il(s,l,n,this.viewportPadding),map:s,mapCanvasProjection:l})}}cluster({markers:n,map:s,mapCanvasProjection:l}){return this.clusters=[],n.forEach(h=>{this.addToClosestCluster(h,s,l)}),this.clusters}addToClosestCluster(n,s,l){let h=this.maxDistance,r=null;for(let u=0;
28u<this.clusters.length;u++){const c=this.clusters[u],d=kf(c.bounds.getCenter().toJSON(),Vt.getPosition(n).toJSON());d<h&&(h=d,r=c)}if(r&&Al(r.bounds,l,this.gridSize).contains(Vt.getPosition(n)))r.push(n);else{const u=new ho({markers:[n]});this.clusters.push(u)}}}class Bf extends Rl{constructor(n){var{maxZoom:s,radius:l=60}=n,h=js(n,["maxZoom","radius"]);super({maxZoom:s}),this.state={zoom:-1},this.superCluster=new Sf(Object.assign({maxZoom:this.maxZoom,radius:l},h))}calculate(n){let s=!1;const l={zoom:n.map.getZoom()};if(!ws(n.markers,this.markers)){s=!0,this.markers=[...n.markers];const h=this.markers.map(r=>{const u=Vt.getPosition(r);return{type:"Feature",geometry:{type:"Point",coordinates:[u.lng(),u.lat()]},properties:{marker:r}}});this.superCluster.load(h)}return s||(this.state.zoom<=this.maxZoom||l.zoom<=this.maxZoom)&&(s=!ws(this.state,l)),this.state=l,s&&(this.clusters=this.cluster(n)),{clusters:this.clusters,changed:s}}cluster({map:n}){return this.superCluster.getClusters([-180,-90,180,90],Math.round(n.getZoom())).map(s=>this.transformCluster(s))}transformCluster({geometry:{coordinates:[n,s]},properties:l}){if(l.cluster)return new ho({markers:this.superCluster.getLeaves(l.cluster_id,1/0).map(r=>r.properties.marker),position:{lat:s,lng:n}});const h=l.marker;return new ho({markers:[h],position:Vt.getPosition(h)})}}class Zf{constructor(n,s){this.markers={sum:n.length};const l=s.map(r=>r.count),h=l.reduce((r,u)=>r+u,0);this.clusters={count:s.length,markers:{mean:h/s.length,sum:h,min:Math.min(...l),max:Math.max(...l)}}}}class Uf{render({count:n,position:s},l,h){const u=`<svg fill="${n>Math.max(10,l.clusters.markers.mean)?"#ff0000":"#0000ff"}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240" width="50" height="50">
29<circle cx="120" cy="120" opacity=".6" r="70" />
30<circle cx="120" cy="120" opacity=".3" r="90" />
31<circle cx="120" cy="120" opacity=".2" r="110" />
32<text x="50%" y="50%" style="fill:#fff" text-anchor="middle" font-size="50" dominant-baseline="middle" font-family="roboto,arial,sans-serif">${n}</text>
33</svg>`,c=`Cluster of ${n} markers`,d=Number(google.maps.Marker.MAX_ZINDEX)+n;if(Vt.isAdvancedMarkerAvailable(h)){const m=new DOMParser().parseFromString(u,"image/svg+xml").documentElement;m.setAttribute("transform","translate(0 25)");const b={map:h,position:s,zIndex:d,title:c,content:m};return new google.maps.marker.AdvancedMarkerElement(b)}const _={position:s,zIndex:d,title:c,icon:{url:`data:image/svg+xml;base64,${btoa(u)}`,anchor:new google.maps.Point(25,25)}};return new google.maps.Marker(_)}}function Ff(i,n){for(let s in n.prototype)i.prototype[s]=n.prototype[s]}class Gs{constructor(){Ff(Gs,google.maps.OverlayView)}}var _n;(function(i){i.CLUSTERING_BEGIN="clusteringbegin",i.CLUSTERING_END="clusteringend",i.CLUSTER_CLICK="click"})(_n||(_n={}));const Hf=(i,n,s)=>{s.fitBounds(n.bounds)};class Vf extends Gs{constructor({map:n,markers:s=[],algorithmOptions:l={},algorithm:h=new Bf(l),renderer:r=new Uf,onClusterClick:u=Hf}){super(),this.markers=[...s],this.clusters=[],this.algorithm=h,this.renderer=r,this.onClusterClick=u,n&&this.setMap(n)}addMarker(n,s){this.markers.includes(n)||(this.markers.push(n),s||this.render())}addMarkers(n,s){n.forEach(l=>{this.addMarker(l,!0)}),s||this.render()}removeMarker(n,s){const l=this.markers.indexOf(n);return l===-1?!1:(Vt.setMap(n,null),this.markers.splice(l,1),s||this.render(),!0)}removeMarkers(n,s){let l=!1;return n.forEach(h=>{l=this.removeMarker(h,!0)||l}),l&&!s&&this.render(),l}clearMarkers(n){this.markers.length=0,n||this.render()}render(){const n=this.getMap();if(n instanceof google.maps.Map&&n.getProjection()){google.maps.event.trigger(this,_n.CLUSTERING_BEGIN,this);const{clusters:s,changed:l}=this.algorithm.calculate({markers:this.markers,map:n,mapCanvasProjection:this.getProjection()});if(l||l==null){const h=new Set;for(const u of s)u.markers.length==1&&h.add(u.markers[0]);const r=[];for(const u of this.clusters)u.marker!=null&&(u.markers.length==1?h.has(u.marker)||Vt.setMap(u.marker,null):r.push(u.marker));this.clusters=s,this.renderClusters(),requestAnimationFrame(()=>r.forEach(u=>Vt.setMap(u,null)))}google.maps.event.trigger(this,_n.CLUSTERING_END,this)}}onAdd(){this.idleListener=this.getMap().addListener("idle",this.render.bind(this)),this.render()}onRemove(){google.maps.event.removeListener(this.idleListener),this.reset()}
33reset(){this.markers.forEach(n=>Vt.setMap(n,null)),this.clusters.forEach(n=>n.delete()),this.clusters=[]}renderClusters(){const n=new Zf(this.markers,this.clusters),s=this.getMap();this.clusters.forEach(l=>{l.markers.length===1?l.marker=l.markers[0]:(l.marker=this.renderer.render(l,n,s),l.markers.forEach(h=>Vt.setMap(h,null)),this.onClusterClick&&l.marker.addListener("click",h=>{google.maps.event.trigger(this,_n.CLUSTER_CLICK,l),this.onClusterClick(h,l,s)})),Vt.setMap(l.marker,s)})}}var ci=256,Dl=[],Ia=256,Yn;for(;ci--;)Dl[ci]=(ci+256).toString(16).substring(1);function zl(i){var n=0,s=i||11;if(!Yn||ci+s>Ia*2)for(Yn="",ci=0;n<Ia;n++)Yn+=Dl[Math.random()*256|0];return Yn.substring(ci,ci+++s)}var oe={exports:{}};/* @preserve
34 * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
35 * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade
36 */(function(i,n){(function(s,l){l(n)})(Sl,function(s){var l="1.9.4";function h(t){var e,o,a,f;for(o=1,a=arguments.length;o<a;o++){f=arguments[o];for(e in f)t[e]=f[e]}return t}var r=Object.create||function(){function t(){}return function(e){return t.prototype=e,new t}}();function u(t,e){var o=Array.prototype.slice;if(t.bind)return t.bind.apply(t,o.call(arguments,1));var a=o.call(arguments,2);return function(){return t.apply(e,a.length?a.concat(o.call(arguments)):arguments)}}var c=0;function d(t){return"_leaflet_id"in t||(t._leaflet_id=++c),t._leaflet_id}function _(t,e,o){var a,f,p,v;return v=function(){a=!1,f&&(p.apply(o,f),f=!1)},p=function(){a?f=arguments:(t.apply(o,arguments),setTimeout(v,e),a=!0)},p}function g(t,e,o){var a=e[1],f=e[0],p=a-f;return t===a&&o?t:((t-f)%p+p)%p+f}function m(){return!1}function b(t,e){if(e===!1)return t;var o=Math.pow(10,e===void 0?6:e);return Math.round(t*o)/o}function w(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function M(t){return w(t).split(/\s+/)}function C(t,e){Object.prototype.hasOwnProperty.call(t,"options")||(t.options=t.options?r(t.options):{});for(var o in e)t.options[o]=e[o];return t.options}function B(t,e,o){var a=[];for(var f in t)a.push(encodeURIComponent(o?f.toUpperCase():f)+"="+encodeURIComponent(t[f]));return(!e||e.indexOf("?")===-1?"?":"&")+a.join("&")}var R=/\{ *([\w_ -]+) *\}/g;function j(t,e){return t.replace(R,function(o,a){var f=e[a];if(f===void 0)throw new Error("No value provided for variable "+o);return typeof f=="function"&&(f=f(e)),f})}var A=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"};function Z(t,e){for(var o=0;o<t.length;o++)if(t[o]===e)return o;return-1}var Q="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function st(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var Lt=0;function rt(t){var e=+new Date,o=Math.max(0,16-(e-Lt));return Lt=e+o,window.setTimeout(t,o)}var Rt=window.requestAnimationFrame||st("RequestAnimationFrame")||rt,Qt=window.cancelAnimationFrame||st("CancelAnimationFrame")||st("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function xt(t,e,o){if(o&&Rt===rt)t.call(e);else return Rt.call(window,u(t,e))}function Et(t){t&&Qt.call(window,t)}var Me={__proto__:null,extend:h,create:r,bind:u,get lastId(){return c},stamp:d,throttle:_,wrapNum:g,falseFn:m,formatNum:b,trim:w,splitWords:M,setOptions:C,getParamString:B,template:j,isArray:A,indexOf:Z,emptyImageUrl:Q,requestFn:Rt,cancelFn:Qt,requestAnimFrame:xt,cancelAnimFrame:Et};function Zt(){}Zt.extend=function(t){var e=function(){C(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},o=e.__super__=this.prototype,a=r(o);a.constructor=e,e.prototype=a;for(var f in this)Object.prototype.hasOwnProperty.call(this,f)&&f!=="prototype"&&f!=="__super__"&&(e[f]=this[f]);return t.statics&&h(e,t.statics),t.includes&&(Xe(t.includes),h.apply(null,[a].concat(t.includes))),h(a,t),delete a.statics,delete a.includes,a.options&&(a.options=o.options?r(o.options):{},h(a.options,t.options)),a._initHooks=[],a.callInitHooks=function(){if(!this._initHooksCalled){o.callInitHooks&&o.callInitHooks.call(this),this._initHooksCalled=!0;for(var p=0,v=a._initHooks.length;p<v;p++)a._initHooks[p].call(this)}},e},Zt.include=function(t){var e=this.prototype.options;return h(this.prototype,t),t.options&&(this.prototype.options=e,this.mergeOptions(t.options)),this},Zt.mergeOptions=function(t){return h(this.prototype.options,t),this},Zt.addInitHook=function(t){var e=Array.prototype.slice.call(arguments,1
36),o=typeof t=="function"?t:function(){this[t].apply(this,e)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(o),this};function Xe(t){if(!(typeof L>"u"||!L||!L.Mixin)){t=A(t)?t:[t];for(var e=0;e<t.length;e++)t[e]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",new Error().stack)}}var ht={on:function(t,e,o){if(typeof t=="object")for(var a in t)this._on(a,t[a],e);else{t=M(t);for(var f=0,p=t.length;f<p;f++)this._on(t[f],e,o)}return this},off:function(t,e,o){if(!arguments.length)delete this._events;else if(typeof t=="object")for(var a in t)this._off(a,t[a],e);else{t=M(t);for(var f=arguments.length===1,p=0,v=t.length;p<v;p++)f?this._off(t[p]):this._off(t[p],e,o)}return this},_on:function(t,e,o,a){if(typeof e!="function"){console.warn("wrong listener type: "+typeof e);return}if(this._listens(t,e,o)===!1){o===this&&(o=void 0);var f={fn:e,ctx:o};a&&(f.once=!0),this._events=this._events||{},this._events[t]=this._events[t]||[],this._events[t].push(f)}},_off:function(t,e,o){var a,f,p;if(!!this._events&&(a=this._events[t],!!a)){if(arguments.length===1){if(this._firingCount)for(f=0,p=a.length;f<p;f++)a[f].fn=m;delete this._events[t];return}if(typeof e!="function"){console.warn("wrong listener type: "+typeof e);return}var v=this._listens(t,e,o);if(v!==!1){var P=a[v];this._firingCount&&(P.fn=m,this._events[t]=a=a.slice()),a.splice(v,1)}}},fire:function(t,e,o){if(!this.listens(t,o))return this;var a=h({},e,{type:t,target:this,sourceTarget:e&&e.sourceTarget||this});if(this._events){var f=this._events[t];if(f){this._firingCount=this._firingCount+1||1;for(var p=0,v=f.length;p<v;p++){var P=f[p],T=P.fn;P.once&&this.off(t,T,P.ctx),T.call(P.ctx||this,a)}this._firingCount--}}return o&&this._propagateEvent(a),this},listens:function(t,e,o,a){typeof t!="string"&&console.warn('"string" type argument expected');var f=e;typeof e!="function"&&(a=!!e,f=void 0,o=void 0);var p=this._events&&this._events[t];if(p&&p.length&&this._listens(t,f,o)!==!1)return!0;if(a){for(var v in this._eventParents)if(this._eventParents[v].listens(t,e,o,a))return!0}return!1},_listens:function(t,e,o){if(!this._events)return!1;var a=this._events[t]||[];if(!e)return!!a.length;o===this&&(o=void 0);for(var f=0,p=a.length;f<p;f++)if(a[f].fn===e&&a[f].ctx===o)return f;return!1},once:function(t,e,o){if(typeof t=="object")for(var a in t)this._on(a,t[a],e,!0);else{t=M(t);for(var f=0,p=t.length;f<p;f++)this._on(t[f],e,o,!0)}return this},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[d(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[d(t)],this},_propagateEvent:function(t){for(var e in this._eventParents)this._eventParents[e].fire(t.type,h({layer:t.target,propagatedFrom:t.target},t),!0)}};ht.addEventListener=ht.on,ht.removeEventListener=ht.clearAllEventListeners=ht.off,ht.addOneTimeEventListener=ht.once,ht.fireEvent=ht.fire,ht.hasEventListeners=ht.listens;var ft=Zt.extend(ht);function F(t,e,o){this.x=o?Math.round(t):t,this.y=o?Math.round(e):e}var ge=Math.trunc||function(t){return t>0?Math.floor(t):Math.ceil(t)};F.prototype={clone:function(){return new F(this.x,this.y)},add:function(t){return this.clone()._add(X(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(X(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new F(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new F(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=ge(this.x),this.y=ge(this.y),this},distanceTo:function(t){t=X(t);var e=t.x-this.x,o=t.y-this.y;return Math.sqrt(e*e+o*o)},equals:function(t){return t=X(t),t.x===this.x&&t.y===this.y},contains:function(t){return t=X(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+b(this.x)+", "+b(this.y)+")"}};function X(t,e,o){return t instanceof F?t:A(t)?new F(t[0],t[1]):t==null?t:typeof t=="object"&&"x"in t&&"y"in t?new F(t.x,t.y):new F(t,e,o)}function dt(t,e){if(!!t)for(var o=e?[t,e]:t,a=0,f=o.length;a<f;a++)this.extend(o[a])}dt.prototype={extend:function(t){var e,o;if(!t)return this;if(t instanceof F||typeof t[0]=="number"||"x"in t)e=o=X(t);else if(t=yt(t),e=t.min,o=t.max,!e||!o)return this;return!this.min&&!this.max?(this.min=e.clone(),this.max=o.clone()):(this.min.x=Math.min(e.x,this.min.x),this.max.x=Math.max(o.x,this.max.x),this.min.y=Math.min(e.y,this.min.y),this.max.y=Math.max(o.y,this.max.y)),this},getCenter:function(t){return X((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return X(this.min.x,this.max.y)},getTopRight:function(){return X(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var e,o;return typeof t[0]=="number"||t instanceof F?t=X(t):t=yt(t),t instanceof dt?(e=t.min,o=t.max):e=o=t,e.x>=this.min.x&&o.x<=this.max.x&&e.y>=this.min.y&&o.y<=this.max.y},intersects:function(t){t=yt(t);var e=this.min,o=this.max,a=t.min,f=t.max,p=f.x>=e.x&&a.x<=o.x,v=f.y>=e.y&&a.y<=o.y;return p&&v},overlaps:function(t){t=yt(t);var e=this.min,o=this.max,a=t.min,f=t.max,p=f.x>e.x&&a.x<o.x,v=f.y>e.y&&a.y<o.y;return p&&v},isValid:function(){return!!(this.min&&this.max)},pad:function(t){var e=this.min,o=this.max,a=Math.abs(e.x-o.x)*t,f=Math.abs(e.y-o.y)*t;return yt(X(e.x-a,e.y-f),X(o.x+a,o.y+f))},equals:function(t){return t?(t=yt(t),this.min.equals(t.getTopLeft())&&this.max.equals(t.getBottomRight())):!1}};function yt(t,e){return!t||t instanceof dt?t:new dt(t,e)}function Dt(t,e){if(!!t)for(var o=e?[t,e]:t,a=0,f=o.length;a<f;a++)this.extend(o[a])}Dt.prototype={extend:function(t){var e=this._southWest,o=this._northEast,a,f;if(t instanceof mt)a=t,f=t;else if(t instanceof Dt){if(a=t._southWest,f=t._northEast,!a||!f)return this}else return t?this.extend(tt(t)||Ct(t)):this;return!e&&!o?(this._southWest=new mt(a.lat,a.lng),this._northEast=new mt(f.lat,f.lng)):(e.lat=Math.min(a.lat,e.lat),e.lng=Math.min(a.lng,e.lng),o.lat=Math.max(f.lat,o.lat),o.lng=Math.max(f.lng,o.lng)),this},pad:function(t){var e=this._southWest,o=this._northEast,a=Math.abs(e.lat-o.lat)*t,f=Math.abs(e.lng-o.lng)*t;return new Dt(new mt(e.lat-a,e.lng-f),new mt(o.lat+a,o.lng+f))},getCenter:function(){return new mt((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 mt(this.getNorth(),this.getWest())},getSouthEast:function(){return new mt(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat}
36,getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){typeof t[0]=="number"||t instanceof mt||"lat"in t?t=tt(t):t=Ct(t);var e=this._southWest,o=this._northEast,a,f;return t instanceof Dt?(a=t.getSouthWest(),f=t.getNorthEast()):a=f=t,a.lat>=e.lat&&f.lat<=o.lat&&a.lng>=e.lng&&f.lng<=o.lng},intersects:function(t){t=Ct(t);var e=this._southWest,o=this._northEast,a=t.getSouthWest(),f=t.getNorthEast(),p=f.lat>=e.lat&&a.lat<=o.lat,v=f.lng>=e.lng&&a.lng<=o.lng;return p&&v},overlaps:function(t){t=Ct(t);var e=this._southWest,o=this._northEast,a=t.getSouthWest(),f=t.getNorthEast(),p=f.lat>e.lat&&a.lat<o.lat,v=f.lng>e.lng&&a.lng<o.lng;return p&&v},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,e){return t?(t=Ct(t),this._southWest.equals(t.getSouthWest(),e)&&this._northEast.equals(t.getNorthEast(),e)):!1},isValid:function(){return!!(this._southWest&&this._northEast)}};function Ct(t,e){return t instanceof Dt?t:new Dt(t,e)}function mt(t,e,o){if(isNaN(t)||isNaN(e))throw new Error("Invalid LatLng object: ("+t+", "+e+")");this.lat=+t,this.lng=+e,o!==void 0&&(this.alt=+o)}mt.prototype={equals:function(t,e){if(!t)return!1;t=tt(t);var o=Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng));return o<=(e===void 0?1e-9:e)},toString:function(t){return"LatLng("+b(this.lat,t)+", "+b(this.lng,t)+")"},distanceTo:function(t){return re.distance(this,tt(t))},wrap:function(){return re.wrapLatLng(this)},toBounds:function(t){var e=180*t/40075017,o=e/Math.cos(Math.PI/180*this.lat);return Ct([this.lat-e,this.lng-o],[this.lat+e,this.lng+o])},clone:function(){return new mt(this.lat,this.lng,this.alt)}};function tt(t,e,o){return t instanceof mt?t:A(t)&&typeof t[0]!="object"?t.length===3?new mt(t[0],t[1],t[2]):t.length===2?new mt(t[0],t[1]):null:t==null?t:typeof t=="object"&&"lat"in t?new mt(t.lat,"lng"in t?t.lng:t.lon,t.alt):e===void 0?null:new mt(t,e,o)}var $t={latLngToPoint:function(t,e){var o=this.projection.project(t),a=this.scale(e);return this.transformation._transform(o,a)},pointToLatLng:function(t,e){var o=this.scale(e),a=this.transformation.untransform(t,o);return this.projection.unproject(a)},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,o=this.scale(t),a=this.transformation.transform(e.min,o),f=this.transformation.transform(e.max,o);return new dt(a,f)},infinite:!1,wrapLatLng:function(t){var e=this.wrapLng?g(t.lng,this.wrapLng,!0):t.lng,o=this.wrapLat?g(t.lat,this.wrapLat,!0):t.lat,a=t.alt;return new mt(o,e,a)},wrapLatLngBounds:function(t){var e=t.getCenter(),o=this.wrapLatLng(e),a=e.lat-o.lat,f=e.lng-o.lng;if(a===0&&f===0)return t;
36var p=t.getSouthWest(),v=t.getNorthEast(),P=new mt(p.lat-a,p.lng-f),T=new mt(v.lat-a,v.lng-f);return new Dt(P,T)}},re=h({},$t,{wrapLng:[-180,180],R:6371e3,distance:function(t,e){var o=Math.PI/180,a=t.lat*o,f=e.lat*o,p=Math.sin((e.lat-t.lat)*o/2),v=Math.sin((e.lng-t.lng)*o/2),P=p*p+Math.cos(a)*Math.cos(f)*v*v,T=2*Math.atan2(Math.sqrt(P),Math.sqrt(1-P));return this.R*T}}),Te=6378137,Ye={R:Te,MAX_LATITUDE:85.0511287798,project:function(t){var e=Math.PI/180,o=this.MAX_LATITUDE,a=Math.max(Math.min(o,t.lat),-o),f=Math.sin(a*e);return new F(this.R*t.lng*e,this.R*Math.log((1+f)/(1-f))/2)},unproject:function(t){var e=180/Math.PI;return new mt((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*e,t.x*e/this.R)},bounds:function(){var t=Te*Math.PI;return new dt([-t,-t],[t,t])}()};function Je(t,e,o,a){if(A(t)){this._a=t[0],this._b=t[1],this._c=t[2],this._d=t[3];return}this._a=t,this._b=e,this._c=o,this._d=a}Je.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 F((t.x/e-this._b)/this._a,(t.y/e-this._d)/this._c)}};function y(t,e,o,a){return new Je(t,e,o,a)}var x=h({},re,{code:"EPSG:3857",projection:Ye,transformation:function(){var t=.5/(Math.PI*Ye.R);return y(t,.5,-t,.5)}()}),S=h({},x,{code:"EPSG:900913"});function O(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function k(t,e){var o="",a,f,p,v,P,T;for(a=0,p=t.length;a<p;a++){for(P=t[a],f=0,v=P.length;f<v;f++)T=P[f],o+=(f?"L":"M")+T.x+" "+T.y;o+=e?W.svg?"z":"x":""}return o||"M0 0"}var D=document.documentElement.style,U="ActiveXObject"in window,z=U&&!document.addEventListener,N="msLaunchUri"in navigator&&!("documentMode"in document),I=ve("webkit"),G=ve("android"),V=ve("android 2")||ve("android 3"),K=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),J=G&&ve("Google")&&K<537&&!("AudioNode"in window),nt=!!window.opera,gt=!N&&ve("chrome"),pt=ve("gecko")&&!I&&!nt&&!U,Mt=!gt&&ve("safari"),qt=ve("phantom"),Se="OTransition"in D,Pn=navigator.platform.indexOf("Win")===0,Be=U&&"transition"in D,vi="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!V,Ut="MozPerspective"in D,te=!window.L_DISABLE_3D&&(Be||vi||Ut)&&!Se&&!qt,Ze=typeof orientation<"u"||ve("mobile"),Bl=Ze&&I,Zl=Ze&&vi,Ws=!window.PointerEvent&&window.MSPointerEvent,Ks=!!(window.PointerEvent||Ws),$s="ontouchstart"in window||!!window.TouchEvent,Ul=!window.L_NO_TOUCH&&($s||Ks),Fl=Ze&&nt,Hl=Ze&&pt,Vl=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,jl=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",m,e),window.removeEventListener("testPassiveEventSupport",m,e)}catch{}return t}(),Gl=function(){return!!document.createElement("canvas").getContext}(),Mo=!!(document.createElementNS&&O("svg").createSVGRect),Wl=!!Mo&&function(){var t=document.createElement("div");return t.innerHTML="<svg/>",(t.firstChild&&t.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),Kl=!Mo&&function(){try{var t=document.createElement("div");t.innerHTML='<v:shape adj="1"/>';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&typeof e.adj=="object"}catch{return!1}}(),$l=navigator.platform.indexOf("Mac")===0,ql=navigator.platform.indexOf("Linux")===0;function ve(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var W={ie:U,ielt9:z,edge:N,webkit:I,android:G,android23:V,androidStock:J,opera:nt,chrome:gt,gecko:pt,safari:Mt,phantom:qt,opera12:Se,win:Pn,ie3d:Be,webkit3d:vi,gecko3d:Ut,any3d:te,mobile:Ze,mobileWebkit:Bl,mobileWebkit3d:Zl,msPointer:Ws,pointer:Ks,touch:Ul,touchNative:$s,mobileOpera:Fl,mobileGecko:Hl,retina:Vl,passiveEvents:jl,canvas:Gl,svg:Mo,vml:Kl,inlineSvg:Wl,mac:$l,linux:ql},qs=W.msPointer?"MSPointerDown":"pointerdown",Xs=W.msPointer?"MSPointerMove":"pointermove",Ys=W.msPointer?"MSPointerUp":"pointerup",Js=W.msPointer?"MSPointerCancel":"pointercancel",To={touchstart:qs,touchmove:Xs,touchend:Ys,touchcancel:Js},Qs={touchstart:eu,touchmove:Cn,touchend:Cn,touchcancel:Cn},yi={},tr=!1;function Xl(t,e,o){return e==="touchstart"&&tu(),Qs[e]?(o=Qs[e].bind(this,o),t.addEventListener(To[e],o,!1),o):(console.warn("wrong event specified:",e),m)}function Yl(t,e,o){if(!To[e]){console.warn("wrong event specified:",e);return}t.removeEventListener(To[e],o,!1)}function Jl(t){yi[t.pointerId]=t}function Ql(t){yi[t.pointerId]&&(yi[t.pointerId]=t)}function er(t){delete yi[t.pointerId]}function tu(){tr||(document.addEventListener(qs,Jl,!0),document.addEventListener(Xs,Ql,!0),document.addEventListener(Ys,er,!0),document.addEventListener(Js,er,!0),tr=!0)}function Cn(t,e){if(e.pointerType!==(e.MSPOINTER_TYPE_MOUSE||"mouse")){e.touches=[];for(var o in yi)e.touches.push(yi[o]);e.changedTouches=[e],t(e)}}function eu(t,e){e.MSPOINTER_TYPE_TOUCH&&e.pointerType===e.MSPOINTER_TYPE_TOUCH&&zt(e),Cn(t,e)}function iu(t){var e={},o,a;for(a in t)o=t[a],e[a]=o&&o.bind?o.bind(t):o;return t=e,e.type="dblclick",e.detail=2,e.isTrusted=!1,e._simulated=!0,e}var nu=200;function ou(t,e){t.addEventListener("dblclick",e);var o=0,a;function f(p){if(p.detail!==1){a=p.detail;return}if(!(p.pointerType==="mouse"||p.sourceCapabilities&&!p.sourceCapabilities.firesTouchEvents)){var v=rr(p);if(!(v.some(function(T){return T instanceof HTMLLabelElement&&T.attributes.for})&&!v.some(function(T){return T instanceof HTMLInputElement||T instanceof HTMLSelectElement}))){var P=Date.now();P-o<=nu?(a++,a===2&&e(iu(p))):a=1,o=P}}}return t.addEventListener("click",f),{dblclick:e,simDblclick:f}}function su(t,e){t.removeEventListener("dblclick",e.dblclick),t.removeEventListener("click",e.simDblclick)}var So=Sn(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Wi=Sn(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),ir=Wi==="webkitTransition"||Wi==="OTransition"?Wi+"End":"transitionend";function nr(t){return typeof t=="string"?document.getElementById(t):t}function Ki(t,e){var o=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!o||o==="auto")&&document.defaultView){var a=document.defaultView.getComputedStyle(t,null);o=a?a[e]:null}return o==="auto"?null:o}function ct(t,e,o){var a=document.createElement(t);return a.className=e||"",o&&o.appendChild(a),a}function Pt(t){var e=t.parentNode;e&&e.removeChild(t)}function Mn(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function bi(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function wi(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function Eo(t,e){if(t.classList!==void 0)return t.classList.contains(e);var o=Tn(t);return o.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(o)}function ot(t,e){if(t.classList!==void 0)for(var o=M(e),a=0,f=o.length;a<f;a++)t.classList.add(o[a]);else if(!Eo(t,e)){var p=Tn(t);Oo(t,(p?p+" ":"")+e)}}function St(t,e){t.classList!==void 0?t.classList.remove(e):Oo(t,w((" "+Tn(t)+" ").replace(" "+e+" "," ")))}function Oo(t,e){t.className.baseVal===void 0?t.className=e:t.className.baseVal=e}function Tn(t){return t.correspondingElement&&(t=t.correspondingElement),t.className.baseVal===void 0?t.className:t.className.baseVal}function ee(t,e){"opacity"in t.style?t.style.opacity=e:"filter"in t.style&&ru(t,e)}function ru(t,e){var o=!1,a="DXImageTransform.Microsoft.Alpha";try{o=t.filters.item(a)}catch{if(e===1)return}e=Math.round(e*100),o?(o.Enabled=e!==100,o.Opacity=e):t.style.filter+=" progid:"+a+"(opacity="+e+")"}function Sn(t){for(var e=document.documentElement.style,o=0;o<t.length;o++)if(t[o]in e)return t[o];return!1}function Qe(t,e,o){var a=e||new F(0,0);t.style[So]=(W.ie3d?"translate("+a.x+"px,"+a.y+"px)":"translate3d("+a.x+"px,"+a.y+"px,0)")+(o?" scale("+o+")":"")}function Ot(t,e){t._leaflet_pos=e,W.any3d?Qe(t,e):(t.style.left=e.x+"px",t.style.top=e.y+"px")}function ti(t){return t._leaflet_pos||new F(0,0)}var $i,qi,ko;if("onselectstart"in document)$i=function(){et(window,"selectstart",zt)},qi=function(){vt(window,"selectstart",zt)};else{var Xi=Sn(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);$i=function(){if(Xi){var t=document.documentElement.style;ko=t[Xi],t[Xi]="none"}}
36,qi=function(){Xi&&(document.documentElement.style[Xi]=ko,ko=void 0)}}function Io(){et(window,"dragstart",zt)}function Ao(){vt(window,"dragstart",zt)}var En,Ro;function Do(t){for(;t.tabIndex===-1;)t=t.parentNode;!t.style||(On(),En=t,Ro=t.style.outlineStyle,t.style.outlineStyle="none",et(window,"keydown",On))}function On(){!En||(En.style.outlineStyle=Ro,En=void 0,Ro=void 0,vt(window,"keydown",On))}function or(t){do t=t.parentNode;while((!t.offsetWidth||!t.offsetHeight)&&t!==document.body);return t}function zo(t){var e=t.getBoundingClientRect();return{x:e.width/t.offsetWidth||1,y:e.height/t.offsetHeight||1,boundingClientRect:e}}var au={__proto__:null,TRANSFORM:So,TRANSITION:Wi,TRANSITION_END:ir,get:nr,getStyle:Ki,create:ct,remove:Pt,empty:Mn,toFront:bi,toBack:wi,hasClass:Eo,addClass:ot,removeClass:St,setClass:Oo,getClass:Tn,setOpacity:ee,testProp:Sn,setTransform:Qe,setPosition:Ot,getPosition:ti,get disableTextSelection(){return $i},get enableTextSelection(){return qi},disableImageDrag:Io,enableImageDrag:Ao,preventOutline:Do,restoreOutline:On,getSizedParentNode:or,getScale:zo};function et(t,e,o,a){if(e&&typeof e=="object")for(var f in e)Bo(t,f,e[f],o);else{e=M(e);for(var p=0,v=e.length;p<v;p++)Bo(t,e[p],o,a)}return this}var ye="_leaflet_events";function vt(t,e,o,a){if(arguments.length===1)sr(t),delete t[ye];else if(e&&typeof e=="object")for(var f in e)Zo(t,f,e[f],o);else if(e=M(e),arguments.length===2)sr(t,function(P){return Z(e,P)!==-1});else for(var p=0,v=e.length;p<v;p++)Zo(t,e[p],o,a);return this}function sr(t,e){for(var o in t[ye]){var a=o.split(/\d/)[0];(!e||e(a))&&Zo(t,a,null,null,o)}}
36var No={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function Bo(t,e,o,a){var f=e+d(o)+(a?"_"+d(a):"");if(t[ye]&&t[ye][f])return this;var p=function(P){return o.call(a||t,P||window.event)},v=p;!W.touchNative&&W.pointer&&e.indexOf("touch")===0?p=Xl(t,e,p):W.touch&&e==="dblclick"?p=ou(t,p):"addEventListener"in t?e==="touchstart"||e==="touchmove"||e==="wheel"||e==="mousewheel"?t.addEventListener(No[e]||e,p,W.passiveEvents?{passive:!1}:!1):e==="mouseenter"||e==="mouseleave"?(p=function(P){P=P||window.event,Fo(t,P)&&v(P)},t.addEventListener(No[e],p,!1)):t.addEventListener(e,v,!1):t.attachEvent("on"+e,p),t[ye]=t[ye]||{},t[ye][f]=p}function Zo(t,e,o,a,f){f=f||e+d(o)+(a?"_"+d(a):"");var p=t[ye]&&t[ye][f];if(!p)return this;!W.touchNative&&W.pointer&&e.indexOf("touch")===0?Yl(t,e,p):W.touch&&e==="dblclick"?su(t,p):"removeEventListener"in t?t.removeEventListener(No[e]||e,p,!1):t.detachEvent("on"+e,p),t[ye][f]=null}function ei(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,this}function Uo(t){return Bo(t,"wheel",ei),this}function Yi(t){return et(t,"mousedown touchstart dblclick contextmenu",ei),t._leaflet_disable_click=!0,this}function zt(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function ii(t){return zt(t),ei(t),this}function rr(t){if(t.composedPath)return t.composedPath();for(var e=[],o=t.target;o;)e.push(o),o=o.parentNode;return e}function ar(t,e){if(!e)return new F(t.clientX,t.clientY);var o=zo(e),a=o.boundingClientRect;return new F((t.clientX-a.left)/o.x-e.clientLeft,(t.clientY-a.top)/o.y-e.clientTop)}var lu=W.linux&&W.chrome?window.devicePixelRatio:W.mac?window.devicePixelRatio*3:window.devicePixelRatio>0?2*window.devicePixelRatio:1;function lr(t){return W.edge?t.wheelDeltaY/2:t.deltaY&&t.deltaMode===0?-t.deltaY/lu:t.deltaY&&t.deltaMode===1?-t.deltaY*20:t.deltaY&&t.deltaMode===2?-t.deltaY*60:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?-t.detail*20:t.detail?t.detail/-32765*60:0}function Fo(t,e){var o=e.relatedTarget;if(!o)return!0;try{for(;o&&o!==t;)o=o.parentNode}catch{return!1}return o!==t}var uu={__proto__:null,on:et,off:vt,stopPropagation:ei,disableScrollPropagation:Uo,disableClickPropagation:Yi,preventDefault:zt,stop:ii,getPropagationPath:rr,getMousePosition:ar,getWheelDelta:lr,isExternalTarget:Fo,addListener:et,removeListener:vt},ur=ft.extend({run:function(t,e,o,a){this.stop(),this._el=t,this._inProgress=!0,this._duration=o||.25,this._easeOutPower=1/Math.max(a||.5,.2),this._startPos=ti(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=xt(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,o=this._duration*1e3;e<o?this._runFrame(this._easeOut(e/o),t):(this._runFrame(1),this._complete())},_runFrame:function(t,e){var o=this._startPos.add(this._offset.multiplyBy(t));e&&o._round(),Ot(this._el,o),this.fire("step")},_complete:function(){Et(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),lt=ft.extend({options:{crs:x,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(t,e){e=C(this,e),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(t),this._initLayout(),this._onResize=u(this._onResize,this),this._initEvents(),e.maxBounds&&this.setMaxBounds(e.maxBounds),e.zoom!==void 0&&(this._zoom=this._limitZoom(e.zoom)),e.center&&e.zoom!==void 0&&this.setView(tt(e.center),e.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=Wi&&W.any3d&&!W.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),et(this._proxy,ir,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)}
vendor: 6,743 bytes, line 36
36,setView:function(t,e,o){if(e=e===void 0?this._zoom:this._limitZoom(e),t=this._limitCenter(tt(t),e,this.options.maxBounds),o=o||{},this._stop(),this._loaded&&!o.reset&&o!==!0){o.animate!==void 0&&(o.zoom=h({animate:o.animate},o.zoom),o.pan=h({animate:o.animate,duration:o.duration},o.pan));var a=this._zoom!==e?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,e,o.zoom):this._tryAnimatedPan(t,o.pan);if(a)return clearTimeout(this._sizeTimer),this}return this._resetView(t,e,o.pan&&o.pan.noMoveStart),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||(W.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+t,e)},zoomOut:function(t,e){return t=t||(W.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-t,e)},setZoomAround:function(t,e,o){var a=this.getZoomScale(e),f=this.getSize().divideBy(2),p=t instanceof F?t:this.latLngToContainerPoint(t),v=p.subtract(f).multiplyBy(1-1/a),P=this.containerPointToLatLng(f.add(v));return this.setView(P,e,{zoom:o})},_getBoundsCenterZoom:function(t,e){e=e||{},t=t.getBounds?t.getBounds():Ct(t);var o=X(e.paddingTopLeft||e.padding||[0,0]),a=X(e.paddingBottomRight||e.padding||[0,0]),f=this.getBoundsZoom(t,!1,o.add(a));if(f=typeof e.maxZoom=="number"?Math.min(e.maxZoom,f):f,f===1/0)return{center:t.getCenter(),zoom:f};var p=a.subtract(o).divideBy(2),v=this.project(t.getSouthWest(),f),P=this.project(t.getNorthEast(),f),T=this.unproject(v.add(P).divideBy(2).add(p),f);return{center:T,zoom:f}},fitBounds:function(t,e){if(t=Ct(t),!t.isValid())throw new Error("Bounds are not valid.");var o=this._getBoundsCenterZoom(t,e);return this.setView(o.center,o.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=X(t).round(),e=e||{},!t.x&&!t.y)return this.fire("moveend");if(e.animate!==!0&&!this.getSize().contains(t))return this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new ur,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),e.animate!==!1){ot(this._mapPane,"leaflet-pan-anim");var o=this._getMapPanePos().subtract(t).round();this._panAnim.run(this._mapPane,o,e.duration||.25,e.easeLinearity)}else this._rawPanBy(t),this.fire("move").fire("moveend");return this},flyTo:function(t,e,o){if(o=o||{},o.animate===!1||!W.any3d)return this.setView(t,e,o);this._stop();var a=this.project(this.getCenter()),f=this.project(t),p=this.getSize(),v=this._zoom;t=tt(t),e=e===void 0?v:e;var P=Math.max(p.x,p.y),T=P*this.getZoomScale(v,e),E=f.distanceTo(a)||1,H=1.42,Y=H*H;function at(kt){var Hn=kt?-1:1,Yu=kt?T:P,Ju=T*T-P*P+Hn*Y*Y*E*E,Qu=2*Yu*Y*E,Jo=Ju/Qu,Vr=Math.sqrt(Jo*Jo+1)-Jo,th=Vr<1e-9?-18:Math.log(Vr);return th}function Wt(kt){return(Math.exp(kt)-Math.exp(-kt))/2}function At(kt){return(Math.exp(kt)+Math.exp(-kt))/2}function ne(kt){return Wt(kt)/At(kt)}var Xt=at(0);function Ti(kt){return P*(At(Xt)/At(Xt+H*kt))}function Ku(kt){return P*(At(Xt)*ne(Xt+H*kt)-Wt(Xt))/Y}function $u(kt){return 1-Math.pow(1-kt,1.5)}var qu=Date.now(),Fr=(at(1)-Xt)/H,Xu=o.duration?1e3*o.duration:1e3*Fr*.8;function Hr(){var kt=(Date.now()-qu)/Xu,Hn=$u(kt)*Fr;kt<=1?(this._flyToFrame=xt(Hr,this),this._move(this.unproject(a.add(f.subtract(a).multiplyBy(Ku(Hn)/E)),v),this.getScaleZoom(P/Ti(Hn),v),{flyTo:!0})):this._move(t,e)._moveEnd(!0)}return this._moveStart(!0,o.noMoveStart),Hr.call(this),this},flyToBounds:function(t,e){var o=this._getBoundsCenterZoom(t,e);return this.flyTo(o.center,o.zoom,e)},setMaxBounds:function(t){return t=Ct(t),this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",this._panInsideMaxBounds),t.isValid()?(this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(t){var e=this.options.minZoom;return this.options.minZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var e=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var o=this.getCenter(),a=this._limitCenter(o,this._zoom,Ct(t));return o.equals(a)||this.panTo(a,e),this._enforcingBounds=!1,this},panInside:function(t,e){e=e||{};var o=X(e.paddingTopLeft||e.padding||[0,0]),a=X(e.paddingBottomRight||e.padding||[0,0]),f=this.project(this.getCenter()),p=this.project(t),v=this.getPixelBounds(),P=yt([v.min.add(o),v.max.subtract(a)]),T=P.getSize();if(!P.contains(p)){this._enforcingBounds=!0;var E=p.subtract(P.getCenter()),H=P.extend(p).getSize().subtract(T);f.x+=E.x<0?-H.x:H.x,f.y+=E.y<0?-H.y:H.y,this.panTo(this.unproject(f),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=h({animate:!1,pan:!0},t===!0?{animate:!0}:t);var e=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var o=this.getSize(),a=e.divideBy(2).round(),f=o.divideBy(2).round(),p=a.subtract(f);return!p.x&&!p.y?this:(t.animate&&t.pan?this.panBy(p):(t.pan&&this._rawPanBy(p),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(u(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:e,newSize:o}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=h({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var e=u(this._handleGeolocationResponse,this),o=u(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,o,t):navigator.geolocation.getCurrentPosition(e,o,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){if(!!this._container._leaflet_id){var e=t.code,o=t.message||(e===1?"permission denied":e===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+o+"."})}},_handleGeolocationResponse:function(t){if(!!this._container._leaflet_id){var e=t.coords.latitude,o=t.coords.longitude,a=new mt(e,o),f=a.toBounds(t.coords.accuracy*2),p=this._locateOptions;
36if(p.setView){var v=this.getBoundsZoom(f);this.setView(a,p.maxZoom?Math.min(v,p.maxZoom):v)}var P={latlng:a,bounds:f,timestamp:t.timestamp};for(var T in t.coords)typeof t.coords[T]=="number"&&(P[T]=t.coords[T]);this.fire("locationfound",P)}},addHandler:function(t,e){if(!e)return this;var o=this[t]=new e(this);return this._handlers.push(o),this.options[t]&&o.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),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{this._container._leaflet_id=void 0,this._containerId=void 0}this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),Pt(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(Et(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var t;for(t in this._layers)this._layers[t].remove();for(t in this._panes)Pt(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var o="leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),a=ct("div",o,e||this._mapPane);return t&&(this._panes[t]=a),a},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds(),e=this.unproject(t.getBottomLeft()),o=this.unproject(t.getTopRight());return new Dt(e,o)},getMinZoom:function(){return this.options.minZoom===void 0?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===void 0?this._layersMaxZoom===void 0?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,o){t=Ct(t),o=X(o||[0,0]);var a=this.getZoom()||0,f=this.getMinZoom(),p=this.getMaxZoom(),v=t.getNorthWest(),P=t.getSouthEast(),T=this.getSize().subtract(o),E=yt(this.project(P,a),this.project(v,a)).getSize(),H=W.any3d?this.options.zoomSnap:1,Y=T.x/E.x,at=T.y/E.y,Wt=e?Math.max(Y,at):Math.min(Y,at);return a=this.getScaleZoom(Wt,a),H&&(a=Math.round(a/(H/100))*(H/100),a=e?Math.ceil(a/H)*H:Math.floor(a/H)*H),Math.max(f,Math.min(p,a))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new F(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var o=this._getTopLeftPoint(t,e);return new dt(o,o.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(t===void 0?this.getZoom():t)},getPane:function(t){return typeof t=="string"?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var o=this.options.crs;return e=e===void 0?this._zoom:e,o.scale(t)/o.scale(e)},getScaleZoom:function(t,e){var o=this.options.crs;e=e===void 0?this._zoom:e;var a=o.zoom(t*o.scale(e));return isNaN(a)?1/0:a},project:function(t,e){return e=e===void 0?this._zoom:e,this.options.crs.latLngToPoint(tt(t),e)},unproject:function(t,e){return e=e===void 0?this._zoom:e,this.options.crs.pointToLatLng(X(t),e)},layerPointToLatLng:function(t){var e=X(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){var e=this.project(tt(t))._round();return e._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(tt(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(Ct(t))},distance:function(t,e){return this.options.crs.distance(tt(t),tt(e))},containerPointToLayerPoint:function(t){return X(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return X(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(X(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(tt(t)))},mouseEventToContainerPoint:function(t){return ar(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=nr(t);if(e){if(e._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");et(e,"scroll",this._onScroll,this),this._containerId=d(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&W.any3d,ot(t,"leaflet-container"+(W.touch?" leaflet-touch":"")+(W.retina?" leaflet-retina":"")+(W.ielt9?" leaflet-oldie":"")+(W.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=Ki(t,"position");e!=="absolute"&&e!=="relative"&&e!=="fixed"&&e!=="sticky"&&(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),Ot(this._mapPane,new F(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(ot(t.markerPane,"leaflet-zoom-hide"),ot(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e,o){Ot(this._mapPane,new F(0,0));var a=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var f=this._zoom!==e;this._moveStart(f,o)._move(t,e)._moveEnd(f),this.fire("viewreset"),a&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,o,a){e===void 0&&(e=this._zoom);var f=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),a?o&&o.pinch&&this.fire("zoom",o):((f||o&&o.pinch)&&this.fire("zoom",o),this.fire("move",o)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return Et(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){Ot(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[d(this._container)]=this;var e=t?vt:et;e(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),W.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){Et(this._resizeRequest),this._resizeRequest=xt(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 o=[],a,f=e==="mouseout"||e==="mouseover",p=t.target||t.srcElement,v=!1;p;){if(a=this._targets[d(p)],a&&(e==="click"||e==="preclick")&&this._draggableMoved(a)){v=!0;break}if(a&&a.listens(e,!0)&&(f&&!Fo(p,t)||(o.push(a),f))||p===this._container)break;p=p.parentNode}return!o.length&&!v&&!f&&this.listens(e,!0)&&(o=[this]),o},_isClickDisabled:function(t){for(;t&&t!==this._container;){if(t._leaflet_disable_click)return!0;t=t.parentNode}},_handleDOMEvent:function(t){var e=t.target||t.srcElement;if(!(!this._loaded||e._leaflet_disable_events||t.type==="click"&&this._isCl
36ickDisabled(e))){var o=t.type;o==="mousedown"&&Do(e),this._fireDOMEvent(t,o)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,e,o){if(t.type==="click"){var a=h({},t);a.type="preclick",this._fireDOMEvent(a,a.type,o)}var f=this._findEventTargets(t,e);if(o){for(var p=[],v=0;v<o.length;v++)o[v].listens(e,!0)&&p.push(o[v]);f=p.concat(f)}if(!!f.length){e==="contextmenu"&&zt(t);var P=f[0],T={originalEvent:t};if(t.type!=="keypress"&&t.type!=="keydown"&&t.type!=="keyup"){var E=P.getLatLng&&(!P._radius||P._radius<=10);T.containerPoint=E?this.latLngToContainerPoint(P.getLatLng()):this.mouseEventToContainerPoint(t),T.layerPoint=this.containerPointToLayerPoint(T.containerPoint),T.latlng=E?P.getLatLng():this.layerPointToLatLng(T.layerPoint)}for(v=0;v<f.length;v++)if(f[v].fire(e,T,!0),T.originalEvent._stopped||f[v].options.bubblingMouseEvents===!1&&Z(this._mouseEvents,e)!==-1)return}},_draggableMoved:function(t){return t=t.dragging&&t.dragging.enabled()?t:this,t.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 ti(this._mapPane)||new F(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,e){var o=t&&e!==void 0?this._getNewPixelOrigin(t,e):this.getPixelOrigin();return o.subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,e){var o=this.getSize()._divideBy(2);return this.project(t,e)._subtract(o)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,e,o){var a=this._getNewPixelOrigin(o,e);return this.project(t,e)._subtract(a)},_latLngBoundsToNewLayerBounds:function(t,e,o){var a=this._getNewPixelOrigin(o,e);
36return yt([this.project(t.getSouthWest(),e)._subtract(a),this.project(t.getNorthWest(),e)._subtract(a),this.project(t.getSouthEast(),e)._subtract(a),this.project(t.getNorthEast(),e)._subtract(a)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,e,o){if(!o)return t;var a=this.project(t,e),f=this.getSize().divideBy(2),p=new dt(a.subtract(f),a.add(f)),v=this._getBoundsOffset(p,o,e);return Math.abs(v.x)<=1&&Math.abs(v.y)<=1?t:this.unproject(a.add(v),e)},_limitOffset:function(t,e){if(!e)return t;var o=this.getPixelBounds(),a=new dt(o.min.add(t),o.max.add(t));return t.add(this._getBoundsOffset(a,e))},_getBoundsOffset:function(t,e,o){var a=yt(this.project(e.getNorthEast(),o),this.project(e.getSouthWest(),o)),f=a.min.subtract(t.min),p=a.max.subtract(t.max),v=this._rebound(f.x,-p.x),P=this._rebound(f.y,-p.y);return new F(v,P)},_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(),o=this.getMaxZoom(),a=W.any3d?this.options.zoomSnap:1;return a&&(t=Math.round(t/a)*a),Math.max(e,Math.min(o,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){St(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var o=this._getCenterOffset(t)._trunc();return(e&&e.animate)!==!0&&!this.getSize().contains(o)?!1:(this.panBy(o,e),!0)},_createAnimProxy:function(){var t=this._proxy=ct("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(e){var o=So,a=this._proxy.style[o];Qe(this._proxy,this.project(e.center,e.zoom),this.getZoomScale(e.zoom,1)),a===this._proxy.style[o]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){Pt(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();Qe(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_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,o){if(this._animatingZoom)return!0;if(o=o||{},!this._zoomAnimated||o.animate===!1||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var a=this.getZoomScale(e),f=this._getCenterOffset(t)._divideBy(1-1/a);return o.animate!==!0&&!this.getSize().contains(f)?!1:(xt(function(){this._moveStart(!0,o.noMoveStart||!1)._animateZoom(t,e,!0)},this),!0)},_animateZoom:function(t,e,o,a){!this._mapPane||(o&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,ot(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:a}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(u(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){!this._animatingZoom||(this._mapPane&&St(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function hu(t,e){return new lt(t,e)}var ae=Zt.extend({options:{position:"topright"},initialize:function(t){C(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),o=this.getPosition(),a=t._controlCorners[o];return ot(e,"leaflet-control"),o.indexOf("bottom")!==-1?a.insertBefore(e,a.firstChild):a.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(Pt(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),Ji=function(t){return new ae(t)};lt.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this}
vendor: 8,719 bytes, line 36
36,_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",o=this._controlContainer=ct("div",e+"control-container",this._container);function a(f,p){var v=e+f+" "+e+p;t[f+p]=ct("div",v,o)}a("top","left"),a("top","right"),a("bottom","left"),a("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)Pt(this._controlCorners[t]);Pt(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var hr=ae.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,o,a){return o<a?-1:a<o?1:0}},initialize:function(t,e,o){C(this,o),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1;for(var a in t)this._addLayer(t[a],a);for(a in e)this._addLayer(e[a],a,!0)},onAdd:function(t){this._initLayout(),this._update(),this._map=t,t.on("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(t){return ae.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,e){return this._addLayer(t,e),this._map?this._update():this},addOverlay:function(t,e){return this._addLayer(t,e,!0),this._map?this._update():this},removeLayer:function(t){t.off("add remove",this._onLayerChange,this);var e=this._getLayer(d(t));return e&&this._layers.splice(this._layers.indexOf(e),1),this._map?this._update():this},expand:function(){ot(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._section.clientHeight?(ot(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=t+"px"):St(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return St(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",e=this._container=ct("div",t),o=this.options.collapsed;e.setAttribute("aria-haspopup",!0),Yi(e),Uo(e);var a=this._section=ct("section",t+"-list");o&&(this._map.on("click",this.collapse,this),et(e,{mouseenter:this._expandSafely,mouseleave:this.collapse},this));var f=this._layersLink=ct("a",t+"-toggle",e);f.href="#",f.title="Layers",f.setAttribute("role","button"),et(f,{keydown:function(p){p.keyCode===13&&this._expandSafely()},click:function(p){zt(p),this._expandSafely()}},this),o||this.expand(),this._baseLayersList=ct("div",t+"-base",a),this._separator=ct("div",t+"-separator",a),this._overlaysList=ct("div",t+"-overlays",a),e.appendChild(a)},_getLayer:function(t){for(var e=0;e<this._layers.length;e++)if(this._layers[e]&&d(this._layers[e].layer)===t)return this._layers[e]},_addLayer:function(t,e,o){this._map&&t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:e,overlay:o}),this.options.sortLayers&&this._layers.sort(u(function(a,f){return this.options.sortFunction(a.layer,f.layer,a.name,f.name)},this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;Mn(this._baseLayersList),Mn(this._overlaysList),this._layerControlInputs=[];var t,e,o,a,f=0;for(o=0;o<this._layers.length;o++)a=this._layers[o],this._addItem(a),e=e||a.overlay,t=t||!a.overlay,f+=a.overlay?0:1;return this.options.hideSingleBase&&(t=t&&f>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(d(t.target)),o=e.overlay?t.type==="add"?"overlayadd":"overlayremove":t.type==="add"?"baselayerchange":null;o&&this._map.fire(o,e)},_createRadioElement:function(t,e){var o='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(e?' checked="checked"':"")+"/>",a=document.createElement("div");return a.innerHTML=o,a.firstChild},_addItem:function(t){var e=document.createElement("label"),o=this._map.hasLayer(t.layer),a;t.overlay?(a=document.createElement("input"),a.type="checkbox",a.className="leaflet-control-layers-selector",a.defaultChecked=o):a=this._createRadioElement("leaflet-base-layers_"+d(this),o),this._layerControlInputs.push(a),a.layerId=d(t.layer),et(a,"click",this._onInputClick,this);var f=document.createElement("span");f.innerHTML=" "+t.name;var p=document.createElement("span");e.appendChild(p),p.appendChild(a),p.appendChild(f);var v=t.overlay?this._overlaysList:this._baseLayersList;return v.appendChild(e),this._checkDisabledLayers(),e},_onInputClick:function(){if(!this._preventClick){var t=this._layerControlInputs,e,o,a=[],f=[];this._handlingClick=!0;for(var p=t.length-1;p>=0;p--)e=t[p],o=this._getLayer(e.layerId).layer,e.checked?a.push(o):e.checked||f.push(o);for(p=0;p<f.length;p++)this._map.hasLayer(f[p])&&this._map.removeLayer(f[p]);for(p=0;p<a.length;p++)this._map.hasLayer(a[p])||this._map.addLayer(a[p]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var t=this._layerControlInputs,e,o,a=this._map.getZoom(),f=t.length-1;f>=0;f--)e=t[f],o=this._getLayer(e.layerId).layer,e.disabled=o.options.minZoom!==void 0&&a<o.options.minZoom||o.options.maxZoom!==void 0&&a>o.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var t=this._section;this._preventClick=!0,et(t,"click",zt),this.expand();var e=this;setTimeout(function(){vt(t,"click",zt),e._preventClick=!1})}}),cu=function(t,e,o){return new hr(t,e,o)},Ho=ae.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">&#x2212;</span>',zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",o=ct("div",e+" leaflet-bar"),a=this.options;return this._zoomInButton=this._createButton(a.zoomInText,a.zoomInTitle,e+"-in",o,this._zoomIn),this._zoomOutButton=this._createButton(a.zoomOutText,a.zoomOutTitle,e+"-out",o,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),o},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,o,a,f){var p=ct("a",o,a);return p.innerHTML=t,p.href="#",p.title=e,p.setAttribute("role","button"),p.setAttribute("aria-label",e),Yi(p),et(p,"click",ii),et(p,"click",f,this),et(p,"click",this._refocusOnMap,this),p},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";St(this._zoomInButton,e),St(this._zoomOutButton,e),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||t._zoom===t.getMinZoom())&&(ot(this._zoomOutButton,e),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||t._zoom===t.getMaxZoom())&&(ot(this._zoomInButton,e),this._zoomInButton.setAttribute("aria-disabled","true"))}});lt.mergeOptions({zoomControl:!0}),lt.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Ho,this.addControl(this.zoomControl))});var fu=function(t){return new Ho(t)},cr=ae.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",o=ct("div",e),a=this.options;return this._addScales(a,e+"-line",o),t.on(a.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),o},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,o){t.metric&&(this._mScale=ct("div",e,o)),t.imperial&&(this._iScale=ct("div",e,o))},_update:function(){var t=this._map,e=t.getSize().y/2,o=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(o)},_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),o=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,o,e/t)}
36,_updateImperial:function(t){var e=t*3.2808399,o,a,f;e>5280?(o=e/5280,a=this._getRoundNum(o),this._updateScale(this._iScale,a+" mi",a/o)):(f=this._getRoundNum(e),this._updateScale(this._iScale,f+" ft",f/e))},_updateScale:function(t,e,o){t.style.width=Math.round(this.options.maxWidth*o)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),o=t/e;return o=o>=10?10:o>=5?5:o>=3?3:o>=2?2:1,e*o}}),du=function(t){return new cr(t)},pu='<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>',Vo=ae.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(W.inlineSvg?pu+" ":"")+"Leaflet</a>"},initialize:function(t){C(this,t),this._attributions={}},onAdd:function(t){t.attributionControl=this,this._container=ct("div","leaflet-control-attribution"),Yi(this._container);for(var e in t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),t.on("layeradd",this._addAttribution,this),this._container},onRemove:function(t){t.off("layeradd",this._addAttribution,this)},_addAttribution:function(t){t.layer.getAttribution&&(this.addAttribution(t.layer.getAttribution()),t.layer.once("remove",function(){this.removeAttribution(t.layer.getAttribution())},this))},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 o=[];this.options.prefix&&o.push(this.options.prefix),t.length&&o.push(t.join(", ")),this._container.innerHTML=o.join(' <span aria-hidden="true">|</span> ')}}});lt.mergeOptions({attributionControl:!0}),lt.addInitHook(function(){this.options.attributionControl&&new Vo().addTo(this)});var _u=function(t){return new Vo(t)};ae.Layers=hr,ae.Zoom=Ho,ae.Scale=cr,ae.Attribution=Vo,Ji.layers=cu,Ji.zoom=fu,Ji.scale=du,Ji.attribution=_u;var be=Zt.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}});be.addTo=function(t,e){return t.addHandler(e,this),this};var mu={Events:ht},fr=W.touch?"touchstart mousedown":"mousedown",Ue=ft.extend({options:{clickTolerance:3},initialize:function(t,e,o,a){C(this,a),this._element=t,this._dragStartTarget=e||t,this._preventOutline=o},enable:function(){this._enabled||(et(this._dragStartTarget,fr,this._onDown,this),this._enabled=!0)},disable:function(){!this._enabled||(Ue._dragging===this&&this.finishDrag(!0),vt(this._dragStartTarget,fr,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!!this._enabled&&(this._moved=!1,!Eo(this._element,"leaflet-zoom-anim"))){if(t.touches&&t.touches.length!==1){Ue._dragging===this&&this.finishDrag();return}if(!(Ue._dragging||t.shiftKey||t.which!==1&&t.button!==1&&!t.touches)&&(Ue._dragging=this,this._preventOutline&&Do(this._element),Io(),$i(),!this._moving)){this.fire("down");var e=t.touches?t.touches[0]:t,o=or(this._element);this._startPoint=new F(e.clientX,e.clientY),this._startPos=ti(this._element),this._parentScale=zo(o);var a=t.type==="mousedown";et(document,a?"mousemove":"touchmove",this._onMove,this),et(document,a?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(t){if(!!this._enabled){if(t.touches&&t.touches.length>1){this._moved=!0;return}var e=t.touches&&t.touches.length===1?t.touches[0]:t,o=new F(e.clientX,e.clientY)._subtract(this._startPoint);!o.x&&!o.y||Math.abs(o.x)+Math.abs(o.y)<this.options.clickTolerance||(o.x/=this._parentScale.x,o.y/=this._parentScale.y,zt(t),this._moved||(this.fire("dragstart"),this._moved=!0,ot(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),ot(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(o),this._moving=!0,this._lastEvent=t,this._updatePosition())}},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),Ot(this._element,this._newPos),this.fire("drag",t)},_onUp:function(){!this._enabled||this.finishDrag()},finishDrag:function(t){St(document.body,"leaflet-dragging"),this._lastTarget&&(St(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),vt(document,"mousemove touchmove",this._onMove,this),vt(document,"mouseup touchend touchcancel",this._onUp,this),Ao(),qi();var e=this._moved&&this._moving;this._moving=!1,Ue._dragging=!1,e&&this.fire("dragend",{noInertia:t,distance:this._newPos.distanceTo(this._startPos)})}});function dr(t,e,o){var a,f=[1,4,2,8],p,v,P,T,E,H,Y,at;for(p=0,H=t.length;p<H;p++)t[p]._code=ni(t[p],e);for(P=0;P<4;P++){for(Y=f[P],a=[],p=0,H=t.length,v=H-1;p<H;v=p++)T=t[p],E=t[v],T._code&Y?E._code&Y||(at=kn(E,T,Y,e,o),at._code=ni(at,e),a.push(at)):(E._code&Y&&(at=kn(E,T,Y,e,o),at._code=ni(at,e),a.push(at)),a.push(T));t=a}return t}function pr(t,e){var o,a,f,p,v,P,T,E,H;if(!t||t.length===0)throw new Error("latlngs not passed");ie(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var Y=tt([0,0]),at=Ct(t),Wt=at.getNorthWest().distanceTo(at.getSouthWest
36())*at.getNorthEast().distanceTo(at.getNorthWest());Wt<1700&&(Y=jo(t));var At=t.length,ne=[];for(o=0;o<At;o++){var Xt=tt(t[o]);ne.push(e.project(tt([Xt.lat-Y.lat,Xt.lng-Y.lng])))}for(P=T=E=0,o=0,a=At-1;o<At;a=o++)f=ne[o],p=ne[a],v=f.y*p.x-p.y*f.x,T+=(f.x+p.x)*v,E+=(f.y+p.y)*v,P+=v*3;P===0?H=ne[0]:H=[T/P,E/P];var Ti=e.unproject(X(H));return tt([Ti.lat+Y.lat,Ti.lng+Y.lng])}function jo(t){for(var e=0,o=0,a=0,f=0;f<t.length;f++){var p=tt(t[f]);e+=p.lat,o+=p.lng,a++}return tt([e/a,o/a])}var gu={__proto__:null,clipPolygon:dr,polygonCenter:pr,centroid:jo};function _r(t,e){if(!e||!t.length)return t.slice();var o=e*e;return t=bu(t,o),t=yu(t,o),t}function mr(t,e,o){return Math.sqrt(Qi(t,e,o,!0))}function vu(t,e,o){return Qi(t,e,o)}function yu(t,e){var o=t.length,a=typeof Uint8Array!=void 0+""?Uint8Array:Array,f=new a(o);f[0]=f[o-1]=1,Go(t,f,e,0,o-1);var p,v=[];for(p=0;p<o;p++)f[p]&&v.push(t[p]);return v}function Go(t,e,o,a,f){var p=0,v,P,T;for(P=a+1;P<=f-1;P++)T=Qi(t[P],t[a],t[f],!0),T>p&&(v=P,p=T);p>o&&(e[v]=1,Go(t,e,o,a,v),Go(t,e,o,v,f))}function bu(t,e){for(var o=[t[0]],a=1,f=0,p=t.length;a<p;a++)wu(t[a],t[f])>e&&(o.push(t[a]),f=a);return f<p-1&&o.push(t[p-1]),o}var gr;function vr(t,e,o,a,f){var p=a?gr:ni(t,o),v=ni(e,o),P,T,E;for(gr=v;;){if(!(p|v))return[t,e];if(p&v)return!1;P=p||v,T=kn(t,e,P,o,f),E=ni(T,o),P===p?(t=T,p=E):(e=T,v=E)}}function kn(t,e,o,a,f){var p=e.x-t.x,v=e.y-t.y,P=a.min,T=a.max,E,H;return o&8?(E=t.x+p*(T.y-t.y)/v,H=T.y):o&4?(E=t.x+p*(P.y-t.y)/v,H=P.y):o&2?(E=T.x,H=t.y+v*(T.x-t.x)/p):o&1&&(E=P.x,H=t.y+v*(P.x-t.x)/p),new F(E,H,f)}function ni(t,e){var o=0;return t.x<e.min.x?o|=1:t.x>e.max.x&&(o|=2),t.y<e.min.y?o|=4:t.y>e.max.y&&(o|=8),o}function wu(t,e){var o=e.x-t.x,a=e.y-t.y;return o*o+a*a}function Qi(t,e,o,a){var f=e.x,p=e.y,v=o.x-f,P=o.y-p,T=v*v+P*P,E;return T>0&&(E=((t.x-f)*v+(t.y-p)*P)/T,E>1?(f=o.x,p=o.y):E>0&&(f+=v*E,p+=P*E)),v=t.x-f,P=t.y-p,a?v*v+P*P:new F(f,p)}function ie(t){return!A(t[0])||typeof t[0][0]!="object"&&typeof t[0][0]<"u"}function yr(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),ie(t)}function br(t,e){var o,a,f,p,v,P,T,E;if(!t||t.length===0)throw new Error("latlngs not passed");ie(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var H=tt([0,0]),Y=Ct(t),at=Y.getNorthWest().distanceTo(Y.getSouthWest
vendor: 4,214 bytes, line 36
36())*Y.getNorthEast().distanceTo(Y.getNorthWest());at<1700&&(H=jo(t));var Wt=t.length,At=[];for(o=0;o<Wt;o++){var ne=tt(t[o]);At.push(e.project(tt([ne.lat-H.lat,ne.lng-H.lng])))}for(o=0,a=0;o<Wt-1;o++)a+=At[o].distanceTo(At[o+1])/2;if(a===0)E=At[0];else for(o=0,p=0;o<Wt-1;o++)if(v=At[o],P=At[o+1],f=v.distanceTo(P),p+=f,p>a){T=(p-a)/f,E=[P.x-T*(P.x-v.x),P.y-T*(P.y-v.y)];break}var Xt=e.unproject(X(E));return tt([Xt.lat+H.lat,Xt.lng+H.lng])}var Lu={__proto__:null,simplify:_r,pointToSegmentDistance:mr,closestPointOnSegment:vu,clipSegment:vr,_getEdgeIntersection:kn,_getBitCode:ni,_sqClosestPointOnSegment:Qi,isFlat:ie,_flat:yr,polylineCenter:br},Wo={project:function(t){return new F(t.lng,t.lat)},unproject:function(t){return new mt(t.y,t.x)},bounds:new dt([-180,-90],[180,90])},Ko={R:6378137,R_MINOR:6356752314245179e-9,bounds:new dt([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(t){var e=Math.PI/180,o=this.R,a=t.lat*e,f=this.R_MINOR/o,p=Math.sqrt(1-f*f),v=p*Math.sin(a),P=Math.tan(Math.PI/4-a/2)/Math.pow((1-v)/(1+v),p/2);return a=-o*Math.log(Math.max(P,1e-10)),new F(t.lng*e*o,a)},unproject:function(t){for(var e=180/Math.PI,o=this.R,a=this.R_MINOR/o,f=Math.sqrt(1-a*a),p=Math.exp(-t.y/o),v=Math.PI/2-2*Math.atan(p),P=0,T=.1,E;P<15&&Math.abs(T)>1e-7;P++)E=f*Math.sin(v),E=Math.pow((1-E)/(1+E),f/2),T=Math.PI/2-2*Math.atan(p*E)-v,v+=T;return new mt(v*e,t.x*e/o)}},xu={__proto__:null,LonLat:Wo,Mercator:Ko,SphericalMercator:Ye},Pu=h({},re,{code:"EPSG:3395",projection:Ko,transformation:function(){var t=.5/(Math.PI*Ko.R);return y(t,.5,-t,.5)}()}),wr=h({},re,{code:"EPSG:4326",projection:Wo,transformation:y(1/180,1,-1/180,.5)}),Cu=h({},$t,{projection:Wo,transformation:y(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var o=e.lng-t.lng,a=e.lat-t.lat;return Math.sqrt(o*o+a*a)},infinite:!0});$t.Earth=re,$t.EPSG3395=Pu,$t.EPSG3857=x,$t.EPSG900913=S,$t.EPSG4326=wr,$t.Simple=Cu;var le=ft.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[d(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[d(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 o=this.getEvents();e.on(o,this),this.once("remove",function(){e.off(o,this)},this)}this.onAdd(e),this.fire("add"),e.fire("layeradd",{layer:this})}}});lt.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=d(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=d(t);return this._layers[e]?(this._loaded&&t.onRemove(this),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 d(t)in this._layers},eachLayer:function(t,e){for(var o in this._layers)t.call(e,this._layers[o]);return this},_addLayers:function(t){t=t?A(t)?t:[t]:[];for(var e=0,o=t.length;e<o;e++)this.addLayer(t[e])},_addZoomLimit:function(t){(!isNaN(t.options.maxZoom)||!isNaN(t.options.minZoom))&&(this._zoomBoundLayers[d(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){var e=d(t);this._zoomBoundLayers[e]&&(delete this._zoomBoundLayers[e],this._updateZoomLevels())},_updateZoomLevels:function(){var t=1/0,e=-1/0,o=this._getZoomSpan();for(var a in this._zoomBoundLayers){var f=this._zoomBoundLayers[a].options;t=f.minZoom===void 0?t:Math.min(t,f.minZoom),e=f.maxZoom===void 0?e:Math.max(e,f.maxZoom)}this._layersMaxZoom=e===-1/0?void 0:e,this._layersMinZoom=t===1/0?void 0:t,o!==this._getZoomSpan()&&this.fire("zoomlevelschange"),this.options.maxZoom===void 0&&this._layersMaxZo
36om&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var Li=le.extend({initialize:function(t,e){C(this,e),this._layers={};var o,a;if(t)for(o=0,a=t.length;o<a;o++)this.addLayer(t[o])},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){var e=typeof t=="number"?t:this.getLayerId(t);return e in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var e=Array.prototype.slice.call(arguments,1),o,a;for(o in this._layers)a=this._layers[o],a[t]&&a[t].apply(a,e);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,e){for(var o in this._layers)t.call(e,this._layers[o]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:function(t){return d(t)}}),Mu=function(t,e){return new Li(t,e)},Ee=Li.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),Li.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),Li.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 Dt;for(var e in this._layers){var o=this._layers[e];t.extend(o.getBounds?o.getBounds():o.getLatLng())}return t}}),Tu=function(t,e){return new Ee(t,e)},xi=Zt.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(t){C(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,e){var o=this._getIconUrl(t);if(!o){if(t==="icon")throw new Error("iconUrl not set in Icon options (see the docs).");return null}var a=this._createImg(o,e&&e.tagName==="IMG"?e:null);return this._setIconStyles(a,t),(this.options.crossOrigin||this.options.crossOrigin==="")&&(a.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),a},_setIconStyles:function(t,e){var o=this.options,a=o[e+"Size"];typeof a=="number"&&(a=[a,a]);var f=X(a),p=X(e==="shadow"&&o.shadowAnchor||o.iconAnchor||f&&f.divideBy(2,!0));t.className="leaflet-marker-"+e+" "+(o.className||""),p&&(t.style.marginLeft=-p.x+"px",t.style.marginTop=-p.y+"px"),f&&(t.style.width=f.x+"px",t.style.height=f.y+"px")},_createImg:function(t,e){return e=e||document.createElement("img"),e.src=t,e},_getIconUrl:function(t){return W.retina&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}});function Su(t){return new xi(t)}var tn=xi.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){return typeof tn.imagePath!="string"&&(tn.imagePath=this._detectIconPath()),(this.options.imagePath||tn.imagePath)+xi.prototype._getIconUrl.call(this,t)},_stripUrl:function(t){var e=function(o,a,f){var p=a.exec(o);return p&&p[f]};return t=e(t,/^url\((['"])?(.+)\1\)$/,2),t&&e(t,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var t=ct("div","leaflet-default-icon-path",document.body),e=Ki(t,"background-image")||Ki(t,"backgroundImage");if(document.body.removeChild(t),e=this._stripUrl(e),e)return e;var o=document.querySelector('link[href$="leaflet.css"]');return o?o.href.substring(0,o.href.length-11-1):""}}),Lr=be.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new Ue(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),ot(t,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&St(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var e=this._marker,o=e._map,a=this._marker.options.autoPanSpeed,f=this._marker.options.autoPanPadding,p=ti(e._icon),v=o.getPixelBounds(),P=o.getPixelOrigin(),T=yt(v.min._subtract(P).add(f),v.max._subtract(P).subtract(f));if(!T.contains(p)){var E=X((Math.max(T.max.x,p.x)-T.max.x)/(v.max.x-T.max.x)-(Math.min(T.min.x,p.x)-T.min.x)/(v.min.x-T.min.x),(Math.max(T.max.y,p.y)-T.max.y)/(v.max.y-T.max.y)-(Math.min(T.min.y,p.y)-T.min.y)/(v.min.y-T.min.y)).multiplyBy(a);o.panBy(E,{animate:!1}),this._draggable._newPos._add(E),this._draggable._startPos._add(E),Ot(e._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=xt(this._adjustPan.bind(this,t))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(Et(this._panRequest),this._panRequest=xt(this._adjustPan.bind(this,t)))},_onDrag:function(t){var e=this._marker,o=e._shadow,a=ti(e._icon),f=e._map.layerPointToLatLng(
vendor: 4,336 bytes, line 36
36a);o&&Ot(o,a),e._latlng=f,t.latlng=f,t.oldLatLng=this._oldLatLng,e.fire("move",t).fire("drag",t)},_onDragEnd:function(t){Et(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),In=le.extend({options:{icon:new tn,interactive:!0,keyboard:!0,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(t,e){C(this,e),this._latlng=tt(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(t){var e=this._latlng;return this._latlng=tt(t),this.update(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},getIcon:function(){return this.options.icon},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,e="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),o=t.icon.createIcon(this._icon),a=!1;o!==this._icon&&(this._icon&&this._removeIcon(),a=!0,t.title&&(o.title=t.title),o.tagName==="IMG"&&(o.alt=t.alt||"")),ot(o,e),t.keyboard&&(o.tabIndex="0",o.setAttribute("role","button")),this._icon=o,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&et(o,"focus",this._panOnFocus,this);var f=t.icon.createShadow(this._shadow),p=!1;f!==this._shadow&&(this._removeShadow(),p=!0),f&&(ot(f,e),f.alt=""),this._shadow=f,t.opacity<1&&this._updateOpacity(),a&&this.getPane().appendChild(this._icon),this._initInteraction(),f&&p&&this.getPane(t.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&vt(this._icon,"focus",this._panOnFocus,this),Pt(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&Pt(this._shadow),this._shadow=null},_setPos:function(t){this._icon&&Ot(this._icon,t),this._shadow&&Ot(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon&&(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&&(ot(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),Lr)){var t=this.options.draggable;this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new Lr(this),t&&this.dragging.enable()}},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;this._icon&&ee(this._icon,t),this._shadow&&ee(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var t=this._map;if(!!t){var e=this.options.icon.options,o=e.iconSize?X(e.iconSize):X(0,0),a=e.iconAnchor?X(e.iconAnchor):X(0,0);t.panInside(this._latlng,{paddingTopLeft:a,paddingBottomRight:o.subtract(a)})}},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});function Eu(t,e){return new In(t,e)}var Fe=le.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,f
vendor: 1,339 bytes, line 36
36illRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(t){this._renderer=t.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(t){return C(this,t),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&t&&Object.prototype.hasOwnProperty.call(t,"weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),An=Fe.extend({options:{fill:!0,radius:10},initialize:function(t,e){C(this,e),this._latlng=tt(t),this._radius=this.options.radius},setLatLng:function(t){var e=this._latlng;return this._latlng=tt(t),this.redraw(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius}
vendor: 2,512 bytes, line 36
36,setStyle:function(t){var e=t&&t.radius||this._radius;return Fe.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,o=this._clickTolerance(),a=[t+o,e+o];this._pxBounds=new dt(this._point.subtract(a),this._point.add(a))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}});function Ou(t,e){return new An(t,e)}var $o=An.extend({initialize:function(t,e,o){if(typeof e=="number"&&(e=h({},o,{radius:e})),C(this,e),this._latlng=tt(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 Dt(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:Fe.prototype.setStyle,_project:function(){var t=this._latlng.lng,e=this._latlng.lat,o=this._map,a=o.options.crs;if(a.distance===re.distance){var f=Math.PI/180,p=this._mRadius/re.R/f,v=o.project([e+p,t]),P=o.project([e-p,t]),T=v.add(P).divideBy(2),E=o.unproject(T).lat,H=Math.acos((Math.cos(p*f)-Math.sin(e*f)*Math.sin(E*f))/(Math.cos(e*f)*Math.cos(E*f)))/f;(isNaN(H)||H===0)&&(H=p/Math.cos(Math.PI/180*e)),this._point=T.subtract(o.getPixelOrigin()),this._radius=isNaN(H)?0:T.x-o.project([E,t-H]).x,this._radiusY=T.y-v.y}else{var Y=a.unproject(a.project(this._latlng).subtract([this._mRadius,0]));this._point=o.latLngToLayerPoint(this._latlng),this._radius=this._point.x-o.latLngToLayerPoint(Y).x}this._updateBounds()}});function ku(t,e,o){return new $o(t,e,o)}var Oe=Fe.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,e){C(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=1/0,o=null,a=Qi,f,p,v=0,P=this._parts.length;v<P;v++)for(var T=this._parts[v],E=1,H=T.length;E<H;E++){f=T[E-1],p=T[E];var Y=a(t,f,p,!0);Y<e&&(e=Y,o=a(t,f,p))}return o&&(o.distance=Math.sqrt(e)),o}
36,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return br(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=tt(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new Dt,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return ie(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],o=ie(t),a=0,f=t.length;a<f;a++)o?(e[a]=tt(t[a]),this._bounds.extend(e[a])):e[a]=this._convertLatLngs(t[a]);return e},_project:function(){var t=new dt;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t),this._bounds.isValid()&&t.isValid()&&(this._rawPxBounds=t,this._updateBounds())},_updateBounds:function(){var t=this._clickTolerance(),e=new F(t,t);!this._rawPxBounds||(this._pxBounds=new dt([this._rawPxBounds.min.subtract(e),this._rawPxBounds.max.add(e)]))},_projectLatlngs:function(t,e,o){var a=t[0]instanceof mt,f=t.length,p,v;if(a){for(v=[],p=0;p<f;p++)v[p]=this._map.latLngToLayerPoint(t[p]),o.extend(v[p]);e.push(v)}else for(p=0;p<f;p++)this._projectLatlngs(t[p],e,o)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(t))){if(this.options.noClip){this._parts=this._rings;return}var e=this._parts,o,a,f,p,v,P,T;for(o=0,f=0,p=this._rings.length;o<p;o++)for(T=this._rings[o],a=0,v=T.length;a<v-1;a++)P=vr(T[a],T[a+1],t,a,!0),P&&(e[f]=e[f]||[],e[f].push(P[0]),(P[1]!==T[a+1]||a===v-2)&&(e[f].push(P[1]),f++))}},_simplifyPoints:function(){for(var t=this._parts,e=this.options.smoothFactor,o=0,a=t.length;o<a;o++)t[o]=_r(t[o],e)},_update:function(){!this._map||(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,e){var o,a,f,p,v,P,T=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(o=0,p=this._parts.length;o<p;o++)for(P=this._parts[o],a=0,v=P.length,f=v-1;a<v;f=a++)if(!(!e&&a===0)&&mr(t,P[f],P[a])<=T)return!0;return!1}});function Iu(t,e){return new Oe(t,e)}Oe._flat=yr;var Pi=Oe.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length}
36,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return pr(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(t){var e=Oe.prototype._convertLatLngs.call(this,t),o=e.length;return o>=2&&e[0]instanceof mt&&e[0].equals(e[o-1])&&e.pop(),e},_setLatLngs:function(t){Oe.prototype._setLatLngs.call(this,t),ie(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return ie(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,o=new F(e,e);if(t=new dt(t.min.subtract(o),t.max.add(o)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(t))){if(this.options.noClip){this._parts=this._rings;return}for(var a=0,f=this._rings.length,p;a<f;a++)p=dr(this._rings[a],t,!0),p.length&&this._parts.push(p)}},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var e=!1,o,a,f,p,v,P,T,E;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(p=0,T=this._parts.length;p<T;p++)for(o=this._parts[p],v=0,E=o.length,P=E-1;v<E;P=v++)a=o[v],f=o[P],a.y>t.y!=f.y>t.y&&t.x<(f.x-a.x)*(t.y-a.y)/(f.y-a.y)+a.x&&(e=!e);return e||Oe.prototype._containsPoint.call(this,t,!0)}});function Au(t,e){return new Pi(t,e)}var ke=Ee.extend({initialize:function(t,e){C(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e=A(t)?t:t.features,o,a,f;if(e){for(o=0,a=e.length;o<a;o++)f=e[o],(f.geometries||f.geometry||f.features||f.coordinates)&&this.addData(f);return this}var p=this.options;if(p.filter&&!p.filter(t))return this;var v=Rn(t,p);return v?(v.feature=Nn(t),v.defaultOptions=v.options,this.resetStyle(v),p.onEachFeature&&p.onEachFeature(t,v),this.addLayer(v)):this},resetStyle:function(t){return t===void 0?this.eachLayer(this.resetStyle,this):(t.options=h({},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){t.setStyle&&(typeof e=="function"&&(e=e(t.feature)),t.setStyle(e))}});function Rn(t,e){var o=t.type==="Feature"?t.geometry:t,a=o?o.coordinates:null,f=[],p=e&&e.pointToLayer,v=e&&e.coordsToLatLng||qo,P,T,E,H;if(!a&&!o)return null;switch(o.type){case"Point":return P=v(a),xr(p,t,P,e);case"MultiPoint":for(E=0,H=a.length;E<H;E++)P=v(a[E]),f.push(xr(p,t,P,e));return new Ee(f);case"LineString":case"MultiLineString":return T=Dn(a,o.type==="LineString"?0:1,v),new Oe(T,e);case"Polygon":case"MultiPolygon":return T=Dn(a,o.type==="Polygon"?1:2,v),new Pi(T,e);case"GeometryCollection":for(E=0,H=o.geometries.length;E<H;E++){var Y=Rn({geometry:o.geometries[E],type:"Feature",properties:t.properties},e);Y&&f.push(Y)}return new Ee(f);case"FeatureCollection":for(E=0,H=o.features.length;E<H;E++){var at=Rn(o.features[E],e);at&&f.push(at)}return new Ee(f);default:throw new Error("Invalid GeoJSON object.")}}function xr(t,e,o,a){return t?t(e,o):new In(o,a&&a.markersInheritOptions&&a)}function qo(t){return new mt(t[1],t[0],t[2])}function Dn(t,e,o){for(var a=[],f=0,p=t.length,v;f<p;f++)v=e?Dn(t[f],e-1,o):(o||qo)(t[f]),a.push(v);return a}function Xo(t,e){return t=tt(t),t.alt!==void 0?[b(t.lng,e),b(t.lat,e),b(t.alt,e)]:[b(t.lng,e),b(t.lat,e)]}function zn(t,e,o,a){for(var f=[],p=0,v=t.length;p<v;p++)f.push(e?zn(t[p],ie(t[p])?0:e-1,o,a):Xo(t[p],a));return!e&&o&&f.length>0&&f.push(f[0].slice()),f}function Ci(t,e){return t.feature?h({},t.feature,{geometry:e}):Nn(e)}function Nn(t){return t.type==="Feature"||t.type==="FeatureCollection"?t:{type:"Feature",properties:{},geometry:t}}var Yo={toGeoJSON:function(t){return Ci(this,{type:"Point",coordinates:Xo(this.getLatLng(),t)})}};In.include(Yo),$o.include(Yo),An.include(Yo),Oe.include({toGeoJSON:function(t){var e=!ie(this._latlngs),o=zn(this._latlngs,e?1:0,!1,t);return Ci(this,{type:(e?"Multi":"")+"LineString",coordinates:o})}}),Pi.include({toGeoJSON:function(t){var e=!ie(this._latlngs),o=e&&!ie(this._latlngs[0]),a=zn(this._latlngs,o?2:e?1:0,!0,t);return e||(a=[a]),Ci(this,{type:(o?"Multi":"")+"Polygon",coordinates:a})}}),Li.include({toMultiPoint:function(t){var e=[];return this.eachLayer(function(o){e.push(o.toGeoJSON(t).geometry.coordinates)}),Ci(this,{type:"MultiPoint",coordinates:e})},toGeoJSON:function(t){var e=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(e==="MultiPoint")return this.toMultiPoint(t);var o=e==="GeometryCollection",a=[];return this.eachLayer(function(f){if(f.toGeoJSON){var p=f.toGeoJSON(t);if(o)a.push(p.geometry);else{var v=Nn(p);v.type==="FeatureCollection"?a.push.apply(a,v.features):a.push(v)}}}),o?Ci(this,{geometries:a,type:"GeometryCollection"}):{type:"FeatureCollection",features:a}}});function Pr(t,e){return new ke(t,e)}var Ru=Pr,Bn=le.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,e,o){this._url=t,this._bounds=Ct(e),C(this,o)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(ot(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){Pt(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&&bi(this._image),this},bringToBack:function(){return this._map&&wi(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=Ct(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t=this._url.tagName==="IMG",e=this._image=t?this._url:ct("img");if(ot(e,"leaflet-image-layer"),this._zoomAnimated&&ot(e,"leaflet-zoom-animated"),this.options.className&&ot(e,this.options.className),e.onselectstart=m,e.onmousemove=m,e.onload=u(this.fire,this,"load"),e.onerror=u(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(e.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t){this._url=e.src;return}e.src=this._url,e.alt=this.options.alt},_animateZoom:function(t){var e=this._map.getZoomScale(t.zoom),o=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;Qe(this._image,o,e)},_reset:function(){var t=this._image,e=new dt(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),o=e.getSize();Ot(t,e.min),t.style.width=o.x+"px",t.style.height=o.y+"px"},_updateOpacity:function(){ee(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)},getCenter:function(){return this._bounds.getCenter()}}),Du=function(t,e,o){return new Bn(t,e,o)},Cr=Bn.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInl
vendor: 8,872 bytes, line 36
36ine:!0},_initImage:function(){var t=this._url.tagName==="VIDEO",e=this._image=t?this._url:ct("video");if(ot(e,"leaflet-image-layer"),this._zoomAnimated&&ot(e,"leaflet-zoom-animated"),this.options.className&&ot(e,this.options.className),e.onselectstart=m,e.onmousemove=m,e.onloadeddata=u(this.fire,this,"load"),t){for(var o=e.getElementsByTagName("source"),a=[],f=0;f<o.length;f++)a.push(o[f].src);this._url=o.length>0?a:[e.src];return}A(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted,e.playsInline=!!this.options.playsInline;for(var p=0;p<this._url.length;p++){var v=ct("source");v.src=this._url[p],e.appendChild(v)}}});function zu(t,e,o){return new Cr(t,e,o)}var Mr=Bn.extend({_initImage:function(){var t=this._image=this._url;ot(t,"leaflet-image-layer"),this._zoomAnimated&&ot(t,"leaflet-zoom-animated"),this.options.className&&ot(t,this.options.className),t.onselectstart=m,t.onmousemove=m}});function Nu(t,e,o){return new Mr(t,e,o)}var we=le.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(t,e){t&&(t instanceof mt||A(t))?(this._latlng=tt(t),C(this,e)):(C(this,t),this._source=e),this.options.content&&(this._content=this.options.content)},openOn:function(t){return t=arguments.length?t:this._source._map,t.hasLayer(this)||t.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(t){return this._map?this.close():(arguments.length?this._source=t:t=this._source,this._prepareOpen(),this.openOn(t._map)),this},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&ee(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&ee(this._container,1),this.bringToFront(),this.options.interactive&&(ot(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(t){t._fadeAnimated?(ee(this._container,0),this._removeTimeout=setTimeout(u(Pt,void 0,this._container),200)):Pt(this._container),this.options.interactive&&(St(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=tt(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&&bi(this._container),this},bringToBack:function(){return this._map&&wi(this._container),this},_prepareOpen:function(t){var e=this._source;if(!e._map)return!1;if(e instanceof Ee){e=null;var o=this._source._layers;for(var a in o)if(o[a]._map){e=o[a];break}if(!e)return!1;this._source=e}if(!t)if(e.getCenter)t=e.getCenter();else if(e.getLatLng)t=e.getLatLng();else if(e.getBounds)t=e.getBounds().getCenter();else throw new Error("Unable to get source layer LatLng.");return this.setLatLng(t),this._map&&this.update(),!0},_updateContent:function(){if(!!this._content){var t=this._contentNode,e=typeof this._content=="function"?this._content(this._source||this):this._content;if(typeof e=="string")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=X(this.options.offset),o=this._getAnchor();this._zoomAnimated?Ot(this._container,t.add(o)):e=e.add(t).add(o);var a=this._containerBottom=-e.y,f=this._containerLeft=-Math.round(this._containerWidth/2)+e.x;this._container.style.bottom=a+"px",this._container.style.left=f+"px"}},_getAnchor:function(){return[0,0]}});lt.include({_initOverlay:function(t,e,o,a){var f=e;return f instanceof t||(f=new t(a).setContent(e)),o&&f.setLatLng(o),f}}),le.include({_initOverlay:function(t,e,o,a){var f=o;return f instanceof t?(C(f,a),f._source=this):(f=e&&!a?e:new t(a,this),f.setContent(o)),f}});var Zn=we.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(t){return t=arguments.length?t:this._source._map,!t.hasLayer(this)&&t._popup&&t._popup.options.autoClose&&t.removeLayer(t._popup),t._popup=this,we.prototype.openOn.call(this,t)},onAdd:function(t){we.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof Fe||this._source.on("preclick",ei))},onRemove:function(t){we.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof Fe||this._source.off("preclick",ei))},getEvents:function(){var t=we.prototype.getEvents.call(this);return(this.options.closeOnClick!==void 0?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this.close),this.options.keepInView&&(t.moveend=this._adjustPan),t},_initLayout:function(){var t="leaflet-popup",e=this._container=ct("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),o=this._wrapper=ct("div",t+"-content-wrapper",e);if(this._contentNode=ct("div",t+"-content",o),Yi(e),Uo(this._contentNode),et(e,"contextmenu",ei),this._tipContainer=ct("div",t+"-tip-container",e),this._tip=ct("div",t+"-tip",this._tipContainer),this.options.closeButton){var a=this._closeButton=ct("a",t+"-close-button",e);a.setAttribute("role","button"),a.setAttribute("aria-label","Close popup"),a.href="#close",a.innerHTML='<span aria-hidden="true">&#215;</span>',et(a,"click",function(f){zt(f),this.close()},this)}},_updateLayout:function(){var t=this._contentNode,e=t.style;e.width="",e.whiteSpace="nowrap";var o=t.offsetWidth;o=Math.min(o,this.options.maxWidth),o=Math.max(o,this.options.minWidth),e.width=o+1+"px",e.whiteSpace="",e.height="";var a=t.offsetHeight,f=this.options.maxHeight,p="leaflet-popup-scrolled";f&&a>f?(e.height=f+"px",ot(t,p)):St(t,p),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),o=this._getAnchor();Ot(this._container,e.add(o))},_adjustPan:function(){if(!!this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var t=this._map,e=parseInt(Ki(this._container,"marginBottom"),10)||0,o=this._container.offsetHeight+e,a=this._containerWidth,f=new F(this._containerLeft,-o-this._containerBottom);f._add(ti(this._container));var p=t.layerPointToContainerPoint(f),v=X(this.options.autoPanPadding),P=X(this.options.autoPanPaddingTopLeft||v),T=X(this.options.autoPanPaddingBottomRight||v),E=t.getSize(),H=0,Y=0;p.x+a+T.x>E.x&&(H=p.x+a-E.x+T.x),p.x-H-P.x<0&&(H=p.x-P.x),p.y+o+T.y>E.y&&(Y=p.y+o-E.y+T.y),p.y-Y-P.y<0&&(Y=p.y-P.y),(H||Y)&&(this.options.keepInView&&(this._autopanning=!0),t.fire("autopanstart").panBy([H,Y]))}},_getAnchor:function(){return X(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Bu=function(t,e){return new Zn(t,e)};lt.mergeOptions({closePopupOnClick:!0}),lt.include({openPopup:function(t,e,o){return this._initOverlay(Zn,t,e,o).openOn(this),this},closePopup:function(t){return t=arguments.length?t:this._popup,t&&t.close(),this}}),le.include({bindPopup:function(t,e){return this._popup=this._initOverlay(Zn,this._popup,t,e),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t){return this._popup&&(this instanceof Ee||(this._popup._source=this),this._popup._prepareOpen(t||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return this._popup?this._popup.isOpen():!1}
36,setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){if(!(!this._popup||!this._map)){ii(t);var e=t.layer||t.target;if(this._popup._source===e&&!(e instanceof Fe)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng);return}this._popup._source=e,this.openPopup(t.latlng)}},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){t.originalEvent.keyCode===13&&this._openPopup(t)}});var Un=we.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){we.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(t){we.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var t=we.prototype.getEvents.call(this);return this.options.permanent||(t.preclick=this.close),t},_initLayout:function(){var t="leaflet-tooltip",e=t+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=ct("div",e),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+d(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,o,a=this._map,f=this._container,p=a.latLngToContainerPoint(a.getCenter()),v=a.layerPointToContainerPoint(t),P=this.options.direction,T=f.offsetWidth,E=f.offsetHeight,H=X(this.options.offset),Y=this._getAnchor();P==="top"?(e=T/2,o=E):P==="bottom"?(e=T/2,o=0):P==="center"?(e=T/2,o=E/2):P==="right"?(e=0,o=E/2):P==="left"?(e=T,o=E/2):v.x<p.x?(P="right",e=0,o=E/2):(P="left",e=T+(H.x+Y.x)*2,o=E/2),t=t.subtract(X(e,o,!0)).add(H).add(Y),St(f,"leaflet-tooltip-right"),St(f,"leaflet-tooltip-left"),St(f,"leaflet-tooltip-top"),St(f,"leaflet-tooltip-bottom"),ot(f,"leaflet-tooltip-"+P),Ot(f,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&ee(this._container,t)},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(e)},_getAnchor:function(){return X(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}),Zu=function(t,e){return new Un(t,e)};lt.include({openTooltip:function(t,e,o){return this._initOverlay(Un,t,e,o).openOn(this),this},closeTooltip:function(t){return t.close(),this}}),le.include({bindTooltip:function(t,e){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(Un,this._tooltip,t,e),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",o={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?o.add=this._openTooltip:(o.mouseover=this._openTooltip,o.mouseout=this.closeTooltip,o.click=this._openTooltip,this._map?this._addFocusListeners():o.add=this._addFocusListeners),this._tooltip.options.sticky&&(o.mousemove=this._moveTooltip),this[e](o),this._tooltipHandlersAdded=!t}},openTooltip:function(t){return this._tooltip&&(this instanceof Ee||(this._tooltip._source=this),this._tooltip._prepareOpen(t)&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this))),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(t){var e=typeof t.getElement=="function"&&t.getElement();e&&(et(e,"focus",function(){this._tooltip._source=t,this.openTooltip()},this),et(e,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(t){var e=typeof t.getElement=="function"&&t.getElement();e&&e.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(t){if(!(!this._tooltip||!this._map)){if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=!0;var e=this;this._map.once("moveend",function(){e._openOnceFlag=!1,e._openTooltip(t)});return}this._tooltip._source=t.layer||t.target,this.openTooltip(this._tooltip.options.sticky?t.latlng:void 0)}},_moveTooltip:function(t){var e=t.latlng,o,a;this._tooltip.options.sticky&&t.originalEvent&&(o=this._map.mouseEventToContainerPoint(t.originalEvent),a=this._map.containerPointToLayerPoint(o),e=this._map.layerPointToLatLng(
36a)),this._tooltip.setLatLng(e)}});var Tr=xi.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var e=t&&t.tagName==="DIV"?t:document.createElement("div"),o=this.options;if(o.html instanceof Element?(Mn(e),e.appendChild(o.html)):e.innerHTML=o.html!==!1?o.html:"",o.bgPos){var a=X(o.bgPos);e.style.backgroundPosition=-a.x+"px "+-a.y+"px"}return this._setIconStyles(e,"icon"),e},createShadow:function(){return null}});function Uu(t){return new Tr(t)}xi.Default=tn;var en=le.extend({options:{tileSize:256,opacity:1,updateWhenIdle:W.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(t){C(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),Pt(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(bi(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(wi(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(){if(this._map){this._removeAllTiles();var t=this._clampZoom(this._map.getZoom());t!==this._tileZoom&&(this._tileZoom=t,this._updateLevels()),this._update()}return 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=_(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof F?t:new F(t,t)},_updateZIndex:function(){this._container&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var e=this.getPane().children,o=-t(-1/0,1/0),a=0,f=e.length,p;a<f;a++)p=e[a].style.zIndex,e[a]!==this._container&&p&&(o=t(o,+p));isFinite(o)&&(this.options.zIndex=o+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(!!this._map&&!W.ielt9){ee(this._container,this.options.opacity);var t=+new Date,e=!1,o=!1;for(var a in this._tiles){var f=this._tiles[a];if(!(!f.current||!f.loaded)){var p=Math.min(1,(t-f.loaded)/200);ee(f.el,p),p<1?e=!0:(f.active?o=!0:this._onOpaqueTile(f),f.active=!0)}}o&&!this._noPrune&&this._pruneTiles(),e&&(Et(this._fadeFrame),this._fadeFrame=xt(this._updateOpacity,this))}},_onOpaqueTile:m,_initContainer:function(){this._container||(this._container=ct("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!==void 0){for(var o in this._levels)o=Number(o),this._levels[o].el.children.length||o===t?(this._levels[o].el.style.zIndex=e-Math.abs(t-o),this._onUpdateLevel(o)):(Pt(this._levels[o].el),this._removeTilesAtZoom(o),this._onRemoveLevel(o),delete this._levels[o]);var a=this._levels[t],f=this._map;return a||(a=this._levels[t]={},a.el=ct("div","leaflet-tile-container leaflet-zoom-animated",this._container),a.el.style.zIndex=e,a.origin=f.project(f.unproject(f.getPixelOrigin()),t).round(),a.zoom=t,this._setZoomTransform(a,f.getCenter(),f.getZoom()),m(a.el.offsetWidth),this._onCreateLevel(a)),this._level=a,a}},_onUpdateLevel:m,_onRemoveLevel:m,_onCreateLevel:m,_pruneTiles:function(){if(!!this._map){var t,e,o=this._map.getZoom();if(o>this.options.maxZoom||o<this.options.minZoom){this._removeAllTiles();return}for(t in this._tiles)e=this._tiles[t],e.retain=e.current;for(t in this._tiles)if(e=this._tiles[t],e.current&&!e.active){var a=e.coords;this._retainParent(a.x,a.y,a.z,a.z-5)||this._retainChildren(a.x,a.y,a.z,a.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)Pt(this._levels[t].el),this._onRemoveLevel(Number(t)),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(t,e,o,a){var f=Math.floor(t/2),p=Math.floor(e/2),v=o-1,P=new F(+f,+p);P.z=+v;var T=this._tileCoordsToKey(P),E=this._tiles[T];return E&&E.active?(E.retain=!0,!0):(E&&E.loaded&&(E.retain=!0),v>a?this._retainParent(f,p,v,a):!1)},_retainChildren:function(t,e,o,a){for(var f=2*t;f<2*t+2;f++)for(var p=2*e;p<2*e+2;p++){var v=new F(f,p);v.z=o+1;var P=this._tileCoordsToKey(v),T=this._tiles[P];if(T&&T.active){T.retain=!0;continue}else T&&T.loaded&&(T.retain=!0);o+1<a&&this._retainChildren(f,p,o+1,a)}},_resetView:function(t){var e=t&&(t.pinch||t.flyTo);
vendor: 6,993 bytes, line 36
36this._setView(this._map.getCenter(),this._map.getZoom(),e,e)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var e=this.options;return e.minNativeZoom!==void 0&&t<e.minNativeZoom?e.minNativeZoom:e.maxNativeZoom!==void 0&&e.maxNativeZoom<t?e.maxNativeZoom:t},_setView:function(t,e,o,a){var f=Math.round(e);this.options.maxZoom!==void 0&&f>this.options.maxZoom||this.options.minZoom!==void 0&&f<this.options.minZoom?f=void 0:f=this._clampZoom(f);var p=this.options.updateWhenZooming&&f!==this._tileZoom;(!a||p)&&(this._tileZoom=f,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),f!==void 0&&this._update(t),o||this._pruneTiles(),this._noPrune=!!o),this._setZoomTransforms(t,e)},_setZoomTransforms:function(t,e){for(var o in this._levels)this._setZoomTransform(this._levels[o],t,e)},_setZoomTransform:function(t,e,o){var a=this._map.getZoomScale(o,t.zoom),f=t.origin.multiplyBy(a).subtract(this._map._getNewPixelOrigin(e,o)).round();W.any3d?Qe(t.el,f,a):Ot(t.el,f)},_resetGrid:function(){var t=this._map,e=t.options.crs,o=this._tileSize=this.getTileSize(),a=this._tileZoom,f=this._map.getPixelWorldBounds(this._tileZoom);f&&(this._globalTileRange=this._pxBoundsToTileRange(f)),this._wrapX=e.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,e.wrapLng[0]],a).x/o.x),Math.ceil(t.project([0,e.wrapLng[1]],a).x/o.y)],this._wrapY=e.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([e.wrapLat[0],0],a).y/o.x),Math.ceil(t.project([e.wrapLat[1],0],a).y/o.y)]},_onMoveEnd:function(){!this._map||this._map._animatingZoom||this._update()},_getTiledPixelBounds:function(t){var e=this._map,o=e._animatingZoom?Math.max(e._animateToZoom,e.getZoom()):e.getZoom(),a=e.getZoomScale(o,this._tileZoom),f=e.project(t,this._tileZoom).floor(),p=e.getSize().divideBy(a*2);return new dt(f.subtract(p),f.add(p))},_update:function(t){var e=this._map;if(!!e){var o=this._clampZoom(e.getZoom());if(t===void 0&&(t=e.getCenter()),this._tileZoom!==void 0){var a=this._getTiledPixelBounds(t),f=this._pxBoundsToTileRange(a),p=f.getCenter(),v=[],P=this.options.keepBuffer,T=new dt(f.getBottomLeft().subtract([P,-P]),f.getTopRight().add([P,-P]));if(!(isFinite(f.min.x)&&isFinite(f.min.y)&&isFinite(f.max.x)&&isFinite(f.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var E in this._tiles){var H=this._tiles[E].coords;(H.z!==this._tileZoom||!T.contains(new F(H.x,H.y)))&&(this._tiles[E].current=!1)}if(Math.abs(o-this._tileZoom)>1){this._setView(t,o);return}for(var Y=f.min.y;Y<=f.max.y;Y++)for(var at=f.min.x;at<=f.max.x;at++){var Wt=new F(at,Y);if(Wt.z=this._tileZoom,!!this._isValidTile(Wt)){var At=this._tiles[this._tileCoordsToKey(Wt)];At?At.current=!0:v.push(Wt)}}if(v.sort(function(Xt,Ti){return Xt.distanceTo(p)-Ti.distanceTo(p)}),v.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var ne=document.createDocumentFragment();for(at=0;at<v.length;at++)this._addTile(v[at],ne);this._level.el.appendChild(ne)}}}},_isValidTile:function(t){var e=this._map.options.crs;if(!e.infinite){var o=this._globalTileRange;if(!e.wrapLng&&(t.x<o.min.x||t.x>o.max.x)||!e.wrapLat&&(t.y<o.min.y||t.y>o.max.y))return!1}if(!this.options.bounds)return!0;var a=this._tileCoordsToBounds(t);return Ct(this.options.bounds).overlaps(a)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,o=this.getTileSize(),a=t.scaleBy(o),f=a.add(o),p=e.unproject(a,t.z),v=e.unproject(f,t.z);return[p,v]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),o=new Dt(e[0],e[1]);return this.options.noWrap||(o=this._map.wrapLatLngBounds(o)),o},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),o=new F(+e[0],+e[1]);return o.z=+e[2],o},_removeTile:function(t){var e=this._tiles[t];!e||(Pt(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){ot(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=m,t.onmousemove=m,W.ielt9&&this.options.opacity<1&&ee(t,this.options.opacity)},_addTile:function(t,e){var o=this._getTilePos(t),a=this._tileCoordsToKey(t),f=this.createTile(this._wrapCoords(t),u(this._tileReady,this,t));this._initTile(f),this.createTile.length<2&&xt(u(this._tileReady,this,t,null,f)),Ot(f,o),this._tiles[a]={el:f,coords:t,current:!0},e.appendChild(f),this.fire("tileloadstart",{tile:f,coords:t})},_tileReady:function(t,e,o){e&&this.fire("tileerror",{error:e,tile:o,coords:t});var a=this._tileCoordsToKey(t);o=this._tiles[a],o&&(o.loaded=+new Date,this._map._fadeAnimated?(ee(o.el,0),Et(this._fadeFrame),this._fadeFrame=xt(this._updateOpacity,this)):(o.active=!0,this._pruneTiles()),e||(ot(o.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:o.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),W.ielt9||!this._map._fadeAnimated?xt(this._pruneTiles,this):setTimeout(u(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new F(this._wrapX?g(t.x,this._wrapX):t.x,this._wrapY?g(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new dt(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}});function Fu(t){return new en(t)}var Mi=en.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(t,e){this._url=t,e=C(this,e),e.detectRetina&&W.retina&&e.maxZoom>0?(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom=Math.min(e.maxZoom,e.minZoom+1)):(e.zoomOffset++,e.maxZoom=Math.max(e.minZoom,e.maxZoom-1)),e.minZoom=Math.max(0,e.minZoom)):e.zoomReverse?e.minZoom=Math.min(e.maxZoom,e.minZoom):e.maxZoom=Math.max(e.minZoom,e.maxZoom),typeof e.subdomains=="string"&&(e.subdomains=e.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&e===void 0&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var o=document.createElement("img");return et(o,"load",u(this._tileOnLoad,this,e,o)),et(o,"error",u(this._tileOnError,this,e,o)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(o.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(o.referrerPolicy=this.options.referrerPolicy),o.alt="",o.src=this.getTileUrl(t),o},getTileUrl:function(t){var e={r:W.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var o=this._globalTileRange.max.y-t.y;this.options.tms&&(e.y=o),e["-y"]=o}return j(this._url,h(e,this.options))}
vendor: 6,724 bytes, line 36
36,_tileOnLoad:function(t,e){W.ielt9?setTimeout(u(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,o){var a=this.options.errorTileUrl;a&&e.getAttribute("src")!==a&&(e.src=a),t(o,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom,o=this.options.zoomReverse,a=this.options.zoomOffset;return o&&(t=e-t),t+a},_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)if(this._tiles[t].coords.z!==this._tileZoom&&(e=this._tiles[t].el,e.onload=m,e.onerror=m,!e.complete)){e.src=Q;var o=this._tiles[t].coords;Pt(e),delete this._tiles[t],this.fire("tileabort",{tile:e,coords:o})}},_removeTile:function(t){var e=this._tiles[t];if(!!e)return e.el.setAttribute("src",Q),en.prototype._removeTile.call(this,t)},_tileReady:function(t,e,o){if(!(!this._map||o&&o.getAttribute("src")===Q))return en.prototype._tileReady.call(this,t,e,o)}});function Sr(t,e){return new Mi(t,e)}var Er=Mi.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 o=h({},this.defaultWmsParams);for(var a in e)a in this.options||(o[a]=e[a]);e=C(this,e);var f=e.detectRetina&&W.retina?2:1,p=this.getTileSize();o.width=p.x*f,o.height=p.y*f,this.wmsParams=o},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,Mi.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),o=this._crs,a=yt(o.project(e[0]),o.project(e[1])),f=a.min,p=a.max,v=(this._wmsVersion>=1.3&&this._crs===wr?[f.y,f.x,p.y,p.x]:[f.x,f.y,p.x,p.y]).join(","),P=Mi.prototype.getTileUrl.call(this,t);return P+B(this.wmsParams,P,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+v},setParams:function(t,e){return h(this.wmsParams,t),e||this.redraw(),this}});function Hu(t,e){return new Er(t,e)}Mi.WMS=Er,Sr.wms=Hu;var Ie=le.extend({options:{padding:.1},initialize:function(t){C(this,t),d(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),ot(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var o=this._map.getZoomScale(e,this._zoom),a=this._map.getSize().multiplyBy(.5+this.options.padding),f=this._map.project(this._center,e),p=a.multiplyBy(-o).add(f).subtract(this._map._getNewPixelOrigin(t,e));W.any3d?Qe(this._container,p,o):Ot(this._container,p)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var t in 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(),o=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new dt(o,o.add(e.multiplyBy(1+t*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Or=Ie.extend({options:{tolerance:0},getEvents:function(){var t=Ie.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Ie.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");et(t,"mousemove",this._onMouseMove,this),et(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),et(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){Et(this._redrawRequest),delete this._ctx,Pt(this._container),vt(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var t;this._redrawBounds=null;for(var e in this._layers)t=this._layers[e],t._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Ie.prototype._update.call(this);var t=this._bounds,e=this._container,o=t.getSize(),a=W.retina?2:1;Ot(e,t.min),e.width=a*o.x,e.height=a*o.y,e.style.width=o.x+"px",e.style.height=o.y+"px",W.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){Ie.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[d(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,o=e.next,a=e.prev;o?o.prev=a:this._drawLast=a,a?a.next=o:this._drawFirst=o,delete t._order,delete this._layers[d(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(typeof t.options.dashArray=="string"){var e=t.options.dashArray.split(/[, ]+/),o=[],a,f;for(f=0;f<e.length;f++){if(a=Number(e[f]),isNaN(a))return;o.push(a)}t.options._dashArray=o}else t.options._dashArray=t.options.dashArray},_requestRedraw:function(t){!this._map||(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||xt(this._redraw,this))},_extendRedrawBounds:function(t){if(t._pxBounds){var e=(t.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new dt,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.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore(
vendor: 7,697 bytes, line 36
36)},_draw:function(){var t,e=this._redrawBounds;if(this._ctx.save(),e){var o=e.getSize();this._ctx.beginPath(),this._ctx.rect(e.min.x,e.min.y,o.x,o.y),this._ctx.clip()}this._drawing=!0;for(var a=this._drawFirst;a;a=a.next)t=a.layer,(!e||t._pxBounds&&t._pxBounds.intersects(e))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,e){if(!!this._drawing){var o,a,f,p,v=t._parts,P=v.length,T=this._ctx;if(!!P){for(T.beginPath(),o=0;o<P;o++){for(a=0,f=v[o].length;a<f;a++)p=v[o][a],T[a?"lineTo":"moveTo"](p.x,p.y);e&&T.closePath()}this._fillStroke(T,t)}}},_updateCircle:function(t){if(!(!this._drawing||t._empty())){var e=t._point,o=this._ctx,a=Math.max(Math.round(t._radius),1),f=(Math.max(Math.round(t._radiusY),1)||a)/a;f!==1&&(o.save(),o.scale(1,f)),o.beginPath(),o.arc(e.x,e.y/f,a,0,Math.PI*2,!1),f!==1&&o.restore(),this._fillStroke(o,t)}},_fillStroke:function(t,e){var o=e.options;o.fill&&(t.globalAlpha=o.fillOpacity,t.fillStyle=o.fillColor||o.color,t.fill(o.fillRule||"evenodd")),o.stroke&&o.weight!==0&&(t.setLineDash&&t.setLineDash(e.options&&e.options._dashArray||[]),t.globalAlpha=o.opacity,t.lineWidth=o.weight,t.strokeStyle=o.color,t.lineCap=o.lineCap,t.lineJoin=o.lineJoin,t.stroke())},_onClick:function(t){for(var e=this._map.mouseEventToLayerPoint(t),o,a,f=this._drawFirst;f;f=f.next)o=f.layer,o.options.interactive&&o._containsPoint(e)&&(!(t.type==="click"||t.type==="preclick")||!this._map._draggableMoved(o))&&(a=o);this._fireEvent(a?[a]:!1,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&&(St(this._container,"leaflet-interactive"),this._fireEvent([e],t,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(t,e){if(!this._mouseHoverThrottled){for(var o,a,f=this._drawFirst;f;f=f.next)o=f.layer,o.options.interactive&&o._containsPoint(e)&&(a=o);a!==this._hoveredLayer&&(this._handleMouseOut(t),a&&(ot(this._container,"leaflet-interactive"),this._fireEvent([a],t,"mouseover"),this._hoveredLayer=a)),this._fireEvent(this._hoveredLayer?[this._hoveredLayer]:!1,t),this._mouseHoverThrottled=!0,setTimeout(u(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(t,e,o){this._map._fireDOMEvent(e,o||e.type,t)},_bringToFront:function(t){var e=t._order;if(!!e){var o=e.next,a=e.prev;if(o)o.prev=a;else return;a?a.next=o:o&&(this._drawFirst=o),e.prev=this._drawLast,this._drawLast.next=e,e.next=null,this._drawLast=e,this._requestRedraw(t)}},_bringToBack:function(t){var e=t._order;if(!!e){var o=e.next,a=e.prev;if(a)a.next=o;else return;o?o.prev=a:a&&(this._drawLast=a),e.prev=null,e.next=this._drawFirst,this._drawFirst.prev=e,this._drawFirst=e,this._requestRedraw(t)}}});function kr(t){return W.canvas?new Or(t):null}var nn=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return document.createElement("<lvml:"+t+' class="lvml">')}}catch{}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),Vu={_initContainer:function(){this._container=ct("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Ie.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=nn("shape");ot(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=nn("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[d(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;Pt(e),t.removeInteractiveTarget(e),delete this._layers[d(t)]},_updateStyle:function(t){var e=t._stroke,o=t._fill,a=t.options,f=t._container;f.stroked=!!a.stroke,f.filled=!!a.fill,a.stroke?(e||(e=t._stroke=nn("stroke")),f.appendChild(e),e.weight=a.weight+"px",e.color=a.color,e.opacity=a.opacity,a.dashArray?e.dashStyle=A(a.dashArray)?a.dashArray.join(" "):a.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=a.lineCap.replace("butt","flat"),e.joinstyle=a.lineJoin):e&&(f.removeChild(e),t._stroke=null),a.fill?(o||(o=t._fill=nn("fill")),f.appendChild(o),o.color=a.fillColor||a.color,o.opacity=a.fillOpacity):o&&(f.removeChild(o),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),o=Math.round(t._radius),a=Math.round(t._radiusY||o);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+o+","+a+" 0,"+65535*360)},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){bi(t._container)},_bringToBack:function(t){wi(t._container)}},Fn=W.vml?nn:O,on=Ie.extend({_initContainer:function(){this._container=Fn("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Fn("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){Pt(this._container),vt(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Ie.prototype._update.call(this);var t=this._bounds,e=t.getSize(),o=this._container;(!this._svgSize||!this._svgSize.equals(e))&&(this._svgSize=e,o.setAttribute("width",e.x),o.setAttribute("height",e.y)),Ot(o,t.min),o.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=Fn("path");t.options.className&&ot(e,t.options.className),t.options.interactive&&ot(e,"leaflet-interactive"),this._updateStyle(t),this._layers[d(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){Pt(t._path),t.removeInteractiveTarget(t._path),delete this._layers[d(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,o=t.options;!e||(o.stroke?(e.setAttribute("stroke",o.color),e.setAttribute("stroke-opacity",o.opacity),e.setAttribute("stroke-width",o.weight),e.setAttribute("stroke-linecap",o.lineCap),e.setAttribute("stroke-linejoin",o.lineJoin),o.dashArray?e.setAttribute("stroke-dasharray",o.dashArray):e.removeAttribute("stroke-dasharray"),o.dashOffset?e.setAttribute("stroke-dashoffset",o.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),o.fill?(e.setAttribute("fill",o.fillColor||o.color),e.setAttribute("fill-opacity",o.fillOpacity),e.setAttribute("fill-rule",o.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,k(t._parts,e))},_updateCircle:function(t){var e=t._point,o=Math.max(Math.round(t._radius),1),a=Math.max(Math.round(t._radiusY),1)||o,f="a"+o+","+a+" 0 1,0 ",p=t._empty()?"M0 0":"M"+(e.x-o)+","+e.y+f+o*2+",0 "+f+-o*2+",0 ";this._setPath(t,p)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){bi(t._path)},_bringToBack:function(t){wi(t._path)}});W.vml&&on.include(Vu);function Ir(t){return W.svg||W.vml?new on(t):null}lt.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if(t==="overlayPane"||t===void 0)return!1;var e=this._paneRenderers[t];return e===void 0&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&kr(t)||Ir(t)}});var Ar=Pi.extend({initialize:function(t,e){Pi.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))}
vendor: 12,336 bytes, line 36
36,_boundsToLatLngs:function(t){return t=Ct(t),[t.getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});function ju(t,e){return new Ar(t,e)}on.create=Fn,on.pointsToPath=k,ke.geometryToLayer=Rn,ke.coordsToLatLng=qo,ke.coordsToLatLngs=Dn,ke.latLngToCoords=Xo,ke.latLngsToCoords=zn,ke.getFeature=Ci,ke.asFeature=Nn,lt.mergeOptions({boxZoom:!0});var Rr=be.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){et(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){vt(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){Pt(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){this._resetStateTimeout!==0&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||t.which!==1&&t.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),$i(),Io(),this._startPoint=this._map.mouseEventToContainerPoint(t),et(document,{contextmenu:ii,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=ct("div","leaflet-zoom-box",this._container),ot(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new dt(this._point,this._startPoint),o=e.getSize();Ot(this._box,e.min),this._box.style.width=o.x+"px",this._box.style.height=o.y+"px"},_finish:function(){this._moved&&(Pt(this._box),St(this._container,"leaflet-crosshair")),qi(),Ao(),vt(document,{contextmenu:ii,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if(!(t.which!==1&&t.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(u(this._resetState,this),0);var e=new Dt(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){t.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});lt.addInitHook("addHandler","boxZoom",Rr),lt.mergeOptions({doubleClickZoom:!0});var Dr=be.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,o=e.getZoom(),a=e.options.zoomDelta,f=t.originalEvent.shiftKey?o-a:o+a;e.options.doubleClickZoom==="center"?e.setZoom(f):e.setZoomAround(t.containerPoint,f)}});lt.addInitHook("addHandler","doubleClickZoom",Dr),lt.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var zr=be.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new Ue(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}ot(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){St(this._map._container,"leaflet-grab"),St(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=Ct(this._map.options.maxBounds);this._offsetLimit=yt(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,o=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(o),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.x<e.min.x&&(t.x=this._viscousLimit(t.x,e.min.x)),t.y<e.min.y&&(t.y=this._viscousLimit(t.y,e.min.y)),t.x>e.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),o=this._initialWorldOffset,a=this._draggable._newPos.x,f=(a-e+o)%t+e-o,p=(a+e+o)%t-e-o,v=Math.abs(f+o)<Math.abs(p+o)?f:p;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=v},_onDragEnd:function(t){var e=this._map,o=e.options,a=!o.inertia||t.noInertia||this._times.length<2;if(e.fire("dragend",t),a)e.fire("moveend");else{this._prunePositions(+new Date);var f=this._lastPos.subtract(this._positions[0]),p=(this._lastTime-this._times[0])/1e3,v=o.easeLinearity,P=f.multiplyBy(v/p),T=P.distanceTo([0,0]),E=Math.min(o.inertiaMaxSpeed,T),H=P.multiplyBy(E/T),Y=E/(o.inertiaDeceleration*v),at=H.multiplyBy(-Y/2).round();!at.x&&!at.y?e.fire("moveend"):(at=e._limitOffset(at,e.options.maxBounds),xt(function(){e.panBy(at,{duration:Y,easeLinearity:v,noMoveStart:!0,animate:!0})}))}}});lt.addInitHook("addHandler","dragging",zr),lt.mergeOptions({keyboard:!0,keyboardPanDelta:80});var Nr=be.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"),et(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(),vt(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var t=document.body,e=document.documentElement,o=t.scrollTop||e.scrollTop,a=t.scrollLeft||e.scrollLeft;this._map._container.focus(),window.scrollTo(a,o)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){var e=this._panKeys={},o=this.keyCodes,a,f;for(a=0,f=o.left.length;a<f;a++)e[o.left[a]]=[-1*t,0];for(a=0,f=o.right.length;a<f;a++)e[o.right[a]]=[t,0];for(a=0,f=o.down.length;a<f;a++)e[o.down[a]]=[0,t];for(a=0,f=o.up.length;a<f;a++)e[o.up[a]]=[0,-1*t]},_setZoomDelta:function(t){var e=this._zoomKeys={},o=this.keyCodes,a,f;for(a=0,f=o.zoomIn.length;a<f;a++)e[o.zoomIn[a]]=t;for(a=0,f=o.zoomOut.length;a<f;a++)e[o.zoomOut[a]]=-t},_addHooks:function(){et(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){vt(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var e=t.keyCode,o=this._map,a;if(e in this._panKeys){if(!o._panAnim||!o._panAnim._inProgress)if(a=this._panKeys[e],t.shiftKey&&(a=X(a).multiplyBy(3)),o.options.maxBounds&&(a=o._limitOffset(X(a),o.options.maxBounds)),o.options.worldCopyJump){var f=o.wrapLatLng(o.unproject(o.project(o.getCenter()).add(a)));o.panTo(f)}else o.panBy(a)}else if(e in this._zoomKeys)o.setZoom(o.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[e]);else if(e===27&&o._popup&&o._popup.options.closeOnEscapeKey)o.closePopup();else return;ii(t)}}});lt.addInitHook("addHandler","keyboard",Nr),lt.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var Br=be.extend({addHooks:function(){et(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){vt(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var e=lr(t),o=this._map.options.wheelDebounceTime;this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var a=Math.max(o-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(u(this._performZoom,this),a),ii(t)},_performZoom:function(){var t=this._map,e=t.getZoom(),o=this._map.options.zoomSnap||0;t._stop();var a=this._delta/(this._map.options.wheelPxPerZoomLevel*4),f=4*Math.log(2/(1+Math.exp(-Math.abs(a))))/Math.LN2,p=o?Math.ceil(f/o)*o:f,v=t._limitZoom(e+(this._delta>0?p:-p))-e;this._delta=0,this._startTime=null,v&&(t.options.scrollWheelZoom==="center"?t.setZoom(e+v):t.setZoomAround(this._lastMousePos,e+v))}});lt.addInitHook("addHandler","scrollWheelZoom",Br);var Gu=600;lt.mergeOptions({tapHold:W.touchNative&&W.safari&&W.mobile,tapTolerance:15});var Zr=be.extend({addHooks:function(){et(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){vt(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(clearTimeout(this._holdTimeout),t.touches.length===1){var e=t.touches[0];this._startPos=this._newPos=new F(e.clientX,e.clientY),this._holdTimeout=setTimeout(u(function(){this._cancel(),this._isTapValid()&&(et(document,"touchend",zt),et(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",e))},this),Gu),et(document,"touchend touchcancel contextmenu",this._cancel,this),et(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function t(){vt(document,"touchend",zt),vt(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),vt(document,"touchend touchcancel contextmenu",this._cancel,this),vt(document,"touchmove",this._onMove,this)},_onMove:function(t){var e=t.touches[0];this._newPos=new F(e.clientX,e.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,e){var o=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:e.screenX,screenY:e.screenY,clientX:e.clientX,clientY:e.clientY});o._simulated=!0,e.target.dispatchEvent(o)}});lt.addInitHook("addHandler","tapHold",Zr),lt.mergeOptions({touchZoom:W.touch,bounceAtZoomLimits:!0});var Ur=be.extend({addHooks:function(){ot(this._map._container,"leaflet-touch-zoom"),et(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){St(this._map._container,"leaflet-touch-zoom"),vt(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(!(!t.touches||t.touches.length!==2||e._animatingZoom||this._zooming)){var o=e.mouseEventToContainerPoint(t.touches[0]),a=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),e.options.touchZoom!=="center"&&(this._pinchStartLatLng=e.containerPointToLatLng(o.add(a)._divideBy(2))),this._startDist=o.distanceTo(a),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),et(document,"touchmove",this._onTouchMove,this),et(document,"touchend touchcancel",this._onTouchEnd,this),zt(t)}},_onTouchMove:function(t){if(!(!t.touches||t.touches.length!==2||!this._zooming)){var e=this._map,o=e.mouseEventToContainerPoint(t.touches[0]),a=e.mouseEventToContainerPoint(t.touches[1]),f=o.distanceTo(a)/this._startDist;if(this._zoom=e.getScaleZoom(f,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoom<e.getMin
36Zoom()&&f<1||this._zoom>e.getMaxZoom()&&f>1)&&(this._zoom=e._limitZoom(this._zoom)),e.options.touchZoom==="center"){if(this._center=this._startLatLng,f===1)return}else{var p=o._add(a)._divideBy(2)._subtract(this._centerPoint);if(f===1&&p.x===0&&p.y===0)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(p),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),Et(this._animRequest);var v=u(e._move,e,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=xt(v,this,!0),zt(t)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,Et(this._animRequest),vt(document,"touchmove",this._onTouchMove,this),vt(document,"touchend touchcancel",this._onTouchEnd,this),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))}});lt.addInitHook("addHandler","touchZoom",Ur),lt.BoxZoom=Rr,lt.DoubleClickZoom=Dr,lt.Drag=zr,lt.Keyboard=Nr,lt.ScrollWheelZoom=Br,lt.TapHold=Zr,lt.TouchZoom=Ur,s.Bounds=dt,s.Browser=W,s.CRS=$t,s.Canvas=Or,s.Circle=$o,s.CircleMarker=An,s.Class=Zt,s.Control=ae,s.DivIcon=Tr,s.DivOverlay=we,s.DomEvent=uu,s.DomUtil=au,s.Draggable=Ue,s.Evented=ft,s.FeatureGroup=Ee,s.GeoJSON=ke,s.GridLayer=en,s.Handler=be,s.Icon=xi,s.ImageOverlay=Bn,s.LatLng=mt,s.LatLngBounds=Dt,s.Layer=le,s.LayerGroup=Li,s.LineUtil=Lu,s.Map=lt,s.Marker=In,s.Mixin=mu,s.Path=Fe,s.Point=F,s.PolyUtil=gu,s.Polygon=Pi,s.Polyline=Oe,s.Popup=Zn,s.PosAnimation=ur,s.Projection=xu,s.Rectangle=Ar,s.Renderer=Ie,s.SVG=on,s.SVGOverlay=Mr,s.TileLayer=Mi,s.Tooltip=Un,s.Transformation=Je,s.Util=Me,s.VideoOverlay=Cr,s.bind=u,s.bounds=yt,s.canvas=kr,s.circle=ku,s.circleMarker=Ou,s.control=Ji,s.divIcon=Uu,s.extend=h,s.featureGroup=Tu,s.geoJSON=Pr,s.geoJson=Ru,s.gridLayer=Fu,s.icon=Su,s.imageOverlay=Du,s.latLng=tt,s.latLngBounds=Ct,s.layerGroup=Mu,s.map=hu,s.marker=Eu,s.point=X,s.polygon=Au,s.polyline=Iu,s.popup=Bu,s.rectangle=ju,s.setOptions=C,s.stamp=d,s.svg=Ir,s.svgOverlay=Nu,s.tileLayer=Sr,s.tooltip=Zu,s.transformation=y,s.version=l,s.videoOverlay=zu;var Wu=window.L;s.noConflict=function(){return window.L=Wu,this},window.L=s})})(oe,oe.exports);var Aa={exports:{}};(function(i,n){(function(s,l){l(n)})(Sl,function(s){var l=L.MarkerClusterGroup=L.FeatureGroup.extend({options:{maxClusterRadius:80,iconCreateFunction:null,clusterPane:L.Marker.prototype.options.pane,spiderfyOnEveryZoom:!1,spiderfyOnMaxZoom:!0,showCoverageOnHover:!0,zoomToBoundsOnClick:!0,singleMarkerMode:!1,disableClusteringAtZoom:null,removeOutsideVisibleBounds:!0,animate:!0,animateAddingMarkers:!1,spiderfyShapePositions:null,spiderfyDistanceMultiplier:1,spiderLegPolylineOptions:{weight:1.5,color:"#222",opacity:.5},chunkedLoading:!1,chunkInterval:200,chunkDelay:50,chunkProgress:null,polygonOptions:{}},initialize:function(r){L.Util.setOptions(this,r),this.options.iconCreateFunction||(this.options.iconCreateFunction=this._defaultIconCreateFunction),this._featureGroup=L.featureGroup(),this._featureGroup.addEventParent(this),this._nonPointGroup=L.featureGroup(),this._nonPointGroup.addEventParent(this),this._inZoomAnimation=0,this._needsClustering=[],this._needsRemoving=[],this._currentShownBounds=null,this._queue=[],this._childMarkerEventHandlers={dragstart:this._childMarkerDragStart,move:this._childMarkerMoved,dragend:this._childMarkerDragEnd};var u=L.DomUtil.TRANSITION&&this.options.animate;L.extend(this,u?this._withAnimation:this._noAnimation),this._markerCluster=u?L.MarkerCluster:L.MarkerClusterNonAnimated},addLayer:function(r){if(r instanceof L.LayerGroup)return this.addLayers([r]);if(!r.getLatLng)return this._nonPointGroup.addLayer(r),this.fire("layeradd",{layer:r}),this;if(!this._map)return this._needsClustering.push(r),this.fire("layeradd",{layer:r}),this;if(this.hasLayer(r))return this;this._unspiderfy&&this._unspiderfy(),this._addLayer(r,this._maxZoom),this.fire("layeradd",{layer:r}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons();var u=r,c=this._zoom;if(r.__parent)for(;u.__parent._zoom>=c;)u=u.__parent;
36return this._currentShownBounds.contains(u.getLatLng())&&(this.options.animateAddingMarkers?this._animationAddLayer(r,u):this._animationAddLayerNonAnimated(r,u)),this},removeLayer:function(r){return r instanceof L.LayerGroup?this.removeLayers([r]):r.getLatLng?this._map?r.__parent?(this._unspiderfy&&(this._unspiderfy(),this._unspiderfyLayer(r)),this._removeLayer(r,!0),this.fire("layerremove",{layer:r}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),r.off(this._childMarkerEventHandlers,this),this._featureGroup.hasLayer(r)&&(this._featureGroup.removeLayer(r),r.clusterShow&&r.clusterShow()),this):this:(!this._arraySplice(this._needsClustering,r)&&this.hasLayer(r)&&this._needsRemoving.push({layer:r,latlng:r._latlng}),this.fire("layerremove",{layer:r}),this):(this._nonPointGroup.removeLayer(r),this.fire("layerremove",{layer:r}),this)},addLayers:function(r,u){if(!L.Util.isArray(r))return this.addLayer(r);var c=this._featureGroup,d=this._nonPointGroup,_=this.options.chunkedLoading,g=this.options.chunkInterval,m=this.options.chunkProgress,b=r.length,w=0,M=!0,C;if(this._map){var B=new Date().getTime(),R=L.bind(function(){var A=new Date().getTime();for(this._map&&this._unspiderfy&&this._unspiderfy();w<b;w++){if(_&&w%200===0){var Z=new Date().getTime()-A;if(Z>g)break}if(C=r[w],C instanceof L.LayerGroup){M&&(r=r.slice(),M=!1),this._extractNonGroupLayers(C,r),b=r.length;continue}if(!C.getLatLng){d.addLayer(C),u||this.fire("layeradd",{layer:C});continue}if(!this.hasLayer(C)&&(this._addLayer(C,this._maxZoom),u||this.fire("layeradd",{layer:C}),C.__parent&&C.__parent.getChildCount()===2)){var Q=C.__parent.getAllChildMarkers(),st=Q[0]===C?Q[1]:Q[0];c.removeLayer(st)}}m&&m(w,b,new Date().getTime()-B),w===b?(this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds)):setTimeout(R,this.options.chunkDelay)},this);R()}else for(var j=this._needsClustering;w<b;w++){if(C=r[w],C instanceof L.LayerGroup){M&&(r=r.slice(),M=!1),this._extractNonGroupLayers(C,r),b=r.length;continue}if(!C.getLatLng){d.addLayer(C);continue}this.hasLayer(C)||j.push(C)}return this},removeLayers:function(r){var u,c,d=r.length,_=this._featureGroup,g=this._nonPointGroup,m=!0;if(!this._map){for(u=0;u<d;u++){if(c=r[u],c instanceof L.LayerGroup){m&&(r=r.slice(),m=!1),this._extractNonGroupLayers(c,r),d=r.length;continue}this._arraySplice(this._needsClustering,c),g.removeLayer(c),this.hasLayer(c)&&this._needsRemoving.push({layer:c,latlng:c._latlng}),this.fire("layerremove",{layer:c})}return this}if(this._unspiderfy){this._unspiderfy();var b=r.slice(),w=d;for(u=0;u<w;u++){if(c=b[u],c instanceof L.LayerGroup){this._extractNonGroupLayers(c,b),w=b.length;continue}this._unspiderfyLayer(c)}}for(u=0;u<d;u++){if(c=r[u],c instanceof L.LayerGroup){m&&(r=r.slice(),m=!1),this._extractNonGroupLayers(c,r),d=r.length;continue}if(!c.__parent){g.removeLayer(c),this.fire("layerremove",{layer:c});continue}this._removeLayer(c,!0,!0),this.fire("layerremove",{layer:c}),_.hasLayer(c)&&(_.removeLayer(c),c.clusterShow&&c.clusterShow())}return this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds),this},clearLayers:function(){return this._map||(this._needsClustering=[],this._needsRemoving=[],delete this._gridClusters,delete this._gridUnclustered),this._noanimationUnspiderfy&&this._noanimationUnspiderfy(),this._featureGroup.clearLayers(),this._nonPointGroup.clearLayers(),this.eachLayer(function(r){r.off(this._childMarkerEventHandlers,this),delete r.__parent},this),this._map&&this._generateInitialClusters(),this},getBounds:function(){var r=new L.LatLngBounds;this._topClusterLevel&&r.extend(this._topClusterLevel._bounds);for(var u=this._needsClustering.length-1;u>=0;u--)r.extend(this._needsClustering[u].getLatLng());return r.extend(this._nonPointGroup.getBounds()),r},eachLayer:function(r,u){var c=this._needsClustering.slice(),d=this._needsRemoving,_,g,m;for(this._topClusterLevel&&this._topClusterLevel.getAllChildMarkers(c),g=c.length-1;g>=0;g--){for(_=!0,m=d.length-1;m>=0;m--)if(d[m].layer===c[g]){_=!1;break}_&&r.call(u,c[g])}this._nonPointGroup.eachLayer(r,u)},getLayers:function(){var r=[];return this.eachLayer(function(u){r.push(u)}),r},getLayer:function(r){var u=null;return r=parseInt(r,10),this.eachLayer(function(c){L.stamp(c)===r&&(u=c)}),u},hasLayer:function(r){if(!r)return!1;var u,c=this._needsClustering;for(u=c.length-1;u>=0;u--)if(c[u]===r)return!0;for(c=this._needsRemoving,u=c.length-1;u>=0;u--)if(c[u].layer===r)return!1;return!!(r.__parent&&r.__parent._group===this)||this._nonPointGroup.hasLayer(r)},zoomToShowLayer:function(r,u){var c=this._map;typeof u!="function"&&(u=function(){});var d=function(){(c.hasLayer(r)||c.hasLayer(r.__parent))&&!this._inZoomAnimation&&(this._map.off("moveend",d,this),this.off("animationend",d,this),c.hasLayer(r)?u():r.__parent._icon&&(this.once("spiderfied",u,this),r.__parent.spiderfy()))};r._icon&&this._map.getBounds().contains(r.getLatLng())?u():r.__parent._zoom<Math.round(this._map._zoom)?(this._map.on("moveend",d,this),this._map.panTo(r.getLatLng())):(this._map.on("moveend",d,this),this.on("animationend",d,this),r.__parent.zoomToBounds())},onAdd:function(r){this._map=r;var u,c,d;if(!isFinite(this._map.getMaxZoom()))throw"Map has no maxZoom specified";
vendor: 5,074 bytes, line 36
36for(this._featureGroup.addTo(r),this._nonPointGroup.addTo(r),this._gridClusters||this._generateInitialClusters(),this._maxLat=r.options.crs.projection.MAX_LATITUDE,u=0,c=this._needsRemoving.length;u<c;u++)d=this._needsRemoving[u],d.newlatlng=d.layer._latlng,d.layer._latlng=d.latlng;for(u=0,c=this._needsRemoving.length;u<c;u++)d=this._needsRemoving[u],this._removeLayer(d.layer,!0),d.layer._latlng=d.newlatlng;this._needsRemoving=[],this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds(),this._map.on("zoomend",this._zoomEnd,this),this._map.on("moveend",this._moveEnd,this),this._spiderfierOnAdd&&this._spiderfierOnAdd(),this._bindEvents(),c=this._needsClustering,this._needsClustering=[],this.addLayers(c,!0)},onRemove:function(r){r.off("zoomend",this._zoomEnd,this),r.off("moveend",this._moveEnd,this),this._unbindEvents(),this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim",""),this._spiderfierOnRemove&&this._spiderfierOnRemove(),delete this._maxLat,this._hideCoverage(),this._featureGroup.remove(),this._nonPointGroup.remove(),this._featureGroup.clearLayers(),this._map=null},getVisibleParent:function(r){for(var u=r;u&&!u._icon;)u=u.__parent;return u||null},_arraySplice:function(r,u){for(var c=r.length-1;c>=0;c--)if(r[c]===u)return r.splice(c,1),!0},_removeFromGridUnclustered:function(r,u){for(var c=this._map,d=this._gridUnclustered,_=Math.floor(this._map.getMinZoom());u>=_&&d[u].removeObject(r,c.project(r.getLatLng(),u));u--);},_childMarkerDragStart:function(r){r.target.__dragStart=r.target._latlng},_childMarkerMoved:function(r){if(!this._ignoreMove&&!r.target.__dragStart){var u=r.target._popup&&r.target._popup.isOpen();this._moveChild(r.target,r.oldLatLng,r.latlng),u&&r.target.openPopup()}},_moveChild:function(r,u,c){r._latlng=u,this.removeLayer(r),r._latlng=c,this.addLayer(r)},_childMarkerDragEnd:function(r){var u=r.target.__dragStart;delete r.target.__dragStart,u&&this._moveChild(r.target,u,r.target._latlng)},_removeLayer:function(r,u,c){var d=this._gridClusters,_=this._gridUnclustered,g=this._featureGroup,m=this._map,b=Math.floor(this._map.getMinZoom());u&&this._removeFromGridUnclustered(r,this._maxZoom);var w=r.__parent,M=w._markers,C;for(this._arraySplice(M,r);w&&(w._childCount--,w._boundsNeedUpdate=!0,!(w._zoom<b));)u&&w._childCount<=1?(C=w._markers[0]===r?w._markers[1]:w._markers[0],d[w._zoom].removeObject(w,m.project(w._cLatLng,w._zoom)),_[w._zoom].addObject(C,m.project(C.getLatLng(),w._zoom)),this._arraySplice(w.__parent._childClusters,w),w.__parent._markers.push(C),C.__parent=w.__parent,w._icon&&(g.removeLayer(w),c||g.addLayer(C))):w._iconNeedsUpdate=!0,w=w.__parent;delete r.__parent},_isOrIsParent:function(r,u){for(;u;){if(r===u)return!0;u=u.parentNode}return!1},fire:function(r,u,c){if(u&&u.layer instanceof L.MarkerCluster){if(u.originalEvent&&this._isOrIsParent(u.layer._icon,u.originalEvent.relatedTarget))return;r="cluster"+r}L.FeatureGroup.prototype.fire.call(this,r,u,c)},listens:function(r,u){return L.FeatureGroup.prototype.listens.call(this,r,u)||L.FeatureGroup.prototype.listens.call(this,"cluster"+r,u)},_defaultIconCreateFunction:function(r){var u=r.getChildCount(),c=" marker-cluster-";return u<10?c+="small":u<100?c+="medium":c+="large",new L.DivIcon({html:"<div><span>"+u+"</span></div>",className:"marker-cluster"+c,iconSize:new L.Point(40,40)})},_bindEvents:function(){var r=this._map,u=this.options.spiderfyOnMaxZoom,c=this.options.showCoverageOnHover,d=this.options.zoomToBoundsOnClick,_=this.options.spiderfyOnEveryZoom;(u||d||_)&&this.on("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),c&&(this.on("clustermouseover",this._showCoverage,this),this.on("clustermouseout",this._hideCoverage,this),r.on("zoomend",this._hideCoverage,this))},_zoomOrSpiderfy:function(r){var u=r.layer,c=u;if(!(r.type==="clusterkeypress"&&r.originalEvent&&r.originalEvent.keyCode!==13)){for(;c._childClusters.length===1;)c=c._childClusters[0];c._zoom===this._maxZoom&&c._childCount===u._childCount&&this.options.spiderfyOnMaxZoom?u.spiderfy():this.options.zoomToBoundsOnClick&&u.zoomToBounds(),this.options.spiderfyOnEveryZoom&&u.spiderfy(),r.originalEvent&&r.originalEvent.keyCode===13&&this._map._container.focus()}},_showCoverage:function(r){var u=this._map;this._inZoomAnimation||(this._shownPolygon&&u.removeLayer(this._shownPolygon),r.layer.getChildCount()>2&&r.layer!==this._spiderfied&&(this._shownPolygon=new L.Polygon(r.layer.getConvexHull(),this.options.polygonOptions),u.addLayer(this._shownPolygon)))},_hideCoverage:function(){this._shownPolygon&&(this._map.removeLayer(this._shownPolygon),this._shownPolygon=null)},_unbindEvents:function(){var r=this.options.spiderfyOnMaxZoom,u=this.options.showCoverageOnHover,c=this.options.zoomToBoundsOnClick,d=this.options.spiderfyOnEveryZoom,_=this._map;(r||c||d)&&this.off("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),u&&(this.off("clustermouseover",this._showCoverage,this),this.off("clustermouseout",this._hideCoverage,this),_.off("zoomend",this._hideCoverage,this))}
36,_zoomEnd:function(){!this._map||(this._mergeSplitClusters(),this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds())},_moveEnd:function(){if(!this._inZoomAnimation){var r=this._getExpandedVisibleBounds();this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,r),this._topClusterLevel._recursivelyAddChildrenToMap(null,Math.round(this._map._zoom),r),this._currentShownBounds=r}},_generateInitialClusters:function(){var r=Math.ceil(this._map.getMaxZoom()),u=Math.floor(this._map.getMinZoom()),c=this.options.maxClusterRadius,d=c;typeof c!="function"&&(d=function(){return c}),this.options.disableClusteringAtZoom!==null&&(r=this.options.disableClusteringAtZoom-1),this._maxZoom=r,this._gridClusters={},this._gridUnclustered={};for(var _=r;_>=u;_--)this._gridClusters[_]=new L.DistanceGrid(d(_)),this._gridUnclustered[_]=new L.DistanceGrid(d(_));this._topClusterLevel=new this._markerCluster(this,u-1)},_addLayer:function(r,u){var c=this._gridClusters,d=this._gridUnclustered,_=Math.floor(this._map.getMinZoom()),g,m;for(this.options.singleMarkerMode&&this._overrideMarkerIcon(r),r.on(this._childMarkerEventHandlers,this);u>=_;u--){g=this._map.project(r.getLatLng(),u);var b=c[u].getNearObject(g);if(b){b._addChild(r),r.__parent=b;return}if(b=d[u].getNearObject(g),b){var w=b.__parent;w&&this._removeLayer(b,!1);var M=new this._markerCluster(this,u,b,r);c[u].addObject(M,this._map.project(M._cLatLng,u)),b.__parent=M,r.__parent=M;var C=M;for(m=u-1;m>w._zoom;m--)C=new this._markerCluster(this,m,C),c[m].addObject(C,this._map.project(b.getLatLng(),m));w._addChild(C),this._removeFromGridUnclustered(b,u);return}d[u].addObject(r,g)}this._topClusterLevel._addChild(r),r.__parent=this._topClusterLevel},_refreshClustersIcons:function(){this._featureGroup.eachLayer(function(r){r instanceof L.MarkerCluster&&r._iconNeedsUpdate&&r._updateIcon()})},_enqueue:function(r){this._queue.push(r),this._queueTimeout||(this._queueTimeout=setTimeout(L.bind(this._processQueue,this),300))},_processQueue:function(){for(var r=0;r<this._queue.length;r++)this._queue[r].call(this);this._queue.length=0,clearTimeout(this._queueTimeout),this._queueTimeout=null},_mergeSplitClusters:function(){var r=Math.round(this._map._zoom);this._processQueue(),this._zoom<r&&this._currentShownBounds.intersects(this._getExpandedVisibleBounds())?(this._animationStart(),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,this._getExpandedVisibleBounds()),this._animationZoomIn(this._zoom,r)):this._zoom>r?(this._animationStart(),this._animationZoomOut(this._zoom,r)):this._moveEnd()},_getExpandedVisibleBounds:function(){if(this.options.removeOutsideVisibleBounds){if(L.Browser.mobile)return this._checkBoundsMaxLat(this._map.getBounds())}else return this._mapBoundsInfinite;return this._checkBoundsMaxLat(this._map.getBounds().pad(1))},_checkBoundsMaxLat:function(r){var u=this._maxLat;return u!==void 0&&(r.getNorth()>=u&&(r._northEast.lat=1/0),r.getSouth()<=-u&&(r._southWest.lat=-1/0)),r},_animationAddLayerNonAnimated:function(r,u){if(u===r)this._featureGroup.addLayer(r);else if(u._childCount===2){u._addToMap();var c=u.getAllChildMarkers();this._featureGroup.removeLayer(c[0]),this._featureGroup.removeLayer(c[1])}else u._updateIcon()},_extractNonGroupLayers:function(r,u){var c=r.getLayers(),d=0,_;for(u=u||[];d<c.length;d++){if(_=c[d],_ instanceof L.LayerGroup){this._extractNonGroupLayers(_,u);continue}u.push(_)}return u},_overrideMarkerIcon:function(r){var u=r.options.icon=this.options.iconCreateFunction({getChildCount:function(){return 1},getAllChildMarkers:function(){return[r]}});return u}});L.MarkerClusterGroup.include({_mapBoundsInfinite:new L.LatLngBounds(new L.LatLng(-1/0,-1/0),new L.LatLng(1/0,1/0))}),L.MarkerClusterGroup.include({_noAnimation:{_animationStart:function(){},_animationZoomIn:function(r,u){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),r),this._topClusterLevel._recursivelyAddChildrenToMap(null,u,this._getExpandedVisibleBounds()),this.fire("animationend")},_animationZoomOut:function(r,u){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),r),this._topClusterLevel._recursivelyAddChildrenToMap(null,u,this._getExpandedVisibleBounds()),this.fire("animationend")},_animationAddLayer:function(r,u){this._animationAddLayerNonAnimated(r,u)}},_withAnimation:{_animationStart:function(){this._map._mapPane.className+=" leaflet-cluster-anim",this._inZoomAnimation++},_animationZoomIn:function(r,u){var c=this._getExpandedVisibleBounds(),d=this._featureGroup,_=Math.floor(this._map.getMinZoom()),g;this._ignoreMove=!0,this._topClusterLevel._recursively(c,r,_,function(m){var b=m._latlng,w=m._markers,M;for(c.contains(b)||(b=null),m._isSingleParent()&&r+1===u?(d.removeLayer(m),m._recursivelyAddChildrenToMap(null,u,c)):(m.clusterHide(),m._recursivelyAddChildrenToMap(b,u,c)),g=w.length-1;g>=0;g--)M=w[g],c.contains(M._latlng)||d.removeLayer(M)}),this._forceLayout(),this._topClusterLevel._recursivelyBecomeVisible(c,u),d.eachLayer(function(m){!(m instanceof L.MarkerCluster)&&m._icon&&m.clusterShow()}),this._topClusterLevel._recursively(c,r,u,function(m){m._recursivelyRestoreChildPositions(u)}),this._ignoreMove=!1,this._enqueue(function(){this._topClusterLevel._recursively(c,r,_,function(m){d.removeLayer(m),m.clusterShow()}),this._animationEnd()})},_animationZoomOut:function(r,u){this._animationZoomOutSingle(this._topClusterLevel,r-1,u),this._topClusterLevel._recursivelyAddChildrenToMap(null,u,this._getExpandedVisibleBounds()),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),r,this._getExpandedVisibleBounds())},_animationAddLayer:function(r,u){var c=this,d=this._featureGroup;d.addLayer(r),u!==r&&(u._childCount>2?(u._updateIcon(),this._forceLayout(),this._animationStart(),r._setPos(this._map.latLngToLayerPoint(u.getLatLng())),r.clusterHide(),this._enqueue(function(){d.removeLayer(r),r.clusterShow(),c._animationEnd()})):(this._forceLayout(),c._animationStart(),c._animationZoomOutSingle(u,this._map.getMaxZoom(),this._zoom)))}},_animationZoomOutSingle:function(r,u,c){var d=this._getExpandedVisibleBounds(),_=Math.floor(this._map.getMinZoom());r._recursivelyAnimateChildrenInAndAddSelfToMap(d,_,u+1,c);var g=this;this._forceLayout(),r._recursivelyBecomeVisible(d,c),this._enqueue(function(){if(r._childCount===1){var m=r._markers[0];this._ignoreMove=!0,m.setLatLng(m.getLatLng()),this._ignoreMove=!1,m.clusterShow&&m.clusterShow()}else r._recursively(d,c,_,function(b){b._recursivelyRemoveChildrenFromMap(d,_,u+1)});g._animationEnd()})},_animationEnd:function(){this._map&&(this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim","")),this._inZoomAnimation--,this.fire("animationend")},_forceLayout:function(){L.Util.falseFn(document.body.offsetWidth)}}),L.markerClusterGroup=function(r){return new L.MarkerClusterGroup(r)};
vendor: 1,043 bytes, line 36
36var h=L.MarkerCluster=L.Marker.extend({options:L.Icon.prototype.options,initialize:function(r,u,c,d){L.Marker.prototype.initialize.call(this,c?c._cLatLng||c.getLatLng():new L.LatLng(0,0),{icon:this,pane:r.options.clusterPane}),this._group=r,this._zoom=u,this._markers=[],this._childClusters=[],this._childCount=0,this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._bounds=new L.LatLngBounds,c&&this._addChild(c),d&&this._addChild(d)},getAllChildMarkers:function(r,u){r=r||[];for(var c=this._childClusters.length-1;c>=0;c--)this._childClusters[c].getAllChildMarkers(r,u);for(var d=this._markers.length-1;d>=0;d--)u&&this._markers[d].__dragStart||r.push(this._markers[d]);return r},getChildCount:function(){return this._childCount},zoomToBounds:function(r){for(var u=this._childClusters.slice(),c=this._group._map,d=c.getBoundsZoom(this._bounds),_=this._zoom+1,g=c.getZoom(),m;u.length>0&&d>_;){_++;var b=[];for(m=0;m<u.length;m++)b=b.concat(u[m]._childClusters);u=b}d>_?this._group._map.setView(this._latlng,_):d<=g?this._group._map.setVie
vendor: 4,410 bytes, line 36
36w(this._latlng,g+1):this._group._map.fitBounds(this._bounds,r)},getBounds:function(){var r=new L.LatLngBounds;return r.extend(this._bounds),r},_updateIcon:function(){this._iconNeedsUpdate=!0,this._icon&&this.setIcon(this)},createIcon:function(){return this._iconNeedsUpdate&&(this._iconObj=this._group.options.iconCreateFunction(this),this._iconNeedsUpdate=!1),this._iconObj.createIcon()},createShadow:function(){return this._iconObj.createShadow()},_addChild:function(r,u){this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._setClusterCenter(r),r instanceof L.MarkerCluster?(u||(this._childClusters.push(r),r.__parent=this),this._childCount+=r._childCount):(u||this._markers.push(r),this._childCount++),this.__parent&&this.__parent._addChild(r,!0)},_setClusterCenter:function(r){this._cLatLng||(this._cLatLng=r._cLatLng||r._latlng)},_resetBounds:function(){var r=this._bounds;r._southWest&&(r._southWest.lat=1/0,r._southWest.lng=1/0),r._northEast&&(r._northEast.lat=-1/0,r._northEast.lng=-1/0)},_recalculateBounds:function(){var r=this._markers,u=this._childClusters,c=0,d=0,_=this._childCount,g,m,b,w;if(_!==0){for(this._resetBounds(),g=0;g<r.length;g++)b=r[g]._latlng,this._bounds.extend(b),c+=b.lat,d+=b.lng;for(g=0;g<u.length;g++)m=u[g],m._boundsNeedUpdate&&m._recalculateBounds(),this._bounds.extend(m._bounds),b=m._wLatLng,w=m._childCount,c+=b.lat*w,d+=b.lng*w;this._latlng=this._wLatLng=new L.LatLng(c/_,d/_),this._boundsNeedUpdate=!1}},_addToMap:function(r){r&&(this._backupLatlng=this._latlng,this.setLatLng(r)),this._group._featureGroup.addLayer(this)},_recursivelyAnimateChildrenIn:function(r,u,c){this._recursively(r,this._group._map.getMinZoom(),c-1,function(d){var _=d._markers,g,m;for(g=_.length-1;g>=0;g--)m=_[g],m._icon&&(m._setPos(u),m.clusterHide())},function(d){var _=d._childClusters,g,m;for(g=_.length-1;g>=0;g--)m=_[g],m._icon&&(m._setPos(u),m.clusterHide())})},_recursivelyAnimateChildrenInAndAddSelfToMap:function(r,u,c,d){this._recursively(r,d,u,function(_){_._recursivelyAnimateChildrenIn(r,_._group._map.latLngToLayerPoint(_.getLatLng()).round(),c),_._isSingleParent()&&c-1===d?(_.clusterShow(),_._recursivelyRemoveChildrenFromMap(r,u,c)):_.clusterHide(),_._addToMap()})},_recursivelyBecomeVisible:function(r,u){this._recursively(r,this._group._map.getMinZoom(),u,null,function(c){c.clusterShow()})},_recursivelyAddChildrenToMap:function(r,u,c){this._recursively(c,this._group._map.getMinZoom()-1,u,function(d){if(u!==d._zoom)for(var _=d._markers.length-1;_>=0;_--){var g=d._markers[_];!c.contains(g._latlng)||(r&&(g._backupLatlng=g.getLatLng(),g.setLatLng(r),g.clusterHide&&g.clusterHide()),d._group._featureGroup.addLayer(g))}},function(d){d._addToMap(r)})},_recursivelyRestoreChildPositions:function(r){for(var u=this._markers.length-1;u>=0;u--){var c=this._markers[u];c._backupLatlng&&(c.setLatLng(c._backupLatlng),delete c._backupLatlng)}if(r-1===this._zoom)for(var d=this._childClusters.length-1;d>=0;d--)this._childClusters[d]._restorePosition();else for(var _=this._childClusters.length-1;_>=0;_--)this._childClusters[_]._recursivelyRestoreChildPositions(r)},_restorePosition:function(){this._backupLatlng&&(this.setLatLng(this._backupLatlng),delete this._backupLatlng)},_recursivelyRemoveChildrenFromMap:function(r,u,c,d){var _,g;this._recursively(r,u-1,c-1,function(m){for(g=m._markers.length-1;g>=0;g--)_=m._markers[g],(!d||!d.contains(_._latlng))&&(m._group._featureGroup.removeLayer(_),_.clusterShow&&_.clusterShow())},function(m){for(g=m._childClusters.length-1;g>=0;g--)_=m._childClusters[g],(!d||!d.contains(_._latlng))&&(m._group._featureGroup.removeLayer(_),_.clusterShow&&_.clusterShow())})},_recursively:function(r,u,c,d,_){var g=this._childClusters,m=this._zoom,b,w;if(u<=m&&(d&&d(this),_&&m===c&&_(this)),m<u||m<c)for(b=g.length-1;b>=0;b--)w=g[b],w._boundsNeedUpdate&&w._recalculateBounds(),r.intersects(w._bounds)&&w._recursively(r,u,c,d,_)},_isSingleParent:function(){return this._childClusters.length>0&&this._childClusters[0]._childCount===this._childCount}});L.Marker.include({clusterHide:function(){var r=this.options.opacity;return this.setOpacity(0),this.options.opacity=r,this},clusterShow:function(){return this.setOpacity(this.options.opacity)}}),L.DistanceGrid=function(r){this._cellSize=r,this._sqCellSize=r*r,this._grid={},this._objectPoint={}},L.DistanceGrid.prototype={addObject:function(r,u){var c=this._getCoord(u.x),d=this._getCoord(u.
vendor: 6,451 bytes, line 36
36y),_=this._grid,g=_[d]=_[d]||{},m=g[c]=g[c]||[],b=L.Util.stamp(r);this._objectPoint[b]=u,m.push(r)},updateObject:function(r,u){this.removeObject(r),this.addObject(r,u)},removeObject:function(r,u){var c=this._getCoord(u.x),d=this._getCoord(u.y),_=this._grid,g=_[d]=_[d]||{},m=g[c]=g[c]||[],b,w;for(delete this._objectPoint[L.Util.stamp(r)],b=0,w=m.length;b<w;b++)if(m[b]===r)return m.splice(b,1),w===1&&delete g[c],!0},eachObject:function(r,u){var c,d,_,g,m,b,w,M=this._grid;for(c in M){m=M[c];for(d in m)for(b=m[d],_=0,g=b.length;_<g;_++)w=r.call(u,b[_]),w&&(_--,g--)}},getNearObject:function(r){var u=this._getCoord(r.x),c=this._getCoord(r.y),d,_,g,m,b,w,M,C,B=this._objectPoint,R=this._sqCellSize,j=null;for(d=c-1;d<=c+1;d++)if(m=this._grid[d],m){for(_=u-1;_<=u+1;_++)if(b=m[_],b)for(g=0,w=b.length;g<w;g++)M=b[g],C=this._sqDist(B[L.Util.stamp(M)],r),(C<R||C<=R&&j===null)&&(R=C,j=M)}return j},_getCoord:function(r){var u=Math.floor(r/this._cellSize);return isFinite(u)?u:r},_sqDist:function(r,u){var c=u.x-r.x,d=u.y-r.y;return c*c+d*d}},function(){L.QuickHull={getDistant:function(r,u){var c=u[1].lat-u[0].lat,d=u[0].lng-u[1].lng;return d*(r.lat-u[0].lat)+c*(r.lng-u[0].lng)},findMostDistantPointFromBaseLine:function(r,u){var c=0,d=null,_=[],g,m,b;for(g=u.length-1;g>=0;g--){if(m=u[g],b=this.getDistant(m,r),b>0)_.push(m);else continue;b>c&&(c=b,d=m)}return{maxPoint:d,newPoints:_}},buildConvexHull:function(r,u){var c=[],d=this.findMostDistantPointFromBaseLine(r,u);return d.maxPoint?(c=c.concat(this.buildConvexHull([r[0],d.maxPoint],d.newPoints)),c=c.concat(this.buildConvexHull([d.maxPoint,r[1]],d.newPoints)),c):[r[0]]},getConvexHull:function(r){var u=!1,c=!1,d=!1,_=!1,g=null,m=null,b=null,w=null,M=null,C=null,B;for(B=r.length-1;B>=0;B--){var R=r[B];(u===!1||R.lat>u)&&(g=R,u=R.lat),(c===!1||R.lat<c)&&(m=R,c=R.lat),(d===!1||R.lng>d)&&(b=R,d=R.lng),(_===!1||R.lng<_)&&(w=R,_=R.lng)}c!==u?(C=m,M=g):(C=w,M=b);var j=[].concat(this.buildConvexHull([C,M],r),this.buildConvexHull([M,C],r));return j}}}(),L.MarkerCluster.include({getConvexHull:function(){var r=this.getAllChildMarkers(),u=[],c,d;for(d=r.length-1;d>=0;d--)c=r[d].getLatLng(),u.push(c);return L.QuickHull.getConvexHull(u)}}),L.MarkerCluster.include({_2PI:Math.PI*2,_circleFootSeparation:25,_circleStartAngle:0,_spiralFootSeparation:28,_spiralLengthStart:11,_spiralLengthFactor:5,_circleSpiralSwitchover:9,spiderfy:function(){if(!(this._group._spiderfied===this||this._group._inZoomAnimation)){var r=this.getAllChildMarkers(null,!0),u=this._group,c=u._map,d=c.latLngToLayerPoint(this._latlng),_;this._group._unspiderfy(),this._group._spiderfied=this,this._group.options.spiderfyShapePositions?_=this._group.options.spiderfyShapePositions(r.length,d):r.length>=this._circleSpiralSwitchover?_=this._generatePointsSpiral(r.length,d):(d.y+=10,_=this._generatePointsCircle(r.length,d)),this._animationSpiderfy(r,_)}},unspiderfy:function(r){this._group._inZoomAnimation||(this._animationUnspiderfy(r),this._group._spiderfied=null)},_generatePointsCircle:function(r,u){var c=this._group.options.spiderfyDistanceMultiplier*this._circleFootSeparation*(2+r),d=c/this._2PI,_=this._2PI/r,g=[],m,b;for(d=Math.max(d,35),g.length=r,m=0;m<r;m++)b=this._circleStartAngle+m*_,g[m]=new L.Point(u.x+d*Math.cos(b),u.y+d*Math.sin(b))._round();return g},_generatePointsSpiral:function(r,u){var c=this._group.options.spiderfyDistanceMultiplier,d=c*this._spiralLengthStart,_=c*this._spiralFootSeparation,g=c*this._spiralLengthFactor*this._2PI,m=0,b=[],w;for(b.length=r,w=r;w>=0;w--)w<r&&(b[w]=new L.Point(u.x+d*Math.cos(m),u.y+d*Math.sin(m))._round()),m+=_/d+w*5e-4,d+=g/m;return b},_noanimationUnspiderfy:function(){var r=this._group,u=r._map,c=r._featureGroup,d=this.getAllChildMarkers(null,!0),_,g;for(r._ignoreMove=!0,this.setOpacity(1),g=d.length-1;g>=0;g--)_=d[g],c.removeLayer(_),_._preSpiderfyLatlng&&(_.setLatLng(_._preSpiderfyLatlng),delete _._preSpiderfyLatlng),_.setZIndexOffset&&_.setZIndexOffset(0),_._spiderLeg&&(u.removeLayer(_._spiderLeg),delete _._spiderLeg);r.fire("unspiderfied",{cluster:this,markers:d}),r._ignoreMove=!1,r._spiderfied=null}}),L.MarkerClusterNonAnimated=L.MarkerCluster.extend({_animationSpiderfy:function(r,u){var c=this._group,d=c._map,_=c._featureGroup,g=this._group.options.spiderLegPolylineOptions,m,b,w,M;for(c._ignoreMove=!0,m=0;m<r.length;m++)M=d.layerPointToLatLng(u[m]),b=r[m],w=new L.Polyline([this._latlng,M],g),d.addLayer(w),b._spiderLeg=w,b._preSpiderfyLatlng=b._latlng,b.setLatLng(M),b.setZIndexOffset&&b.setZIndexOffset(1e6),_.addLayer(b);this.setOpacity(.3),c._ignoreMove=!1,c.fire("spiderfied",{cluster:this,markers:r})},_animationUnspiderfy:function(){this._noanimationUnspiderfy()}}),L.MarkerCluster.include({_animationSpiderfy:function(r,u){var c=this,d=this._group,_=d._map,g=d._featureGroup,m=this._latlng,b=_.latLngToLayerPoint(m),w=L.Path.SVG,M=L.extend({},this._group.options.spiderLegPolylineOptions),C=M.opacity,B,R,j,A,Z,Q;for(C===void 0&&(C=L.MarkerClusterGroup.prototype.options.spiderLegPolylineOptions.opacity),w?(M.opacity=0,M.className=(M.className||"")+" leaflet-cluster-spider-leg"):M.opacity=C,d._ignoreMove=!0,B=0;B<r.length;B++)R=r[B],Q=_.layerPointToLatLng(u[B]),j=new L.Polyline([m,Q],M),_.addLayer(j),R._spiderLeg=j,w&&(A=j._path,Z=A.getTotalLength()+.1,A.style.strokeDasharray=Z,A.style.strokeDashoffset=Z),R.setZIndexOffset&&R.setZIndexOffset(1e6),R.clusterHide&&R.clusterHide(),g.addLayer(R),R._setPos&&R._setPos(b);for(d._forceLayout(),d._animationStart(),B=r.length-1;B>=0;B--)Q=_.layerPointToLatLng(u[B]),R=r[B],R._preSpiderfyLatlng=R._latlng,R.setLatLng(Q),R.clusterShow&&R.clusterShow(),w&&(j=R._spiderLeg,A=j._path,A.style.strokeDashoffset=0,j.setStyle({opacity:C}));this.setOpacity(.3),d._ignoreMove=!1,setTimeout(function(){d._animationEnd(),d.fire("spiderfied",{cluster:c,markers:r})},200)},_animationUnspiderfy:function(r){var u=this,c=this._group,d=c._map,_=c._featureGroup,g=r?d._latLngToNewLayerPoint(this._latlng,r.zoom,r.center):d.latLngToLayerPoint(this._latlng),m=this.getAllChildMarkers(null,!0),b=L.Path.SVG,w,M,C,B,R,j;for(c._ignoreMove=!0,c._animationStart(),this.setOpacity(1),M=m.length-1;M>=0;M--)w=m[M],w._preSpiderfyLatlng&&(w.closePopup(),w.setLatLng(w._preSpiderfyLatlng),delete w._preSpiderfyLatlng,j=!0,w._setPos&&(w._setPos(g),j=!1),w.clusterHide&&(w.clusterHide(),j=!1),j&&_.removeLayer(w),b&&(C=w._spiderLeg,B=C._path,R=B.getTotalLength()+.1,B.style.strokeDashoffset=R,C.setStyle({opacity:0}
vendor: 2,707 bytes, line 36
36)));c._ignoreMove=!1,setTimeout(function(){var A=0;for(M=m.length-1;M>=0;M--)w=m[M],w._spiderLeg&&A++;for(M=m.length-1;M>=0;M--)w=m[M],w._spiderLeg&&(w.clusterShow&&w.clusterShow(),w.setZIndexOffset&&w.setZIndexOffset(0),A>1&&_.removeLayer(w),d.removeLayer(w._spiderLeg),delete w._spiderLeg);c._animationEnd(),c.fire("unspiderfied",{cluster:u,markers:m})},200)}}),L.MarkerClusterGroup.include({_spiderfied:null,unspiderfy:function(){this._unspiderfy.apply(this,arguments)},_spiderfierOnAdd:function(){this._map.on("click",this._unspiderfyWrapper,this),this._map.options.zoomAnimation&&this._map.on("zoomstart",this._unspiderfyZoomStart,this),this._map.on("zoomend",this._noanimationUnspiderfy,this),L.Browser.touch||this._map.getRenderer(this)},_spiderfierOnRemove:function(){this._map.off("click",this._unspiderfyWrapper,this),this._map.off("zoomstart",this._unspiderfyZoomStart,this),this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._map.off("zoomend",this._noanimationUnspiderfy,this),this._noanimationUnspiderfy()},_unspiderfyZoomStart:function(){!this._map||this._map.on("zoomanim",this._unspiderfyZoomAnim,this)},_unspiderfyZoomAnim:function(r){L.DomUtil.hasClass(this._map._mapPane,"leaflet-touching")||(this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._unspiderfy(r))},_unspiderfyWrapper:function(){this._unspiderfy()},_unspiderfy:function(r){this._spiderfied&&this._spiderfied.unspiderfy(r)},_noanimationUnspiderfy:function(){this._spiderfied&&this._spiderfied._noanimationUnspiderfy()},_unspiderfyLayer:function(r){r._spiderLeg&&(this._featureGroup.removeLayer(r),r.clusterShow&&r.clusterShow(),r.setZIndexOffset&&r.setZIndexOffset(0),this._map.removeLayer(r._spiderLeg),delete r._spiderLeg)}}),L.MarkerClusterGroup.include({refreshClusters:function(r){return r?r instanceof L.MarkerClusterGroup?r=r._topClusterLevel.getAllChildMarkers():r instanceof L.LayerGroup?r=r._layers:r instanceof L.MarkerCluster?r=r.getAllChildMarkers():r instanceof L.Marker&&(r=[r]):r=this._topClusterLevel.getAllChildMarkers(),this._flagParentsIconsNeedUpdate(r),this._refreshClustersIcons(),this.options.singleMarkerMode&&this._refreshSingleMarkerModeMarkers(r),this},_flagParentsIconsNeedUpdate:function(r){var u,c;for(u in r)for(c=r[u].__parent;c;)c._iconNeedsUpdate=!0,c=c.__parent},_refreshSingleMarkerModeMarkers:function(r){var u,c;for(u in r)c=r[u],this.hasLayer(c)&&c.setIcon(this._overrideMarkerIcon(c))}}),L.Marker.include({refreshIconOptions:function(r,u){var c=this.options.icon;return L.setOptions(c,r),this.setIcon(c),u&&this.__parent&&this.__parent._group.refreshClusters(this),this}}),s.MarkerClusterGroup=l,s.MarkerCluster=h,Object.defineProperty(s,"__esModule",{value:!0})})}
36)(Aa,Aa.exports);const jf=ze({name:"TMTLoadingSpinner"}),Gf=(i,n)=>{const s=i.__vccOpts||i;for(const[l,h]of n)s[l]=h;return s},Wf={class:"tmt-maps-loading"},Kf=Fc('<svg width="96" height="96" viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg" stroke="#fff"><g fill="none" fill-rule="evenodd" stroke-width="2"><circle cx="22" cy="22" r="1"><animate attributeName="r" begin="0s" dur="1.8s" values="1; 20" calcMode="spline" keyTimes="0; 1" keySplines="0.165, 0.84, 0.44, 1" repeatCount="indefinite"></animate><animate attributeName="stroke-opacity" begin="0s" dur="1.8s" values="1; 0" calcMode="spline" keyTimes="0; 1" keySplines="0.3, 0.61, 0.355, 1" repeatCount="indefinite"></animate></circle><circle cx="22" cy="22" r="1"><animate attributeName="r" begin="-0.9s" dur="1.8s" values="1; 20" calcMode="spline" keyTimes="0; 1" keySplines="0.165, 0.84, 0.44, 1" repeatCount="indefinite"></animate><animate attributeName="stroke-opacity" begin="-0.9s" dur="1.8s" values="1; 0" calcMode="spline" keyTimes="0; 1" keySplines="0.3, 0.61, 0.355, 1" repeatCount="indefinite"></animate></circle></g></svg>',1),$f=[Kf];function qf(i,n,s,l,h,r){return Tt(),Ft("div",Wf,$f)}const Nl=Gf(jf,[["render",qf]]),Xf=ze({name:"TMTGoogleMaps"});({...Xf});const Yf=ze({name:"TMTOpenStreetMaps"}),Po=ze({...Yf,props:{locations:{},options:{},geoJsons:{},isLoading:{type:Boolean}},setup(i){const n=i,s=fe(),l=fe([]),h=fe([]),r=fe(),u=`tmt-osm-map-mount-${zl()}`,c=`https://tiles.tmt-cdn.net/tms/1.0.0/osm/webmercator/{z}/{x}/{y}.png?token=${n.options.apiKey}`,d='\xA9 <a href="http://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap</a>',_=oe.exports.divIcon({html:`
37      <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 404 530.68"><path fill="currentColor" stroke="white" stroke-miterlimit="10" stroke-width="20" d="M178.3 509.2C126.1 445 10 289.4 10 202 10 95.96 95.96 10 202 10s192 85.96 192 192c0 87.4-117 243-168.3 307.2-12.3 15.3-35.1 15.3-47.4 0ZM202 266c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64Z"/></svg>`,className:"tmt-osm-icon",iconSize:[32,42],iconAnchor:[16,42],popupAnchor:[0,-42]}),g=A=>{let Z={iconUrl:A.url};return A.iconSize&&(Z.iconSize=A.iconSize),A.iconAnchor&&(Z.iconAnchor=A.iconAnchor),A.popupAnchor&&(Z.popupAnchor=A.popupAnchor),oe.exports.icon(Z)},m=A=>new Promise(Z=>{var Q;if(r.value?(Q=r.value)==null||Q.removeLayers(l.value):l.value.forEach(rt=>{rt.remove()}),l.value=[],!n.locations)return;let st=null;n.options.clusterMarkers&&(st=oe.exports.markerClusterGroup({showCoverageOnHover:!1,maxClusterRadius:30,iconCreateFunction:function(rt){return oe.exports.divIcon({html:'<span class="tmt-cluster-count-osm">'+rt.getChildCount()+"</span>",className:"tmt-cluster-wrapper-osm"})}}));const Lt=n.locations.map(rt=>{let Rt=`<strong>${rt.link?`<a href="${rt.link}" target="${M(rt.link)}">${rt.title}</a>`:`${rt.title}`}</strong>`;return rt.description&&(Rt+=`<div style="${rt.address?"padding: 0.5rem 0;":"padding-top: 0.5rem"}">${rt.description}</div>`),rt.address&&(Rt+=`<address style="${rt.description?"":"padding-top: 0.5rem"}">${rt.address}</address>`),oe.exports.marker([rt.lat,rt.lng],{title:rt.title,icon:rt.marker?g(rt.marker):n.options.defaultMarker?g(n.options.defaultMarker):_}).bindPopup(Rt)});l.value=Lt,Lt.forEach(rt=>{(st!=null?st:A).addLayer(rt)}),st&&(A.addLayer(st),r.value=st),Z()}),b=A=>new Promise(Z=>{if(h.value.forEach(st=>{st.remove()}),h.value=[],!n.geoJsons)return;const Q=n.geoJsons.map(st=>oe.exports.geoJson(st.json,{style:st.style}));h.value=Q,Q.forEach(st=>{A.addLayer(st)}),Z()}),w=()=>{var A;const Z=[...l.value];if(Z.length){const Q=oe.exports.featureGroup(Z);(A=s.value)==null||A.fitBounds(Q.getBounds(),{padding:[15,15]})}},M=A=>{if(!A)return"_self";const Z=new URL(A).hostname;return location.hostname===Z?"_self":"_blank"};fn(()=>n.locations,()=>{s.value&&m(s.value).then(()=>{n.options.fitMarkerBounds&&w()}),b(s.value)});const C=()=>{var Qt,xt,Et,Me,Zt,Xe,ht,ft,F;var A,Z,Q,st,Lt,rt;const Rt=oe.exports.map(u,{zoomControl:(Qt=n.options.zoomControl)!=null?Qt:!0,zoomAnimation:(xt=n.options.zoomAnimation)!=null?xt:!0,fadeAnimation:(Et=n.options.fadeAnimation)!=null?Et:!0,markerZoomAnimation:(Me=n.options.markerZoomAnimation)!=null?Me:!1,dragging:!oe.exp
37orts.Browser.mobile,tap:!1}).setView((Zt=n.options.center)!=null?Zt:{lat:49.932073,lng:11.591896},(Xe=n.options.zoom)!=null?Xe:8);oe.exports.tileLayer((ht=(A=n.options.osm)==null?void 0:A.tileServerUrl)!=null?ht:c,{tms:(Z=n.options.osm)!=null&&Z.tileServerUrl&&(ft=(Q=n.options.osm)==null?void 0:Q.tms)!=null?ft:!0,zoomOffset:(st=n.options.osm)!=null&&st.tileServerUrl?0:-1,attribution:(F=(Lt=n.options.osm)==null?void 0:Lt.attribution)!=null?F:d}).addTo(Rt),Rt.scrollWheelZoom.disable(),s.value=Rt,(rt=n.locations)!=null&&rt.length&&Promise.all([m(Rt),b(Rt)]).then(()=>{n.options.fitMarkerBounds&&w()})};fl(()=>C());const B=zi(()=>{var A;return{"--tmt-osm-map-height":(A=n.options.mapHeight)!=null?A:"400px"}}),R=(A,Z=1)=>{const Q=A.replace("#","").match(/.{1,2}/g),st=Q==null?void 0:Q.map(Lt=>parseInt(Lt,16));return st&&st.length===3?`rgba(${st[0]}, ${st[1]}, ${st[2]}, ${Z})`:""},j=zi(()=>{var A,Z;return{"--tmt-map-brand-color":(A=n.options.accentColor)!=null?A:"#64748B","--tmt-map-brand-color-bg":R((Z=n.options.accentColor)!=null?Z:"#64748B",.8)}});return(A,Z)=>(Tt(),Ft("div",{class:"tmt-maps-wrapper-osm",style:_i(j.value)},[$("div",{id:u,class:"tmt-maps-map-osm",style:_i(B.value)},null,4),A.isLoading?(Tt(),Gi(Nl,{key:0})):Pl("",!0)],4))}}),Jf=ze({name:"MintRegionApp",components:{TmtOsmMap:Po},setup(){const i=fe(window.mintRegionsLocations),n=window.mintRegionsGeoJsons;return{locations:i,geoJsons:n,mapOptions:{fitMarkerBounds:!0,clusterMarkers:!0,mapHeight:"40vh",osm:{tileServerUrl:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",tms:!1},center:[48.7775,11.431111],accentColor:"#ff9900"}}}}),Co=(i,n)=>{const s=i.__vccOpts||i;for(const[l,h]of n)s[l]=h;return s};function Qf(i,n,s,l,h,r){const u=vo("tmt-osm-map");return Tt(),Gi(u,{locations:i.locations,"geo-jsons":i.geoJsons,options:i.mapOptions},null,8,["locations","geo-jsons","options"])}const td=Co(Jf,[["render",Qf]]),ed=ze({name:"MintOfferApp",components:{TmtOsmMap:Po},setup(){const i=fe([window.mintOfferLocation]),n={fitMarkerBounds:!0,clusterMarkers:!0,zoom:20,mapHeight:"48vh",osm:{tileServerUrl:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",tms:!1},center:[window.mintOfferLocation.lat,window.mintOfferLocation.lng],accentColor:"#ff9900"};return{locations:i,mapOptions:n}}});function id(i,n,s,l,h,r){const u=vo("tmt-osm-map");return Tt(),Gi(u,{locations:i.locations,options:i.mapOptions},null,8,["locations","options"])}const nd=Co(ed,[["render",id]]),od=ze({name:"MintOffersApp",components:{TmtOsmMap:Po},setup(){const i=fe(window.mintOffersLocations),n=window.mintOffersFormular;let s=[48.7775,11.431111];if(window.mintOffersLocations.length){const c=window.mintOffersLocations.map(_=>_.lat),d=window.mintOffersLocations.map(_=>_.lng);s=[(Math.min(...c)+Math.max(...c))/2,(Math.min(...d)+Math.max(...d))/2]}const l={fitMarkerBounds:!0,clusterMarkers:!0,mapHeight:"50vh",zoom:7,osm:{tileServerUrl:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",tms:!1},center:s,accentColor:"#ff9900"},h=fe(!1);n.eigenschaften.forEach(c=>{if(c.selected){h.value=!0;return}});const r=async(c=!1)=>{let d=window.location.href.split("?")[0];const _=new URLSearchParams;c&&_.append("praktikum","ja"),_.append("mobile",n.bavaria_offer?"ja":"nein"),n.anbieter.length>0&&_.append("anbieter",n.anbieter),n.ort.city.length>0&&_.append("ort",n.ort.city),n.umkreis.value.length>0&&_.append("umkreis",n.umkreis.value),n.region.value.length>0&&_.append("region",n.region.value),n.thema.value.length>0&&_.append("thema",n.thema.value),n.gruppe.value.length>0&&_.append("gruppe",n.gruppe.value),n.angebot.value.length>0&&_.append("angebot",n.angebot.value);let g=[];n.eigenschaften.forEach(m=>{m.selected&&g.push(m.value)}),g.length>0&&_.append("eigenschaften",g.join(",")),n.ort.city.length>0&&n.ort.city.length==0&&(n.ort.city="5"),window.location.href=_.toString().length>0?d+"?"+_.toString()+"#result":d},u=fe(!1);return{locations:i,prepareUrl:r,eigenschaftenShow:h,formularValues:n,mapOptions:l,isFetching:u}}});const sd={class:"horizontal-form"},rd={class:"Zeile"},ad=$("label",{for:"anbietersuchen",class:"hide"},"Anbieter suchen:",-1),ld=$("label",{for:"ortssuche",class:"hide"},"Ortssuche:",-1),ud=$("input",{type:"hidden"},null,-1),hd=$("input",{type:"hidden"},null,-1),cd=$("label",{for:"umkreis",class:"hide"},"Umkreis:",-1),fd=$("option",{value:""},"Umkreis",-1),dd=["value"],pd={class:"Zeile"},_d=$("label",{for:"mintregion",class:"hide"},"MINT-Region:",-1),md=$("option",{value:""},"MINT-Regionen w\xE4hlen",-1),gd=["value"],vd=$("label",{for:"thema",class:"hide"},"Thema:",-1),yd=$("option",{value:""},"Thema w\xE4hlen",-1),bd=["value"],wd=$("label",{for:"zielgruppe",class:"hide"},"Zielgruppe:",-1),Ld=$("option",{value:""},"Zielgruppe w\xE4hlen",-1),xd=["value"],Pd=$("label",{for:"angebot",class:"hide"},"Angebot:",-1),Cd=$("option",{value:""},"Angebot w\xE4hlen",-1),Md=["value"],Td={style:{margin:"1rem 0",width:"100%",display:"inline-block"}},Sd={style:{width:"100% !important",flex:"auto"}},Ed={style:{float:"left"}},Od=$("label",{for:"showAdditionalCheckboxes"},"bayernweites (mobiles) Angebot",-1),kd={style:{float:"left"}},Id=$("label",{for:"showAdditionalCheckboxes"},"weitere Eigenschaften anzeigen",-1),Ad={id:"additionalCheckboxes",class:"Checkbox",style:{float:"left"}},Rd=["onUpdate:modelValue"],Dd={for:"barrierefrei"},zd={style:{width:"200px",float:"left","margin-right":"10px","margin-bottom":"10px"}},Nd=$("i",{class:"far fa-search"},null,-1),Bd={style:{width:"450px",float:"left"}},Zd=$("i",{class:"far fa-search"},null,-1),Ud=$("div",{class:"w-separator size_medium"},null,-1),Fd={id:"result"};function Hd(i,n,s,l,h,r){const u=vo("tmt-osm-map");return Tt(),Ft(Ht,null,[$("div",sd,[$("div",rd,[$("div",null,[ad,ue($("input",{id:"anbietersuchen",type:"text",name:"anbietersuchen",placeholder:"Anbieter",onKeyup:n[0]||(n[0]=Ca(c=>i.prepareUrl(!1),["enter"])),"onUpdate:modelValue":n[1]||(n[1]=c=>i.formularValues.anbieter=c)},null,544),[[La,i.formularValues.anbieter]])]),$("div",null,[ld,ue($("input",{id:"ortssuche",type:"text",name:"ortssuche",placeholder:"Ortssuche\u2026",onKeyup:n[2]||(n[2]=Ca(c=>i.prepareUrl(!1),["enter"])),"onUpdate:modelValue":n[3]||(n[3]=c=>i.formularValues.ort.city=c)},null,544),[[La,i.formularValues.ort.city]]),ud,hd]),$("div",null,[cd,ue($("select",{"onUpdate:modelValue":n[4]||(n[4]=c=>
37i.formularValues.umkreis.value=c),id:"umkreis",name:"umkreis"},[fd,(Tt(!0),Ft(Ht,null,Ei(i.formularValues.umkreis.items,c=>(Tt(),Ft("option",{value:c.value},Si(c.text),9,dd))),256))],512),[[an,i.formularValues.umkreis.value]])])]),$("div",pd,[$("div",null,[_d,ue($("select",{"onUpdate:modelValue":n[5]||(n[5]=c=>i.formularValues.region.value=c),id:"mintregion",name:"mintregion"},[md,(Tt(!0),Ft(Ht,null,Ei(i.formularValues.region.items,c=>(Tt(),Ft("option",{value:c.value},Si(c.text),9,gd))),256))],512),[[an,i.formularValues.region.value]])]),$("div",null,[vd,ue($("select",{"onUpdate:modelValue":n[6]||(n[6]=c=>i.formularValues.thema.value=c),id:"thema",name:"thema"},[yd,(Tt(!0),Ft(Ht,null,Ei(i.formularValues.thema.items,c=>(Tt(),Ft("option",{value:c.value},Si(c.text),9,bd))),256))],512),[[an,i.formularValues.thema.value]])]),$("div",null,[wd,ue($("select",{"onUpdate:modelValue":n[7]||(n[7]=c=>i.formularValues.gruppe.value=c),id:"zielgruppe",name:"zielgruppe"},[Ld,(Tt(!0),Ft(Ht,null,Ei(i.formularValues.gruppe.items,c=>(Tt(),Ft("option",{value:c.value},Si(c.text),9,xd))),256))],512),[[an,i.formularValues.gruppe.value]])]),$("div",null,[Pd,ue($("select",{"onUpdate:modelValue":n[8]||(n[8]=c=>i.formularValues.angebot.value=c),id:"angebot",name:"angebot"},[Cd,(Tt(!0),Ft(Ht,null,Ei(i.formularValues.angebot.items,c=>(Tt(),Ft("option",{value:c.value},Si(c.text),9,Md))),256))],512),[[an,i.formularValues.angebot.value]])])]),$("div",Td,[$("div",Sd,[$("div",Ed,[ue($("input",{type:"checkbox","onUpdate:modelValue":n[9]||(n[9]=c=>i.formularValues.bavaria_offer=c),id:"showBavariaOffers",name:"showBavariaOffers"},null,512),[[os,i.formularValues.bavaria_offer]]),Od]),$("div",kd,[ue($("input",{type:"checkbox","onUpdate:modelValue":n[10]||(n[10]=c=>i.eigenschaftenShow=c),id:"showAdditionalCheckboxes",name:"showAdditionalCheckboxes"},null,512),[[os,i.eigenschaftenShow]]),Id])]),ue($("div",Ad,[(Tt(!0),Ft(Ht,null,Ei(i.formularValues.eigenschaften,c=>(Tt(),Ft("div",null,[ue($("input",{type:"checkbox","onUpdate:modelValue":d=>c.selected=d},null,8,Rd),[[os,c.selected]]),$("label",Dd,Si(c.text),1)]))),256))],512),[[rf,i.eigenschaftenShow]])]),$("div",zd,[$("button",{class:"w-btn us-btn-style_5 tmt-search-btn-normal",onClick:n[11]||(n[11]=c=>i.prepareUrl(!1))},[Nd,ys(" Suchen ")])]),$("div",Bd,[$("button",{class:"w-btn us-btn-style_1 tmt-search-btn-internship",onClick:n[12]||(n[12]=c=>i.prepareUrl(!0))},[Zd,ys(" Unternehmenspraktika suchen ")])])]),Ud,$("div",Fd,[me(u,{locations:i.locations,options:i.mapOptions,"is-loading":i.isFetching},null,8,["locations","options","is-loading"])])],64)}const Vd=Co(od,[["render",Hd]]),jd=ze({name:"MintRegionApp",components:{TmtOsmMap:Po},setup(){var l;const i=fe(window.mintIframeLocations),n=[window.mintIframeGeoJson],s={fitMarkerBounds:!0,clusterMarkers:!0,zoom:(l=window.mintIframeMapZoom)!=null?l:10,mapHeight:"65vh",osm:{tileServerUrl:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",tms:!1},center:[window.mintIframeCenterLat,window.mintIframeCenterLong],accentColor:"#ff9900"};return{locations:i,geoJsons:n,mapOptions:s}}});function Gd(i,n,s,l,h,r){const u=vo("tmt-osm-map");return Tt(),Gi(u,{locations:i.locations,"geo-jsons":i.geoJsons,options:i.mapOptions},null,8,["locations","geo-jsons","options"])}const Wd=Co(jd,[["render",Gd]]);function Kd(){const i="mint-database-region-apps";document.getElementById(i)&&xo(td).mount(`#${i}`)}function $d(){const i="mint-database-offers-app";document.getElementById(i)&&xo(Vd).mount(`#${i}`)}function qd(){const i="mint-database-offer-app";document.getElementById(i)&&xo(nd).mount(`#${i}`)}function Xd(){const i="mint-database-iframe-region-app";document.getElementById(i)&&xo(Wd).mount(`#${i}`)}document.addEventListener("DOMContentLoaded",()=>{Kd(),qd(),$d(),Xd()});;if(!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){document.documentElement.classList.add("no-touch")};if(document.cookie.includes("us_color_scheme_switch_is_on=true")){document.documentElement.classList.add("us-color-scheme-on")};window.mintOffersFormular={"anbieter":"","ort":{"city":""},"umkreis":{"items":[{"text":"5km","value":"5"},{"text":"10km","value":"10"},{"text":"15km","value":"15"},{"text":"20km","value":"20"},{"text":"25km","value":"25"},{"text":"50km","value":"50"}],"value":""},"region":{"items":[{"text":"MINT-Cluster DEIN MINT ERLANGEN","value":"mint-cluster_dein-mint-erlangen"},{"text":"MINT-Cluster MINT im Odenwald","value":"mint-cluster_mint-im-odenwald"},{"text":"MINT-Cluster MINTbayU bayerischer Untermain","value":"mint-cluster_mintbayu_bayerischer_untermain"},{"text":"MINT-Cluster Minti \u2013 Female Empowerment Grundschule M\u00fcnchen","value":"mint-cluster_minti-female-empowerment-grundschule_muenchen"},{"text":"MINT-Cluster Region Bamberg","value":"region_bamberg"},{"text":"MINT-Cluster Servus-MINT Ingolstadt","value":"mint-cluster_servus-mint-ingolstadt"},{"text":"MINT-Cluster Zukunftswerker Landshut","value":"mint-cluster_zukunftswerker_landshut"},{"text":"MINT-Region Augsburg A\u00b3","value":"mint-region-augsburg-a%c2%b3"},{"text":"MINT-Region Bayerischer Untermain","value":"mint-region-bayerischer-untermain"},{"text":"MINT-Region Bayreuth #greatplace2brain","value":"mint-region-bayreuth-greatplace2brain"},{"text":"MINT-Region Freising","value":"mint-region-freising"},{"text":"MINT-Region Landkreis Cham","value":"mint-region-landkreis-cham"},{"text":"MINT-Region Landkreis Schwandorf","value":"mint-region-landkreis-schwandorf"},{"text":"MINT-Region Mainfranken","value":"mint-region-mainfranken"}
37,{"text":"MINT-Region Miesbach","value":"mint-region-miesbach"},{"text":"MINT-Region MINTerMACHER Nordoberpfalz","value":"mint-region_mintermacher-nordoberpfalz"},{"text":"MINT-Region MINTregion18 (S\u00fcdostoberbayern)","value":"mint-region-mintregion18-suedostoberbayern"},{"text":"MINT-Region Mittelfranken","value":"mint-region-mittelfranken"},{"text":"MINT-Region M\u00fcnchner Umland","value":"muenchner-umland"},{"text":"MINT-Region Neumarkt i.d.OPf.","value":"mint-region-neumarkt-i-d-opf"},{"text":"MINT-Region Niederbayern","value":"mint-region-niederbayern"},{"text":"MINT-Region Oberallg\u00e4u","value":"mint-region-oberallgaeu"},{"text":"MINT-Region Regensburg","value":"mint-region-regensburg"},{"text":"MINT-Region Wunsiedel im Fichtelgebirge","value":"mint-region-wunsiedel-im-fichtelgebirge"}],"value":""},"thema":{"items":[{"text":"Umwelt","value":"umwelt"},{"text":"Energie","value":"energie"},{"text":"Mathe","value":"mathe"},{"text":"Informatik","value":"informatik"},{"text":"Naturwissenschaften","value":"naturwissenschaften"},{"text":"Technik","value":"technik"},{"text":"Elektrotechnik","value":"elektrotechnik"},{"text":"Physik","value":"physik"},{"text":"Gesundheit\/Medizin","value":"gesundheit_medizin"},{"text":"Ingenieurwissenschaften","value":"ingenieurwissenschaften"},{"text":"Kunst","value":"kunst"},{"text":"Sonstiges","value":"sonstiges"}],"value":""},"gruppe":{"items":[{"text":"nur M\u00e4dchen","value":"nur_maedchen"},{"text":"Familienangebot","value":"familienangebot"},{"text":"Kindergarten","value":"kindergarten"},{"text":"Grundschule","value":"grundschule"},{"text":"Unterstufe","value":"unterstufe"},{"text":"Mittelstufe","value":"mittelstufe"},{"text":"Oberstufe","value":"oberstufe"},{"text":"Azubis","value":"azubis"},{"text":"Hochbegabte","value":"hochbegabte"},{"text":"mit Migrationshintergrund","value":"mit_migrationshintergrund"},{"text":"Bildungsbenachteiligte","value":"bildungsbenachteiligte"},{"text":"Lehrkr\u00e4fte\/P\u00e4dagog*innen","value":"lehrkraefte_paedagog_innen"},{"text":"Eltern","value":"eltern"},{"text":"Studierende","value":"studierende"},{"text":"Sonstige","value":"sonstige"}],"value":""},"angebot":{"items":[{"text":"Webinar","value":"webinar"},{"text":"Schulung","value":"schulung"},{"text":"Workshop","value":"workshop"},{"text":"Kurse","value":"kurse"},{"text":"Ausstellungen","value":"ausstellungen"},{"text":"Ferienprogramm","value":"ferienprogramm"},{"text":"Makerspace","value":"makerspace"},{"text":"Messe","value":"messe"},{"text":"Wettbewerb","value":"wettbewerb"},{"text":"Vortrag","value":"vortrag"},{"text":"Lehrstellen","value":"lehrstellen"},{"text":"Praktikumsstellen","value":"praktikumsstellen"},{"text":"Bufdis","value":"bufdis"}
37,{"text":"Fortbildungen","value":"fortbildungen"},{"text":"Berufs- und Studienorientierungsangebot","value":"berufs_und_studienorientierungsangebot"},{"text":"Unternehmensbesuch","value":"unternehmensbesuch"},{"text":"Sonstiges","value":"sonstiges"}],"value":""},"eigenschaften":[{"text":"barrierefrei","value":"barrierefrei","selected":!1},{"text":"kostenlos","value":"kostenlos","selected":!1},{"text":"kostenpflichtig","value":"kostenpflichtig","selected":!1},{"text":"Ladestation f\u00fcr Elektroauto","value":"ladestation_fuer_elektroauto","selected":!1},{"text":"Einfache Anbindung an den \u00d6ffentlichen Personennahverkehr","value":"einfache_anbindung_an_opv","selected":!1},{"text":"schulisch","value":"schulisch","selected":!1},{"text":"au\u00dferschulisch","value":"ausserschulisch","selected":!1},{"text":"mehrsprachig","value":"mehrsprachig","selected":!1}],"bavaria_offer":!1};window.mintOffersLocations=[{"title":"29++ Klimaschutzbildung, Landkreis M\u00fcnchen","address":"Burgweg 10, 82049 Pullach","lat":48.0598657,"lng":11.5292389,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/29-klimaschutzbildung-landkreis-muenchen\/"},{"title":"AN[ki]T","address":"Rettistra\u00dfe 56, 91522 Ansbach","lat":49.3143214,"lng":10.5742831,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/ankit\/"},{"title":"Angest\u00f6pselt e. V.","address":"Zeller Str. 29\/31, 97082 W\u00fcrzburg","lat":49.79393,"lng":9.9228,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/angestoepselt-e-v\/"},{"title":"Atelierwerkstatt MachWerk e.V.","address":"Landsberger Str. 212, 1.Stock rechts, 80687 M\u00fcnchen","lat":48.1420297,"lng":11.5159348,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/atelierwerkstatt-machwerk-e-v\/"},{"title":"Ausstellungszentrum Lokschuppen Rosenheim","address":"Rathausstra\u00dfe 24, 83022 Rosenheim","lat":47.8524541,"lng":12.1284274,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/ausstellungszentrum-lokschuppen-rosenheim\/"},{"title":"BayernLab Bad Neustadt a.d.Saale","address":"Otto-Hahn-Stra\u00dfe 18, 97616 Bad Neustadt a. d. Saale","lat":50.325075,"lng":10.2155127,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/bayernlab-bad-neustadt-a-d-saale\/"},{"title":"BayernLab Dillingen a.d.Donau","address":"Bahnhofstra\u00dfe 1, 89407 Dillingen a. d. Donau","lat":48.5806795,"lng":10.4891978,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/bayernlab-dillingen-a-d-donau\/"},{"title":"BayernLab Eichst\u00e4tt","address":"Franz-Xaver-Platz 3, 85072 Eichst\u00e4tt","lat":48.8932906,"lng":11.1813773,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/bayernlab-eichstaett\/"},{"title":"BayernLab Forchheim","address":"Dechant-Reuder-Stra\u00dfe 8, 91301 Forchheim","lat":49.7262059,"lng":11.0653864,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/bayernlab-forchheim\/"},{"title":"BayernLab Kaufbeuren","address":"Schraderstra\u00dfe 20, 87600 Kaufbeuren","lat":47.8777812,"lng":10.6198439,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/bayernlab-kaufbeuren\/"},{"title":"BayernLab Lohr a.Main","address":"Erthalstra\u00dfe 1, 97816 Lohr a.Main","lat":49.9934423,"lng":9.5730968,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/bayernlab-lohr-a-main\/"},{"title":"BayernLab Nabburg","address":"Obertor 10, 92507 Nabburg","lat":49.4555345,"lng":12.1789282,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/bayernlab-nabburg\/"},{"title":"BayernLab Neumarkt i.d.OPf.","address":"N\u00fcrnberger Stra\u00dfe 2a, 92318 Neumarkt i.d.OPf.","lat":49.2828763,"lng":11.4567621,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/bayernlab-neumarkt-i-d-opf\/"},{"title":"BayernLab Neustadt a.d.Aisch","address":"Bamberger Stra\u00dfe 48, 91413 Neustadt a.d.Aisch","lat":49.5825133,"lng":10.6138335,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/bayernlab-neustadt-a-d-aisch\/"},{"title":"BayernLab Starnberg","address":"Hauptstr. 21, 82319 Starnberg","lat":47.9982368,"lng":11.3407755,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/bayernlab-starnberg\/"},{"title":"BayernLab Traunstein","address":"Salinenstra\u00dfe 4, 83278 Traunstein","lat":47.8666828,"lng":12.6457132,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/bayernlab-traunstein\/"},{"title":"BayernLab Vilshofen an der Donau","address":"Kapuzinerstra\u00dfe 11, 94474 Vilshofen an der Donau","lat":48.6348299,"lng":13.1837296,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/bayernlab-vilshofen-an-der-donau\/"},{"title":"BayernLab Wunsiedel","address":"Sechs\u00e4mterlandstra\u00dfe 8, 95632 Wunsiedel","lat":50.0387366,"lng":12.0000743,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/bayernlab-wunsiedel\/"},{"title":"Bayerwald Xperium","address":"Pfarrhofweg 4, 94379 St. Englmar","lat":49.0027536,"lng":12.8206743,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/bayerwald-xperium\/"},{"title":"Bergwaldprojekt e.V.","address":"Otto-Hahn-Str. 13, 97204 H\u00f6c
37hberg","lat":49.7714466,"lng":9.873691,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/bergwaldprojekt-e-v\/"},{"title":"Bildungszentrum Th\u00fcringer H\u00fctte","address":"Rother Kuppe 3, 97647 Hausen","lat":50.479443,"lng":10.0816799,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/bildungszentrum-thueringer-huette\/"},{"title":"Bionicum im Tiergarten N\u00fcrnberg","address":"Am Tiergarten 30, 90480 N\u00fcrnberg","lat":49.45043,"lng":11.14008,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/bionicum-im-tiergarten-nuernberg\/"},{"title":"blinkyparts GmbH","address":"Auweg 42a, 93055 Regensburg","lat":49.01573178482109,"lng":12.131348314472216,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/blinkyparts-gmbh\/"},{"title":"Botanischen Garten LehrLernGarten","address":"Julius-von-Sachs-Platz 4, 97082 W\u00fcrzburg","lat":49.7664252,"lng":9.9318412,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/botanischen-garten-lehrlerngarten\/"},{"title":"Bund Naturschutz Hof","address":"Auguststra\u00dfe 1, 95028 Hof","lat":50.3228128,"lng":11.9188923,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/bund-naturschutz-hof\/"},{"title":"BUND Naturschutz Umweltstation \u00d6kohaus W\u00fcrzburg","address":"Luitpoldstra\u00dfe 7a, 97082 W\u00fcrzburg","lat":49.797203,"lng":9.9193032,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/bund-naturschutz-umweltstation-oekohaus-wuerzburg\/"},{"title":"B\u00fcndnis f\u00fcr Familie im Landkreis Ansbach","address":"Crailsheimstra\u00dfe 1, 91522 Ansbach","lat":49.2964262,"lng":10.5615479,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/buendnis-fuer-familie-im-landkreis-ansbach\/"},{"title":"Burg Rothenfels am Main","address":"Bergrothenfelser Stra\u00dfe 71, 97851 Rothenfels","lat":49.8923334,"lng":9.5894237,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/burg-rothenfels-am-main\/"},{"title":"Center for Applied Energy Research e.V. (CAE)","address":"Magdalene-Schoch-Stra\u00dfe 3, 97074 W\u00fcrzburg","lat":49.7862773,"lng":9.9679291,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/center-for-applied-energy-research-e-v-cae\/"},{"title":"Cluster Nanotechnologie","address":"Josef-Martin-Weg 52, 97074 W\u00fcrzburg","lat":49.7853091,"lng":9.9743976,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/cluster-nanotechnologie\/"},{"title":"Curiocity","address":"D\u00fcwellstra\u00dfe 12, 85354 Freising","lat":48.4081698,"lng":11.7393715,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/curiocity\/"},{"title":"CyberMentor","address":"Universit\u00e4tsstra\u00dfe 31, 93040 Regensburg","lat":49.0031949,"lng":12.0941362,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/cybermentor\/"},{"title":"Das Rundfunkmuseum","address":"Sudetenstra\u00dfe 2a, 93413 Cham","lat":49.2038092,"lng":12.6682018,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/das-rundfunkmuseum\/"},{"title":"Department Chemie und Pharmazie der Friedrich-Alexander-Universit\u00e4t Erlangen-N\u00fcrnberg","address":"Egerlandstra\u00dfe 3, 91058 Erlangen","lat":49.5751511,"lng":11.0275544,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/department-chemie-und-pharmazie-der-friedrich-alexander-universitaet-erlangen-nuernberg\/"},{"title":"Deutsches Dampflokomotiv Museum","address":"Birkenstra\u00dfe 5, 95339 Neuenmarkt","lat":50.0939025,"lng":11.5820781,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/deutsches-dampflokomotiv-museum\/"},{"title":"Deutsches Medizinhistorisches Museum Ingolstadt","address":"Anatomiestr. 18-20, 85049 Ingolstadt","lat":48.7623975,"lng":11.419557,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/deutsches-medizinhistorisches-museum-ingolstadt\/"},{"title":"Deutsches Museum","address":"Museumsinsel 1, 80538 M\u00fcnchen","lat":48.1304056,"lng":11.5841175,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/deutsches-museum\/"},{"title":"Deutsches Museum N\u00fcrnberg","address":"Augustinerhof, 90403 N\u00fcrnberg","lat":49.4536911,"lng":11.0752731,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/deutsches-museum-nuernberg\/"},{"title":"Die Bienenp\u00e4dagogin","address":"Hummelsteiner Weg 72, 90459 N\u00fcrnberg","lat":49.4339124,"lng":11.0917536,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/die-bienenpaedagogin\/"},{"title":"DigiClub e.V.","address":"Industriestra\u00dfe 2a, 82110 Germering","lat":48.1308279,"lng":11.3726153,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/digiclub-e-v\/"},{"title":"DigiMINTKids e. V.","address":"Maxallee 3, 92224 Amberg","lat":49.4461408,"lng":11.8506493,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/digimintkids-e-v\/"},{"title":"DigiTrain GmbH","address":"Schlo\u00dfl\u00e4nde 27, 85049 Ingolstadt","lat":48.7647562,"lng":11.4350657,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/digitrain-gmbh\/"},{"title":"DLR_School_Lab Oberpfaffenhofen","address":"M\u00fcnchnerstra\u00dfe 20, 82234 We\u00dfling","lat":48.0848689,"lng":11.2762333,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/dlr_school_lab-oberpfaffenhofen\/"},{"title":"DLR_School_Lab Universit\u00e4t Augsburg","address":"Universit\u00e4tsstr. 1a, 86159 Augsburg","lat":48.331924,"lng":10.896909,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/dlr_school_lab-universitaet-augsburg\/"},{"title":"Energie- und Umweltstation N\u00fcrnberg","address":"W\u00f6hrder Wiesenweg 45, 90402 N\u00fcrnberg","lat":49.4546767,"lng":11.1051671,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/energie-und-umweltstation-nuernberg\/"},{"title":"Energieagentur Regensburg mit Energie-Bildungszentrum um:welt","address":"Rudolf-Vogt-Stra\u00dfe 18, 93053 Regensburg","lat":49.0000826,"lng":12.1044053,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/energieagentur-regensburg-mit-energie-bildungszentrum-umwelt\/"},{"title":"Energieschule M\u00fcnchen, Green City e.V.","address":"Lindwurmstra\u00dfe 88, 80337 M\u00fcnchen","lat":48.125006,"lng":11.5486791,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/energieschule-muenchen-green-city-e-v\/"},{"title":"Erfahrungsfeld zur Entfaltung der Sinne","address":"W\u00f6hrder Wiese (Kreuzung Johann-Soergel-Weg\/Ulman-Stromer-Weg), 90489 N\u00fcrnberg","lat":49.4529455,"lng":11.0872112,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/erfahrungsfeld-zur-entfaltung-der-sinne\/"},{"title":"Erlanger Sch\u00fclerForschungsZentrum","address":"Staudtstrasse 7, B2, 91058 Erlangen","lat":49.58036,"lng":11.0297716,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/erlanger-schuelerforschungszentrum\/"},{"title":"Erlebnis Naturgarten e. V.","address":"Meilendorf 21, 85405 Nandlstadt","lat":48.5207792,"lng":11.7661042,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/erlebnis-naturgarten-e-v\/"},{"title":"ESO Supernova","address":"Karl-Schwarzschild-Str. 2, 85748 Garching","lat":48.26046495189995,"lng":11.670879468399441,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/eso-supernova\/"}
37,{"title":"Experimentier- und KompetenzWerkstatt Langquaid","address":"Pestalozzistra\u00dfe 8, 84085 Langquaid","lat":48.8259071,"lng":12.049218,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/experimentier-und-kompetenzwerkstatt-langquaid\/"},{"title":"Exzellenzcluster e-conversion","address":"Lichtenbergstra\u00dfe 4a, 85748 Garching","lat":48.2674531,"lng":11.6684078,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/exzellenzcluster-e-conversion\/"},{"title":"FabLab M\u00fcnchen e.V.","address":"Gollierstr. 70D, 80339 M\u00fcnchen","lat":48.1364548,"lng":11.5334747,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/fablab-muenchen-e-v\/"},{"title":"FabLab Oberland e.V.","address":"T\u00f6lzer Str. 3A, 83703 Gmund am Tegernsee","lat":47.7504546,"lng":11.7376383,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/fablab-oberland-e-v\/"},{"title":"FabLab Region N\u00fcrnberg e.V.","address":"Schwabacher Str. 512, 90763 F\u00fcrth","lat":49.437663,"lng":10.9925431,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/fablab-region-nuernberg-e-v\/"},{"title":"FabLab-Bayreuth e. V.","address":"Ludwig-Thoma-Str. 36 b, 95447 Bayreuth","lat":49.9293611,"lng":11.5640324,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/fablab-bayreuth-e-v\/"},{"title":"Fakult\u00e4t Angewandte Chemie der Technischen Hochschule N\u00fcrnberg","address":"Prinzregentenufer 47, 90489 N\u00fcrnberg","lat":49.4519463,"lng":11.0955762,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/fakultaet-angewandte-chemie-der-technischen-hochschule-nuernberg\/"},{"title":"Fakult\u00e4t European Campus Rottal-Inn","address":"Max-Breiherr-Str. 32, 84347 Pfarrkirchen","lat":48.428848,"lng":12.9226899,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/fakultaet-european-campus-rottal-inn\/"},{"title":"Fakult\u00e4t Werkstofftechnik der Technischen Hochschule N\u00fcrnberg","address":"Wassertorstra\u00dfe 10, 90489 N\u00fcrnberg","lat":49.4527016,"lng":11.0961296,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/fakultaet-werkstofftechnik-der-technischen-hochschule-nuernberg\/"},{"title":"Farning Programmierschule N\u00fcrnberg","address":"K\u00f6nigstra\u00dfe 71, 90402 N\u00fcrnberg","lat":49.4486035,"lng":11.0805029,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/farning-programmierschule-nuernberg\/"},{"title":"Fr\u00e4nkische Schweiz-Museum T\u00fcchersfeld","address":"Am Museum 5, 91278 Pottenstein","lat":49.785417180410505,"lng":11.360943224314395,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/fraenkische-schweiz-museum-tuechersfeld\/"},{"title":"Fr\u00e4nkisches Bildungswerk f\u00fcr Friedensarbeit e.V.","address":"Hessestra\u00dfe 4, 90443 N\u00fcrnberg","lat":49.4455067,"lng":11.0577322,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/fraenkisches-bildungswerk-fuer-friedensarbeit-e-v\/"},{"title":"Freiwilligen-Zentrum Augsburg &#8211; Kleine Entdecker","address":"Mittlerer Lech 5, 86150 Augsburg","lat":48.3689514,"lng":10.9010252,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/freiwilligen-zentrum-augsburg-kleine-entdecker\/"},{"title":"FUTURELAB &#8211; Technische Hochschule Ingolstadt","address":"Esplanade 10, 85049 Baar-Ebenhausen","lat":48.7673675,"lng":11.4317684,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/futurelab-technische-hochschule-ingolstadt\/"},{"title":"GEO-Zentrum an der Kontinentalen Tiefbohrung KTB","address":"Am Bohrturm 2, 92670 Windischeschenbach","lat":49.8164742,"lng":12.1193997,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/geo-zentrum-an-der-kontinentalen-tiefbohrung-ktb\/"},{"title":"Gerhard-Franz-Volkssternwarte Tirschenreuth","address":"An der Sternwarte bzw  VHS Tirschenreuth,  St.-Peter-Str. 33, 95643 Tirschenreuth, 95643 Tirschenreuth","lat":49.8852233,"lng":12.3303337,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/gerhard-franz-volkssternwarte-tirschenreuth\/"},{"title":"GESTA Gesellschaftliche Teilhabe f\u00fcr Alle e.V.","address":"Haidstrasse 5, 63741 Aschaffenburg","lat":49.9860234,"lng":9.1357439,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/gesta-gesellschaftliche-teilhabe-fuer-alle-e-v\/"},{"title":"H3CKE &#8211; Makerspace Rosenheim gGmbH","address":"Herzog-Otto-Stra\u00dfe 8a, 83022 Rosenheim","lat":47.8546741,"lng":12.1228601,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/h3cke-makerspace-rosenheim-ggmbh\/"},{"title":"Hacker School gGmbH &#8211; gef\u00f6rdert durch die T\u00dcV S\u00fcd Stiftung","address":"Westendstra\u00dfe 199, 80686 M\u00fcnchen","lat":48.1326553,"lng":11.5213722,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/hacker-school-ggmbh-gefoerdert-durch-die-tuev-sued-stiftung\/"},{"title":"Hammermuseum Hasloch","address":"Eisenhammer, 97907 Hasloch","lat":49.8133187,"lng":9.4935826,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/hammermuseum-hasloch\/"},{"title":"HANDS on TECHNOLOGY e.V.","address":"OTH Regensburg Junge Hochschule c\/o HANDS on TECHNOLOGY e.V., 93053 Regensburg","lat":49.003356,"lng":12.0952382,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/hands-on-technology-e-v\/"},{"title":"HAUS AM HABSBERG","address":"An der Habsberger Stra\u00dfe 1, 92283 Lauterhofen","lat":49.2911384,"lng":11.616136,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/haus-am-habsberg\/"},{"title":"Haus am Strom gGmbH","address":"Am Kraftwerk 4, 94107 Untergriesbach","lat":48.5200668,"lng":13.7092125,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/haus-am-strom-ggmbh\/"},{"title":"Hochschule Coburg \/ MUT &#8211; M\u00e4dchen und Technik","address":"Friedrich-Streib-Stra\u00dfe 2, 96450 Coburg","lat":50.26496,"lng":10.9522946,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/hochschule-coburg-mut-maedchen-und-technik\/"},{"title":"Hochschule Neu-Ulm","address":"Hochschule Neu-Ulm, Wileystr. 1, 89231 Neu-Ulm","lat":48.3804508,"lng":10.0093798,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/hochschule-neu-ulm\/"},{"title":"i!bk Ideenwerkstatt f\u00fcr Bildung und Kommunikation gGmbH","address":"Landsberger Stra\u00dfe 3, 80339 M\u00fcnchen","lat":48.13905,"lng":11.5471595,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/ibk-ideenwerkstatt-fuer-bildung-und-kommunikation-ggmbh\/"},{"title":"IHK N\u00fcrnberg f\u00fcr Mittelfranken &#8211; Stiftung Kinder forschen","address":"Hauptmarkt 25\/27, 90403 N\u00fcrnberg","lat":49.4546064,"lng":11.0763742,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/ihk-nuernberg-fuer-mittelfranken-stiftung-kinder-forschen\/"},{"title":"Industriemuseum Lauf","address":"Sichartstra\u00dfe 5-25, 91207 Lauf an der Pegnitz","lat":49.5098431,"lng":11.2769946,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/industriemuseum-lauf\/"},{"title":"Initiative Junge Forscherinnen und Forscher e.V.","address":"Elferweg 49, 97074 W\u00fcrzburg","lat":49.7912315,"lng":9.9762386,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/initiative-ju
37nge-forscherinnen-und-forscher-e-v\/"},{"title":"IQ.Kids Bamberg","address":"Pestalozzistra\u00dfe 10, 96052 Bamberg","lat":49.9096925,"lng":10.9169398,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/iq-kids-bamberg\/"},{"title":"IT4Kids","address":"Konrad-Celtis-Stra\u00dfe 81, 81369 M\u00fcnchen","lat":48.1106016,"lng":11.5242038,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/it4kids\/"},{"title":"Jeannie and the Goliath","address":"Langes Gr\u00e4thlein 17, 97078 W\u00fcrzburg","lat":49.8249017,"lng":9.9621086,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/jeannie-and-the-goliath\/"},{"title":"Joachim &amp; Susanne Schulz Stiftung","address":"Neudorfer Str. 2, 63916 Amorbach","lat":49.6479078,"lng":9.224041,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/joachim-susanne-schulz-stiftung\/"},{"title":"Jugend pr\u00e4sentiert","address":"Auf der Schanz, 85049 Ingolstadt","lat":48.76810789371847,"lng":11.417542853275588,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/jugend-praesentiert\/"},{"title":"Jugend-Umweltstation KjG-Haus Schonungen","address":"Ottostra\u00dfe 1, 97070 W\u00fcrzburg","lat":49.7899624,"lng":9.9367755,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/jugend-umweltstation-kjg-haus-schonungen\/"},{"title":"Jugendbildungsst\u00e4tte Windberg &#8211; Umweltstation","address":"Pfarrplatz 22, 94336 Windberg","lat":48.9400117,"lng":12.7469808,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/jugendbildungsstaette-windberg-umweltstation\/"},{"title":"Jugendforschungszentrum MINTopolis","address":"Haidm\u00fchlstr. 30, 83714 Miesbach","lat":47.784978,"lng":11.8305615,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/jugendforschungszentrum-mintopolis\/"},{"title":"Julius-Maximilians-Universit\u00e4t W\u00fcrzburg","address":"Sanderring 2, 97070 W\u00fcrzburg","lat":49.7881813,"lng":9.93526,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/julius-maximilians-universitaet-wuerzburg\/"},{"title":"Kempodium e. V.","address":"Untere Eicher Str. 3, 87435 Kempten","lat":47.7103334,"lng":10.3202828,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/kempodium-e-v\/"},{"title":"KidsLab gGmbH","address":"Herrenh\u00e4user 17, 86159 Augsburg","lat":48.3769397,"lng":10.8934249,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/kidslab-ggmbh\/"},{"title":"Kindermuseum N\u00fcrnberg &#8211; Museum im Koffer e. V.","address":"Michael-Ende-Stra\u00dfe 17, 90439 N\u00fcrnberg","lat":49.4427361,"lng":11.0521279,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/kindermuseum-nuernberg-museum-im-koffer-e-v\/"},{"title":"Landesagentur f\u00fcr Energie und Klimaschutz (LENK)","address":"Franz-Mayer-Stra\u00dfe 1, 93053 Regensburg","lat":49.0022552,"lng":12.1004138,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/landesagentur-fuer-energie-und-klimaschutz-lenk\/"},{"title":"Landeswettbewerb Experimente antworten Bayern","address":"Bayerisches Kultusministerium, Salvatorstra\u00dfe 2, 80333 M\u00fcnchen","lat":48.1421916,"lng":11.5754829,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/landeswettbewerb-experimente-antworten-bayern\/"},{"title":"Landkreis Wunsiedel i. Fichtelgebirge","address":"Marktplatz 12, 95158 Kirchenlamitz","lat":50.1512649,"lng":11.9503207,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/landkreis-wunsiedel-i-fichtelgebirge\/"},{"title":"LBV Umweltstation Wiesm\u00fchl mit Au\u00dfenstelle \u00dcbersee","address":"Wiesm\u00fchl 12, 84549 Engelsberg","lat":48.1073639,"lng":12.573976,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/lbv-umweltstation-wiesmuehl-mit-aussenstelle-uebersee\/"},{"title":"LBV-Umweltstation Lindenhof","address":"Karolinenreuther Str. 58, 95448 Bayreuth","lat":49.9176096,"lng":11.5896328,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/lbv-umweltstation-lindenhof\/"},{"title":"LBV-Umweltstation Rothsee","address":"Am Rothsee 10, 91161 Hilpoltstein","lat":49.211025,"lng":11.184632,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/lbv-umweltstation-rothsee\/"},{"title":"LCC FabLab","address":"G\u00fcterstra\u00dfe 7, 96317 Kronach","lat":50.241142,"lng":11.3214354,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/lcc-fablab\/"},{"title":"LIMESEUM Ruffenhofen","address":"R\u00f6merpark Ruffenhofen 1, 91749 Wittelshofen","lat":49.0441978,"lng":10.4849375,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/limeseum-ruffenhofen\/"},{"title":"Little Lab &#8211; Wissenschaft f\u00fcr Kinder e.V.","address":"Ute-Strittmatter-Str. 6, 81248 M\u00fcnchen","lat":48.1491666,"lng":11.4076577,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/little-lab-wissenschaft-fuer-kinder-e-v\/"},{"title":"LMUchemlab","address":"Butenandtstra\u00dfe 5-13, 81377 M\u00fcnchen","lat":48.1139706,"lng":11.4662864,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/lmuchemlab\/"},{"title":"M!ND Universit\u00e4t W\u00fcrzburg","address":"Matthias-Lexer-Weg 25, 97074 W\u00fcrzburg","lat":49.7878509,"lng":9.971074,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/mnd-u
37niversitaet-wuerzburg\/"},{"title":"Machbar e.V.","address":"Laurenzistra\u00dfe 2, 96215 Lichtenfels","lat":50.1467094,"lng":11.0640363,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/machbar-e-v\/"},{"title":"Makerspace &#8211; Gemeinde Schlammersdorf","address":"Schulstra\u00dfe 5, 95519 Schlammersdorf","lat":49.8007695,"lng":11.7347924,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/makerspace-gemeinde-schlammersdorf\/"},{"title":"Mathematisch-Physikalischer Verein e.V.","address":"Universit\u00e4tsstra\u00dfe 1a, 86159 Augsburg","lat":48.331924,"lng":10.896909,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/mathematisch-physikalischer-verein-e-v\/"},{"title":"MaxLab &#8211; Sch\u00fcler und Besucherlabor der Max-Planck-Institute f\u00fcr Biochemie und f\u00fcr biologische Intelligenz","address":"Am Klopferspitz 18, 82152 Martinsried","lat":48.1069282,"lng":11.4612105,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/maxlab-schueler-und-besucherlabor-der-max-planck-institute-fuer-biochemie-und-fuer-biologische
37-intelligenz\/"},{"title":"Medienportal f\u00fcr den MINT-Unterricht der Siemens Stiftung","address":"Kaiserstra\u00dfe 16, 80801 M\u00fcnchen","lat":48.1609375,"lng":11.5838861,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/medienportal-fuer-den-mint-unterricht-der-siemens-stiftung\/"},{"title":"Medienzentrum Landkreis Pfaffenhofen a.d.Ilm","address":"Scheyerer Str. 51, 85276 Pfaffenhofen a.d. Ilm","lat":48.5263334,"lng":11.4982096,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/medienzentrum-landkreis-pfaffenhofen-a-d-ilm\/"},{"title":"Mineralogisches Museum der Universit\u00e4t W\u00fcrzburg","address":"Am Hubland S\u00fcd, Geb\u00e4ude G1, 97074 W\u00fcrzburg","lat":49.782415236261535,"lng":9.97011794388253,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/mineralogisches-museum-der-universitaet-wuerzburg\/"},{"title":"MINT-Campus Dachau e.V.","address":"Steinstr. 3, 85221 Dachau","lat":48.2631765,"lng":11.4506941,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/mint-campus-dachau-e-v\/"},{"title":"MINT-Garage Freising","address":"Blumenstra\u00dfe 16, 85354 Freising","lat":48.4001084,"lng":11.7320859,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/mint-garage-freising\/"},{"title":"MINT-Garage Waldsassen","address":"Konnersreuther Stra\u00dfe 6g, 95652 Waldsassen","lat":50.0050598,"lng":12.2944175,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/mint-garage-waldsassen\/"},{"title":"MINT-Labs Regensburg e.V.","address":"Rudolf-Vogt-Str. 18, 93053 Regensburg","lat":49.0002477,"lng":12.1046566,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/mint-labs-regensburg-e-v\/"},{"title":"MINT-logisch e.V.","address":"Steubenstra\u00dfe 18, 90763 F\u00fcrth","lat":49.4610023,"lng":10.9909551,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/mint-logisch-e-v\/"},{"title":"MINT-Mobil","address":"Geisfelder Str. 14, 96050 Bamberg","lat":49.8894973,"lng":10.9155491,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/mint-mobil\/"},{"title":"MINT-Zentrum Hirschaid gGmbH","address":"Leimh\u00fcll 27, 96114 Hirschaid","lat":49.8162420201908,"lng":10.994318952215037,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/mint-zentrum-hirschaid-ggmbh\/"},{"title":"MINTbayU","address":"R\u00fcttelweg 7, 63843 Niedernberg","lat":49.9130332401015,"lng":9.12482201271869,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/mintbayu\/"},{"title":"MINTmacher","address":"Esplanade 10, 85049 Ingolstadt","lat":48.7673754,"lng":11.4317793,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/mintmacher\/"},{"title":"MINTphilmal &#8211; F\u00f6rderinitiative f\u00fcr Mathematik, Informatik, Naturwissenschaft, Technik, Philosophie und Kunst e.V.","address":"Marina Lindner (Vereinsvorsitzende), 95463 Bindlach","lat":50.0045679,"lng":11.6037542,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/mintphilmal-foerderinitiative-fuer-mathematik-informatik-naturwissenschaft-technik-philosophie-und-kunst-e-v\/"},{"title":"Museum Mensch und Natur","address":"Schloss Nymphenburg, 80638 M\u00fcnchen","lat":48.1582675,"lng":11.5033143,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/museum-mensch-und-natur\/"},{"title":"Nationalparkverwaltung Berchtesgaden","address":"Doktorberg 6, 83471 Berchtesgaden","lat":47.6337357,"lng":13.0007141,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/nationalparkverwaltung-berchtesgaden\/"},{"title":"Naturerlebniszentrum Allg\u00e4u","address":"Auf der Gerbe 2, 87527 Sonthofen","lat":47.5009032,"lng":10.2785132,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/naturerlebniszentrum-allgaeu\/"},{"title":"Naturium am Inn","address":"Innwerkstra\u00dfe 15, 94140 Ering","lat":48.296072,"lng":13.1568193,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/naturium-am-inn\/"},{"title":"Naturkundemuseum Bayern mit BIOTOPIA Lab","address":"Menzinger Stra\u00dfe 65, 80638 M\u00fcnchen","lat":48.1644161,"lng":11.5017198,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/naturkundemuseum-bayern-mit-biotopia-lab\/"},{"title":"Naturpark Umweltstation Bayerisch Eisenstein","address":"Bahnhofstra\u00dfe 54, 94252 Bayerisch Eisenstein","lat":49.1215344,"lng":13.208432,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/naturpark-umweltstation-bayerisch-eisenstein\/"},{"title":"Naturpark Umweltstation Viechtach","address":"Stadtplatz 1, 94234 Viechtach","lat":49.0803541,"lng":12.886271,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/naturpark-umweltstation-viechtach\/"},{"title":"Naturpark-Umweltstation Waldkirchen","address":"Marktm\u00fchlerweg 4, 94065 Waldkirchen","lat":48.7311566,"lng":13.6037687,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/naturpark-umweltstation-waldkirchen\/"},{"title":"NAWAREUM","address":"Schulgasse 23A, 94374 Straubing","lat":48.8840071,"lng":12.5821435,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/nawareum\/"},{"title":"Neo Bamberg","address":"Pestalozzistra\u00dfe 10, 96052 Bamberg","lat":49.9098899,"lng":10.916374,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/neo-bamberg\/"},{"title":"Nicolaus-Copernicus-Planetarium N\u00fcrnberg","address":"Am Pl\u00e4rrer 41, 90429 N\u00fcrnberg","lat":49.448017,"lng":11.063041,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/nicolaus-copernicus-planetarium-nuernberg\/"},{"title":"Oberallg\u00e4uer Volkshochschule e.V.","address":"Hindelanger Str., 37, 87527 Sonthofen","lat":47.5119891,"lng":10.2909424,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/oberallgaeuer-volkshochschule-e-v\/"},{"title":"\u00d6kologische Bildungsst\u00e4tte Burg Hohenberg e.V.","address":"Selber Stra\u00dfe 14, 95691 Hohenberg\/Eger","lat":50.097855,"lng":12.22133,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/oekologische
37-bildungsstaette-burg-hohenberg-e-v\/"},{"title":"\u00d6kologische Bildungsst\u00e4tte Oberfranken Naturschutzzentrum Wasserschlo\u00df Mitwitz e.V.","address":"Unteres Schlo\u00df 5, 96268 Mitwitz","lat":50.2478098,"lng":11.2061967,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/oekologische-bildungsstaette-oberfranken-naturschutzzentrum-wasserschloss-mitwitz-e-v\/"},{"title":"OTH Regensburg","address":"Seybothstra\u00dfe 2, 93053 Regensburg","lat":49.0038765,"lng":12.0943155,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/oth-regensburg\/"},{"title":"Passauer Mathe-Museum","address":"Dr. Hans-Kapfinger-Str. 30, 94032 Passau","lat":48.571924,"lng":13.4532052,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/passauer-mathe-museum\/"},{"title":"Physiksaal.de","address":"W\u00fcrzburger Weg 5, 91077 Neunkirchen am Brand","lat":49.6096783,"lng":11.142946,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/physiksaal-de\/"},{"title":"Radom Raisting GmbH","address":"Hofst\u00e4tterweg 2, 82399 Raisting","lat":47.9022631,"lng":11.1158256,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/radom-raisting-gmbh\/"},{"title":"RCE BenE M\u00fcnchen","address":"Ledererstr. 17, 80331 M\u00fcnchen","lat":48.1370638,"lng":11.5792836,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/rce-bene-muenchen\/"},{"title":"Regensburger Sch\u00fclerlabor und Sch\u00fclerforschungszentrum","address":"Universit\u00e4tsstr. 31, 93053 Regensburg","lat":48.9980819,"lng":12.0927468,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/regensburger-schuelerlabor-schuelerforschungszentrum\/"},{"title":"Regionalentwicklung Oberland KU","address":"Rathausplatz 2, 83714 Miesbach","lat":47.7890748,"lng":11.8306207,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/regionalentwicklung-oberland-ku\/"},{"title":"Roland-Eller-Umweltzentrum im Schullandheim Hobbach","address":"Bayernstra\u00dfe 2-4, 63863 Eschau-Hobbach","lat":49.8609095,"lng":9.2861414,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/roland-eller-umweltzentrum-im-schullandheim-hobbach\/"},{"title":"SBSZ Solutions","address":"Ohmstra\u00dfe 12-16, 96050 Bamberg","lat":49.8958917,"lng":10.9155889,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/sbsz-solutions\/"},{"title":"Sch\u00fclerforschungswerkstatt am Kepler-Gymnasium Weiden","address":"Friedrich-Ebert Stra\u00dfe 21, 92637 Weiden","lat":49.6771536,"lng":12.1731628,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/schuelerforschungswerkstatt-am-kepler-gymnasium-weiden\/"},{"title":"Sch\u00fclerforschungszentrum Berchtesgadener Land","address":"Salzburger Stra\u00dfe 15, 83471 Berchtesgaden","lat":47.6385995,"lng":13.0093674,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/schuelerforschungszentrum-berchtesgadener-land\/"},{"title":"Sch\u00fclerlabor &#8222;Genetik macht Schule&#8220;","address":"Gro\u00dfhaderner Stra\u00dfe 2-4, 82152 Planegg-Martinsried","lat":48.1089712,"lng":11.4575721,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/schuelerlabor-genetik-macht-schule\/"},{"title":"Sch\u00fclerlabor PhotonLab","address":"Hans-Kopfermann-Stra\u00dfe 1, 85748 Garching","lat":48.259644,"lng":11.6668386,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/schuelerlabor-photonlab\/"},{"title":"Sch\u00fclerlabor Sinneswahrnehmungen, Hochschule Kempten","address":"Fischer\u00f6sch 4, 87435 Kempten","lat":47.7159007,"lng":10.31402,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/schuelerlabor-sinneswahrnehmungen-hochschule-kempten\/"},{"title":"Sch\u00fclerwettbewerb \u201eJunior.ING\u201c der Bayerischen Ingenieurekammer-Bau","address":"Schlo\u00dfschmidstra\u00dfe 3, 80639 M\u00fcnchen","lat":48.1464185,"lng":11.5196222,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/schuelerwettbewerb-junior-ing-der-bayerischen-ingenieurekammer-bauu\/"},{"title":"Schullandheim Bauersberg","address":"Bauersbergstra\u00dfe 110, 97653 Bischofsheim an der Rh\u00f6n","lat":50.420580152871835,"lng":10.0121407684964,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/schullandheim-bauersberg\/"},{"title":"Schullandheim Bliensbach","address":"Beim Schullandheim 2, 86637 Wertingen","lat":48.5503433,"lng":10.7150324,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/schullandheim-bliensbach\/"},{"title":"Schullandheim Steinbach am Wald","address":"Ludwigsst\u00e4dter Stra\u00dfe 30, 96361 Steinbach am Wald","lat":50.438138,"lng":11.3688895,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/schullandheim-steinbach-am-wald\/"},{"title":"Schullandheim Wei\u00dfenstadt","address":"Sparnecker Stra\u00dfe 80, 95163 Wei\u00dfenstadt","lat":50.119299,"lng":11.8777849,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/schullandheim-weissenstadt\/"},{"title":"ScienceLab e.V.","address":"Jahnstr. 47a, 82319 Starnberg","lat":47.9872643,"lng":11.3268017,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/sciencelab-e-v\/"},{"title":"Stadt Kempten (Allg\u00e4u) &#8211; Amt f\u00fcr Kindertagesst\u00e4tten, Schulen und Sport","address":"Rathausplatz 22, 87435 Kempten (Allg\u00e4u)","lat":47.7266158,"lng":10.3169989,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/stadt-kempten-allgaeu-amt-fuer-kindertagesstaetten-schulen-und-sport\/"},{"title":"Stadt Straubing &#8211; Wirtschaftsf\u00f6rderung","address":"Leihhausgasse 2, 94315 Straubing","lat":48.8833462,"lng":12.5698707,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/m
37int-foerderung-straubing\/"},{"title":"Stadtb\u00fccherei Neuburg an der Donau","address":"S\u00e8ter Platz 1, 86633 Neuburg a. d. Donau","lat":48.734201,"lng":11.18082,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/stadtbuecherei-neuburg-an-der-donau\/"},{"title":"Stadtb\u00fccherei W\u00fcrzburg","address":"Marktplatz 9, 97070 W\u00fcrzburg","lat":49.7950349,"lng":9.9302064,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/stadtbuecherei-wuerzburg\/"},{"title":"Sternfreunde Kelheim e.V. &#8211; Donausternwarte","address":"Sausthal 1, 93346 Ihrlerstein","lat":48.952722,"lng":11.823139,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/sternfreunde-kelheim-e-v-donausternwarte\/"},{"title":"Sternwarte Dieterskirchen","address":"Neunburger Stra\u00dfe 24, 92542 Dieterskirchen","lat":49.4114119,"lng":12.4049852,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/sternwarte-dieterskirchen\/"},{"title":"Stiftung Jugend forscht e.V.","address":"Innerer Laufer Platz 11, 90403 N\u00fcrnberg","lat":49.4564535,"lng":11.0828466,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/stiftung-jugend-forscht-e-v\/"},{"title":"TEAMWERK offene Werkstatt e.V.","address":"Ismaninger Stra\u00dfe 24a, 85609 Aschheim","lat":48.1764183,"lng":11.7138009,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/teamwerk-offene-werkstatt-e-v\/"},{"title":"TechNat e.V.","address":"Cauerstr. 3, 91058 Erlangen","lat":49.5718798,"lng":11.0268963,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/technat-e-v-2\/"},{"title":"Technik &#8211; Zukunft in Bayern","address":"Infanteriestrasse 8, 80797 M\u00fcnchen","lat":48.1591367,"lng":11.5560462,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/technik-zukunft-in-bayern\/"},{"title":"Technische Hochschule Augsburg","address":"An der Hochschule 1, 86161 Augsburg","lat":48.3551779,"lng":10.9046793,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/technische-hochschule-augsburg\/"},{"title":"Technische Hochschule N\u00fcrnberg Georg Simon Ohm Fakult\u00e4t Angewandte Mathematik, Physik und Allgemeinwissenschaften","address":"Ke\u00dflerplatz 12, 90489 N\u00fcrnberg","lat":49.4528291,"lng":11.0933465,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/technische-hochschule-nuernberg-georg-simon-ohm-fakultaet-angewandte-mathematik-physik-und-allgemeinwissenschaften\/"},{"title":"Technische Hochschule Rosenheim","address":"Hochschulstr. 1, 83024 Rosenheim","lat":47.8669653,"lng":12.1075018,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/technische-hochschule-rosenheim\/"},{"title":"Technische Hochschule W\u00fcrzburg-Schweinfurt","address":"M\u00fcnzstr. 12, 97070 W\u00fcrzburg","lat":49.7876504,"lng":9.9327437,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/technische-hochschule-wuerzburg-schweinfurt\/"},{"title":"Technische Universit\u00e4t N\u00fcrnberg","address":"Dr.-Luise-Herzberg-Stra\u00dfe 4, 90471 N\u00fcrnberg","lat":49.4201957,"lng":11.104026,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/technische-universitaet-nuernberg\/"},{"title":"Technologie Campus Dinkelsb\u00fchl e.V.","address":"W\u00f6rter Str. 14, 91550 Dinkelsb\u00fchl","lat":49.0660053,"lng":10.3122883,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/technologie-campus-dinkelsbuehl-e-v\/"},{"title":"TfK-Technik f\u00fcr Kinder Aktiv gGmbH, SET-Sch\u00fcler entdecken Technik","address":"Lukasweg 12 A, 94469 Deggendorf","lat":48.8369678,"lng":12.9513007,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/tfk-technik-fuer-kinder-aktiv-ggmbh-set-schueler-entdecken-technik\/"},{"title":"TfK-Technik f\u00fcr Kinder Aktiv gGmbH, Technikhaus  Arnstorf","address":"Aufhausener Stra\u00dfe 1a, 94424 Arnstorf","lat":48.5654069,"lng":12.8115794,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/tfk_technik_fuer_kinder_technikhaus-arnstorf\/"},{"title":"TfK-Technik f\u00fcr Kinder Aktiv gGmbH, Technikhaus  Dingolfing","address":"Sankt-Anton-Stra\u00dfe 8, 84130 Dingolfing","lat":48.6389648,"lng":12.4942678,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/tfk_technik_fuer_kinder_technikhaus-dingolfing\/"},{"title":"TfK-Technik f\u00fcr Kinder Aktiv gGmbH, Technikhaus  Regen","address":"Stra\u00dffeld 30, 94209 Regen","lat":48.9811108,"lng":13.0861776,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/tfk_technik_fuer_kinder_technikhaus-regen\/"},{"title":"TfK-Technik f\u00fcr Kinder Aktiv gGmbH, Technikhaus  Straubing","address":"Hebbelstra\u00dfe 24, 94315 Straubing","lat":48.8760613,"lng":12.5783232,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/tfk_technik_fuer_kinder_technikhaus-straubing\/"},{"title":"TfK-Technik f\u00fcr Kinder Aktiv gGmbH, Technikhaus Deggendorf","address":"Schwaigerbreite 17, 94469 Deggendorf","lat":48.8377437,"lng":12.9476733,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/tfk_technik_fuer_kinder_technikhaus-deggendorf\/"},{"title":"THD &#8211; Technikferien, Kinderuni und Hands-on f\u00fcr Schulklassen","address":"Dieter-G\u00f6rlitz-Platz 1, 94469 Deggendorf","lat":48.8296374,"lng":12.9550079,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/technische-hochschule-deggendorf\/"},{"title":"Traumberuf MINT-Sch\u00fclermesse","address":"Lilienthalallee 29, 80939 M\u00fcnchen","lat":48.1479441,"lng":11.6811096,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/traumberuf-mint-schuelermesse\/"},{"title":"T\u00fcftelLab M\u00fcnchen","address":"Freddie-Mercury-Stra\u00dfe 5, 80797 M\u00fcnchen","lat":48.1569175,"lng":11.5514712,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/tueftellab-muenchen\/"},{"title":"TUM Forschungszentrum Geriatronik","address":"Breitenauer Stra\u00dfe 1a, 82467 Garmisch-Partenkirchen","lat":47.488003,"lng":11.0614484,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/tum-forschungszentrum-geriatronik\/"},{"title":"TUMjunior-Exkursionskonzepte","address":"Professur f\u00fcr Formelles und Informelles Lernen, TU M\u00fcnchen, Marsstra\u00dfe 20-22, 80333 M\u00fcnchen","lat":48.143733763758135,"lng":11.558057754900046,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/tumjunior-exkursionskonzepte\/"},{"title":"Umwelt|Jugendherberge Eichst\u00e4tt","address":"Reichenaustra\u00dfe 15, 85072 Eichst\u00e4tt","lat":48.8940844,"lng":11.1748017,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/umweltjugendherberge-eichstaett\/"},{"title":"Umweltbildungsst\u00e4tte Oberelsbach","address":"Auweg 1, 97656 Oberelsbach","lat":50.4421342,"lng":10.1201213,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/umweltbildungsstaette-oberelsbach\/"},{"title":"Umweltbildungszentrum Augsburg","address":"Dr.-Ziegenspeck-Weg 6, 86161 Augsburg","lat":48.3487528,"lng":10.9128961,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/umweltbildungszentrum-augsburg\/"},{"title":"Umweltstation der Stadt W\u00fcrzburg","address":"Nigglweg 5, 97082 W\u00fcrzburg","lat":49.7950798,"lng":9.9191263,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/umweltstation-der-stadt-wuerzburg\/"},{"title":"Umweltstation Dingolfing-Landau","address":"Obere Stadt 1, 84130 Dingolfing","lat":48.6276741,"lng":12.4958893,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/umweltstation-dingolfing-landau\/"},{"title":"Umweltstation Ingolstadt","address":"Ludwigstra\u00dfe 41, 85049 Ingolstadt","lat":48.7648764,"lng":11.4289916,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/umweltstation-ingolstadt\/"},{"title":"Umweltstation Kitzinger Land","address":"Untere Maingasse 4, 97342 Marktsteft","lat":49.6959195,"lng":10.133496,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/umweltstation-kitzinger-land\/"},{"title":"Umweltstation Landshut","address":"Luitpoldstra\u00dfe 29a, 84034 Landshut","lat":48.5396321,"lng":12.1401266,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/umweltstation-landshut\/"},{"title":"Umweltstation mooseum","address":"Schlossstra\u00dfe 7, 89431 B\u00e4chingen an der Brenz","lat":48.5478079,"lng":10.3139824,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/umweltstation-mooseum\/"},{"title":"Umweltstation Naturpark Altm\u00fchltal Eichst\u00e4tt","address":"Notre Dame 1, 85072 Eichst\u00e4tt","lat":48.8916729,"lng":11.187809,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/umweltstation-naturpark-altmuehltal-eichstaett\/"},{"title":"UNESCO Biosph\u00e4renregion Berchtesgadener Land","address":"S\u00e4gewerkstra\u00dfe 3, 83395 Freilassing","lat":47.8415851,"lng":12.9684763,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/unesco-biosphaerenregion-berchtesgadener-land\/"},{"title":"Universit\u00e4t Bayreuth","address":"Universit\u00e4tsstra\u00dfe 30, 95440 Bayreuth","lat":49.9288181,"lng":11.5818727,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/universitaet-bayreuth\/"},{"title":"Universit\u00e4t Passau","address":"Innstra\u00dfe 41, 94032 Passau","lat":48.5668333,"lng":13.4496957,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/universitaet-passau\/"},{"title":"UnternehmerTUM MakerSpace GmbH","address":"Freddie-Mercury-Str. 5, 80797 M\u00fcnchen","lat":48.1569788,"lng":11.5514627,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/unternehmertum-makerspace-gmbh\/"},{"title":"Utopia Hackerspace der Stadtjugendpflege Pfaffenhofen","address":"Bistumerweg 5, 85276 Pfaffenhofen a.d.Ilm","lat":48.5355459,"lng":11.4841878,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/uto
37pia-hackerspace-desr-stadtjugendpflege-pfaffenhofen\/"},{"title":"variado. Die ErLebenswerkstatt","address":"Abtsleitenweg 8, 97074 W\u00fcrzburg","lat":49.7761914,"lng":9.958001,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/variado-die-erlebenswerkstatt\/"},{"title":"VDI-Lab","address":"c\/o Augsburger Gewerbehof Eingang B, 86156 Augsburg","lat":48.381404,"lng":10.856653,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/vdi-lab\/"},{"title":"VDI-Sch\u00fclerforschungszentrum Richard Willst\u00e4tter","address":"Innerer Laufer Platz 11, 90403 N\u00fcrnberg","lat":49.45659,"lng":11.08339,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/vdi-schuelerforschungszentrum-richard-willstaetter\/"},{"title":"VHS Hofer Land e.V.","address":"Ludwigstra\u00dfe 7, 95028 Hof","lat":50.3230549,"lng":11.9195101,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/vhs-hofer-land-e-v\/"},{"title":"Walderlebniszentrum Tennenlohe","address":"Weinstra\u00dfe 100, 91058 Erlangen","lat":49.5576267,"lng":11.0247065,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/walderlebniszentrum-tennenlohe\/"},{"title":"Wissenswerkstatt Passau e.V.","address":"Bahnhofstrasse 27, 94032 Passau","lat":48.5739065,"lng":13.4526185,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/wissenswerkstatt-passau-e-v\/"},{"title":"Wissenswerkstatt Schweinfurt e.V.","address":"Martin-Luther-Platz 20, 97421 Schweinfurt","lat":50.0459721,"lng":10.231708,"link":"https:\/\/www.mint-bayern.de\/mint-karte\/wissenswerkstatt-schweinfurt-e-v\/"}];window.$us=window.$us||{};$us.canvasOptions=Object.assign($us.canvasOptions||{},{"disableEffectsWidth":0,"disablePostPopupWidth":900,"columnsStackingWidth":1025,"backToTopDisplay":100,"scrollDuration":1000,"laptopsBreakpoint":1380,"tabletsBreakpoint":1024,"mobilesBreakpoint":600});$us.langOptions=($us.langOptions||{});$us.langOptions.magnificPopup=($us.langOptions.magnificPopup||{});$us.langOptions.magnificPopup.tPrev='Previous';$us.langOptions.magnificPopup.tNext='Weiter';$us.langOptions.magnificPopup.tCounter='%curr% von %total%';$us.langOptions.magnificPopup.tDialog='Bild';$us.navOptions=($us.navOptions||{});$us.navOptions.mobileWidth=900;$us.navOptions.togglable=!0;$us.ajaxUrl='https://www.mint-bayern.de/wp-admin/admin-ajax.php';$us.templateDirectoryUri='https://www.mint-bayern.de/wp-content/themes/Impreza';$us.responsiveBreakpoints={"default":0,"laptops":1380,"tablets":1024,"mobiles":600};$us.userFavoritePostIds='';$us.darkThemeIsOn=!1;if(window.$us===undefined)window.$us={};$us.headerSettings={"default":{"layout":{"hidden":[],"middle_left":["image:1"],"middle_right":["menu:1"],"top_left":["html:1"],"top_right":["additional_menu:1"]},"options":{"custom_breakpoint":!1,"breakpoint":"","orientation":"hor","sticky":!0,"sticky_auto_hide":!1,"scroll_breakpoint":"1px","transparent":1,"width":"300px","elm_align":"center","shadow":"none","top_show":1,"top_height":"25px","top_sticky_height":"25px","top_fullwidth":!1,"top_centering":!1,"top_bg_color":"rgba(0,56,94,0.95)","top_text_color":"_header_middle_text","top_text_hover_color":"_header_middle_text_hover","top_transparent_bg_color":"rgba(0,56,94,0.95)","top_transparent_text_color":"_header_middle_text","top_transparent_text_hover_color":"_header_middle_text_hover","middle_height":"140px","middle_sticky_height":"60px","middle_fullwidth":!1,"middle_centering":!1,"elm_valign":"top","bg_img":"","bg_img_wrapper_start":"","bg_img_size":"cover","bg_img_repeat":"repeat","bg_img_position":"top left","bg_img_attachment":!0,"bg_img_wrapper_end":"","middle_bg_color":"rgba(0,56,94,0.95)","middle_text_color":"_header_middle_text","middle_text_hover_color":"_header_middle_text_hover","middle_transparent_bg_color":"rgba(0,56,94,0.95)","middle_transparent_text_color":"_header_transparent_text","middle_transparent_text_hover_color":"_header_transparent_text_hover","bottom_show":0,"bottom_height":"70px","bottom_sticky_height":"50px","bottom_fullwidth":!1,"bottom_centering":!1,"bottom_bg_color":"#005086","bottom_text_color":"_header_middle_text","bottom_text_hover_color":"_header_middle_text_hover","bottom_transparent_bg_color":"linear-gradient(180deg,rgba(0,80,134,0.9),rgba(0,80,134,0))","bottom_transparent_text_color":"_header_transparent_text","bottom_transparent_text_hover_color":"_header_transparent_text_hover"}},"laptops":{"layout":{"hidden":[],"middle_left":["image:1"],"middle_right":["menu:1"],"top_left"
37:["html:1"],"top_right":["additional_menu:1"]},"options":{"custom_breakpoint":!1,"breakpoint":"1380px","orientation":"hor","sticky":!0,"sticky_auto_hide":!1,"scroll_breakpoint":"1px","transparent":1,"width":"300px","elm_align":"center","shadow":"thin","top_show":1,"top_height":"25px","top_sticky_height":"25px","top_fullwidth":!1,"top_centering":!1,"top_bg_color":"_header_top_bg","top_text_color":"_header_top_text","top_text_hover_color":"_header_top_text_hover","top_transparent_bg_color":"_header_top_transparent_bg","top_transparent_text_color":"_header_top_transparent_text","top_transparent_text_hover_color":"_header_top_transparent_text_hover","middle_height":"80px","middle_sticky_height":"50px","middle_fullwidth":!1,"middle_centering":0,"elm_valign":"top","bg_img":"","bg_img_wrapper_start":"","bg_img_size":"cover","bg_img_repeat":"repeat","bg_img_position":"top left","bg_img_attachment":!0,"bg_img_wrapper_end":"","middle_bg_color":"_header_middle_bg","middle_text_color":"_header_middle_text","middle_text_hover_color":"_header_middle_text_hover","middle_transparent_bg_color":"_header_transparent_bg","middle_transparent_text_color":"_header_transparent_text","middle_transparent_text_hover_color":"_header_transparent_text_hover","bottom_show":0,"bottom_height":"50px","bottom_sticky_height":"50px","bottom_fullwidth":!1,"bottom_centering":!1,"bottom_bg_color":"_header_middle_bg","bottom_text_color":"_header_middle_text","bottom_text_hover_color":"_header_middle_text_hover","bottom_transparent_bg_color":"_header_transparent_bg","bottom_transparent_text_color":"_header_transparent_text","bottom_transparent_text_hover_color":"_header_transparent_text_hover"}},"tablets":{"layout":{"hidden":[],"middle_left":["image:1"],"middle_right":["menu:1"],"top_left":["html:1"],"top_right":["additional_menu:1"]},"options":{"custom_breakpoint":!1,"breakpoint":"1024px","orientation":"hor","sticky":!0,"sticky_auto_hide":!1,"scroll_breakpoint":"1px","transparent":1,"width":"300px","elm_align":"center","shadow":"thin","top_show":1,"top_height":"25px","top_sticky_height":"25px","top_fullwidth":!1,"top_centering":!1,"top_bg_color":"_header_top_bg","top_text_color":"_header_top_text","top_text_hover_color":"_header_top_text_hover","top_transparent_bg_color":"_header_top_transparent_bg","top_transparent_text_color":"_header_top_transparent_text","top_transparent_text_hover_color":"_header_top_transparent_text_hover","middle_height":"60px","middle_sticky_height":"60px","middle_fullwidth":!1,"middle_centering":!1,"elm_valign":"top","bg_img":"","bg_img_wrapper_start":"","bg_img_size":"cover","bg_img_repeat":"repeat","bg_img_position":"top left","bg_img_attachment":!0,"bg_img_wrapper_end":"","middle_bg_color":"_header_middle_bg","middle_text_color":"_header_middle_text","middle_text_hover_color":"_header_middle_text_hover","middle_transparent_bg_color":"_header_transparent_bg","middle_transparent_text_color":"_header_transparent_text","middle_transparent_text_hover_color":"_header_transparent_text_hover","bottom_show":0,"bottom_height":"50px","bottom_sticky_height":"50px","bottom_fullwidth":!1,"bottom_centering":!1,"bottom_bg_color":"_header_middle_bg","bottom_text_color":"_header_middle_text","bottom_text_hover_color":"_header_middle_text_hover","bottom_transparent_bg_color":"_header_transparent_bg","bottom_transparent_text_color":"_header_transparent_text","bottom_transparent_text_hover_color":"_header_transparent_text_hover"}},"mobiles":{"layout":{"hidden":["additional_menu:1"],"middle_left":["image:1"],"middle_right":["menu:1"],"top_left":["html:1"],"top_right":[]},"options":{"custom_breakpoint":!1,"breakpoint":"600px","orientation":"hor","sticky":!0,"sticky_auto_hide":!1,"scroll_breakpoint":"1px","transparent":1,"width":"300px","elm_align":"center","shadow":"thin","top_show":1,"top_height":"25px","top_sticky_height":"25px","top_fullwidth":!1,"top_centering":!1,"top_bg_color":"_header_top_bg","top_text_color":"_header_top_text","top_text_hover_color":"_header_top_text_hover","top_transparent_bg_color":"_header_top_transparent_bg","top_transparent_text_color":"_header_top_transparent_text","top_transparent_text_hover_color":"_header_top_transparent_text_hover","middle_height":"60px","middle_sticky_height":"60px","middle_fullwidth":!1,"middle_centering":!1,"elm_valign":"top","bg_img":"","bg_img_wrapper_start":"","bg_img_size":"cover","bg_img_repeat":"repeat","bg_img_position":"top left","bg_img_attachment":!0,"bg_img_wrapper_end":"","middle_bg_color":"_header_middle_bg","middle_text_color":"_header_middle_text","middle_text_hover_color":"_header_middle_text_hover","middle_transparent_bg_color":"_header_transparent_bg","middle_transparent_text_color":"_header_transparent_text","middle_transparent_text_hover_color":"_header_transparent_text_hover","bottom_show":0,"bottom_height":"50px","bottom_sticky_height":"50px","bottom_fullwidth":!1,"bottom_centering":!1,"bottom_bg_color":"_header_middle_bg","bottom_text_color":"_header_middle_text","bottom_text_hover_color":"_header_middle_text_hover","bottom_transparent_bg_color":"_header_transparent_bg","bottom_transparent_text_color":"_header_transparent_text","bottom_transparent_text_hover_color":"_header_transparent_text_hover"}},"header_id":"61"};!function($,_undefined){"use strict";const supportsPassive=(()=>{var supported=!1;try{const opts=Object.defineProperty({}
37,'passive',{get(){supported=!0}});window.addEventListener('testPassive',null,opts);window.removeEventListener('testPassive',null,opts)}catch(e){}
38return supported})();if(!supportsPassive){return}
39const REGEXP_NO_PREVENT_DEFAULT=/^(.*)\.noPreventDefault$/;['scroll','wheel','mousewheel','touchstart','touchmove','touchend',].map((eventType)=>{jQuery.event.special[eventType]={setup:function(_,ns,handle){const options={};if(ns.includes('noPreventDefault')&&!REGEXP_NO_PREVENT_DEFAULT.test(eventType)){options.passive=!0}
40if(document.documentMode){this.addEventListener(eventType,handle,options)}else{return!1}},}})}(jQuery);/*! Magnific Popup - v1.1.0 - 2016-02-20
41* http://dimsemenov.com/plugins/magnific-popup/
42* Copyright (c) 2016 Dmitry Semenov; */
43!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(a){var b,c,d,e,f,g,h="Close",i="BeforeClose",j="AfterClose",k="BeforeAppend",l="MarkupParse",m="Open",n="Change",o="mfp",p="."+o,q="mfp-ready",r="mfp-removing",s="mfp-prevent-close",t=function(){},u=!!window.jQuery,v=a(window),w=function(a,c){b.ev.on(o+a+p,c)},x=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},y=function(c,d){b.ev.triggerHandler(o+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,a.isArray(d)?d:[d]))},z=function(c){return c===g&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace("%title%",b.st.tClose)),g=c),b.currTemplate.closeBtn},A=function(){a.magnificPopup.instance||(b=new t,b.init(),a.magnificPopup.instance=b)},B=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(void 0!==a.transition)return!0;for(;b.length;)if(b.pop()+"Transition"in a)return!0;return!1};t.prototype={constructor:t,init:function(){var c=navigator.appVersion;b.isLowIE=b.isIE8=document.all&&!document.addEventListener,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=B(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=a(document),b.popupsCache={}},open:function(c){var e;if(c.isObj===!1){b.items=c.items.toArray(),b.index=0;var g,h=c.items;for(e=0;e<h.length;e++)if(g=h[e],g.parsed&&(g=g.el[0]),g===c.el[0]){b.index=e;break}}else b.items=a.isArray(c.items)?c.items:[c.items],b.index=c.index||0;if(b.isOpen)return void b.updateItemHTML();b.types=[],f="",c.mainEl&&c.mainEl.length?b.ev=c.mainEl.eq(0):b.ev=d,c.key?(b.popupsCache[c.key]||(b.popupsCache[c.key]={}),b.currTemplate=b.popupsCache[c.key]):b.currTemplate={},b.st=a.extend(!0,{},a.magnificPopup.defaults,c),b.fixedContentPos="auto"===b.st.fixedContentPos?!b.probablyMobile:b.st.fixedContentPos,b.st.modal&&(b.st.closeOnContentClick=!1,b.st.closeOnBgClick=!1,b.st.showCloseBtn=!1,b.st.enableEscapeKey=!1),b.bgOverlay||(b.bgOverlay=x("bg").on("click"+p,function(){b.close()}),b.wrap=x("wrap").attr("tabindex",-1).on("click"+p,function(a){b._checkIfClose(a.target)&&b.close()}),b.container=x("container",b.wrap)),b.contentContainer=x("content"),b.st.preloader&&(b.preloader=x("preloader",b.container,b.st.tLoading));var i=a.magnificPopup.modules;for(e=0;e<i.length;e++){var j=i[e];j=j.charAt(0).toUpperCase()+j.slice(1),b["init"+j].call(b)}y("BeforeOpen"),b.st.showCloseBtn&&(b.st.closeBtnInside?(w(l,function(a,b,c,d){c.close_replaceWith=z(d.type)}),f+=" mfp-close-btn-in"):b.wrap.append(z())),b.st.alignTop&&(f+=" mfp-align-top"),b.fixedContentPos?b.wrap.css({overflow:b.st.overflowY,overflowX:"hidden",overflowY:b.st.overflowY}):b.wrap.css({top:v.scrollTop(),position:"absolute"}),(b.st.fixedBgPos===!1||"auto"===b.st.fixedBgPos&&!b.fixedContentPos)&&b.bgOverlay.css({height:d.height(),position:"absolute"}),b.st.enableEscapeKey&&d.on("keyup"+p,function(a){27===a.keyCode&&b.close()}),v.on("resize"+p,function(){b.updateSize()}),b.st.closeOnContentClick||(f+=" mfp-auto-cursor"),f&&b.wrap.addClass(f);var k=b.wH=v.height(),n={};if(b.fixedContentPos&&b._hasScrollBar(k)){var o=b._getScrollbarSize();o&&(n.marginRight=o)}b.fixedContentPos&&(b.isIE7?a("body, html").css("overflow","hidden"):n.overflow="hidden");var r=b.st.mainClass;return b.isIE7&&(r+=" mfp-ie7"),r&&b._addClassToMFP(r),b.updateItemHTML(),y("BuildControls"),a("html").css(n),b.bgOverlay.add(b.
43wrap).prependTo(b.st.prependTo||a(document.body)),b._lastFocusedEl=document.activeElement,setTimeout(function(){b.content?(b._addClassToMFP(q),b._setFocus()):b.bgOverlay.addClass(q),d.on("focusin"+p,b._onFocusIn)},16),b.isOpen=!0,b.updateSize(k),y(m),c},close:function(){b.isOpen&&(y(i),b.isOpen=!1,b.st.removalDelay&&!b.isLowIE&&b.supportsTransition?(b._addClassToMFP(r),setTimeout(function(){b._close()},b.st.removalDelay)):b._close())},_close:function(){y(h);var c=r+" "+q+" ";if(b.bgOverlay.detach(),b.wrap.detach(),b.container.empty(),b.st.mainClass&&(c+=b.st.mainClass+" "),b._removeClassFromMFP(c),b.fixedContentPos){var e={marginRight:""};b.isIE7?a("body, html").css("overflow",""):e.overflow="",a("html").css(e)}d.off("keyup"+p+" focusin"+p),b.ev.off(p),b.wrap.attr("class","mfp-wrap").removeAttr("style"),b.bgOverlay.attr("class","mfp-bg"),b.container.attr("class","mfp-container"),!b.st.showCloseBtn||b.st.closeBtnInside&&b.currTemplate[b.currItem.type]!==!0||b.currTemplate.closeBtn&&b.currTemplate.closeBtn.detach(),b.st.autoFocusLast&&b._lastFocusedEl&&a(b._lastFocusedEl).focus(),b.currItem=null,b.content=null,b.currTemplate=null,b.prevHeight=0,y(j)},updateSize:function(a){if(b.isIOS){var c=document.documentElement.clientWidth/window.innerWidth,d=window.innerHeight*c;b.wrap.css("height",d),b.wH=d}else b.wH=a||v.height();b.fixedContentPos||b.wrap.css("height",b.wH),y("Resize")},updateItemHTML:function(){var c=b.items[b.index];b.contentContainer.detach(),b.content&&b.content.detach(),c.parsed||(c=b.parseEl(b.index));var d=c.type;if(y("BeforeChange",[b.currItem?b.currItem.type:"",d]),b.currItem=c,!b.currTemplate[d]){var f=b.st[d]?b.st[d].markup:!1;y("FirstMarkupParse",f),f?b.currTemplate[d]=a(f):b.currTemplate[d]=!0}e&&e!==c.type&&b.container.removeClass("mfp-"+e+"-holder");var g=b["get"+d.charAt(0).toUpperCase()+d.slice(1)](c,b.currTemplate[d]);b.appendContent(g,d),c.preloaded=!0,y(n,c),e=c.type,b.container.prepend(b.contentContainer),y("AfterChange")},appendContent:function(a,c){b.content=a,a?b.st.showCloseBtn&&b.st.closeBtnInside&&b.currTemplate[c]===!0?b.content.find(".mfp-close").length||b.content.append(z()):b.content=a:b.content="",y(k),b.container.addClass("mfp-"+c+"-holder"),b.contentContainer.append(b.content)},parseEl:function(c){var d,e=b.items[c];if(e.tagName?e={el:a(e)}:(d=e.type,e={data:e,src:e.src}),e.el){for(var f=b.types,g=0;g<f.length;g++)if(e.el.hasClass("mfp-"+f[g])){d=f[g];break}e.src=e.el.attr("data-mfp-src"),e.src||(e.src=e.el.attr("href"))}return e.type=d||b.st.type||"inline",e.index=c,e.parsed=!0,b.items[c]=e,y("ElementParse",e),b.items[c]},addGroup:function(a,c){var d=function(d){d.mfpEl=this,b._openClick(d,a,c)};c||(c={});var e="click.magnificPopup";c.mainEl=a,c.items?(c.isObj=!0,a.off(e).on(e,d)):(c.isObj=!1,c.delegate?a.off(e).on(e,c.delegate,d):(c.items=a,a.off(e).on(e,d)))},_openClick:function(c,d,e){var f=void 0!==e.midClick?e.midClick:a.magnificPopup.defaults.midClick;if(f||!(2===c.which||c.ctrlKey||c.metaKey||c.altKey||c.shiftKey)){var g=void 0!==e.disableOn?e.disableOn:a.magnificPopup.defaults.disableOn;if(g)if(a.isFunction(g)){if(!g.call(b))return!0}else if(v.width()<g)return!0;c.type&&(c.preventDefault(),b.isOpen&&c.stopPropagation()),e.el=a(c.mfpEl),e.delegate&&(e.items=d.find(e.delegate)),b.open(e)}},updateStatus:function(a,d){if(b.preloader){c!==a&&b.container.removeClass("mfp-s-"+c),d||"loading"!==a||(d=b.st.tLoading);var e={status:a,text:d};y("UpdateStatus",e),a=e.status,d=e.text,b.preloader.html(d),b.preloader.find("a").on("click",function(a){a.stopImmediatePropagation()}),b.container.addClass("mfp-s-"+a),c=a}},_checkIfClose:function(c){if(!a(c).hasClass(s)){var d=b.st.closeOnContentClick,e=b.st.closeOnBgClick;if(d&&e)return!0;if(!b.content||a(c).hasClass("mfp-close")||b.preloader&&c===b.preloader[0])return!0;if(c===b.content[0]||a.contains(b.content[0],c)){if(d)return!0}else if(e&&a.contains(document,c))return!0;return!1}},_addClassToMFP:function(a){b.bgOverlay.addClass(a),b.wrap.addClass(a)},_removeClassFromMFP:function(a){this.bgOverlay.removeClass(a),b.wrap.removeClass(a)},_hasScrollBar:function(a){return(b.isIE7?d.height():document.body.scrollHeight)>(a||v.height())},_setFocus:function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).focus()},_onFocusIn:function(c){return c.target===b.wrap[0]||a.contains(b.wrap[0],c.target)?void 0:(b._setFocus(),!1)},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),y(l,[b,c,d]),a.each(c,function(c,d){if(void 0===d||d===!1)return!0;
43if(e=c.split("_"),e.length>1){var f=b.find(p+"-"+e[0]);if(f.length>0){var g=e[1];"replaceWith"===g?f[0]!==d[0]&&f.replaceWith(d):"img"===g?f.is("img")?f.attr("src",d):f.replaceWith(a("<img>").attr("src",d).attr("class",f.attr("class"))):f.attr(e[1],d)}}else b.find(p+"-"+c).html(d)})},_getScrollbarSize:function(){if(void 0===b.scrollbarSize){var a=document.createElement("div");a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return b.scrollbarSize}},a.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(b,c){return A(),b=b?a.extend(!0,{},b):{},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},a.fn.magnificPopup=function(c){A();var d=a(this);if("string"==typeof c)if("open"===c){var e,f=u?d.data("magnificPopup"):d[0].magnificPopup,g=parseInt(arguments[1],10)||0;f.items?e=f.items[g]:(e=d,f.delegate&&(e=e.find(f.delegate)),e=e.eq(g)),b._openClick({mfpEl:e},d,f)}else b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1));else c=a.extend(!0,{},c),u?d.data("magnificPopup",c):d[0].magnificPopup=c,b.addGroup(d,c);return d};var C,D,E,F="inline",G=function(){E&&(D.after(E.addClass(C)).detach(),E=null)};a.magnificPopup.registerModule(F,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){b.types.push(F),w(h+"."+F,function(){G()})},getInline:function(c,d){if(G(),c.src){var e=b.st.inline,f=a(c.src);if(f.length){var g=f[0].parentNode;g&&g.tagName&&(D||(C=e.hiddenClass,D=x(C),C="mfp-"+C),E=f.after(D).detach().removeClass(C)),b.updateStatus("ready")}else b.updateStatus("error",e.tNotFound),f=a("<div>");return c.inlineElement=f,f}return b.updateStatus("ready"),b._parseMarkup(d,{},c),d}}});var H,I="ajax",J=function(){H&&a(document.body).removeClass(H)},K=function(){J(),b.req&&b.req.abort()};a.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){b.types.push(I),H=b.st.ajax.cursor,w(h+"."+I,K),w("BeforeChange."+I,K)},getAjax:function(c){H&&a(document.body).addClass(H),b.updateStatus("loading");var d=a.extend({url:c.src,success:function(d,e,f){var g={data:d,xhr:f};y("ParseAjax",g),b.appendContent(a(g.data),I),c.finished=!0,J(),b._setFocus(),setTimeout(function(){b.wrap.addClass(q)},16),b.updateStatus("ready"),y("AjaxContentAdded")},error:function(){J(),c.finished=c.loadError=!0,b.updateStatus("error",b.st.ajax.tError.replace("%url%",c.src))}},b.st.ajax.settings);return b.req=a.ajax(d),""}}});var L,M=function(c){if(c.data&&void 0!==c.data.title)return c.data.title;
43var d=b.st.image.titleSrc;if(d){if(a.isFunction(d))return d.call(b,c);if(c.el)return c.el.attr(d)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var c=b.st.image,d=".image";b.types.push("image"),w(m+d,function(){"image"===b.currItem.type&&c.cursor&&a(document.body).addClass(c.cursor)}),w(h+d,function(){c.cursor&&a(document.body).removeClass(c.cursor),v.off("resize"+p)}),w("Resize"+d,b.resizeImage),b.isLowIE&&w("AfterChange",b.resizeImage)},resizeImage:function(){var a=b.currItem;if(a&&a.img&&b.st.image.verticalFit){var c=0;b.isLowIE&&(c=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",b.wH-c)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,L&&clearInterval(L),a.isCheckingImgSize=!1,y("ImageHasSize",a),a.imgHidden&&(b.content&&b.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var c=0,d=a.img[0],e=function(f){L&&clearInterval(L),L=setInterval(function(){return d.naturalWidth>0?void b._onImageHasSize(a):(c>200&&clearInterval(L),c++,void(3===c?e(10):40===c?e(50):100===c&&e(500)))},f)};e(1)},getImage:function(c,d){var e=0,f=function(){c&&(c.img[0].complete?(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("ready")),c.hasSize=!0,c.loaded=!0,y("ImageLoadComplete")):(e++,200>e?setTimeout(f,100):g()))},g=function(){c&&(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("error",h.tError.replace("%url%",c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(".mfp-img");if(i.length){var j=document.createElement("img");j.className="mfp-img",c.el&&c.el.find("img").length&&(j.alt=c.el.find("img").attr("alt")),c.img=a(j).on("load.mfploader",f).on("error.mfploader",g),j.src=c.src,i.is("img")&&(c.img=c.img.clone()),j=c.img[0],j.naturalWidth>0?c.hasSize=!0:j.width||(c.hasSize=!1)}return b._parseMarkup(d,{title:M(c),img_replaceWith:c.img},c),b.resizeImage(),c.hasSize?(L&&clearInterval(L),c.loadError?(d.addClass("mfp-loading"),b.updateStatus("error",h.tError.replace("%url%",c.src))):(d.removeClass("mfp-loading"),b.updateStatus("ready")),d):(b.updateStatus("loading"),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass("mfp-loading"),b.findImageSize(c)),d)}}});var N,O=function(){return void 0===N&&(N=void 0!==document.createElement("p").style.MozTransform),N};a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var a,c=b.st.zoom,d=".zoom";if(c.enabled&&b.supportsTransition){var e,f,g=c.duration,j=function(a){var b=a.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+c.duration/1e3+"s "+c.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,b.css(e),b},k=function(){b.content.css("visibility","visible")};w("BuildControls"+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.content.css("visibility","hidden"),a=b._getItemToZoom(),!a)return void k();f=j(a),f.css(b._getOffset()),b.wrap.append(f),e=setTimeout(function(){f.css(b._getOffset(!0)),e=setTimeout(function(){k(),setTimeout(function(){f.remove(),a=f=null,y("ZoomAnimationEnded")},16)},g)},16)}}),w(i+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.st.removalDelay=g,!a){if(a=b._getItemToZoom(),!a)return;f=j(a)}f.css(b._getOffset(!0)),b.wrap.append(f),b.content.css("visibility","hidden"),setTimeout(function(){f.css(b._getOffset())},16)}}),w(h+d,function(){b._allowZoom()&&(k(),f&&f.remove(),a=null)})}},_allowZoom:function(){return"image"===b.currItem.type},_getItemToZoom:function(){return b.currItem.hasSize?b.currItem.img:!1},_getOffset:function(c){var d;d=c?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem);var e=d.offset(),f=parseInt(d.css("padding-top"),10),g=parseInt(d.css("padding-bottom"),10);e.top-=a(window).scrollTop()-f;var h={width:d.width(),height:(u?d.innerHeight():d[0].offsetHeight)-g-f};return O()?h["-moz-transform"]=h.transform="translate("+e.left+"px,"+e.top+"px)":(h.left=e.left,h.top=e.top),h}}});
43var P="iframe",Q="//about:blank",R=function(a){if(b.currTemplate[P]){var c=b.currTemplate[P].find("iframe");c.length&&(a||(c[0].src=Q),b.isIE8&&c.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(P,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){b.types.push(P),w("BeforeChange",function(a,b,c){b!==c&&(b===P?R():c===P&&R(!0))}),w(h+"."+P,function(){R()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){return e.indexOf(this.index)>-1?(this.id&&(e="string"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1):void 0});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus("ready"),d}}});var S=function(a){var c=b.items.length;return a>c-1?a-c:0>a?c+a:a},T=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var c=b.st.gallery,e=".mfp-gallery";return b.direction=!0,c&&c.enabled?(f+=" mfp-gallery",w(m+e,function(){c.navigateByImgClick&&b.wrap.on("click"+e,".mfp-img",function(){return b.items.length>1?(b.next(),!1):void 0}),d.on("keydown"+e,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),w("UpdateStatus"+e,function(a,c){c.text&&(c.text=T(c.text,b.currItem.index,b.items.length))}),w(l+e,function(a,d,e,f){var g=b.items.length;e.counter=g>1?T(c.tCounter,f.index,g):""}),w("BuildControls"+e,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(s),f=b.arrowRight=a(d.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(s);e.click(function(){b.prev()}),f.click(function(){b.next()}),b.container.append(e.add(f))}}),w(n+e,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void w(h+e,function(){d.off(e),b.wrap.off("click"+e),b.arrowRight=b.arrowLeft=null})):!1},next:function(){b.direction=!0,b.index=S(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=S(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=S(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),y("LazyLoad",d),"image"===d.type&&(d.img=a('<img class="mfp-img" />').on("load.mfploader",function(){d.hasSize=!0}).on("error.mfploader",function(){d.hasSize=!0,d.loadError=!0,y("LazyLoadError",d)}).attr("src",d.src)),d.preloaded=!0}}}});var U="retina";a.magnificPopup.registerModule(U,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(w("ImageHasSize."+U,function(a,b){b.img.css({"max-width":b.img[0].naturalWidth/c,width:"100%"})}),w("ElementParse."+U,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),A()});!(function($,_undefined){"use strict";const _window=window;const _document=document;_window.$us=_window.$us||{};function isNode(node){return(node&&node.nodeType)}
44function hasClass(node,className){if(isNode(node)){return node.classList.contains(className)}
45return!1}
46function getAt(node){if(isNode(node)){return(node.className.match('at_([\dA-Za-z_-]+)')||[])[1]}
47return}
48function usMod(node,mod,value){if(!isNode(node)||!mod){return}
49if(value){value=`${mod}_${value}`}
50var className=String(node.className);className=className.replace(new RegExp(`${mod}_([a-z]+)`),value);if(value&&!className.includes(value)){className+=` ${value}`}
51if(node.className!==className){node.className=className}}
52function USHeader_NoCache(){const self=this;const lHeader=_document.querySelector('.l-header');if(!isNode(lHeader)){return}
53self.places={hidden:lHeader.querySelector('.l-subheader.for_hidden')};self.elms={};self.state='default';self.settings=$us.headerSettings||{};self.breakpoints={laptops:1280,tablets:1024,mobiles:600};for(const k in self.breakpoints){self.breakpoints[k]=parseInt(((self.settings[k]||{}).options||{}).breakpoint)||self.breakpoints[k]}
54self._events={resize:self.resize.bind(self),};lHeader.querySelectorAll('.l-subheader-cell').forEach((node)=>{self.places[getAt(node.parentNode.parentNode)+'_'+getAt(node)]=node});lHeader.querySelectorAll('[class*=ush_]').forEach((node)=>{const matches=/(^| )ush_([a-z_]+)_([\d]+)(\s|$)/.exec(node.className);if(!matches){return}
55const id=matches[2]+':'+matches[3];
55if(hasClass(node,'w-vwrapper')||hasClass(node,'w-hwrapper')){self.places[id]=node}
56self.elms[id]=node});_window.addEventListener('resize',self._events.resize);self.setView('default');self.resize()}
57USHeader_NoCache.prototype.setView=function(newState){const self=this;const orientation=((self.settings[newState]||{}).options||{}).orientation||'hor';if(orientation!==self.orientation){usMod(_document.body,'header',self.orientation=orientation)}
58if(['default','laptops'].includes(newState)){_document.body.classList.remove('header-show')}};USHeader_NoCache.prototype.setLayout=function(newState){const self=this;const layout=(self.settings[newState]||{}).layout||{};for(const place in layout){if(!layout[place]||!self.places[place]){if(place.indexOf('wrapper')>-1){self.places[place]=self.places.hidden}else{continue}}
59self._placeElements(layout[place],self.places[place])}};USHeader_NoCache.prototype._placeElements=function(elms,place){const self=this;for(var i=0;i<elms.length;i ++){var elmId;if(typeof elms[i]=='object'){elmId=elms[i][0];if(!self.places[elmId]||!self.elms[elmId]){continue}
60place.append(self.elms[elmId]);self._placeElements(elms[i].shift(),self.places[elmId])}else{elmId=elms[i];if(!self.elms[elmId]){continue}
61place.append(self.elms[elmId])}}};USHeader_NoCache.prototype.resize=function(){const self=this;var newState='default';for(const state in self.breakpoints){if(_window.innerWidth<=self.breakpoints[state]){newState=state}else{break}}
62if(self.state!==newState){self.setLayout(newState);self.setView(newState);if($us.header&&typeof $us.header.setView=='function'){$us.header.setView(newState)}
63if(self.state!==newState){self.state=newState}}};$us.headerNoCache=new USHeader_NoCache})();!function($,_undefined){"use strict";const _window=window;const _document=document;const _navigator=_window.navigator;const _location=_window.location;const max=Math.max;const min=Math.min;const pow=Math.pow;if($.isPlainObject(_window.$ush)){return}
64_window.$ush={};$ush.TAB_KEYCODE=9;$ush.ENTER_KEYCODE=13;$ush.ESC_KEYCODE=27;$ush.SPACE_KEYCODE=32;$ush.UP_KEYCODE=38;$ush.DOWN_KEYCODE=40;const ua=_navigator.userAgent.toLowerCase();const base64Chars='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';const fromCharCode=String.fromCharCode;$ush.ua=ua;$ush.isMacOS=/(Mac|iPhone|iPod|iPad)/i.test(_navigator.platform);$ush.isFirefox=ua.includes('firefox');$ush.isSafari=/^((?!chrome|android).)*safari/i.test(ua);$ush.isTouchend=('ontouchend' in _document);$ush.safariVersion=function(){const self=this;if(self.isSafari){return self.parseInt((ua.match(/version\/([\d]+)/i)||[])[1])}
65return 0}
66$ush.fn=function(fn){if(typeof fn==='function'){fn()}};$ush.isUndefined=function(value){return(typeof value==='undefined'||value==='undefined')};$ush.isNumeric=function(value){const type=typeof value;return(type==="number"||type==="string")&&!isNaN(value-parseFloat(value))};$ush.isRtl=function(){return this.toString(_document.body.className).split(/\p{Zs}/u).includes('rtl')};$ush.isNode=function(node){return!!(node&&node.nodeType)};$ush.isNodeInViewport=function(node){const self=this;const rect=$ush.$rect(node);const nearestTop=rect.top-_window.innerHeight;return nearestTop<=0&&(rect.top+rect.height)>=0};$ush.uniqid=function(prefix){return(prefix||'')+Math.random().toString(36).substr(2,9)};$ush.utf8Decode=function(data){var tmp_arr=[],i=0,ac=0,c1=0,c2=0,c3=0;data+='';while(i<data.length){c1=data.charCodeAt(i);if(c1<128){tmp_arr[ac ++]=fromCharCode(c1);i ++}else if(c1>191&&c1<224){c2=data.charCodeAt(i+1);tmp_arr[ac ++]=fromCharCode(((c1&31)<<6)|(c2&63));i+=2}else{c2=data.charCodeAt(i+1);c3=data.charCodeAt(i+2);tmp_arr[ac ++]=fromCharCode(((c1&15)<<12)|((c2&63)<<6)|(c3&63));i+=3}}
67return tmp_arr.join('')};$ush.utf8Encode=function(data){if(data===null||this.isUndefined(data)){return''}
68var string=(''+data),utftext='',start,end,stringl=0;start=end=0;stringl=string.length;for(var n=0;n<stringl;n ++){var c1=string.charCodeAt(n);var enc=null;if(c1<128){end ++}else if(c1>127&&c1<2048){enc=fromCharCode((c1>>6)|192)+fromCharCode((c1&63)|128)}else{enc=fromCharCode((c1>>12)|224)+fromCharCode(((c1>>6)&63)|128)+fromCharCode((c1&63)|128)}
69if(enc!==null){if(end>
69start){utftext+=string.slice(start,end)}
70utftext+=enc;start=end=n+1}}
71if(end>start){utftext+=string.slice(start,stringl)}
72return utftext};$ush.base64Decode=function(data){var o1,o2,o3,h1,h2,h3,h4,bits,i=0,ac=0,dec='',tmp_arr=[],self=this;if(!data){return data}
73data+='';do{h1=base64Chars.indexOf(data.charAt(i ++));h2=base64Chars.indexOf(data.charAt(i ++));h3=base64Chars.indexOf(data.charAt(i ++));h4=base64Chars.indexOf(data.charAt(i ++));bits=h1<<18|h2<<12|h3<<6|h4;o1=bits>>16&0xff;o2=bits>>8&0xff;o3=bits&0xff;if(h3==64){tmp_arr[ac ++]=fromCharCode(o1)}else if(h4==64){tmp_arr[ac ++]=fromCharCode(o1,o2)}else{tmp_arr[ac ++]=fromCharCode(o1,o2,o3)}}while(i<data.length);return self.utf8Decode(tmp_arr.join(''))};$ush.base64Encode=function(data){var o1,o2,o3,h1,h2,h3,h4,bits,i=0,ac=0,enc='',tmp_arr=[],self=this;if(!data){return data}
74data=self.utf8Encode(''+data);do{o1=data.charCodeAt(i ++);o2=data.charCodeAt(i ++);o3=data.charCodeAt(i ++);bits=o1<<16|o2<<8|o3;h1=bits>>18&0x3f;h2=bits>>12&0x3f;h3=bits>>6&0x3f;h4=bits&0x3f;tmp_arr[ac ++]=base64Chars.charAt(h1)+base64Chars.charAt(h2)+base64Chars.charAt(h3)+base64Chars.charAt(h4)}while(i<data.length);enc=tmp_arr.join('');const r=data.length%3;return(r?enc.slice(0,r-3):enc)+'==='.slice(r||3)};$ush.stripTags=function(input){var output=$ush.toString(input),prev;do{prev=output;output=output.replace(/(<([^>]+)>)/ig,'')}while(output!==prev);return output.replace(/"/g,'&quot;')};$ush.rawurldecode=function(str){return decodeURIComponent(this.toString(str))};$ush.rawurlencode=function(str){return encodeURIComponent(this.toString(str)).replace(/!/g,'%21').replace(/'/g,'%27').replace(/\(/g,'%28').replace(/\)/g,'%29').replace(/\*/g,'%2A')};$ush.timeout=function(fn,delay){const targetDelay=(typeof delay==='number'&&!isNaN(delay))?delay:$ush.parseFloat(delay);const start=Date.now();const handle={value:null};function loop(){if(Date.now()-start>=targetDelay){fn()}else{handle.value=_window.requestAnimationFrame(loop)}}
75handle.value=_window.requestAnimationFrame(loop);return handle};$ush.clearTimeout=function(handle){if(handle===null||handle===undefined){return}
76const id=typeof handle==='object'?handle.value:handle;if(typeof id==='number'){_window.cancelAnimationFrame(id)}};$ush.throttle=function(fn,wait,no_trailing,debounce_mode){if(typeof fn!=='function'){return $.noop||(()=>{})}
77const waitTime=typeof wait==='number'?wait:0;const useTrailing=no_trailing!==!0;const hasDebounceMode=debounce_mode!==undefined;var lastExec=0;var timeoutId=null;var storedContext=null;var storedArgs=null;const self=this;function exec(){lastExec=Date.now();timeoutId=null;const ctx=storedContext;const args=storedArgs;storedContext=null;storedArgs=null;fn.apply(ctx,args)}
78function clear(){timeoutId=null}
79return function throttled(){storedContext=this;storedArgs=arguments;const now=Date.now();const elapsed=now-lastExec;if(debounce_mode&&!timeoutId){exec()}
80if(timeoutId!==null){self.clearTimeout(timeoutId)}
81if(!hasDebounceMode&&elapsed>waitTime){exec()}else if(useTrailing){timeoutId=self.timeout(debounce_mode?clear:exec,!hasDebounceMode?(waitTime-elapsed):waitTime)}}};$ush.debounce=function(fn,wait,at_begin){return at_begin===undefined?this.throttle(fn,wait,undefined,!1):this.throttle(fn,wait,at_begin!==!1)};$ush.debounce_fn_1ms=$ush.debounce($ush.fn,1);$ush.debounce_fn_10ms=$ush.debounce($ush.fn,10);$ush.parseInt=function(value){value=parseInt(value,10);return!isNaN(value)?value:0};$ush.parseFloat=function(value){value=parseFloat(value);return!isNaN(value)?value:0};$ush.limitValueByRange=function(value,minValue,maxValue){return $ush.parseFloat(min(maxValue,max(minValue,value)))};$ush.toArray=function(data){if(['string','number','bigint','boolean','symbol','function'].includes(typeof data)){return[data]}
82try{data=[].slice.call(data||[])}catch(err){console.error(err);data=[]}
83return data};$ush.toString=function(value){const self=this;if(self.isUndefined(value)||value===null){return''}else if($.isPlainObject(value)||Array.isArray(value)){return self.rawurlencode(JSON.stringify(value))}
84return String(value)};$ush.toPlainObject=function(value){const self=this;try{value=JSON.parse(self.rawurldecode(value)||'{}')}catch(err){}
85if(!$.isPlainObject(value)){value={}}
86return value};$ush.toLowerCase=function(value){return $ush.toString(value).toLowerCase()};$ush.clone=function(_object,_default){return $.extend(!0,{},_default||{},_object||{})};$ush.escapePcre=function(value){return $ush.toString(value).replace(/[.*+?^${}()|\:[\]\\]/g,'\\$&')};$ush.removeSpaces=function(text){return $ush.toString(text).replace(/\p{Zs}/gu,'')};$ush.fromCharCode=function(text){return $ush.toString(text).replace(/&#(\d+);/g,(_,num)=>fromCharCode(num))};$ush.comparePlainObject=function(){const args=arguments;for(var i=1;i>-1;i--){if(!$.isPlainObject(args[i])){return!1}}
87return JSON.stringify(args[0])===JSON.stringify(args[1])};$ush.checksum=function(value){if(typeof value!=='string'){value=JSON.stringify(value)}
88if(value.length){return value.split('').reduce((acc,val)=>(acc=(acc<<5)-acc+val.charCodeAt(0))&acc)}
89return 0};$ush.$rect=function(node){return this.isNode(node)?node.getBoundingClientRect():{}};$ush.setCaretPosition=function(node,position){const self=this;if(!self.isNode(node)){return}
90if(self.isUndefined(position)){position=node.value.length}
91if(node.createTextRange){const range=node.createTextRange();range.move('character',position);range.select()}else{if(node.selectionStart){node.focus();node.setSelectionRange(position,position)}else{node.focus()}}};$ush.copyTextToClipboard=function(text){const self=this;try{const textarea=_document.createElement('textarea');textarea.value=self.toString(text);textarea.setAttribute('readonly','');textarea.setAttribute('css','position:absolute;top:-9999px;left:-9999px');_document.body.append(textarea);textarea.select();_document.execCommand('copy');if(_window.getSelection){_window.getSelection().removeAllRanges()}else if(_document.selection){_document.selection.empty()}
92textarea.remove();return!0}catch(err){return!1}};$ush.storage=function(namespace){if(namespace=$ush.toString(namespace)){namespace+='_'}
93const _localStorage=_window.localStorage;return{set:function(key,value){_localStorage.setItem(namespace+key,value)},get:function(key){return _localStorage.getItem(namespace+key)},remove:function(key){_localStorage.removeItem(namespace+key)}}};$ush.setCookie=function(name,value,expiry){const date=new Date()
94date.setTime(date.getTime()+(expiry*86400000));_document.cookie=name+'='+value+';expires='+date.toUTCString()+';path=/'};$ush.getCookie=function(name){name+='='
95const decodedCookie=decodeURIComponent(_document.cookie);const cookies=decodedCookie.split(';');for(var i=0;i<cookies.length;i++){var cookie=cookies[i];while(cookie.charAt(0)==' '){cookie=cookie.substring(1)}
96if(cookie.indexOf(name)==0){return cookie.substring(name.length,cookie.length)}}
97return null};$ush.removeCookie=function(name){const self=this;if(self.getCookie(name)!==null){self.setCookie(name,1,-1)}};$ush.DIRECTION_TOP=0;$ush.DIRECTION_RIGHT=1;$ush.DIRECTION_BOTTOM=2;$ush.DIRECTION_LEFT=3;$ush.getCursorDirection=function(mouseEvent,target){const rect=target.getBoundingClientRect();const w=rect.width;const h=rect.height;const x=(mouseEvent.clientX-rect.left-(w/2))*(w>h?(h/w):1);const y=(mouseEvent.clientY-rect.top-(h/2))*(h>w?(w/h):1);return Math.round(Math.atan2(y,x)/(Math.PI/2)+5)%4};$ush.download=function(data,fileName,type){const fileBlob=new Blob([String(data)],{type:type});if(_navigator.msSaveOrOpenBlob){_navigator.msSaveOrOpenBlob(fileBlob,fileName)}else{const url=_window.URL.createObjectURL(fileBlob);const anchorElement=_document.createElement('a');anchorElement.href=url;anchorElement.download=fileName;_document.body.appendChild(anchorElement);anchorElement.click();$ush.timeout(()=>{_document.body.removeChild(anchorElement);_window.URL.revokeObjectURL(url)})}};$ush.time=function(){return new Date().getTime()};$ush.mixinEvents={on:function(eventType,handler,one){const self=this;var registry=self.$$events;if(registry===undefined){registry=self.$$events={}}
98var list=registry[eventType];if(list===undefined){list=registry[eventType]=[]}
99list.push({handler:handler,one:one===!0});return self},one:function(eventType,handler){return this.on(eventType,handler,!0)},off:function(eventType,handler){const self=this;const registry=self.$$events;if(registry===undefined){return self}
100const list=registry[eventType];if(list===undefined||list.length===0){return self}
101if(handler!==undefined){var i=list.length;while(i--){if(list[i].handler===handler){list.splice(i,1)}}}else{registry[eventType]=[]}
102return self},trigger:function(eventType,extraParams){const self=this;const registry=self.$$events;if(registry===undefined){return self}
103let list=registry[eventType];if(list===undefined||list.length===0){return self}
104var params;const argsLength=arguments.length;if(argsLength>2){params=new Array(argsLength-1);for(var k=1;k<argsLength;k++){params[k-1]=arguments[k]}}else{params=Array.isArray(extraParams)?extraParams:(extraParams!==undefined?[extraParams]:[])}
105var i=0;while(i<list.length){const event=list[i];event.handler.apply(event.handler,params);if(event.one){self.off(eventType,event.handler);list=registry[eventType]||[]}else{i++}}
106return self}};$ush.urlManager=function(url){const $window=$(_window);const events=$ush.clone($ush.mixinEvents);var _url=new URL($ush.isUndefined(url)?_location.href:url),lastUrl=_url.toString();if($ush.isUndefined(url)){function refresh(){_url=new URL(lastUrl=_location.href)}
107$window.on('pushstate',refresh).on('popstate',(e)=>{refresh();events.trigger('popstate',e.originalEvent)})}
108return $.extend(events,{isChanged:function(){return this.toString()!==_location.href},has:function(key,value){if(typeof key==='string'){const hasKey=_url.searchParams.has(key);if(!value){return hasKey}
109return hasKey&&_url.searchParams.get(key)===value}
110return!1},set:function(key,value){const setParam=(key,value)=>{if($ush.isUndefined(value)||value===null){_url.searchParams.delete(key)}else{_url.searchParams.set(key,$ush.toString(value))}};if($.isPlainObject(key)){for(const k in key){setParam(k,key[k])}}else{setParam(key,value)}
111return this},get:function(){const args=$ush.toArray(arguments);const result={};for(const key of args){if(this.has(key)){result[key]=_url.searchParams.get(key)}else{result[key]=_undefined}}
112if(args.length===1){return Object.values(result)[0]}
113return result},remove:function(){const self=this;const args=$ush.toArray(arguments);for(const key of args)if(self.has(key)){_url.searchParams.delete(key)}
114return self},toString:function(){return _url.toString()},toJson:function(toString){var result={};
114_url.searchParams.forEach((_,key,searchParams)=>{var values=searchParams.getAll(key);if(values.length<2){values=values[0]}
115result[key]=$ush.isUndefined(values)?'':values});if(toString){result=JSON.stringify(result);if(result==='{}'){result=''}}
116return result},ignoreParams:[],getChangedParams:function(){const self=this;const data={setParams:{},oldParams:{}};if(!self.isChanged()){return data}
117const ignoreParams=$ush.toArray(self.ignoreParams);(new URL(lastUrl)).searchParams.forEach((value,key)=>{if(!ignoreParams.includes(key)&&!self.has(key,value)){data.oldParams[key]=value}});_url.searchParams.forEach((value,key)=>{if(!ignoreParams.includes(key)||(!$ush.isUndefined(data.oldParams[key])&&data.oldParams[key]!==value)){data.setParams[key]=value}});return $ush.clone(data)},push:function(state,urldecode){const self=this;if(!self.isChanged()){return}
118if(!$.isPlainObject(state)){state={}}
119history.pushState($.extend(state,self.getChangedParams()),'',lastUrl=self.toString());$window.trigger('pushstate');return self}})}}(jQuery);var _document=document,_navigator=navigator,_undefined=undefined,_window=window;!function(t,e){"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,(function(){function t(){}let e=t.prototype;return e.on=function(t,e){if(!t||!e)return this;let i=this._events=this._events||{},s=i[t]=i[t]||[];return s.includes(e)||s.push(e),this},e.once=function(t,e){if(!t||!e)return this;this.on(t,e);let i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this},e.off=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;let s=i.indexOf(e);return-1!=s&&i.splice(s,1),this},e.emitEvent=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;i=i.slice(0),e=e||[];let s=this._onceEvents&&this._onceEvents[t];for(let n of i){s&&s[n]&&(this.off(t,n),delete s[n]),n.apply(this,e)}return this},e.allOff=function(){return delete this._events,delete this._onceEvents,this},t})),function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}("undefined"!=typeof window?window:this,(function(t,e){let i=t.jQuery,s=t.console;
119function n(t,e,o){if(!(this instanceof n))return new n(t,e,o);let r=t;var h;("string"==typeof t&&(r=document.querySelectorAll(t)),r)?(this.elements=(h=r,Array.isArray(h)?h:"object"==typeof h&&"number"==typeof h.length?[...h]:[h]),this.options={},"function"==typeof e?o=e:Object.assign(this.options,e),o&&this.on("always",o),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):s.error(`Bad element for imagesLoaded ${r||t}`)}n.prototype=Object.create(e.prototype),n.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const o=[1,9,11];n.prototype.addElementImages=function(t){"IMG"===t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);let{nodeType:e}=t;if(!e||!o.includes(e))return;let i=t.querySelectorAll("img");for(let t of i)this.addImage(t);if("string"==typeof this.options.background){let e=t.querySelectorAll(this.options.background);for(let t of e)this.addElementBackgroundImages(t)}};const r=/url\((['"])?(.*?)\1\)/gi;function h(t){this.img=t}function d(t,e){this.url=t,this.element=e,this.img=new Image}return n.prototype.addElementBackgroundImages=function(t){let e=getComputedStyle(t);if(!e)return;let i=r.exec(e.backgroundImage);for(;null!==i;){let s=i&&i[2];s&&this.addBackground(s,t),i=r.exec(e.backgroundImage)}},n.prototype.addImage=function(t){let e=new h(t);this.images.push(e)},n.prototype.addBackground=function(t,e){let i=new d(t,e);this.images.push(i)},n.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length)return void this.complete();let t=(t,e,i)=>{setTimeout((()=>{this.progress(t,e,i)}))};this.images.forEach((function(e){e.once("progress",t),e.check()}))},n.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&s&&s.log(`progress: ${i}`,t,e)},n.prototype.complete=function(){let t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){let t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},h.prototype=Object.create(e.prototype),h.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src)},h.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},h.prototype.confirm=function(t,e){this.isLoaded=t;let{parentNode:i}=this.img,s="PICTURE"===i.nodeName?i:this.img;this.emitEvent("progress",[this,s,e])},h.prototype.handleEvent=function(t){let e="on"+t.type;this[e]&&this[e](t)},h.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},h.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},h.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype=Object.create(h.prototype),d.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},d.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},n.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&(i=e,i.fn.imagesLoaded=function(t,e){return new n(this,t,e).jqDeferred.promise(i(this))})},n.makeJQueryPlugin(),n}));jQuery.easing.jswing=jQuery.easing.swing;var pow=Math.pow;jQuery.extend(jQuery.easing,{def:"easeOutExpo",easeInExpo:function(a){return 0===a?0:pow(2,10*a-10)},easeOutExpo:function(a){return 1===a?1:1-pow(2,-10*a)},easeInOutExpo:function(a){return 0===a?0:1===a?1:.5>a?pow(2,20*a-10)/2:(2-pow(2,-20*a+10))/2}});_window.$us=_window.$us||{};_window.$ush=_window.$ush||{};$us.iOS=(/^iPad|iPhone|iPod/.test(_navigator.platform)||(_navigator.userAgent.indexOf('Mac')>-1&&_navigator.maxTouchPoints>1&&$ush.isTouchend));$us.mobileNavOpened=0;$us.header={};['getCurrentHeight','getHeaderInitialPos','getHeight','getScrollDirection','getScrollTop','isFixed','isHidden','isHorizontal','isStatic','isSticky','isStickyAutoHidden','stickyAutoHideEnabled','stickyEnabled','isTransparent','isVertical','on'].map((name)=>{$us.header[name]=jQuery.noop});jQuery.fn.usMod=function(mod,value){const self=this;if(self.length==0)return self;if(value===_undefined){const pcre=new RegExp('^.*?'+mod+'_([\dA-Za-z_-]+).*?$');return(pcre.exec(self.get(0).className)||[])[1]||!1}
120self.each((_,item)=>{item.className=item.className.replace(new RegExp('(^| )'+mod+'_[\dA-Za-z_-]+( |$)'),'$2');if(value!==!1){item.className+=' '+mod+'_'+value}});return self};$us.getAnimationName=function(animationName,defaultAnimationName){if(jQuery.easing.hasOwnProperty(animationName)){return animationName}
121return defaultAnimationName?defaultAnimationName:jQuery.easing._default};$us.mixins={};$us.mixins.Events={on:function(eventType,handler){const self=this;if(self.$$events===_undefined){self.$$events={}}
122if(self.$$events[eventType]===_undefined){self.$$events[eventType]=[]}
123self.$$events[eventType].push(handler);return self},off:function(eventType,handler){const self=this;if(self.$$events===_undefined||self.$$events[eventType]===_undefined){return self}
124if(handler!==_undefined){var handlerPos=jQuery.inArray(handler,self.$$events[eventType]);if(handlerPos!=-1){self.$$events[eventType].splice(handlerPos,1)}}else{self.$$events[eventType]=[]}
125return self},trigger:function(eventType,extraParameters){const self=this;if(self.$$events===_undefined||self.$$events[eventType]===_undefined||self.$$events[eventType].length==0){return self}
126var args=arguments,params=(args.length>2||!Array.isArray(extraParameters))?Array.prototype.slice.call(args,1):extraParameters;params.unshift(self);for(var index=0;
126index<self.$$events[eventType].length;index ++){self.$$events[eventType][index].apply(self.$$events[eventType][index],params)}
127return self}};jQuery.isMobile=(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(_navigator.userAgent)||(_navigator.platform=='MacIntel'&&_navigator.maxTouchPoints>1));!function($){$us.$window=$(_window);$us.$document=$(_document);$us.$html=$('html');$us.$body=$('.l-body:first');$us.$htmlBody=$us.$html.add($us.$body);$us.$canvas=$('.l-canvas:first');$us.usbPreview=()=>{return _document.body.className.includes('usb_preview')};if($us.iOS){$us.$html.removeClass('no-touch').addClass('ios-touch')}else if($.isMobile||$ush.isTouchend){$us.$html.removeClass('no-touch').addClass('touch')}else{}}(jQuery);!function($){$us.getCurrentState=()=>{return $ush.toString($us.$body.usMod('state'))};$us.currentStateIs=(state)=>{if(!state){return!1}
128if(!Array.isArray(state)){state=[$ush.toString(state)]}
129return state.includes($us.getCurrentState())};$us.getAdminBarHeight=()=>{return(_document.getElementById('wpadminbar')||{}).offsetHeight||0}}(jQuery);!function($){"use strict";function USCanvas(options){const self=this;const defaults={disableEffectsWidth:900,backToTopDisplay:100};self.options=$.extend({},defaults,options||{});self.setGlobalState();self.$header=$('.l-header',$us.$canvas);self.$main=$('.l-main',$us.$canvas);self.$sections=$('> *:not(.l-header) .l-section',$us.$canvas);self.$firstSection=self.$sections.first();self.$secondSection=self.$sections.eq(1);self.$stickySections=self.$sections.filter('.type_sticky:visible');self.$fullscreenSections=self.$sections.filter('.full_height');self.$topLink=$('.w-toplink');self.type=$us.$canvas.usMod('type');self._headerPos=self.$header.usMod('pos');self.headerPos=self._headerPos;self.headerBg=self.$header.usMod('bg');self.rtl=$us.$body.hasClass('rtl');self.isScrolling=!1;self.isAndroid=/Android/i.test(_navigator.userAgent);self._events={scroll:self.scroll.bind(self),resize:self.resize.bind(self),toggleClassIsSticky:self.toggleClassIsSticky.bind(self),}
130if($us.$body.hasClass('us_iframe')){$('a:not([target])').each((_,node)=>$(node).attr('target','_parent'));$(()=>$('.l-popup-box',_window.parent.document).removeClass('loading'))}
131if(self.hasStickyFirstSection()){$us.$body.addClass('sticky_first_section')}
132$us.$window.on('scroll.noPreventDefault',self._events.scroll).on('resize load',self._events.resize).on('scroll.noPreventDefault resize load',self._events.toggleClassIsSticky);$ush.timeout(self._events.resize,25);$ush.timeout(self._events.resize,75)}
133USCanvas.prototype={setGlobalState:function(){const self=this;self.winHeight=$ush.parseInt($us.$window.height());self.winWidth=$ush.parseInt($us.$window.width());$us.$body.toggleClass('disable_effects',(self.winWidth<self.options.disableEffectsWidth));var state;if(self.winWidth>self.options.laptopsBreakpoint){state='default'}else if(self.winWidth>self.options.tabletsBreakpoint){state='laptops'}else if(self.winWidth>self.options.mobilesBreakpoint){state='tablets'}else{state='mobiles'}
134$us.$body.usMod('state',state)},getOffsetTop:function(){var top=Math.ceil($us.$canvas.offset().top);if($us.currentStateIs('mobiles')){top-=$us.getAdminBarHeight()}
135return top},isStickySection:function(){return this.$stickySections.length>0},hasStickySection:function(){const self=this;if(self.isStickySection()){return self.$stickySections.hasClass('is_sticky')}
136return!1},hasPositionStickySections:function(){const self=this;if(self.isStickySection()){return self.$stickySections.filter((_,node)=>{return $(node).css('position')=='sticky'}).length>0}
137return!1},getStickySectionHeight:function(){const self=this;var stickySectionHeight=0;if(self.isStickySection()){var header=$us.header,$stickySection=self.$stickySections.first();stickySectionHeight=$stickySection.outerHeight(!0);if(self.hasStickyFirstSection()&&header.isHorizontal()&&!header.isStatic()){stickySectionHeight-=header.getCurrentHeight()}}
138return stickySectionHeight},hasStickyFirstSection:function(){const self=this;const $first=self.$stickySections.first();return self.isStickySection()&&$first.index()===0&&$first.hasClass('is_sticky')},isAfterStickySection:function(node){var $node=$(node);if($node.length==0){return!1}
139if(!$node.hasClass('l-section')){$node=$node.closest('.l-section')}
140return $node.index()>this.$stickySections.index()},getHeightFirstSection:function(){return this.$firstSection.length>0?parseFloat(this.$firstSection.outerHeight(!0)):0},scroll:function(){const self=this;const scrollTop=parseInt($us.$window.scrollTop());self.$topLink.toggleClass('visible',(scrollTop>=self.winHeight*self.options.backToTopDisplay/100));if(self.isAndroid){if(self.pid){$ush.clearTimeout(self.pid)}
141self.isScrolling=!0;self.pid=$ush.timeout(()=>{self.isScrolling=!1},100)}},resize:function(){const self=this;self.setGlobalState();if($us.$body.hasClass('us_iframe')){var $frameContent=$('.l-popup-box-content',_window.parent.document),outerHeight=$us.$body.outerHeight(!0);if(outerHeight>0&&$(_window.parent).height()>outerHeight){$frameContent.css('height',outerHeight)}else{$frameContent.css('height','')}}
142self.scroll()},toggleClassIsSticky:function(){const self=this;if(!self.isStickySection()){return}
143self.$stickySections.each((_,section)=>{const $section=$(section);const offsetTop=section.getBoundingClientRect().top-parseInt($section.css('top'));$section.toggleClass('is_sticky',(parseInt(offsetTop)===0&&$section.css('position')=='sticky'))})}};$us.canvas=new USCanvas($us.canvasOptions||{})}(jQuery);!function($){$.fn.resetInlineCSS=function(){const self=this;var args=[].slice.call(arguments);if(args.length>0&&Array.isArray(args[0])){args=args[0]}
144for(var index=0;
144index<args.length;index++){self.css(args[index],'')}
145return self};$.fn.clearPreviousTransitions=function(){const self=this;const prevTimers=(self.data('animation-timers')||'').split(',');if(prevTimers.length>=2){self.resetInlineCSS('transition');prevTimers.map(clearTimeout);self.removeData('animation-timers')}
146return self};$.fn.performCSSTransition=function(css,duration,onFinish,easing,delay){const self=this;var transition=[];duration=duration||250;delay=delay||25;easing=easing||'ease';self.clearPreviousTransitions();for(const attr in css){if(!css.hasOwnProperty(attr)){continue}
147transition.push(attr+' '+(duration/1000)+'s '+easing)}
148transition=transition.join(', ');self.css({transition:transition});const timer1=setTimeout(()=>self.css(css),delay);const timer2=setTimeout(()=>{self.resetInlineCSS('transition');if(typeof onFinish==='function'){onFinish()}},duration+delay);self.data('animation-timers',timer1+','+timer2)};$.fn.slideDownCSS=function(duration,onFinish,easing,delay){const self=this;if(self.length==0){return}
149self.clearPreviousTransitions();self.resetInlineCSS('padding-top','padding-bottom');const timer1=setTimeout(()=>{const paddingTop=parseInt(self.css('padding-top'));const paddingBottom=parseInt(self.css('padding-bottom'));self.css({visibility:'hidden',position:'absolute',height:'auto','padding-top':0,'padding-bottom':0,display:'block'});var height=self.height();self.css({overflow:'hidden',height:'0px',opacity:0,visibility:'',position:''});self.performCSSTransition({opacity:1,height:height+paddingTop+paddingBottom,'padding-top':paddingTop,'padding-bottom':paddingBottom},duration,()=>{self.resetInlineCSS('overflow').css('height','auto');if(typeof onFinish=='function'){onFinish()}},easing,delay)},25);self.data('animation-timers',timer1+',null')};$.fn.slideUpCSS=function(duration,onFinish,easing,delay){const self=this;if(self.length==0){return}
150self.clearPreviousTransitions();self.css({height:self.outerHeight(),overflow:'hidden','padding-top':self.css('padding-top'),'padding-bottom':self.css('padding-bottom')});self.performCSSTransition({height:0,opacity:0,'padding-top':0,'padding-bottom':0},duration,()=>{self.resetInlineCSS('overflow','padding-top','padding-bottom').css({display:'none'});if(typeof onFinish=='function'){onFinish()}},easing,delay)};$.fn.fadeInCSS=function(duration,onFinish,easing,delay){const self=this;if(self.length==0){return}
151self.clearPreviousTransitions();self.css({opacity:0,display:'block'});self.performCSSTransition({opacity:1},duration,onFinish,easing,delay)};$.fn.fadeOutCSS=function(duration,onFinish,easing,delay){const self=this;if(self.length==0){return}
152self.performCSSTransition({opacity:0},duration,()=>{self.css('display','none');if(typeof onFinish==='function'){onFinish()}},easing,delay)}}(jQuery);jQuery(function($){"use strict";if(_document.cookie.indexOf('us_cookie_notice_accepted=true')!==-1){$('.l-cookie').remove()}else{$us.$document.on('click','#us-set-cookie',(e)=>{e.preventDefault();e.stopPropagation();const d=new Date();d.setFullYear(d.getFullYear()+1);_document.cookie=`us_cookie_notice_accepted=true; expires=${d.toUTCString()}; path=/;`;if(location.protocol==='https:'){_document.cookie+=' secure;'}
153$('.l-cookie').remove()})}
154if($us.darkThemeIsOn&&window.matchMedia('(prefers-color-scheme: dark)').matches&&!$ush.getCookie('us_color_scheme_switch_is_on')){$ush.setCookie('us_color_scheme_switch_is_on','true',30);$('.w-color-switch input[name=us-color-scheme-switch]').prop('checked',!0);$us.$html.addClass('us-color-scheme-on')}
155$us.$document.on('change','[name=us-color-scheme-switch]',()=>{if($ush.getCookie('us_color_scheme_switch_is_on')==='true'){$us.$html.removeClass('us-color-scheme-on');$us.$html.addClass('us-color-scheme-off');$ush.setCookie('us_color_scheme_switch_is_on','false',30)}else{$us.$html.addClass('us-color-scheme-on');$us.$html.removeClass('us-color-scheme-off');$ush.setCookie('us_color_scheme_switch_is_on','true',30)}
156if($us.header.$container.length){$us.header.$container.addClass('notransition');$ush.timeout(()=>$us.header.$container.removeClass('notransition'),50)}});function usPopupLink(context,opts){const $links=$('a[ref=magnificPopup][class!=direct-link]:not(.inited)',context||_document);const defaultOptions={fixedContentPos:!0,mainClass:'mfp-fade',removalDelay:300,type:'image'};if($links.length>0){$links.addClass('inited').magnificPopup($.extend({},defaultOptions,opts||{}))}};$.fn.usPopupLink=function(opts){return this.each(function(){$(this).data('usPopupLink',new usPopupLink(this,opts))})};$(()=>$us.$document.usPopupLink());if($.magnificPopup){$.magnificPopup.defaults.callbacks=$.extend({},$.magnificPopup.defaults.callbacks,{afterChange:function(){const item=this.currItem;if(item&&item.img&&item.el&&item.el.is('[data-alt]')){item.img.attr('alt',item.el.attr('data-alt'))}},open:function(){const self=this;
156self.wrap.attr({'role':'dialog','aria-modal':'true','aria-label':$us.langOptions.magnificPopup.tDialog});$us.$body.children().each((_,node)=>{const $node=$(node);if($node.is(self.wrap)||$node.is(self.bgOverlay)||$node.is('script, style, link')||$node.attr('aria-hidden')){return}
157$node.attr({'aria-hidden':'true','data-mfp-hidden':''})})},afterClose:function(){$('[data-mfp-hidden]').removeAttr('aria-hidden data-mfp-hidden')}})}(function(){const $footer=$('.l-footer');if($us.$body.hasClass('footer_reveal')&&$footer.length>0&&$footer.html().trim().length>0){function usFooterReveal(){var footerHeight=$footer.innerHeight();if(_window.innerWidth>parseInt($us.canvasOptions.columnsStackingWidth)-1){$us.$canvas.css('margin-bottom',Math.round(footerHeight)-1)}else{$us.$canvas.css('margin-bottom','')}};usFooterReveal();$us.$window.on('resize load',usFooterReveal)}})();const $usYTVimeoVideoContainer=$('.with_youtube, .with_vimeo');if($usYTVimeoVideoContainer.length>0){$us.$window.on('resize load',()=>{$usYTVimeoVideoContainer.each(function(){var $container=$(this),$frame=$container.find('iframe').first(),cHeight=$container.innerHeight(),cWidth=$container.innerWidth(),fWidth='',fHeight='';if(cWidth/cHeight<16/9){fWidth=cHeight*(16/9);fHeight=cHeight}else{fWidth=cWidth;fHeight=fWidth*(9/16)}
158$frame.css({'width':Math.round(fWidth),'height':Math.round(fHeight),})})})}});(function($){"use strict";function USWaypoints(){const self=this;self.waypoints=[];$us.$canvas.on('contentChange',self._countAll.bind(self));$us.$window.on('resize load',self._events.resize.bind(self)).on('scroll scroll.waypoints',self._events.scroll.bind(self));$ush.timeout(self._events.resize.bind(self),75);$ush.timeout(self._events.scroll.bind(self),75)}
159USWaypoints.prototype={_events:{scroll:function(){const self=this;var scrollTop=parseInt($us.$window.scrollTop());scrollTop=(scrollTop>=0)?scrollTop:0;for(var i=0;i<self.waypoints.length;i ++){if(self.waypoints[i].scrollPos<scrollTop){self.waypoints[i].fn(self.waypoints[i].$node);self.waypoints.splice(i,1);i --}}},resize:function(){const self=this;$ush.timeout(()=>{self._countAll.call(self);self._events.scroll.call(self)},150);self._countAll.call(self);self._events.scroll.call(self)}},add:function($node,offset,fn){const self=this;$node=($node instanceof $)?$node:$($node);if($node.length==0){return}
160if(typeof offset!='string'||offset.indexOf('%')==-1){offset=parseInt(offset)}
161if($node.offset().top<($us.$window.height()+$us.$window.scrollTop())){offset=0}
162var waypoint={$node:$node,offset:offset,fn:fn};self._count(waypoint);self.waypoints.push(waypoint)},_count:function(waypoint){const elmTop=waypoint.$node.offset().top,winHeight=$us.$window.height();if(typeof waypoint.offset=='number'){waypoint.scrollPos=elmTop-winHeight+waypoint.offset}else{waypoint.scrollPos=elmTop-winHeight+winHeight*parseInt(waypoint.offset)/100}},_countAll:function(){const self=this;for(var i=0;i<self.waypoints.length;i ++){self._count(self.waypoints[i])}}};$us.waypoints=new USWaypoints})(jQuery);(function(){var lastTime=0;const vendors=['ms','moz','webkit','o'];for(var x=0;x<vendors.length&&!_window.requestAnimationFrame;++ x){_window.requestAnimationFrame=_window[vendors[x]+'RequestAnimationFrame'];_window.cancelAnimationFrame=_window[vendors[x]+'CancelAnimationFrame']||_window[vendors[x]+'CancelRequestAnimationFrame']}
163if(!_window.requestAnimationFrame){_window.requestAnimationFrame=(callback,element)=>{const currTime=new Date().getTime();const timeToCall=Math.max(0,16-(currTime-lastTime));const id=_window.setTimeout(()=>callback(currTime+timeToCall),timeToCall);lastTime=currTime+timeToCall;return id}}
164if(!_window.cancelAnimationFrame){_window.cancelAnimationFrame=(id)=>clearTimeout(id)}}());!function($){if($us.$body.hasClass('single-format-video')){$('figure.wp-block-embed div.wp-block-embed__wrapper',$us.$body).each((_,node)=>{if(node.firstElementChild===null){node.remove()}})}}(jQuery);!function($){"use strict";function usCollapsibleContent(container){const self=this;self._events={showContent:self.showContent.bind(self),};self.$container=$(container);self.$firstElement=$('> *:first',self.$container);self.collapsedHeight=self.$container.data('content-height')||200;self.$container.on('click','.collapsible-content-more, .collapsible-content-less',self._events.showContent);if(self.$container.closest('.owl-carousel').length==0){self.setHeight.call(self)}};usCollapsibleContent.prototype={setHeight:function(){const self=this;let collapsedHeight=self.$firstElement.css('height',self.collapsedHeight).height();self.$firstElement.css('height','');let heightFirstElement=self.$firstElement.height();if(heightFirstElement&&heightFirstElement<=collapsedHeight){$('.toggle-links',self.$container).hide();self.$firstElement.css('height','');self.$container.removeClass('with_collapsible_content')}else{$('.toggle-links',self.$container).show();self.$firstElement.css('height',self.collapsedHeight)}},showContent:function(e){const self=this;e.preventDefault();e.stopPropagation();self.$container.toggleClass('show_content',$(e.target).hasClass('collapsible-content-more')).trigger('showContent');$ush.timeout(()=>{$us.$canvas.trigger('contentChange');if($.isMobile&&!$ush.isNodeInViewport(self.$container[0])){$us.$htmlBody.stop(!0,!1).scrollTop(self.$container.offset().top-$us.header.getCurrentHeight(!0))}},1)}};$.fn.usCollapsibleContent=function(){return this.each(function(){$(this).data('usCollapsibleContent',new usCollapsibleContent(this))})};$('[data-content-height]',$us.$canvas).usCollapsibleContent();$us.$document.on('usPostList.itemsLoaded usGrid.itemsLoaded',(_,$items)=>{$('[data-content-height]',$items).usCollapsibleContent()});if($('.owl-carousel',$us.$canvas).length>0){$us.$canvas.on('click','.collapsible-content-more, .collapsible-content-less',(e)=>{const $target=$(e.target);const $container=$target.closest('[data-content-height]');
164if(!$container.data('usCollapsibleContent')){$container.usCollapsibleContent();$target.trigger('click')}})}}(jQuery);!function($){$us.$document.on('usPopup.afterShow',(_,usPopup)=>{if(usPopup instanceof $us.usPopup&&$('video.wp-video-shortcode',usPopup.$box).length>0){const handle=$ush.timeout(()=>{$ush.clearTimeout(handle);_window.dispatchEvent(new Event('resize'))},1)}})}(jQuery);!function($){"use strict";$us.scrollbarWidth=function(force){const self=this;if($ush.isUndefined(self.width)||force){const scrollDiv=_document.createElement('div');scrollDiv.style.cssText='width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;';_document.body.appendChild(scrollDiv);self.width=scrollDiv.offsetWidth-scrollDiv.clientWidth;_document.body.removeChild(scrollDiv)}
165return self.width};if($.magnificPopup){const origMfpOpen=$.magnificPopup.proto.open;const origMfpClose=$.magnificPopup.proto._close;$.magnificPopup.proto.open=function(){const result=origMfpOpen.apply(this,arguments);$us.$html.css('margin-right','');$us.$document.trigger('usMagnificPopupOpened',this);return result};$.magnificPopup.proto._close=function(){const result=origMfpClose.apply(this,arguments);$us.$document.trigger('usMagnificPopupClosed',this);return result};function animateItemChange(mfp,fromRight){if(!mfp.wrap){return}
166const wrap=mfp.wrap[0];wrap.classList.remove('us_mfp_from_left','us_mfp_from_right');if(wrap.offsetWidth){wrap.classList.add(fromRight?'us_mfp_from_right':'us_mfp_from_left')}}
167const origMfpNext=$.magnificPopup.proto.next;const origMfpPrev=$.magnificPopup.proto.prev;$.magnificPopup.proto.next=function(){const result=origMfpNext.apply(this,arguments);animateItemChange(this,!$ush.isRtl());return result};$.magnificPopup.proto.prev=function(){const result=origMfpPrev.apply(this,arguments);animateItemChange(this,$ush.isRtl());return result};const SWIPE_MIN_DISTANCE=50;const SWIPE_MAX_DURATION=700;const SWIPE_AXIS_RATIO=1.5;let swipe;$us.$document.on('touchstart.usMfpSwipe','.mfp-wrap',(e)=>{const touches=e.originalEvent.touches;swipe=_undefined;if(touches.length!=1){return}
168if($(e.target).closest('.mfp-arrow, .mfp-close').length){return}
169swipe={startX:touches[0].clientX,startY:touches[0].clientY,startTime:Date.now(),}}).on('touchcancel.usMfpSwipe','.mfp-wrap',()=>{swipe=_undefined}).on('touchend.usMfpSwipe','.mfp-wrap',(e)=>{if(!swipe){return}
170const touch=e.originalEvent.changedTouches[0];const mfp=$.magnificPopup.instance;const deltaX=touch.clientX-swipe.startX;const deltaY=touch.clientY-swipe.startY;const isExpired=(Date.now()-swipe.startTime)>SWIPE_MAX_DURATION;swipe=_undefined;if(isExpired||!mfp||!mfp.isOpen){return}
171if(Math.abs(deltaX)>=SWIPE_MIN_DISTANCE&&Math.abs(deltaX)>Math.abs(deltaY)*SWIPE_AXIS_RATIO){if((mfp.st.gallery||{}).enabled&&(mfp.items||[]).length>1){if((deltaX<0)!=$ush.isRtl()){mfp.next()}else{mfp.prev()}}
172return}
173if(Math.abs(deltaY)>=SWIPE_MIN_DISTANCE&&Math.abs(deltaY)>Math.abs(deltaX)*SWIPE_AXIS_RATIO){mfp.close()}})}
174$us.$document.on('usPopupOpened usMagnificPopupOpened',()=>{$us.$html.addClass('us_popup_is_opened');if(!$.isMobile&&$us.$html[0].scrollHeight>$us.$html[0].clientHeight){const scrollbarWidth=$us.scrollbarWidth();if(scrollbarWidth){$us.$html.css('--scrollbar-width',scrollbarWidth+'px')}}});$us.$document.on('usPopupClosed usMagnificPopupClosed',()=>{$us.$html.removeClass('us_popup_is_opened');if(!$.isMobile){$us.$html.css('--scrollbar-width','')}})}(jQuery);!function($,_undefined){"use strict";const _document=document;const _location=location;const ceil=Math.ceil;window.$ush=window.$ush||{};window.$us=window.$us||{};function USScroll(opts){const self=this;const defaultOpts={attachOnInit:['.menu-item a[href*="#"]','.menu-item[href*="#"]','.post_custom_field a[href*="#"]','.post_title a[href*="#"]','.w-ibanner a[href*="#"]','.vc_custom_heading a[href*="#"]','.vc_icon_element a[href*="#"]','.w-comments-title a[href*="#"]','.w-iconbox a[href*="#"]','.w-image a[href*="#"]:not([onclick])','.w-text a[href*="#"]','.w-toplink','a.smooth-scroll[href*="#"]','a.w-btn[href*="#"]:not([onclick]):not(.w-skip-btn)','a.w-grid-item-anchor[href*="#"]'].join(),buttonActiveClass:'active',menuItemActiveClass:'current-menu-item',menuItemAncestorActiveClass:'current-menu-ancestor',animationDuration:($us.canvasOptions||{}).scrollDuration||0,animationEasing:$us.getAnimationName('easeInOutExpo'),endAnimationEasing:$us.getAnimationName('easeOutExpo')};self.opts=$.extend({},defaultOpts,opts||{});self.blocks={};self.isScrolling=!1;self._events={onAnchorClick:self.onAnchorClick.bind(self),onCancel:self.onCancel.bind(self),onScroll:self.onScroll.bind(self),onResize:self.onResize.bind(self)};$us.$window.on('resize load',$ush.debounce(self._events.onResize,1));$ush.timeout(self._events.onResize,75);$us.$window.on('scroll.noPreventDefault',self._events.onScroll);$ush.timeout(self._events.onScroll,75);if(self.opts.attachOnInit){self.attach(self.opts.attachOnInit)}
175$us.$canvas.on('contentChange',self._countAllPositions.bind(self));if(_location.hash&&_location.hash.indexOf('#!')==-1){var hash=_location.hash,scrollPlace=(self.blocks[hash]!==_undefined)?hash:_undefined;if(scrollPlace===_undefined){try{const $target=$(hash);if($target.length!=0){scrollPlace=$target}}catch(error){}}
176if(scrollPlace!==_undefined){var keepScrollPositionTimer=setInterval(()=>{self.scrollTo(scrollPlace);if(_document.readyState!=='loading'){clearInterval(keepScrollPositionTimer)}},100);const clearHashEvents=()=>{$us.$window.off('load mousewheel.noPreventDefault DOMMouseScroll touchstart.noPreventDefault',clearHashEvents);$ush.timeout(()=>{$us.canvas.resize();self._countAllPositions();
176if($us.hasOwnProperty('waypoints')){$us.waypoints._countAll()}
177self.scrollTo(scrollPlace)},100)};$us.$window.on('load mousewheel.noPreventDefault DOMMouseScroll touchstart.noPreventDefault',clearHashEvents)}}
178self.animateOpts={duration:self.opts.animationDuration,easing:self.opts.animationEasing,start:()=>{self.isScrolling=!0},complete:()=>{self.onCancel()},}}
179USScroll.prototype={_countPosition:function(hash){const self=this;var $target=self.blocks[hash].$target,offsetTop=$target.offset().top;if($target.hasClass('type_sticky')){var key='realTop';if(!$target.hasClass('is_sticky')){$target.removeData(key)}
180if(!$target.data(key)){$target.data(key,offsetTop)}
181offsetTop=$target.data(key)||offsetTop}
182if($us.$body.hasClass('footer_reveal')&&$target.closest('footer').length){offsetTop=$us.$body.outerHeight(!0)+(offsetTop-$us.$window.scrollTop())}
183self.blocks[hash].top=ceil(offsetTop-$us.canvas.getOffsetTop())},_countAllPositions:function(){const self=this;for(const hash in self.blocks){if(self.blocks[hash]){self._countPosition(hash)}}},indicatePosition:function(activeHash){const self=this;for(const hash in self.blocks){if(!self.blocks[hash]){continue}
184const block=self.blocks[hash];if(!$ush.isUndefined(block.buttons)){block.buttons.toggleClass(self.opts.buttonActiveClass,hash===activeHash)}
185if(!$ush.isUndefined(block.menuItems)){block.menuItems.toggleClass(self.opts.menuItemActiveClass,hash===activeHash)}
186if(!$ush.isUndefined(block.menuAncestors)){block.menuAncestors.removeClass(self.opts.menuItemAncestorActiveClass)}}
187if(!$ush.isUndefined(self.blocks[activeHash])&&!$ush.isUndefined(self.blocks[activeHash].menuAncestors)){self.blocks[activeHash].menuAncestors.addClass(self.opts.menuItemAncestorActiveClass)}},attach:function(anchors){const self=this;const $anchors=$(anchors).not('.no_smooth_scroll');if($anchors.length==0){return}
188var _pathname=decodeURIComponent(_location.pathname),patternPathname=new RegExp('^'+_pathname.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")+'#'),patternPageId=/^\/?(\?page_id=\d+).*?/;$anchors.each((index,anchor)=>{const $anchor=$(anchor);if($anchor.closest('.no_smooth_scroll').length>0){return}
189var href=$ush.toString($anchor.attr('href')).replace(_location.origin,''),hash=$anchor.prop('hash'),hasProtocol=/^(https?:\/\/)/.test(href),hasPageId=patternPageId.test(href);if(hash.indexOf('#!')>-1||href.indexOf('#')<0||(href.substr(0,2)=='/#'&&_location.search&&_pathname=='/')||(hasProtocol&&href.indexOf(_location.origin)!==0)||(hasPageId&&href.indexOf((_location.search.match(patternPageId)||[])[1])==-1)||(href.charAt(0)=='/'&&!hasPageId&&!patternPathname.test(href))){return}
190if(hash!=''&&hash!='#'){if(self.blocks[hash]===_undefined){var $target=$(`[id="${hash.slice(1)}"]:visible`),$originalTarget,type='';if($target.length==0){return}
191if($target.hasClass('g-cols')&&$target.hasClass('vc-row')&&$target.parent().children().length==1){$target=$target.closest('.l-section')}
192if($target.hasClass('w-tabs-section')){const $newTarget=$target.closest('.w-tabs');if(!$newTarget.hasClass('accordion')){$originalTarget=$target;$target=$newTarget}
193type='tab-section'}else if($target.hasClass('w-tabs')){type='tabs'}
194self.blocks[hash]={type:type,$target:$target,$originalTarget:$originalTarget};self._countPosition(hash)}
195if($anchor.parent().length>0&&$anchor.parent().hasClass('menu-item')){var $menuIndicator=$anchor.closest('.menu-item');self.blocks[hash].menuItems=(self.blocks[hash].menuItems||$()).add($menuIndicator);var $menuAncestors=$menuIndicator.parents('.menu-item-has-children');if($menuAncestors.length>0){self.blocks[hash].menuAncestors=(self.blocks[hash].menuAncestors||$()).add($menuAncestors)}}else{self.blocks[hash].buttons=(self.blocks[hash].buttons||$()).add($anchor)}}
196$anchor.on('click',self._events.onAnchorClick)})},getPlacePosition:function(place){const self=this;const data={newY:0,type:''};if(place===''||place==='#'){data.newY=0;data.type='top'}else if(self.blocks[place]!==_undefined){self._countPosition(place);data.newY=self.blocks[place].top;data.type='hash';place=self.blocks[place].$target}else if(place instanceof $){if(place.hasClass('w-tabs-section')){var newPlace=place.closest('.w-tabs');if(!newPlace.hasClass('accordion')){place=newPlace}}
197data.newY=place.offset().top;data.type='element'}else{data.newY=place}
198if($us.canvas.isStickySection()&&$us.canvas.hasPositionStickySections()&&!$(place).hasClass('type_sticky')&&$us.canvas.isAfterStickySection(place)){data.newY-=$us.canvas.getStickySectionHeight()}
199return data},scrollTo:function(place,animate){const self=this;var $place=$(place);if($place.closest('.w-popup-wrap').length){self.scrollToPopupContent(place);return!0}
200var offset=self.getPlacePosition(place),indicateActive=()=>{if(offset.type==='hash'){self.indicatePosition(place)}else{self.onScroll()}};if(animate){if(navigator.userAgent.match(/iPad/i)!=null&&$('.us_iframe').length&&offset.type=='hash'){$place[0].scrollIntoView({behavior:"smooth",block:"start"})}
201var scrollTop=$us.$window.scrollTop(),scrollDirections=scrollTop<offset.newY?'down':'up';if(scrollTop===offset.newY){return}
202const animateOpts=$.extend({},self.animateOpts,{always:()=>{self.isScrolling=!1;indicateActive()}});animateOpts.step=(now,fx)=>{var newY=self.getPlacePosition(place).newY;if($us.header.isHorizontal()&&$us.header.stickyEnabled()){newY-=$us.header.getCurrentHeight()}
203fx.end=newY};if($place.hasClass('us_animate_this')){$place.trigger('us_startAnimate')}
204$us.$htmlBody.stop(!0,!1).animate({scrollTop:offset.newY+'px'},animateOpts);$us.$window.on('keydown mousewheel.noPreventDefault DOMMouseScroll touchstart.noPreventDefault',self._events.onCancel)}else{if($us.header.stickyEnabled()&&$us.header.isHorizontal()){offset.newY-=$us.header.getCurrentHeight(!0)}
205$us.$htmlBody.stop(!0,!1).scrollTop(offset.newY);indicateActive()}},scrollToPopupContent:function(place){const self=this;const node=_document.getElementById(place.replace('#',''));const animateOpts=$.extend({},self.animateOpts,{always:()=>{self.isScrolling=!1},});$(node).closest('.w-popup-wrap').stop(!0,!1).animate({scrollTop:node.offsetTop+'px'},animateOpts);$us.$window.on('keydown mousewheel.noPreventDefault DOMMouseScroll touchstart.noPreventDefault',self._events.onCancel)},onAnchorClick:function(e){e.preventDefault();const self=this;const $anchor=$(e.currentTarget);const hash=$anchor.prop('hash');if($anchor.hasClass('w-nav-anchor')&&$anchor.closest('.menu-item').hasClass('menu-item-has-children')&&$anchor.closest('.w-nav').hasClass('type_mobile')){var menuOptions=$anchor.closest('.w-nav').find('.w-nav-options:first')[0].onclick()||{},dropByLabel=$anchor.parents('.menu-item').hasClass('mobile-drop-by_label'),dropByArrow=$anchor.parents('.menu-item').hasClass('mobile-drop-by_arrow');if(dropByLabel||(menuOptions.mobileBehavior&&!dropByArrow)){return!1}}
206if($anchor.attr('href')==='#'&&$anchor.closest('.w-popup-wrap').length){return!1}
207self.scrollTo(hash,!0);if(hash==='#page-top'){const active=document.activeElement;if(active&&typeof active.blur==='function'){active.blur()}
208if(!self.focusHolder){self.focusHolder=document.createElement('div');self.focusHolder.tabIndex=-1;self.focusHolder.classList.add('focus-holder');self.focusHolder.setAttribute('aria-hidden','true');document.body.appendChild(self.focusHolder)}
209requestAnimationFrame(()=>{self.focusHolder.focus({preventScroll:!0})});return}
210self.indicatePosition(hash);if(typeof self.blocks[hash]!=='undefined'){var block=self.blocks[hash];if(['tabs','tab-section'].includes(block.type)){var $linkedSection=$(`.w-tabs-section[id="${hash.substr(1)}"]`,block.$target);if(block.type==='tabs'){$linkedSection=$('.w-tabs-section:first',block.$target)}else if(block.$target.hasClass('w-tabs-section')){$linkedSection=block.$target}
211if($linkedSection.length){$('.w-tabs-section-header',$linkedSection).trigger('click')}}else if(block.menuItems!==_undefined&&$us.currentStateIs(['mobiles','tablets'])&&$us.$body.hasClass('header-show')){$us.$body.removeClass('header-show')}}},onCancel:function(){$us.$htmlBody.stop(!0,!1);$us.$window.off('keydown mousewheel.noPreventDefault DOMMouseScroll touchstart',this._events.onCancel);this.isScrolling=!1},onScroll:function(){const self=this;if(self.isScrolling){return}
212var scrollTop=ceil($us.header.getScrollTop()),activeHash;scrollTop=(scrollTop>=0)?scrollTop:0;for(const hash in self.blocks){const block=self.blocks[hash];if(!block||activeHash||$ush.isNodeInViewport(block)){continue}
213var top=block.top;if(!$us.header.isHorizontal()){top-=$us.canvas.getOffsetTop()}else{if($us.header.stickyEnabled()){top-=$us.header.getCurrentHeight(!0)}
214if($us.canvas.hasStickySection()){top-=$us.canvas.getStickySectionHeight()}}
215top=$ush.parseInt(top.toFixed(0));if(scrollTop>=top&&scrollTop<=(top+block.$target.outerHeight(!1))){activeHash=hash}
216if(activeHash&&block.type==='tab-section'&&block.$originalTarget.is(':hidden')){activeHash=_undefined}}
217$ush.debounce_fn_1ms(self.indicatePosition.bind(self,activeHash))},onResize:function(){const self=this;$ush.timeout(()=>{self._countAllPositions();self.onScroll()},150);self._countAllPositions();self.onScroll()}};$(()=>
217$us.scroll=new USScroll($us.scrollOptions||{}))}(jQuery);(function($){"use strict";var USAnimate=function(container){var self=this;self.$container=$(container);self.$items=$('[class*="us_animate_"]:not(.off_autostart)',self.$container);self.$items.each(function(_,item){var $item=$(item);if($item.data('_animate_inited')||$item.hasClass('off_autostart')){return}
218if($item.parents('.owl-carousel').length){$item.addClass('start')}
219$item.data('_animate_inited',!0);const docHeight=document.documentElement.scrollHeight;const offset=(docHeight-$item.offset().top)>docHeight*0.12?'12%':'0%';$us.waypoints.add($item,offset,function($node){if(!$node.hasClass('start')){$ush.timeout(function(){$node.addClass('start')},20)}});$item.one('us_startAnimate',function(){if(!$item.hasClass('start')){$item.addClass('start')}})})};window.USAnimate=USAnimate;new USAnimate(document);$('.wpb_animate_when_almost_visible').each(function(){$us.waypoints.add($(this),'12%',function($node){if(!$node.hasClass('wpb_start_animation')){$ush.timeout(function(){$node.addClass('wpb_start_animation')},20)}})})})(jQuery);!function($,_undefined){"use strict";window.$us=window.$us||{};$us.carouselMixin={focusableSelectors:['a[href]','area[href]','input:not([disabled])','select:not([disabled])','textarea:not([disabled])','button:not([disabled])','iframe','object','embed','[tabindex]:not([tabindex="-1"])','[contenteditable]','video[controls] source'].join(),defaultAriaLabels:{prev:'Previous',next:'Next',slide:'item',slide_x_of_y:'%1$s / %2$s',play:'Play',pause:'Pause',},prefersReducedMotion:function(){return!!(window.matchMedia&&window.matchMedia('(prefers-reduced-motion: reduce)').matches)},prepareOptions:function(){const self=this;self.ariaLabels=$.extend({},self.defaultAriaLabels,self.options.aria_labels||{});$.extend(self.options,{navElement:'button type="button"',navText:['<span class="screen-reader-text">'+self.ariaLabels.prev+'</span>','<span class="screen-reader-text">'+self.ariaLabels.next+'</span>',],});if(self.prefersReducedMotion()){self.disableMotion()}
220if($us.$html.hasClass('touch')||$us.$html.hasClass('ios-touch')){self.options.mouseDrag=!1}
221if($us.usbPreview()){$.extend(self.options,{autoplayHoverPause:!0,mouseDrag:!1,touchDrag:!1,loop:!1,})}
222if(self.options.autoplayContinual){$.extend(self.options,{slideTransition:'linear',autoplaySpeed:self.options.autoplayTimeout,smartSpeed:self.options.autoplayTimeout,});if(!self.options.autoWidth){self.options.slideBy=1}}},getScreenSize:function(){return(String(this.$carousel[0].className).match(/owl-responsive-(\d+)/)||[])[1]},getResponsiveOptions:function(){return(this.options.responsive||{})[this.getScreenSize()]||{}},applyResponsiveClasses:function(){const self=this;const carouselResponsive=self.getResponsiveOptions();if(carouselResponsive.items===1){self.$carousel.toggleClass('autoheight',!!carouselResponsive.autoHeight)}
223self.$carousel.toggleClass('with_dots',!!carouselResponsive.dots);self.$carousel.toggleClass('autoplay_continual_css',!!carouselResponsive.autoplayContinualCss)},initItemAnimation:function(){const self=this;if(!$('.us_animate_this:first',self.$carousel).length){return}
224if(self.options.autoplayContinual){self.$carousel.on('translate.owl.carousel',self._events.controlItemAnimation)}else{$('.owl-item.active',self.owlCarousel.$stage).addClass('animation-start');self.$carousel.on('translated.owl.carousel',self._events.controlItemAnimation)}},initCollapsibleContent:function(){const self=this;const $toggleLinks=$('[data-content-height]',self.$carousel);$toggleLinks.each((_,node)=>{const $node=$(node);var usCollapsibleContent=$node.data('usCollapsibleContent');if($ush.isUndefined(usCollapsibleContent)){usCollapsibleContent=$node.usCollapsibleContent().data('usCollapsibleContent')}
225usCollapsibleContent.setHeight();$ush.timeout(()=>{self.$carousel.trigger('refresh.owl.carousel')},1)});if(self.getResponsiveOptions().autoHeight){$toggleLinks.on('showContent',()=>{self.$carousel.trigger('refresh.owl.carousel')})}},controlItemAnimation:function(e){const self=this;if(!e.item||!e.item.index||!e.type){return}
226const $stage=self.owlCarousel.$stage;if(e.type==='translate'&&self.options.autoplayContinual){const $translatedOwlItem=$('.owl-item',$stage).eq(e.item.index-1);if($translatedOwlItem.length){$translatedOwlItem.addClass('translated');$ush.timeout(()=>{$translatedOwlItem.removeClass('translated')},self.options.autoplaySpeed)}}
227if(e.type==='translated'){$stage.find('.owl-item:not(.active)').removeClass('animation-start');$stage.find('.owl-item.active').addClass('animation-start')}},};$.extend($us.carouselMixin,{disableMotion:function(){const self=this;const restoreDrag=!!self.options.autoplayContinualCss;$.extend(self.options,{autoplay:!1,autoplayContinual:!1,autoplayContinualCss:!1,});if(restoreDrag){$.extend(self.options,{mouseDrag:!0,touchDrag:!0,})}
228$.each(self.options.responsive||{},(_,responsiveOptions)=>{$.extend(responsiveOptions,{autoplay:!1,autoplayContinualCss:!1,});if(restoreDrag){$.extend(responsiveOptions,{mouseDrag:!0,touchDrag:!0,})}})},hasMotion:function(){const self=this;if(self.options.autoplay||self.options.autoplayContinualCss){return!0}
229for(const breakpoint in(self.options.responsive||{})){const responsiveOptions=self.options.responsive[breakpoint]||{};if(responsiveOptions.autoplay||responsiveOptions.autoplayContinualCss){return!0}}
230return!1},initA11y:function(){const self=this;if(!self.owlCarousel){return}
231self.isPausedByUser=!1;self.$carousel.on('refreshed.owl.carousel',self._events.updateAria);self.updateAria();if(self.hasMotion()){self.$playPause=$('<button type="button" class="owl-playpause"></button>').attr('aria-label',self.ariaLabels.pause).on('click',self._events.togglePlayback).prependTo(self.$carousel)}},updateAria:function(){const self=this;if(!self.owlCarousel){return}
232const $items=$('.owl-item',self.owlCarousel.$stage);const $slides=$items.not('.cloned, .us_cloned');const itemsCount=$slides.length;$slides.each((index,node)=>{$(node).attr({'role':'group','aria-roledescription':self.ariaLabels.slide,'aria-label':self.getSlideLabel(index+1,itemsCount),})});$items.filter('.cloned, .us_cloned').attr('aria-hidden','true').find(self.focusableSelectors).attr('tabindex',-1)},getSlideLabel:function(index,total){return String(this.ariaLabels.slide_x_of_y).replace('%1$s',index).replace('%2$s',total)},togglePlayback:function(e){const self=this;self.isPausedByUser=!self.isPausedByUser;$(e.currentTarget).toggleClass('paused',self.isPausedByUser).attr('aria-label',self.isPausedByUser?self.ariaLabels.play:self.ariaLabels.pause);self.$carousel.toggleClass('is_paused',self.isPausedByUser);self.$carousel.toggleClass('is_playing',!self.isPausedByUser);self.owlCarousel.settings.autoplayHoverPause=!1;self.owlCarousel.options.autoplayHoverPause=!1;
232if(self.owlCarousel.settings.autoplay){self.$carousel.trigger((self.isPausedByUser?'stop':'play')+'.owl.autoplay')}},});$.extend($us.carouselMixin,{initKeyboardNav:function(){const self=this;const carouselResponsive=self.getResponsiveOptions();const focusableSelectors=self.focusableSelectors;if(carouselResponsive.autoplay){self.$carousel.off('focusin.carouselKeyboardNav').on('focusin.carouselKeyboardNav',()=>{self.$carousel.trigger('stop.owl.autoplay')});self.$carousel.off('focusout.carouselKeyboardNav').on('focusout.carouselKeyboardNav',()=>{if(!self.isPausedByUser&&self.owlCarousel.settings.autoplay){self.$carousel.trigger('play.owl.autoplay')}})}
233const $viewport=self.owlCarousel.$stage.parent();$viewport.off('scroll.carouselFocusNav').on('scroll.carouselFocusNav',(e)=>{e.currentTarget.scrollLeft=0;e.currentTarget.scrollTop=0});self.$carousel.off('focusin.carouselFocusNav').on('focusin.carouselFocusNav',(e)=>{const $owlItem=$(e.target).closest('.owl-item');if(!$owlItem.length){return}
234$viewport[0].scrollLeft=0;$viewport[0].scrollTop=0;const viewportRect=$viewport[0].getBoundingClientRect();const itemRect=$owlItem[0].getBoundingClientRect();if(itemRect.left>=viewportRect.left-1&&itemRect.right<=viewportRect.right+1){return}
235const index=$('.owl-item',self.owlCarousel.$stage).not('.cloned, .us_cloned').index($owlItem);if(index<0){return}
236self.$carousel.trigger('to.owl.carousel',[index,null,!0])});self.$carousel.off('.carouselNavFocus').on('focusin.carouselNavFocus','.owl-prev, .owl-next',(e)=>{self.$focusedNav=$(e.currentTarget)}).on('changed.owl.carousel.carouselNavFocus refreshed.owl.carousel.carouselNavFocus',self._events.keepNavFocus);self.$carousel.off('keydown.carouselArrowsNav').on('keydown.carouselArrowsNav',focusableSelectors,(e)=>{if($(e.target).is('input, textarea, select, [contenteditable]')){return}
237const isRtl=!!self.options.rtl;switch(e.keyCode){case 37:e.preventDefault();self.$carousel.trigger((isRtl?'next':'prev')+'.owl.carousel');break;case 39:e.preventDefault();self.$carousel.trigger((isRtl?'prev':'next')+'.owl.carousel');break}})},keepNavFocus:function(){const self=this;const $focusedNav=self.$focusedNav;if(!$focusedNav||!$focusedNav.length||!$focusedNav.hasClass('disabled')){return}
238if(document.activeElement!==$focusedNav[0]&&document.activeElement!==document.body){return}
239const $opposite=$focusedNav.siblings('.owl-prev, .owl-next').not('.disabled');self.$focusedNav=null;if($opposite.length){$opposite.trigger('focus')}else if(self.$playPause){self.$playPause.trigger('focus')}},});$.extend($us.carouselMixin,{initContinualRotationCss:function(){const self=this;if(!self.owlCarousel||!self.options.autoplayContinualCss){return}
240self.continualRotationCss();self.$carousel.on('resized.owl.carousel',self._events.continualRotationCssResize)},continualRotationCss:function(isResizeUse=!1){const self=this;if(!self.$carousel.hasClass('autoplay_continual_css')){return}
241const $stage=self.owlCarousel.$stage;const $items=$stage.children();if(isResizeUse&&self.$originalItems&&(self.$originalItems.length!==$items.length)){return}
242$stage.removeAttr('style');if(!self.$originalItems){self.$originalItems=$items.clone()}
243var iteration=0;while($stage[0].scrollWidth<self.owlCarousel.$element.outerWidth()){if(iteration++>200){break}
244$stage.append(self.$originalItems.clone())}
245$stage.append($stage.html());$stage.children().slice(self.$originalItems.length).addClass('us_cloned').attr('aria-hidden','true').find(self.focusableSelectors).attr('tabindex',-1)},continualRotationCssResize:function(){const self=this;self.owlCarousel.$stage.removeAttr('style');if(!self.getResponsiveOptions().autoplayContinualCss){self.$carousel.removeClass('autoplay_continual_css');self.owlCarousel.$stage.html(self.$originalItems);self.$carousel.trigger('refresh.owl.carousel')}else{self.$carousel.addClass('autoplay_continual_css');self.continualRotationCss(!0)}
246self.updateAria()},});const POPUP_GALLERY_LINKS='> .owl-stage-outer > .owl-stage > .owl-item:not(.cloned):not(.us_cloned) > .w-grid-item > .w-grid-item-h > a[ref=magnificPopupList]';const POPUP_GALLERY_CLONED_LINKS='> .owl-stage-outer > .owl-stage > .owl-item.cloned > .w-grid-item > .w-grid-item-h > a[ref=magnificPopupList],'+' > .owl-stage-outer > .owl-stage > .owl-item.us_cloned > .w-grid-item > .w-grid-item-h > a[ref=magnificPopupList]';function usCarousel(container){const self=this;self.$container=$(container);
246self.$carousel=$('.w-grid-list.owl-carousel',self.$container);self.options={responsiveRefreshRate:100,};self._events={initializedOwlCarousel:self.initializedOwlCarousel.bind(self),mousedownOwlCore:self.mousedownOwlCore.bind(self),continualRotationCssResize:self.continualRotationCssResize.bind(self),controlItemAnimation:self.controlItemAnimation.bind(self),updateAria:self.updateAria.bind(self),togglePlayback:self.togglePlayback.bind(self),keepNavFocus:self.keepNavFocus.bind(self),};const $opts=$('.w-grid-carousel-json',self.$container);if($opts.is('[onclick]')){$.extend(self.options,($opts[0].onclick()||{}).carousel_settings||{})}
247$opts.remove();self.prepareOptions();$('> .owl-playpause',self.$carousel).remove();self.$carousel.on('initialized.owl.carousel',self._events.initializedOwlCarousel).on('mousedown.owl.core',self._events.mousedownOwlCore);self.owlCarousel=self.$carousel.owlCarousel(self.options).data('owl.carousel');self.initItemAnimation();if(self.owlCarousel&&self.options.autoplayContinual){self.$carousel.trigger('next.owl.carousel')}
248self.applyResponsiveClasses();self.initContinualRotationCss();if($('[ref=magnificPopupList]:first',self.$carousel).length){$ush.timeout(self.initMagnificPopup.bind(self),1)}
249if(self.$container.hasClass('open_items_in_popup')){new $us.usPopup().popupPost(self.$container)}
250self.initA11y();self.initKeyboardNav()}
251$.extend(usCarousel.prototype,$us.carouselMixin,{initializedOwlCarousel:function(e){const self=this;self.initCollapsibleContent();if($.isMobile&&self.$carousel.closest('.w-tabs-section.active').length>0){$ush.timeout(()=>{self.$carousel.trigger('refresh.owl.carousel')},50)}},mousedownOwlCore:function(e){const self=this;if(!String(e.target.className).includes('collapsible-content-')){return}
252if(self.owlCarousel.settings.mouseDrag){self.owlCarousel.$stage.trigger('mouseup.owl.core')}
253if(self.owlCarousel.settings.touchDrag){self.owlCarousel.$stage.trigger('touchcancel.owl.core')}},initMagnificPopup:function(){const self=this;const globalOpts=$us.langOptions.magnificPopup||{};self.$carousel.magnificPopup({type:'image',delegate:POPUP_GALLERY_LINKS,gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1],tPrev:globalOpts.tPrev,tNext:globalOpts.tNext,tCounter:globalOpts.tCounter},image:{titleSrc:'aria-label'},removalDelay:300,mainClass:'mfp-fade',fixedContentPos:!0,callbacks:{beforeOpen:function(){if(self.owlCarousel&&self.owlCarousel.settings.autoplay){self.$carousel.trigger('stop.owl.autoplay')}},beforeClose:function(){if(self.owlCarousel&&self.owlCarousel.settings.autoplay){self.$carousel.trigger('play.owl.autoplay')}}}});self.$carousel.on('click',POPUP_GALLERY_CLONED_LINKS,(e)=>{e.preventDefault();e.stopPropagation();self.getPopupLink(e.currentTarget).trigger('click')})},getPopupLink:function(clonedLink){const self=this;const href=$ush.toString(clonedLink.getAttribute('href'));return $(POPUP_GALLERY_LINKS,self.$carousel).filter((_,link)=>$ush.toString(link.getAttribute('href'))===href).first()},});$.fn.usCarousel=function(){return this.each(function(){$(this).data('usCarousel',new usCarousel(this))})};$(()=>$('.w-grid.type_carousel').usCarousel())}(jQuery);!function($,undefined){"use strict";window.$us=window.$us||{};function usContentCarousel(container){const self=this;const $carouselContainer=$('.owl-carousel',container);self.$carousel=$carouselContainer;self.options={responsiveRefreshRate:100,}
254self._events={continualRotationCssResize:self.continualRotationCssResize.bind(self),controlItemAnimation:self.controlItemAnimation.bind(self),updateAria:self.updateAria.bind(self),togglePlayback:self.togglePlayback.bind(self),keepNavFocus:self.keepNavFocus.bind(self),};if($carouselContainer.is('[onclick]')){$.extend(self.options,$carouselContainer[0].onclick()||{});if(!$us.usbPreview()){$carouselContainer.removeAttr('onclick')}}
255if(self.options.slideBy=='page'){if($('.wpb_row:first',$carouselContainer).length){$.each(self.options.responsive,(_,options)=>{$.extend(options,{items:1,autoWidth:!1})})}}
256self.prepareOptions();if($us.usbPreview()){$carouselContainer.one('initialized.owl.carousel',()=>{$('.owl-item',$carouselContainer).each((_,node)=>{var $node=$(node),$element=$('> *',node),usbid=$element.data('usbid')||$element.data('usbid2');$node.attr('data-usbid',usbid);$element.data('usbid2',usbid).removeAttr('data-usbid')});$ush.timeout(()=>{$('.owl-dots *, .owl-prev, .owl-next, .owl-playpause',$carouselContainer).addClass('usb_skip_elmSelected')},1)});$('style[data-for]',$carouselContainer).each((_,node)=>{$(node).next().prepend(node)})}
257$carouselContainer.one('initialized.owl.carousel',()=>{self.initCollapsibleContent()});if($carouselContainer.data('owl.carousel')){$carouselContainer.trigger('destroy.owl.carousel')}
258$('> .owl-playpause',$carouselContainer).remove();self.owlCarousel=$carouselContainer.owlCarousel(self.options).data('owl.carousel');self.initItemAnimation();if(self.owlCarousel&&self.options.autoplayContinual){$carouselContainer.trigger('next.owl.carousel')}
259self.applyResponsiveClasses();self.initContinualRotationCss();self.initA11y();self.initKeyboardNav()}
260$.extend(usContentCarousel.prototype,$us.carouselMixin);$.fn.usContentCarousel=function(options){return this.each(function(){$(this).data('usContentCarousel',new usContentCarousel(this,options))})};$(()=>
260{$('.w-content-carousel').usContentCarousel()})}(jQuery);!function($){"use strict";$us.USVCCharts=function(container,options){this.init(container,options)};$us.USVCCharts.prototype={init:function(container,options){this.$container=$(container);this.charts={line:{class:'vc_line-chart',},round:{class:'vc_round-chart',}};$us.$canvas.on('contentChange',this.redraw.bind(this))},redraw:function(event,data={}){if(!data||!data.elm){return}
261for(const chart in this.charts){const $wrapper=$(data.elm).hasClass('w-popup')?'.w-popup-wrap':$(data.elm);if(this.$container.closest($wrapper).length){if(this.$container.hasClass(this.charts.line.class)){$.fn.vcLineChart&&this.$container.vcLineChart({reload:!1})}else if(this.$container.hasClass(this.charts.round.class)){$.fn.vcRoundChart&&this.$container.vcRoundChart({reload:!1})}}}},};$.fn.USVCCharts=function(options){return this.each(function(){$(this).data('USVCCharts',new $us.USVCCharts(this,options))})};$(function(){$('.vc_line-chart, .vc_round-chart').USVCCharts()})}(jQuery);!function($){"use strict";$us.CommnentsForm=function(container,options){this.init(container,options)};$us.CommnentsForm.prototype={init:function(container,options){this.$container=$(container);this.$form=this.$container.find('form.comment-form');if(!this.$form.length){return}
262this.$jsonContainer=this.$container.find('.us-comments-json');if(!this.$jsonContainer.length){return}
263this.jsonData=this.$jsonContainer[0].onclick()||{};this.$jsonContainer.remove();this.$fields={content:{field:this.$form.find('textarea'),msg:this.jsonData.no_content_msg||'Please enter a Message'},name:{field:this.$form.find('.for_text input[type="text"]'),msg:this.jsonData.no_name_msg||'Please enter your Name'},email:{field:this.$form.find('.for_email input[type="email"]'),msg:this.jsonData.no_email_msg||'Please enter a valid email address.'}};this._events={formSubmit:this.formSubmit.bind(this)};this.$form.on('submit',this._events.formSubmit)},formSubmit:function(event){this.$form.find('.w-form-row.check_wrong').removeClass('check_wrong');this.$form.find('.w-form-state').html('');for(var i in this.$fields){if(this.$fields[i].field.length==0){continue}
264if(this.$fields[i].field.val()==''&&this.$fields[i].field.attr('data-required')){this.$fields[i].field.closest('.w-form-row').toggleClass('check_wrong');this.$fields[i].field.closest('.w-form-row').find('.w-form-row-state').html(this.$fields[i].msg);event.preventDefault()}}}};$.fn.CommnentsForm=function(options){return this.each(function(){$(this).data('CommnentsForm',new $us.CommnentsForm(this,options))})};$(function(){$('.w-post-elm.post_comments.layout_comments_template').CommnentsForm();$('.l-section.for_comments').CommnentsForm()})}(jQuery);!function($,_undefined){function usCounterNumber(container){const self=this;self.$container=$(container);self.initialString=$ush.toString(self.$container.html());self.finalString=$ush.toString(self.$container.data('final'));self.format=self.getFormat(self.initialString,self.finalString);self.isNoAnimation=self.$container.closest('.w-counter.animation_none').length;if(self.format.decMark){const pattern=new RegExp('[^0-9\/'+self.format.decMark+']+','g');self.initial=parseFloat(self.initialString.replace(pattern,'').replace(self.format.decMark,'.'));self.final=parseFloat(self.finalString.replace(pattern,'').replace(self.format.decMark,'.'))}else{self.initial=parseInt(self.initialString.replace(/[^0-9]+/g,''));self.final=parseInt(self.finalString.replace(/[^0-9]+/g,''))}
265if(self.format.accounting){if(self.initialString.length>0&&self.initialString[0]=='('){self.initial=-self.initial}
266if(self.finalString.length>0&&self.finalString[0]=='('){self.final=-self.final}}
267if(!self.isNoAnimation){self.initSlideAnimation()}}
268usCounterNumber.prototype={step:function(now){const self=this;var value=(1-now)*self.initial+self.final*now,intPart=Math[self.format.decMark?'floor':'round'](value).toString(),result='';if(self.format.zerofill){var amountOfZeros=(self.format.intDigits-intPart.length);if(amountOfZeros>0){intPart='0'.repeat(amountOfZeros)+intPart}}
269if(self.format.groupMark){if(self.format.indian){result+=intPart.replace(/(\d)(?=(\d\d)+\d$)/g,'$1'+self.format.groupMark)}else{result+=intPart.replace(/\B(?=(\d{3})+(?!\d))/g,self.format.groupMark)}}else{result+=intPart}
270if(self.format.decMark){var decimalPart=(value%1).toFixed(self.format.decDigits).substring(2);result+=self.format.decMark+decimalPart}
271if(self.format.accounting&&result.length>0&&result[0]==='-'){result='('+result.substring(1)+')'}
272if(self.isNoAnimation){self.$container.html(result)}else{const digitsOnly=result.replace(/\D/g,'');var digitIndex=digitsOnly.length-1;for(var slotIndex=self.slots.length-1;slotIndex>=0;slotIndex--){const slot=self.slots[slotIndex];if(slot.type!=='digit'){continue}
273const num=$ush.parseInt(digitsOnly[digitIndex]);const offset=num*slot.el.find('li').innerHeight();slot.el.find('ul').css('transform','translateY(-'+offset+'px)');$ush.timeout(()=>{slot.el.find('li:nth-child('+num+')').addClass('pre-active')},(self.$container.closest('.w-counter').data('duration')||2)*1000);digitIndex--}}},getFormat:function(initial,final){const self=this;var iFormat=self._getFormat(initial),fFormat=self._getFormat(final),format=$.extend({},iFormat,fFormat);if(format.groupMark==format.decMark){delete format.groupMark}
274return format},_getFormat:function(str){var marks=str.replace(/[0-9\(\)\-]+/g,''),format={};if(str.charAt(0)=='('){format.accounting=!0}
275if(/^0[0-9]/.test(str)){format.zerofill=!0}
276str=str.replace(/[\(\)\-]/g,'');if(marks.length!=0){if(marks.length>1){format.groupMark=marks.charAt(0);if(marks.charAt(0)!=marks.charAt(marks.length-1)){format.decMark=marks.charAt(marks.length-1)}
277if(str.split(format.groupMark).length>2&&str.split(format.groupMark)[1].length==2){format.indian=!0}}else{format[(((str.length-1)-str.indexOf(marks))==3&&marks!=='.')?'groupMark':'decMark']=marks}
278if(format.decMark){format.decDigits=str.length-str.indexOf(format.decMark)-1}}
279if(format.zerofill){format.intDigits=str.replace(/[^\d]+/g,'').length-(format.decDigits||0)}
280return format},initSlideAnimation:function(){const self=this;self.$container.empty();self.slots=[];const chars=self.finalString.split('');
280chars.forEach(char=>{if(/\d/.test(char)){const $mainDigit=$('<span class="w-counter-value-digit"></span>');const $digits=$('<div class="w-counter-digits"></div>');$digits.append('<ul></ul>');for(let i=0;i<10;i++){$('ul',$digits).append('<li>'+i+'</li>')}
281$mainDigit.append('<span>'+char+'</span>').append($digits);self.$container.append($mainDigit);self.slots.push({type:'digit',el:$digits})}else{const $char=$('<span class="w-counter-value-delimeter">'+char+'</span>');self.$container.append($char);self.slots.push({type:'char',el:$char})}})}};function usCounterText(container){const self=this;self.$container=$(container);self.initial=$ush.toString(self.$container.text());self.final=$ush.toString(self.$container.data('final'));self.partsStates=self.getStates(self.initial,self.final);self.len=1/(self.partsStates.length-1);self.curState=0}
282usCounterText.prototype={step:function(now){const self=this;const state=Math.round(Math.max(0,now/self.len));if(state==self.curState){return}
283self.$container.html(self.partsStates[state]);self.curState=state},getStates:function(initial,final){var min=Math.min,dist=[],i,j;for(i=0;i<=initial.length;i ++){dist[i]=[i]}
284for(j=1;j<=final.length;j ++){dist[0][j]=j;for(i=1;i<=initial.length;i ++){dist[i][j]=(initial[i-1]===final[j-1])?dist[i-1][j-1]:(Math.min(dist[i-1][j],dist[i][j-1],dist[i-1][j-1])+1)}}
285var states=[final];for(i=initial.length,j=final.length;i>0||j>0;i --,j --){var min=dist[i][j];if(i>0){min=Math.min(min,dist[i-1][j],(j>0)?dist[i-1][j-1]:min)}
286if(j>0){min=Math.min(min,dist[i][j-1])}
287if(min>=dist[i][j]){continue}
288if(min==dist[i][j-1]){states.unshift(states[0].substring(0,j-1)+states[0].substring(j));i ++}else if(min==dist[i-1][j-1]){states.unshift(states[0].substring(0,j-1)+initial[i-1]+states[0].substring(j))}else if(min==dist[i-1][j]){states.unshift(states[0].substring(0,j)+initial[i-1]+states[0].substring(j));j ++}}
289return states}};function usCounter(container){const self=this;self.$container=$(container);self.parts=[];self.duration=parseFloat(self.$container.data('duration')||2)*1000;$('.w-counter-value-part',self.$container).each((_,part)=>{const $part=$(part);if($part.hasClass('final')){$part.remove()}else{$part.removeClass('hidden')}});$('.w-counter-value-part',self.$container).each((_,part)=>{const $part=$(part);if($ush.toString($part.html())===$ush.toString($part.data('final'))){return}
290if($part.usMod('type')==='number'){self.parts.push(new usCounterNumber($part))}else{self.parts.push(new usCounterText($part))}});if(window.$us!==_undefined&&window.$us.scroll!==_undefined){$us.waypoints.add(self.$container,'15%',self.animate.bind(self))}else{self.animate()}
291self.$container.one('animation_start',()=>self.animate())}
292usCounter.prototype={animate:function(){const self=this;if(self.$container.hasClass('animation_none')){self.$container.css('w-counter',0).animate({'w-counter':1},{duration:self.duration,step:self.step.bind(self),})}else{self.step(1)}},step:function(now){const self=this;for(var i=0;i<self.parts.length;i++){self.parts[i].step(now)}}};$.fn.usCounter=function(options){return this.each(function(){$(this).data('usCounter',new usCounter(this,options))})};$(()=>$('.w-counter').usCounter())}(jQuery);(function($){"use strict";$.fn.wDropdown=function(){return this.each(function(){var $self=$(this),$current=$self.find('.w-dropdown-current'),$anchors=$self.find('a'),openEventName='click',closeEventName='mouseup mousewheel DOMMouseScroll touchstart focusout',justOpened=!1;if($self.hasClass('open_on_hover')){openEventName='mouseenter';closeEventName='mouseleave'}
293var closeList=function(){$self.removeClass('opened');$us.$window.off(closeEventName,closeListEvent)};var closeListEvent=function(e){if(closeEventName!='mouseleave'&&$self.has(e.target).length!==0){return}
294e.stopPropagation();e.preventDefault();closeList()};var openList=function(){$self.addClass('opened');if(closeEventName=='mouseleave'){$self.on(closeEventName,closeListEvent)}else{$us.$window.on(closeEventName,closeListEvent)}
295justOpened=!0;$ush.timeout(function(){justOpened=!1},500)};var openListEvent=function(e){if(openEventName=='click'&&$self.hasClass('opened')&&!justOpened){closeList();return}
296openList()};$current.on(openEventName,openListEvent);$self.on('click','a[href$="#"]',function(e){e.preventDefault()}).on('keydown',function(e){const keyCode=e.keyCode||e.which;if(keyCode==$ush.TAB_KEYCODE){var $target=$(e.target)||{},index=$anchors.index($target);if(e.shiftKey){if(index===0){closeList()}}else{if(index===$anchors.length-1){closeList()}}}
297if(keyCode==$ush.ESC_KEYCODE){closeList()}
298if((keyCode==$ush.SPACE_KEYCODE||(keyCode==$ush.ENTER_KEYCODE&&openEventName!='click'))&&$(e.target).closest($current).length){e.preventDefault();openListEvent(e)}})})};$(function(){$('.w-dropdown').wDropdown()})})(jQuery);!function($,_undefined){window.$us=window.$us||{};function usForm(container){const self=this;self.$form=$(container);if(!self.$form.hasClass('for_cform')){self.$form=$('.w-form.for_cform',container)}
299self.$formH=$('.w-form-h',self.$form);self.$dateFields=$('.w-form-row.for_date input',self.$form);self.$message=$('.w-form-message',self.$form);self.$reusableBlock=$('.w-form-reusable-block',self.$form);self.$submit=$('.w-btn',self.$form);self.opts={};self.isFileValid=!0;self.datepickerOpts={};var $formJson=$('.w-form-json',self.$form);if($formJson.is('[onclick]')){self.opts=$formJson[0].onclick()||{};if(!$us.usbPreview()){$formJson.remove()}}
300if(self.$dateFields.length){$(()=>self.initDateField())}
301$(['input[type=text]','input[type=email]','input[type=tel]','input[type=number]','input[type=date]','input[type=search]','input[type=url]','input[type=password]','textarea'].join(),self.$form).each((_,input)=>{const $input=$(input);const $row=$input.closest('.w-form-row');if($input.attr('type')==='hidden'){return}
302$row.toggleClass('not-empty',input.value!='');$input.on('input change',()=>{$row.toggleClass('not-empty',input.value!='')})});self._events={onChangeFile:self.onChangeFile.bind(self),onSubmit:self.onSubmit.bind(self),};self.$form.on('change','input[type=file]:visible',self._events.onChangeFile).on('submit',self._events.onSubmit)};$.extend(usForm.prototype,{getExtension:function(name){return $ush.toString(name).split('.').pop()},_validExtension:function(file,accepts){const self=this;if(!accepts){return!0}
303accepts=$ush.toString(accepts).split(',');for(var i in accepts){var accept=$ush.toString(accepts[i]).trim();if(!accept){continue}
304if(accept.indexOf('/')>-1){var acceptMatches=accept.split('/');if(file.type===accept||(acceptMatches[1]==='*'&&$ush.toString(file.type).indexOf(acceptMatches[0])===0)){return!0}}else if(self.getExtension(file.name)===accept.replace(/[^A-Za-z\d]+/g,'')){return!0}}
305return!1},_requiredValidation:function(){const self=this;var errors=0;$('[data-required=true]',self.$form).each(function(_,input){var $input=$(input),isEmpty=$input.is('[type=checkbox]')?!$input.is(':checked'):$input.val()=='',$row=$input.closest('.w-form-row');if($row.hasClass('for_checkboxes')||$row.hasClass('for_radio')){return!0}
306if(input.type==='file'){isEmpty=isEmpty||!self.isFileValid}
307if(input.type==='select-one'){isEmpty=$input.val()===$('option:first-child',$input).val()}
308$row.toggleClass('check_wrong',isEmpty);if(isEmpty){errors ++}});$('.for_checkboxes.required',self.$form).each((_,node)=>{var $input=$('input[type=checkbox]',node),isEmpty=!$input.is(':checked');$input.closest('.w-form-row').toggleClass('check_wrong',isEmpty);if(isEmpty){errors ++}});$('.for_radio.required',self.$form).each((_,node)=>{var $input,isEmpty;
308if(node.className.includes('pre_select_first_value')){$input=$('input[type=radio]:first',node);isEmpty=$input.is(':checked')}else{$input=$('input[type=radio]',node);isEmpty=!$input.is(':checked')}
309$input.closest('.w-form-row').toggleClass('check_wrong',isEmpty);if(isEmpty){errors ++}});return!errors},initDateField:function(){const self=this;$.each(self.$dateFields,(_,input)=>{const $input=$(input);self.datepickerOpts.dateFormat=$input.data('date-format');try{$input.datepicker(self.datepickerOpts);if($input.closest('.w-popup-wrap').length){$input.on('click',(e)=>{var $datepicker=$('#ui-datepicker-div'),datepickerHeight=$datepicker.outerHeight(),inputBounds=e.currentTarget.getBoundingClientRect();if(window.innerHeight-(inputBounds.bottom+datepickerHeight)>0){$datepicker.css({position:'fixed',left:inputBounds.left,top:(inputBounds.top+inputBounds.height)})}else{$datepicker.css({position:'fixed',left:inputBounds.left,top:(inputBounds.top-datepickerHeight),})}})}}catch(e){}})},onChangeFile:function(e){const self=this;var errMessage='',input=e.target,$input=$(input),accept=$input.attr('accept')||'',maxSize=$input.data('max_size')||$input.data('std')||0;if(input.files.length){for(var i in input.files){if(errMessage){break}
310var file=input.files[i];if(!(file instanceof File)){continue}
311if(!self._validExtension(file,accept)){errMessage=(self.opts.messages.err_extension||'').replace('%s',self.getExtension(file.name))}
312if(!errMessage&&file.size>(parseFloat(maxSize)*1048576)){errMessage=(self.opts.messages.err_size||'').replace('%s',maxSize)}}}
313$input.closest('.for_file').toggleClass('check_wrong',!(self.isFileValid=!errMessage)).find('.w-form-row-state').html(errMessage||self.opts.messages.err_empty)},onSubmit:function(e){const self=this;e.preventDefault();self.$message.usMod('type',!1).html('');if(self.$submit.hasClass('loading')||!self._requiredValidation()||!self.isFileValid){return}
314self.$submit.addClass('loading');const formData=window.FormData?new FormData(self.$form[0]):self.$form.serialize();if(self.$form.hasClass('validate_by_recaptcha')){grecaptcha.ready(()=>{try{grecaptcha.execute(self.opts.recaptcha_site_key,{action:'submit'}).then((token)=>{formData.append('g-recaptcha-response',token);sendAjaxRequest()})}catch(e){self.$message.usMod('type','error').html(self.opts.messages.err_recaptcha_keys);self.$submit.removeClass('loading')}})}else{sendAjaxRequest()}
315function sendAjaxRequest(){$.ajax({type:'POST',url:self.opts.ajaxurl,data:formData,cache:!1,processData:!1,contentType:!1,dataType:'json',success:function(res){$('.w-form-row.check_wrong',self.$form).removeClass('check_wrong');if(res.success){if(res.data.redirect_url){window.location.replace(res.data.redirect_url);return}
316if(res.data.popup_selector){const $popupTrigger=$(res.data.popup_selector).find('.w-popup-trigger');if($popupTrigger.length){$popupTrigger.trigger('click')}}
317if(res.data.message){self.$message.usMod('type','success').html(res.data.message)}
318if(self.$reusableBlock.length){self.$reusableBlock.slideDown(400)}
319if(self.opts.close_popup_after_sending){const $popupCloser=self.$form.closest('.w-popup-wrap').find('.w-popup-closer');if($popupCloser.length){$popupCloser.trigger('click')}}
320if(self.opts.hide_form_after_sending){const formPos=self.$form.offset().top;const scrollTop=$us.$window.scrollTop();if(!$ush.isNodeInViewport(self.$form[0])||formPos>=(scrollTop+window.innerHeight)||scrollTop>=formPos){$us.$htmlBody.animate({scrollTop:formPos-$us.header.getInitHeight()},400)}
321self.$formH.slideUp(400)}
322$('.w-form-row.not-empty',self.$form).removeClass('not-empty');$('input[type=text], input[type=email], textarea',self.$form).val('');self.$form.trigger('usCformSuccess',res).get(0).reset()}else{if($.isPlainObject(res.data)){for(const fieldName in res.data){if(fieldName==='empty_message'){$resultField.usMod('type','error');continue}
323if(fieldName==='reCAPTCHA'&&res.data[fieldName].error_message){self.$message.usMod('type','error').html(res.data.reCAPTCHA.error_message)}
324$(`[name="${fieldName}"]`,self.$form).closest('.w-form-row').addClass('check_wrong').find('.w-form-row-state').html(res.data[fieldName].error_message||'')}}else{self.$message.usMod('type','error').html(res.data)}}},complete:()=>{self.$submit.removeClass('loading')}})}}});$.fn.usForm=function(){return this.each(function(){$(this).data('usForm',new usForm(this))})};$(()=>$('.w-form.for_cform').usForm())}(jQuery);!function($){"use strict";$us.WFlipBox=function(container){this.$container=$(container);this.$front=this.$container.find('.w-flipbox-front');this.$frontH=this.$container.find('.w-flipbox-front-h');this.$back=this.$container.find('.w-flipbox-back');this.$backH=this.$container.find('.w-flipbox-back-h');this.$xFlank=this.$container.find('.w-flipbox-xflank');this.$yFlank=this.$container.find('.w-flipbox-yflank');this.$btn=this.$container.find('.w-btn');var isWebkit='WebkitAppearance' in document.documentElement.style;if(isWebkit&&this.$container.usMod('animation')==='cubeflip'&&this.$btn.length){this.$container.usMod('animation','cubetilt')}
325var animation=this.$container.usMod('animation'),direction=this.$container.usMod('direction');this.forceSquare=(animation=='cubeflip'&&['ne','se','sw','nw'].indexOf(direction)!=-1);this.autoSize=(this.$front[0].style.height==''&&!this.forceSquare);this.centerContent=(this.$container.usMod('valign')=='center');if(this._events===undefined){this._events={}}
326$.extend(this._events,{resize:this.resize.bind(this)});if(this.centerContent||this.forceSquare||this.autoSize){$us.$window.bind('resize load',this._events.resize);this.resize()}
327this.makeHoverable('.w-btn');$ush.timeout(function(){this.$back.css('display','');this.$yFlank.css('display','');this.$xFlank.css('display','');this.resize()}.bind(this),250);$us.$canvas.on('contentChange',this._events.resize)};$us.WFlipBox.prototype={resize:function(){var width=this.$container.width(),height;if(this.centerContent||this.autoSize||this.forceSquare){this.padding=parseInt(this.$front.css('padding-top'))}
328if(this.autoSize||this.centerContent){var frontContentHeight=this.$frontH.height(),backContentHeight=this.$backH.height()}
329if(this.forceSquare||this.autoSize){height=this.forceSquare?width:(Math.max(frontContentHeight,backContentHeight)+2*this.padding);this.$front.css('height',height+'px')}else{height=this.$container.height()}
330if(this.centerContent){this.$front.css('padding-top',Math.max(this.padding,(height-frontContentHeight)/2));this.$back.css('padding-top',Math.max(this.padding,(height-backContentHeight)/2))}},makeHoverable:function(exclude){if(this._events===undefined){this._events={}}
331if(jQuery.isMobile){this._events.touchHoverStart=function(){this.$container.toggleClass('hover')}.bind(this);this.$container.on('touchstart.noPreventDefault',this._events.touchHoverStart);if(exclude){this._events.touchHoverPrevent=function(e){e.stopPropagation()};this.$container.find(exclude).on('touchstart.noPreventDefault',this._events.touchHoverPrevent)}}else{this._mouseInside=!1;this._focused=!1;$.extend(this._events,{mouseHoverStart:function(){this.$container.addClass('hover');this._mouseInside=!0}.bind(this),mouseHoverEnd:function(){if(!this._focused){this.$container.removeClass('hover')}
332this._mouseInside=!1}.bind(this),focus:function(){this.$container.addClass('hover');this._focused=!0}.bind(this),blur:function(){if(!this._mouseInside){this.$container.removeClass('hover')}
333this._focused=!1}.bind(this)});this.$container.on('mouseenter',this._events.mouseHoverStart);this.$container.on('mouseleave',this._events.mouseHoverEnd);this.$focusable=this.$container.find('a').addBack('a');this.$focusable.on('focus',this._events.focus);this.$focusable.on('blur',this._events.blur)}}};$.fn.wFlipBox=function(options){return this.each(function(){$(this).data('wFlipBox',new $us.WFlipBox(this,options))})};$(function(){$('.w-flipbox').wFlipBox()})}(jQuery);(function($,_undefined){"use strict";function usGallery(container){const self=this;self.numPage=0;self.ajaxData={};self.$container=$(container);self.$list=$('.w-gallery-list',container);self.$itemsImg=$('.w-gallery-item-img',container);self.$loadmore=$('.w-gallery-loadmore',container);self.$jsonContainer=$('.w-gallery-json',container);self._events={showNumberOfHiddenImages:$ush.debounce(self.showNumberOfHiddenImages.bind(self),5),getItems:self.getItems.bind(self),usbReloadIsotopeLayout:self._usbReloadIsotopeLayout.bind(self),};if(self.$jsonContainer.length&&!$us.usbPreview()){self.ajaxData=self.$jsonContainer[0].onclick()||{}}
334if(self.$container.hasClass('type_masonry')){self.initMasonry()}
335if(self.$container.hasClass('action_popup_image')){self.initMagnificPopup()}
336self.$container.on('usbReloadIsotopeLayout',self._events.usbReloadIsotopeLayout);$us.$window.on('resize',self._events.showNumberOfHiddenImages);self.showNumberOfHiddenImages();if(((self.ajaxData.template_vars||{}).ids||[]).length===0){return}
337$('button',self.$loadmore).on('click',self._events.getItems);if(self.ajaxData.template_vars.pagination=='load_on_scroll'){$us.wayp
337oints.add(self.$loadmore,'-70%',self._events.getItems)}}
338usGallery.prototype={initMagnificPopup:function(){$('a.w-gallery-item-link',this.$container).magnificPopup({type:'image',gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1],tPrev:$us.langOptions.magnificPopup.tPrev,tNext:$us.langOptions.magnificPopup.tNext,tCounter:$us.langOptions.magnificPopup.tCounter},removalDelay:300,mainClass:'mfp-fade',fixedContentPos:!0})},initMasonry:function(){const self=this;const isotopeOptions={itemSelector:'.w-gallery-item:not(.hidden)',layoutMode:'masonry',isOriginLeft:!$ush.isRtl(),};if(self.$list.parents('.w-tabs-section-content-h').length){isotopeOptions.transitionDuration=0}
339$('>*:not(.hidden)',self.$list).imagesLoaded(()=>{self.$list.isotope(isotopeOptions);self.$list.isotope()});$us.$canvas.on('contentChange',()=>{$('>*:not(.hidden)',self.$list).imagesLoaded(()=>{self.$list.isotope()})})},showNumberOfHiddenImages:function(){const self=this;const hiddenImagesNumber=self.$itemsImg.filter(':hidden').length;self.$itemsImg.removeAttr('data-hidden-images-number');if(hiddenImagesNumber){self.$itemsImg.filter(':visible:last').attr('data-hidden-images-number',hiddenImagesNumber)}},_usbReloadIsotopeLayout:function(){const self=this;if(self.$container.hasClass('with_isotope')){self.$list.isotope('layout')}},getItems:function(){const self=this;if(self.$loadmore.hasClass('hidden')){return}
340if(self.numPage===self.ajaxData.template_vars.max_num_pages){self.$loadmore.addClass('hidden');return}
341self.numPage+=1;self.$loadmore.addClass('loading');$.ajax({type:'post',url:$us.ajaxUrl,data:$.extend({},self.ajaxData,{template_vars:JSON.stringify(self.ajaxData.template_vars),num_page:self.numPage,}),success:(html)=>{var $result=$(html),$items=$('.w-gallery-list > *',$result);if(!$items.length||self.numPage===self.ajaxData.template_vars.max_num_pages-1){self.$loadmore.addClass('hidden')}
342self.$list.append($items);if(self.$container.hasClass('action_popup_image')){self.initMagnificPopup()}
343if(self.$container.hasClass('type_masonry')){var isotope=self.$list.data('isotope');if(isotope){isotope.insert($items);isotope.reloadItems()}}
344if(self.ajaxData.template_vars.pagination=='load_on_scroll'){$us.waypoints.add(self.$loadmore,'-70%',self._events.getItems)}
345self.$loadmore.removeClass('loading')},error:()=>{self.$loadmore.removeClass('loading')}})},};$.fn.usGallery=function(){return this.each(function(){$(this).data('usGallery',new usGallery(this))})};$(()=>$('.w-gallery').usGallery());$us.$document.on('usPostList.itemsLoaded usGrid.itemsLoaded',(_,$items)=>{$('.w-gallery',$items).usGallery()})})(jQuery);!function($,undefined){"use strict";var _document=document,_window=window,_null=null;_window.$us=_window.$us||{};const _REGEXP_EXTRACT_COORDINATES_=/^(-?[\d\.]+),(-?[\d\.]+)$/;_window.usGmapLoaded=function(){$us.$document.trigger('usGmapLoaded')};$us._wGmapsGeocodes={_maxAttempts:5,_tasks:{},add:function(key,callback){var self=this;
345self._tasks[''+key]={counter:0,running:!1,callback:callback,};return self.run.bind(self,key)},remove:function(key){var self=this;if(self._tasks[key]){delete self._tasks[key]}},run:function(key){var self=this,task=self._tasks[key];if($ush.isUndefined(task)||task.running){return}
346if(task.counter>=self._maxAttempts){self.remove(key)}
347if(typeof task.callback==='function'){task.counter++;task.running=!0;task.callback(function(){task.running=!1})}}};$us.wGmaps=function(container,options){var self=this;self.$container=$(container);if(self.$container.data('_inited')){return}
348self.$container.data('_inited',1);self._mapInstance=_null;self.cookieName=self.$container.data('cookie-name');self.options=options||{};self.style={};self.uniqid=$ush.uniqid();var attributeName='data-api-key';if(self.$container.is('['+attributeName+']')){self._apiKey=self.$container.attr(attributeName);self.$container.removeAttr(attributeName)}
349self._events={confirm:self._confirm.bind(self),redraw:self._redraw.bind(self),init:self._init.bind(self),};$us.$document.on('usGmapLoaded',self._events.init);if(self.cookieName){self.$container.on('click','.action_confirm_load',self._events.confirm);return}
350if(!self.cookieName||$ush.getCookie(self.cookieName)){self[self.isGmapLoaded()?'_init':'_initAftetGmapLoaded']()}};$.extend($us.wGmaps.prototype,{isGmapLoaded:function(){return!!(_window.google||{})['maps']},_confirm:function(){var self=this;if($('input[name^='+self.cookieName+']:checked',self.$container).length){$ush.setCookie(self.cookieName,1,365)}
351self.$container.html($ush.base64Decode(''+$('script[type="text/template"]',self.$container).text())).removeAttr('data-cookie-name');self[self.isGmapLoaded()?'_init':'_initAftetGmapLoaded']()},_init:function(){var self=this;if(self.$container.is('[data-cookie-name]')||!self.isGmapLoaded()){return}
352var $mapJson=$('.w-map-json',self.$container);if($mapJson.is('[onclick]')){$.extend(self.options,$mapJson[0].onclick()||{});$mapJson.remove()}
353var $styleJson=$('.w-map-style-json',self.$container);if($styleJson.is('[onclick]')){self.style=$styleJson[0].onclick()||[];$styleJson.remove()}
354var mapOptions={el:'#'+self.$container.attr('id'),lat:0,lng:0,mapTypeId:google.maps.MapTypeId[self.options.maptype],type:self.options.type,zoom:self.options.zoom};if(self.options.hideControls){mapOptions.disableDefaultUI=!0}
355if(self.options.disableZoom){mapOptions.scrollwheel=!1}
356if(self.options.disableDragging&&(!$us.$html.hasClass('no-touch'))){mapOptions.draggable=!1}
357self._mapInstance=new GMaps(mapOptions);if(self.style!=_null&&Array.isArray(self.style)){self._mapInstance.map.setOptions({styles:self.style})}
358var shouldRunGeoCode,matches=$ush.removeSpaces(''+self.options.address).match(_REGEXP_EXTRACT_COORDINATES_);if(matches){self.options.latitude=matches[1];self.options.longitude=matches[2];$ush.timeout(function(){self._mapInstance.setCenter(self.options.latitude,self.options.longitude)},1)}else{$us._wGmapsGeocodes.add(self.uniqid,function(stopGeocodeTask){self._mapGeoCode(self.uniqid,self.options.address,function(latitude,longitude){self.options.latitude=latitude;self.options.longitude=longitude;self._mapInstance.setCenter(latitude,longitude);if(typeof stopGeocodeTask==='function'){stopGeocodeTask()}},self.uniqid)})()}
359$.each(self.options.markers,function(i,_){var markerOptions={};if(self.options.icon!=_null||self.options.markers[i].marker_img!=_null){var url,width,height;if(self.options.markers[i].marker_img!=_null){url=self.options.markers[i].marker_img[0];width=self.options.markers[i].marker_size[0];height=self.options.markers[i].marker_size[1]}else{url=self.options.icon.url;width=self.options.icon.size[0];height=self.options.icon.size[1]}
360var size=new google.maps.Size($ush.parseInt(width),$ush.parseInt(height));markerOptions.icon={url:url,size:size,scaledSize:size,}}
361if(self.options.markers[i]!=_null){var matches=$ush.removeSpaces(self.options.markers[i].address).match(_REGEXP_EXTRACT_COORDINATES_);if(matches){markerOptions.lat=matches[1];markerOptions.lng=matches[2];if(self.options.markers[i].html){markerOptions.infoWindow={content:self.options.markers[i].html}}
362var marker=self._mapInstance.addMarker(markerOptions);if(self.options.markers[i].infowindow){marker.infoWindow.open(self._mapInstance.map,marker)}}else{var markerGeocodeId=self.uniqid+':'+i;$us._wGmapsGeocodes.add(markerGeocodeId,function(stopGeocodeTask){self._mapGeoCode(markerGeocodeId,self.options.markers[i].address,function(latitude,longitude){markerOptions.lat=latitude;markerOptions.lng=longitude;if(self.options.markers[i].html){markerOptions.infoWindow={content:self.options.markers[i].html}}
363var marker=self._mapInstance.addMarker(markerOptions);if(self.options.markers[i].infowindow){marker.infoWindow.open($ush.clone(self._mapInstance.map,{shouldFocus:!1}),marker)}
364if(typeof stopGeocodeTask==='function'){stopGeocodeTask()}})})()}}});$us.$canvas.on('contentChange',self._events.redraw);$us.$window.on('load',self._events.redraw)},_mapGeoCode:function(uniqid,address,callback){var self=this;GMaps.geocode({address:address,callback:function(results,status){if(status=='OK'){var location=results[0].geometry.location;if(typeof callback==='function'){callback.call(_null,location.lat(),location.lng(),results)}
365$us._wGmapsGeocodes.remove(uniqid)}else if(status=='OVER_QUERY_LIMIT'){$ush.timeout($us._wGmapsGeocodes.bind(_null,uniqid),2000)}}})},_redraw:function(){var self=this;if(self.$container.is(':hidden')){return}
366self.$container.css({height:'',width:''});self._mapInstance.refresh();var latitude=$ush.parseFloat(self.options.latitude),longitude=$ush.parseFloat(self.options.longitude);if(latitude&&longitude){self._mapInstance.setCenter(latitude,longitude)}},_initAftetGmapLoaded:function(){var $script=$('script#us-google-maps:first');if(!$script.is('[data-src]')){return}
367$script.attr('src',(''+$script.data('src')).replace('&#038;','&')).removeAttr('data-src')}});$.fn.wGmaps=function(options){options=options||{};return this.each(function(){this._wGmaps=new $us.wGmaps(this,$ush.clone(options))})};$(function(){$('.w-map.provider_google').wGmaps()})}(jQuery);(function($,_undefined){"use strict";const _window=window;$us.WGrid=function(container,options){const self=this;self.$container=$(container);self.$filters=$('.g-filters-item',self.$container);
367self.$list=$('.w-grid-list',self.$container);self.$loadmore=$('.g-loadmore',self.$container);self.$pagination=$('> .pagination',self.$container);self.$preloader=$('.w-grid-preloader',self.$container);self.$style=$('> style:first',self.$container);self.loading=!1;self.changeUpdateState=!1;self.gridFilter=null;self.curFilterTaxonomy='';self.paginationType=self.$pagination.length?'regular':(self.$loadmore.length?'ajax':'none');self.filterTaxonomyName=self.$list.data('filter_taxonomy_name')?self.$list.data('filter_taxonomy_name'):'category';if(self.$container.data('gridInit')==1){return}
368self.$container.data('gridInit',1);self._events={updateState:self._updateState.bind(self),updateOrderBy:self._updateOrderBy.bind(self),initMagnificPopup:self._initMagnificPopup.bind(self),usbReloadIsotopeLayout:self._usbReloadIsotopeLayout.bind(self),scrollToGrid:$ush.debounce(self.scrollToGrid.bind(self),10),addNextPage:self.addNextPage.bind(self),};var $jsonContainer=$('.w-grid-json',self.$container);if($jsonContainer.length&&$jsonContainer.is('[onclick]')){self.ajaxData=$jsonContainer[0].onclick()||{};if(!$us.usbPreview()){$jsonContainer.remove()}}else{self.ajaxData={};self.ajaxUrl=''}
369if(self.$container.hasClass('open_items_in_popup')){new $us.usPopup().popupPost(self.$container)}
370if(self.paginationType!='none'||self.$filters.length){if(self.ajaxData==_undefined){return}
371self.templateVars=self.ajaxData.template_vars||{};if(self.filterTaxonomyName){self.initialFilterTaxonomy=self.$list.data('filter_default_taxonomies')?self.$list.data('filter_default_taxonomies').toString().split(','):'';self.curFilterTaxonomy=self.initialFilterTaxonomy}
372self.curPage=self.ajaxData.current_page||1;self.infiniteScroll=self.ajaxData.infinite_scroll||0}
373if(self.$container.hasClass('with_isotope')){self.$list.imagesLoaded(()=>{var smallestItemSelector,isotopeOptions={itemSelector:'.w-grid-item',layoutMode:(self.$container.hasClass('isotope_fit_rows'))?'fitRows':'masonry',isOriginLeft:!$('.l-body').hasClass('rtl'),transitionDuration:0};if(self.$list.find('.size_1x1').length){smallestItemSelector='.size_1x1'}else if(self.$list.find('.size_1x2').length){smallestItemSelector='.size_1x2'}else if(self.$list.find('.size_2x1').length){smallestItemSelector='.size_2x1'}else if(self.$list.find('.size_2x2').length){smallestItemSelector='.size_2x2'}
374if(smallestItemSelector){smallestItemSelector=smallestItemSelector||'.w-grid-item';isotopeOptions.masonry={columnWidth:smallestItemSelector}}
375self.$list.on('layoutComplete',()=>{if(_window.USAnimate){$('.w-grid-item.off_autostart',self.$list).removeClass('off_autostart');new USAnimate(self.$list)}
376$us.$window.trigger('scroll.waypoints')});self.$list.isotope(isotopeOptions);if(self.paginationType=='ajax'){self.initAjaxPagination()}
377$us.$canvas.on('contentChange',()=>{self.$list.imagesLoaded(()=>{self.$list.isotope('layout')})})});self.$container.on('usbReloadIsotopeLayout',self._events.usbReloadIsotopeLayout)}else if(self.paginationType=='ajax'){self.initAjaxPagination()}
378self.$filters.each((index,filter)=>{var $filter=$(filter),taxonomy=$filter.data('taxonomy');$filter.on('click',()=>{if(taxonomy!=self.curFilterTaxonomy){if(self.loading){return}
379self.setState(1,taxonomy);self.$filters.removeClass('active');$filter.addClass('active')}})});if(self.$container.closest('.l-main').length){$us.$body.on('us_grid.updateState',self._events.updateState).on('us_grid.updateOrderBy',self._events.updateOrderBy)}
380self.$container.on('scrollToGrid',self._events.scrollToGrid);self.$list.on('click','[ref=magnificPopup]',self._events.initMagnificPopup);if($('[ref=magnificPopupList]:first',self.$list).length){self.initMagnificPopupList()}};$us.WGrid.prototype={_updateState:function(e,queryString,page,gridFilter){const self=this;var $container=self.$container;if(!$container.is('[data-filterable="true"]')||!$container.hasClass('used_by_grid_filter')||(!$container.is(':visible')&&!$container.hasClass('hidden'))){return}
381page=page||1;self.changeUpdateState=!0;self.gridFilter=gridFilter;if(self.ajaxData===_undefined){self.ajaxData={}}
382if(!self.hasOwnProperty('templateVars')){self.templateVars=self.ajaxData.template_vars||{query_args:{}}}
383self.templateVars.us_grid_filter_query_string=queryString;if(self.templateVars.query_args!==!1){self.templateVars.query_args.paged=page}
384self.templateVars.filters_args=gridFilter.filtersArgs||{};self.setState(page);if(self.paginationType==='regular'&&/page(=|\/)/.test(location.href)){var url=location.href.replace(/(page(=|\/))(\d+)(\/?)/,'$1'+page+'$2');if(history.replaceState){history.replaceState(document.title,document.title,url)}}},_updateOrderBy:function(e,orderby,page,gridOrder){const self=this;if(!self.$container.is('[data-filterable="true"]')||!self.$container.hasClass('used_by_grid_order')){return}
385page=page||1;self.changeUpdateState=!0;if(!self.hasOwnProperty('templateVars')){self.templateVars=self.ajaxData.template_vars||{query_args:{}}}
386if(self.templateVars.query_args!==!1){self.templateVars.query_args.paged=page}
387self.templateVars.grid_orderby=orderby;self.setState(page)},_usbReloadIsotopeLayout:function(){const self=this;if(self.$container.hasClass('with_isotope')){self.$list.isotope('layout')}},initAjaxPagination:function(){const self=this;self.$loadmore.on('click',self._events.addNextPage);
387if(self.infiniteScroll){$us.waypoints.add(self.$loadmore,'-70%',self._events.addNextPage)}},addNextPage:function(){const self=this;if($ush.isUndefined(self.xhr)&&!self.loading&&self.curPage<self.ajaxData.max_num_pages){self.setState(self.curPage+1)}},setState:function(page,taxonomy){const self=this;if(self.loading&&!self.changeUpdateState){return}
388if(page!==1&&self.paginationType=='ajax'&&self.none!==_undefined&&self.none==!0){return}
389self.none=!1;self.loading=!0;self.$container.next('.w-grid-none').addClass('hidden');if(self.$filters.length&&!self.changeUpdateState){taxonomy=taxonomy||self.curFilterTaxonomy;if(taxonomy=='*'){taxonomy=self.initialFilterTaxonomy}
390if(taxonomy!=''){var newTaxArgs={'taxonomy':self.filterTaxonomyName,'field':'slug','terms':taxonomy},taxQueryFound=!1;if(self.templateVars.query_args.tax_query==_undefined){self.templateVars.query_args.tax_query=[]}else{$.each(self.templateVars.query_args.tax_query,(index,taxArgs)=>{if(taxArgs!=null&&taxArgs.taxonomy==self.filterTaxonomyName){self.templateVars.query_args.tax_query[index]=newTaxArgs;taxQueryFound=!0;return!1}})}
391if(!taxQueryFound){self.templateVars.query_args.tax_query.push(newTaxArgs)}}else if(self.templateVars.query_args.tax_query!=_undefined){$.each(self.templateVars.query_args.tax_query,(index,taxArgs)=>{if(taxArgs!=null&&taxArgs.taxonomy==self.filterTaxonomyName){self.templateVars.query_args.tax_query[index]=null;return!1}})}}
392if(self.templateVars.query_args!==!1){self.templateVars.query_args.paged=page}
393if(self.paginationType=='ajax'){if(page==1){self.$loadmore.addClass('hidden')}else{self.$container.addClass('loading_items')}
394if(!self.infiniteScroll){self.prevScrollTop=$us.$window.scrollTop()}}
395if(self.paginationType!='ajax'||page==1){self.$preloader.addClass('active');if(self.$list.data('isotope')){self.$list.isotope('remove',self.$container.find('.w-grid-item'));self.$list.isotope('layout')}else{self.$container.find('.w-grid-item').remove()}}
396self.ajaxData.template_vars=JSON.stringify(self.templateVars);var isotope=self.$list.data('isotope');if(isotope&&page==1){self.$list.html('');isotope.remove(isotope.items);isotope.reloadItems()}
397if(self.xhr!==_undefined){self.xhr.abort()}
398self.xhr=$.ajax({type:'post',url:$us.ajaxUrl,data:self.ajaxData,cache:!1,beforeSend:function(){self.$container.removeClass('hidden')},success:function(html){var $result=$(html),$container=$('.w-grid-list',$result).first(),$pagination=$('.pagination > *',$result),$items=$container.children(),smallestItemSelector;self.$container.toggleClass('hidden',!$items.length);$container.imagesLoaded(()=>{self.beforeAppendItems($items);$items.appendTo(self.$list);$container.html('');var $sliders=$items.find('.w-slider');if(isotope){isotope.insert($items);isotope.reloadItems()}
399if($sliders.length){$sliders.each((index,slider)=>{$(slider).usImageSlider().find('.royalSlider').data('royalSlider').ev.on('rsAfterInit',()=>{if(isotope){self.$list.isotope('layout')}})})}
400if(isotope){if(self.$list.find('.size_1x1').length){smallestItemSelector='.size_1x1'}else if(self.$list.find('.size_1x2').length){smallestItemSelector='.size_1x2'}else if(self.$list.find('.size_2x1').length){smallestItemSelector='.size_2x1'}else if(self.$list.find('.size_2x2').length){smallestItemSelector='.size_2x2'}
401if(isotope.options.masonry){isotope.options.masonry.columnWidth=smallestItemSelector||'.w-grid-item'}
402self.$list.isotope('layout');self.$list.trigger('layoutComplete')}
403if(self.paginationType=='ajax'){if(page==1){var $jsonContainer=$result.find('.w-grid-json');if($jsonContainer.length){var ajaxData=$jsonContainer[0].onclick()||{};self.ajaxData.max_num_pages=ajaxData.max_num_pages||self.ajaxData.max_num_pages}else{self.ajaxData.max_num_pages=1}}
404if(self.templateVars.query_args.paged>=self.ajaxData.max_num_pages||!$items.length){self.$loadmore.addClass('hidden')}else{self.$loadmore.removeClass('hidden');self.$container.removeClass('loading_items')}
405if(self.infiniteScroll){$us.waypoints.add(self.$loadmore,'-70%',self._events.addNextPage)}else if(Math.round(self.prevScrollTop)!=Math.round($us.$window.scrollTop())){$us.$window.scrollTop(self.prevScrollTop)}}else if(self.paginationType==='regular'&&self.changeUpdateState){$('a[href]',$pagination).each((_,item)=>
405{var $item=$(item),pathname=location.pathname.replace(/((\/page.*)?)\/$/,'');$item.attr('href',pathname+$item.attr('href'))});self.$pagination.html($pagination)}
406var $result_none=$result.next('.w-grid-none');if(self.changeUpdateState&&$result_none.length){var $none=self.$container.next('.w-grid-none');if($none.length){$none.removeClass('hidden')}else{self.$container.after($result_none)}
407var $nextGrid=$('.w-grid:first',self.$container.next('.w-grid-none'));if($nextGrid.length){$nextGrid.wGrid()}
408self.none=!0}
409if(self.changeUpdateState&&self.gridFilter){var $jsonData=$result.filter('.w-grid-filter-json-data:first');if($jsonData.length){self.gridFilter.trigger('us_grid_filter.update-items-amount',$jsonData[0].onclick()||{})}
410$jsonData.remove()}
411var customStyles=$('style#grid-post-content-css',$result).html()||'';if(customStyles){if(!self.$style.length){self.$style=$('<style></style>');self.$container.append(self.$style)}
412self.$style.text(self.$style.text()+customStyles)}
413$us.$canvas.resize();self.$preloader.removeClass('active');if(_window.USAnimate&&self.$container.hasClass('with_css_animation')){new USAnimate(self.$container)}
414$ush.timeout(()=>{$us.$document.trigger('usGrid.itemsLoaded',[$items])},1)});self.$container.trigger('scrollToGrid');self.loading=!1;self.$container.trigger('USGridItemsLoaded')},complete:()=>{self.$container.removeClass('loading_items');delete self.xhr},});self.curPage=page;self.curFilterTaxonomy=taxonomy},scrollToGrid:function(){const self=this;if(self.curPage!==1){return}
415var $container=self.$container;if($container.hasClass('hidden')){$container=$container.next()}
416const gridPos=$ush.parseInt($container.offset().top);if(!gridPos){return}
417const scrollTop=$us.$window.scrollTop();if(scrollTop>=gridPos||gridPos>=(scrollTop+_window.innerHeight)){$us.$htmlBody.stop(!0,!1).animate({scrollTop:(gridPos-$us.header.getCurrentHeight())},500)}},beforeAppendItems:function($items){if($('[data-content-height]',$items).length){var handle=$ush.timeout(()=>{$('[data-content-height]',$items).usCollapsibleContent();$ush.clearTimeout(handle)},1)}},};$.extend($us.WGrid.prototype,{_initMagnificPopup:function(e){e.stopPropagation();e.preventDefault();var $target=$(e.currentTarget);if($target.data('magnificPopup')===_undefined){$target.magnificPopup({type:'image',mainClass:'mfp-fade'});$target.trigger('click')}},initMagnificPopupList:function(){const self=this;const globalOpts=$us.langOptions.magnificPopup;self.$list.magnificPopup({type:'image',delegate:'a[ref=magnificPopupList]:visible',gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1],tPrev:globalOpts.tPrev,tNext:globalOpts.tNext,tCounter:globalOpts.tCounter},image:{titleSrc:'aria-label'},removalDelay:300,mainClass:'mfp-fade',fixedContentPos:!0,})},})
418$.fn.wGrid=function(options){return this.each(function(){$(this).data('wGrid',new $us.WGrid(this,options))})};$(()=>$('.w-grid:not(.us_post_list,.us_product_list,.type_carousel)').wGrid())})(jQuery);!function($,_undefined){"use strict";const _document=document;const abs=Math.abs;function usGridFilter(container,options){const self=this;self.filtersArgs={};self.options={filterPrefix:'filter',gridNotFoundMessage:!1,gridPaginationSelector:'.w-grid-pagination',gridSelector:'.w-grid[data-filterable="true"]:first',layout:'hor',mobileWidth:600,use_grid:'first'};self.$container=$(container);self.$filtersItem=$('.w-filter-item',container);if(self.$container.is('[onclick]')){$.extend(self.options,self.$container[0].onclick()||{});if(!$us.usbPreview()){self.$container.removeAttr('onclick')}}
419if(self.options.use_grid!=='first'){const $use_grid=$(self.options.use_grid);if($use_grid.length&&$use_grid.hasClass('w-grid')){self.$grid=$use_grid}}
420if($ush.isUndefined(self.$grid)){self.$grid=$('.l-main '+self.options.gridSelector,$us.$canvas)}
421var $filtersArgs=$('.w-filter-json-filters-args:first',self.$container);if($filtersArgs.length){self.filtersArgs=$filtersArgs[0].onclick()||{};$filtersArgs.remove()}
422if(!self.$grid.length&&self.options.gridNotFoundMessage){self.$container.prepend('<div class="w-filter-message">'+self.options.gridNotFoundMessage+'</div>')}
423self._events={changeFilter:self.changeFilter.bind(self),closeMobileFilters:self._closeMobileFilters.bind(self),openM
423obileFilters:self._openMobileFilters.bind(self),hideItemDropdown:self._hideItemDropdown.bind(self),loadPageNumber:self._loadPageNumber.bind(self),resetItemValues:self._resetItemValues.bind(self),resize:self._resize.bind(self),toggleItemSection:self._toggleItemSection.bind(self),showItemDropdown:self._showItemDropdown.bind(self),changeItemAtts:self._changeItemAtts.bind(self),updateItemsAmount:self._updateItemsAmount.bind(self),woocommerceOrdering:self._woocommerceOrdering.bind(self),navUsingKeyPress:self.navUsingKeyPress.bind(self),};self.$grid.addClass('used_by_grid_filter');self.$container.on('click','.w-filter-opener',self._events.openMobileFilters).on('click','.w-filter-list-closer, .w-filter-list-panel > .w-btn',self._events.closeMobileFilters);self.$filtersItem.on('change','input, select',self._events.changeFilter).on('click','.w-filter-item-reset',self._events.resetItemValues);$(self.options.gridPaginationSelector,self.$grid).on('click','.page-numbers',self._events.loadPageNumber);$us.$window.on('resize load',$ush.debounce(self._events.resize,10));self.on('changeItemAtts',self._events.changeItemAtts);if(self.$container.hasClass('drop_on_click')){self.$filtersItem.on('click','.w-filter-item-title',self._events.showItemDropdown);$(_document).on('mouseup',self._events.hideItemDropdown)}
424$us.$document.on('keydown',self._events.navUsingKeyPress);$('form.woocommerce-ordering',$us.$canvas).off('change','select.orderby').on('change','select.orderby',self._events.woocommerceOrdering);$('.ui-slider',self.$container).each(function(_,node){var $node=$(node),$parent=$node.parent(),valueFormat=function(value){value=$ush.toString(value);if(options.priceFormat){var priceFormat=$ush.toPlainObject(options.priceFormat),decimals=$ush.parseInt(abs(priceFormat.decimals));if(decimals){value=$ush.toString($ush.parseFloat(value).toFixed(decimals)).replace(/^(\d+)(\.)(\d+)$/,'$1'+priceFormat.decimal_separator+'$3')}
425value=value.replace(/\B(?=(\d{3})+(?!\d))/g,priceFormat.thousand_separator)}
426return $ush.toString(options.unitFormat).replace('%d',value)},showRangeResult=function(e,ui){$('.for_min_value',$parent).html(valueFormat(ui.values[0]));$('.for_max_value',$parent).html(valueFormat(ui.values[1]))};var options=$.extend(!0,{slider:{animate:!0,max:100,min:0,range:!0,step:1,values:[0,100],},unitFormat:'%d',priceFormat:null,},node.onclick()||{});$node.data('defautlValues',[options.slider.min,options.slider.max].join('-')).removeAttr('onclick').slider($.extend(options.slider,{slide:showRangeResult,change:$ush.debounce(function(e,ui){showRangeResult(e,ui);$('input[type=hidden]',$parent).val(ui.values.join('-')).trigger('change')}),}))});self.checkItemValues();self.$container.toggleClass('active',self.$filtersItem.hasClass('has_value'));self.on('us_grid_filter.update-items-amount',self._events.updateItemsAmount);self._events.resize();if(self.$container.hasClass('togglable')){self.$filtersItem.on('click','.w-filter-item-title',self._events.toggleItemSection)}
427self.setupTabindex()};$.extend(usGridFilter.prototype,$us.mixins.Events,{isMobile:function(){return $ush.parseInt($us.$window.width())<=$ush.parseInt(this.options.mobileWidth)},changeFilter:function(e){const self=this;const $target=$(e.target);const $item=$target.closest('.w-filter-item');const type=$ush.toString($item.usMod('type'));$item.removeClass('loading');self.$filtersItem.not($item).addClass('loading');if(['radio','checkbox'].includes(type)){if(type==='radio'){$('.w-filter-item-value',$item).removeClass('selected')}
428$target.closest('.w-filter-item-value').toggleClass('selected',$target.is(':checked '))}else if(type==='range'){var $inputs=$('input[type!=hidden]',$item),rangeValues=[];$inputs.each((i,input)=>{let $input=$(input),value=$ush.parseInt(input.value),name=$ush.toString(input.dataset.name);if(!value&&name==['min_value','max_value'][i]&&rangeValues.length==i){value=$input.attr('placeholder')}
429rangeValues.push($ush.parseInt(value))});rangeValues=rangeValues.join('-');$('input[type="hidden"]',$item).val(rangeValues!=='0-0'?rangeValues:'')}else if(type==='range_slider'){var $input=$('input[type="hidden"]',$item);if($input.val()==$ush.toString($('.ui-slider',$item).data('defautlValues'))){$input.val('')}}
430var value=self.getValue();$ush.debounce_fn_1ms(self.URLSearchParams.bind(self,value));self.triggerGrid('us_grid.updateState',[value,1,self]);self.trigger('changeItemAtts',$item);self.$container.toggleClass('active',self.$filtersItem.hasClass('has_value'))},_loadPageNumber:function(e){e.preventDefault();e.stopPropagation();var self=this,$target=$(e.currentTarget),href=$ush.toString($target.attr('href')),page=$ush.parseInt((href.match(/page(=|\/)(\d+)(\/?)/)||[])[2]||1);history.replaceState(_document.title,_document.title,href);self.triggerGrid('us_grid.updateState',[self.getValue(),page,self])},_resetItemValues:function(e){e.preventDefault();e.stopPropagation();var self=this,$item=$(e.currentTarget).closest('.w-filter-item'),type=$ush.toString($item.usMod('type'));if(!type){return}
431if(['checkbox','radio'].indexOf(type)>-1){$('input:checked',$item).prop('checked',!1);$('input[value="*"]:first',$item).each(function(_,input){$(input).prop('checked',!0).closest('.w-filter-item').addClass('selected')})}
432if(type==='range'){$('input',$item).val('')}
433if(type==='dropdown'){$('option',$item).prop('selected',!1)}
434if(type==='range_slider'){var $uiSlider=$('.ui-slider',$item);$uiSlider.slider('values',$ush.toString($uiSlider.data('defautlValues')).split('-'))}
435$('.w-filter-item-value',$item).removeClass('selected');self.trigger('changeItemAtts',$item);self.$container.toggleClass('active',self.$filtersItem.hasClass('has_value'));var value=self.getValue();$ush.debounce_fn_1ms(self.URLSearchParams.bind(self,value));self.URLSearchParams(value);self.triggerGrid('us_grid.updateState',[value,1,self])},_changeItemAtts:function(_,item){var self=this,$item=$(item),title='',hasValue=!1,type=$ush.toString($item.usMod('type')),$selected=$('input:not([value="*"]):checked',$item);if(!type){return}
436if(['checkbox','radio'].indexOf(type)>-1){hasValue=$selected.length;if(self.options.layout=='hor'){var title='';if($selected.length===1){title+=$selected.nextAll('.w-filter-item-value-label:first').text()}else if($selected.length>1){title+=$selected.length}}}
437if(type==='dropdown'){var value=$('select:first',$item).val();hasValue=(value!=='*')?value:''}
438if(type==='range'){var value=$('input[type="hidden"]:first',$item).val();hasValue=value;if(self.options.layout=='hor'&&value){title+=value}}
439if(type==='range_slider'){var value=$('input[type="hidden"]:first',$item).val();hasValue=value&&value!=$ush.toString($('.ui-slider',$item).data('defautlValues'))}
440$item.toggleClass('has_value',!!hasValue);if(self.$container.hasClass('togglable')&&hasValue){$item.addClass('expand')}
441$('> .w-filter-item-title > span:not(.w-filter-item-reset):not(.w-filter-item-title-text):not(.w-filter-item-control)',item).text(title)},_resize:function(){var self=this;self.$container.usMod('state',self.isMobile()?'mobile':'desktop');if(!self.isMobile()){$us.$body.removeClass('us_filter_open');self.$container.removeClass('open_for_mobile')}},_openMobileFilters:function(){$us.$body.addClass('us_filter_open');this.$container.addClass('open_for_mobile')},_closeMobileFilters:function(){$us.$body.removeClass('us_filter_open');this.$container.removeClass('open_for_mobile')},_showItemDropdown:function(e){this._hideItemDropdown(e);$(e.currentTarget).closest('.w-filter-item').addClass('expand')},_hideItemDropdown:function(e){var self=this;if(self.$filtersItem.hasClass('expand')){self.$filtersItem.filter('.expand').each(function(_,node){var $node=$(node);if(!$node.is(e.target)&&$node.has(e.target).length===0){$node.removeClass('expand')}})}},_toggleItemSection:function(e){$(e.currentTarget).closest('.w-filter-item').toggleClass('expand')},_woocommerceOrdering:function(e){e.stopPropagation();var self=this,$form=$(e.currentTarget).closest('form');$('input[name^="'+self.options.filterPrefix+'"]',$form).remove();$.each(self.getValue().split('&'),function(_,value){value=value.split('=');if(value.length===2){$form.append('<input type="hidden" name="'+value[0]+'" value="'+value[1]+'"/>')}
441});$form.trigger('submit')},_updateItemsAmount:function(_,data){const self=this;$.each((data.taxonomies_query_args||{}),function(key,items){var $item=self.$filtersItem.filter('[data-source="'+key+'"]'),type=$ush.toString($item.usMod('type')),numActiveValues=0;$.each(items,function(value,amount){var disabled=!amount;if(!disabled){numActiveValues++}
442if(type==='dropdown'){var $option=$('select:first option[value="'+value+'"]',$item),template=$option.data('template')||'';if(template){template=template.replace('%s',(amount?'('+amount+')':''));$option.text(template)}
443$option.prop('disabled',disabled).toggleClass('disabled',disabled)}else{var $input=$('input[value="'+value+'"]',$item);$input.prop('disabled',disabled).nextAll('.w-filter-item-value-amount').text(amount);$input.closest('.w-filter-item-value').toggleClass('disabled',disabled);if(disabled&&$input.is(':checked')){$input.prop('checked',!1)}}});$item.removeClass('loading');$item.toggleClass('disabled',numActiveValues<1)});if(data.hasOwnProperty('wc_min_max_price')&&data.wc_min_max_price instanceof Object){const $price=self.$filtersItem.filter('[data-source$="|_price"]');$.each((data.wc_min_max_price||{}),function(name,value){var $input=$('input.type_'+name,$price);$input.attr('placeholder',value?value:$input.attr('aria-label'))});$price.removeClass('loading')}
444if(!$.isEmptyObject(data)){if(self.handle){$ush.clearTimeout(self.handle)}
445self.handle=$ush.timeout(function(){$ush.debounce_fn_1ms(self.URLSearchParams.bind(self,self.getValue()));self.checkItemValues()},100)}
446self.setupTabindex()},triggerGrid:function(eventType,extraParams){$ush.debounce_fn_10ms(function(){$us.$body.trigger(eventType,extraParams)})},checkItemValues:function(){var self=this;self.$filtersItem.each(function(_,node){self.trigger('changeItemAtts',node)})},getValue:function(){var value='',filters={};$.each(this.$container.serializeArray(),function(_,filter){if(filter.value==='*'||!filter.value){return}
447if(!filters.hasOwnProperty(filter.name)){filters[filter.name]=[]}
448filters[filter.name].push(filter.value)});for(var k in filters){if(value){value+='&'}
449if(Array.isArray(filters[k])){value+=k+'='+filters[k].join(',')}}
450return encodeURI(value)},URLSearchParams:function(params){var url=location.origin+location.pathname+(location.pathname.slice(-1)!='/'?'/':''),search=location.search.replace(new RegExp(this.options.filterPrefix+"(.+?)(&|$)","g"),'');if(!search||search.substr(0,1)!=='?'){search+='?'}else if('?&'.indexOf(search.slice(-1))===-1){search+='&'}
451if(!params&&'?&'.indexOf(search.slice(-1))!==-1){search=search.slice(0,-1)}
452history.replaceState(_document.title,_document.title,url+search+params)},navUsingKeyPress:function(e){const self=this;const keyCode=e.keyCode;if(keyCode==$ush.ESC_KEYCODE){self._hideItemDropdown({})}
453if(keyCode===$ush.ENTER_KEYCODE&&$.contains(self.$container[0],e.target)){const $target=$(e.target);if($target.hasClass('w-filter-item-value')){$('input[type=radio], input[type=checkbox]',$target).trigger('click')}}},setupTabindex:function(){const self=this;if(self.options.layout==='hor'&&/\sstyle_switch_/.test(self.$container[0].className)){self.$filtersItem.each((_,filter)=>{if(filter.classList.contains('type_radio')||filter.classList.contains('type_checkbox')){$('.w-filter-item-value',filter).each((_,itemValue)=>{const $itemValue=$(itemValue);if($itemValue.hasClass('disabled')){$itemValue.removeAttr('tabindex')}else{$itemValue.attr('tabindex',0)}})}})}}});$.fn.usGridFilter=function(options){return this.each(function(){$(this).data('usGridFilter',new usGridFilter(this,options))})};$(()=>$('.w-filter.for_grid',$us.$canvas).usGridFilter())}(jQuery);(function($,undefined){"use strict";$us.WGridOrder=function(container){this.init(container)};$.extend($us.WGridOrder.prototype,$us.mixins.Events,{init:function(container){this.$container=$(container);this.$select=$('select',this.$container);this.$grid=$('.w-grid[data-filterable="true"]:first',$us.$canvas.find('.l-main'));this.name=this.$select.attr('name')||'order';this.$container.on('change','select',this._events.changeSelect.bind(this));this.$grid.addClass('used_by_grid_order')},_events:{changeSelect:function(){var value=this.$select.val()||'',matches=(location.href.match(/page(=|\/)(\d+)(\/?)/)||[]),page=parseInt(matches[2]||1);this.URLSearchValue(value);this.triggerGrid('us_grid.updateOrderBy',[value,page,this])}},triggerGrid:function(eventType,extraParameters){$ush.debounce_fn_10ms(function(){$us.$body.trigger(eventType,extraParameters)})},URLSearchValue:function(value){var orderby_search='',url=location.origin+location.pathname+(location.pathname.slice(-1)!='/'?'/':''),search=location.search.replace(new RegExp('[?&]'+this.name+'=[^&#]*(#.*)?$'),'$1').replace(new RegExp('([?&])'+this.name+'=[^&]*&'),'$1');if(search&&search.substr(0,1)==='?'){search=search.slice(1)}
454if(value){orderby_search+=this.name+'='+value}
455if(orderby_search&&search){orderby_search+='&'}
456orderby_search+=search;history.replaceState(document.title,document.title,url+(orderby_search?'?'+orderby_search:''))}});$.fn.wGridOrder=function(options){return this.each(function(){$(this).data('wGridOrder',new $us.WGridOrder(this))})};$(function(){$('.w-order.for_grid',$us.$canvas).wGridOrder()})})(jQuery);!function($,_undefined){"use strict";const _window=window;_window.$ush=_window.$ush||{};_window.$us.canvas=_window.$us.canvas||{};function toBoolean(value){if(typeof value=='boolean'){return value}
457if(typeof value=='string'){value=value.trim();return value.toLocaleLowerCase()=='true'||value=='1'}
458return!!parseInt(value)}
459function USHeader(settings){const self=this;self.$container=$('.l-header',$us.$canvas);self.$showBtn=$('.w-header-show:first',$us.$body);self.settings=settings||{};self.canvasOffset=0;self.bodyHeight=$us.$body.height();self.adminBarHeight=0;
459self._states={init_height:0,scroll_direction:'down',sticky:!1,sticky_auto_hide:!1,vertical_scrollable:!1};if(self.$container.length===0){return}
460self.breakpoints={laptops:1280,tablets:1024,mobiles:600};for(const k in self.breakpoints){self.breakpoints[k]=parseInt(((self.settings[k]||{}).options||{}).breakpoint)||self.breakpoints[k]}
461self._events={hideMobileVerticalHeader:self.hideMobileVerticalHeader.bind(self),contentChange:self.contentChange.bind(self),showBtn:self.showBtn.bind(self),scroll:$ush.debounce(self.scroll.bind(self),1),resize:$ush.debounce(self.resize.bind(self),1),};self._states.init_height=self.getHeight();$us.$window.on('scroll.noPreventDefault',self._events.scroll).on('resize load',self._events.resize);self.$container.on('contentChange',self._events.contentChange);self.$showBtn.on('click',self._events.showBtn);self.setView($us.$body.usMod('state')||'default');self.resize();if(self.stickyAutoHideEnabled()){self.$container.addClass('sticky_auto_hide')}
462self.$container.on('transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd',$ush.debounce(()=>{self.trigger.call(self,'transitionEnd')},1))}
463$.extend(USHeader.prototype,$us.mixins.Events,{prevScrollTop:0,currentStateIs:function(state){return(state&&['default','laptops','tablets','mobiles'].includes(state)&&this.state===state)},isVertical:function(){return this.orientation==='ver'},isHorizontal:function(){return this.orientation==='hor'},isFixed:function(){return this.pos==='fixed'},isStatic:function(){return this.pos==='static'},isTransparent:function(){return this.bg==='transparent'},_isWithinScrollBoundaries:function(scrollTop){scrollTop=Math.ceil(scrollTop);return(scrollTop+_window.innerHeight>=$us.$document.height())||scrollTop<=0},isHidden:function(){return!!$us.header.settings.is_hidden},stickyEnabled:function(){return((this.settings[this.state]||{}).options||{}).sticky||!1},stickyAutoHideEnabled:function(){return this.stickyEnabled()&&(((this.settings[this.state]||{}).options||{}).sticky_auto_hide||!1)},isPinned:function(){return this._states.sticky||!1},isStickyAutoHidden:function(){return this._states.sticky_auto_hide||!1},getHeaderInitialPos:function(){return $us.$body.usMod('headerinpos')||''},getScrollDirection:function(){return this._states.scroll_direction||'down'},getHeight:function(){const self=this;if(!self.$container.length){return 0}
464const beforeContent=getComputedStyle(self.$container[0],':before').content;var height=0;if(beforeContent&&['none','auto'].includes(beforeContent)===!1){height=beforeContent.replace(/[^+\d]/g,'')}
465if(!height){height=self.$container.outerHeight()}
466return $ush.parseFloat(height)},getInitHeight:function(){return $ush.parseInt(this._states.init_height)||this.getHeight()},getCurrentHeight:function(adminBar){const self=this;var height=0;if(adminBar&&self.isHorizontal()&&(!self.currentStateIs('mobiles')||(self.adminBarHeight&&self.adminBarHeight>=self.getScrollTop()))){height+=self.adminBarHeight}
467if(!self.isStickyAutoHidden()){height+=self.getHeight()}
468return height},getScrollTop:function(){return _window.scrollY||this.prevScrollTop},prevOffsetTop:0,getOffsetTop:function(){return(this.prevOffsetTop=Math.max(this.prevOffsetTop,$ush.parseFloat(this.$container.css('top'))))},isScrollAtTopPosition:function(){return $ush.parseInt(_window.scrollY)===0},setView:function(newState){const self=this;if(newState==self.state){return}
469var options=(self.settings[newState]||{}).options||{},orientation=options.orientation||'hor',pos=toBoolean(options.sticky)?'fixed':'static',bg=toBoolean(options.transparent)?'transparent':'solid',shadow=options.shadow||'thin';if(orientation==='ver'){pos='fixed';bg='solid'}
470self._setPos(pos);self._setBg(bg);self._setShadow(shadow);self.orientation=orientation
471self.state=newState
472$us.$document.trigger('usHeader.update_view');if(self.stickyAutoHideEnabled()){self.$container.removeClass('down')}},_setPos:function(pos){const self=this;if(pos===self.pos){return}
473self.$container.usMod('pos',self.pos=pos);if(self.pos==='static'){self.changeSticky(!1)}},_setBg:function(bg){const self=this;if(bg!=self.bg){self.$container.usMod('bg',self.bg=bg)}},_setShadow:function(shadow){const self=this;if(shadow!=self.shadow){self.$container.usMod('shadow',self.shadow=shadow)}},_isVerticalScrollable:function(){const self=this;if(!self.isVertical()){return}
474if((self.currentStateIs('default')||self.currentStateIs('laptops'))&&self.isFixed()){self.$container.addClass('scrollable');var headerHeight=self.getHeight(),canvasHeight=parseInt($us.canvas.winHeight),documentHeight=parseInt($us.$document.height());self.$container.removeClass('scrollable');if((headerHeight/canvasHeight)>1.05){self.swichVerticalScrollable(!0)}else if(self._states.vertical_scrollable){self.swichVerticalScrollable(!1)}
475if((headerHeight/documentHeight)>1.05){self.$container.css({position:'absolute',top:0})}}else if(self._states.vertical_scrollable){self.swichVerticalScrollable(!1)}},swichVerticalScrollable:function(state){const self=this;self.$container.toggleClass('scrollable',self._states.vertical_scrollable=!!state);if(!self._states.vertical_scrollable){self.$container.resetInlineCSS('position','top','bottom');delete self._headerScrollRange}},changeSticky:function(state){const self=this;self._states.sticky=!!state;var currentHeight=self.getCurrentHeight(!0),resetCss=['position','top','bottom'];if($us.canvas.hasStickyFirstSection()&&self.getHeaderInitialPos()=='bottom'&&!self.stickyAutoHideEnabled()){resetCss=resetCss.filter((value)=>{return value!=='top'})}
476self.$container.toggleClass('sticky',self._states.sticky).resetInlineCSS(resetCss);if(currentHeight==self.getCurrentHeight(!0)){self.trigger('transitionEnd')}},contentChange:function(){this._isVerticalScrollable()},showBtn:function(e){const self=this;if($us.$body.hasClass('header-show')){return}
477e.stopPropagation();$us.$body.addClass('header-show').on(($.isMobile?'touchstart.noPreventDefault':'click'),self._events.hideMobileVerticalHeader)},hideMobileVerticalHeader:function(e){const self=this;if($.contains(self.$container[0],e.target)){return}
478$us.$body.off(($.isMobile?'touchstart':'click'),self._events.hideMobileVerticalHeader);$ush.timeout(()=>$us.$body.removeClass('header-show'),10)},scroll:function(){const self=this;var scrollTop=self.getScrollTop(),headerAbovePosition=(self.getHeaderInitialPos()==='above');if(self.prevScrollTop!=scrollTop){self._states.scroll_direction=(self.prevScrollTop<=scrollTop)?'down':'up'}
479self.prevScrollTop=scrollTop;if(self.isScrollAtTopPosition()){self._states.scroll_direction='up'}
480if(self.stickyAutoHideEnabled()&&self.isPinned()&&!self._isWithinScrollBoundaries(scrollTop)&&!headerAbovePosition){self._states.sticky_auto_hide=(self.getScrollDirection()==='down');
480self.$container.toggleClass('down',self._states.sticky_auto_hide)}
481if(!self.isFixed()){return}
482var headerAttachedFirstSection=['bottom','below'].includes(self.getHeaderInitialPos());if(self.isHorizontal()&&(headerAbovePosition||(headerAttachedFirstSection&&(self.currentStateIs('tablets')||self.currentStateIs('mobiles')))||!headerAttachedFirstSection)){if(self.stickyEnabled()){var scrollBreakpoint=parseInt(((self.settings[self.state]||{}).options||{}).scroll_breakpoint)||100,isSticky=Math.ceil(scrollTop)>=scrollBreakpoint;if(isSticky!=self.isPinned()){self.changeSticky(self._states.sticky!==isSticky)}}
483if(self.isPinned()&&!_window.scrollY){self.changeSticky(!1)}}
484if(self.isHorizontal()&&headerAttachedFirstSection&&!headerAbovePosition&&(self.currentStateIs('default')||self.currentStateIs('laptops'))){var top=($us.canvas.getHeightFirstSection()+self.adminBarHeight);if(self.getHeaderInitialPos()=='bottom'){top-=self.getInitHeight()}
485if(self.stickyEnabled()){var isSticky=_window.scrollY>=top;if(isSticky!=self.isPinned()){self.changeSticky(isSticky)}}
486if(!self.isPinned()&&top!=self.getOffsetTop()){self.$container.css('--heading-below-first-section-top',`${top}px`)}}
487if(self.isVertical()&&!headerAttachedFirstSection&&!headerAbovePosition&&self._states.vertical_scrollable){var headerHeight=self.getHeight(),documentHeight=parseInt($us.$document.height());if(documentHeight>headerHeight){var canvasHeight=parseInt($us.canvas.winHeight)+self.canvasOffset,scrollRangeDiff=(headerHeight-canvasHeight),cssProps;if(self._headerScrollRange===_undefined){self._headerScrollRange=[0,scrollRangeDiff]}
488if(self.bodyHeight>headerHeight){if(scrollTop<self._headerScrollRange[0]){self._headerScrollRange[0]=Math.max(0,scrollTop);self._headerScrollRange[1]=(self._headerScrollRange[0]+scrollRangeDiff);cssProps={position:'fixed',top:self.adminBarHeight}}else if(self._headerScrollRange[0]<scrollTop&&scrollTop<self._headerScrollRange[1]){cssProps={position:'absolute',top:self._headerScrollRange[0]}}else if(self._headerScrollRange[1]<=scrollTop){self._headerScrollRange[1]=Math.min(documentHeight-canvasHeight,scrollTop);self._headerScrollRange[0]=(self._headerScrollRange[1]-scrollRangeDiff);cssProps={position:'fixed',top:(canvasHeight-headerHeight)}}}else{cssProps={position:'absolute',top:self.adminBarHeight,}}
489if(cssProps){self.$container.css(cssProps)}}}},resize:function(){const self=this;self.canvasOffset=$us.$window.outerHeight()-$us.$window.innerHeight();self.bodyHeight=$us.$body.height();self.adminBarHeight=$us.getAdminBarHeight()||0;if(self.isFixed()&&self.isHorizontal()){self.$container.addClass('notransition');$ush.timeout(()=>self.$container.removeClass('notransition'),50)}
490self._isVerticalScrollable();self.scroll()}});_window.USHeader=USHeader;$us.header=new USHeader($us.headerSettings||{})}(jQuery);!function($){var Horparallax=function(container,options){var that=this;this.$window=$(window);this.container=$(container);if(container.onclick!=undefined){options=$.extend({},container.onclick()||{},typeof options=='object'&&options);if(!$us.usbPreview())this.container.removeProp('onclick')}
491options=$.extend({},$.fn.horparallax.defaults,typeof options=='object'&&options);this.options=options;this.bg=this.container.find(options.bgSelector);this.containerWidth=this.container.outerWidth();this.containerHeight=this.container.outerHeight();this.bgWidth=this.bg.outerWidth();this.windowHeight=this.$window.height();this._frameRate=Math.round(1000/this.options.fps);if(!('ontouchstart' in window)||!('DeviceOrientationEvent' in window)){this.container.on('mouseenter',(e)=>
491{var offset=that.container.offset(),coord=(e.pageX-offset.left)/that.containerWidth;that.cancel();that._hoverAnimation=!0;that._hoverFrom=that.now;that._hoverTo=coord;that.start(that._hoverTo)}).on('mousemove',(e)=>{if(that._lastFrame+that._frameRate>Date.now()){return}
492var offset=that.container.offset(),coord=(e.pageX-offset.left)/that.containerWidth;if(that._hoverAnimation){that._hoverTo=coord;return}
493that.set(coord);that._lastFrame=Date.now()}).on('mouseleave',()=>{that.cancel();that.start(that.options.basePoint)})}
494this.$window.resize(function(){that.handleResize()});this._orientationDriven=('ontouchstart' in window&&'DeviceOrientationEvent' in window);if(this._orientationDriven){this._checkIfVisible();window.addEventListener("deviceorientation",function(e){if(!that.visible||that._lastFrame+that._frameRate>Date.now()){return}
495that._deviceOrientationChange(e);that._lastFrame=Date.now()});this.$window.resize(()=>{that._checkIfVisible()});this.$window.on('scroll.noPreventDefault',()=>{that._checkIfVisible()})}
496this.set(this.options.basePoint);this._lastFrame=Date.now()};Horparallax.prototype={_deviceOrientationChange:function(e){var gamma=e.gamma,beta=e.beta,x,y;switch(window.orientation){case-90:beta=Math.max(-45,Math.min(45,beta));x=(beta+45)/90;break;case 90:beta=Math.max(-45,Math.min(45,beta));x=(45-beta)/90;break;case 180:gamma=Math.max(-45,Math.min(45,gamma));x=(gamma+45)/90;break;case 0:default:if(gamma<-90||gamma>90){gamma=Math.abs(e.gamma)/e.gamma*(180-Math.abs(e.gamma))}
497gamma=Math.max(-45,Math.min(45,gamma));x=(45-gamma)/90;break}
498this.set(x)},handleResize:function(){this.containerWidth=this.container.outerWidth();this.containerHeight=this.container.outerHeight();this.bgWidth=this.bg.outerWidth();this.windowHeight=this.$window.height();this.set(this.now)},_checkIfVisible:function(){var scrollTop=this.$window.scrollTop(),containerTop=this.container.offset().top;this.visible=(containerTop+this.containerHeight>scrollTop&&containerTop<scrollTop+this.windowHeight)},set:function(x){this.bg.css('left',(this.containerWidth-this.bgWidth)*x);this.now=x;return this},compute:function(from,to,delta){if(this._hoverAnimation){return(this._hoverTo-this._hoverFrom)*delta+this._hoverFrom}
499return(to-from)*delta+from},start:function(to){var from=this.now,that=this;this.container.css('delta',0).animate({delta:1},{duration:this.options.duration,easing:this.options.easing,complete:function(){that._hoverAnimation=!1},step:function(delta){that.set(that.compute(from,to,delta))},queue:!1});return this},cancel:function(){this._hoverAnimation=!1;this.container.stop(!0,!1);return this}};if($.easing.easeOutElastic==undefined){$.easing.easeOutElastic=function(x,t,b,c,d){var s=1.70158,p=0,a=c;if(t==0){return b}
500if((t/=d)==1){return b+c}
501if(!p){p=d*.3}
502if(a<Math.abs(c)){a=c;var s=p/4}else{var s=p/(2*Math.PI)*Math.asin(c/a)}
503return a*Math.pow(2,-10*t)*Math.sin((t*d-s)*(2*Math.PI)/p)+c+b}}
504$.fn.horparallax=function(options){return this.each(function(){var $this=$(this),data=$this.data('horparallax');if(!data){$this.data('horparallax',(data=new Horparallax(this,options)))}})};$.fn.horparallax.defaults={fps:60,basePoint:.5,duration:500,bgSelector:'.l-section-img',easing:$us.getAnimationName('swing')};$.fn.horparallax.Constructor=Horparallax;$(function(){jQuery('.parallax_hor').horparallax()})}(jQuery);!function($,_undefined){"use strict";function usImageSlider(container){const self=this;const $container=$(container);const $frame=$('.w-slider-h',container);const $royalSlider=$('.royalSlider',container);const options={};if(!$.fn.royalSlider||$container.data('usImageSlider')){return}
505const $jsonData=$('.w-slider-json',container);if($jsonData.length){$.extend(options,$jsonData[0].onclick()||{})}
506$jsonData.remove();if($container.parent().hasClass('w-post-elm')){options.imageScaleMode='fill'}
507options.usePreloader=!1;$royalSlider.royalSlider(options);const royalSlider=$royalSlider.data('royalSlider');if(options.fullscreen&&options.fullscreen.enabled){const rsEnterFullscreen=function(){$royalSlider.appendTo($us.$body);royalSlider.ev.off('rsEnterFullscreen',rsEnterFullscreen);royalSlider.ev.on('rsExitFullscreen',rsExitFullscreen);royalSlider.updateSliderSize()};
507royalSlider.ev.on('rsEnterFullscreen',rsEnterFullscreen);const rsExitFullscreen=function(){$royalSlider.prependTo($frame);royalSlider.ev.off('rsExitFullscreen',rsExitFullscreen);royalSlider.ev.on('rsEnterFullscreen',rsEnterFullscreen)}}
508royalSlider.ev.on('rsAfterContentSet',function(){royalSlider.slides.forEach(function(slide){$(slide.content.find('img')[0]).attr('alt',slide.caption.attr('data-alt'))})});$us.$canvas.on('contentChange',function(){$royalSlider.parent().imagesLoaded(function(){royalSlider.updateSliderSize()})});self.royalSlider=royalSlider}
509$.fn.usImageSlider=function(){return this.each(function(){$(this).data('usImageSlider',new usImageSlider(this))})};$(()=>{$('.w-slider').usImageSlider()});$us.$document.on('usPostList.itemsLoaded usGrid.itemsLoaded',(_,$items)=>{$('.w-slider',$items).usImageSlider()})}(jQuery);!function($){"use strict";const REGEXP_SPACE=/\p{Zs}/ug;function usItext(container){const self=this;self.$container=$(container);self.$parts=$('.w-itext-part',self.$container);if(!self.$parts.length){return}
510self.opts=self.$container[0].onclick()||{};if(!$us.usbPreview()){self.$container.removeAttr('onclick')}
511self.partsData=[];self._destroyed=!1;self.type=self.$container.usMod('type')||'fadeIn';self.isCharsAnimate=self.type.includes('Chars');self.isDisablePartAnimation=self.$container.hasClass('disable_part_animation');self.spaceChar=' ';self.isWidthManaged=!self.isTypingChars();self.$parts.each((_,node)=>{const $part=$(node);const $states=$('.w-itext-state',$part);const statesText=[];$states.each((_,node)=>{statesText.push($(node).text())});const part={$part,$states,statesText,widths:[],minWidth:0,maxWidth:0,index:0,stabilized:!1};self.partsData.push(part);self.refreshWidths(part);if(self.isCharsAnimate){$part.html(statesText[0].replace(REGEXP_SPACE,self.spaceChar))}
512if(self.isWidthManaged){self.applySizing(part)}});self.partsData.forEach((part)=>{if(self.isCharsAnimate){self.startCharsAnimate(part)}else{part.loopTimer=$ush.timeout(()=>self.startSimpleAnimate(part),self.opts.delay+self.opts.duration)}});if(self.isWidthManaged){self._onResize=$ush.debounce(()=>self.remeasure(),100);$us.$window.on('resize',self._onResize)}};$.extend(usItext.prototype,{isTypingChars:function(){return this.type==='typingChars'},measureWidths:function(part){const self=this;if(self.isCharsAnimate){return part.statesText.map((text)=>{const $m=$('<span class="measure"></span>').text(text.replace(REGEXP_SPACE,self.spaceChar)).appendTo(part.$part);const w=$m[0].offsetWidth;$m.remove();return w})}
513part.$states.css('width','');if(self.isDisablePartAnimation){const $active=part.$states.filter('.is-active');const widths=$.map(part.$states,(node)=>{part.$states.removeClass('is-active');node.classList.add('is-active');return node.offsetWidth});part.$states.removeClass('is-active');($active.length?$active:part.$states.eq(0)).addClass('is-active');return widths}
514return $.map(part.$states,(node)=>node.offsetWidth)},refreshWidths:function(part){part.widths=this.measureWidths(part);part.minWidth=part.widths.length?Math.min(...part.widths):0;part.maxWidth=part.widths.length?Math.max(...part.widths):0},needsStabilization:function(part){const self=this,$part=part.$part,el=self.$container[0],saved=$part.attr('style');$part.addClass('notransition');$part.css({'min-width':'','width':part.minWidth+'px'});const hMin=el.offsetHeight;$part.css('width',part.maxWidth+'px');const hMax=el.offsetHeight;$part.removeClass('notransition');if(saved==null){$part.removeAttr('style')}else{$part.attr('style',saved)}
515return hMin!==hMax},applySizing:function(part){const self=this;part.stabilized=self.isDisablePartAnimation||self.needsStabilization(part);if(part.stabilized){part.$part.css({'width':'','min-width':part.maxWidth+'px'});if(!self.isCharsAnimate){part.$states.css('width','100%')}}else{part.$part.css({'min-width':'','width':part.widths[part.index]+'px'});if(!self.isCharsAnimate){part.$states.css('width','')}}},remeasure:function(){const self=this;self.partsData.forEach((part)=>{part.$part.css({'width':'','min-width':''});self.refreshWidths(part);self.applySizing(part)})},startSimpleAnimate:function(part){const self=this;if(self._destroyed){return}
516if(!self.$container.hasClass('animation_started')){self.$container.addClass('animation_started')}
517const nextIndex=(part.index+1)%part.$states.length;const $currentEl=part.$states.eq(part.index);const $nextEl=part.$states.eq(nextIndex);$currentEl.removeClass('is-active');$nextEl.addClass('is-active');if(self.isWidthManaged&&!part.stabilized){part.$part.css('width',part.widths[nextIndex]+'px')}
518part.index=nextIndex;$ush.clearTimeout(part.loopTimer);part.loopTimer=$ush.timeout(()=>self.startSimpleAnimate(part),self.opts.delay+self.opts.duration)},startCharsAnimate:function(part){$ush.timeout(()=>this.charsNext(part),this.opts.delay)},charsNext:function(part){if(this._destroyed){return}
519part.index=(part.index+1)%part.statesText.length;this.renderChars(part)},renderChars:function(part){const self=this;if(self._destroyed){return}
520const nextValue=part.statesText[part.index];const $node=part.$part;
520const duration=$ush.parseInt(self.opts.duration)||1000;var curDuration=duration;var startDelay=0;const $curSpan=$node.wrapInner('<span></span>').children('span');const $nextSpan=$('<span class="measure"></span>').text(nextValue.replace(REGEXP_SPACE,self.spaceChar)).appendTo($node);const nextWidth=$nextSpan.width();if(self.isTypingChars()){const oldValue=$curSpan.text().trim()+' ';const removeDuration=Math.floor(curDuration/3);startDelay=removeDuration*oldValue.length;for(var i=0;i<oldValue.length;i ++){$ush.timeout(()=>{const t=$curSpan.text();$curSpan.text(t.substring(0,t.length-1))},removeDuration*i)}}
521$ush.timeout(()=>{$node.addClass('notransition');if(self.isWidthManaged&&!part.stabilized){$node.css('width',$node.width())}
522$ush.timeout(()=>{$node.removeClass('notransition');if(self.isWidthManaged&&!part.stabilized){$node.css('width',nextWidth)}},25);if(!self.isTypingChars()){$curSpan.addClass('hidden-state').css('width',nextWidth)}
523$nextSpan.removeClass('measure').prependTo($node).empty();const stagger=60;for(var i=0;i<nextValue.length;i++){const char=nextValue[i];if(!self.isTypingChars()){const $char=$('<span class="w-itext-char"></span>').text(char).css('animation-delay',(i*stagger)+'ms').appendTo($nextSpan);$char.addClass('is-active');$char[0].onanimationend=()=>{$char.css('display','inline')}}else{$ush.timeout(()=>{$nextSpan[0].appendChild(document.createTextNode(char))},curDuration*i)}}
524if(self.isTypingChars()){curDuration*=(nextValue.length+1)}else{curDuration=duration+(nextValue.length*stagger)}
525$ush.timeout(()=>{self.clearChars(part,nextValue)},curDuration+Math.floor(self.opts.delay/3))},startDelay)},clearChars:function(part,text){const self=this;if(self._destroyed){return}
526part.$part.html(text.replace(REGEXP_SPACE,self.spaceChar));$ush.timeout(()=>self.charsNext(part),self.opts.delay)},destroy:function(){const self=this;self._destroyed=!0;if(self._onResize){$us.$window.off('resize',self._onResize)}(self.partsData||[]).forEach((part)=>{$ush.clearTimeout(part.loopTimer)})}});$.fn.usItext=function(){return this.each(function(){const prevInstance=$(this).data('usItext');if(prevInstance){prevInstance.destroy()}
527$(this).data('usItext',new usItext(this))})};$(()=>$('.w-itext').usItext())}(jQuery);!function($){"use strict";$us.WLogin=function(container,options){this.init(container,options)};$us.WLogin.prototype={init:function(container,options){this.$container=$(container);if(this.$container.data('loginInit')==1){return}
528this.$container.data('loginInit',1);this.$submitBtn=this.$container.find('.w-btn');this.$username=this.$container.find('.for_text input[type="text"]');this.$password=this.$container.find('.for_password input[type="password"]');this.$showPasswordBtn=this.$container.find('.for_password .show-password-btn');this.$preloader=this.$container.siblings('.g-preloader');this.$nonceVal=this.$container.find('#us_login_nonce').val();this.$resultField=this.$container.find('.w-form-message');this.$jsonContainer=this.$container.find('.w-form-json');this.jsonData=this.$jsonContainer[0].onclick()||{};this.$jsonContainer.remove();this.ajaxUrl=this.jsonData.ajaxurl||'';this.loginRedirect=this.jsonData.login_redirect||'';this.logoutRedirect=this.jsonData.logout_redirect||window.location.href;this.use_ajax=!!this.jsonData.use_ajax;this._events={formSubmit:this.formSubmit.bind(this),toggleViewPassword:this.toggleViewPassword.bind(this),};this.$container.on('submit',this._events.formSubmit);this.$showPasswordBtn.on('click',this._events.toggleViewPassword);if(this.use_ajax){$.ajax({type:'post',url:this.ajaxUrl,data:{action:'us_ajax_user_info',logout_redirect:this.logoutRedirect},success:function(result){if(result.success){this.$container.closest('.w-login').html(result.data)}else{this.$container.removeClass('hidden')}
529this.$preloader.addClass('hidden')}.bind(this)})}},formSubmit:function(event){event.preventDefault();if(this.$submitBtn.hasClass('loading')){return}
530this.$resultField.usMod('type',!1).html('');this.$container.find('.w-form-row.check_wrong').removeClass('check_wrong');this.$container.find('.w-form-state').html('');if(this.$container.find('.for_text input[type="text"]').val()==''){this.$username.closest('.w-form-row').toggleClass('check_wrong');return}
531this.$submitBtn.addClass('loading');$.ajax({type:'post',url:this.ajaxUrl,dataType:'json',data:{action:'us_ajax_login',username:this.$username.val(),password:this.$password.val(),us_login_nonce:this.$nonceVal},success:function(result){if(result.success){window.location.replace(this.loginRedirect)}else{if(result.data.code=='invalid_username'){var $rowLog=this.$username.closest('.w-form-row');$rowLog.toggleClass('check_wrong');$rowLog.find('.w-form-row-state').html(result.data.message?result.data.message:'')}else if(result.data.code=='incorrect_password'||result.data.code=='empty_password'){var $rowPwd=this.$password.closest('.w-form-row');$rowPwd.toggleClass('check_wrong');$rowPwd.find('.w-form-row-state').html(result.data.message?result.data.message:'')}else{this.$resultField.usMod('type','error').html(result.data.message)}
532this.$submitBtn.removeClass('loading')}}.bind(this),})},toggleViewPassword:function(event){event.preventDefault();if(this.$showPasswordBtn.hasClass('display-password')){this.$password.prop("type","password");this.$showPasswordBtn.attr('aria-label',this.$showPasswordBtn.data('show-password-translated'))}else{this.$password.prop("type","text");this.$showPasswordBtn.attr('aria-label',this.$showPasswordBtn.data('hide-password-translated'))}
533this.$showPasswordBtn.toggleClass('display-password');this.$password.focus()}};$.fn.wUsLogin=function(options){return this.each(function(){$(this).data('wUsLogin',new $us.WLogin(this,options))})};$(function(){$('.w-login > .w-form').wUsLogin()})}(jQuery);!function($,_undefined){"use strict";window.$us=window.$us||{};$us.mobileNavOpened=0;const SLIDE_DURATION=250;function usNav(container){const self=this;self.$container=$(container);if(self.$container.length===0){return}
534self.$items=$('.menu-item',self.$container);self.$list=$('.w-nav-list.level_1',self.$container);self.$anchors=$('.w-nav-anchor',self.$container);self.$mobileMenu=$('.w-nav-control',self.$container);self.$itemsHasChildren=$('.menu-item-has-children',self.$list);self.$childLists=$('.menu-item-has-children > .w-nav-list',self.$list);self.$reusableBlocksLinks=$('.menu-item-object-us_page_block a',self.$container);self.type=self.$container.usMod('type');self.layout=self.$container.usMod('layout');self.openDropdownOnClick=self.$container.hasClass('open_on_click');self.mobileNavOpened=!1;self.keyboardNavEvent=!1;self.opts={};self._events={closeMobileMenu:self.closeMobileMenu.bind(self),closeMobileMenuOnClick:self.closeMobileMenuOnClick.bind(self),closeMobileMenuOnFocusIn:self.closeMobileMenuOnFocusIn.bind(self),closeOnClickOutside:self.closeOnClickOutside.bind(self),closeOnMouseOver:self.closeOnMouseOver.bind(self),forwardArrowClick:self.forwardArrowClick.bind(self),handleKeyboardNav:self.handleKeyboardNav.bind(self),handleMobileClick:self.handleMobileClick.bind(self),resize:self.resize.bind(self),toggleMenuOnClick:self.toggleMenuOnClick.bind(self),toggleMobileMenu:self.toggleMobileMenu.bind(self),toggleSubMenu:self.toggleSubMenu.bind(self),updateDropDirection:self.updateDropDirection.bind(self),}
535const $opts=$('.w-nav-options:first',self.$container);if($opts.is('[onclick]')){self.opts=$opts[0].onclick()||{};$opts.remove()}
536self.$container.on('transitionend',()=>self.$container.removeClass('us_animate_this')).on('keydown.upsolution',self._events.handleKeyboardNav).on('click','.w-nav-close',self._events.closeMobileMenu).on('click','.w-nav-anchor, .w-hwrapper-link',self._events.closeMobileMenuOnClick).on('click','.w-nav-control',self._events.toggleMobileMenu).on('closeMobileMenu',self._events.closeMobileMenu).on('mouseenter','.menu-item-has-children',self._events.updateDropDirection).on('focusin','.menu-item-has-children > .w-nav-anchor, .menu-item-has-children > .w-nav-item-toggle',self._events.updateDropDirection);if(self.openDropdownOnClick){self.$container.on('click','.menu-item.togglable > .w-nav-anchor',self._events.toggleMenuOnClick);$us.$document.on('mouseup touchend.noPreventDefault',self._events.closeOnClickOutside)}
537$us.$document.on('usHeader.update_view',self._events.resize);$us.$window.on('resize',$ush.debounce(self._events.resize,5));if($ush.isSafari){self.$mobileMenu.on('mouseup',()=>{self.$mobileMenu.attr('style','outline: none')})}
538self.$reusableBlocksLinks.each((index,anchor)=>{if($(anchor).parents('.w-popup-wrap').length===0){self.$anchors.push(anchor)}});if($.isMobile&&self.type==='desktop'){self.$list.on('click','.w-nav-anchor[class*="level_"]',(e)=>{const $target=$(e.currentTarget);const $menuItem=$target.closest('.menu-item');if($target.usMod('level')>1&&!$menuItem.hasClass('menu-item-has-children')){self.setOpened($target.parents('.menu-item.opened'),!1)}})}
539self.$itemsHasChildren.each((_,menuItem)=>{const $menuItem=$(menuItem);const isInMegaMenu=$menuItem.parents('.menu-item.has_cols, .menu-item.has_side_panel').length>0;if(!isInMegaMenu){$menuItem.addClass('togglable')}
540const $subAnchor=$menuItem.children('.w-nav-anchor');const dropByLabel=$menuItem.hasClass('mobile-drop-by_label')||$menuItem.parents('.menu-item').hasClass('mobile-drop-by_label');const dropByArrow=$menuItem.hasClass('mobile-drop-by_arrow')||$menuItem.parents('.menu-item').hasClass('mobile-drop-by_arrow');$menuItem.children('.w-nav-item-toggle').on('click',self._events.toggleSubMenu);if(dropByLabel||(self.opts.mobileBehavior&&!dropByArrow)){$subAnchor.on('click',self._events.handleMobileClick)}else{$('.w-nav-arrow',$subAnchor).on('click',self._events.forwardArrowClick)}});if(!$us.$html.hasClass('no-touch')){self.$list.on('click','.menu-item-has-children.togglable > .w-nav-anchor',(e)=>{if(self.type==='mobile'){return}
541e.preventDefault();const $target=$(e.currentTarget);const $menuItem=$target.parent();if($menuItem.hasClass('opened')){return location.assign($target.attr('href'))}
542self.setOpened($menuItem,!0);const onOutsideClick=(e)=>{if($.contains($menuItem[0],e.target)){return}
543self.setOpened($menuItem,!1);$us.$body.off('touchstart',onOutsideClick)};$us.$body.on('touchstart.noPreventDefault',onOutsideClick)})}
544$us.$document.on('keydown',(e)=>{if($ush.isSafari){self.$mobileMenu.removeAttr('style')}
545if(e.keyCode===$ush.ESC_KEYCODE&&self.type==='mobile'&&self.mobileNavOpened){self.closeMobileMenu()}
546if(e.keyCode===$ush.TAB_KEYCODE&&self.type==='desktop'&&!$(e.target).closest('.w-nav').length){self.setOpened(self.$items,!1)}});$ush.timeout(()=>{self.resize();$us.header.$container.trigger('contentChange')},50)};$.extend(usNav.prototype,{toggleMobileMenu:function(e){const self=this;e.preventDefault();self.mobileNavOpened=!self.mobileNavOpened;$us.$document.on('mouseup touchend.noPreventDefault',self._events.closeOnClickOutside);self.$anchors.each((_,node)=>{node.href=node.href||'javascript:void(0)'});if(self.mobileNavOpened){$('.l-header .w-nav').not(self.$container).each((_,node)=>{$(node).trigger('closeMobileMenu')});self.$mobileMenu.addClass('active').focus();self.setOpened(self.$items.filter('.opened'),!1);self.$childLists.resetInlineCSS('display','height','opacity');if(self.layout==='dropdown'){self.$list.slideDownCSS(SLIDE_DURATION,()=>$us.header.$container.trigger('contentChange'))}
547$us.$html.addClass('w-nav-open');self.$mobileMenu.attr('aria-expanded','true');$us.mobileNavOpened++;$us.$document.on('focusin',self._events.closeMobileMenuOnFocusIn)}else{self.closeMobileMenu()}
548$us.$canvas.trigger('contentChange')},handleMobileClick:function(e){const self=this;if(self.type==='mobile'){e.stopPropagation();e.preventDefault();const $menuItem=$(e.currentTarget).closest('.menu-item');self.switchMobileSubMenu($menuItem,!$menuItem.hasClass('opened'))}},switchMobileSubMenu:function($menuItem,opened){const self=this;if(self.type!=='mobile'){return}
549const $subMenu=$menuItem.children('.w-nav-list');self.setOpened($menuItem,opened);if(opened){$subMenu.slideDownCSS(SLIDE_DURATION,()=>$us.header.$container.trigger('contentChange'))}else{$subMenu.slideUpCSS(SLIDE_DURATION,()=>$us.header.$container.trigger('contentChange'))}},closeMobileMenuOnFocusIn:function(){const self=this;if(!$.contains(self.$container[0],document.activeElement)){self.closeMobileMenu()}},closeMobileMenu:function(){const self=this;if(self.type!=='mobile'){return}
550self.mobileNavOpened=!1;self.$mobileMenu.removeClass('active');$us.$html.removeClass('w-nav-open');self.$mobileMenu.attr('aria-expanded','false');if(self.$list&&self.layout==='dropdown'){self.$list.slideUpCSS(SLIDE_DURATION)}
551$us.mobileNavOpened--;self.$mobileMenu[0].focus();$us.$canvas.trigger('contentChange');$us.$document.off('focusin',self._events.closeMobileMenuOnFocusIn).off('mouseup touchend.noPreventDefault',self._events.closeOnClickOutside);self.setOpened(self.$items,!1)},closeMobileMenuOnClick:function(e){const self=this;const $menuItem=$(e.currentTarget).closest('.menu-item');const dropByLabel=$menuItem.hasClass('mobile-drop-by_label')||$menuItem.parents('.menu-item').hasClass('mobile-drop-by_label');const dropByArrow=$menuItem.hasClass('mobile-drop-by_arrow')||$menuItem.parents('.menu-item').hasClass('mobile-drop-by_arrow');if(self.type!=='mobile'||$us.header.isVertical()){return}
552if(dropByLabel||(self.opts.mobileBehavior&&$menuItem.hasClass('menu-item-has-children')&&!dropByArrow)){return}
553self.closeMobileMenu()},});$.extend(usNav.prototype,{setOpened:function($menuItems,opened){$menuItems.toggleClass('opened',!!opened).children('.w-nav-item-toggle').attr('aria-expanded',opened?'true':'false')},toggleSubMenu:function(e){const self=this;const $toggle=$(e.currentTarget);const $menuItem=$toggle.closest('.menu-item-has-children');e.preventDefault();e.stopPropagation();if(self.type==='mobile'){self.switchMobileSubMenu($menuItem,!$menuItem.hasClass('opened'));return}
554self.$itemsHasChildren.off('mouseover',self._events.closeOnMouseOver).one('mouseover',self._events.closeOnMouseOver);if($menuItem.hasClass('opened')){self.setOpened($menuItem,!1);return}
555self.setOpened(self.$itemsHasChildren.not($menuItem).not($menuItem.parents('.menu-item-has-children')),!1);self.setOpened($menuItem,!0)},forwardArrowClick:function(e){const self=this;if(self.type!=='mobile'){return}
556e.preventDefault();e.stopPropagation();const toggle=$(e.currentTarget).closest('.menu-item-has-children').children('.w-nav-item-toggle')[0];if(toggle){toggle.click()}},toggleMenuOnClick:function(e){const self=this;if(self.type==='mobile'){return}
557const $menuItem=$(e.currentTarget).closest('.menu-item');const isOpened=$menuItem.hasClass('opened');if(!self.keyboardNavEvent){e.preventDefault();e.stopPropagation()}else{return}
558self.setOpened($menuItem,!isOpened);if(!isOpened){self.closeOnMouseOver(e)}else{self.setOpened($('.menu-item-has-children.opened',$menuItem),!1)}},closeOnClickOutside:function(e){const self=this;if(self.mobileNavOpened&&self.type==='mobile'){if(!self.$mobileMenu.is(e.target)&&!self.$mobileMenu.has(e.target).length&&!self.$list.is(e.target)&&!self.$list.has(e.target).length){self.closeMobileMenu()}}else if(self.$itemsHasChildren.hasClass('opened')&&!$.contains(self.$container[0],e.target)){self.setOpened(self.$itemsHasChildren,!1)}},closeOnMouseOver:function(e){const self=this;if(self.type==='mobile'){return}
559const $target=$(e.target);const $itemHasChildren=$target.closest('.menu-item-has-children');const $menuItemLevel1=$target.closest('.menu-item.level_1');self.setOpened(self.$itemsHasChildren.not($itemHasChildren).not($itemHasChildren.parents('.menu-item-has-children')).not($menuItemLevel1),!1)},switchSidePanelTab:function(e){const $target=$(e.target);if(!$target.is('.w-nav-anchor.level_2')||!$target.closest('.menu-item.has_side_panel').length){return}
560e.preventDefault();const $tabs=$target.closest('.w-nav-list.level_2').children('.w-nav-item').children('.w-nav-anchor');const index=$tabs.index($target);if(index===-1){return}
561const shift=((e.keyCode||e.which)===$ush.DOWN_KEYCODE)?1:-1;$tabs.eq((index+shift+$tabs.length)%$tabs.length).focus()},updateDropDirection:function(e){const self=this;if(self.type!=='desktop'||$us.header.isVertical()){return}
562const $itemHasChildren=$(e.currentTarget).closest('.menu-item-has-children');const dropdown=$itemHasChildren.children('.w-nav-list')[0];if(!dropdown){return}
563if($itemHasChildren.closest('.menu-item.has_cols, .menu-item.has_side_panel, .menu-item.dropdown_full_width').length){return}
564const itemRect=$ush.$rect($itemHasChildren[0]);const isLevel1=$itemHasChildren.hasClass('level_1');const dropLeft=$ush.isRtl()?((isLevel1?itemRect.right:itemRect.left)-dropdown.offsetWidth<0):((isLevel1?itemRect.left:itemRect.right)+dropdown.offsetWidth>window.innerWidth);$itemHasChildren.toggleClass('drop_left',dropLeft)},handleKeyboardNav:function(e){const self=this;const keyCode=e.keyCode||e.which;const $target=$(e.target);const $menuItemLevel1=$target.closest('.menu-item.level_1');if(self.type==='mobile'){if(keyCode===$ush.SPACE_KEYCODE&&$target.is(self.$mobileMenu)){e.
564stopPropagation();self.toggleMobileMenu(e)}
565if(keyCode===$ush.TAB_KEYCODE){if(e.shiftKey&&self.$anchors.index($target)===0){self.closeMobileMenu()}}}
566if(self.type==='desktop'){if(keyCode===$ush.ESC_KEYCODE){if($menuItemLevel1.hasClass('opened')){$menuItemLevel1.children('.w-nav-item-toggle').focus()}
567self.setOpened(self.$items,!1)}
568if([$ush.UP_KEYCODE,$ush.DOWN_KEYCODE].includes(keyCode)){self.switchSidePanelTab(e)}
569self.keyboardNavEvent=!0;$ush.timeout(()=>{self.keyboardNavEvent=!1},1)}},resize:function(){const self=this;if(self.$container.length===0){return}
570const newType=(window.innerWidth<self.opts.mobileWidth)?'mobile':'desktop';if($us.header.orientation!==self.headerOrientation||newType!==self.type){self.$childLists.resetInlineCSS('display','height','opacity');if(self.headerOrientation==='hor'&&self.type==='mobile'){self.$list.resetInlineCSS('display','height','opacity')}
571self.setOpened(self.$items,!1);self.headerOrientation=$us.header.orientation;self.type=newType;self.$container.usMod('type',newType)}
572self.$list.removeClass('hide_for_mobiles')},});$.fn.usNav=function(){return this.each(function(){$(this).data('usNav',new usNav(this))})};$('.l-header .w-nav').usNav()}(jQuery);(function($){"use strict";$.fn.usMessage=function(){return this.each(function(){var $this=$(this),$closer=$this.find('.w-message-close');$closer.click(function(){$this.wrap('<div></div>');var $wrapper=$this.parent();$wrapper.css({overflow:'hidden',height:$this.outerHeight(!0)});$wrapper.performCSSTransition({height:0},300,function(){$wrapper.remove();$us.$canvas.trigger('contentChange')},'cubic-bezier(.4,0,.2,1)')})})};$(function(){$('.w-message').usMessage()})})(jQuery);!function($,undefined){"use strict";var _document=document,_window=window,_null=null;_window.$us=_window.$us||{};const _REGEXP_EXTRACT_COORDINATES_=/^(-?[\d\.]+),(-?[\d\.]+)$/;$us.wLmaps=function(container,options){var self=this;self.$container=$(container);if(self.$container.data('_inited')){return}
573self.$container.data('_inited',1);self._mapInstance=_null;self.cookieName=self.$container.data('cookie-name');self.options=options||{};self._events={confirmInit:self._confirmInit.bind(self),redraw:self._redraw.bind(self)};if(self.cookieName){self.$container.on('click','.action_confirm_load',self._events.confirmInit);return}
574self._init()};$.extend($us.wLmaps.prototype,{_confirmInit:function(){var self=this;if($('input[name^='+self.cookieName+']:checked',self.$container).length){$ush.setCookie(self.cookieName,1,365)}
575self.$container.html($ush.base64Decode($('script[type="text/template"]',self.$container).text())).removeAttr('data-cookie-name');self._init()},_init:function(){var self=this;var $mapJson=$('.w-map-json',self.$container);if($mapJson.is('[onclick]')){$.extend(self.options,$mapJson[0].onclick()||{});$mapJson.remove()}
576$us.$canvas.on('contentChange',self._events.redraw);self._beforeRender()},_beforeRender:function(){var self=this,address=(''+self.options.address),matches=$ush.removeSpaces(address).match(_REGEXP_EXTRACT_COORDINATES_);if(matches){self.center=[matches[1],matches[2]];self._render()}else{self._geocoder(address)}},_render:function(){var self=this,mapId=self.$container.attr('id'),lmapsOptions={center:self.center,zoom:self.options.zoom};if(self.options.hideControls){lmapsOptions.zoomControl=!1}
577if(self.options.disableZoom){lmapsOptions.scrollWheelZoom=!1}
578self._mapInstance=L.map(mapId,lmapsOptions);L.tileLayer(self.options.style,{attribution:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}).addTo(self._mapInstance);self._renderMarkers();if($us.usbPreview()||self.options.disableDragging&&!$us.$html.hasClass('no-touch')){self._mapInstance.dragging.disable()}},_geocoder:function(text,markerOptions,popup){var self=this,osmUrl='https://nominatim.openstreetmap.org/search?format=json&limit=1&q='+encodeURI(text);$.getJSON(osmUrl,$.noop).done(function(json){if(!json.length){return}
579var boundingBox=json[0].boundingbox;if(!markerOptions){self.center=[boundingBox[1],boundingBox[3]];self._render()}else{self.marker=L.marker([boundingBox[1],boundingBox[3]],markerOptions).addTo(self._mapInstance);if(popup){self.marker.bindPopup(popup)}}})},_redraw:function(){var self=this;if(!self._mapInstance||self.$container.is(':hidden')){return}
580$ush.timeout(self._mapInstance.invalidateSize.bind(self._mapInstance,!0),100)},_renderMarkers:function(){var self=this;if(!self.options.markers.length){return}
581var mainOptions={};for(var i=0;i<self.options.markers.length;i++){var item=self.options.markers[i];if(i==0){if(self.options.icon!=_null){var mainMarkerSizes=self.options.icon.size[0],markerImg=L.icon({iconUrl:self.options.icon.url,iconSize:mainMarkerSizes,});markerImg.options.iconAnchor=[mainMarkerSizes/2,mainMarkerSizes];markerImg.options.popupAnchor=[0,-mainMarkerSizes];mainOptions.icon=markerImg}
582var marker=L.marker(self.center,mainOptions).addTo(self._mapInstance);if(item.html){if(item.infowindow){marker.bindPopup(item.html).openPopup()}else{marker.bindPopup(item.html)}}}else{var markerOptions={};if(item.marker_img!=_null){var markerSizes=item.marker_size[0],markerImg=L.icon({iconUrl:item.marker_img[0],iconSize:markerSizes,});markerImg.options.iconAnchor=[markerSizes/2,markerSizes];markerImg.options.popupAnchor=[0,-markerSizes];markerOptions.icon=markerImg}else{markerOptions=mainOptions}
583var matches=$ush.removeSpaces(item.address).match(_REGEXP_EXTRACT_COORDINATES_);if(matches){self.marker=L.marker([matches[1],matches[2]],markerOptions).addTo(self._mapInstance);if(item.html){self.marker.bindPopup(item.html)}}else{self._geocoder(item.address,markerOptions,item.html)}}}}});$.fn.wLmaps=function(options){options=options||{};return this.each(function(){this._wLmaps=new $us.wLmaps(this,$ush.clone(options))})};$(function(){$('.w-map.provider_osm').wLmaps()})}(jQuery);(function($,_undefined){"use strict";const _window=window;const _document=document;const abs=Math.abs;
583const __debounce_fn_500ms=$ush.debounce($ush.fn,500);$us.PageScroller=function(container,options){this.init(container,options)};$us.PageScroller.prototype={init:function(container,options){var defaults={coolDown:100,animationDuration:1000,animationEasing:$us.getAnimationName('easeInOutExpo'),endAnimationEasing:$us.getAnimationName('easeOutExpo'),};this.options=$.extend({},defaults,options);this.$container=$(container);this.activeSection=0;this.sections=[];this.initialSections=[];this.hiddenSections=[];this.currHidden=[];this.dots=[];this.scrolls=[];this.usingDots=!1;this.footerReveal=$us.$body.hasClass('footer_reveal');this.isTouch=(('ontouchstart' in _window)||(navigator.msMaxTouchPoints>0)||(navigator.maxTouchPoints));this.disableWidth=(this.$container.data('disablewidth')!==_undefined)?this.$container.data('disablewidth'):768;this.hiddenClasses={'uvc_hidden-xs':[0,479],'uvc_hidden-xsl':[480,767],'uvc_hidden-sm':[768,991],'uvc_hidden-md':[992,1199],'uvc_hidden-ml':[1200,1823],'uvc_hidden-lg':[1824,99999],'vc_hidden-xs':[0,767],'vc_hidden-sm':[768,991],'vc_hidden-md':[992,1199],'vc_hidden-lg':[1200,99999],};if(this.$container.data('speed')!==_undefined){this.options.animationDuration=this.$container.data('speed')}
584this._events={destroy:this._destroy.bind(this),mouseWheelHandler:this._mouseWheelHandler.bind(this),resize:this.resize.bind(this),scroll:this.scroll.bind(this)};this._attachEvents();this.$container.on('usb.removeHtml',this._events.destroy)
585$us.$canvas.on('contentChange',$ush.debounce(this._events.resize,5));var _resize=$ush.debounce(this._events.resize,50);$us.$window.on('scroll.noPreventDefault',$ush.debounce(this._events.scroll,5)).on('resize',(_,stopExecute)=>{if(!stopExecute){_resize()}});$ush.timeout(this._init.bind(this),100)},is_popup:function(){return $us.$html.hasClass('us_popup_is_opened')},_add_dynamic_breakpoints:function(){var custom_breakpoints=$us.responsiveBreakpoints,default_breakpoints={'hide_on_mobiles':[0,767],'hide_on_tablets':[768,991],'hide_on_laptops':[992,1199],'hide_on_default':[1200,99999],};if(custom_breakpoints){default_breakpoints={'hide_on_mobiles':[0,custom_breakpoints.mobiles],'hide_on_tablets':[(custom_breakpoints.mobiles+1),custom_breakpoints.tablets],'hide_on_laptops':[(custom_breakpoints.tablets+1),custom_breakpoints.laptops],'hide_on_default':[(custom_breakpoints.laptops+1),9999]}}
586this.hiddenClasses=Object.assign(this.hiddenClasses,default_breakpoints)},_init:function(){if($us.header.isStatic()&&$us.header.isHorizontal()&&!$us.header.isTransparent()){$us.canvas.$header.each(function(){var $section=$us.canvas.$header,section={$section:$section,area:'header',};this._countPosition(section);this.sections.push(section);this.initialSections.push(section)}.bind(this))}
587this._add_dynamic_breakpoints();$('.l-main > .l-section, .l-footer > .l-section',$us.$canvas).each(function(key,elm){var $section=$(elm),section={$section:$section,hiddenBoundaries:[],area:'content',isSticky:$section.hasClass('type_sticky')},addedWidths=[];hidden:for(var i in this.hiddenClasses){if(this.hiddenClasses.hasOwnProperty(i)){var low=this.hiddenClasses[i][0],high=this.hiddenClasses[i][1];if($section.hasClass(i)){var addedWidthLength=addedWidths.length,j;addedWidths.push([low,high]);for(j=0;j<addedWidthLength;j ++){if(addedWidths[j][0]===low&&addedWidths[j][1]===high){break hidden}}
588section.hiddenBoundaries.push([low,high]);if(this.hiddenSections.indexOf(key)===-1){this.hiddenSections.push(key)}}}}
589this._countPosition(section,key);this.sections.push(section);this.initialSections.push(section)}.bind(this));this.lastContentSectionIndex=this.sections.length-1;$('.l-footer > .l-section').each(function(key,elm){var $section=$(elm),section={$section:$section,area:'footer',isSticky:$section.hasClass('type_sticky')};this._countPosition(section,key);this.sections.push(section);this.initialSections.push(section)}.bind(this));$ush.timeout(this.resize.bind(this),100);this.$dotsContainer=this.$container.find('.w-scroller-dots');if(this.$dotsContainer.length){this.usingDots=!0;this.$firstDot=this.$dotsContainer.find('.w-scroller-dot').first();this.redrawDots(!0);this.scroll()}},_destroy:function(){var self=this;$us.$document.off('mousewheel DOMMouseScroll MozMousePixelScroll');_document.removeEventListener('mousewheel',self._events.mouseWheelHandler);_document.removeEventListener('DOMMouseScroll',self._events.mouseWheelHandler);_document.removeEventListener('MozMousePixelScroll',self._events.mouseWheelHandler);$us.$canvas.off('touchstart touchmove')},isSectionHidden:function(section){if(!this.initialSections[section].hiddenBoundaries||!this.initialSections[section].hiddenBoundaries.length){return!1}
590var currWidth=_window.innerWidth,isHidden=!1;for(var i=0;i<this.initialSections[section].hiddenBoundaries.length;i ++){var low=this.initialSections[section].hiddenBoundaries[i][0],high=this.initialSections[section].hiddenBoundaries[i][1];if(currWidth>=low&&currWidth<=high){isHidden=!0;break}}
591return isHidden},redrawDots:function(inited){if(!this.usingDots||!this.$dotsContainer||!this.$dotsContainer.length){return!1}
592this.$dotsContainer.html('');for(var i=0;i<this.sections.length;i ++){if(this.sections[i].area==='footer'&&!this.$container.data('footer-dots')){continue}
593this.$firstDot.clone().appendTo(this.$dotsContainer)}
594this.$dots=this.$dotsContainer.find('.w-scroller-dot');this.$dots.each(function(key,elm){var $dot=$(elm);this.dots[key]=$dot;$dot.click(function(){this.scrollTo(key);this.$dots.removeClass('active');$dot.addClass('active')}.bind(this)).toggleClass('hidden',this.sections[key].isSticky&&$us.$window.width()>$us.canvas.options.columnsStackingWidth)}.bind(this));if(!!inited&&this.dots[this.activeSection]){this.dots[this.activeSection].addClass('active')}
595this.$dotsContainer.addClass('show')},recountSections:function(){if(this.currHidden){for(var initialSection in this.initialSections){this.sections[initialSection]=this.initialSections[initialSection]}}
596for(var i=this.hiddenSections.length-1;i>=0;i --){var indexOfTheItem=this.currHidden.indexOf(this.hiddenSections[i]);if(this.isSectionHidden(this.hiddenSections[i])){if(indexOfTheItem===-1){this.currHidden.push(this.hiddenSections[i])}
597this.sections.splice(this.hiddenSections[i],1)}else{this.currHidden.splice(indexOfTheItem,1)}}
598this.redrawDots(!0)},getScrollSpeed:function(number){var sum=0,lastElements=this.scrolls.slice(Math.max(this.scrolls.length-number,1));for(var i=0;i<lastElements.length;i ++){sum=sum+lastElements[i]}
599return Math.ceil(sum/number)},_mouseWheelHandler:function(e){const self=this;if($us.usbPreview()||self.is_popup()){return}
600e.preventDefault();var currentTime=$ush.time(),target=self.activeSection,direction=e.wheelDelta||-e.detail,speedEnd,speedMiddle,isAccelerating;if(self.scrolls.length>149){self.scrolls.shift()}
601self.scrolls.push(abs(direction));if((currentTime-self.previousMouseWheelTime)>self.options.coolDown){self.scrolls=[]}
602self.previousMouseWheelTime=currentTime;speedEnd=self.getScrollSpeed(10);speedMiddle=self.getScrollSpeed(70);isAccelerating=speedEnd>=speedMiddle;if(isAccelerating){if(direction<0){target ++}else if(direction>0){target --}
603if(self.sections[target]===_undefined){return}
604self.scrollTo(target);self.lastScroll=currentTime}},_attachEvents:function(){const self=this;self._destroy();if($us.$window.width()>self.disableWidth&&$us.mobileNavOpened<=0&&!$us.$html.hasClass('cloverlay_fixed')){_document.addEventListener('mousewheel',self._events.mouseWheelHandler,{passive:!1});_document.addEventListener('DOMMouseScroll',self._events.mouseWheelHandler,{passive:!1});_document.addEventListener('MozMousePixelScroll',self._events.mouseWheelHandler,{passive:!1});if($.isMobile||self.isTouch){self.touchStartPageY=0;self.touchClientX=0;self.touchClientY=0;$us.$canvas.on('touchstart.noPreventDefault',(e)=>{const originalEvent=e.originalEvent;if($ush.isUndefined(originalEvent.pointerType)||originalEvent.pointerType!=='mouse'){self.touchStartPageY=originalEvent.touches[0].pageY;self.touchClientX=originalEvent.touches[0].clientX;self.touchClientY=originalEvent.touches[0].clientY}});$us.$canvas.on('touchmove',(e)=>{e.preventDefault();const time=$ush.time();const originalEvent=e.originalEvent;const touchEndPageY=originalEvent.touches[0].pageY;var currentX=originalEvent.touches[0].clientX,currentY=originalEvent.touches[0].clientY,diffX=self.touchClientX-currentX,diffY=self.touchClientY-currentY;if(abs(diffX)>abs(diffY)){return}
605self.touchClientX=currentX;self.touchClientY=currentY;var target=self.activeSection;if(abs(self.touchStartPageY-touchEndPageY)>($us.$window.height()/50)){if(self.touchStartPageY>touchEndPageY){target ++}else if(touchEndPageY>self.touchStartPageY){target --}
606if($ush.isUndefined(self.sections[target])){return}
607self.scrollTo(target);self.lastScroll=time}})}}},_countPosition:function(section,key){section.top=section.$section.offset().top-$us.canvas.getOffsetTop();if(this.footerReveal&&section.area==='footer'&&key!==_undefined){if(_window.innerWidth>parseInt($us.canvasOptions.columnsStackingWidth)-1){if(this.sections[key-1]!==_undefined&&this.sections[key-1].area==='footer'){section.top=this.sections[key-1].bottom}else{var rowIndex=(this.sections[this.lastContentSectionIndex+key]!==_undefined)?this.lastContentSectionIndex+key:key-1;section.top=this.sections[rowIndex].bottom}}}
608section.bottom=section.top+section.$section.outerHeight(!1)},_countAllPositions:function(){var counter=0;for(var section in this.sections){if(this.sections[section].$section.length){this._countPosition(this.sections[section],counter)}
609counter ++}},scrollTo:function(target){var currentTime=$ush.time();if(this.previousScrollTime!==_undefined&&(currentTime-this.previousScrollTime<this.options.animationDuration)){return}
610this.previousScrollTime=currentTime;if(this.sections[target].isSticky&&$us.$window.width()>$us.canvas.options.columnsStackingWidth){if(target>this.activeSection){target+=1}else{target-=1}}
611if(this.usingDots){this.$dots.removeClass('active');if(this.dots[target]!==_undefined){this.dots[target].addClass('active')}}
612var top=Math.ceil(this.sections[target].top||0);if(top===Math.ceil($us.header.getScrollTop())){return}
613var animateOptions={duration:this.options.animationDuration,easing:this.options.animationEasing,start:function(){this.isScrolling=!0}.bind(this),always:function(){this.isScrolling=!1;this.activeSection=target}.bind(this),step:function(now,fx){var newTop=top;if($us.header.stickyEnabled()){newTop-=$us.header.getCurrentHeight(!0)}
614if(fx.end!==newTop){$us.$htmlBody.stop(!0,!1).animate({scrollTop:newTop},$.extend(animateOptions,{easing:this.options.endAnimationEasing}))}}.bind(this)};$us.$htmlBody.stop(!0,!1).animate({scrollTop:top},animateOptions)},resize:function(e){if(this.is_popup()){return!1}
615this._attachEvents();this.recountSections();$ush.timeout(this._countAllPositions.bind(this),150)},scroll:function(){if(this.is_popup()){return!1}
616var currentTime=$ush.time();if((currentTime-this.lastScroll)<(this.options.coolDown+this.options.animationDuration)){return}
617__debounce_fn_500ms(function(){var scrollTop=$ush.parseInt($us.$window.scrollTop());if($us.header.isPinned()){scrollTop+=$us.header.getCurrentHeight(!0)}
618for(var index in this.sections){var section=this.sections[index];if(scrollTop>=$ush.parseInt(section.top-1)&&scrollTop<$ush.parseInt(section.bottom-1)&&section.area==='content'&&this.activeSection!==index){this.activeSection=index}}
619if(this.usingDots){this.$dots.removeClass('active');if(this.dots[this.activeSection]!==_undefined){this.dots[this.activeSection].addClass('active')}}}.bind(this))}};$.fn.usPageScroller=function(options){return this.each(function(){$(this).data('usPageScroller',new $us.PageScroller(this,options))})};$(function(){$ush.timeout(()=>$('.w-scroller').usPageScroller(),0)})})(jQuery);!function($){"use strict";if($('.l-preloader').length){$('document').ready(function(){$ush.timeout(function(){$('.l-preloader').addClass('done')},500);$ush.timeout(function(){$('.l-preloader').addClass('hidden')},1000)})}}(jQuery);!function($,_undefined){"use strict";var _originalUrl;$us.usPopup=function(container){const self=this;self.$container=$(container);self.$content=$('.w-popup-box-content',self.$container);self.$closer=$('.w-popup-closer',self.$container);self._events={show:self.show.bind(self),afterShow:self.afterShow.bind(self),handleCloseViaButton:self.handleCloseViaButton.bind(self),handleCloseViaLink:self.handleCloseViaLink.bind(self),handleCloseViaWrap:self.handleCloseViaWrap.bind(self),afterHide:self.afterHide.bind(self),keyup:(e)=>{if(e.keyCode===$ush.ESC_KEYCODE){self.hide();self.$trigger[0].focus()}},scroll:()=>{$us.$document.trigger('scroll')},touchmove:(e)=>{self.savePopupSizes();if((self.popupSizes.wrapHeight>self.popupSizes.contentHeight)||$(e.target).closest('.w-popup-box').length===0){e.preventDefault()}},tabFocusTrap:self.tabFocusTrap.bind(self)};self.isDesktop=!jQuery.isMobile;self.forListItem=self.$container.hasClass('for_list-item');
619self.transitionEndEvent=(navigator.userAgent.search(/webkit/i)>0)?'webkitTransitionEnd':'transitionend';self.$trigger=$('.w-popup-trigger',self.$container);self.triggerType=self.$trigger.usMod('type');self.triggerOptions=$ush.toPlainObject(self.$trigger.data('options'));if(self.triggerType==='load'){let _timeoutHandle;if(self.$container.css('display')!=='none'){const delay=$ush.parseInt(self.triggerOptions.delay);_timeoutHandle=$ush.timeout(self.show.bind(self),delay*1000)}
620self.$container.on('usb.refreshedEntireNode',()=>{if(_timeoutHandle){$ush.clearTimeout(_timeoutHandle)}
621self.$overlay.remove();self.$wrap.remove()})}else if(self.triggerType==='selector'){const selector=self.$trigger.data('selector');if(selector){$us.$body.on('click',selector,self._events.show)}}else{self.$trigger.on('click',self._events.show)}
622self.$wrap=$('.w-popup-wrap',self.$container);self.$box=$('.w-popup-box',self.$container);self.$overlay=$('.w-popup-overlay',self.$container);self.$closer.on('click',self._events.handleCloseViaButton);self.$wrap.on('click','a',self._events.handleCloseViaLink).on('click',self._events.handleCloseViaWrap);self.$media=$('video,audio',self.$box);self.$wVideos=$('.w-video',self.$box);self.timer=null;self.ajaxData={action:'us_list_item_popup_content',};if(self.forListItem&&self.$container.is('[onclick]')){$.extend(self.ajaxData,self.$container[0].onclick()||{});self.ajaxData.post_id=self.$container.parents('.w-grid-item').attr('data-id');self.$container.removeAttr('onclick')}
623self.popupSizes={wrapHeight:0,contentHeight:0,}};$us.usPopup.prototype={isKeyboardUsed:function(e){return e.pointerType&&!['mouse','touch','pen'].includes(e.pointerType)},show:function(e){const self=this;if(e!==_undefined){e.preventDefault()}
624if(self.$content.is(':empty')){$ush.timeout(self.loadItemContent.bind(self))}
625if(self.triggerType==='load'&&!$us.usbPreview()){const uniqueId=$ush.toString(self.triggerOptions.uniqueId),cookieName='us_popup_'+uniqueId;if(uniqueId){if($ush.getCookie(cookieName)!==null){return}
626const daysUntilNextShow=$ush.parseFloat(self.triggerOptions.daysUntilNextShow);$ush.setCookie(cookieName,'shown',daysUntilNextShow||365)}}
627$ush.clearTimeout(self.timer);self.$overlay.appendTo($us.$body).show();self.$wrap.appendTo($us.$body).css('display','flex');if(!self.isDesktop){self.$wrap.on('touchmove',self._events.touchmove);$us.$document.on('touchmove',self._events.touchmove)}
628$us.$body.on('keyup',self._events.keyup);self.$wrap.on('scroll.noPreventDefault',self._events.scroll);self.timer=$ush.timeout(self._events.afterShow,25);$us.$document.on('keydown.usPopup',self._events.tabFocusTrap);$us.$document.trigger('usPopupOpened',[self.$container]);if(e){self.$closer[0].focus({preventScroll:!0})}},afterShow:function(){const self=this;$ush.clearTimeout(self.timer);self.$overlay.addClass('active');self.$box.addClass('active');if(window.$us!==_undefined&&$us.$canvas!==_undefined){$us.$canvas.trigger('contentChange',{elm:self.$container})}
629if(self.$wVideos.length){self.$wVideos.each((_,wVideo)=>{const $wVideoSource=$('[data-src]',wVideo);const $videoTag=$wVideoSource.parent('video');const src=$wVideoSource.data('src');if(!src){return}
630$wVideoSource.attr('src',src);if($videoTag.length>0){$videoTag[0].load()}})}
631$us.$window.trigger('resize');$us.$document.trigger('usPopup.afterShow',self)},loadItemContent:function(){const self=this;if(!self.forListItem){return}
632$.ajax({url:$us.ajaxUrl,type:'POST',dataType:'json',data:self.ajaxData,beforeSend:()=>{self.$content.html('<div class="g-preloader type_1"></div>')},success:(res)=>{if(res.success&&res.data){self.$content.html(res.data);$us.$document.trigger('usPopup.itemContentLoaded',self)}},})},hide:function(){const self=this;$ush.clearTimeout(self.timer);$us.$body.off('keyup',self._events.keyup);self.$overlay.on(self.transitionEndEvent,self._events.afterHide);self.$overlay.removeClass('active');self.$box.removeClass('active');self.$wrap.off('scroll.noPreventDefault',self._events.scroll);$us.$document.off('touchmove',self._events.touchmove);self.timer=$ush.timeout(self._events.afterHide,1000);$us.$document.off('keydown.usPopup')},handleCloseViaLink:function(e){const self=this;const $elm=$(e.currentTarget);const place=$elm.attr('href');if(place.indexOf('#')===-1){return}
633if(place!=='#'&&place.indexOf('#')===0&&$(place,self.$wrap).length>0){return}
634if($elm.hasClass('flex-prev')||$elm.hasClass('flex-next')){return}
635self.hide()},handleCloseViaButton:function(e){const self=this;e.stopPropagation();self.hide()
636if(self.isKeyboardUsed(e)){self.$trigger[0].focus()}},handleCloseViaWrap:function(e){const self=this;if(self.$box.has(e.target).length===0){self.hide()}
637if(self.isKeyboardUsed(e)){self.$trigger[0].focus()}},afterHide:function(){const self=this;$ush.clearTimeout(self.timer);self.$overlay.off(self.transitionEndEvent,self._events.afterHide);self.$overlay.appendTo(self.$container).hide();self.$wrap.appendTo(self.$container).hide();$us.$document.trigger('usPopupClosed');$us.$window.trigger('resize',!0).trigger('usPopup.afterHide',self);if(self.$media.length>0){self.$media.trigger('pause')}
638if(self.$wVideos.length){self.$wVideos.each((_,wVideo)=>{const $wVideoSource=$('[src]',wVideo);if(!$wVideoSource.data('src')){$wVideoSource.attr('data-src',$wVideoSource.attr('src'))}
639$wVideoSource.attr('src','')})}},savePopupSizes:function(){const self=this;self.popupSizes.wrapHeight=self.$wrap.height();self.popupSizes.contentHeight=self.$content.outerHeight(!0)},tabFocusTrap:function(e,$wrap,$popupCloser,triggerElm){const self=this;self.$wrap=$wrap||self.$wrap;self.$closer=$popupCloser||self.$closer;if(self.$wrap.hasClass('l-popup')){$us.$document.on('usPopupClosed',()=>{if($ush.isNode(triggerElm)){triggerElm.focus()}})}
640if(e.keyCode!==$ush.TAB_KEYCODE){return}
641const focusableSelectors=['a[href]','area[href]','input:not([disabled])','select:not([disabled])','textarea:not([disabled])','button:not([disabled])','iframe','object','embed','[tabindex]:not([tabindex="-1"])','[contenteditable]','video[controls] source'].join();const $focusable=$(focusableSelectors,self.$wrap).filter((_,node)=>{if($(node).is('video[controls], source')){return!0}
642return $(node).is(':visible')});if(!$focusable.length){e.preventDefault();self.$closer[0].focus();return}
643const firstElement=$focusable.first()[0];const lastElement=$focusable.last()[0];const target=e.target;if(!$.contains(self.$wrap[0],target)&&$us.$html.hasClass('us_popup_is_opened')&&!$(target).hasClass('w-popup-closer')){e.preventDefault();if(e.shiftKey){lastElement.focus()}else{firstElement.focus()}
644return}
645if(e.shiftKey&&target===firstElement){e.preventDefault();lastElement.focus()}else if(!e.shiftKey&&target===lastElement){e.preventDefault();firstElement.focus()}}};$.extend($us.usPopup.prototype,{popupPost:function(gridList){if(!gridList.hasClass('open_items_in_popup')){return}
646const self=this;self.gridList=gridList;self.$popupPost=$('.l-popup',gridList);self.$popupPostBox=$('.l-popup-box',self.$popupPost);self.$popupPostFrame=$('.l-popup-box-content-frame',self.$popupPost);self.$popupPostToPrev=$('.l-popup-arrow.to_prev',self.$popupPost);self.$popupPostToNext=$('.l-popup-arrow.to_next',self.$popupPost);self.$popupPostCloser=$('.l-popup-closer',self.$popupPost);self.$list=$('.w-grid-list',gridList);$.extend(self._events,{closePostInPopup:self.closePostInPopup.bind(self),closePostInPopupByEsc:self.closePostInPopupByEsc.bind(self),loadPostInPopup:self.loadPostInPopup.bind(self),navInPopup:self.navInPopup.bind(self),openPostInPopup:self.openPostInPopup.bind(self),setPostInPopup:self.setPostInPopup.bind(self)});$us.$body.append(self.$popupPost);self.$list.on('click','.w-grid-item:not(.custom-link) .w-grid-item-anchor',self._events.openPostInPopup);self.$popupPostFrame.on('load',self._events.loadPostInPopup);self.$popupPost.on('click','.l-popup-arrow',self._events.navInPopup).on('click','.l-popup-closer, .l-popup-box',self._events.closePostInPopup)},setPostInPopup:function(index){const self=this;var $node=$('> *:eq('+$ush.parseInt(index)+')',self.$list);if(self.gridList.hasClass('type_carousel')){$node=$('.owl-item:eq('+$ush.parseInt(index)+')',self.$list)}
647const url=$ush.toString($('[href]:first',$node).attr('href'));if(!url){console.error('No url to loaded post');return}
648const $prev=$node.prev(':not(.custom-link)');const $next=$node.next(':not(.custom-link)');var pageTemplate=self.$popupPostBox.data('page-template');pageTemplate=pageTemplate?`&us_popup_page_template=${pageTemplate}`:'';self.$popupPostToPrev.data('index',$prev.index()).attr('title',$('.post_title',$prev).text()).toggleClass('hidden',!$prev.length);self.$popupPostToNext.data('index',$next.index()).attr('title',$('.post_title',$next).text()).toggleClass('hidden',!$next.length);self.$popupPostBox.addClass('loading');self.$popupPostBox.off('transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd');self.$popupPostFrame.attr('src',url+(url.includes('?')?'&':'?')+'us_iframe=1'+pageTemplate);history.replaceState(null,null,url)},openPostInPopup:function(e){const self=this;if($us.$window.width()<=$us.canvasOptions.disablePostPopupWidth){return}
649e.stopPropagation();e.preventDefault();if(!_originalUrl){_originalUrl=location.href}
650if(self.gridList.hasClass('type_carousel')){self.setPostInPopup($(e.target).closest('.owl-item').index())}else{self.setPostInPopup($(e.target).closest('.w-grid-item').index())}
651self.$popupPost.addClass('active');self.$popupPostBox.addClass('loading');$us.$document.trigger('usPopupOpened',[self.$popupPost,self.$popupPostCloser,e.target]);$ush.timeout(()=>{self.$popupPostBox.addClass('show')},25)},loadPostInPopup:function(){const self=this;self.$popupPost.on('keyup.usCloseLightbox',self._events.closePostInPopupByEsc);$('body',self.$popupPostFrame.contents()).on('keyup.usCloseLightbox',self._events.closePostInPopupByEsc)},navInPopup:function(e){this.setPostInPopup($(e.target).data('index'))},closePostInPopup:function(){const self=this;self.$popupPost.addClass('closing');self.$popupPostFrame.attr('src','about:blank');self.$popupPostBox.removeClass('show').one('transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd',$ush.debounce(()=>{self.$popupPost.removeClass('active closing');self.$popupPostToPrev.addClass('hidden');self.$popupPostToNext.addClass('hidden');$us.$document.trigger('usPopupClosed')},1));self.$popupPost.off('keyup.usCloseLightbox');if(_originalUrl){history.replaceState(null,null,_originalUrl)}},closePostInPopupByEsc:function(e){const self=this;if(e.keyCode===$ush.ESC_KEYCODE&&self.$popupPost.hasClass('active')){self.closePostInPopup()}},});$.fn.usPopup=function(options){return this.each(function(){$(this).data('usPopup',new $us.usPopup(this,options))})};$(()=>$('.w-popup').usPopup());$us.$document.on('usPostList.itemsLoaded usGrid.itemsLoaded',(_,$items)=>{$('.w-popup',$items).usPopup()});$us.$document.on('usPopupOpened',(e,$popup,$popupCloser,triggerElm)=>{if($popup.hasClass('l-popup')){if(e){$popupCloser[0].focus({preventScroll:!0})}
652$us.$document.on('keydown.usPopup',(e)=>{$us.usPopup.prototype.tabFocusTrap(e,$popup,$popupCloser,triggerElm)})}});$us.$document.on('usPopupClosed',()=>$us.$document.off('keydown.usPopup'))}(jQuery);(function($,_undefined){"use strict";const DELETE_FILTER=null;function usPostList(container){const self=this;self.data={paged:1,max_num_pages:1,paginationBase:'page',pagination:'none',ajaxUrl:$us.ajaxUrl,ajaxData:{us_ajax_list_pagination:1,},facetedFilter:{},};self.listFilterUid=null;self.isScrollToListEnabled=!1;self.uid=$ush.uniqid();self.xhr;self.$container=$(container);self.$list=$('.w-grid-list',container);self.$loadmore=$('.g-loadmore',container);self.$pagination=$('nav.pagination',container);self.$none=self.$container.next('.w-grid-none');self.$pageContent=$('main#page-content');self.isCurrentQuery=self.$container.hasClass('for_current_wp_query');const $opts=$('.w-grid-list-json:first',container);if($opts.is('[onclick]')){$.extend(self.data,$opts[0].onclick()||{})}
653$opts.remove();self.paginationType=$ush.toString(self.data.pagination);self.PAGE_URL_PATTERN=new RegExp(`\/${self.data.paginationBase}\/?([\\d]{1,})\/?`);self._events={addNextPage:self.addNextPage.bind(self),switchNumPage:self.switchNumPage.bind(self),initMagnificPopup:self.initMagnificPopup.bind(self),usListOrder:self.usListOrder.bind(self),usListSearch:self.usListSearch.bind(self),usListFilter:self.usListFilter.bind(self),usbReloadIsotopeLayout:self.usbReloadIsotopeLayout.bind(self),};if(self.paginationType==='load_on_btn'){self.$loadmore.on('mousedown','button',self._events.addNextPage)}
653else if(self.paginationType==='load_on_scroll'){$us.waypoints.add(self.$loadmore,'-70%',self._events.addNextPage)}else if(self.paginationType==='numbered_ajax'){self.$container.on('click','a.page-numbers',self._events.switchNumPage)}
654self.$container.add(self.$none).on('usListSearch',self._events.usListSearch).on('usListOrder',self._events.usListOrder).on('usListFilter',self._events.usListFilter);self.$list.on('click','[ref=magnificPopup]',self._events.initMagnificPopup)
655if($('[ref=magnificPopupList]:first',self.$list).length){self.initMagnificPopupList()}
656if(self.$container.hasClass('open_items_in_popup')){self.popupPost=new $us.usPopup();self.popupPost.popupPost(self.$container)}
657if(self.$container.hasClass('type_masonry')){self.$list.imagesLoaded(()=>{const isotopeOptions={itemSelector:'.w-grid-item',layoutMode:(self.$container.hasClass('isotope_fit_rows'))?'fitRows':'masonry',isOriginLeft:!$('.l-body').hasClass('rtl'),transitionDuration:0};var columnWidth;if($('.size_1x1',self.$list).length>0){columnWidth='.size_1x1'}else if($('.size_1x2',self.$list).length>0){columnWidth='.size_1x2'}else if($('.size_2x1',self.$list).length>0){columnWidth='.size_2x1'}else if($('.size_2x2',self.$list).length>0){columnWidth='.size_2x2'}
658if(columnWidth){columnWidth=columnWidth||'.w-grid-item';isotopeOptions.masonry={columnWidth:columnWidth}}
659self.$list.on('layoutComplete',()=>{if(_window.USAnimate){$('.w-grid-item.off_autostart',self.$list).removeClass('off_autostart');new USAnimate(self.$list)}
660$us.$window.trigger('scroll.waypoints')});self.$list.isotope(isotopeOptions);$us.$canvas.on('contentChange',()=>{self.$list.imagesLoaded(()=>{self.$list.isotope('layout')})})});self.$container.on('usbReloadIsotopeLayout',self._events.usbReloadIsotopeLayout)}
661self.initListResultCounter()}
662$.extend(usPostList.prototype,{usListSearch:function(e,name,value){this.applyFilter(name,value)},usListOrder:function(e,values){const self=this;$.each(values,self.applyFilter.bind(self))},usListFilter:function(e,values){const self=this;$.each(values,self.applyFilter.bind(self))},addNextPage:function(){const self=this;if($ush.isUndefined(self.xhr)&&!self.$none.is(':visible')){self.data.paged+=1;self.addItems()}},switchNumPage:function(e){const self=this;e.preventDefault();if($ush.isUndefined(self.xhr)&&self.$none.is(':visible')){return}
663const pageNum=$ush.parseInt(($ush.toString(e.currentTarget.href).match(self.PAGE_URL_PATTERN)||[])[1]||1);self.setPageNumInHistory(pageNum);self.data.paged=pageNum;self.addItems()},setPageNumInHistory:function(pageNum){const self=this;const pathname=location.pathname;const isFirstPage=pageNum<2;const pageStructure=`${self.data.paginationBase}/${pageNum}/`;var updatedPath;if(self.PAGE_URL_PATTERN.test(pathname)){updatedPath=isFirstPage?pathname.replace(self.PAGE_URL_PATTERN,'')+'/':pathname.replace(self.PAGE_URL_PATTERN,'/'+pageStructure)}else if(pageNum>1){updatedPath=pathname+pageStructure}else{updatedPath=pathname}
664const method=isFirstPage?'pushState':'replaceState';history[method]({},'',location.href.replace(pathname,updatedPath))},applyFilter:function(name,value){const self=this;if($ush.toString(value)=='{}'){value=DELETE_FILTER}
665if(name==='list_filters'){$.extend(value,JSON.parse(self.data.ajaxData[name]||'{}'));self.data.ajaxData[name]=JSON.stringify(value);return}
666if(name==='list_filter_uid'){self.listFilterUid=value;return}
667if(name==='scroll_to_list'){self.isScrollToListEnabled=value;return}
668self.setPageNumInHistory(1);self.data.paged=1;if(self.isCurrentQuery){self.data.ajaxUrl=$ush.urlManager(self.data.ajaxUrl).set(name,value).toString()}else if(value===DELETE_FILTER){delete self.data.ajaxData[name]}else{self.data.ajaxData[name]=value}
669if(!$ush.isUndefined(self.xhr)){self.xhr.abort()}
670self.addItems(!0)},scrollToList:function(){const self=this;if(self.data.paged>1||!self.isScrollToListEnabled){return}
671const offsetTop=$ush.parseInt(self.$container.offset().top);if(!offsetTop){return}
672const scrollTop=$us.$window.scrollTop();if(!$ush.isNodeInViewport(self.$container[0])||offsetTop>=(scrollTop+window.innerHeight)||scrollTop>=offsetTop){$us.$htmlBody.stop(!0,!1).animate({scrollTop:(offsetTop-$us.header.getInitHeight())},500)}},addItems:function(listFiltersApplied){const self=this;if(!listFiltersApplied&&self.data.paged>self.data.max_num_pages){return}
673self.$container.removeClass('no_results').addClass('loading_items');if(listFiltersApplied){self.$container.addClass('filtering');self.$loadmore.removeClass('hidden')}
674var ajaxUrl=$ush.toString(self.data.ajaxUrl),ajaxData=$ush.clone(self.data.ajaxData),numPage=$ush.rawurlencode('{num_page}');if(ajaxUrl.includes(numPage)){ajaxUrl=ajaxUrl.replace(numPage,self.data.paged)}else if(ajaxData.template_vars){ajaxData.template_vars=JSON.stringify(ajaxData.template_vars);ajaxData.paged=self.data.paged}
675self.xhr=$.ajax({type:'post',url:ajaxUrl,dataType:'html',cache:!1,data:ajaxData,success:(htmlContent)=>{if(listFiltersApplied){if(self.$container.hasClass('type_masonry')){self.$list.isotope('remove',$('.w-gri
675d-item',self.$list)).isotope('layout')}
676self.$list.html('');self.$none.addClass('hidden')}
677const $htmlContent=$(htmlContent);$('.w-grid.us_post_carousel, .w-grid.us_product_carousel',$htmlContent).remove();if(self.paginationType=='numbered_ajax'){const numPagination=$ush.toString($('nav.pagination.navigation',$htmlContent).html());self.$pagination.toggleClass('hidden',!numPagination).html(numPagination);self.$list.html('')}
678var $listJson=$('.w-grid-list-json:first',$htmlContent);if($listJson.is('[onclick]')){if($listJson[0].onclick===null){$listJson[0].onclick=new Function($listJson.attr('onclick'))}
679$.extend(!0,self.data,$listJson[0].onclick()||{})}
680var $items=$htmlContent.find('.w-grid-list').first().children();$ush.timeout(()=>{const data={postListUid:self.uid,listFilterUid:self.listFilterUid,listFiltersApplied:listFiltersApplied,};$us.$document.trigger('usPostList.itemsLoaded',[$items,data])},50);if(!$items.length){if(!self.$none.length){self.$none=$('.w-grid-none:first',$htmlContent);if(!self.$none.length){self.$none=$htmlContent.filter('.w-grid-none:first')}
681self.$container.after(self.$none)}
682self.$container.removeClass('loading_items filtering').addClass('no_results');self.$none.removeClass('hidden');return}
683if(self.$container.hasClass('type_masonry')){self.$list.isotope('insert',$items).isotope('reloadItems')}else{self.$list.append($items)}
684if(window.USAnimate&&self.$container.hasClass('with_css_animation')){new USAnimate(self.$list);$us.$window.trigger('scroll.waypoints')}
685if(self.paginationType=='numbered'){const $pagination=$('nav.pagination',$htmlContent);if($pagination.length&&!self.$pagination.length){self.$list.after($pagination.prop('outerHTML'));self.$pagination=self.$list.next('nav.pagination')}
686if(self.$pagination.length&&$pagination.length){self.$pagination.html($pagination.html()).removeClass('hidden')}else{self.$pagination.addClass('hidden')}}
687if(self.data.paged>=self.data.max_num_pages){self.$loadmore.addClass('hidden')}else{self.$loadmore.removeClass('hidden')}
688if(self.paginationType==='load_on_scroll'){$us.waypoints.add(self.$loadmore,'-70%',self._events.addNextPage)}
689$us.$canvas.trigger('contentChange')},complete:()=>{self.$container.removeClass('loading_items filtering');delete self.xhr;if(self.paginationType==='load_on_scroll'){$us.$window.trigger('scroll.waypoints')}
690self.scrollToList()}})},usbReloadIsotopeLayout:function(){const self=this;if(self.$container.hasClass('with_isotope')){self.$list.isotope('layout')}},});$.extend(usPostList.prototype,{initListResultCounter:function(){const self=this;const listResultCounterOpts=[];const $firstList=$(`
691				.w-grid.us_post_list:visible,
692				.w-grid.us_product_list:visible,
693				.w-grid-none:visible
694			`,self.$pageContent).first();self.$listResultCounter=$('.w-list-result-counter');if(!(self.$listResultCounter.length)){return}
695self.$listResultCounter.each((_,node)=>{const $node=$(node);if(!$node.is('[onclick]')){return}
696const opts=node.onclick()||{};if(self.$container[0]!==$firstList[0]){if(!self.$container.is(String(opts.listSelectorToCount))){return}}else if(opts.listSelectorToCount&&!self.$container.is(String(opts.listSelectorToCount))){return}
697opts.$listResultCounter=$node;listResultCounterOpts.push(opts)});self._events.updateCountResults=function(_,$items,data){if(data.postListUid===self.uid){$.each(listResultCounterOpts,(_,opts)=>{const foundPosts=(self.paginationType==='none')?$('> *',self.$list).length:self.data.ajaxData.found_posts;self.countResult(foundPosts,opts)})}};$us.$document.on('usPostList.itemsLoaded',self._events.updateCountResults);const numAjaxParams=Object.keys($ush.urlManager(self.data.ajaxUrl).toJson(!1)).length;if(self.data.facetedFilter.query_args_unfiltered){$.ajax({url:$us.ajaxUrl,type:'POST',dataType:'json',data:{action:'us_list_result_counter_total',query_args_unfiltered:self.data.facetedFilter.query_args_unfiltered,_us_nonce:self.data.facetedFilter._us_nonce,},success:(res)=>{if(!res.success){console.error(res.data.message);return}
698$.each(listResultCounterOpts,(_,opts)=>{var total;if(res.data.total_unfiltered){total=res.data.total_unfiltered}else if(self.paginationType==='none'){total=$('> *',self.$list).length}else{total=self.data.ajaxData.found_posts}
699$('.total-unfiltered',opts.$listResultCounter).text(total)});$.each(listResultCounterOpts,(_,opts)=>{if(opts.totalUnfiltered!==res.data.total_unfiltered&&self.paginationType!=='none'&&numAjaxParams<=1){self.countResult(self.data.ajaxData.found_posts,opts)}})},})}
700if(self.paginationType==='none'&&numAjaxParams<=1){$.each(listResultCounterOpts,(_,opts)=>{self.countResult($('> *',self.$list).length,opts)})}
701if(self.paginationType==='numbered'){if(!(numAjaxParams<1)){$.each(listResultCounterOpts,(_,opts)=>{self.countResult(self.data.ajaxData.found_posts,opts)})}}else if(!(numAjaxParams<=1)){const total=(self.paginationType==='none')?$('>
701 *',self.$list).length:self.data.ajaxData.found_posts;$.each(listResultCounterOpts,(_,opts)=>{self.countResult(total,opts)})}},countResult:function(total,opts){const self=this;if(!self.$listResultCounter.length||$us.usbPreview()){return}
702const $listResultCounter=opts.$listResultCounter;const $noResultsSpan=$('.no-results',$listResultCounter);const $oneResultSpan=$('.one-result',$listResultCounter);const $mainSpan=$('span:first-child',$listResultCounter);const perPage=self.isCurrentQuery?opts.perPage:self.data.ajaxData.per_page;$listResultCounter.show();$mainSpan.removeClass('hidden');$noResultsSpan.addClass('hidden');$oneResultSpan.addClass('hidden');const lower=['load_on_scroll','load_on_btn'].includes(self.paginationType)?1:(self.data.paged-1)*perPage+1;const upper=self.paginationType==='none'?$('> *',self.$list).length:Math.min(total,self.data.paged*perPage);if(total===1){$mainSpan.addClass('hidden');$oneResultSpan.removeClass('hidden')}else if(total===0){if($noResultsSpan.length){$mainSpan.addClass('hidden');$noResultsSpan.removeClass('hidden')}else{$listResultCounter.hide()}}else{$('.lower',$listResultCounter).text(lower);$('.upper',$listResultCounter).text(upper);$('.total',$listResultCounter).text(total)}},});$.extend(usPostList.prototype,{initMagnificPopup:function(e){e.stopPropagation();e.preventDefault();const $target=$(e.currentTarget);if($target.data('magnificPopup')===_undefined){$target.magnificPopup({type:'image',mainClass:'mfp-fade'});$target.trigger('click')}},initMagnificPopupList:function(){const self=this;const globalOpts=$us.langOptions.magnificPopup;self.$list.magnificPopup({type:'image',delegate:'a[ref=magnificPopupList]:visible',gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1],tPrev:globalOpts.tPrev,tNext:globalOpts.tNext,tCounter:globalOpts.tCounter},image:{titleSrc:'aria-label'},removalDelay:300,mainClass:'mfp-fade',fixedContentPos:!0,})},});$.fn.usPostList=function(){return this.each(function(){$(this).data('usPostList',new usPostList(this))})};$(()=>$('.w-grid.us_post_list, .w-grid.us_product_list').usPostList())})(jQuery);!function($,_undefined){"use strict";const DELETE_FILTER=null;const urlManager=$ush.urlManager();const urlParam='_s';function usListSearch(container){const self=this;self._events={searchTextChanged:self.searchTextChanged.bind(self),formSubmit:self.formSubmit.bind(self),};self.$container=$(container);self.$input=$('input',container);self.$pageContent=$('main#page-content');self.$message=$('.w-search-message',container);self.name=self.$input.attr('name');self.listSelector=$ush.toString(self.$container.data('selector')).trim();if(self.changeURLParams()){let urlValue=urlManager.get(urlParam);if(!$ush.isUndefined(urlValue)){self.$input.val(urlValue)}}
703self.$container.on('input','input',$ush.throttle(self._events.searchTextChanged,300,!1)).on('click','buttom',self._events.searchTextChanged).on('submit','form',self._events.formSubmit);$us.$document.on('keypress',(e)=>{if(self.$input.is(':focus')&&e.keyCode===$ush.ENTER_KEYCODE){e.preventDefault();self.searchTextChanged(e)}})}
704$.extend(usListSearch.prototype,{changeURLParams:function(){return this.$container.hasClass('change_url_params')},formSubmit:function(e){e.preventDefault();this.searchTextChanged(e)},searchTextChanged:function(e){const self=this;var $listToSearch;if(self.listSelector){$listToSearch=$(self.listSelector,self.$pageContent)}else{$listToSearch=$(`
705				.w-grid.us_post_list:visible,
706				.w-grid.us_product_list:visible,
707				.w-grid-none:visible
708			`,self.$pageContent).first()}
709if($listToSearch.hasClass('w-grid')){self.$message.addClass('hidden').text('');$listToSearch.addClass('used_by_list_search')}else if(!$listToSearch.hasClass('w-grid-none')){self.$message.html('No suitable list found. Add <b>Post List</b> or <b>Product List</b> elements.').removeClass('hidden')}
710if(e.type==='input'&&!self.$container.hasClass('live_search')){return}
711let value=self.$input.val();if(value===''){value=DELETE_FILTER}
712if(value===self.lastValue){return}
713self.lastValue=value;if(self.changeURLParams()){urlManager.set(urlParam,value).push()}
714$listToSearch.trigger('usListSearch',[urlParam,value])}});$.fn.usListSearch=function(){return this.each(function(){$(this).data('usListSearch',new usListSearch(this))})};$(()=>{$('.w-search.for_list').usListSearch()})}(jQuery);!function($,_undefined){"use strict";const DELETE_FILTER=null;const urlManager=$ush.urlManager();function usListOrder(container){const self=this;self._events={selectChanged:self._selectChanged.bind(self),};self.$container=$(container);self.$pageContent=$('main#page-content');if(self.changeURLParams()){var urlValue=urlManager.get('_orderby');if(!$ush.isUndefined(urlValue)){$('select',container).val(urlValue)}}
715self.$container.on('change','select',self._events.selectChanged)}
716$.extend(usListOrder.prototype,{changeURLParams:function(){return this.$container.hasClass('change_url_params')},_selectChanged:function(e){const self=this;const $firstList=$(`
717				.w-grid.us_post_list:visible,
718				.w-grid.us_product_list:visible,
719				.w-grid-none:visible
720			`,self.$pageContent).first();if($firstList.hasClass('w-grid')){$firstList.addClass('used_by_list_order')}
721var value=e.target.value;if(value===''){value=DELETE_FILTER}
722if(value===self.lastValue){return}
723self.lastValue=value;if(self.changeURLParams()){urlManager.set('_orderby',value).push()}
724$firstList.trigger('usListOrder',[{'scroll_to_list':self.$container.hasClass('scroll_to_list'),'_orderby':value,}])}});$.fn.usListOrder=function(){return this.each(function(){$(this).data('usListOrder',new usListOrder(this))})};$(()=>$('.w-order.for_list').usListOrder())}(jQuery);!function($,_undefined){"use strict";const abs=Math.abs;const max=Math.max;const min=Math.min;const urlManager=$ush.urlManager();const PREFIX_FOR_URL_PARAM='_';const FACETED_PARAM='_f';const RANGE_VALUES_BY_DEFAULT=[0,1000];const DELETE_FILTER=null;function parseValues(values){values=$ush.toString(values);if(!values||!values.includes('-')){return RANGE_VALUES_BY_DEFAULT}
725return values.split('-').map($ush.parseFloat)}
726function usListFilter(container){const self=this;self._events={applyFilterToList:$ush.debounce(self.applyFilterToList.bind(self),1),checkScreenStates:$ush.debounce(self.checkScreenStates.bind(self),10),closeMobileVersion:self.closeMobileVersion.bind(self),getItemV
726alues:$ush.debounce(self.getItemValues.bind(self),0),hideItemDropdown:self.hideItemDropdown.bind(self),openMobileVersion:self.openMobileVersion.bind(self),resetItemValues:self.resetItemValues.bind(self),searchItemValues:self.searchItemValues.bind(self),showMoreValues:self.showMoreValues.bind(self),toggleItemSection:self.toggleItemSection.bind(self),navUsingKeyPress:$ush.debounce(self.navUsingKeyPress.bind(self),0),};self.$container=$(container);self.$pageContent=$('main#page-content');if(!self.isVisible()){return}
727self.$titles=$('.w-filter-item-title',self.$container);self.$listCloser=$('.w-filter-list-closer',self.$container);self.$opener=$('.w-filter-opener',self.$container);self.data={mobileWidth:600,listSelectorToFilter:null,ajaxData:{},};self.filters={};self.result={};self.lastResult;self.xhr;self.isFacetedFiltering=self.$container.hasClass('faceted_filtering');self.hidePostCount=self.$container.hasClass('hide_post_count');self.uid=$ush.uniqid();if(self.$container.is('[onclick]')){$.extend(self.data,self.$container[0].onclick()||{})}
728$('.type_date_picker',self.$container).each((_,filter)=>{var $start=$('input:eq(0)',filter),$end=$('input:eq(1)',filter),$startContainer=$start.parent(),$endContainer=$start.parent(),startOptions={},endOptions={};if($startContainer.is('[onclick]')){startOptions=$startContainer[0].onclick()||{}}
729if($endContainer.is('[onclick]')){endOptions=$endContainer[0].onclick()||{}}
730$start.datepicker($.extend(!0,{isRTL:$ush.isRtl(),dateFormat:$start.data('date-format'),beforeShow:(_,inst)=>{inst.dpDiv.addClass('for_list_filter')},onSelect:()=>{$start.trigger('change')},onClose:(_,inst)=>{$end.datepicker('option','minDate',inst.input.datepicker('getDate')||null)},},startOptions));$end.datepicker($.extend(!0,{isRTL:$ush.isRtl(),dateFormat:$end.data('date-format'),beforeShow:(_,inst)=>{inst.dpDiv.addClass('for_list_filter')},onSelect:()=>{$start.trigger('change')},onClose:(_,inst)=>{$start.datepicker('option','maxDate',inst.input.datepicker('getDate')||null)},},endOptions));function changePosDatepicker(e){if(!$us.$body.hasClass('us_filter_open')){return}
731const $datepicker=$('#ui-datepicker-div.for_list_filter');const datepickerHeight=$datepicker.outerHeight();const inputBounds=$ush.$rect(e.currentTarget);if(window.innerHeight-(inputBounds.top+datepickerHeight)>0){$datepicker.css({top:(inputBounds.top+inputBounds.height)})}else{$datepicker.css({top:(inputBounds.top-datepickerHeight)})}}
732$start.on('click',changePosDatepicker);$end.on('click',changePosDatepicker)});$('.type_range_slider',self.$container).each((_,filter)=>{function showFormattedResult(_,ui){$('.for_min_value, .for_max_value',filter).each((i,node)=>{$(node).html(self.numberFormat(ui.values[i],opts))})}
733const $slider=$('.ui-slider',filter);var opts={slider:{animate:!0,min:RANGE_VALUES_BY_DEFAULT[0],max:RANGE_VALUES_BY_DEFAULT[1],range:!0,step:10,values:RANGE_VALUES_BY_DEFAULT,slide:showFormattedResult,change:showFormattedResult,stop:$ush.debounce((_,ui)=>{$('input[type=hidden]',filter).val(ui.values.join('-')).trigger('change')}),create:$ush.debounce((e)=>{if(self.$container.hasClass('loaded_from_cache')){const $target=$(e.target);$target.slider('values',$target.data('uiSlider').values())}},1)},unitFormat:'%d',numberFormat:null,};if($slider.is('[onclick]')){opts=$.extend(!0,opts,$slider[0].onclick()||{})}
734$slider.removeAttr('onclick').slider(opts.slider).fixSlider();$(filter).data('opts',opts)});$('.type_range_input',self.$container).each((_,filter)=>{const $opts=$('.for_range_input_options',filter);if($opts.length&&$opts.is('[onclick]')){const opts=$opts[0].onclick()||{};$(filter).data('opts',opts)}});$('[data-name]',self.$container).each((_,filter)=>{const $filter=$(filter);const compare=$ush.toString($filter.data('value-compare'));var name=$filter.data('name');if(compare){name+=`|${compare}`}
735self.filters[name]=$filter});if(self.changeURLParams()){self.setupFields();urlManager.on('popstate',()=>{self.setupFields();self.updateShowMore();self.applyFilterToList()})}
736self.updateShowMore();if(self.isFacetedFiltering){var listFilters={};$.each(self.filters,(name,$filter)=>{listFilters[name]=$ush.toString($filter.usMod('type'))});self._events.itemsLoaded=(_,$items,data)=>
736{if(data.listFiltersApplied&&self.isVisible()&&data.listFilterUid===self.uid){self.setPostCount(self.firstListData().facetedFilter.post_count)}};$us.$document.on('usPostList.itemsLoaded',self._events.itemsLoaded);self.listToFilter().trigger('usListFilter',{list_filters:listFilters,list_filter_uid:self.uid});if(!self.$container.hasClass('loaded_from_cache')){self.$container.addClass('loading');const data=$.extend(!0,{list_filters:JSON.stringify(listFilters),_s:urlManager.get('_s'),},self.firstListData().facetedFilter,self.result,self.data.ajaxData);data[FACETED_PARAM]=1;self.xhr=$.ajax({type:'post',url:$us.ajaxUrl,dataType:'json',cache:!1,data:data,success:(res)=>{if(!res.success){console.error(res.data.message)}
737self.setPostCount(res.success?res.data:{})},complete:()=>{self.$container.removeClass('loading')}})}}else if(!self.isFacetedFiltering&&urlManager.has(FACETED_PARAM,'1')){urlManager.remove(FACETED_PARAM).push()}
738$('.w-filter-item',self.$container).on('change','input:not([name=search_values]), select',self._events.getItemValues).on('input change','input[name=search_values]',self._events.searchItemValues).on('click','.w-filter-item-reset',self._events.resetItemValues).on('click keydown','.w-filter-item-more',self._events.showMoreValues).on('click','.w-filter-item-title',self._events.toggleItemSection);self.$container.on('mouseup','.w-filter-opener',self._events.openMobileVersion).on('mouseup','.w-filter-list-closer, .w-filter-button-submit',self._events.closeMobileVersion).on('keydown',self._events.navUsingKeyPress);$us.$window.on('resize',self._events.checkScreenStates);if(self.titlesAsDropdowns()){$us.$document.on('click',self._events.hideItemDropdown)}
739self.on('applyFilterToList',self._events.applyFilterToList);self.checkScreenStates();self.checkActiveFilters();if(!$us.usbPreview()&&self.changeURLParams()){self.listFilterReset=new usListFilterReset(self)}}
740$.extend(usListFilter.prototype,$ush.mixinEvents,{titlesAsToggles:function(){return this.$container.hasClass('mod_toggle')},titlesAsDropdowns:function(){return this.$container.hasClass('mod_dropdown')},changeURLParams:function(){return this.$container.hasClass('change_url_params')},isVisible:function(){const self=this;if(self.$container.closest('.w-tabs-section').length){return!0}
741return self.$container.is(':visible')},setupFields:function(){const self=this;$.each(self.filters,(name,$filter)=>{name=PREFIX_FOR_URL_PARAM+name;if(!urlManager.has(name)){delete self.result[name];return}
742self.resetFields($filter);var values=$ush.toString(urlManager.get(name));values.split(',').map((value,i)=>{if($filter.hasClass('type_dropdown')){$(`select`,$filter).val(value)}else if($filter.hasClass('type_date_picker')){var $input=$(`input:eq(${i})`,$filter);if($input.length&&/\d{4}-\d{2}-\d{2}/.test(value)){$input.val($.datepicker.formatDate($input.data('date-format'),$.datepicker.parseDate('yy-mm-dd',value)))}}else if($filter.hasClass('type_range_input')){if(/([\.?\d]+)-([\.?\d]+)/.test(value)){$('input',$filter).each((i,input)=>{input.value=parseValues(value)[i]})}}else if($filter.hasClass('type_range_slider')){if(/([\.?\d]+)-([\.?\d]+)/.test(value)){$('.ui-slider',$filter).slider('values',parseValues(value));$(`input[type=hidden]`,$filter).val(value)}}else{$(`input[value="${value}"]`,$filter).prop('checked',!0)}});self.result[name]=values;$filter.addClass('has_value').toggleClass('expand',self.titlesAsToggles()&&self.$container.hasClass('layout_ver'))});self.showSelectedDropdownValues()},searchItemValues:function(e){const self=this;const $filter=$(e.delegateTarget);const $items=$('[data-value]',$filter);const value=$ush.toLowerCase(e.target.value).trim();$filter.toggleClass('search_active',!!value);if(value){$items.removeClass('hidden_by_more')}else{self.updateShowMore($filter)}
743$items.filter((_,node)=>{return!$('input',node).is(':checked')}).toggleClass('hidden',!!value);if($filter.hasClass('type_radio')){const $buttonAnyValue=$('[data-value="*"]:first',$filter);if(!$('input',$buttonAnyValue).is(':checked')){$buttonAnyValue.toggleClass('hidden',!$ush.toLowerCase($buttonAnyValue.text()).includes(value))}}
744if(value){$items.filter((_,node)=>{return $ush.toLowerCase($(node).text()).includes(value)}).removeClass('hidden').length}
745$('.w-filter-item-message',$filter).toggleClass('hidden',$items.is(':visible'))},updateShowMore:function(filter){const self=this;const hideDisabledValues=self.$container.hasClass('hide_disabled_values');const $filters=filter?$(filter).filter('[data-show-more]'):$('.w-filter-item[data-show-more]',self.$container);$filters.each((_,node)=>{const $filter=$(node);if($filter.hasClass('show_more_expanded')||$filter.hasClass('search_active')){return}
746const amount=$ush.parseInt($filter.attr('data-show-more'));var shownCount=0,hiddenCount=0,hasSelectedOutOfLimit=!1;$('.w-filter-item-value',$filter).each((_,value)=>{const $value=$(value);if(hideDisabledValues&&$value.hasClass('disabled')){$value.removeClass('hidden_by_more');return}
747if(shownCount<amount){shownCount++;$value.removeClass('hidden_by_more')}else if($('input',$value).is(':checked')){hasSelectedOutOfLimit=!0;return!1}else{$value.addClass('hidden_by_more');hiddenCount++}});if(hasSelectedOutOfLimit){self.showAllValues($filter);return}
748const $link=$('.w-filter-item-more',$filter);$link.text($ush.toString($link.data('label-template')).replace(/%d/g,hiddenCount));$filter.toggleClass('has_hidden_values',hiddenCount>0)})},showAllValues:function(filter){const $filter=$(filter);$filter.addClass('show_more_expanded').removeClass('has_hidden_values');$('.w-filter-item-value',$filter).removeClass('hidden_by_more')},showMoreValues:function(e){if(e.type==='keydown'&&![$ush.ENTER_KEYCODE,$ush.SPACE_KEYCODE].includes(e.ke
748yCode)){return}
749e.preventDefault();this.showAllValues($(e.target).closest('.w-filter-item'))},getItemValues:function(e){const self=this;const $filter=$(e.target).closest('.w-filter-item');const compare=$filter.data('value-compare');var name=PREFIX_FOR_URL_PARAM+$ush.toString($filter.data('name')),value=e.target.value,isExpand;if(compare){name+=`|${compare}`}
750if($filter.hasClass('type_checkbox')){var values=[];$('input:checked',$filter).each((_,input)=>{values.push(input.value)});if(!values.length){self.result[name]=DELETE_FILTER}else{self.result[name]=values.toString()}}else if($filter.hasClass('type_date_picker')){var values=[];$('input.hasDatepicker',$filter).each((i,input)=>{values[i]=$.datepicker.formatDate('yy-mm-dd',$(input).datepicker('getDate'))});if(!values.length){self.result[name]=DELETE_FILTER}else{self.result[name]=values.toString()}}else if($filter.hasClass('type_range_input')){var defaultValues=[],values=[];$('input',$filter).each((i,input)=>{defaultValues[i]=input.dataset.value;values[i]=input.value||defaultValues[i]});if(!values.length||values.toString()===defaultValues.toString()){self.result[name]=DELETE_FILTER}else{self.result[name]=values.join('-')}}else{if($ush.rawurldecode(value)==='*'){self.result[name]=DELETE_FILTER}else{self.result[name]=value}}
751const hasValue=!!self.result[name];$filter.toggleClass('has_value',hasValue);if(self.isFacetedFiltering){$filter.siblings().addClass('loading')}
752self.trigger('applyFilterToList')},listToFilter:function(){const self=this;var $lists;if(self.data.listSelectorToFilter){$lists=$(self.data.listSelectorToFilter,self.$pageContent)}else{$lists=$(`
753					.w-grid.us_post_list:visible,
754					.w-grid.us_product_list:visible,
755					.w-grid-none:visible
756				`,self.$pageContent).first();if(!$lists.length){$lists=$(`
757					.w-tabs-section .w-grid.us_post_list,
758					.w-tabs-section .w-grid.us_product_list,
759					.w-tabs-section .w-grid-none
760				`,self.$pageContent).first()}}
761if($lists.hasClass('w-grid-none')){$lists=$lists.prev()}
762return $lists},firstListData:function(){return $ush.toPlainObject((this.listToFilter().first().data('usPostList')||{}).data)},numberFormat:function(value,options){const self=this;const defaultOpts={unitFormat:'%d',numberFormat:null,};value=$ush.toString(value);options=$.extend(defaultOpts,$ush.toPlainObject(options));if(options.numberFormat){var numberFormat=$ush.toPlainObject(options.numberFormat),decimals=$ush.parseInt(abs(numberFormat.decimals));if(decimals){value=$ush.toString($ush.parseFloat(value).toFixed(decimals)).replace(/^(\d+)(\.)(\d+)$/,'$1'+numberFormat.decimal_separator+'$3')}
763value=value.replace(/\B(?=(\d{3})+(?!\d))/g,numberFormat.thousand_separator)}
764return $ush.toString(options.unitFormat).replace('%d',value)},setPostCount:function(data){const self=this;if(!$.isPlainObject(data)){data={}}
765$.each(self.filters,(filterName,filter)=>{const $filter=$(filter);const currentData=$ush.clone(data[filterName.split('|',1)[0]]||{});const isRangeType=$filter.hasClass('type_range_slider')||$filter.hasClass('type_range_input');if($filter.hasClass('range_by_year')&&!isRangeType){for(const k in currentData){const year=$ush.toString(k).substring(0,4);currentData[year]=$ush.parseInt(currentData[year])+currentData[k]}}
766var numActiveValues=0;if($filter.hasClass('type_checkbox')||$filter.hasClass('type_radio')){const compare=$filter.data('value-compare');$('[data-value]',filter).each((_,node)=>{const $node=$(node);const value=$node.data('value');if($filter.hasClass('type_radio')&&value==='*'){return}
767var postCount=0;if(compare=='between'){const rangeValues=value.split('-').map($ush.parseFloat);$.each(data[filterName.split('|')[0]]||{},(val,count)=>{if(val>=rangeValues[0]&&val<=rangeValues[1]){postCount+=count}})}else{postCount=$ush.parseInt(currentData[value])}
768if(postCount){numActiveValues++}
769$node.toggleClass('disabled',postCount===0).data('post-count',postCount).find('.w-filter-item-value-amount').text(postCount||'');$('input',$node).prop('disabled',postCount===0)})}else if($filter.hasClass('type_dropdown')){$('.w-filter-item-value-select option',filter).each((_,node)=>{const $node=$(node);const $formattedValue=$ush.rawurldecode(node.value).replace(/\\/g,'').replace(/[\u201A]/g,',');const postCount=$ush.parseInt(currentData[$formattedValue]);if(postCount){numActiveValues++}
770if(!self.hidePostCount&&$node.data('label-template')){$node.text($ush.toString($node.data('label-template')).replace('%d',postCount))}
771$node.prop('disabled',postCount===0).toggleClass('disabled',postCount===0);$('select',$node).prop('disabled',postCount===0)})}else if(isRangeType){const minValue=$ush.parseFloat(currentData[0]);const maxValue=$ush.parseFloat(currentData[1]);const newValues=[minValue,maxValue];const currentValues=urlManager.get(`_${filterName}`);if(minValue){numActiveValues++}
772if(maxValue){numActiveValues++}
773if($filter.hasClass('type_range_slider')){$('.ui-slider',$filter).slider('option',{min:minValue,max:maxValue,values:currentValues?parseValues(currentValues):newValues,});$(`input[type=hidden]`,$filter).val(newValues.join('-'))}else{const $opts=$('.for_range_input_options',filter);if($opts.is('[onclick]')){const opts=$opts[0].onclick()||{};$('.for_min_value, .for_max_value',filter).each((i,node)=>{const formattedValue=self.numberFormat(newValues[i],opts);const $node=$(node);$node.attr('placeholder',$ush.fromCharCode(formattedValue))})}}}else{numActiveValues=1}
774const $focusableElements=$('input,select,button,.ui-slider-handle',filter);if(numActiveValues){$focusableElements.each((_,node)=>{const $node=$(node);if($node.hasClass('ui-slider-handle')){$node.attr('tabindex','0')}else{$node.removeAttr('tabindex')}})}
774else{$focusableElements.attr('tabindex','-1')}
775$filter.removeClass('loading');$filter.toggleClass('disabled',numActiveValues<1)});self.updateShowMore()},resetItemValues:function(e){const self=this;e.stopPropagation();e.preventDefault();const $filter=$(e.target).closest('.w-filter-item');const compare=$filter.data('value-compare');var name=PREFIX_FOR_URL_PARAM+$filter.data('name');if(compare){name+=`|${compare}`}
776self.result[name]=DELETE_FILTER;self.trigger('applyFilterToList');self.resetFields($filter)},resetFields:function($filter){const self=this;if($filter.hasClass('type_checkbox')){$('input[type=checkbox]',$filter).prop('checked',!1)}else if($filter.hasClass('type_radio')){$('input[type=radio]',$filter).prop('checked',!1);$('input[value="%2A"]',$filter).prop('checked',!0)}else if($filter.hasClass('type_dropdown')){$('select',$filter).prop('selectedIndex',0)}else if($filter.hasClass('type_date_picker')||$filter.hasClass('type_range_input')){$('input',$filter).val('')}else if($filter.hasClass('type_range_slider')){var $input=$('input[type=hidden]',$filter),values=[$input.attr('min'),$input.attr('max')];$('.ui-slider',$filter).slider('values',values.map($ush.parseFloat))}
777if(self.titlesAsDropdowns()){$('.w-filter-item-title span',$filter).text('')}
778$filter.removeClass('has_value expand search_active');$('input[name="search_values"]',$filter).val('');$('.w-filter-item-value',$filter).removeClass('hidden');self.updateShowMore($filter)},applyFilterToList:function(){const self=this;if(!$ush.isUndefined(self.lastResult)&&$ush.comparePlainObject(self.result,self.lastResult)){return}
779const prevResult=self.lastResult;self.lastResult=$ush.clone(self.result);self.showSelectedDropdownValues(prevResult);self.checkActiveFilters();const urlParams=$ush.clone(self.result);if(self.isFacetedFiltering){var f_value=DELETE_FILTER;for(const k in self.result){if(k!==FACETED_PARAM&&self.result[k]!==DELETE_FILTER){f_value=1;break}}
780urlParams[FACETED_PARAM]=f_value;self.result[FACETED_PARAM]=1}
781if(self.changeURLParams()){urlManager.set(urlParams);urlManager.push({})}
782self.listToFilter().trigger('usListFilter',$.extend({'scroll_to_list':self.$container.hasClass('scroll_to_list')},self.result,))},toggleItemSection:function(e){const self=this;if(e.originalEvent.detail>0&&self.$container.hasClass('drop_on_hover')){return}
783if(self.titlesAsToggles()||self.titlesAsDropdowns()){const $filter=$(e.delegateTarget);$filter.toggleClass('expand',!$filter.hasClass('expand'))}},openMobileVersion:function(){const self=this;$us.$body.addClass('us_filter_open');self.$container.addClass('open_for_mobile').attr('aria-modal','true');self.$opener.attr('tabindex','-1');if(self.titlesAsDropdowns()){self.$titles.attr('tabindex','-1')}},closeMobileVersion:function(){const self=this;$us.$body.removeClass('us_filter_open');self.$container.removeClass('open_for_mobile').removeAttr('aria-modal');self.$opener.removeAttr('tabindex');if(self.titlesAsDropdowns()){self.$titles.removeAttr('tabindex')}},showSelectedDropdownValues:function(prevResult){const self=this;if(!self.titlesAsDropdowns()){return}
784for(const key in self.result){if(key===FACETED_PARAM){continue}
785const name=(key.charAt(0)===PREFIX_FOR_URL_PARAM)?key.substring(1):key;var value=self.result[key];if((prevResult||{})[key]===value||$ush.isUndefined(value)){continue}
786const $filter=self.filters[name];const $label=$('.w-filter-item-title > span',$filter);if(value===null){$label.text('');continue}else{value=$ush.rawurldecode(value)}
787if($filter.hasClass('type_dropdown')){$label.text($(`option[value="${value}"]`,$filter).text())}else if($filter.hasClass('type_range_slider')||$filter.hasClass('type_range_input')){const formattedLabel=$ush.toString(self.result[key]).split('-').map((v)=>self.numberFormat(v,$filter.data('opts'))).join(' - ');$label.html($ush.fromCharCode(formattedLabel))}else if($filter.hasClass('type_date_picker')){const values=[];$('input.hasDatepicker',$filter).each((_,input)=>{if(input.value){values.push(input.value)}});$label.text(values.join(' - '))}else{const hasMultiple=value.includes(',');if(hasMultiple){const values=value.split(',');const firstValue=values[0];if(firstValue.length>2&&!$ush.isNumeric(firstValue)){value=values.length}else{const mapped=values.map((singleValue)=>{const $valueItem=$('.w-filter-item-value',$filter).filter((_,node)=>node.dataset.value===singleValue);if(!$valueItem.length)return singleValue;const label=$('.w-filter-item-value-label',$valueItem).first().text().trim();return label||singleValue});value=mapped.join(', ')}}else{const label=$(`[data-value="${value}"] .w-filter-item-value-label:first`,$filter).text().trim();if(label)value=label}
788$label.text(value)}}},hideItemDropdown:function(e){const self=this;const $openedFilters=$('.w-filter-item.expand',self.$container);if(!$openedFilters.length){return}
789$openedFilters.each((_,node)=>{const $node=$(node);if(!$node.is(e.target)&&$node.has(e.target).length===0){$node.removeClass('expand')}})},checkScreenStates:function(){const self=this;const isMobile=$ush.parseInt(window.innerWidth)<=$ush.parseInt(self.data.mobileWidth);if(!self.$container.hasClass(`state_${ isMobile ? 'mobile' : 'desktop' }`)){self.$container.usMod('state',isMobile?'mobile':'desktop');if(!isMobile){$us.$body.removeClass('us_filter_open');self.$container.removeClass('open_for_mobile')}}
790self.countActiveFilters()},checkActiveFilters:function(){const self=this;self.$container.toggleClass('active',$('.has_value:first',self.$container).length>0);self.countActiveFilters()},countActiveFilters:function(){const self=this;if(!self.$container.hasClass('state_mobile')){return}
791$('span',self.$opener).attr('data-count-active',$('.w-filter-item.has_value',self.$container).length)},});$.extend(usListFilter.prototype,{navUsingKeyPress:function(e){const self=this;const keyCode=e.keyCode;if(![$ush.TAB_KEYCODE,$ush.ENTER_KEYCODE,$ush.SPACE_KEYCODE,$ush.ESC_KEYCODE].includes(keyCode)){return}
792const focusableSelectors=['a[href]','input:not([disabled])','select:not([disabled])','textarea:not([disabled])','button:not([disabled])','[tabindex]',].join();const $target=$(e.target);const $activeElement=$(_document.activeElement).filter(focusableSelectors);const isOpenMobileVersion=self.$container.hasClass('open_for_mobile');function openMobileVersion(){if($target.hasClass('w-filter-opener')){self.openMobileVersion();self.$listCloser[0].focus()}}
793function closeMobileVersion(){self.closeMobileVersion();self.$opener[0].focus()}
794if(keyCode===$ush.ESC_KEYCODE){$.each(self.filters,(_,$filter)=>{if($filter.hasClass('expand')){$filter.removeClass('expand');$('.w-filter-item-toggle, button.w-filter-item-title',$filter)[0].focus()}});if(isOpenMobileVersion){closeMobileVersion()}}
795if([$ush.ENTER_KEYCODE,$ush.SPACE_KEYCODE].includes(keyCode)){if($target.hasClass('w-filter-item-reset')){if(isOpenMobileVersion){$(focusableSelectors,$target.closest('[data-name]')).filter(':visible:not([tabindex="-1"]):eq(0)')[0].focus()}else{$('.w-filter-item-toggle, button.w-filter-item-title',$target.closest('.w-filter-item'))[0].focus();self.resetItemValues(e)}}
796openMobileVersion();if($target.hasClass('w-filter-list-closer')||$target.hasClass('w-filter-button-submit')){closeMobileVersion()}}
797if(keyCode===$ush.TAB_KEYCODE){const isContainActiveElement=$.contains(self.$container[0],$activeElement[0]);if(self.titlesAsDropdowns()&&!isOpenMobileVersion&&!isContainActiveElement){$('.w-filter-item.expand',self.$container).removeClass('expand')}
798if(isOpenMobileVersion&&!isContainActiveElement){const $focusable=$(focusableSelectors,self.$container).filter(':visible:not([tabindex="-1"])');if(!$focusable.length){e.preventDefault();self.$listCloser[0].focus();return}
799const firstElement=$focusable.first()[0];const lastElement=$focusable.last()[0];if(e.shiftKey&&$target[0]===firstElement){e.preventDefault();lastElement.focus()}else if(!e.shiftKey&&$target[0]===lastElement){e.preventDefault();firstElement.focus()}}}},});function usListFilterReset(listFilter){const self=this;self.$containers=$('.w-filter-reset');if(!self.$containers.length){return}
800self.$resetAllButton=$('.w-filter-reset-all',self.$containers);self.listFilter=listFilter;self.allOpts=[];self.$containers.each((_,node)=>{const $node=$(node);if(!$node.is('[onclick]')){return}
801const opts=node.onclick()||{};opts.$node=$node;self.allOpts.push(opts)});self._events={hideShowListFilterReset:self.hideShowListFilterReset.bind(self),renderSelectedValues:self.renderSelectedValues.bind(self),resetAllFilters:self.resetAllFilters.bind(self),resetSingleFilterItem:self.resetSingleFilterItem.bind(self),};self.$containers.on('click','.w-filter-reset-single',self._events.resetSingleFilterItem).on('click','.w-filter-reset-all',self._events.resetAllFilters);if(self.$containers.hasClass('hidden')){self.hideShowListFilterReset();self.renderSelectedValues()}
802urlManager.on('popstate',()=>{self.hideShowListFilterReset();self.renderSelectedValues()});self.listFilter.on('applyFilterToList',self._events.renderSelectedValues);self.listFilter.on('applyFilterToList',self._events.hideShowListFilterReset)}
803$.extend(usListFilterReset.prototype,{renderSelectedValues:function(){const self=this;$.each(self.allOpts,(_,opts)=>{if(!opts.$node||!opts.$node.hasClass('show_selected_values')){return}
804const fragment=document.createDocumentFragment();$('.w-filter-reset-single',opts.$node).remove();$.each(self.listFilter.result,(key,value)=>{if(key===FACETED_PARAM||!value){return}
805key=$ush.toString(key);value=$ush.toString(value);const rawKey=(key.charAt(0)===PREFIX_FOR_URL_PARAM)?key.substring(1):key;const $filter=self.listFilter.filters[rawKey];if(!$filter.length){return}
806var labelTitle='',labelValue='';if(!self.listFilter.$container.hasClass('mod_no_titles')){labelTitle=$('.w-filter-item-title',$filter).contents().first().text().trim()}
807if($filter.hasClass('type_range_slider')){const minLabel=$('.w-filter-item-slider-result .for_min_value',$filter).text().trim();const maxLabel=$('.w-filter-item-slider-result .for_max_value',$filter).text().trim();if(!minLabel||!maxLabel){return}
808labelValue=`${minLabel} – ${maxLabel}`}else if($filter.hasClass('type_range_input')||$filter.hasClass('type_date_picker')){labelValue=value.replace('-',' – ')}else if($filter.hasClass('type_dropdown')){labelValue=$(`option[value="${value}"]`,$filter).text().trim()||value}else{value.split(',').forEach((singleValue)=>{const $valueItem=$('.w-filter-item-value',$filter).filter((_,node)=>{return node.dataset.value==singleValue});if(!$valueItem.length){return}
809const labelValue=$('.w-filter-item-value-label',$valueItem).first().text().trim();if(!labelValue){return}
810fragment.appendChild(self.cloneResetBtn(opts,key,singleValue,labelTitle,labelValue))});return}
811if(!labelValue){return}
812fragment.appendChild(self.cloneResetBtn(opts,key,value,labelTitle,labelValue))});if(fragment.childNodes.length){opts.$node.prepend(fragment)}})},cloneResetBtn:function(opts,dataName='',dataValue='',labelTitle,labelValue){const self=this;const $singleButton=$(opts.singleButtonTemplate).data({name:dataName,value:dataValue,});const $label=$('.w-btn-label',$singleButton).removeClass().addClass('w-btn-label').empty();if(labelTitle){$label.append($('<t></t>').text(`${labelTitle}: `))}
813$label.append($('<v></v>').text(labelValue));return $singleButton[0]},resetSingleFilterItem:function(e){const self=this;const data=$(e.currentTarget).data();if($ush.isUndefined(data.name)||$ush.isUndefined(data.value)){return}
814const rawName=(data.name.charAt(0)===PREFIX_FOR_URL_PARAM)?data.name.substring(1):data.name;const $filter=self.listFilter.filters[rawName];if(!$filter){return}
815const value=self.listFilter.result[data.name];if(!value||value===DELETE_FILTER){return}
816if($filter.hasClass('type_checkbox')){if(typeof value==='string'&&value.includes(',')){const values=value.split(',');const newValues=values.filter((v)=>v!==data.value);self.listFilter.result[data.name]=newValues.length?newValues.join(','):DELETE_FILTER}else{self.listFilter.result[data.name]=DELETE_FILTER}
817$(`input[value="${data.value}"]`,$filter).prop('checked',!1);if(!$filter.find('input:checked').length){$filter.removeClass('has_value')}}else{self.listFilter.result[data.name]=DELETE_FILTER;self.listFilter.resetFields($filter)}
818self.listFilter.trigger('applyFilterToList')},resetAllFilters:function(){const self=this;$('.w-filter-item.has_value',self.listFilter.$container).each((_,item)=>{self.listFilter.resetFields($(item))});for(const key in self.listFilter.result){if(key!==FACETED_PARAM){self.listFilter.result[key]=DELETE_FILTER}}
819self.listFilter.trigger('applyFilterToList')},hideShowListFilterReset:function(){const self=this;const hasActiveFilters=Object.entries(self.listFilter.result).some(([key,value])=>{if(key===FACETED_PARAM){return!1}
820return value&&value!==DELETE_FILTER});if(!$us.usbPreview()){self.$containers.toggleClass('hidden',!hasActiveFilters)}}});$.fn.usListFilter=function(){return this.each((_,node)=>{$(node).data('usListFilter',new usListFilter(node))})};$(()=>$('.w-filter.for_list').usListFilter())}(jQuery);!function($,_undefined){"use strict";$.fn.fixSlider=function(){this.each((_,node)=>{const inst=$(node).slider('instance');inst._original_refreshValue=inst._refreshValue;inst._calculateNewMax=function(){this.max=this.options.max};inst._refreshValue=function(){const self=this;self._original_refreshValue();if(self._hasMultipleValues()){var isFixed=!1;self.handles.each((i,handle)=>{const valPercent=(self.values(i)-self._valueMin())/(self._valueMax()-self._valueMin())*100;if(isNaN(valPercent)){$(handle).css('left',`${i*100}%`);isFixed=!0}});if(isFixed){self.range.css({left:0,width:'100%'})}}}})}}(jQuery);(function($,undefined){"use strict";$us.WProgbar=function(container,options){this.$container=$(container);this.$bar=$('.w-progbar-bar-h',this.$container);this.$count=$('.w-progbar-title-count, .w-progbar-bar-count',this.$container);this.$title=$('.w-progbar-title',this.$container);this.options={delay:100,duration:800,finalValue:100,offset:'10%',startValue:0,value:50};if(this.$container.is('[onclick]')){$.extend(this.options,this.$container[0].onclick()||{});if(!$us.usbPreview())this.$container.removeAttr('onclick')}
821$.extend(this.options,options||{});if(/bot|googlebot|crawler|spider|robot|crawling/i.test(navigator.userAgent)){this.$container.removeClass('initial')}
822this.$count.text('');
822$us.waypoints.add(this.$container,this.options.offset,this.init.bind(this))};$.extend($us.WProgbar.prototype,{init:function(){if(this.running){return}
823this.running=!0;if(this.$container.hasClass('initial')){this.$container.removeClass('initial')}
824var loops=Math.ceil(this.options.duration/this.options.delay),increment=parseFloat(this.options.value)/loops,loopCount=0,handle=null,startValue=0;var funLoop=function(){startValue+=increment;loopCount++;if(handle){$ush.clearTimeout(handle)}
825if(loopCount>=loops){var result=this.options.template;if(this.options.hasOwnProperty('showFinalValue')){result+=' '+this.options.showFinalValue}
826this.$count.text(result);return}
827this.render.call(this,startValue);handle=$ush.timeout(funLoop.bind(this),this.options.delay)};funLoop.call(this);var finalValue=parseFloat(this.options.finalValue),width=((parseFloat(parseFloat(this.options.value))/parseFloat(finalValue))*100).toFixed(0);this.$bar.on('transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd',this._events.transitionEnd.bind(this)).css({width:width+'%',transitionDuration:parseInt(this.options.duration)+'ms'})},_events:{transitionEnd:function(){var result=this.options.template;if(this.options.hasOwnProperty('showFinalValue')){result+=' '+this.options.showFinalValue}
828this.$count.text(result);this.running=!1}},render:function(value){var index=0,result=(''+this.options.template).replace(/([\-\d\.])/g,function(match){value+='';if(index===0&&match==='0'){if(value.charAt(index+1)==='.'||match==='.'){index++}
829return match}
830return value.charAt(index++)||''}.bind(this));if(result.charAt(index-1)==='.'){result=result.substr(0,index-1)+result.substr(index)}
831if(this.options.hasOwnProperty('showFinalValue')){result+=' '+this.options.showFinalValue}
832this.$count.text(result)}});$.fn.wProgbar=function(options){this.each(function(){$(this).data('wProgbar',new $us.WProgbar(this,options))})};$(function(){jQuery('.w-progbar').wProgbar()})})(jQuery);!function($,undefined){"use strict";var _window=window,_body=document.body;var abs=Math.abs,max=Math.max,min=Math.min,floor=Math.floor,round=Math.round;_window.$us=_window.$us||{};_window.$ush=_window.$ush||{};const _TRANSLATE_FACTOR_=7;function scroll(){return{top:_window.scrollY||_window.pageYOffset,}}
833function areEffectsDisabled(){return $us.canvasOptions.disableEffectsWidth>=_body.clientWidth}
834var _lastState={bodyHeight:$ush.parseInt(_body.clientHeight),effectsDisabled:areEffectsDisabled(),};function ScrollEffects(){var self=this;self.elms=[];self._events={onScroll:self._onScroll.bind(self),onContentChange:self._onContentChange.bind(self),};$us.$window.on('scroll.noPreventDefault',self._events.onScroll).on('resize',$ush.debounce(self._events.onContentChange,25));$us.$canvas.on('contentChange',$ush.debounce(self._events.onContentChange,1))}
835ScrollEffects.prototype={addElms:function(elms){var self=this;if(!Array.isArray(elms)){elms=[elms]}
836elms.map(function(element){if($ush.isNode(element)){for(var i in self.elms){if(self.elms[i].node===element){self.elms[i].removeEffects();self.elms.splice(i,1);break}}
837self.elms.push(new SE_Manager(element))}})},_onContentChange:function(){var self=this;var effectsDisabled=areEffectsDisabled();if(_lastState.effectsDisabled!==effectsDisabled){_lastState.effectsDisabled=effectsDisabled;self.elms.map(function(element){element[effectsDisabled?'removeEffects':'applyEffects']()})}
838var bodyHeight=$ush.parseInt(_body.clientHeight);if(_lastState.bodyHeight!==bodyHeight){_lastState.bodyHeight=bodyHeight;self.elms.map(function(element){element.setInitialData()})}},_onScroll:function(){var self=this;if(areEffectsDisabled()){return}
839self.elms.map(function(element){if(!element.isInViewport()){element.node.classList.remove('in_viewport');return}
840element.node.classList.add('in_viewport');requestAnimationFrame(()=>element.applyEffects())})}};$us.scrollEffects=new ScrollEffects;function SE_Manager(node){var self=this;self.node=node;self.offsetTop=-0;self.nearestTop=-0;self.currentHeight=-0;self.initialData={top:-0,height:-0,};self._config={start_position:'0%',end_position:'100%',from_initial_position:0,translate_y:0,translate_y_direction:'up',translate_y_speed:'0.5x',translate_x:0,translate_x_direction:'left',translate_x_speed:'0.5x',opacity:0,opacity_direction:'out-in',blur:0,blur_direction:'out-in',blur_speed:'0.5x',scale:0,scale_direction:'up',scale_speed:'0.5x',delay:'0.1s',};var $node=$(node);$.extend(self._config,$node.data('us-scroll')||{});$node.removeAttr('data-us-scroll');self.setInitialData();node.classList.toggle('in_viewport',self.isInViewport());
840if(!areEffectsDisabled()){self.applyEffects()}
841$ush.timeout(function(){node.style.setProperty('--scroll-delay',self.getParam('delay'))},100)}
842SE_Manager.prototype={setInitialData:function(){var self=this,rect=$ush.$rect(self.node);self.currentHeight=rect.height;self.initialData.height=rect.height;self.initialData.top=scroll().top+rect.top-$ush.parseFloat(self.style('--translateY'));self.translateSpeedY=$ush.parseFloat(self.getParam('translate_y_speed'));self.translateSpeedX=$ush.parseFloat(self.getParam('translate_x_speed'));if($ush.parseInt(self.getParam('from_initial_position'))!=1){var startPosition=$ush.parseInt(self.getParam('start_position')),endPosition=$ush.parseInt(self.getParam('end_position')),centerPosition=50;self.centerScrollTop=$ush.parseInt(self.initialData.top+self.initialData.height/2-_window.innerHeight/2);self.startScrollTop=self.centerScrollTop-_window.innerHeight/2+(startPosition/100*_window.innerHeight)-self.initialData.height*(centerPosition-startPosition)/100;self.endScrollTop=self.centerScrollTop-_window.innerHeight/2+(endPosition/100*_window.innerHeight)+self.initialData.height*(endPosition-centerPosition)/100}},isInViewport:function(){var self=this,rect=$ush.$rect(self.node),initialTop=self.initialData.top-scroll().top,nearestTop=min(initialTop,rect.top)-_window.innerHeight;self.offsetTop=rect.top;self.nearestTop=nearestTop;self.currentHeight=rect.height;return(nearestTop<=0&&(max(initialTop,rect.top)+rect.height)>=0)},hasClass:function(className){return className&&this.node.classList.contains(className)},style:function(prop,value){var elmStyle=this.node.style;if($ush.isUndefined(value)){return elmStyle.getPropertyValue(prop)}else{elmStyle.setProperty(prop,$ush.toString(value))}},getParam:function(name,defaultValue){var self=this;return(self.node.dataset[name]||self._config[name]||defaultValue)},getPositionData:function(offsetY,distanceInPx){var self=this,currentPosition=100-($ush.parseFloat(offsetY)/$ush.parseFloat(distanceInPx)*100),startPosition=$ush.parseInt(self.getParam('start_position')),endPosition=$ush.parseInt(self.getParam('end_position'));return{start:startPosition,current:$ush.limitValueByRange(currentPosition,0,100),end:endPosition,diff:(endPosition-startPosition),}},applyEffects:function(){var self=this;self.setTranslateY();self.setTranslateX();self.setOpacity();self.setScale();self.setBlur()},removeEffects:function(){var self=this;['--translateY','--translateX','--opacity','--scale'].map(function(varName){self.style(varName,'')})},getPosition:function(translateSpeed){var self=this,position=-0;if($ush.parseInt(self.getParam('from_initial_position'))==1){position=scroll().top*translateSpeed}else{if(self.startScrollTop<scroll().top&&scroll().top<self.endScrollTop){position=(scroll().top-self.centerScrollTop)*translateSpeed}else if(self.startScrollTop>=scroll().top){position=(self.startScrollTop-self.centerScrollTop)*translateSpeed}else if(self.endScrollTop<=scroll().top){position=(self.endScrollTop-self.centerScrollTop)*translateSpeed}}
843if(self.initialData.top+self.initialData.height+position>=_lastState.bodyHeight){return _lastState.bodyHeight-self.initialData.top-self.initialData.height-1}
844return position},setTranslateY:function(){var self=this;if(!self.hasClass('has_translate_y')||!self.translateSpeedY){return}
845var translateSpeed=self.translateSpeedY,translateY;if(self.getParam('translate_y_direction')!=='down'){translateSpeed=-translateSpeed}
846self.style('--translateY',self.getPosition(translateSpeed)+'px')},setTranslateX:function(){var self=this;if(!self.hasClass('has_translate_x')||!self.translateSpeedX){return}
847var translateSpeed=self.translateSpeedX,translateX;if(self.getParam('translate_x_direction')!=='right'){translateSpeed=-translateSpeed}
848self.style('--translateX',self.getPosition(translateSpeed)+'px')},setOpacity:function(){var self=this;var opacityDirection=self.getParam('opacity_direction'),opacity;if(!self.hasClass('has_opacity')||!opacityDirection){return}
849if($ush.parseInt(self.getParam('from_initial_position'))==1){var initialPosition=$ush.parseInt(self.initialData.top+self.initialData.height/2);opacity=min(1,scroll().top/initialPosition)}
849else{var elmHeight=self.initialData.height,viewportHeight=_window.innerHeight,offsetTop=viewportHeight+self.nearestTop+elmHeight,position=self.getPositionData(offsetTop,viewportHeight+elmHeight),startPosition=position.start,currentPosition=$ush.limitValueByRange(round(position.current),startPosition,position.end);opacity=((100/position.diff)*(currentPosition-startPosition))/100}
850if(opacityDirection==='in-out'){opacity=1-opacity}else if(opacityDirection==='in-out-in'){opacity=(2*opacity)-1}else if(opacityDirection==='out-in-out'){opacity=(opacity>0.5?2:0)-(2*opacity)}
851self.style('--opacity',$ush.limitValueByRange(abs(opacity).toFixed(3),0,1))},setBlur:function(){var self=this;var blur,blurDirection=self.getParam('blur_direction'),blurSpeed=$ush.parseFloat(self.getParam('blur_speed'));if(!self.hasClass('has_blur')||!blurDirection||!blurSpeed){return}
852if($ush.parseInt(self.getParam('from_initial_position'))==1){var initialPosition=$ush.parseInt(self.initialData.top+self.initialData.height/2);blur=min(1,scroll().top/initialPosition)}else{var elmHeight=self.initialData.height,viewportHeight=_window.innerHeight,offsetTop=viewportHeight+self.nearestTop+elmHeight,position=self.getPositionData(offsetTop,viewportHeight+elmHeight),startPosition=position.start,currentPosition=$ush.limitValueByRange(round(position.current),startPosition,position.end);blur=((100/position.diff)*(currentPosition-startPosition))/100}
853if(blurDirection==='out-in'){blur=1-blur}else if(blurDirection==='out-in-out'){blur=(2*blur)-1}else if(blurDirection==='in-out-in'){blur=(blur>0.5?2:0)-(2*blur)}
854self.style('--blur',abs((blur*blurSpeed*20)).toFixed(2)+'px')},setScale:function(){var self=this;var scaleSpeed=$ush.parseFloat(self.getParam('scale_speed'));if(!self.hasClass('has_scale')||!scaleSpeed){return}
855if(self.getParam('scale_direction')==='down'){scaleSpeed=-scaleSpeed}
856if($ush.parseInt(self.getParam('from_initial_position'))==1){var scale=1+(scroll().top/_window.innerHeight*100)/50*scaleSpeed}else{var elmHeight=max(self.initialData.height,self.currentHeight),viewportHeight=_window.innerHeight,offsetTop=viewportHeight+self.nearestTop+elmHeight,position=self.getPositionData(offsetTop,viewportHeight+elmHeight),currentPosition=$ush.limitValueByRange(round(position.current),position.start,position.end);var scale=1-(50-currentPosition)/50*scaleSpeed}
857if(scale<0){scale=0}
858self.style('--scale',scale)}};$.fn.usScrollEffects=function(){return this.each(function(){$us.scrollEffects.addElms(this)})};$(function(){$('[data-us-scroll]').usScrollEffects()})}(jQuery);!function($){"use strict";function UsSearch(container){this.$container=$(container);this.$form=this.$container.find('.w-search-form');this.$btnOpen=this.$container.find('.w-search-open');this.$btnClose=this.$container.find('.w-search-close');this.$input=this.$form.find('[name="s"]');this.$overlay=this.$container.find('.w-search-background');this.$window=$(window);this.searchOverlayInitRadius=25;this.isFullScreen=this.$container.hasClass('layout_fullscreen');this.isWithRipple=this.$container.hasClass('with_ripple');this._bindEvents()}
859$.extend(UsSearch.prototype,{_bindEvents:function(){this.$btnOpen.on('click.usSearch',(e)=>{this.searchShow(e)});this.$btnClose.on('touchstart.noPreventDefault click',(e)=>{this.searchHide(e)});this.$form.on('keydown',(e)=>{if(e.keyCode===$ush.ESC_KEYCODE&&this.$container.hasClass('active')){this.searchHide(e)}});this.$btnOpen.on('keydown',(e)=>{if(e.keyCode===$ush.SPACE_KEYCODE){e.preventDefault();this.searchShow(e)}})},searchHide:function(e){e.stopPropagation();if(e.type==='touchstart'){e.preventDefault()}
860if(this.isFullScreen){$ush.timeout(()=>{this.$btnOpen.one('click.usSearch',(evt)=>{this.searchShow(evt)})},100)}
861this.$btnOpen.removeAttr('tabindex').attr('aria-expanded','false');this.$container.removeClass('active');this.$input.blur();if(this.isWithRipple&&this.isFullScreen){this.$form.css({transition:'opacity 0.4s'});$ush.timeout(()=>{this.$overlay.removeClass('overlay-on').addClass('overlay-out').css({'transform':'scale(0.1)'});this.$form.css('opacity',0);$ush.debounce(()=>{this.$form.css('display','none');this.$overlay.css('display','none')},600)},25)}
862if(e.type!=='touchstart'){this.$btnOpen.trigger('focus')}
863$us.$document.off('focusin.usSearch')},calculateOverlayScale:function(){const searchPos=this.$btnOpen.offset();const searchWidth=this.$btnOpen.width();const searchHeight=this.$btnOpen.height();searchPos.top-=this.$window.scrollTop();searchPos.left-=this.$window.scrollLeft();const overlayX=searchPos.left+searchWidth/2;const overlayY=searchPos.top+searchHeight/2;const winWidth=$us.canvas.winWidth;const winHeight=$us.canvas.winHeight;const dx=Math.pow(Math.max(winWidth-overlayX,overlayX),2);const dy=Math.pow(Math.max(winHeight-overlayY,overlayY),2);const overlayRadius=Math.sqrt(dx+dy);
863return[(overlayRadius+15)/this.searchOverlayInitRadius,overlayX,overlayY]},searchShow:function(e){e.preventDefault();$us.$document.on('focusin.usSearch',this.closeFormOnTabOutside.bind(this));if(this.isFullScreen){this.$btnOpen.off('click.usSearch')}
864this.$container.addClass('active');this.$btnOpen.attr({'tabindex':'-1','aria-expanded':'true'});if(this.isWithRipple&&this.isFullScreen){const calculateOverlayScale=this.calculateOverlayScale();const overlayScale=calculateOverlayScale[0];const overlayX=calculateOverlayScale[1];const overlayY=calculateOverlayScale[2];this.$overlay.css({width:this.searchOverlayInitRadius*2,height:this.searchOverlayInitRadius*2,left:overlayX,top:overlayY,"margin-left":-this.searchOverlayInitRadius,"margin-top":-this.searchOverlayInitRadius});this.$overlay.removeClass('overlay-out').show();this.$form.css({opacity:0,display:'block',transition:'opacity 0.4s 0.3s'});$ush.timeout(()=>{this.$overlay.addClass('overlay-on').css({"transform":"scale("+overlayScale+")"});this.$form.css('opacity',1)},25)}
865$ush.timeout(()=>{this.$input.trigger('focus')},25)},closeFormOnTabOutside:function(e){if(!$.contains(this.$form[0],$us.$document[0].activeElement)){this.searchHide(e)}},});$.fn.wSearch=function(){return this.each(function(){$(this).data('wSearch',new UsSearch(this))})};$(function(){jQuery('.l-header .w-search').wSearch()})}(jQuery);!function($){"use strict";$us.UsSharing=function(container,options){this.init(container,options)};$us.UsSharing.prototype={init:function(container,options){this.$container=$(container);if(!!$('.w-sharing-list',this.$container).data('content-image')){if($('.l-canvas img:first-child').length){this.sharingImage=$('.l-canvas img:first-child').attr('src')}else{this.sharingImage=''}
866this.setSharingImage()}
867if(!this.$container.hasClass('w-sharing-tooltip')){if($('.whatsapp',this.$container).length&&$.isMobile){this.setWhatsAppUrl(this.$container.find('.whatsapp'))}}else{this.$copy2clipboard=$('.w-sharing-item.copy2clipboard',this.$container);this.selectedText='';this.activeArea='.l-main';if(this.$container.data('sharing-area')==='post_content'){this.activeArea='.w-post-elm.post_content'}
868this.$container.appendTo("body");$('body').not(this.activeArea).on('mouseup',function(){var selection=this.getSelection();if(selection===''){this.$container.hide()}}.bind(this));$(this.activeArea).on('mouseup',function(e){var selection=this.getSelection();if(selection!==''){this.selectedText=selection;this.showTooltip(e)}else{this.selectedText='';this.hideTooltip()}}.bind(this));this.$copy2clipboard.on('click',function(){this.copyToClipboard()}.bind(this))}},showTooltip:function(e){$('.w-sharing-item',this.$container).each(function(index,elm){if($(elm).hasClass('copy2clipboard')){return}
869if($.isMobile&&$(elm).hasClass('whatsapp')){this.setWhatsAppUrl($(elm))}
870$(elm).attr('href',($(elm).data('url')||'').replace('{{text}}',this.selectedText))}.bind(this));this.$container.css({"display":"inline-block","left":e.pageX,"top":e.pageY-50,})},setSharingImage:function(){$('.w-sharing-item',this.$container).each(function(index,elm){if($(elm).hasClass('copy2clipboard')){return}
871$(elm).attr('href',($(elm).attr('href')||'').replace('{{image}}',this.sharingImage));if($(elm).attr('data-url')){$(elm).attr('data-url',($(elm).attr('data-url')||'').replace('{{image}}',this.sharingImage))}}.bind(this))},setWhatsAppUrl:function($elm){$elm.attr('href',($elm.attr('href')||'').replace('https://web','https://api'))},hideTooltip:function(){this.$container.hide()},copyToClipboard:function(){var url,el=document.createElement('textarea');if(this.$copy2clipboard.parent().data('sharing-url')!==undefined&&this.$copy2clipboard.parent().data('sharing-url')!==''){url=this.$copy2clipboard.parent().attr('data-sharing-url')}else{url=window.location}
872el.value=this.selectedText+' '+url;el.setAttribute('readonly','');el.style.position='absolute';el.style.left='-9999px';document.body.appendChild(el);el.select();document.execCommand('copy');document.body.removeChild(el);this.hideTooltip()},getSelection:function(){var selection='';if(window.getSelection){selection=window.getSelection()}else if(document.selection){selection=document.selection.createRange()}
873return selection.toString().trim()},};$.fn.UsSharing=function(options){return this.each(function(){$(this).data('UsSharing',new $us.UsSharing(this,options))})};
873$(function(){$('.w-sharing-tooltip, .w-sharing').UsSharing()})}(jQuery);!function($,_undefined){"use strict";window.$us=window.$us||{};const SLIDE_DURATION=250;function usSimpleNav(container){const self=this;self.$container=$(container);if(self.$container.length===0){return}
874self.isCatNavElm=self.$container.hasClass('for_category_nav');if(self.isCatNavElm){self.$items=$('.cat-item',self.$container);self.$menuItemHasChildren=$('.cat-item:has(>.children)',self.$container)}else{self.$items=$('.menu-item',self.$container);self.$menuItemHasChildren=$('.menu-item-has-children',self.$container)}
875self.$menuItemHasChildren.each((_,section)=>{const $section=$(section);if(!$section.hasClass('current-menu-ancestor')&&!$section.hasClass('current-cat-ancestor')&&!$section.hasClass('current-cat')){self.closeSection($section)}});self._events={toggleAccordionSection:self.toggleAccordionSection.bind(self),keyboardToggleAccordionSection:self.keyboardToggleAccordionSection.bind(self),}
876if(self.isCatNavElm){self.$container.on('click','.cat-item:has(>.children) > a',self._events.toggleAccordionSection).on('keydown','.cat-item:has(>.children) > a',self._events.keyboardToggleAccordionSection)}else{self.$container.on('click','.menu-item-has-children > a',self._events.toggleAccordionSection).on('keydown','.menu-item-has-children > a',self._events.keyboardToggleAccordionSection)}}
877$.extend(usSimpleNav.prototype,{toggleAccordionSection:function(e){const self=this;const $target=$(e.target);var $clickedSection;if(self.isCatNavElm){$clickedSection=$target.closest('.cat-item:has(>.children)')}else{$clickedSection=$target.closest('.menu-item-has-children')}
878e.preventDefault();e.stopImmediatePropagation();if(!self.$container.hasClass('allow_multiple_open')){self.closeOtherSections($clickedSection)}
879if($clickedSection.hasClass('expanded')){self.closeSection($clickedSection)}else{self.openSection($clickedSection)}
880return!1},keyboardToggleAccordionSection:function(e){const self=this;const $target=$(e.target);if([$ush.ENTER_KEYCODE,$ush.SPACE_KEYCODE].includes(e.keyCode||e.which)&&($target.parent('.menu-item-has-children').length!==0||$target.parent('.cat-item:has(>.children)').length!==0)){e.preventDefault();self.toggleAccordionSection(e)}},openSection:function($section){const self=this;$section.addClass('expanded');$section.children('a').attr('aria-expanded','true');if(self.isCatNavElm){$section.children('.children').slideDownCSS(SLIDE_DURATION)}else{$section.children('.sub-menu').slideDownCSS(SLIDE_DURATION)}},closeSection:function($section){const self=this;$section.removeClass('expanded');$section.children('a').attr('aria-expanded','false');if(self.isCatNavElm){$section.children('.children').slideUpCSS(SLIDE_DURATION)}else{$section.children('.sub-menu').slideUpCSS(SLIDE_DURATION)}},closeOtherSections:function($selectedSection){const self=this;const $selectedSectionParents=$selectedSection.parentsUntil('.w-menu');self.$menuItemHasChildren.each((_,section)=>{const $section=$(section);if(section!=$selectedSection[0]&&$section.hasClass('expanded')&&!$selectedSectionParents.is($section)){self.closeSection($section)}})}});$.fn.usSimpleNav=function(){return this.each(function(){$(this).data('usSimpleNav',new usSimpleNav(this))})};$('.w-menu.type_accordion').usSimpleNav()}(jQuery);!function($,_undefined){"use strict";$us.WTabs=function(container,options){const self=this;const _defaults={easing:'cubic-bezier(.78,.13,.15,.86)',duration:300};self.options=$.extend({},_defaults,options);self.isRtl=$('.l-body').hasClass('rtl');self.$container=$(container);self.$tabsList=$('> .w-tabs-list:first',self.$container);self.$tabs=$('.w-tabs-item',self.$tabsList);self.$sectionsWrapper=$('> .w-tabs-sections:first',self.$container);self.$sections=$('> .w-tabs-section',self.$sectionsWrapper);self.$headers=self.$sections.children('.w-tabs-section-header');self.$contents=self.$sections.children('.w-tabs-section-content');self.$tabsBar=$();if(self.$container.hasClass('accordion')){self.$tabs=self.$headers}
881self.accordionAtWidth=self.$container.data('accordion-at-width');self.align=self.$tabsList.usMod('align');self.count=self.$tabs.length;self.hasScrolling=self.$container.hasClass('has_scrolling')||!1;self.isAccordionAtWidth=$ush.parseInt(self.accordionAtWidth)!==0;self.isScrolling=!1;self.isTogglable=self.$container.usMod('type')==='togglable';self.minWidth=0;self.tabHeights=[];self.tabLefts=[];self.tabTops=[];self.tabWidths=[];self.width=0;if(self.count===0){return}
882if(self.$container.hasClass('accordion')){self.basicLayout='accordion'}else{self.basicLayout=self.$container.usMod('layout')||'hor'}
883self.curLayout=self.basicLayout;self.active=[];self.activeOnInit=[];self.definedActive=[];self.tabs=$.map(self.$tabs.toArray(),$);self.sections=$.map(self.$sections.toArray(),$);self.headers=$.map(self.$headers.toArray(),$);self.contents=$.map(self.$contents.toArray(),$);
883if(!self.sections.length){return}
884$.each(self.tabs,(index)=>{if(self.sections[index].hasClass('content-empty')){self.tabs[index].hide();self.sections[index].hide()}
885if(self.tabs[index].hasClass('active')){self.active.push(index);self.activeOnInit.push(index)}
886if(self.tabs[index].hasClass('defined-active')){self.definedActive.push(index)}
887self.tabs[index].add(self.headers[index]).on('click mouseover',(e)=>{var $link=self.tabs[index];if(!$link.is('a')){$link=$('a',$link)}
888if($link.length){if(e.type=='click'&&!$ush.toString($link.attr('href'))){e.preventDefault()}}else{e.preventDefault()}
889if(e.type=='mouseover'&&(self.$container.hasClass('accordion')||!self.$container.hasClass('switch_hover'))){return}
890if(self.curLayout==='accordion'&&self.isTogglable){self.toggleSection(index)}else{if(index!=self.active[0]){self.headerClicked=!0;self.openSection(index)}else if(self.curLayout==='accordion'){self.contents[index].css('display','block').slideUp(self.options.duration,self._events.contentChanged);self.tabs[index].attr('aria-expanded','false').removeClass('active');self.sections[index].removeClass('active');self.active[0]=_undefined}}})});self._events={resize:self.resize.bind(self),hashchange:self.hashchange.bind(self),contentChanged:function(){$.each(self.tabs,(_,item)=>{var $content=$(item);$content.attr('aria-expanded',$content.hasClass('active'))})
891$us.$canvas.trigger('contentChange',{elm:self.$container})},wheel:function(){if(self.isScrolling){$us.$htmlBody.stop(!0,!1)}}};self.switchLayout(self.curLayout);$us.$window.on('resize',$ush.debounce(self._events.resize,5)).on('hashchange',self._events.hashchange).on('wheel.noPreventDefault',$ush.debounce(self._events.wheel.bind(self),5));$us.$document.ready(()=>{self.resize();$ush.timeout(self._events.resize,50);$ush.timeout(()=>{if(window.location.hash){var hash=window.location.hash.substr(1),$linkedSection=$(`.w-tabs-section[id="${hash}"]`,self.$sectionsWrapper);if($linkedSection.length&&!$linkedSection.hasClass('active')){$('.w-tabs-section-header',$linkedSection).trigger('click')}}},150)});$.each(self.tabs,(index)=>{if(self.headers.length&&self.headers[index].attr('href')!=_undefined){var tabHref=self.headers[index].attr('href'),tabHeader=self.headers[index];$(`a[href="${tabHref}"]`,self.$container).on('click',function(e){e.preventDefault();if($(this).hasClass('w-tabs-section-header','w-tabs-item')){return}
892if(!$(tabHeader).parent('.w-tabs-section').hasClass('active')){tabHeader.trigger('click')}})}});self.$container.addClass('initialized');self.headerHeight=0;$us.header.on('transitionEnd',(header)=>{self.headerHeight=header.getCurrentHeight(!0)});if($us.usbPreview()){const usbContentChange=()=>{if(!self.isTrendy()||self.curLayout=='accordion'){return}
893self.measure();self.setBarPosition(self.active[0]||0)};self.$container.on('usb.contentChange',$ush.debounce(usbContentChange,1))}};$us.WTabs.prototype={isTrendy:function(){return this.$container.hasClass('style_trendy')},hashchange:function(){if(window.location.hash){var hash=window.location.hash.substr(1),$linkedSection=$(`.w-tabs-section[id="${hash}"]`,this.$sectionsWrapper);if($linkedSection.length&&!$linkedSection.hasClass('active')){$('.w-tabs-section-header',$linkedSection).click()}}},switchLayout:function(to){this.cleanUpLayout(this.curLayout);this.prepareLayout(to);this.curLayout=to},cleanUpLayout:function(from){this.$sections.resetInlineCSS('display');if(from==='accordion'){this.$container.removeClass('accordion');this.$contents.resetInlineCSS('height','padding-top','padding-bottom','display','opacity')}
894if(this.isTrendy()&&['hor','ver'].includes(from)){this.$tabsBar.remove()}},prepareLayout:function(to){if(to!=='accordion'&&this.active[0]===_undefined){this.active[0]=this.activeOnInit[0];if(this.active[0]!==_undefined){this.tabs[this.active[0]].addClass('active');this.sections[this.active[0]].addClass('active')}}
895if(to==='accordion'){this.$container.addClass('accordion');this.$contents.hide();if(this.curLayout!=='accordion'&&this.active[0]!==_undefined&&this.active[0]!==this.definedActive[0]){this.headers[this.active[0]].removeClass('active');this.tabs[this.active[0]].removeClass('active');this.sections[this.active[0]].removeClass('active');this.active[0]=this.definedActive[0]}
896for(var i=0;i<this.active.length;i ++){if(this.contents[this.active[i]]!==_undefined){this.tabs[this.active[i]].attr('aria-expanded','true').addClass('active');this.sections[this.active[i]].addClass('active');this.contents[this.active[i]].show()}}}else if(to==='ver'){this.$contents.hide();this.contents[this.active[0]].show()}
897if(this.isTrendy()&&'hor|ver'.indexOf(this.curLayout)>-1){this.$tabsBar=$('<div class="w-tabs-list-bar"></div>').appendTo(this.$tabsList)}},measure:function(){if(this.basicLayout==='ver'){if(this.isAccordionAtWidth){this.minWidth=this.accordionAtWidth}else{var
898minTabWidth=this.$tabsList.outerWidth(!0),minContentWidth=300,navWidth=this.$container.usMod('navwidth');if(navWidth!=='auto'){minTabWidth=Math.max(minTabWidth,minContentWidth*parseInt(navWidth)/(100-parseInt(navWidth))
898)}
899this.minWidth=Math.max(480,minContentWidth+minTabWidth+1)}
900if(this.isTrendy()){this.tabHeights=[];this.tabTops=[];for(var index=0;index<this.tabs.length;index ++){this.tabHeights.push(this.tabs[index].outerHeight(!0));this.tabTops.push(index?(this.tabTops[index-1]+this.tabHeights[index-1]):0)}}}else{if(this.basicLayout==='hor'){this.$container.addClass('measure');if(this.isAccordionAtWidth){this.minWidth=this.accordionAtWidth}else{this.minWidth=0;for(var index=0;index<this.tabs.length;index ++){this.minWidth+=this.tabs[index].outerWidth(!0)}}
901this.$container.removeClass('measure')}
902if(this.isTrendy()){this.tabWidths=[];this.tabLefts=[];for(var index=0;index<this.tabs.length;index ++){this.tabWidths.push(this.tabs[index].outerWidth(!0));this.tabLefts.push(index?(this.tabLefts[index-1]+this.tabWidths[index-1]):this.tabs[index].position().left)}
903if(this.isRtl){var
904firstTabWidth=this.tabWidths[0],offset=('none'==this.align)?this.$tabsList.outerWidth(!0):this.tabWidths.reduce((a,b)=>{return a+b},0);this.tabLefts=this.tabLefts.map((left)=>Math.abs(left-offset+firstTabWidth))}}}},setBarPosition:function(index,animated){if(index===_undefined||!this.isTrendy()||'hor|ver'.indexOf(this.curLayout)==-1){return}
905if(!this.$tabsBar.length){this.$tabsBar=$('<div class="w-tabs-list-bar"></div>').appendTo(this.$tabsList)}
906var css={};if(this.curLayout==='hor'){css={width:this.tabWidths[index]};css[this.isRtl?'right':'left']=this.tabLefts[index]}else if(this.curLayout==='ver'){css={top:this.tabTops[index],height:this.tabHeights[index]}}
907if(!animated){this.$tabsBar.css(css)}else{this.$tabsBar.performCSSTransition(css,this.options.duration,null,this.options.easing)}},openSection:function(index){const self=this;if(this.sections[index]===_undefined){return}
908if(this.curLayout==='hor'){this.$sections.removeClass('active').css('display','none');this.sections[index].stop(!0,!0).fadeIn(this.options.duration,function(){$(this).addClass('active');self.startTabComponents(index)})}else if(this.curLayout==='accordion'){if(this.contents[this.active[0]]!==_undefined){this.contents[this.active[0]].css('display','block').stop(!0,!1).slideUp(this.options.duration,()=>self.startTabComponents(index))}
909this.contents[index].css('display','none').stop(!0,!1).slideDown(this.options.duration,function(){this._events.contentChanged.call(this);if(this.hasScrolling&&this.curLayout==='accordion'&&this.headerClicked==!0){var top=this.headers[index].offset().top;if(!jQuery.isMobile){top-=$us.$canvas.offset().top||0}
910var $prevStickySection=this.$container.closest('.l-section').prevAll('.l-section.type_sticky');if($prevStickySection.length){top-=parseInt($prevStickySection.outerHeight(!0))}
911var animateOptions={duration:$us.canvasOptions.scrollDuration,easing:$us.getAnimationName('easeInOutExpo'),start:function(){this.isScrolling=!0}.bind(this),always:function(){this.isScrolling=!1}.bind(this),step:function(now,fx){var newTop=top;if($us.header.isHorizontal()&&$us.header.stickyEnabled()){newTop-=this.headerHeight}
912if(fx.end!==newTop){$us.$htmlBody.stop(!0,!1).animate({scrollTop:newTop},$.extend(animateOptions,{easing:$us.getAnimationName('easeOutExpo')}))}}.bind(this)};$us.$htmlBody.stop(!0,!1).animate({scrollTop:top},animateOptions);this.headerClicked=!1;self.startTabComponents(index)}}.bind(this));this.$sections.removeClass('active');this.sections[index].addClass('active')}else if(this.curLayout==='ver'){if(this.contents[this.active[0]]!==_undefined){this.contents[this.active[0]].css('display','none')}
913this.contents[index].css('display','none').stop(!0,!0).fadeIn(this.options.duration,this._events.contentChanged);this.$sections.removeClass('active');this.sections[index].addClass('active');self.startTabComponents(index)}
914this._events.contentChanged();this.$tabs.attr('aria-expanded','false').removeClass('active');this.tabs[index].attr('aria-expanded','true').addClass('active');this.active[0]=index;this.setBarPosition(index,!0)},toggleSection:function(index){var indexPos=$.inArray(index,this.active);if(indexPos!=-1){this.contents[index].css('display','block').slideUp(this.options.duration,this._events.contentChanged);this.tabs[index].attr('aria-expanded','false').removeClass('active');this.sections[index].removeClass('active');this.active.splice(indexPos,1)}else{this.contents[index].css('display','none').slideDown(this.options.duration,this._events.contentChanged);this.tabs[index].attr('aria-expanded','true').addClass('active');this.sections[index].addClass('active');this.active.push(index)}},startTabComponents:function(tabIndex){const self=this;$('.w-counter',self.sections[tabIndex]).each((_,item)=>{$(item).trigger('animation_start')})},resize:function(){this.width=this.isAccordionAtWidth?$us.$window.outerWidth():this.$container.width();if(this.curLayout!=='accordion'&&!this.width&&this.$container.closest('.w-nav').length&&!jQuery.isMobile){return}
915var nextLayout=(this.width<=this.minWidth)?'accordion':this.basicLayout;if(nextLayout!==this.curLayout){this.switchLayout(nextLayout)}
916if(this.curLayout!=='accordion'){this.measure()}
917this._events.contentChanged();this.setBarPosition(this.active[0])}};$.fn.wTabs=function(options){return this.each(function(){$(this).data('wTabs',new $us.WTabs(this,options))})};$(()=>$('.w-tabs').wTabs());$us.$document.on('usPostList.itemsLoaded usGrid.itemsLoaded',(_,$items)=>{$('.w-tabs',$items).wTabs()})}(jQuery);jQuery(function($){$('.w-tabs .rev_slider').each(function(){var $slider=$(this);$slider.bind("revolution.slide.onloaded",function(e){$us.$canvas.on('contentChange',function(){$slider.revredraw()})})})});(function($,_undefined){"use strict";window.$us.YTPlayers=window.$us.YTPlayers||{};$us.wVideo=function(container){const self=this;self.$container=$(container);self.$videoH=$('.w-video-h',self.$container);self.cookieName=self.$container.data('cookie-name');self.isWithOverlay=self.$container.hasClass('with_overlay');if($ush.isSafari){(self.getVideoElement()||{load:$.noop}).load()}
918if(!self.cookieName&&!self.isWithOverlay){return}
919self.data={};if(self.$container.is('[onclick]')){self.data=self.$container[0].onclick()||{};if(!$us.usbPreview())self.$container.removeAttr('onclick')}
920self._events={hideOverlay:self._hideOverlay.bind(self),confirm:self._confirm.bind(self)};if(self.cookieName){self.$container.on('click','.action_confirm_load',self._events.confirm)}
921self.$container.one('click','> *',self._events.hideOverlay)};$.extend($us.wVideo.prototype,{getVideoElement:function(){return $('video',this.$videoH)[0]||null}
921,_confirm:function(){const self=this;if($('input[name^='+self.cookieName+']:checked',self.$container).length){$ush.setCookie(self.cookieName,1,365)}
922if(self.isWithOverlay){self.insertPlayer()}else{self.$videoH.html($ush.base64Decode(''+$('script[type="text/template"]',self.$container).text())).removeAttr('data-cookie-name')}},_hideOverlay:function(e){const self=this;e.preventDefault();if(self.$container.is('.with_overlay')){self.$container.removeAttr('style').removeClass('with_overlay')}
923if(!self.cookieName){self.insertPlayer()}},insertPlayer:function(){const self=this;var data=$.extend({player_id:'',player_api:'',player_html:''},self.data||{});if(data.player_api&&!$('script[src="'+data.player_api+'"]',document.head).length){$('head').append('<script src="'+data.player_api+'"></script>')}
924self.$videoH.html(data.player_html);const videoElement=self.getVideoElement();if(!data.player_api&&$ush.isNode(videoElement)){if(self.isWithOverlay&&$ush.isSafari){videoElement.setAttribute('preload','metadata')}
925videoElement.play()}}});$.fn.wVideo=function(){return this.each(function(){$(this).data('wVideo',new $us.wVideo(this))})};$(()=>$('.w-video').wVideo());$us.$document.on('usPostList.itemsLoaded usGrid.itemsLoaded',(_,$items)=>{$('.w-video',$items).wVideo()})})(jQuery);(function($){var $window=$(window),windowHeight=$window.height();$.fn.parallax=function(xposParam){this.each(function(){var $container=$(this),$this=$container.children('.l-section-img'),speedFactor,offsetFactor=0,getHeight,topOffset=0,containerHeight=0,containerWidth=0,disableParallax=!1,parallaxIsDisabled=!1,baseImgHeight=0,baseImgWidth=0,isBgCover=($this.css('background-size')=='cover'),originalBgPos=$this.css('background-position'),curImgHeight=0,reversed=$container.hasClass('parallaxdir_reversed'),baseSpeedFactor=reversed?-0.1:0.61,xpos,outerHeight=!0;if($this.length==0){return}
926if(xposParam===undefined){xpos="50%"}else{xpos=xposParam}
927if($container.hasClass('parallax_xpos_right')){xpos="100%"}else if($container.hasClass('parallax_xpos_left')){xpos="0%"}
928if(outerHeight){getHeight=function(jqo){return jqo.outerHeight(!0)}}else{getHeight=function(jqo){return jqo.height()}}
929function getBackgroundSize(callback){var img=new Image(),width,height,backgroundSize=($this.css('background-size')||' ').split(' '),backgroundWidthAttr=$this.attr('data-img-width'),backgroundHeightAttr=$this.attr('data-img-height');if(backgroundWidthAttr!=''){width=parseInt(backgroundWidthAttr)}
930if(backgroundHeightAttr!=''){height=parseInt(backgroundHeightAttr)}
931if(width!==undefined&&height!==undefined){return callback({width:width,height:height})}
932if(/px/.test(backgroundSize[0])){width=parseInt(backgroundSize[0])}
933if(/%/.test(backgroundSize[0])){width=$this.parent().width()*(parseInt(backgroundSize[0])/100)}
934if(/px/.test(backgroundSize[1])){height=parseInt(backgroundSize[1])}
935if(/%/.test(backgroundSize[1])){height=$this.parent().height()*(parseInt(backgroundSize[0])/100)}
936if(width!==undefined&&height!==undefined){return callback({width:width,height:height})}
937img.onload=function(){if(typeof width=='undefined'){width=this.width}
938if(typeof height=='undefined'){height=this.height}
939callback({width:width,height:height})};img.src=($this.css('background-image')||'').replace(/url\(['"]*(.*?)['"]*\)/g,'$1')}
940function update(){if($us.$html.hasClass('ios-touch')){return}
941if(disableParallax){if(!parallaxIsDisabled){$this.css('backgroundPosition',originalBgPos);$container.usMod('parallax','fixed');parallaxIsDisabled=!0}
942return}else{if(parallaxIsDisabled){$container.usMod('parallax','ver');parallaxIsDisabled=!1}}
943if(isNaN(speedFactor)){return}
944var pos=$window.scrollTop();if((topOffset+containerHeight<pos)||(pos<topOffset-windowHeight)){return}
945$this.css('backgroundPosition',xpos+" "+(offsetFactor+speedFactor*(topOffset-pos))+"px")}
946function resize(){$ush.timeout(function(){windowHeight=$window.height();containerHeight=getHeight($this);containerWidth=$this.width();if($window.width()<$us.canvasOptions.disableEffectsWidth){disableParallax=!0}else{disableParallax=!1;if(isBgCover){if(baseImgWidth/baseImgHeight<=containerWidth/containerHeight){curImgHeight=baseImgHeight*($this.width()/baseImgWidth);disableParallax=!1}else{disableParallax=!0}}}
947if(curImgHeight!==0){if(baseSpeedFactor>=0){speedFactor=Math.min(baseSpeedFactor,curImgHeight/windowHeight);offsetFactor=.5*(windowHeight-curImgHeight-speedFactor*(windowHeight-containerHeight));if(offsetFactor>0){offsetFactor=-offsetFactor}}else{speedFactor=Math.min(baseSpeedFactor,(windowHeight-containerHeight)/(windowHeight+containerHeight));offsetFactor=Math.max(0,speedFactor*containerHeight)}}else{speedFactor=baseSpeedFactor;offsetFactor=0}
948topOffset=$this.offset().top;
948update()},10)}
949getBackgroundSize(function(sz){curImgHeight=baseImgHeight=sz.height;baseImgWidth=sz.width;resize()});$window.bind({'scroll.noPreventDefault':update,load:resize,resize:resize});resize()})};jQuery('.parallax_ver').parallax('50%')})(jQuery);!function($,_undefined){"use strict";window.$us=window.$us||{};function AddToFavorites(container){const self=this;self.$wrapperFavs=$(container);self.$btnFavs=$('.w-btn.us_add_to_favs',container);self.$tooltipNotLoggedIn=$('.us-add-to-favs-tooltip.not-logged-in',container);self.$tooltipAfterAdding=$('.us-add-to-favs-tooltip.message-after-adding',container);self.$btnFavsLabel=$('.w-btn-label',self.$btnFavs);self.xhr=_undefined;self.data={post_ID:0,labelAfterAdding:'',labelBeforeAdding:'',};if(self.$btnFavs.is('[onclick]')){$.extend(self.data,self.$btnFavs[0].onclick()||{})}
950if(!$us.usbPreview()){self.$btnFavs.removeAttr('onclick')}
951self._events={toggleFavorites:self._toggleFavorites.bind(self),};self.$btnFavs.on('click',self._events.toggleFavorites);self.setButtonState(self.getPostIDs().includes(self.data.post_ID))};$.extend(AddToFavorites.prototype,{getPostIDs:function(){return $ush.toString($us.userFavoritePostIds).split(',').map($ush.parseInt).filter((v)=>{return v})},setButtonState:function(isAdded){let self=this;self.$btnFavs.removeAttr('disabled').removeClass('loading');if(isAdded){self.$btnFavs.addClass('added');if(self.$btnFavsLabel.length){self.$btnFavsLabel.text(self.data.labelAfterAdding)}}else{self.$btnFavs.removeClass('added');if(self.$btnFavsLabel.length){self.$btnFavsLabel.text(self.data.labelBeforeAdding)}}},_toggleFavorites:function(e){const self=this;e.preventDefault();e.stopPropagation();const notLoggedIn=self.data.userLoggedIn===!1;const isAdded=!self.$btnFavs.hasClass('added');if(notLoggedIn&&!self.data.allowGuests){self.toggleTooltip(self.$tooltipNotLoggedIn);return}
952$us.$document.trigger('usToggleFavorites',isAdded);let postIDs=self.getPostIDs(),index=postIDs.indexOf(self.data.post_ID);if(index>-1){postIDs.splice(index,1)}else{postIDs.push(self.data.post_ID)}
953$us.userFavoritePostIds=postIDs.join(',');if(notLoggedIn&&self.data.allowGuests){$ush.setCookie('us_favorite_post_ids',postIDs.join(','),365)}
954self.setButtonState(isAdded);self.toggleAriaLabel(isAdded);if(self.$btnFavs.hasClass('added')&&self.$tooltipAfterAdding.length){self.toggleTooltip(self.$tooltipAfterAdding)}else{self.$tooltipAfterAdding.removeClass('show')}
955if(!$ush.isUndefined(self.xhr)){self.xhr.abort()}
956self.xhr=$.ajax({url:$us.ajaxUrl,type:'POST',data:{action:'us_add_post_to_favorites',post_id:self.data.post_ID,}})},toggleTooltip:function(tooltip){const removeTooltip=()=>{$us.$window.off('click',removeTooltip);if(tooltip.hasClass('show')){tooltip.removeClass('show')}};tooltip.addClass('show');$ush.timeout(()=>{$us.$window.on('click',removeTooltip)},1)},toggleAriaLabel:function(isAdded){const self=this;if(!self.$btnFavs.hasClass('text_none')){return}
957if(isAdded){self.$btnFavs.attr('aria-label',self.data.labelAfterAdding)}else{self.$btnFavs.attr('aria-label',self.data.labelBeforeAdding)}}});$.fn.usAddToFavorites=function(){return this.each(function(){$(this).data('usAddToFavorites',new AddToFavorites(this))})};function FavoritesCounter(container){const self=this;self.$wrapperFavsCounter=$(container);self.$favsCounter=$('.w-favs-counter-quantity',self.$wrapperFavsCounter);self.$favsCounterQuantity=self.$favsCounter.text()*1;$us.$document.on('usToggleFavorites',self._changeCount.bind(self))}
958$.extend(FavoritesCounter.prototype,{_changeCount:function(_,isAdded){const self=this;if(isAdded){self.$favsCounterQuantity++;self.$favsCounter.text(self.$favsCounterQuantity)}else{self.$favsCounterQuantity--;self.$favsCounter.text(self.$favsCounterQuantity)}
959if(self.$favsCounterQuantity<1){self.$wrapperFavsCounter.addClass('empty')}else{self.$wrapperFavsCounter.removeClass('empty')}},});$.fn.usFavoritesCounter=new FavoritesCounter('.w-favs-counter');$(()=>{$('.w-btn-wrapper.for_add_to_favs').usAddToFavorites()});$us.$document.on('usPostList.itemsLoaded usGrid.itemsLoaded',(_,$items)=>{$('.w-btn-wrapper.for_add_to_favs',$items).usAddToFavorites()})}(jQuery);!(function($){"use strict";const floor=Math.floor;function UsCountdown(container){this.$container=$(container);this.itemMap={};this.data={};if(this.$container.hasClass('expired')){return}
960if(this.$container.is('[onclick]')){$.extend(this.data,this.$container[0].onclick()||{})}
961if(!$us.usbPreview()){this.$container.removeAttr('onclick')}
962this.remaining=$ush.parseInt(this.data.remainingTime);this.prev={days:null,hours:null,minutes:null,seconds:null,};this.$container.find('.w-countdown-item').each((i,item)=>{var type=$(item).data('type'),$itemNumber=$(item).find('.w-countdown-item-number'),$value=$itemNumber.find('span');this.itemMap[type]={$itemNumber,$value}});this.init()}
963$.extend(UsCountdown.prototype,{init:function(){this.slide(!1);this.timer=$ush.timeout(this.tick.bind(this),1000)},tick:function(){this.remaining --;if(this.remaining<0){return this.finish()}
964this.slide(!0);$ush.clearTimeout(this.timer);this.timer=$ush.timeout(this.tick.bind(this),1000)},slide:function(animate){const values={days:floor(this.remaining/86400),hours:floor((this.remaining%86400)/3600),minutes:floor((this.remaining%3600)/60),seconds:this.remaining%60,};
964Object.keys(values).forEach(type=>{const newVal=String(values[type]).padStart(2,'0');if(this.prev[type]===newVal){return}
965this.prev[type]=newVal;const item=this.itemMap[type];if($us.usbPreview()&&!item){return}
966const $old=item.$value;const oldVal=$old.text();if(!animate||oldVal===''){$old.text(newVal);return}
967const $new=$('<span class="new">').text(newVal).appendTo(item.$itemNumber);if(!this.$container.hasClass('animation_none')){$old.removeClass('old new is-updating').addClass('old is-updating');$new.addClass('is-updating');$new.one('animationend',()=>{item.$itemNumber.find('span:not(:last)').remove();$old.remove();$new.removeClass('old new is-updating');item.$value=$new})}else{item.$itemNumber.find('span:not(:last)').remove();$old.remove();item.$value=$new}})},finish:function(){$ush.clearTimeout(this.timer);this.$container.addClass('expired')}});$.fn.wCountdown=function(){return this.each(function(){$(this).data('wCountdown',new UsCountdown(this))})};$(()=>$('.w-countdown').wCountdown())})(jQuery);jQuery(function($){"use strict";jQuery('.upb_bg_img, .upb_color, .upb_grad, .upb_content_iframe, .upb_content_video, .upb_no_bg').each(function(){var $bg=jQuery(this),$prev=$bg.prev();if($prev.length==0){var $parent=$bg.parent(),$parentParent=$parent.parent(),$prevParentParent=$parentParent.prev();if($prevParentParent.length){$bg.insertAfter($prevParentParent);if($parent.children().length==0){$parentParent.remove()}}}});$('.g-cols > .ult-item-wrap').each(function(index,elm){var $elm=jQuery(elm);$elm.replaceWith($elm.children())});jQuery('.overlay-show').click(function(){window.setTimeout(function(){$us.$canvas.trigger('contentChange')},1000)})});!(function($,_undefined){const $ush=window.$ush||{};var lastUpdateCartRequest;function WooCommerce(){const self=this;self.$cart=$('.w-cart');self.$cartCloser=$('.w-cart-closer',self.$cart);self.$cartLink=$('.w-cart-link',self.$cart);self.$pageContent=$('#page-content');self.$notice=$('.w-wc-notices.woocommerce-notices-wrapper:first',$us.$canvas);self.$addToCart=$('.w-post-elm.add_to_cart',$us.$canvas);self.isCartLayoutPanel=self.$cart.hasClass('layout_left_panel')||self.$cart.hasClass('layout_right_panel');self.isCartOpen=!1;self.restVars={};self._events={ajaxAddToCart:self.ajaxAddToCart.bind(self),applyCouponCode:self.applyCouponCode.bind(self),changeCartQuantity:self.changeCartQuantity.bind(self),couponCodeChange:self.couponCodeChange.bind(self),couponDisplaySwitch:self.couponDisplaySwitch.bind(self),enterCouponCode:self.enterCouponCode.bind(self),showNotification:self.showNotification.bind(self),loginFieldKeydown:self.loginFieldKeydown.bind(self),minusCartQuantity:self.minusCartQuantity.bind(self),moveNotifications:self.moveNotifications.bind(self),clickOutsideCart:self.clickOutsideCart.bind(self),plusCartQuantity:self.plusCartQuantity.bind(self),removeCartItem:self.removeCartItem.bind(self),showLoginForm:self.showLoginForm.bind(self),submitLoginForm:self.submitLoginForm.bind(self),updateCart:self.updateCart.bind(self),updatedCartTotals:self.updatedCartTotals.bind(self),showCartOnClick:self.showCartOnClick.bind(self),showCartOnKeyup:self.showCartOnKeyup.bind(self),hideCartOnKeyup:self.hideCartOnKeyup.bind(self),redirectToCartOnMobile:self.redirectToCartOnMobile.bind(self),};if(self.isCart()){self.$cartNotification=$('.w-cart-notification',self.$cart);self.$cartNotification.on('click',()=>{self.$cartNotification.fadeOutCSS()});if(self.isCartLayoutPanel){self.$cartCloser.on('click',()=>self._toggleCart(!1))}
968if($.isMobile){self.$cart.on('click','.w-cart-link',self._events.redirectToCartOnMobile)}else{if(self.$cart.hasClass('drop_on_click')||self.$cart.is('[class*="_panel"]')){self.$cartLink.on('keyup',self._events.showCartOnKeyup);self.$cartLink.on('click',self._events.showCartOnClick)}
969$us.$body.on('keyup',self._events.hideCartOnKeyup);if(self.isCartLayoutPanel){self.$cartCloser.on('keyup',(e)=>{if(e.keyCode===$ush.ENTER_KEYCODE){self._toggleCart(!1,self.$cartLink)}})}}
970$us.$body.on('wc_fragments_loaded wc_fragments_refreshed',self._events.updateCart).on('added_to_cart',self._events.showNotification).on('removed_from_cart',self._events.updateCart)}
971if(self.isCartPage()){self.restVars=$('.w-cart-table.woocommerce-cart-form:visible',$us.$canvas).data('rest-vars');$us.$body.on('change','.w-wc-coupon-form input',self._events.couponCodeChange).on('keyup','.w-wc-coupon-form input',self._events.enterCouponCode).on('click','.w-wc-coupon-form button',self._events.applyCouponCode).on('click','a.remove',self._events.removeCartItem).on('applied_coupon removed_coupon',self._events.couponDisplaySwitch).on('updated_cart_totals',self._events.updatedCartTotals);$('input.qty',$us.$canvas).trigger('initControls');$.ajaxPrefilter((_,originalOptions,jqXHR)=>{const data=$ush.toString(originalOptions.data);if(data.indexOf('&update_cart')>-1){lastUpdateCartRequest=jqXHR}
972if(data.indexOf('&us_calc_shipping')>-1){jqXHR.done((res)=>{$('.w-cart-shipping .woocommerce-shipping-destination').html($('.w-cart-shipping:first .woocommerce-shipping-destination',res).html())})}});$('.w-cart-shipping form.woocommerce-shipping-calculator',$us.$canvas).append('<input type="hidden" name="us_calc_shipping">')}
973if(self.isCheckoutPage()){$us.$body.on('change','.w-wc-coupon-form input',self._events.couponCodeChange).on('keyup','.w-wc-coupon-form input',self._events.enterCouponCode).on('click','.w-wc-coupon-form button',self._events.applyCouponCode).on('applied_coupon_in_checkout removed_coupon_in_checkout',self._events.couponDisplaySwitch).on('applied_coupon_in_checkout removed_coupon_in_checkout checkout_error',self._events.moveNotifications).on('click','.w-checkout-login .showlogin',self._events.showLoginForm).on('click','.w-checkout-login button',self._events.submitLoginForm).on('keydown','.w-checkout-login input, .w-checkout-login button',self._events.loginFieldKeydown);const $couponField=$('.w-wc-coupon-form input',$us.$canvas);$us.$document.on('keypress',(e)=>{if(e.keyCode===$ush.ENTER_KEYCODE&&$couponField.is(':focus')){e.preventDefault()}})}
974if($us.$body.hasClass('us-ajax_add_to_cart')){$us.$body.on('click','.single_add_to_cart_button:not(.disabled)',self._events.ajaxAddToCart)}
975$us.$body.on('click','.quantity input.minus',self._events.minusCartQuantity).on('click','.quantity input.plus',self._events.plusCartQuantity).on('change initControls','.quantity input.qty',self._events.changeCartQuantity);$us.$document.on('ajaxComplete',(_,jqXHR,settings)=>{if(settings.url.includes('add_to_cart')&&self.$cart.hasClass('open_on_ajax')&&self.isCartLayoutPanel){self._toggleCart(!0);self.$cart.on('transitionend',()=>{self.$cartCloser[0].focus();self.$cart.off('transitionend')})}
976if(String(jqXHR.responseText).charAt(0)==='{'){return}
977const $fragment=$(new DocumentFragment).append(jqXHR.responseText);if(self.isCartPage()&&$('.cart_totals',$fragment).length>1){const notices=self.$notice.html();self.$pageContent.html($('.l-main',$fragment));self.$notice=$('.w-wc-notices.woocommerce-notices-wrapper:first',$us.$canvas);if(notices){self.$notice.html(notices)}}
978if(String(settings.url).includes('wc-ajax=apply_coupon')){const $message=$('.woocommerce-error, .woocommerce-message',$fragment);if($message.length>0){self.$notice.html($message.clone())}else{self.$notice.html('')}}})}
979$.extend(WooCommerce.prototype,{isCart:function(){return this.$cart.length>0},isCartPage:function(){return $us.$body.hasClass('woocommerce-cart')},isCheckoutPage:function(){return $us.$body.hasClass('woocommerce-checkout')},updateCart:function(){const self=this;$.each(self.$cart,(_,cart)=>{var $cart=$(cart),$cartQuantity=$('.w-cart-quantity',$cart),miniCartAmount=$('.us_mini_cart_amount:first',$cart).text();if($cart.hasClass('opened')&&!$cart.hasClass('drop_on_click')&&!$cart.hasClass('layout_left_panel')&&!$cart.hasClass('layout_right_panel')){$cart.removeClass('opened')}
980if(miniCartAmount!==_undefined){miniCartAmount=String(miniCartAmount).match(/\d+/g);$cartQuantity.html(miniCartAmount>0?miniCartAmount:'0');$cart[miniCartAmount>0?'removeClass':'addClass']('empty')}else{var total=0;$('.quantity',$cart).each((_,quantity)=>{var matches=String(quantity.innerText).match(/\d+/g);if(matches){total+=parseInt(matches[0],10)}});$cartQuantity.html(total>0?total:'0');$cart[total>0?'removeClass':'addClass']('empty')}})},showNotification:function(e,fragments,_,$button){if($ush.isUndefined(e)){return}
981const self=this;self.updateCart();const $notice=self.$cartNotification;const theProductName=$button.closest('.product, .w-popup-box-content').find('.woocommerce-loop-product__title, .w-post-elm.post_title').first().text();$('.product-name',$notice).text(`"${theProductName}"`);if($notice.hasClass('skip_message')){$notice.removeClass('skip_message');return}
982$notice.addClass('shown');$notice.on('mouseenter',()=>$notice.removeClass('shown'));$ush.timeout(()=>{$notice.removeClass('shown').off('mouseenter')},3000)},removeCartItem:function(e){var $item=$(e.target).closest('.cart_item').addClass('change_process');if(!$item.siblings('.cart_item:not(.change_process)').length){$('.w-cart-table',$us.$canvas).remove()}},changeCartQuantity:function(e){if($us.usbPreview()){return}
983const self=this;const $input=$(e.target);const isGroupTable=$input.closest('.cart').hasClass('grouped_form');const max=$ush.parseFloat($input.attr('max'))||-1;const min=$ush.parseFloat($input.attr('min'))||(isGroupTable?0:1);var value=$ush.parseFloat($input.val());if($input.is(':disabled')){return}
984if(min>=value){value=min}
985if(max>1&&value>=max){value=max}
986if(value!=$input.val()){$input.val(value)}
987$input.siblings('input.plus:first').prop('disabled',(max>0&&value>=max));$input.siblings('input.minus:first').prop('disabled',(value<=min));if(e.type=='initControls'){return}
988$('input[name=us_cart_quantity]',$us.$canvas).val(!0);if(self.isCartPage()){self.restApiUpdateCartForm($input,value)}},getShippingState:function(shippingRates){if(shippingRates){return shippingRates.flatMap((shippingPackage)=>(shippingPackage.shipping_rates??[]).map((rate)=>`${rate.rate_id}:${+ rate.selected}`)).join(',')}
989return $('.w-cart-totals:visible, .w-cart-shipping:visible',$us.$canvas).first().find('.shipping_method').map((_,input)=>`${input.value}:${+ ( input.checked || input.type == 'hidden' )}`).get().join(',')},updateShippingAmounts:function(data){const self=this;if(!data.totals||!(data.shipping_rates??[]).length){return}
990const $inputs=$('.w-cart-totals:visible, .w-cart-shipping:visible',$us.$canvas).find('.shipping_method');if(!$inputs.length){return}
991data.shipping_rates.forEach((shippingPackage)=>{(shippingPackage.shipping_rates??[]).forEach((rate)=>{const $rows=$inputs.filter((_,input)=>(input.value===rate.rate_id)).closest('li');const $amounts=$rows.find('.woocommerce-Price-amount bdi');if(!$amounts.length){return}
992var price=$ush.parseFloat(rate.price);if(self.restVars.displayPricesIncludingTax){price+=$ush.parseFloat(rate.taxes)}
993$amounts.html(self.formatPrice(self.buildPriceData(data.totals,price)))})})},restApiUpdateCartForm:function($input,value){const self=this;const shippingState=self.getShippingState();const productKey=$input.closest('.product-quantity').data('product-key');const $cartItem=$input.closest('.woocommerce-cart-form__cart-item.cart_item');const $cartTotals=$('.w-cart-totals:visible',$us.$canvas);if(typeof self.lastRestRequest?.abort==='function'){self.lastRestRequest.abort()}
994if(typeof $.fn.block==='function'&&$cartTotals.length){$cartTotals.addClass('processing').block({message:null,overlayCSS:{opacity:0.6,},})}
995self.lastRestRequest=$.ajax({url:`${self.restVars.siteUrl}/wp-json/wc/store/v1/cart/update-item`,method:'POST',dataType:'json',data:{key:productKey,quantity:value,},headers:{'Nonce':self.restVars.nonce,},success:function(data){if(self.getShippingState(data.shipping_rates??[])!==shippingState){self.updateCartForm();return}
996self.updateShippingAmounts(data);const updatedItem=data.items?.find((item)=>(item.key===productKey));if(updatedItem&&updatedItem.totals){const subtotalData=self.buildPriceData(updatedItem.totals,updatedItem.totals.line_subtotal||'');const $subtotal=$cartItem.find('.product-subtotal');if(self.restVars.displayPricesIncludingTax){subtotalData.price=$ush.parseFloat(subtotalData.price)+$ush.parseFloat(updatedItem.totals.line_subtotal_tax)}
997$subtotal.find('bdi').html(self.formatPrice(subtotalData))}
998if(data.totals){const subtotalData=self.buildPriceData(data.totals,data.totals.total_items||'');if($cartTotals.length){const taxLines=data.totals.tax_lines||[];var subtotalPrice=$ush.parseFloat(data.totals.total_items);if(self.restVars.displayPricesIncludingTax){subtotalPrice+=$ush.parseFloat(data.totals.total_items_tax)}
999$('.cart-subtotal bdi',$cartTotals).html(self.formatPrice({...subtotalData,price:subtotalPrice}));const totalData={...subtotalData,price:data.totals.total_price};$('.order-total bdi',$cartTotals).html(self.formatPrice(totalData));var discountPrice=$ush.parseFloat(data.totals.total_discount);if(self.restVars.displayPricesIncludingTax){discountPrice+=$ush.parseFloat(data.totals.total_discount_tax)}
1000const discountData={...subtotalData,price:discountPrice};$('.cart-discount .woocommerce-Price-amount',$cartTotals).html(self.formatPrice(discountData));const $taxRows=$('tr.tax-rate',$cartTotals);if($taxRows.length&&taxLines.length===$taxRows.length){$taxRows.each((i,row)=>{const taxData={...subtotalData,price:taxLines[i].price};$('.woocommerce-Price-amount',row).first().html(self.formatPrice(taxData))})}else if($taxRows.length){const taxData={...subtotalData,price:data.totals.total_tax};$('.woocommerce-Price-amount',$taxRows.first()).html(self.formatPrice(taxData))}
1001const $inclTaxAmounts=$('.order-total .includes_tax .woocommerce-Price-amount',$cartTotals);if($inclTaxAmounts.length===1){$inclTaxAmounts.html(self.formatPrice({...subtotalData,price:data.totals.total_tax}))}else if($inclTaxAmounts.length&&taxLines.length===$inclTaxAmounts.length){$inclTaxAmounts.each((i,el)=>{$(el).html(self.formatPrice({...subtotalData,price:taxLines[i].price}))})}
1002$us.$body.trigger('updated_cart_totals')}}
1003$us.$body.trigger('updated_wc_div');if(typeof $.fn.unblock==='function'&&$cartTotals.length){$cartTotals.removeClass('processing').unblock()}},error:function(){if(!$('.w-cart-table',$us.$canvas).hasClass('processing')){self.updateCartForm_long(self.updateCartForm.bind(self))}else{self.updateCartForm()}},})},buildPriceData:function(totals,price){return{price:price,precision:totals.currency_minor_unit??2,currency_code:totals.currency_code||'',currency_symbol:totals.currency_symbol||'',currency_prefix:totals.currency_prefix||'',currency_suffix:totals.currency_suffix||'',decimal_separator:totals.currency_decimal_separator??'.',thousand_separator:totals.currency_thousand_separator??''}},formatPrice:function(priceData){if(priceData.price===''||priceData.price==null){return''}
1004const numericPrice=$ush.parseFloat(priceData.price)/Math.pow(10,priceData.precision);const decimalSeparator=$ush.toString(priceData.decimal_separator)||'.';const thousandSeparator=$ush.toString(priceData.thousand_separator);var parts=numericPrice.toFixed(priceData.precision).split('.');if(thousandSeparator){parts[0]=parts[0].replace(/\B(?=(\d{3}
1004)+(?!\d))/g,thousandSeparator)}
1005var formattedNumber=parts.join(decimalSeparator);var prefix=$ush.toString(priceData.currency_prefix).replace(/ /g,"\u00a0"),suffix=$ush.toString(priceData.currency_suffix).replace(/ /g,"\u00a0");if(priceData.currency_symbol){if(prefix.indexOf(priceData.currency_symbol)!==-1){prefix=prefix.split(priceData.currency_symbol).join(`<span class="woocommerce-Price-currencySymbol">${priceData.currency_symbol}</span>`)}
1006if(suffix.indexOf(priceData.currency_symbol)!==-1){suffix=suffix.split(priceData.currency_symbol).join(`<span class="woocommerce-Price-currencySymbol">${priceData.currency_symbol}</span>`)}}
1007return prefix+formattedNumber+suffix},minusCartQuantity:function(e){const self=this;var $target=$(e.target),$input=$target.siblings('input.qty:first');if(!$input.length){return}
1008const step=$ush.parseFloat($input.attr('step')||1);$input.val($ush.parseFloat($input.val())-step).trigger('change')},plusCartQuantity:function(e){const self=this;var $target=$(e.target),$input=$target.siblings('input.qty:first');if(!$input.length){return}
1009const step=$ush.parseFloat($input.attr('step')||1);$input.val($ush.parseFloat($input.val())+step).trigger('change')},updateCartForm_long:$ush.debounce($ush.fn,50),updateCartForm:function(){const self=this;if(typeof(lastUpdateCartRequest||{}).abort==='function'){lastUpdateCartRequest.abort()}
1010$('.w-cart-table > button[name=update_cart]',$us.$canvas).removeAttr('disabled').trigger('click')},updatedCartTotals:function(){const self=this;if(lastUpdateCartRequest){lastUpdateCartRequest=_undefined}
1011var wooElementClasses=['w-cart-shipping','w-cart-table','w-cart-totals','w-checkout-billing','w-checkout-order-review','w-checkout-payment','w-wc-coupon-form',];for(const i in wooElementClasses){$(`.${wooElementClasses[i]}.us_animate_this`,$us.$canvas).removeClass('us_animate_this')}
1012const $shipping=$('.w-cart-shipping .shipping',$us.$canvas);if(!$shipping.length){return}
1013$shipping.html($('.w-cart-totals .shipping:first',$us.$canvas).html())},couponCodeChange:function(e){$('.w-cart-table, form.checkout_coupon:first',$us.$canvas).find('input[name=coupon_code]').val(e.target.value)},enterCouponCode:function(e){if(e.keyCode===$ush.ENTER_KEYCODE){$(e.target).trigger('change').siblings('button:first').trigger('click')}},applyCouponCode:function(e){e.stopPropagation();e.preventDefault();$('.w-cart-table, form.checkout_coupon:first',$us.$canvas).find('button[name=apply_coupon]').trigger('click');$(e.target).closest('.w-wc-coupon-form').find('input:first').val('')},couponDisplaySwitch:function(e){const $coupon=$('.w-wc-coupon-form',$us.$canvas);if(!$coupon.length){return}
1014if(e.type.indexOf('applied_coupon')>-1&&!$('.woocommerce-error',$us.$canvas).length){$coupon.addClass('coupon_applied')}
1015if(e.type.indexOf('removed_coupon')>-1&&$('.woocommerce-remove-coupon',$us.$canvas).length<=1){$coupon.removeClass('coupon_applied')}},moveNotifications:function(e,err_html){const self=this;if(!self.$notice.length){var $cartTotals=$('.w-cart-totals',$us.$canvas),$checkoutPayment=$('.w-checkout-payment',$us.$canvas);if(!$cartTotals.length&&!$checkoutPayment.length){return}}
1016var $message;if(e.type==='checkout_error'&&err_html){$message=$(err_html)}else{$message=$('.woocommerce-error, .woocommerce-message',$us.$canvas)}
1017if($message.length>0){self.$notice.html($message.clone())}
1018$message.remove();if(e.type==='checkout_error'){$('.woocommerce-NoticeGroup-checkout').remove()}},});$.extend(WooCommerce.prototype,{ajaxAddToCart:function(e){const self=this;const $button=$(e.currentTarget);const $form=$button.closest('form.cart');if($form.is('[method=get]')||self.$pageContent.hasClass('product-type-grouped')||self.$pageContent.hasClass('product-type-composite')||$form.hasClass('grouped_form')||$form.hasClass('composite_form')){return}
1019e.preventDefault();if($('.g-preloader',$button).length===0){$button.html(`<div class="g-preloader type_1"><div></div></div><span class="w-btn-label">${$button.html()}</span>`)}
1020var data={};const formData=new FormData($form[0],$button[0]);formData.forEach((value,key)=>{if(key.includes('[')){const keys=key.split(/\[|\]/).filter((k)=>{return k});keys.forEach((k,index)=>{if(index===keys.length-1){if(Array.isArray(data[k])){data[k].push(value)}else if(data[k]){data[k]=[data[k],value]}else{data[k]=key.includes('[]')?[value]:value}}else{if(!data[k]){data[k]={}}
1021data=data[k]}})}
1021else{if(data[key]){if(Array.isArray(data[key])){data[key].push(value)}else{data[key]=[data[key],value]}}else{data[key]=value}}});if(data.variation_id){data.product_id=data.variation_id}else if(!data.product_id&&data['add-to-cart']){data.product_id=data['add-to-cart']}
1022delete data['add-to-cart'];$us.$body.trigger('adding_to_cart',$button,data);$.ajax({type:'POST',url:String(woocommerce_params.wc_ajax_url).replace('%%endpoint%%','add_to_cart'),data:data,beforeSend:()=>{$button.removeClass('added').addClass('loading')},complete:(jqXHR)=>{if(String(jqXHR.responseText).includes('us_redirect_to_cart')){return}
1023$button.addClass('added').removeClass('loading')},success:(res)=>{if(res.error&&res.product_url){window.location=res.product_url;return}
1024if(res.fragments&&res.fragments.us_redirect_to_cart){window.location.replace(res.fragments.us_redirect_to_cart);return}
1025if(self.isCart()){self.$cartNotification.addClass('skip_message')}
1026$us.$body.trigger('added_to_cart',[res.fragments,res.cart_hash,$button]);if(self.isCart()&&self.$cart.hasClass('open_on_ajax')){self._toggleCart(!0)}
1027var message='';if(self.isCart()){message=self.$cartNotification.text()}
1028var $viewCart=$button.next('.added_to_cart.wc-forward').removeClass('added_to_cart');if($viewCart.length){message+=' '+$viewCart.prop('outerHTML');$viewCart.remove()}
1029$form.next('.woocommerce-notices-wrapper').remove();$form.after(`
1030						<div class="woocommerce-notices-wrapper">
1031							<div class="woocommerce-message" role="alert" tabindex="-1">${message}</div>
1032						</div>
1033					`)},})},clickOutsideCart:function(e){const self=this;if($.contains(self.$cart[0],e.target)){return}
1034self._toggleCart(!1)},redirectToCartOnMobile:function(e){e.preventDefault();const cartUrl=String((window.wc_add_to_cart_params||{}).cart_url);if(cartUrl.includes(window.location.host)){window.location.replace(cartUrl)}},showCartOnClick:function(e){const self=this;e.preventDefault();if(['mouse','touch','pen'].includes(e.pointerType)||e.detail>0){self._toggleCart(!self.isCartOpen)}},showCartOnKeyup:function(e){const self=this;e.preventDefault();if(e.keyCode!==$ush.ENTER_KEYCODE){return}
1035if(!self.isCartOpen){if(self.$cartCloser.length>0){self.$cart.on('transitionend',()=>{self.$cartCloser[0].focus();self.$cart.off('transitionend')})}}
1036self._toggleCart(!self.isCartOpen)},hideCartOnKeyup:function(e){const self=this;if(e.keyCode===$ush.ESC_KEYCODE){self._toggleCart(!1,self.$cartLink)}},_toggleCart:function(open=!0,$elementToFocus=null){const self=this;self.$cart.toggleClass('opened',open);self.$cartLink.attr('aria-expanded',open);if(self.isCartOpen&&$elementToFocus!==null){$elementToFocus.focus()}
1037self.isCartOpen=open;if(self.$cart.hasClass('layout_dropdown')&&self.$cart.hasClass('drop_on_click')){if(open){$us.$body.on('mouseup touchend.noPreventDefault',self._events.clickOutsideCart)}else{$us.$body.off('mouseup touchend.noPreventDefault',self._events.clickOutsideCart)}}}});$.extend(WooCommerce.prototype,{showLoginForm:function(){$('.woocommerce-form-login').toggleClass('hidden');return!1},submitLoginForm:function(){const self=this;if(self.isSubmittingLoginForm){return!1}
1038self.isSubmittingLoginForm=!0;var $formView=$('.w-checkout-login'),$usernameField=$('#us_checkout_login_username',$formView),$passwordField=$('#us_checkout_login_password',$formView),$redirectField=$('#us_checkout_login_redirect',$formView),$nonceField=$('#us_checkout_login_nonce',$formView);if($usernameField.length==0||$passwordField.length==0||$redirectField.length==0||$nonceField.length==0){return!1}
1039var fields={'login':'Login','rememberme':'forever','username':$usernameField.val(),'password':$passwordField.val(),'redirect':$redirectField.val(),'woocommerce-login-nonce':$nonceField.val(),},$form=$('<form>',{method:'post'});$.each(fields,(key,val)=>{$('<input>').attr({type:"hidden",name:key,value:val}).appendTo($form)});$form.appendTo('body').submit();return!1},loginFieldKeydown:function(e){if(e.keyCode===$ush.ENTER_KEYCODE){e.stopPropagation();e.preventDefault();this.submitLoginForm()}},});$us.woocommerce=new WooCommerce;function us_wc_variations_image_update(variation){var $slider=$('.w-slider.for_product_image_gallery:not(.w-grid .w-slider)',$(this).closest('.product')),royalSlider=($slider.data('usImageSlider')||{}).royalSlider;if($ush.isUndefined(royalSlider)){return}
1040royalSlider.goTo(0);var $image=$('.rsImg',royalSlider.slidesJQ[0]),$thumb=$('.rsThumb:first img',$slider);if(variation===!1){if(!$slider.data('orig-img')){var src=$image.attr('src');$slider.data('orig-img',{src:src,srcset:src,full_src:src,thumb_src:$thumb.attr('srcset'),gallery_thumbnail_src:$thumb.attr('src'),});return}
1041variation={image:$slider.data('orig-img'),}}
1042if($.isPlainObject(variation.image)){$image.attr('src',$ush.toString(variation.image.src)).attr('srcset',$ush.toString(variation.image.srcset));$thumb.attr('src',$ush.toString(variation.image.gallery_thumbnail_src)).attr('srcset',$ush.toString(variation.image.thumb_src));$.extend(royalSlider.currSlide,{bigImage:$ush.toString(variation.image.full_src),image:$ush.toString(variation.image.src),});if(typeof royalSlider.updateSliderSize==='function'){royalSlider.updateSliderSize(!0)}}}
1043$(()=>{if($('.w-slider.for_product_image_gallery:not(.w-grid .w-slider.for_product_image_gallery)').length>0){$ush.timeout(()=>{$.fn.wc_variations_image_update=us_wc_variations_image_update},1)}});function usProductGallerySlider($wcSlider){const self=this;self.$wcSlider=$($wcSlider);self.$thumbsNav=$('.flex-control-thumbs',self.$wcSlider);self.$thumbsItems=$('li',self.$thumbsNav);self.$thumbsArrowsContainer=self.$wcSlider.closest('.w-post-elm.product_gallery').find('.us-thumbs-nav');self.$thumbArrowNext=$('.us-thumb-next',self.$thumbsArrowsContainer);self.$thumbArrowPrev=$('.us-thumb-prev',self.$thumbsArrowsContainer);self._isVertical=self.isVertical();self.scrollProp=self._isVertical?'scrollTop':'scrollLeft';const sizeProp=self._isVertical?'outerHeight':'outerWidth';self.clientSizeProp=self._isVertical?'clientHeight':'clientWidth';self.scrollSizeProp=self._isVertical?'scrollHeight':'scrollWidth';self.thumbItemSize=self.$thumbsItems.first()[sizeProp](!0);self._events={updateThumbsArrowsState:self.updateThumbsArrowsState.bind(self),controlThumbsArrows:self.controlThumbsArrows.bind(self),syncThumbsWithMainSlider:self.syncThumbsWithMainSlider.bind(self),};if(self.$wcSlider.hasClass('with_arrows')){$('.flex-direction-nav',self.$wcSlider).appendTo($('.flex-viewport',self.$wcSlider));$('.flex-direction-nav a',self.$wcSlider).on('click',self._events.syncThumbsWithMainSlider)}
1044self.$thumbsNav.wrap('<div class="us-thumbs-wrapper"></div>');self.$thumbsArrowsContainer.appendTo(self.$thumbsNav.parent());self.updateThumbsArrowsState();$('button',self.$thumbsArrowsContainer).on('click',self._events.controlThumbsArrows);self.$thumbsNav.on('scroll.noPreventDefault',self._events.updateThumbsArrowsState);$('form.variations_form').on('found_variation reset_data',()=>{$ush.timeout(()=>self.syncThumbsWithMainSlider(),100)})}
1045$.extend(usProductGallerySlider.prototype,{controlThumbsArrows:function(e){e.preventDefault();const self=this;const scrollObj={};const isNext=$(e.currentTarget).hasClass('us-thumb-next');var direction;if($ush.isRtl()&&!self._isVertical){direction=isNext?'-=':'+='}else{direction=isNext?'+=':'-='}
1046scrollObj[self.scrollProp]=direction+self.thumbItemSize;self.$thumbsNav.animate(scrollObj,50,self._events.updateThumbsArrowsState)},updateThumbsArrowsState:function(){const self=this;if(!self.$thumbsNav[0]){return}
1047const scrollPos=self.$thumbsNav[0][self.scrollProp];const maxScroll=self.$thumbsNav[0][self.scrollSizeProp]-self.$thumbsNav[0][self.clientSizeProp];var isPrevDisabled,isNextDisabled;if($ush.isRtl()&&!self._isVertical){isPrevDisabled=scrollPos>=-1;isNextDisabled=scrollPos<=-maxScroll+1}else{isPrevDisabled=scrollPos<=1;isNextDisabled=scrollPos>=maxScroll-1}
1048self.$thumbArrowPrev.toggleClass('hidden',isPrevDisabled);self.$thumbArrowNext.toggleClass('hidden',isNextDisabled)},syncThumbsWithMainSlider:function(){const self=this;const $activeSlide=$('.woocommerce-product-gallery__wrapper .flex-active-slide',self.$wcSlider);const scrollObj={};if(!$activeSlide.length||!self.$thumbsItems.length){return}
1049const index=$activeSlide.index();if(index<0||index>=self.$thumbsItems.length){return}
1050var targetScroll=index*self.thumbItemSize;if($ush.isRtl()&&!self._isVertical){targetScroll=-targetScroll}
1051scrollObj[self.scrollProp]=targetScroll;self.$thumbsNav.stop().animate(scrollObj,50,self._events.updateThumbsArrowsState)},isVertical:function(){const self=this;var isVertical=self.$wcSlider.hasClass('thumbpos_left');if(window.matchMedia('(max-width: 767px)').matches){self.$wcSlider.removeClass('thumbpos_left').addClass('thumbpos_bottom');isVertical=!1}
1052return isVertical}});$.fn.us_product_gallery=function(){return this.each(function(){$(this).data('us_product_gallery',new usProductGallerySlider(this))})};$(()=>{const $wcSlider=$('.woocommerce-product-gallery.type_slider');if(!$wcSlider.length){return}
1053$ush.timeout(()=>$wcSlider.us_product_gallery(),200);$us.$body.on('wpcvi_show_selected_gallery wc_additional_variation_images_frontend_lightbox_done','form.variations_form',()=>{$ush.timeout(()=>{const $wcSliderVisible=$('.woocommerce-product-gallery:visible');if(!$wcSliderVisible.length||$wcSliderVisible.data('us_product_gallery')){return}
1054$wcSliderVisible.addClass($wcSlider.first().attr('class')).us_product_gallery()},0)})});$us.$document.on('usPopup.itemContentLoaded',(e,usPopup)=>
1054{if(typeof $.fn.wc_product_gallery==='function'){const $wcProductGallery=$('.woocommerce-product-gallery',usPopup.$content);$wcProductGallery.wc_product_gallery();if($wcProductGallery.hasClass('type_slider')){$ush.timeout(()=>$wcProductGallery.us_product_gallery(),200)}}
1055if(typeof $.fn.wc_variation_form==='function'){const $variationsForm=$('.variations_form',usPopup.$content);if($variationsForm.length>0){if($('.product',usPopup.$content).length==0){usPopup.$content.addClass('product')}
1056$variationsForm.wc_variation_form()}}})})(jQuery);document.addEventListener("DOMContentLoaded",(event)=>{function move_offscreen_if_on_left(window_width,tooltip_left,tooltip_width,element){var tooltip_left_edge=tooltip_left+tooltip_width;if(tooltip_left_edge>window_width){var move_tooltip=tooltip_left_edge-window_width;element.style.left='-'+move_tooltip+'px';document.head.innerHTML+='<style type="text/css">.move_right::after { left:90%; }</style>';element.classList.add('move_right')}}
1057function move_offscreen_if_on_right(element){if(element===null||element.length==0){return}
1058var tooltip_left=element.getBoundingClientRect().left;if(tooltip_left!==undefined){var window_width=window.innerWidth;if(Math.sign(tooltip_left)===-1){if((window_width/2)<Math.abs(tooltip_left)){document.head.innerHTML+='<style type="text/css">.move_left::after { left:10%; }</style>';element.classList.add('move_left')}
1059var left=Math.abs(tooltip_left);element.style.left=left+'px';element.style.left=left+Math.abs(element.getBoundingClientRect().left)+'px'}}}
1060function move_offscreen(element){if(element===null||element.length==0){return}
1061var move_tooltip='';var tooltip_left=element.getBoundingClientRect().left;element.style.transform='translateZ(0)';if(typeof element.dataset.original_left==='undefined'){element.dataset.original_left=tooltip_left}else{element.style.left=element.dataset.original_left}
1062var tooltip_width=element.getBoundingClientRect().width;var window_width=window.innerWidth;move_offscreen_if_on_left(window_width,tooltip_left,tooltip_width,element)}
1063function fix_all_tooltips(){var selector=document.querySelectorAll('.glossary-tooltip-content');if(selector.length>0){selector.forEach(element=>{move_offscreen(element)})}}
1064if(window.matchMedia("(any-hover: hover)")){fix_all_tooltips();window.addEventListener('resize',function(){fix_all_tooltips()});selector=document.querySelectorAll('.glossary-tooltip');if(selector.length>0){selector.forEach(element=>{element.addEventListener('mouseover',function(){move_offscreen_if_on_right(element.querySelector('.glossary-tooltip-content'))},{once:!0})})}}});

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.