/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function fe(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}ce.fn=ce.prototype={jquery:t,constructor:ce,length:0,toArray:function(){return ae.call(this)},get:function(e){return null==e?ae.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=ce.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return ce.each(this,e)},map:function(n){return this.pushStack(ce.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(ae.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(ce.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(ce.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:oe.sort,splice:oe.splice},ce.extend=ce.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(ce.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||ce.isPlainObject(n)?n:{},i=!1,a[t]=ce.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},ce.extend({expando:"jQuery"+(t+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==i.call(e))&&(!(t=r(e))||"function"==typeof(n=ue.call(t,"constructor")&&t.constructor)&&o.call(n)===a)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){m(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(c(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(!i)while(t=e[r++])n+=ce.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(c(Object(e))?ce.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:se.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!l.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(c(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g(a)},guid:1,support:le}),"function"==typeof Symbol&&(ce.fn[Symbol.iterator]=oe[Symbol.iterator]),ce.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var pe=oe.pop,de=oe.sort,he=oe.splice,ge="[\\x20\\t\\r\\n\\f]",ve=new RegExp("^"+ge+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ge+"+$","g");ce.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var f=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function p(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}ce.escapeSelector=function(e){return(e+"").replace(f,p)};var ye=C,me=s;!function(){var e,b,w,o,a,T,r,C,d,i,k=me,S=ce.expando,E=0,n=0,s=W(),c=W(),u=W(),h=W(),l=function(e,t){return e===t&&(a=!0),0},f="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",t="(?:\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",p="\\["+ge+"*("+t+")(?:"+ge+"*([*^$|!~]?=)"+ge+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+t+"))|)"+ge+"*\\]",g=":("+t+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+p+")*)|.*)\\)|)",v=new RegExp(ge+"+","g"),y=new RegExp("^"+ge+"*,"+ge+"*"),m=new RegExp("^"+ge+"*([>+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="<a id='"+S+"' href='' disabled='disabled'></a><select id='"+S+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0<I(t,T,null,[e]).length},I.contains=function(e,t){return(e.ownerDocument||e)!=T&&V(e),ce.contains(e,t)},I.attr=function(e,t){(e.ownerDocument||e)!=T&&V(e);var n=b.attrHandle[t.toLowerCase()],r=n&&ue.call(b.attrHandle,t.toLowerCase())?n(e,t,!C):void 0;return void 0!==r?r:e.getAttribute(t)},I.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ce.uniqueSort=function(e){var t,n=[],r=0,i=0;if(a=!le.sortStable,o=!le.sortStable&&ae.call(e,0),de.call(e,l),a){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)he.call(e,n[r],1)}return o=null,e},ce.fn.uniqueSort=function(){return this.pushStack(ce.uniqueSort(ae.apply(this)))},(b=ce.expr={cacheLength:50,createPseudo:F,match:D,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(v," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(d,e,t,h,g){var v="nth"!==d.slice(0,3),y="last"!==d.slice(-4),m="of-type"===e;return 1===h&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u=v!==y?"nextSibling":"previousSibling",l=e.parentNode,c=m&&e.nodeName.toLowerCase(),f=!n&&!m,p=!1;if(l){if(v){while(u){o=e;while(o=o[u])if(m?fe(o,c):1===o.nodeType)return!1;s=u="only"===d&&!s&&"nextSibling"}return!0}if(s=[y?l.firstChild:l.lastChild],y&&f){p=(a=(r=(i=l[S]||(l[S]={}))[d]||[])[0]===E&&r[1])&&r[2],o=a&&l.childNodes[a];while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if(1===o.nodeType&&++p&&o===e){i[d]=[E,a,p];break}}else if(f&&(p=a=(r=(i=e[S]||(e[S]={}))[d]||[])[0]===E&&r[1]),!1===p)while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if((m?fe(o,c):1===o.nodeType)&&++p&&(f&&((i=o[S]||(o[S]={}))[d]=[E,p]),o===e))break;return(p-=g)===h||p%h==0&&0<=p/h}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||I.error("unsupported pseudo: "+e);return a[S]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?F(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=se.call(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:F(function(e){var r=[],i=[],s=ne(e.replace(ve,"$1"));return s[S]?F(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:F(function(t){return function(e){return 0<I(t,e).length}}),contains:F(function(t){return t=t.replace(O,P),function(e){return-1<(e.textContent||ce.text(e)).indexOf(t)}}),lang:F(function(n){return A.test(n||"")||I.error("unsupported lang: "+n),n=n.replace(O,P).toLowerCase(),function(e){var t;do{if(t=C?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=ie.location&&ie.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===r},focus:function(e){return e===function(){try{return T.activeElement}catch(e){}}()&&T.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:z(!1),disabled:z(!0),checked:function(e){return fe(e,"input")&&!!e.checked||fe(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return q.test(e.nodeName)},input:function(e){return N.test(e.nodeName)},button:function(e){return fe(e,"input")&&"button"===e.type||fe(e,"button")},text:function(e){var t;return fe(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:X(function(){return[0]}),last:X(function(e,t){return[t-1]}),eq:X(function(e,t,n){return[n<0?n+t:n]}),even:X(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:X(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:X(function(e,t,n){var r;for(r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:X(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=B(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=_(e);function G(){}function Y(e,t){var n,r,i,o,a,s,u,l=c[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&&!(r=y.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=m.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(ve," ")}),a=a.slice(n.length)),b.filter)!(r=D[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?I.error(e):c(e,s).slice(0)}function Q(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function J(a,e,t){var s=e.dir,u=e.next,l=u||s,c=t&&"parentNode"===l,f=n++;return e.first?function(e,t,n){while(e=e[s])if(1===e.nodeType||c)return a(e,t,n);return!1}:function(e,t,n){var r,i,o=[E,f];if(n){while(e=e[s])if((1===e.nodeType||c)&&a(e,t,n))return!0}else while(e=e[s])if(1===e.nodeType||c)if(i=e[S]||(e[S]={}),u&&fe(e,u))e=e[s]||e;else{if((r=i[l])&&r[0]===E&&r[1]===f)return o[2]=r[2];if((i[l]=o)[2]=a(e,t,n))return!0}return!1}}function K(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Z(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function ee(d,h,g,v,y,e){return v&&!v[S]&&(v=ee(v)),y&&!y[S]&&(y=ee(y,e)),F(function(e,t,n,r){var i,o,a,s,u=[],l=[],c=t.length,f=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)I(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),p=!d||!e&&h?f:Z(f,u,d,n,r);if(g?g(p,s=y||(e?d:c||v)?[]:t,n,r):s=p,v){i=Z(s,l),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(s[l[o]]=!(p[l[o]]=a))}if(e){if(y||d){if(y){i=[],o=s.length;while(o--)(a=s[o])&&i.push(p[o]=a);y(null,s=[],i,r)}o=s.length;while(o--)(a=s[o])&&-1<(i=y?se.call(e,a):u[o])&&(e[i]=!(t[i]=a))}}else s=Z(s===t?s.splice(c,s.length):s),y?y(null,t,s,r):k.apply(t,s)})}function te(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=J(function(e){return e===i},a,!0),l=J(function(e){return-1<se.call(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!=w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])c=[J(K(c),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[S]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return ee(1<s&&K(c),1<s&&Q(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ve,"$1"),t,s<n&&te(e.slice(s,n)),n<r&&te(e=e.slice(n)),n<r&&Q(e))}c.push(t)}return K(c)}function ne(e,t){var n,v,y,m,x,r,i=[],o=[],a=u[e+" "];if(!a){t||(t=Y(e)),n=t.length;while(n--)(a=te(t[n]))[S]?i.push(a):o.push(a);(a=u(e,(v=o,m=0<(y=i).length,x=0<v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=E+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==T||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){a=0,t||o.ownerDocument==T||(V(o),n=!C);while(s=v[a++])if(s(o,t||T,n)){k.call(r,o);break}i&&(E=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=pe.call(r));f=Z(f)}k.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&ce.uniqueSort(r)}return i&&(E=h,w=p),c},m?F(r):r))).selector=e}return a}function re(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&Y(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&C&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(O,P),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=D.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&&(r=u(a.matches[0].replace(O,P),H.test(o[0].type)&&U(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&Q(o)))return k.apply(n,r),n;break}}}return(l||ne(e,c))(r,t,!C,n,!t||H.test(e)&&U(t.parentNode)||t),n}G.prototype=b.filters=b.pseudos,b.setFilters=new G,le.sortStable=S.split("").sort(l).join("")===S,V(),le.sortDetached=$(function(e){return 1&e.compareDocumentPosition(T.createElement("fieldset"))}),ce.find=I,ce.expr[":"]=ce.expr.pseudos,ce.unique=ce.uniqueSort,I.compile=ne,I.select=re,I.setDocument=V,I.tokenize=Y,I.escape=ce.escapeSelector,I.getText=ce.text,I.isXML=ce.isXMLDoc,I.selectors=ce.expr,I.support=ce.support,I.uniqueSort=ce.uniqueSort}();var d=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&ce(e).is(n))break;r.push(e)}return r},h=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},b=ce.expr.match.needsContext,w=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1<se.call(n,e)!==r}):ce.filter(n,e,r)}ce.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ce.find.matchesSelector(r,e)?[r]:[]:ce.find.matches(e,ce.grep(t,function(e){return 1===e.nodeType}))},ce.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(ce(e).filter(function(){for(t=0;t<r;t++)if(ce.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)ce.find(e,i[t],n);return 1<r?ce.uniqueSort(n):n},filter:function(e){return this.pushStack(T(this,e||[],!1))},not:function(e){return this.pushStack(T(this,e||[],!0))},is:function(e){return!!T(this,"string"==typeof e&&b.test(e)?ce(e):e||[],!1).length}});var k,S=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(ce.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&ce(e);if(!b.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&ce.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?ce.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?se.call(ce(e),this[0]):se.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ce.uniqueSort(ce.merge(this.get(),ce(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ce.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return d(e,"parentNode")},parentsUntil:function(e,t,n){return d(e,"parentNode",n)},next:function(e){return A(e,"nextSibling")},prev:function(e){return A(e,"previousSibling")},nextAll:function(e){return d(e,"nextSibling")},prevAll:function(e){return d(e,"previousSibling")},nextUntil:function(e,t,n){return d(e,"nextSibling",n)},prevUntil:function(e,t,n){return d(e,"previousSibling",n)},siblings:function(e){return h((e.parentNode||{}).firstChild,e)},children:function(e){return h(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(fe(e,"template")&&(e=e.content||e),ce.merge([],e.childNodes))}},function(r,i){ce.fn[r]=function(e,t){var n=ce.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=ce.filter(t,n)),1<this.length&&(j[r]||ce.uniqueSort(n),E.test(r)&&n.reverse()),this.pushStack(n)}});var D=/[^\x20\t\r\n\f]+/g;function N(e){return e}function q(e){throw e}function L(e,t,n,r){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}ce.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},ce.each(e.match(D)||[],function(e,t){n[t]=!0}),n):ce.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){ce.each(e,function(e,t){v(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==x(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return ce.each(arguments,function(e,t){var n;while(-1<(n=ce.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<ce.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},ce.extend({Deferred:function(e){var o=[["notify","progress",ce.Callbacks("memory"),ce.Callbacks("memory"),2],["resolve","done",ce.Callbacks("once memory"),ce.Callbacks("once memory"),0,"resolved"],["reject","fail",ce.Callbacks("once memory"),ce.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return ce.Deferred(function(r){ce.each(o,function(e,t){var n=v(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&v(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,v(t)?s?t.call(e,l(u,o,N,s),l(u,o,q,s)):(u++,t.call(e,l(u,o,N,s),l(u,o,q,s),l(u,o,N,o.notifyWith))):(a!==N&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){ce.Deferred.exceptionHook&&ce.Deferred.exceptionHook(e,t.error),u<=i+1&&(a!==q&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(ce.Deferred.getErrorHook?t.error=ce.Deferred.getErrorHook():ce.Deferred.getStackHook&&(t.error=ce.Deferred.getStackHook()),ie.setTimeout(t))}}return ce.Deferred(function(e){o[0][3].add(l(0,e,v(r)?r:N,e.notifyWith)),o[1][3].add(l(0,e,v(t)?t:N)),o[2][3].add(l(0,e,v(n)?n:q))}).promise()},promise:function(e){return null!=e?ce.extend(e,a):a}},s={};return ce.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=ae.call(arguments),o=ce.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?ae.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(L(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||v(i[t]&&i[t].then)))return o.then();while(t--)L(i[t],a(t),o.reject);return o.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;ce.Deferred.exceptionHook=function(e,t){ie.console&&ie.console.warn&&e&&H.test(e.name)&&ie.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},ce.readyException=function(e){ie.setTimeout(function(){throw e})};var O=ce.Deferred();function P(){C.removeEventListener("DOMContentLoaded",P),ie.removeEventListener("load",P),ce.ready()}ce.fn.ready=function(e){return O.then(e)["catch"](function(e){ce.readyException(e)}),this},ce.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--ce.readyWait:ce.isReady)||(ce.isReady=!0)!==e&&0<--ce.readyWait||O.resolveWith(C,[ce])}}),ce.ready.then=O.then,"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?ie.setTimeout(ce.ready):(C.addEventListener("DOMContentLoaded",P),ie.addEventListener("load",P));var M=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n))for(s in i=!0,n)M(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,v(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(ce(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},R=/^-ms-/,I=/-([a-z])/g;function W(e,t){return t.toUpperCase()}function F(e){return e.replace(R,"ms-").replace(I,W)}var $=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function B(){this.expando=ce.expando+B.uid++}B.uid=1,B.prototype={cache:function(e){var t=e[this.expando];return t||(t={},$(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[F(t)]=n;else for(r in t)i[F(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][F(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(F):(t=F(t))in r?[t]:t.match(D)||[]).length;while(n--)delete r[t[n]]}(void 0===t||ce.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!ce.isEmptyObject(t)}};var _=new B,z=new B,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,U=/[A-Z]/g;function V(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(U,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:X.test(i)?JSON.parse(i):i)}catch(e){}z.set(e,t,n)}else n=void 0;return n}ce.extend({hasData:function(e){return z.hasData(e)||_.hasData(e)},data:function(e,t,n){return z.access(e,t,n)},removeData:function(e,t){z.remove(e,t)},_data:function(e,t,n){return _.access(e,t,n)},_removeData:function(e,t){_.remove(e,t)}}),ce.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=z.get(o),1===o.nodeType&&!_.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=F(r.slice(5)),V(o,r,i[r]));_.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){z.set(this,n)}):M(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=z.get(o,n))?t:void 0!==(t=V(o,n))?t:void 0;this.each(function(){z.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){z.remove(this,e)})}}),ce.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=_.get(e,t),n&&(!r||Array.isArray(n)?r=_.access(e,t,ce.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=ce.queue(e,t),r=n.length,i=n.shift(),o=ce._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){ce.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return _.get(e,n)||_.access(e,n,{empty:ce.Callbacks("once memory").add(function(){_.remove(e,[t+"queue",n])})})}}),ce.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?ce.queue(this[0],t):void 0===n?this:this.each(function(){var e=ce.queue(this,t,n);ce._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&ce.dequeue(this,t)})},dequeue:function(e){return this.each(function(){ce.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=ce.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=_.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var G=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Y=new RegExp("^(?:([+-])=|)("+G+")([a-z%]*)$","i"),Q=["Top","Right","Bottom","Left"],J=C.documentElement,K=function(e){return ce.contains(e.ownerDocument,e)},Z={composed:!0};J.getRootNode&&(K=function(e){return ce.contains(e.ownerDocument,e)||e.getRootNode(Z)===e.ownerDocument});var ee=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&K(e)&&"none"===ce.css(e,"display")};function te(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return ce.css(e,t,"")},u=s(),l=n&&n[3]||(ce.cssNumber[t]?"":"px"),c=e.nodeType&&(ce.cssNumber[t]||"px"!==l&&+u)&&Y.exec(ce.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)ce.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,ce.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ne={};function re(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=_.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ee(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ne[s])||(o=a.body.appendChild(a.createElement(s)),u=ce.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ne[s]=u)))):"none"!==n&&(l[c]="none",_.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}ce.fn.extend({show:function(){return re(this,!0)},hide:function(){return re(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ee(this)?ce(this).show():ce(this).hide()})}});var xe,be,we=/^(?:checkbox|radio)$/i,Te=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="<textarea>x</textarea>",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="<option></option>",le.option=!!xe.lastChild;var ke={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n<r;n++)_.set(e[n],"globalEval",!t||_.get(t[n],"globalEval"))}ke.tbody=ke.tfoot=ke.colgroup=ke.caption=ke.thead,ke.th=ke.td,le.option||(ke.optgroup=ke.option=[1,"<select multiple='multiple'>","</select>"]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))ce.merge(p,o.nodeType?[o]:o);else if(je.test(o)){a=a||f.appendChild(t.createElement("div")),s=(Te.exec(o)||["",""])[1].toLowerCase(),u=ke[s]||ke._default,a.innerHTML=u[1]+ce.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;ce.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<ce.inArray(o,r))i&&i.push(o);else if(l=K(o),a=Se(f.appendChild(o),"script"),l&&Ee(a),n){c=0;while(o=a[c++])Ce.test(o.type||"")&&n.push(o)}return f}var De=/^([^.]*)(?:\.(.+)|)/;function Ne(){return!0}function qe(){return!1}function Le(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Le(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=qe;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return ce().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=ce.guid++)),e.each(function(){ce.event.add(this,t,i,r,n)})}function He(e,r,t){t?(_.set(e,r,!1),ce.event.add(e,r,{namespace:!1,handler:function(e){var t,n=_.get(this,r);if(1&e.isTrigger&&this[r]){if(n)(ce.event.special[r]||{}).delegateType&&e.stopPropagation();else if(n=ae.call(arguments),_.set(this,r,n),this[r](),t=_.get(this,r),_.set(this,r,!1),n!==t)return e.stopImmediatePropagation(),e.preventDefault(),t}else n&&(_.set(this,r,ce.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ne)}})):void 0===_.get(e,r)&&ce.event.add(e,r,Ne)}ce.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.get(t);if($(t)){n.handler&&(n=(o=n).handler,i=o.selector),i&&ce.find.matchesSelector(J,i),n.guid||(n.guid=ce.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof ce&&ce.event.triggered!==e.type?ce.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(D)||[""]).length;while(l--)d=g=(s=De.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=ce.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=ce.event.special[d]||{},c=ce.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ce.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),ce.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.hasData(e)&&_.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(D)||[""]).length;while(l--)if(d=g=(s=De.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=ce.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||ce.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)ce.event.remove(e,d+t[l],n,r,!0);ce.isEmptyObject(u)&&_.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=ce.event.fix(e),l=(_.get(this,"events")||Object.create(null))[u.type]||[],c=ce.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=ce.event.handlers.call(this,u,l),t=0;while((i=a[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((ce.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<ce(i,this).index(l):ce.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(ce.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[ce.expando]?e:new ce.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click",!0),!1},trigger:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click"),!0},_default:function(e){var t=e.target;return we.test(t.type)&&t.click&&fe(t,"input")&&_.get(t,"click")||fe(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},ce.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},ce.Event=function(e,t){if(!(this instanceof ce.Event))return new ce.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ne:qe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&ce.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[ce.expando]=!0},ce.Event.prototype={constructor:ce.Event,isDefaultPrevented:qe,isPropagationStopped:qe,isImmediatePropagationStopped:qe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ne,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ne,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ne,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},ce.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},ce.event.addProp),ce.each({focus:"focusin",blur:"focusout"},function(r,i){function o(e){if(C.documentMode){var t=_.get(this,"handle"),n=ce.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,t(e),n.target===n.currentTarget&&t(n)}else ce.event.simulate(i,e.target,ce.event.fix(e))}ce.event.special[r]={setup:function(){var e;if(He(this,r,!0),!C.documentMode)return!1;(e=_.get(this,i))||this.addEventListener(i,o),_.set(this,i,(e||0)+1)},trigger:function(){return He(this,r),!0},teardown:function(){var e;if(!C.documentMode)return!1;(e=_.get(this,i)-1)?_.set(this,i,e):(this.removeEventListener(i,o),_.remove(this,i))},_default:function(e){return _.get(e.target,r)},delegateType:i},ce.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i);n||(C.documentMode?this.addEventListener(i,o):e.addEventListener(r,o,!0)),_.set(t,i,(n||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i)-1;n?_.set(t,i,n):(C.documentMode?this.removeEventListener(i,o):e.removeEventListener(r,o,!0),_.remove(t,i))}}}),ce.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){ce.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||ce.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),ce.fn.extend({on:function(e,t,n,r){return Le(this,e,t,n,r)},one:function(e,t,n,r){return Le(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ce(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=qe),this.each(function(){ce.event.remove(this,e,n,t)})}});var Oe=/<script|<style|<link/i,Pe=/checked\s*(?:[^=]|=\s*.checked.)/i,Me=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)ce.event.add(t,i,s[i][n]);z.hasData(e)&&(o=z.access(e),a=ce.extend({},o),z.set(t,a))}}function $e(n,r,i,o){r=g(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=v(d);if(h||1<f&&"string"==typeof d&&!le.checkClone&&Pe.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),$e(t,r,i,o)});if(f&&(t=(e=Ae(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=ce.map(Se(e,"script"),Ie)).length;c<f;c++)u=e,c!==p&&(u=ce.clone(u,!0,!0),s&&ce.merge(a,Se(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,ce.map(a,We),c=0;c<s;c++)u=a[c],Ce.test(u.type||"")&&!_.access(u,"globalEval")&&ce.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?ce._evalUrl&&!u.noModule&&ce._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):m(u.textContent.replace(Me,""),u,l))}return n}function Be(e,t,n){for(var r,i=t?ce.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||ce.cleanData(Se(r)),r.parentNode&&(n&&K(r)&&Ee(Se(r,"script")),r.parentNode.removeChild(r));return e}ce.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=K(e);if(!(le.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ce.isXMLDoc(e)))for(a=Se(c),r=0,i=(o=Se(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&we.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||Se(e),a=a||Se(c),r=0,i=o.length;r<i;r++)Fe(o[r],a[r]);else Fe(e,c);return 0<(a=Se(c,"script")).length&&Ee(a,!f&&Se(e,"script")),c},cleanData:function(e){for(var t,n,r,i=ce.event.special,o=0;void 0!==(n=e[o]);o++)if($(n)){if(t=n[_.expando]){if(t.events)for(r in t.events)i[r]?ce.event.remove(n,r):ce.removeEvent(n,r,t.handle);n[_.expando]=void 0}n[z.expando]&&(n[z.expando]=void 0)}}}),ce.fn.extend({detach:function(e){return Be(this,e,!0)},remove:function(e){return Be(this,e)},text:function(e){return M(this,function(e){return void 0===e?ce.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return $e(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e)})},prepend:function(){return $e(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ce.cleanData(Se(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ce.clone(this,e,t)})},html:function(e){return M(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!ke[(Te.exec(e)||["",""])[1].toLowerCase()]){e=ce.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(ce.cleanData(Se(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return $e(this,arguments,function(e){var t=this.parentNode;ce.inArray(this,n)<0&&(ce.cleanData(Se(this)),t&&t.replaceChild(e,this))},n)}}),ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){ce.fn[e]=function(e){for(var t,n=[],r=ce(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),ce(r[o])[a](t),s.apply(n,t.get());return this.pushStack(n)}});var _e=new RegExp("^("+G+")(?!px)[a-z%]+$","i"),ze=/^--/,Xe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=ie),t.getComputedStyle(e)},Ue=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Ve=new RegExp(Q.join("|"),"i");function Ge(e,t,n){var r,i,o,a,s=ze.test(t),u=e.style;return(n=n||Xe(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(ve,"$1")||void 0),""!==a||K(e)||(a=ce.style(e,t)),!le.pixelBoxStyles()&&_e.test(a)&&Ve.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function Ye(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",J.appendChild(u).appendChild(l);var e=ie.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),J.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s,u=C.createElement("div"),l=C.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",le.clearCloneStyle="content-box"===l.style.backgroundClip,ce.extend(le,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=C.createElement("table"),t=C.createElement("tr"),n=C.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",J.appendChild(e).appendChild(t).appendChild(n),r=ie.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,J.removeChild(e)),a}}))}();var Qe=["Webkit","Moz","ms"],Je=C.createElement("div").style,Ke={};function Ze(e){var t=ce.cssProps[e]||Ke[e];return t||(e in Je?e:Ke[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=Qe.length;while(n--)if((e=Qe[n]+t)in Je)return e}(e)||e)}var et=/^(none|table(?!-c[ea]).+)/,tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"};function rt(e,t,n){var r=Y.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function it(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=ce.css(e,n+Q[a],!0,i)),r?("content"===n&&(u-=ce.css(e,"padding"+Q[a],!0,i)),"margin"!==n&&(u-=ce.css(e,"border"+Q[a]+"Width",!0,i))):(u+=ce.css(e,"padding"+Q[a],!0,i),"padding"!==n?u+=ce.css(e,"border"+Q[a]+"Width",!0,i):s+=ce.css(e,"border"+Q[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u+l}function ot(e,t,n){var r=Xe(e),i=(!le.boxSizingReliable()||n)&&"border-box"===ce.css(e,"boxSizing",!1,r),o=i,a=Ge(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(_e.test(a)){if(!n)return a;a="auto"}return(!le.boxSizingReliable()&&i||!le.reliableTrDimensions()&&fe(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===ce.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===ce.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+it(e,t,n||(i?"border":"content"),o,r,a)+"px"}function at(e,t,n,r,i){return new at.prototype.init(e,t,n,r,i)}ce.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ge(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=F(t),u=ze.test(t),l=e.style;if(u||(t=Ze(s)),a=ce.cssHooks[t]||ce.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=Y.exec(n))&&i[1]&&(n=te(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(ce.cssNumber[s]?"":"px")),le.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=F(t);return ze.test(t)||(t=Ze(s)),(a=ce.cssHooks[t]||ce.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ge(e,t,r)),"normal"===i&&t in nt&&(i=nt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),ce.each(["height","width"],function(e,u){ce.cssHooks[u]={get:function(e,t,n){if(t)return!et.test(ce.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ot(e,u,n):Ue(e,tt,function(){return ot(e,u,n)})},set:function(e,t,n){var r,i=Xe(e),o=!le.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===ce.css(e,"boxSizing",!1,i),s=n?it(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-it(e,u,"border",!1,i)-.5)),s&&(r=Y.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=ce.css(e,u)),rt(0,t,s)}}}),ce.cssHooks.marginLeft=Ye(le.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ge(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),ce.each({margin:"",padding:"",border:"Width"},function(i,o){ce.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+Q[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(ce.cssHooks[i+o].set=rt)}),ce.fn.extend({css:function(e,t){return M(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Xe(e),i=t.length;a<i;a++)o[t[a]]=ce.css(e,t[a],!1,r);return o}return void 0!==n?ce.style(e,t,n):ce.css(e,t)},e,t,1<arguments.length)}}),((ce.Tween=at).prototype={constructor:at,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||ce.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(ce.cssNumber[n]?"":"px")},cur:function(){var e=at.propHooks[this.prop];return e&&e.get?e.get(this):at.propHooks._default.get(this)},run:function(e){var t,n=at.propHooks[this.prop];return this.options.duration?this.pos=t=ce.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):at.propHooks._default.set(this),this}}).init.prototype=at.prototype,(at.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ce.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){ce.fx.step[e.prop]?ce.fx.step[e.prop](e):1!==e.elem.nodeType||!ce.cssHooks[e.prop]&&null==e.elem.style[Ze(e.prop)]?e.elem[e.prop]=e.now:ce.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=at.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ce.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ce.fx=at.prototype.init,ce.fx.step={};var st,ut,lt,ct,ft=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function dt(){ut&&(!1===C.hidden&&ie.requestAnimationFrame?ie.requestAnimationFrame(dt):ie.setTimeout(dt,ce.fx.interval),ce.fx.tick())}function ht(){return ie.setTimeout(function(){st=void 0}),st=Date.now()}function gt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=Q[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function vt(e,t,n){for(var r,i=(yt.tweeners[t]||[]).concat(yt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function yt(o,e,t){var n,a,r=0,i=yt.prefilters.length,s=ce.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=st||ht(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:ce.extend({},e),opts:ce.extend(!0,{specialEasing:{},easing:ce.easing._default},t),originalProperties:e,originalOptions:t,startTime:st||ht(),duration:t.duration,tweens:[],createTween:function(e,t){var n=ce.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=F(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=ce.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=yt.prefilters[r].call(l,o,c,l.opts))return v(n.stop)&&(ce._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return ce.map(c,vt,l),v(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),ce.fx.timer(ce.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}ce.Animation=ce.extend(yt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return te(n.elem,e,Y.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(D);for(var n,r=0,i=e.length;r<i;r++)n=e[r],yt.tweeners[n]=yt.tweeners[n]||[],yt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ee(e),v=_.get(e,"fxshow");for(r in n.queue||(null==(a=ce._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,ce.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],ft.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||ce.style(e,r)}if((u=!ce.isEmptyObject(t))||!ce.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=_.get(e,"display")),"none"===(c=ce.css(e,"display"))&&(l?c=l:(re([e],!0),l=e.style.display||l,c=ce.css(e,"display"),re([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===ce.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=_.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&re([e],!0),p.done(function(){for(r in g||re([e]),_.remove(e,"fxshow"),d)ce.style(e,r,d[r])})),u=vt(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?yt.prefilters.unshift(e):yt.prefilters.push(e)}}),ce.speed=function(e,t,n){var r=e&&"object"==typeof e?ce.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return ce.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in ce.fx.speeds?r.duration=ce.fx.speeds[r.duration]:r.duration=ce.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&ce.dequeue(this,r.queue)},r},ce.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ee).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=ce.isEmptyObject(t),o=ce.speed(e,n,r),a=function(){var e=yt(this,ce.extend({},t),o);(i||_.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=ce.timers,r=_.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&pt.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||ce.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=_.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=ce.timers,o=n?n.length:0;for(t.finish=!0,ce.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),ce.each(["toggle","show","hide"],function(e,r){var i=ce.fn[r];ce.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(gt(r,!0),e,t,n)}}),ce.each({slideDown:gt("show"),slideUp:gt("hide"),slideToggle:gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){ce.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),ce.timers=[],ce.fx.tick=function(){var e,t=0,n=ce.timers;for(st=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||ce.fx.stop(),st=void 0},ce.fx.timer=function(e){ce.timers.push(e),ce.fx.start()},ce.fx.interval=13,ce.fx.start=function(){ut||(ut=!0,dt())},ce.fx.stop=function(){ut=null},ce.fx.speeds={slow:600,fast:200,_default:400},ce.fn.delay=function(r,e){return r=ce.fx&&ce.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=ie.setTimeout(e,r);t.stop=function(){ie.clearTimeout(n)}})},lt=C.createElement("input"),ct=C.createElement("select").appendChild(C.createElement("option")),lt.type="checkbox",le.checkOn=""!==lt.value,le.optSelected=ct.selected,(lt=C.createElement("input")).value="t",lt.type="radio",le.radioValue="t"===lt.value;var mt,xt=ce.expr.attrHandle;ce.fn.extend({attr:function(e,t){return M(this,ce.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){ce.removeAttr(this,e)})}}),ce.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?ce.prop(e,t,n):(1===o&&ce.isXMLDoc(e)||(i=ce.attrHooks[t.toLowerCase()]||(ce.expr.match.bool.test(t)?mt:void 0)),void 0!==n?null===n?void ce.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=ce.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!le.radioValue&&"radio"===t&&fe(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(D);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),mt={set:function(e,t,n){return!1===t?ce.removeAttr(e,n):e.setAttribute(n,n),n}},ce.each(ce.expr.match.bool.source.match(/\w+/g),function(e,t){var a=xt[t]||ce.find.attr;xt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=xt[o],xt[o]=r,r=null!=a(e,t,n)?o:null,xt[o]=i),r}});var bt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;function Tt(e){return(e.match(D)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(D)||[]}ce.fn.extend({prop:function(e,t){return M(this,ce.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[ce.propFix[e]||e]})}}),ce.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ce.isXMLDoc(e)||(t=ce.propFix[t]||t,i=ce.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=ce.find.attr(e,"tabindex");return t?parseInt(t,10):bt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),le.optSelected||(ce.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ce.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ce.propFix[this.toLowerCase()]=this}),ce.fn.extend({addClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).addClass(t.call(this,e,Ct(this)))}):(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++)i=e[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this},removeClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).removeClass(t.call(this,e,Ct(this)))}):arguments.length?(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++){i=e[o];while(-1<n.indexOf(" "+i+" "))n=n.replace(" "+i+" "," ")}a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(t,n){var e,r,i,o,a=typeof t,s="string"===a||Array.isArray(t);return v(t)?this.each(function(e){ce(this).toggleClass(t.call(this,e,Ct(this),n),n)}):"boolean"==typeof n&&s?n?this.addClass(t):this.removeClass(t):(e=kt(t),this.each(function(){if(s)for(o=ce(this),i=0;i<e.length;i++)r=e[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==t&&"boolean"!==a||((r=Ct(this))&&_.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===t?"":_.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+Tt(Ct(n))+" ").indexOf(t))return!0;return!1}});var St=/\r/g;ce.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=v(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,ce(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=ce.map(t,function(e){return null==e?"":e+""})),(r=ce.valHooks[this.type]||ce.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=ce.valHooks[t.type]||ce.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(St,""):null==e?"":e:void 0}}),ce.extend({valHooks:{option:{get:function(e){var t=ce.find.attr(e,"value");return null!=t?t:Tt(ce.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!fe(n.parentNode,"optgroup"))){if(t=ce(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=ce.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<ce.inArray(ce.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),ce.each(["radio","checkbox"],function(){ce.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<ce.inArray(ce(e).val(),t)}},le.checkOn||(ce.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Et=ie.location,jt={guid:Date.now()},At=/\?/;ce.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new ie.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||ce.error("Invalid XML: "+(n?ce.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Dt=/^(?:focusinfocus|focusoutblur)$/,Nt=function(e){e.stopPropagation()};ce.extend(ce.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||C],d=ue.call(e,"type")?e.type:e,h=ue.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||C,3!==n.nodeType&&8!==n.nodeType&&!Dt.test(d+ce.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[ce.expando]?e:new ce.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:ce.makeArray(t,[e]),c=ce.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!y(n)){for(s=c.delegateType||d,Dt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||C)&&p.push(a.defaultView||a.parentWindow||ie)}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(_.get(o,"events")||Object.create(null))[e.type]&&_.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&$(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!$(n)||u&&v(n[d])&&!y(n)&&((a=n[u])&&(n[u]=null),ce.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,Nt),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,Nt),ce.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=ce.extend(new ce.Event,n,{type:e,isSimulated:!0});ce.event.trigger(r,null,t)}}),ce.fn.extend({trigger:function(e,t){return this.each(function(){ce.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ce.event.trigger(e,t,n,!0)}});var qt=/\[\]$/,Lt=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function Pt(n,e,r,i){var t;if(Array.isArray(e))ce.each(e,function(e,t){r||qt.test(n)?i(n,t):Pt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==x(e))i(n,e);else for(t in e)Pt(n+"["+t+"]",e[t],r,i)}ce.param=function(e,t){var n,r=[],i=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!ce.isPlainObject(e))ce.each(e,function(){i(this.name,this.value)});else for(n in e)Pt(n,e[n],t,i);return r.join("&")},ce.fn.extend({serialize:function(){return ce.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ce.prop(this,"elements");return e?ce.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ce(this).is(":disabled")&&Ot.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!we.test(e))}).map(function(e,t){var n=ce(this).val();return null==n?null:Array.isArray(n)?ce.map(n,function(e){return{name:t.name,value:e.replace(Lt,"\r\n")}}):{name:t.name,value:n.replace(Lt,"\r\n")}}).get()}});var Mt=/%20/g,Rt=/#.*$/,It=/([?&])_=[^&]*/,Wt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,$t=/^\/\//,Bt={},_t={},zt="*/".concat("*"),Xt=C.createElement("a");function Ut(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(D)||[];if(v(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Vt(t,i,o,a){var s={},u=t===_t;function l(e){var r;return s[e]=!0,ce.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function Gt(e,t){var n,r,i=ce.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&ce.extend(!0,e,r),e}Xt.href=Et.href,ce.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":ce.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Gt(Gt(e,ce.ajaxSettings),t):Gt(ce.ajaxSettings,e)},ajaxPrefilter:Ut(Bt),ajaxTransport:Ut(_t),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,v=ce.ajaxSetup({},t),y=v.context||v,m=v.context&&(y.nodeType||y.jquery)?ce(y):ce.event,x=ce.Deferred(),b=ce.Callbacks("once memory"),w=v.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=Wt.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this}};if(x.promise(T),v.url=((e||v.url||Et.href)+"").replace($t,Et.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(D)||[""],null==v.crossDomain){r=C.createElement("a");try{r.href=v.url,r.href=r.href,v.crossDomain=Xt.protocol+"//"+Xt.host!=r.protocol+"//"+r.host}catch(e){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=ce.param(v.data,v.traditional)),Vt(Bt,v,t,T),h)return T;for(i in(g=ce.event&&v.global)&&0==ce.active++&&ce.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Ft.test(v.type),f=v.url.replace(Rt,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(Mt,"+")):(o=v.url.slice(f.length),v.data&&(v.processData||"string"==typeof v.data)&&(f+=(At.test(f)?"&":"?")+v.data,delete v.data),!1===v.cache&&(f=f.replace(It,"$1"),o=(At.test(f)?"&":"?")+"_="+jt.guid+++o),v.url=f+o),v.ifModified&&(ce.lastModified[f]&&T.setRequestHeader("If-Modified-Since",ce.lastModified[f]),ce.etag[f]&&T.setRequestHeader("If-None-Match",ce.etag[f])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&T.setRequestHeader("Content-Type",v.contentType),T.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+zt+"; q=0.01":""):v.accepts["*"]),v.headers)T.setRequestHeader(i,v.headers[i]);if(v.beforeSend&&(!1===v.beforeSend.call(y,T,v)||h))return T.abort();if(u="abort",b.add(v.complete),T.done(v.success),T.fail(v.error),c=Vt(_t,v,t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,v]),h)return T;v.async&&0<v.timeout&&(d=ie.setTimeout(function(){T.abort("timeout")},v.timeout));try{h=!1,c.send(a,l)}catch(e){if(h)throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&&ie.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(v,T,n)),!i&&-1<ce.inArray("script",v.dataTypes)&&ce.inArray("json",v.dataTypes)<0&&(v.converters["text script"]=function(){}),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(ce.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(ce.etag[f]=u)),204===e||"HEAD"===v.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(y,[o,l,T]):x.rejectWith(y,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,v,i?o:a]),b.fireWith(y,[T,l]),g&&(m.trigger("ajaxComplete",[T,v]),--ce.active||ce.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return ce.get(e,t,n,"json")},getScript:function(e,t){return ce.get(e,void 0,t,"script")}}),ce.each(["get","post"],function(e,i){ce[i]=function(e,t,n,r){return v(t)&&(r=r||n,n=t,t=void 0),ce.ajax(ce.extend({url:e,type:i,dataType:r,data:t,success:n},ce.isPlainObject(e)&&e))}}),ce.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),ce._evalUrl=function(e,t,n){return ce.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){ce.globalEval(e,t,n)}})},ce.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=ce(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return v(n)?this.each(function(e){ce(this).wrapInner(n.call(this,e))}):this.each(function(){var e=ce(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=v(t);return this.each(function(e){ce(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){ce(this).replaceWith(this.childNodes)}),this}}),ce.expr.pseudos.hidden=function(e){return!ce.expr.pseudos.visible(e)},ce.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},ce.ajaxSettings.xhr=function(){try{return new ie.XMLHttpRequest}catch(e){}};var Yt={0:200,1223:204},Qt=ce.ajaxSettings.xhr();le.cors=!!Qt&&"withCredentials"in Qt,le.ajax=Qt=!!Qt,ce.ajaxTransport(function(i){var o,a;if(le.cors||Qt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Yt[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&ie.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),ce.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),ce.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ce.globalEval(e),e}}}),ce.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ce.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=ce("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=Tt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&ce.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?ce("<div>").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var en=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;ce.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=ae.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(ae.call(arguments)))}).guid=e.guid=e.guid||ce.guid++,i},ce.holdReady=function(e){e?ce.readyWait++:ce.ready(!0)},ce.isArray=Array.isArray,ce.parseJSON=JSON.parse,ce.nodeName=fe,ce.isFunction=v,ce.isWindow=y,ce.camelCase=F,ce.type=x,ce.now=Date.now,ce.isNumeric=function(e){var t=ce.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},ce.trim=function(e){return null==e?"":(e+"").replace(en,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return ce});var tn=ie.jQuery,nn=ie.$;return ce.noConflict=function(e){return ie.$===ce&&(ie.$=nn),e&&ie.jQuery===ce&&(ie.jQuery=tn),ce},"undefined"==typeof e&&(ie.jQuery=ie.$=ce),ce});jQuery.noConflict();/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],a=1;a<=3;a++){if(+o[a]<+n[a])return 1;if(+n[a]<+o[a])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.4.1";var t=Object.create(null);s.migrateDisablePatches=function(){for(var e=0;e<arguments.length;e++)t[arguments[e]]=!0},s.migrateEnablePatches=function(){for(var e=0;e<arguments.length;e++)delete t[arguments[e]]},s.migrateIsPatchEnabled=function(e){return!t[e]},n.console&&n.console.log&&(s&&e("3.0.0")&&!e("5.0.0")||n.console.log("JQMIGRATE: jQuery 3.x-4.x REQUIRED"),s.migrateWarnings&&n.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),n.console.log("JQMIGRATE: Migrate is installed"+(s.migrateMute?"":" with logging active")+", version "+s.migrateVersion));var o={};function u(e,t){var r=n.console;!s.migrateIsPatchEnabled(e)||s.migrateDeduplicateWarnings&&o[t]||(o[t]=!0,s.migrateWarnings.push(t+" ["+e+"]"),r&&r.warn&&!s.migrateMute&&(r.warn("JQMIGRATE: "+t),s.migrateTrace&&r.trace&&r.trace()))}function r(e,t,r,n,o){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return u(n,o),r},set:function(e){u(n,o),r=e}})}function a(e,t,r,n,o){var a=e[t];e[t]=function(){return o&&u(n,o),(s.migrateIsPatchEnabled(n)?r:a||s.noop).apply(this,arguments)}}function c(e,t,r,n,o){if(!o)throw new Error("No warning message provided");return a(e,t,r,n,o),0}function i(e,t,r,n){return a(e,t,r,n),0}s.migrateDeduplicateWarnings=!0,s.migrateWarnings=[],void 0===s.migrateTrace&&(s.migrateTrace=!0),s.migrateReset=function(){o={},s.migrateWarnings.length=0},"BackCompat"===n.document.compatMode&&u("quirks","jQuery is not compatible with Quirks Mode");var d,l,p,f={},m=s.fn.init,y=s.find,h=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,g=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,v=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;for(d in i(s.fn,"init",function(e){var t=Array.prototype.slice.call(arguments);return s.migrateIsPatchEnabled("selector-empty-id")&&"string"==typeof e&&"#"===e&&(u("selector-empty-id","jQuery( '#' ) is not a valid selector"),t[0]=[]),m.apply(this,t)},"selector-empty-id"),s.fn.init.prototype=s.fn,i(s,"find",function(t){var r=Array.prototype.slice.call(arguments);if("string"==typeof t&&h.test(t))try{n.document.querySelector(t)}catch(e){t=t.replace(g,function(e,t,r,n){return"["+t+r+'"'+n+'"]'});try{n.document.querySelector(t),u("selector-hash","Attribute selector with '#' must be quoted: "+r[0]),r[0]=t}catch(e){u("selector-hash","Attribute selector with '#' was not fixed: "+r[0])}}return y.apply(this,r)},"selector-hash"),y)Object.prototype.hasOwnProperty.call(y,d)&&(s.find[d]=y[d]);c(s.fn,"size",function(){return this.length},"size","jQuery.fn.size() is deprecated and removed; use the .length property"),c(s,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"parseJSON","jQuery.parseJSON is deprecated; use JSON.parse"),c(s,"holdReady",s.holdReady,"holdReady","jQuery.holdReady is deprecated"),c(s,"unique",s.uniqueSort,"unique","jQuery.unique is deprecated; use jQuery.uniqueSort"),r(s.expr,"filters",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),r(s.expr,":",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),e("3.1.1")&&c(s,"trim",function(e){return null==e?"":(e+"").replace(v,"$1")},"trim","jQuery.trim is deprecated; use String.prototype.trim"),e("3.2.0")&&(c(s,"nodeName",function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},"nodeName","jQuery.nodeName is deprecated"),c(s,"isArray",Array.isArray,"isArray","jQuery.isArray is deprecated; use Array.isArray")),e("3.3.0")&&(c(s,"isNumeric",function(e){var t=typeof e;return("number"==t||"string"==t)&&!isNaN(e-parseFloat(e))},"isNumeric","jQuery.isNumeric() is deprecated"),s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()}),c(s,"type",function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[Object.prototype.toString.call(e)]||"object":typeof e},"type","jQuery.type is deprecated"),c(s,"isFunction",function(e){return"function"==typeof e},"isFunction","jQuery.isFunction() is deprecated"),c(s,"isWindow",function(e){return null!=e&&e===e.window},"isWindow","jQuery.isWindow() is deprecated")),s.ajax&&(l=s.ajax,p=/(=)\?(?=&|$)|\?\?/,i(s,"ajax",function(){var e=l.apply(this,arguments);return e.promise&&(c(e,"success",e.done,"jqXHR-methods","jQXHR.success is deprecated and removed"),c(e,"error",e.fail,"jqXHR-methods","jQXHR.error is deprecated and removed"),c(e,"complete",e.always,"jqXHR-methods","jQXHR.complete is deprecated and removed")),e},"jqXHR-methods"),e("4.0.0")||s.ajaxPrefilter("+json",function(e){!1!==e.jsonp&&(p.test(e.url)||"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&p.test(e.data))&&u("jsonp-promotion","JSON-to-JSONP auto-promotion is deprecated")}));var j=s.fn.removeAttr,b=s.fn.toggleClass,w=/\S+/g;function x(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}i(s.fn,"removeAttr",function(e){var r=this,n=!1;return s.each(e.match(w),function(e,t){s.expr.match.bool.test(t)&&r.each(function(){if(!1!==s(this).prop(t))return!(n=!0)}),n&&(u("removeAttr-bool","jQuery.fn.removeAttr no longer sets boolean properties: "+t),r.prop(t,!1))}),j.apply(this,arguments)},"removeAttr-bool"),i(s.fn,"toggleClass",function(t){return void 0!==t&&"boolean"!=typeof t?b.apply(this,arguments):(u("toggleClass-bool","jQuery.fn.toggleClass( boolean ) is deprecated"),this.each(function(){var e=this.getAttribute&&this.getAttribute("class")||"";e&&s.data(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==t&&s.data(this,"__className__")||"")}))},"toggleClass-bool");var Q,A,R=!1,C=/^[a-z]/,N=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;s.swap&&s.each(["height","width","reliableMarginRight"],function(e,t){var r=s.cssHooks[t]&&s.cssHooks[t].get;r&&(s.cssHooks[t].get=function(){var e;return R=!0,e=r.apply(this,arguments),R=!1,e})}),i(s,"swap",function(e,t,r,n){var o,a,i={};for(a in R||u("swap","jQuery.swap() is undocumented and deprecated"),t)i[a]=e.style[a],e.style[a]=t[a];for(a in o=r.apply(e,n||[]),t)e.style[a]=i[a];return o},"swap"),e("3.4.0")&&"undefined"!=typeof Proxy&&(s.cssProps=new Proxy(s.cssProps||{},{set:function(){return u("cssProps","jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}})),e("4.0.0")?(A={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},"undefined"!=typeof Proxy?s.cssNumber=new Proxy(A,{get:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.get.apply(this,arguments)},set:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.set.apply(this,arguments)}}):s.cssNumber=A):A=s.cssNumber,Q=s.fn.css,i(s.fn,"css",function(e,t){var r,n,o=this;return e&&"object"==typeof e&&!Array.isArray(e)?(s.each(e,function(e,t){s.fn.css.call(o,e,t)}),this):("number"==typeof t&&(r=x(e),n=r,C.test(n)&&N.test(n[0].toUpperCase()+n.slice(1))||A[r]||u("css-number",'Number-typed values are deprecated for jQuery.fn.css( "'+e+'", value )')),Q.apply(this,arguments))},"css-number");var S,P,k,H,E=s.data;i(s,"data",function(e,t,r){var n,o,a;if(t&&"object"==typeof t&&2===arguments.length){for(a in n=s.hasData(e)&&E.call(this,e),o={},t)a!==x(a)?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+a),n[a]=t[a]):o[a]=t[a];return E.call(this,e,o),t}return t&&"string"==typeof t&&t!==x(t)&&(n=s.hasData(e)&&E.call(this,e))&&t in n?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+t),2<arguments.length&&(n[t]=r),n[t]):E.apply(this,arguments)},"data-camelCase"),s.fx&&(k=s.Tween.prototype.run,H=function(e){return e},i(s.Tween.prototype,"run",function(){1<s.easing[this.easing].length&&(u("easing-one-arg","'jQuery.easing."+this.easing.toString()+"' should use only one argument"),s.easing[this.easing]=H),k.apply(this,arguments)},"easing-one-arg"),S=s.fx.interval,P="jQuery.fx.interval is deprecated",n.requestAnimationFrame&&Object.defineProperty(s.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return n.document.hidden||u("fx-interval",P),s.migrateIsPatchEnabled("fx-interval")&&void 0===S?13:S},set:function(e){u("fx-interval",P),S=e}}));var M=s.fn.load,q=s.event.add,O=s.event.fix;s.event.props=[],s.event.fixHooks={},r(s.event.props,"concat",s.event.props.concat,"event-old-patch","jQuery.event.props.concat() is deprecated and removed"),i(s.event,"fix",function(e){var t,r=e.type,n=this.fixHooks[r],o=s.event.props;if(o.length){u("event-old-patch","jQuery.event.props are deprecated and removed: "+o.join());while(o.length)s.event.addProp(o.pop())}if(n&&!n._migrated_&&(n._migrated_=!0,u("event-old-patch","jQuery.event.fixHooks are deprecated and removed: "+r),(o=n.props)&&o.length))while(o.length)s.event.addProp(o.pop());return t=O.call(this,e),n&&n.filter?n.filter(t,e):t},"event-old-patch"),i(s.event,"add",function(e,t){return e===n&&"load"===t&&"complete"===n.document.readyState&&u("load-after-event","jQuery(window).on('load'...) called after load event occurred"),q.apply(this,arguments)},"load-after-event"),s.each(["load","unload","error"],function(e,t){i(s.fn,t,function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?M.apply(this,e):(u("shorthand-removed-v3","jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))},"shorthand-removed-v3")}),s.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,r){c(s.fn,r,function(e,t){return 0<arguments.length?this.on(r,null,e,t):this.trigger(r)},"shorthand-deprecated-v3","jQuery.fn."+r+"() event shorthand is deprecated")}),s(function(){s(n.document).triggerHandler("ready")}),s.event.special.ready={setup:function(){this===n.document&&u("ready-event","'ready' event is deprecated")}},c(s.fn,"bind",function(e,t,r){return this.on(e,null,t,r)},"pre-on-methods","jQuery.fn.bind() is deprecated"),c(s.fn,"unbind",function(e,t){return this.off(e,null,t)},"pre-on-methods","jQuery.fn.unbind() is deprecated"),c(s.fn,"delegate",function(e,t,r,n){return this.on(t,e,r,n)},"pre-on-methods","jQuery.fn.delegate() is deprecated"),c(s.fn,"undelegate",function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},"pre-on-methods","jQuery.fn.undelegate() is deprecated"),c(s.fn,"hover",function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)},"pre-on-methods","jQuery.fn.hover() is deprecated");function T(e){var t=n.document.implementation.createHTMLDocument("");return t.body.innerHTML=e,t.body&&t.body.innerHTML}var F=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1></$2>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1></$2>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?I.apply(this,arguments):(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},"offset-valid-elem"),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s});!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Swiper=t()}(this,(function(){"use strict";function e(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function t(s,a){void 0===s&&(s={}),void 0===a&&(a={}),Object.keys(a).forEach((i=>{void 0===s[i]?s[i]=a[i]:e(a[i])&&e(s[i])&&Object.keys(a[i]).length>0&&t(s[i],a[i])}))}const s={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function a(){const e="undefined"!=typeof document?document:{};return t(e,s),e}const i={document:s,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function r(){const e="undefined"!=typeof window?window:{};return t(e,i),e}function n(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function l(){return Date.now()}function o(e,t){void 0===t&&(t="x");const s=r();let a,i,n;const l=function(e){const t=r();let s;return t.getComputedStyle&&(s=t.getComputedStyle(e,null)),!s&&e.currentStyle&&(s=e.currentStyle),s||(s=e.style),s}(e);return s.WebKitCSSMatrix?(i=l.transform||l.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map((e=>e.replace(",","."))).join(", ")),n=new s.WebKitCSSMatrix("none"===i?"":i)):(n=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),a=n.toString().split(",")),"x"===t&&(i=s.WebKitCSSMatrix?n.m41:16===a.length?parseFloat(a[12]):parseFloat(a[4])),"y"===t&&(i=s.WebKitCSSMatrix?n.m42:16===a.length?parseFloat(a[13]):parseFloat(a[5])),i||0}function d(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function c(e){return"undefined"!=typeof window&&void 0!==window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function p(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let s=1;s<arguments.length;s+=1){const a=s<0||arguments.length<=s?void 0:arguments[s];if(null!=a&&!c(a)){const s=Object.keys(Object(a)).filter((e=>t.indexOf(e)<0));for(let t=0,i=s.length;t<i;t+=1){const i=s[t],r=Object.getOwnPropertyDescriptor(a,i);void 0!==r&&r.enumerable&&(d(e[i])&&d(a[i])?a[i].__swiper__?e[i]=a[i]:p(e[i],a[i]):!d(e[i])&&d(a[i])?(e[i]={},a[i].__swiper__?e[i]=a[i]:p(e[i],a[i])):e[i]=a[i])}}}return e}function u(e,t,s){e.style.setProperty(t,s)}function m(e){let{swiper:t,targetPosition:s,side:a}=e;const i=r(),n=-t.translate;let l,o=null;const d=t.params.speed;t.wrapperEl.style.scrollSnapType="none",i.cancelAnimationFrame(t.cssModeFrameID);const c=s>n?"next":"prev",p=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,u=()=>{l=(new Date).getTime(),null===o&&(o=l);const e=Math.max(Math.min((l-o)/d,1),0),r=.5-Math.cos(e*Math.PI)/2;let c=n+r*(s-n);if(p(c,s)&&(c=s),t.wrapperEl.scrollTo({[a]:c}),p(c,s))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[a]:c})})),void i.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=i.requestAnimationFrame(u)};u()}function h(e){return e.querySelector(".swiper-slide-transform")||e.shadowEl&&e.shadowEl.querySelector(".swiper-slide-transform")||e}function f(e,t){return void 0===t&&(t=""),[...e.children].filter((e=>e.matches(t)))}function g(e,t){void 0===t&&(t=[]);const s=document.createElement(e);return s.classList.add(...Array.isArray(t)?t:[t]),s}function v(e){const t=r(),s=a(),i=e.getBoundingClientRect(),n=s.body,l=e.clientTop||n.clientTop||0,o=e.clientLeft||n.clientLeft||0,d=e===t?t.scrollY:e.scrollTop,c=e===t?t.scrollX:e.scrollLeft;return{top:i.top+d-l,left:i.left+c-o}}function w(e,t){return r().getComputedStyle(e,null).getPropertyValue(t)}function b(e){let t,s=e;if(s){for(t=0;null!==(s=s.previousSibling);)1===s.nodeType&&(t+=1);return t}}function y(e,t){const s=[];let a=e.parentElement;for(;a;)t?a.matches(t)&&s.push(a):s.push(a),a=a.parentElement;return s}function E(e,t){t&&e.addEventListener("transitionend",(function s(a){a.target===e&&(t.call(e,a),e.removeEventListener("transitionend",s))}))}function x(e,t,s){const a=r();return s?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(a.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(a.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}let S,T,M;function C(){return S||(S=function(){const e=r(),t=a();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),S}function P(e){return void 0===e&&(e={}),T||(T=function(e){let{userAgent:t}=void 0===e?{}:e;const s=C(),a=r(),i=a.navigator.platform,n=t||a.navigator.userAgent,l={ios:!1,android:!1},o=a.screen.width,d=a.screen.height,c=n.match(/(Android);?[\s\/]+([\d.]+)?/);let p=n.match(/(iPad).*OS\s([\d_]+)/);const u=n.match(/(iPod)(.*OS\s([\d_]+))?/),m=!p&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===i;let f="MacIntel"===i;return!p&&f&&s.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${o}x${d}`)>=0&&(p=n.match(/(Version)\/([\d.]+)/),p||(p=[0,1,"13_0_0"]),f=!1),c&&!h&&(l.os="android",l.android=!0),(p||m||u)&&(l.os="ios",l.ios=!0),l}(e)),T}function L(){return M||(M=function(){const e=r();let t=!1;function s(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(s()){const s=String(e.navigator.userAgent);if(s.includes("Version/")){const[e,a]=s.split("Version/")[1].split(" ")[0].split(".").map((e=>Number(e)));t=e<16||16===e&&a<2}}return{isSafari:t||s(),needPerspectiveFix:t,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),M}var z={on(e,t,s){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof t)return a;const i=s?"unshift":"push";return e.split(" ").forEach((e=>{a.eventsListeners[e]||(a.eventsListeners[e]=[]),a.eventsListeners[e][i](t)})),a},once(e,t,s){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof t)return a;function i(){a.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var s=arguments.length,r=new Array(s),n=0;n<s;n++)r[n]=arguments[n];t.apply(a,r)}return i.__emitterProxy=t,a.on(e,i,s)},onAny(e,t){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof e)return s;const a=t?"unshift":"push";return s.eventsAnyListeners.indexOf(e)<0&&s.eventsAnyListeners[a](e),s},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const s=t.eventsAnyListeners.indexOf(e);return s>=0&&t.eventsAnyListeners.splice(s,1),t},off(e,t){const s=this;return!s.eventsListeners||s.destroyed?s:s.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?s.eventsListeners[e]=[]:s.eventsListeners[e]&&s.eventsListeners[e].forEach(((a,i)=>{(a===t||a.__emitterProxy&&a.__emitterProxy===t)&&s.eventsListeners[e].splice(i,1)}))})),s):s},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,s,a;for(var i=arguments.length,r=new Array(i),n=0;n<i;n++)r[n]=arguments[n];"string"==typeof r[0]||Array.isArray(r[0])?(t=r[0],s=r.slice(1,r.length),a=e):(t=r[0].events,s=r[0].data,a=r[0].context||e),s.unshift(a);return(Array.isArray(t)?t:t.split(" ")).forEach((t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(a,[t,...s])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(a,s)}))})),e}};const A=(e,t)=>{if(!e||e.destroyed||!e.params)return;const s=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(s){const t=s.querySelector(`.${e.params.lazyPreloaderClass}`);t&&t.remove()}},$=(e,t)=>{if(!e.slides[t])return;const s=e.slides[t].querySelector('[loading="lazy"]');s&&s.removeAttribute("loading")},I=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const s=e.slides.length;if(!s||!t||t<0)return;t=Math.min(t,s);const a="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex,r=i+a-1;if(e.params.rewind)for(let a=i-t;a<=r+t;a+=1){const t=(a%s+s)%s;t!==i&&t>r&&$(e,t)}else for(let a=Math.max(r-t,0);a<=Math.min(r+t,s-1);a+=1)a!==i&&a>r&&$(e,a)};var k={updateSize:function(){const e=this;let t,s;const a=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:a.clientWidth,s=void 0!==e.params.height&&null!==e.params.height?e.params.height:a.clientHeight,0===t&&e.isHorizontal()||0===s&&e.isVertical()||(t=t-parseInt(w(a,"padding-left")||0,10)-parseInt(w(a,"padding-right")||0,10),s=s-parseInt(w(a,"padding-top")||0,10)-parseInt(w(a,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(s)&&(s=0),Object.assign(e,{width:t,height:s,size:e.isHorizontal()?t:s}))},updateSlides:function(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function s(e,s){return parseFloat(e.getPropertyValue(t(s))||0)}const a=e.params,{wrapperEl:i,slidesEl:r,size:n,rtlTranslate:l,wrongRTL:o}=e,d=e.virtual&&a.virtual.enabled,c=d?e.virtual.slides.length:e.slides.length,p=f(r,`.${e.params.slideClass}, swiper-slide`),m=d?e.virtual.slides.length:p.length;let h=[];const g=[],v=[];let b=a.slidesOffsetBefore;"function"==typeof b&&(b=a.slidesOffsetBefore.call(e));let y=a.slidesOffsetAfter;"function"==typeof y&&(y=a.slidesOffsetAfter.call(e));const E=e.snapGrid.length,S=e.slidesGrid.length;let T=a.spaceBetween,M=-b,C=0,P=0;if(void 0===n)return;"string"==typeof T&&T.indexOf("%")>=0&&(T=parseFloat(T.replace("%",""))/100*n),e.virtualSize=-T,p.forEach((e=>{l?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),a.centeredSlides&&a.cssMode&&(u(i,"--swiper-centered-offset-before",""),u(i,"--swiper-centered-offset-after",""));const L=a.grid&&a.grid.rows>1&&e.grid;let z;L&&e.grid.initSlides(m);const A="auto"===a.slidesPerView&&a.breakpoints&&Object.keys(a.breakpoints).filter((e=>void 0!==a.breakpoints[e].slidesPerView)).length>0;for(let i=0;i<m;i+=1){let r;if(z=0,p[i]&&(r=p[i]),L&&e.grid.updateSlide(i,r,m,t),!p[i]||"none"!==w(r,"display")){if("auto"===a.slidesPerView){A&&(p[i].style[t("width")]="");const n=getComputedStyle(r),l=r.style.transform,o=r.style.webkitTransform;if(l&&(r.style.transform="none"),o&&(r.style.webkitTransform="none"),a.roundLengths)z=e.isHorizontal()?x(r,"width",!0):x(r,"height",!0);else{const e=s(n,"width"),t=s(n,"padding-left"),a=s(n,"padding-right"),i=s(n,"margin-left"),l=s(n,"margin-right"),o=n.getPropertyValue("box-sizing");if(o&&"border-box"===o)z=e+i+l;else{const{clientWidth:s,offsetWidth:n}=r;z=e+t+a+i+l+(n-s)}}l&&(r.style.transform=l),o&&(r.style.webkitTransform=o),a.roundLengths&&(z=Math.floor(z))}else z=(n-(a.slidesPerView-1)*T)/a.slidesPerView,a.roundLengths&&(z=Math.floor(z)),p[i]&&(p[i].style[t("width")]=`${z}px`);p[i]&&(p[i].swiperSlideSize=z),v.push(z),a.centeredSlides?(M=M+z/2+C/2+T,0===C&&0!==i&&(M=M-n/2-T),0===i&&(M=M-n/2-T),Math.abs(M)<.001&&(M=0),a.roundLengths&&(M=Math.floor(M)),P%a.slidesPerGroup==0&&h.push(M),g.push(M)):(a.roundLengths&&(M=Math.floor(M)),(P-Math.min(e.params.slidesPerGroupSkip,P))%e.params.slidesPerGroup==0&&h.push(M),g.push(M),M=M+z+T),e.virtualSize+=z+T,C=z,P+=1}}if(e.virtualSize=Math.max(e.virtualSize,n)+y,l&&o&&("slide"===a.effect||"coverflow"===a.effect)&&(i.style.width=`${e.virtualSize+a.spaceBetween}px`),a.setWrapperSize&&(i.style[t("width")]=`${e.virtualSize+a.spaceBetween}px`),L&&e.grid.updateWrapperSize(z,h,t),!a.centeredSlides){const t=[];for(let s=0;s<h.length;s+=1){let i=h[s];a.roundLengths&&(i=Math.floor(i)),h[s]<=e.virtualSize-n&&t.push(i)}h=t,Math.floor(e.virtualSize-n)-Math.floor(h[h.length-1])>1&&h.push(e.virtualSize-n)}if(d&&a.loop){const t=v[0]+T;if(a.slidesPerGroup>1){const s=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/a.slidesPerGroup),i=t*a.slidesPerGroup;for(let e=0;e<s;e+=1)h.push(h[h.length-1]+i)}for(let s=0;s<e.virtual.slidesBefore+e.virtual.slidesAfter;s+=1)1===a.slidesPerGroup&&h.push(h[h.length-1]+t),g.push(g[g.length-1]+t),e.virtualSize+=t}if(0===h.length&&(h=[0]),0!==a.spaceBetween){const s=e.isHorizontal()&&l?"marginLeft":t("marginRight");p.filter(((e,t)=>!(a.cssMode&&!a.loop)||t!==p.length-1)).forEach((e=>{e.style[s]=`${T}px`}))}if(a.centeredSlides&&a.centeredSlidesBounds){let e=0;v.forEach((t=>{e+=t+(a.spaceBetween?a.spaceBetween:0)})),e-=a.spaceBetween;const t=e-n;h=h.map((e=>e<0?-b:e>t?t+y:e))}if(a.centerInsufficientSlides){let e=0;if(v.forEach((t=>{e+=t+(a.spaceBetween?a.spaceBetween:0)})),e-=a.spaceBetween,e<n){const t=(n-e)/2;h.forEach(((e,s)=>{h[s]=e-t})),g.forEach(((e,s)=>{g[s]=e+t}))}}if(Object.assign(e,{slides:p,snapGrid:h,slidesGrid:g,slidesSizesGrid:v}),a.centeredSlides&&a.cssMode&&!a.centeredSlidesBounds){u(i,"--swiper-centered-offset-before",-h[0]+"px"),u(i,"--swiper-centered-offset-after",e.size/2-v[v.length-1]/2+"px");const t=-e.snapGrid[0],s=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+s))}if(m!==c&&e.emit("slidesLengthChange"),h.length!==E&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),g.length!==S&&e.emit("slidesGridLengthChange"),a.watchSlidesProgress&&e.updateSlidesOffset(),!(d||a.cssMode||"slide"!==a.effect&&"fade"!==a.effect)){const t=`${a.containerModifierClass}backface-hidden`,s=e.el.classList.contains(t);m<=a.maxBackfaceHiddenSlides?s||e.el.classList.add(t):s&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,s=[],a=t.virtual&&t.params.virtual.enabled;let i,r=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const n=e=>a?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach((e=>{s.push(e)}));else for(i=0;i<Math.ceil(t.params.slidesPerView);i+=1){const e=t.activeIndex+i;if(e>t.slides.length&&!a)break;s.push(n(e))}else s.push(n(t.activeIndex));for(i=0;i<s.length;i+=1)if(void 0!==s[i]){const e=s[i].offsetHeight;r=e>r?e:r}(r||0===r)&&(t.wrapperEl.style.height=`${r}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,s=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let a=0;a<t.length;a+=1)t[a].swiperSlideOffset=(e.isHorizontal()?t[a].offsetLeft:t[a].offsetTop)-s-e.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,s=t.params,{slides:a,rtlTranslate:i,snapGrid:r}=t;if(0===a.length)return;void 0===a[0].swiperSlideOffset&&t.updateSlidesOffset();let n=-e;i&&(n=e),a.forEach((e=>{e.classList.remove(s.slideVisibleClass)})),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let e=0;e<a.length;e+=1){const l=a[e];let o=l.swiperSlideOffset;s.cssMode&&s.centeredSlides&&(o-=a[0].swiperSlideOffset);const d=(n+(s.centeredSlides?t.minTranslate():0)-o)/(l.swiperSlideSize+s.spaceBetween),c=(n-r[0]+(s.centeredSlides?t.minTranslate():0)-o)/(l.swiperSlideSize+s.spaceBetween),p=-(n-o),u=p+t.slidesSizesGrid[e];(p>=0&&p<t.size-1||u>1&&u<=t.size||p<=0&&u>=t.size)&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e),a[e].classList.add(s.slideVisibleClass)),l.progress=i?-d:d,l.originalProgress=i?-c:c}},updateProgress:function(e){const t=this;if(void 0===e){const s=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*s||0}const s=t.params,a=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:r,isEnd:n,progressLoop:l}=t;const o=r,d=n;if(0===a)i=0,r=!0,n=!0;else{i=(e-t.minTranslate())/a;const s=Math.abs(e-t.minTranslate())<1,l=Math.abs(e-t.maxTranslate())<1;r=s||i<=0,n=l||i>=1,s&&(i=0),l&&(i=1)}if(s.loop){const s=t.getSlideIndexByData(0),a=t.getSlideIndexByData(t.slides.length-1),i=t.slidesGrid[s],r=t.slidesGrid[a],n=t.slidesGrid[t.slidesGrid.length-1],o=Math.abs(e);l=o>=i?(o-i)/n:(o+n-r)/n,l>1&&(l-=1)}Object.assign(t,{progress:i,progressLoop:l,isBeginning:r,isEnd:n}),(s.watchSlidesProgress||s.centeredSlides&&s.autoHeight)&&t.updateSlidesProgress(e),r&&!o&&t.emit("reachBeginning toEdge"),n&&!d&&t.emit("reachEnd toEdge"),(o&&!r||d&&!n)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){const e=this,{slides:t,params:s,slidesEl:a,activeIndex:i}=e,r=e.virtual&&s.virtual.enabled,n=e=>f(a,`.${s.slideClass}${e}, swiper-slide${e}`)[0];let l;if(t.forEach((e=>{e.classList.remove(s.slideActiveClass,s.slideNextClass,s.slidePrevClass)})),r)if(s.loop){let t=i-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),l=n(`[data-swiper-slide-index="${t}"]`)}else l=n(`[data-swiper-slide-index="${i}"]`);else l=t[i];if(l){l.classList.add(s.slideActiveClass);let e=function(e,t){const s=[];for(;e.nextElementSibling;){const a=e.nextElementSibling;t?a.matches(t)&&s.push(a):s.push(a),e=a}return s}(l,`.${s.slideClass}, swiper-slide`)[0];s.loop&&!e&&(e=t[0]),e&&e.classList.add(s.slideNextClass);let a=function(e,t){const s=[];for(;e.previousElementSibling;){const a=e.previousElementSibling;t?a.matches(t)&&s.push(a):s.push(a),e=a}return s}(l,`.${s.slideClass}, swiper-slide`)[0];s.loop&&0===!a&&(a=t[t.length-1]),a&&a.classList.add(s.slidePrevClass)}e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,s=t.rtlTranslate?t.translate:-t.translate,{snapGrid:a,params:i,activeIndex:r,realIndex:n,snapIndex:l}=t;let o,d=e;const c=e=>{let s=e-t.virtual.slidesBefore;return s<0&&(s=t.virtual.slides.length+s),s>=t.virtual.slides.length&&(s-=t.virtual.slides.length),s};if(void 0===d&&(d=function(e){const{slidesGrid:t,params:s}=e,a=e.rtlTranslate?e.translate:-e.translate;let i;for(let e=0;e<t.length;e+=1)void 0!==t[e+1]?a>=t[e]&&a<t[e+1]-(t[e+1]-t[e])/2?i=e:a>=t[e]&&a<t[e+1]&&(i=e+1):a>=t[e]&&(i=e);return s.normalizeSlideIndex&&(i<0||void 0===i)&&(i=0),i}(t)),a.indexOf(s)>=0)o=a.indexOf(s);else{const e=Math.min(i.slidesPerGroupSkip,d);o=e+Math.floor((d-e)/i.slidesPerGroup)}if(o>=a.length&&(o=a.length-1),d===r)return o!==l&&(t.snapIndex=o,t.emit("snapIndexChange")),void(t.params.loop&&t.virtual&&t.params.virtual.enabled&&(t.realIndex=c(d)));let p;p=t.virtual&&i.virtual.enabled&&i.loop?c(d):t.slides[d]?parseInt(t.slides[d].getAttribute("data-swiper-slide-index")||d,10):d,Object.assign(t,{previousSnapIndex:l,snapIndex:o,previousRealIndex:n,realIndex:p,previousIndex:r,activeIndex:d}),t.initialized&&I(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),n!==p&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){const t=this,s=t.params,a=e.closest(`.${s.slideClass}, swiper-slide`);let i,r=!1;if(a)for(let e=0;e<t.slides.length;e+=1)if(t.slides[e]===a){r=!0,i=e;break}if(!a||!r)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=a,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(a.getAttribute("data-swiper-slide-index"),10):t.clickedIndex=i,s.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}};var O={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:s,translate:a,wrapperEl:i}=this;if(t.virtualTranslate)return s?-a:a;if(t.cssMode)return a;let r=o(i,e);return r+=this.cssOverflowAdjustment(),s&&(r=-r),r||0},setTranslate:function(e,t){const s=this,{rtlTranslate:a,params:i,wrapperEl:r,progress:n}=s;let l,o=0,d=0;s.isHorizontal()?o=a?-e:e:d=e,i.roundLengths&&(o=Math.floor(o),d=Math.floor(d)),s.previousTranslate=s.translate,s.translate=s.isHorizontal()?o:d,i.cssMode?r[s.isHorizontal()?"scrollLeft":"scrollTop"]=s.isHorizontal()?-o:-d:i.virtualTranslate||(s.isHorizontal()?o-=s.cssOverflowAdjustment():d-=s.cssOverflowAdjustment(),r.style.transform=`translate3d(${o}px, ${d}px, 0px)`);const c=s.maxTranslate()-s.minTranslate();l=0===c?0:(e-s.minTranslate())/c,l!==n&&s.updateProgress(e),s.emit("setTranslate",s.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,s,a,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===s&&(s=!0),void 0===a&&(a=!0);const r=this,{params:n,wrapperEl:l}=r;if(r.animating&&n.preventInteractionOnTransition)return!1;const o=r.minTranslate(),d=r.maxTranslate();let c;if(c=a&&e>o?o:a&&e<d?d:e,r.updateProgress(c),n.cssMode){const e=r.isHorizontal();if(0===t)l[e?"scrollLeft":"scrollTop"]=-c;else{if(!r.support.smoothScroll)return m({swiper:r,targetPosition:-c,side:e?"left":"top"}),!0;l.scrollTo({[e?"left":"top"]:-c,behavior:"smooth"})}return!0}return 0===t?(r.setTransition(0),r.setTranslate(c),s&&(r.emit("beforeTransitionStart",t,i),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(c),s&&(r.emit("beforeTransitionStart",t,i),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,s&&r.emit("transitionEnd"))}),r.wrapperEl.addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd))),!0}};function D(e){let{swiper:t,runCallbacks:s,direction:a,step:i}=e;const{activeIndex:r,previousIndex:n}=t;let l=a;if(l||(l=r>n?"next":r<n?"prev":"reset"),t.emit(`transition${i}`),s&&r!==n){if("reset"===l)return void t.emit(`slideResetTransition${i}`);t.emit(`slideChangeTransition${i}`),"next"===l?t.emit(`slideNextTransition${i}`):t.emit(`slidePrevTransition${i}`)}}var G={slideTo:function(e,t,s,a,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===s&&(s=!0),"string"==typeof e&&(e=parseInt(e,10));const r=this;let n=e;n<0&&(n=0);const{params:l,snapGrid:o,slidesGrid:d,previousIndex:c,activeIndex:p,rtlTranslate:u,wrapperEl:h,enabled:f}=r;if(r.animating&&l.preventInteractionOnTransition||!f&&!a&&!i)return!1;const g=Math.min(r.params.slidesPerGroupSkip,n);let v=g+Math.floor((n-g)/r.params.slidesPerGroup);v>=o.length&&(v=o.length-1);const w=-o[v];if(l.normalizeSlideIndex)for(let e=0;e<d.length;e+=1){const t=-Math.floor(100*w),s=Math.floor(100*d[e]),a=Math.floor(100*d[e+1]);void 0!==d[e+1]?t>=s&&t<a-(a-s)/2?n=e:t>=s&&t<a&&(n=e+1):t>=s&&(n=e)}if(r.initialized&&n!==p){if(!r.allowSlideNext&&w<r.translate&&w<r.minTranslate())return!1;if(!r.allowSlidePrev&&w>r.translate&&w>r.maxTranslate()&&(p||0)!==n)return!1}let b;if(n!==(c||0)&&s&&r.emit("beforeSlideChangeStart"),r.updateProgress(w),b=n>p?"next":n<p?"prev":"reset",u&&-w===r.translate||!u&&w===r.translate)return r.updateActiveIndex(n),l.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==l.effect&&r.setTranslate(w),"reset"!==b&&(r.transitionStart(s,b),r.transitionEnd(s,b)),!1;if(l.cssMode){const e=r.isHorizontal(),s=u?w:-w;if(0===t){const t=r.virtual&&r.params.virtual.enabled;t&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),t&&!r._cssModeVirtualInitialSet&&r.params.initialSlide>0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{h[e?"scrollLeft":"scrollTop"]=s}))):h[e?"scrollLeft":"scrollTop"]=s,t&&requestAnimationFrame((()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1}))}else{if(!r.support.smoothScroll)return m({swiper:r,targetPosition:s,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:s,behavior:"smooth"})}return!0}return r.setTransition(t),r.setTranslate(w),r.updateActiveIndex(n),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,a),r.transitionStart(s,b),0===t?r.transitionEnd(s,b):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(s,b))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,s,a){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===s&&(s=!0),"string"==typeof e){e=parseInt(e,10)}const i=this;let r=e;return i.params.loop&&(i.virtual&&i.params.virtual.enabled?r+=i.virtual.slidesBefore:r=i.getSlideIndexByData(r)),i.slideTo(r,t,s,a)},slideNext:function(e,t,s){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const a=this,{enabled:i,params:r,animating:n}=a;if(!i)return a;let l=r.slidesPerGroup;"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(l=Math.max(a.slidesPerViewDynamic("current",!0),1));const o=a.activeIndex<r.slidesPerGroupSkip?1:l,d=a.virtual&&r.virtual.enabled;if(r.loop){if(n&&!d&&r.loopPreventsSliding)return!1;a.loopFix({direction:"next"}),a._clientLeft=a.wrapperEl.clientLeft}return r.rewind&&a.isEnd?a.slideTo(0,e,t,s):a.slideTo(a.activeIndex+o,e,t,s)},slidePrev:function(e,t,s){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const a=this,{params:i,snapGrid:r,slidesGrid:n,rtlTranslate:l,enabled:o,animating:d}=a;if(!o)return a;const c=a.virtual&&i.virtual.enabled;if(i.loop){if(d&&!c&&i.loopPreventsSliding)return!1;a.loopFix({direction:"prev"}),a._clientLeft=a.wrapperEl.clientLeft}function p(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const u=p(l?a.translate:-a.translate),m=r.map((e=>p(e)));let h=r[m.indexOf(u)-1];if(void 0===h&&i.cssMode){let e;r.forEach(((t,s)=>{u>=t&&(e=s)})),void 0!==e&&(h=r[e>0?e-1:e])}let f=0;if(void 0!==h&&(f=n.indexOf(h),f<0&&(f=a.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(f=f-a.slidesPerViewDynamic("previous",!0)+1,f=Math.max(f,0))),i.rewind&&a.isBeginning){const i=a.params.virtual&&a.params.virtual.enabled&&a.virtual?a.virtual.slides.length-1:a.slides.length-1;return a.slideTo(i,e,t,s)}return a.slideTo(f,e,t,s)},slideReset:function(e,t,s){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,s)},slideToClosest:function(e,t,s,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===a&&(a=.5);const i=this;let r=i.activeIndex;const n=Math.min(i.params.slidesPerGroupSkip,r),l=n+Math.floor((r-n)/i.params.slidesPerGroup),o=i.rtlTranslate?i.translate:-i.translate;if(o>=i.snapGrid[l]){const e=i.snapGrid[l];o-e>(i.snapGrid[l+1]-e)*a&&(r+=i.params.slidesPerGroup)}else{const e=i.snapGrid[l-1];o-e<=(i.snapGrid[l]-e)*a&&(r-=i.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,i.slidesGrid.length-1),i.slideTo(r,e,t,s)},slideToClickedSlide:function(){const e=this,{params:t,slidesEl:s}=e,a="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,r=e.clickedIndex;const l=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;i=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?r<e.loopedSlides-a/2||r>e.slides.length-e.loopedSlides+a/2?(e.loopFix(),r=e.getSlideIndex(f(s,`${l}[data-swiper-slide-index="${i}"]`)[0]),n((()=>{e.slideTo(r)}))):e.slideTo(r):r>e.slides.length-a?(e.loopFix(),r=e.getSlideIndex(f(s,`${l}[data-swiper-slide-index="${i}"]`)[0]),n((()=>{e.slideTo(r)}))):e.slideTo(r)}else e.slideTo(r)}};var B={loopCreate:function(e){const t=this,{params:s,slidesEl:a}=t;if(!s.loop||t.virtual&&t.params.virtual.enabled)return;f(a,`.${s.slideClass}, swiper-slide`).forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t)})),t.loopFix({slideRealIndex:e,direction:s.centeredSlides?void 0:"next"})},loopFix:function(e){let{slideRealIndex:t,slideTo:s=!0,direction:a,setTranslate:i,activeSlideIndex:r,byController:n,byMousewheel:l}=void 0===e?{}:e;const o=this;if(!o.params.loop)return;o.emit("beforeLoopFix");const{slides:d,allowSlidePrev:c,allowSlideNext:p,slidesEl:u,params:m}=o;if(o.allowSlidePrev=!0,o.allowSlideNext=!0,o.virtual&&m.virtual.enabled)return s&&(m.centeredSlides||0!==o.snapIndex?m.centeredSlides&&o.snapIndex<m.slidesPerView?o.slideTo(o.virtual.slides.length+o.snapIndex,0,!1,!0):o.snapIndex===o.snapGrid.length-1&&o.slideTo(o.virtual.slidesBefore,0,!1,!0):o.slideTo(o.virtual.slides.length,0,!1,!0)),o.allowSlidePrev=c,o.allowSlideNext=p,void o.emit("loopFix");const h="auto"===m.slidesPerView?o.slidesPerViewDynamic():Math.ceil(parseFloat(m.slidesPerView,10));let f=m.loopedSlides||h;f%m.slidesPerGroup!=0&&(f+=m.slidesPerGroup-f%m.slidesPerGroup),o.loopedSlides=f;const g=[],v=[];let w=o.activeIndex;void 0===r?r=o.getSlideIndex(o.slides.filter((e=>e.classList.contains(m.slideActiveClass)))[0]):w=r;const b="next"===a||!a,y="prev"===a||!a;let E=0,x=0;if(r<f){E=Math.max(f-r,m.slidesPerGroup);for(let e=0;e<f-r;e+=1){const t=e-Math.floor(e/d.length)*d.length;g.push(d.length-t-1)}}else if(r>o.slides.length-2*f){x=Math.max(r-(o.slides.length-2*f),m.slidesPerGroup);for(let e=0;e<x;e+=1){const t=e-Math.floor(e/d.length)*d.length;v.push(t)}}if(y&&g.forEach((e=>{u.prepend(o.slides[e])})),b&&v.forEach((e=>{u.append(o.slides[e])})),o.recalcSlides(),"auto"===m.slidesPerView&&o.updateSlides(),m.watchSlidesProgress&&o.updateSlidesOffset(),s)if(g.length>0&&y)if(void 0===t){const e=o.slidesGrid[w],t=o.slidesGrid[w+E]-e;l?o.setTranslate(o.translate-t):(o.slideTo(w+E,0,!1,!0),i&&(o.touches[o.isHorizontal()?"startX":"startY"]+=t))}else i&&o.slideToLoop(t,0,!1,!0);else if(v.length>0&&b)if(void 0===t){const e=o.slidesGrid[w],t=o.slidesGrid[w-x]-e;l?o.setTranslate(o.translate-t):(o.slideTo(w-x,0,!1,!0),i&&(o.touches[o.isHorizontal()?"startX":"startY"]+=t))}else o.slideToLoop(t,0,!1,!0);if(o.allowSlidePrev=c,o.allowSlideNext=p,o.controller&&o.controller.control&&!n){const e={slideRealIndex:t,slideTo:!1,direction:a,setTranslate:i,activeSlideIndex:r,byController:!0};Array.isArray(o.controller.control)?o.controller.control.forEach((t=>{!t.destroyed&&t.params.loop&&t.loopFix(e)})):o.controller.control instanceof o.constructor&&o.controller.control.params.loop&&o.controller.control.loopFix(e)}o.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:s}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const a=[];e.slides.forEach((e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;a[t]=e})),e.slides.forEach((e=>{e.removeAttribute("data-swiper-slide-index")})),a.forEach((e=>{s.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function H(e){const t=this,s=a(),i=r(),n=t.touchEventsData;n.evCache.push(e);const{params:o,touches:d,enabled:c}=t;if(!c)return;if(!o.simulateTouch&&"mouse"===e.pointerType)return;if(t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let p=e;p.originalEvent&&(p=p.originalEvent);let u=p.target;if("wrapper"===o.touchEventsTarget&&!t.wrapperEl.contains(u))return;if("which"in p&&3===p.which)return;if("button"in p&&p.button>0)return;if(n.isTouched&&n.isMoved)return;const m=!!o.noSwipingClass&&""!==o.noSwipingClass,h=e.composedPath?e.composedPath():e.path;m&&p.target&&p.target.shadowRoot&&h&&(u=h[0]);const f=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,g=!(!p.target||!p.target.shadowRoot);if(o.noSwiping&&(g?function(e,t){return void 0===t&&(t=this),function t(s){if(!s||s===a()||s===r())return null;s.assignedSlot&&(s=s.assignedSlot);const i=s.closest(e);return i||s.getRootNode?i||t(s.getRootNode().host):null}(t)}(f,u):u.closest(f)))return void(t.allowClick=!0);if(o.swipeHandler&&!u.closest(o.swipeHandler))return;d.currentX=p.pageX,d.currentY=p.pageY;const v=d.currentX,w=d.currentY,b=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,y=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(b&&(v<=y||v>=i.innerWidth-y)){if("prevent"!==b)return;e.preventDefault()}Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),d.startX=v,d.startY=w,n.touchStartTime=l(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(n.allowThresholdMove=!1);let E=!0;u.matches(n.focusableElements)&&(E=!1,"SELECT"===u.nodeName&&(n.isTouched=!1)),s.activeElement&&s.activeElement.matches(n.focusableElements)&&s.activeElement!==u&&s.activeElement.blur();const x=E&&t.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!x||u.isContentEditable||p.preventDefault(),t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",p)}function X(e){const t=a(),s=this,i=s.touchEventsData,{params:r,touches:n,rtlTranslate:o,enabled:d}=s;if(!d)return;if(!r.simulateTouch&&"mouse"===e.pointerType)return;let c=e;if(c.originalEvent&&(c=c.originalEvent),!i.isTouched)return void(i.startMoving&&i.isScrolling&&s.emit("touchMoveOpposite",c));const p=i.evCache.findIndex((e=>e.pointerId===c.pointerId));p>=0&&(i.evCache[p]=c);const u=i.evCache.length>1?i.evCache[0]:c,m=u.pageX,h=u.pageY;if(c.preventedByNestedSwiper)return n.startX=m,void(n.startY=h);if(!s.allowTouchMove)return c.target.matches(i.focusableElements)||(s.allowClick=!1),void(i.isTouched&&(Object.assign(n,{startX:m,startY:h,prevX:s.touches.currentX,prevY:s.touches.currentY,currentX:m,currentY:h}),i.touchStartTime=l()));if(r.touchReleaseOnEdges&&!r.loop)if(s.isVertical()){if(h<n.startY&&s.translate<=s.maxTranslate()||h>n.startY&&s.translate>=s.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(m<n.startX&&s.translate<=s.maxTranslate()||m>n.startX&&s.translate>=s.minTranslate())return;if(t.activeElement&&c.target===t.activeElement&&c.target.matches(i.focusableElements))return i.isMoved=!0,void(s.allowClick=!1);if(i.allowTouchCallbacks&&s.emit("touchMove",c),c.targetTouches&&c.targetTouches.length>1)return;n.currentX=m,n.currentY=h;const f=n.currentX-n.startX,g=n.currentY-n.startY;if(s.params.threshold&&Math.sqrt(f**2+g**2)<s.params.threshold)return;if(void 0===i.isScrolling){let e;s.isHorizontal()&&n.currentY===n.startY||s.isVertical()&&n.currentX===n.startX?i.isScrolling=!1:f*f+g*g>=25&&(e=180*Math.atan2(Math.abs(g),Math.abs(f))/Math.PI,i.isScrolling=s.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}if(i.isScrolling&&s.emit("touchMoveOpposite",c),void 0===i.startMoving&&(n.currentX===n.startX&&n.currentY===n.startY||(i.startMoving=!0)),i.isScrolling||s.zoom&&s.params.zoom&&s.params.zoom.enabled&&i.evCache.length>1)return void(i.isTouched=!1);if(!i.startMoving)return;s.allowClick=!1,!r.cssMode&&c.cancelable&&c.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&c.stopPropagation();let v=s.isHorizontal()?f:g,w=s.isHorizontal()?n.currentX-n.previousX:n.currentY-n.previousY;r.oneWayMovement&&(v=Math.abs(v)*(o?1:-1),w=Math.abs(w)*(o?1:-1)),n.diff=v,v*=r.touchRatio,o&&(v=-v,w=-w);const b=s.touchesDirection;s.swipeDirection=v>0?"prev":"next",s.touchesDirection=w>0?"prev":"next";const y=s.params.loop&&!r.cssMode;if(!i.isMoved){if(y&&s.loopFix({direction:s.swipeDirection}),i.startTranslate=s.getTranslate(),s.setTransition(0),s.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});s.wrapperEl.dispatchEvent(e)}i.allowMomentumBounce=!1,!r.grabCursor||!0!==s.allowSlideNext&&!0!==s.allowSlidePrev||s.setGrabCursor(!0),s.emit("sliderFirstMove",c)}let E;i.isMoved&&b!==s.touchesDirection&&y&&Math.abs(v)>=1&&(s.loopFix({direction:s.swipeDirection,setTranslate:!0}),E=!0),s.emit("sliderMove",c),i.isMoved=!0,i.currentTranslate=v+i.startTranslate;let x=!0,S=r.resistanceRatio;if(r.touchReleaseOnEdges&&(S=0),v>0?(y&&!E&&i.currentTranslate>(r.centeredSlides?s.minTranslate()-s.size/2:s.minTranslate())&&s.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>s.minTranslate()&&(x=!1,r.resistance&&(i.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+i.startTranslate+v)**S))):v<0&&(y&&!E&&i.currentTranslate<(r.centeredSlides?s.maxTranslate()+s.size/2:s.maxTranslate())&&s.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:s.slides.length-("auto"===r.slidesPerView?s.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),i.currentTranslate<s.maxTranslate()&&(x=!1,r.resistance&&(i.currentTranslate=s.maxTranslate()+1-(s.maxTranslate()-i.startTranslate-v)**S))),x&&(c.preventedByNestedSwiper=!0),!s.allowSlideNext&&"next"===s.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!s.allowSlidePrev&&"prev"===s.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),s.allowSlidePrev||s.allowSlideNext||(i.currentTranslate=i.startTranslate),r.threshold>0){if(!(Math.abs(v)>r.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,n.startX=n.currentX,n.startY=n.currentY,i.currentTranslate=i.startTranslate,void(n.diff=s.isHorizontal()?n.currentX-n.startX:n.currentY-n.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&s.freeMode||r.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),s.params.freeMode&&r.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(i.currentTranslate),s.setTranslate(i.currentTranslate))}function Y(e){const t=this,s=t.touchEventsData,a=s.evCache.findIndex((t=>t.pointerId===e.pointerId));if(a>=0&&s.evCache.splice(a,1),["pointercancel","pointerout","pointerleave"].includes(e.type)){if(!("pointercancel"===e.type&&(t.browser.isSafari||t.browser.isWebView)))return}const{params:i,touches:r,rtlTranslate:o,slidesGrid:d,enabled:c}=t;if(!c)return;if(!i.simulateTouch&&"mouse"===e.pointerType)return;let p=e;if(p.originalEvent&&(p=p.originalEvent),s.allowTouchCallbacks&&t.emit("touchEnd",p),s.allowTouchCallbacks=!1,!s.isTouched)return s.isMoved&&i.grabCursor&&t.setGrabCursor(!1),s.isMoved=!1,void(s.startMoving=!1);i.grabCursor&&s.isMoved&&s.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const u=l(),m=u-s.touchStartTime;if(t.allowClick){const e=p.path||p.composedPath&&p.composedPath();t.updateClickedSlide(e&&e[0]||p.target),t.emit("tap click",p),m<300&&u-s.lastClickTime<300&&t.emit("doubleTap doubleClick",p)}if(s.lastClickTime=l(),n((()=>{t.destroyed||(t.allowClick=!0)})),!s.isTouched||!s.isMoved||!t.swipeDirection||0===r.diff||s.currentTranslate===s.startTranslate)return s.isTouched=!1,s.isMoved=!1,void(s.startMoving=!1);let h;if(s.isTouched=!1,s.isMoved=!1,s.startMoving=!1,h=i.followFinger?o?t.translate:-t.translate:-s.currentTranslate,i.cssMode)return;if(t.params.freeMode&&i.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:h});let f=0,g=t.slidesSizesGrid[0];for(let e=0;e<d.length;e+=e<i.slidesPerGroupSkip?1:i.slidesPerGroup){const t=e<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;void 0!==d[e+t]?h>=d[e]&&h<d[e+t]&&(f=e,g=d[e+t]-d[e]):h>=d[e]&&(f=e,g=d[d.length-1]-d[d.length-2])}let v=null,w=null;i.rewind&&(t.isBeginning?w=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(v=0));const b=(h-d[f])/g,y=f<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;if(m>i.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(b>=i.longSwipesRatio?t.slideTo(i.rewind&&t.isEnd?v:f+y):t.slideTo(f)),"prev"===t.swipeDirection&&(b>1-i.longSwipesRatio?t.slideTo(f+y):null!==w&&b<0&&Math.abs(b)>i.longSwipesRatio?t.slideTo(w):t.slideTo(f))}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(p.target===t.navigation.nextEl||p.target===t.navigation.prevEl)?p.target===t.navigation.nextEl?t.slideTo(f+y):t.slideTo(f):("next"===t.swipeDirection&&t.slideTo(null!==v?v:f+y),"prev"===t.swipeDirection&&t.slideTo(null!==w?w:f))}}function N(){const e=this,{params:t,el:s}=e;if(s&&0===s.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:a,allowSlidePrev:i,snapGrid:r}=e,n=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const l=n&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||l?e.params.loop&&!n?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout((()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()}),500)),e.allowSlidePrev=i,e.allowSlideNext=a,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}function q(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function R(){const e=this,{wrapperEl:t,rtlTranslate:s,enabled:a}=e;if(!a)return;let i;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const r=e.maxTranslate()-e.minTranslate();i=0===r?0:(e.translate-e.minTranslate())/r,i!==e.progress&&e.updateProgress(s?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function _(e){A(this,e.target),this.update()}let V=!1;function F(){}const j=(e,t)=>{const s=a(),{params:i,el:r,wrapperEl:n,device:l}=e,o=!!i.nested,d="on"===t?"addEventListener":"removeEventListener",c=t;r[d]("pointerdown",e.onTouchStart,{passive:!1}),s[d]("pointermove",e.onTouchMove,{passive:!1,capture:o}),s[d]("pointerup",e.onTouchEnd,{passive:!0}),s[d]("pointercancel",e.onTouchEnd,{passive:!0}),s[d]("pointerout",e.onTouchEnd,{passive:!0}),s[d]("pointerleave",e.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&r[d]("click",e.onClick,!0),i.cssMode&&n[d]("scroll",e.onScroll),i.updateOnWindowResize?e[c](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",N,!0):e[c]("observerUpdate",N,!0),r[d]("load",e.onLoad,{capture:!0})};const W=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var U={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopedSlides:null,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function K(e,t){return function(s){void 0===s&&(s={});const a=Object.keys(s)[0],i=s[a];"object"==typeof i&&null!==i?(["navigation","pagination","scrollbar"].indexOf(a)>=0&&!0===e[a]&&(e[a]={auto:!0}),a in e&&"enabled"in i?(!0===e[a]&&(e[a]={enabled:!0}),"object"!=typeof e[a]||"enabled"in e[a]||(e[a].enabled=!0),e[a]||(e[a]={enabled:!1}),p(t,s)):p(t,s)):p(t,s)}}const Z={eventsEmitter:z,update:k,translate:O,transition:{setTransition:function(e,t){const s=this;s.params.cssMode||(s.wrapperEl.style.transitionDuration=`${e}ms`),s.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const s=this,{params:a}=s;a.cssMode||(a.autoHeight&&s.updateAutoHeight(),D({swiper:s,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const s=this,{params:a}=s;s.animating=!1,a.cssMode||(s.setTransition(0),D({swiper:s,runCallbacks:e,direction:t,step:"End"}))}},slide:G,loop:B,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const s="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),s.style.cursor="move",s.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame((()=>{t.__preventObserver__=!1}))},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame((()=>{e.__preventObserver__=!1})))}},events:{attachEvents:function(){const e=this,t=a(),{params:s}=e;e.onTouchStart=H.bind(e),e.onTouchMove=X.bind(e),e.onTouchEnd=Y.bind(e),s.cssMode&&(e.onScroll=R.bind(e)),e.onClick=q.bind(e),e.onLoad=_.bind(e),V||(t.addEventListener("touchstart",F),V=!0),j(e,"on")},detachEvents:function(){j(this,"off")}},breakpoints:{setBreakpoint:function(){const e=this,{realIndex:t,initialized:s,params:a,el:i}=e,r=a.breakpoints;if(!r||r&&0===Object.keys(r).length)return;const n=e.getBreakpoint(r,e.params.breakpointsBase,e.el);if(!n||e.currentBreakpoint===n)return;const l=(n in r?r[n]:void 0)||e.originalParams,o=W(e,a),d=W(e,l),c=a.enabled;o&&!d?(i.classList.remove(`${a.containerModifierClass}grid`,`${a.containerModifierClass}grid-column`),e.emitContainerClasses()):!o&&d&&(i.classList.add(`${a.containerModifierClass}grid`),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===a.grid.fill)&&i.classList.add(`${a.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{const s=a[t]&&a[t].enabled,i=l[t]&&l[t].enabled;s&&!i&&e[t].disable(),!s&&i&&e[t].enable()}));const u=l.direction&&l.direction!==a.direction,m=a.loop&&(l.slidesPerView!==a.slidesPerView||u);u&&s&&e.changeDirection(),p(e.params,l);const h=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),c&&!h?e.disable():!c&&h&&e.enable(),e.currentBreakpoint=n,e.emit("_beforeBreakpoint",l),m&&s&&(e.loopDestroy(),e.loopCreate(t),e.updateSlides()),e.emit("breakpoint",l)},getBreakpoint:function(e,t,s){if(void 0===t&&(t="window"),!e||"container"===t&&!s)return;let a=!1;const i=r(),n="window"===t?i.innerHeight:s.clientHeight,l=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:n*t,point:e}}return{value:e,point:e}}));l.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e<l.length;e+=1){const{point:r,value:n}=l[e];"window"===t?i.matchMedia(`(min-width: ${n}px)`).matches&&(a=r):n<=s.clientWidth&&(a=r)}return a||"max"}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:s}=e,{slidesOffsetBefore:a}=s;if(a){const t=e.slides.length-1,s=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*a;e.isLocked=e.size>s}else e.isLocked=1===e.snapGrid.length;!0===s.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===s.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const e=this,{classNames:t,params:s,rtl:a,el:i,device:r}=e,n=function(e,t){const s=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((a=>{e[a]&&s.push(t+a)})):"string"==typeof e&&s.push(t+e)})),s}(["initialized",s.direction,{"free-mode":e.params.freeMode&&s.freeMode.enabled},{autoheight:s.autoHeight},{rtl:a},{grid:s.grid&&s.grid.rows>1},{"grid-column":s.grid&&s.grid.rows>1&&"column"===s.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":s.cssMode},{centered:s.cssMode&&s.centeredSlides},{"watch-progress":s.watchSlidesProgress}],s.containerModifierClass);t.push(...n),i.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e.classList.remove(...t),this.emitContainerClasses()}}},Q={};class J{constructor(){let e,t;for(var s=arguments.length,i=new Array(s),r=0;r<s;r++)i[r]=arguments[r];1===i.length&&i[0].constructor&&"Object"===Object.prototype.toString.call(i[0]).slice(8,-1)?t=i[0]:[e,t]=i,t||(t={}),t=p({},t),e&&!t.el&&(t.el=e);const n=a();if(t.el&&"string"==typeof t.el&&n.querySelectorAll(t.el).length>1){const e=[];return n.querySelectorAll(t.el).forEach((s=>{const a=p({},t,{el:s});e.push(new J(a))})),e}const l=this;l.__swiper__=!0,l.support=C(),l.device=P({userAgent:t.userAgent}),l.browser=L(),l.eventsListeners={},l.eventsAnyListeners=[],l.modules=[...l.__modules__],t.modules&&Array.isArray(t.modules)&&l.modules.push(...t.modules);const o={};l.modules.forEach((e=>{e({params:t,swiper:l,extendParams:K(t,o),on:l.on.bind(l),once:l.once.bind(l),off:l.off.bind(l),emit:l.emit.bind(l)})}));const d=p({},U,o);return l.params=p({},d,Q,t),l.originalParams=p({},l.params),l.passedParams=p({},t),l.params&&l.params.on&&Object.keys(l.params.on).forEach((e=>{l.on(e,l.params.on[e])})),l.params&&l.params.onAny&&l.onAny(l.params.onAny),Object.assign(l,{enabled:l.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===l.params.direction,isVertical:()=>"vertical"===l.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:l.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,evCache:[]},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.emit("_swiper"),l.params.init&&l.init(),l}getSlideIndex(e){const{slidesEl:t,params:s}=this,a=b(f(t,`.${s.slideClass}, swiper-slide`)[0]);return b(e)-a}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter((t=>1*t.getAttribute("data-swiper-slide-index")===e))[0])}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=f(e,`.${t.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const s=this;e=Math.min(Math.max(e,0),1);const a=s.minTranslate(),i=(s.maxTranslate()-a)*e+a;s.translateTo(i,void 0===t?0:t),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach((s=>{const a=e.getSlideClasses(s);t.push({slideEl:s,classNames:a}),e.emit("_slideClass",s,a)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:s,slides:a,slidesGrid:i,slidesSizesGrid:r,size:n,activeIndex:l}=this;let o=1;if(s.centeredSlides){let e,t=a[l].swiperSlideSize;for(let s=l+1;s<a.length;s+=1)a[s]&&!e&&(t+=a[s].swiperSlideSize,o+=1,t>n&&(e=!0));for(let s=l-1;s>=0;s-=1)a[s]&&!e&&(t+=a[s].swiperSlideSize,o+=1,t>n&&(e=!0))}else if("current"===e)for(let e=l+1;e<a.length;e+=1){(t?i[e]+r[e]-i[l]<n:i[e]-i[l]<n)&&(o+=1)}else for(let e=l-1;e>=0;e-=1){i[l]-i[e]<n&&(o+=1)}return o}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:s}=e;function a(){const t=e.rtlTranslate?-1*e.translate:e.translate,s=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let i;if(s.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach((t=>{t.complete&&A(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode&&e.params.freeMode.enabled)a(),e.params.autoHeight&&e.updateAutoHeight();else{if(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides){const t=e.virtual&&e.params.virtual.enabled?e.virtual.slides:e.slides;i=e.slideTo(t.length-1,0,!1,!0)}else i=e.slideTo(e.activeIndex,0,!1,!0);i||a()}s.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const s=this,a=s.params.direction;return e||(e="horizontal"===a?"vertical":"horizontal"),e===a||"horizontal"!==e&&"vertical"!==e||(s.el.classList.remove(`${s.params.containerModifierClass}${a}`),s.el.classList.add(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.forEach((t=>{"vertical"===e?t.style.width="":t.style.height=""})),s.emit("changeDirection"),t&&s.update()),s}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let s=e||t.params.el;if("string"==typeof s&&(s=document.querySelector(s)),!s)return!1;s.swiper=t,s.shadowEl&&(t.isElement=!0);const a=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let i=(()=>{if(s&&s.shadowRoot&&s.shadowRoot.querySelector){return s.shadowRoot.querySelector(a())}return f(s,a())[0]})();return!i&&t.params.createElements&&(i=g("div",t.params.wrapperClass),s.append(i),f(s,`.${t.params.slideClass}`).forEach((e=>{i.append(e)}))),Object.assign(t,{el:s,wrapperEl:i,slidesEl:t.isElement?s:i,mounted:!0,rtl:"rtl"===s.dir.toLowerCase()||"rtl"===w(s,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===s.dir.toLowerCase()||"rtl"===w(s,"direction")),wrongRTL:"-webkit-box"===w(i,"display")}),!0}init(e){const t=this;if(t.initialized)return t;return!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach((e=>{e.complete?A(t,e):e.addEventListener("load",(e=>{A(t,e.target)}))})),I(t),t.initialized=!0,I(t),t.emit("init"),t.emit("afterInit")),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const s=this,{params:a,el:i,wrapperEl:r,slides:n}=s;return void 0===s.params||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),a.loop&&s.loopDestroy(),t&&(s.removeClasses(),i.removeAttribute("style"),r.removeAttribute("style"),n&&n.length&&n.forEach((e=>{e.classList.remove(a.slideVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),s.emit("destroy"),Object.keys(s.eventsListeners).forEach((e=>{s.off(e)})),!1!==e&&(s.el.swiper=null,function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(s)),s.destroyed=!0),null}static extendDefaults(e){p(Q,e)}static get extendedDefaults(){return Q}static get defaults(){return U}static installModule(e){J.prototype.__modules__||(J.prototype.__modules__=[]);const t=J.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>J.installModule(e))),J):(J.installModule(e),J)}}function ee(e,t,s,a){return e.params.createElements&&Object.keys(a).forEach((i=>{if(!s[i]&&!0===s.auto){let r=f(e.el,`.${a[i]}`)[0];r||(r=g("div",a[i]),r.className=a[i],e.el.append(r)),s[i]=r,t[i]=r}})),s}function te(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function se(e){const t=this,{params:s,slidesEl:a}=t;s.loop&&t.loopDestroy();const i=e=>{if("string"==typeof e){const t=document.createElement("div");t.innerHTML=e,a.append(t.children[0]),t.innerHTML=""}else a.append(e)};if("object"==typeof e&&"length"in e)for(let t=0;t<e.length;t+=1)e[t]&&i(e[t]);else i(e);t.recalcSlides(),s.loop&&t.loopCreate(),s.observer&&!t.isElement||t.update()}function ae(e){const t=this,{params:s,activeIndex:a,slidesEl:i}=t;s.loop&&t.loopDestroy();let r=a+1;const n=e=>{if("string"==typeof e){const t=document.createElement("div");t.innerHTML=e,i.prepend(t.children[0]),t.innerHTML=""}else i.prepend(e)};if("object"==typeof e&&"length"in e){for(let t=0;t<e.length;t+=1)e[t]&&n(e[t]);r=a+e.length}else n(e);t.recalcSlides(),s.loop&&t.loopCreate(),s.observer&&!t.isElement||t.update(),t.slideTo(r,0,!1)}function ie(e,t){const s=this,{params:a,activeIndex:i,slidesEl:r}=s;let n=i;a.loop&&(n-=s.loopedSlides,s.loopDestroy(),s.recalcSlides());const l=s.slides.length;if(e<=0)return void s.prependSlide(t);if(e>=l)return void s.appendSlide(t);let o=n>e?n+1:n;const d=[];for(let t=l-1;t>=e;t-=1){const e=s.slides[t];e.remove(),d.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;e<t.length;e+=1)t[e]&&r.append(t[e]);o=n>e?n+t.length:n}else r.append(t);for(let e=0;e<d.length;e+=1)r.append(d[e]);s.recalcSlides(),a.loop&&s.loopCreate(),a.observer&&!s.isElement||s.update(),a.loop?s.slideTo(o+s.loopedSlides,0,!1):s.slideTo(o,0,!1)}function re(e){const t=this,{params:s,activeIndex:a}=t;let i=a;s.loop&&(i-=t.loopedSlides,t.loopDestroy());let r,n=i;if("object"==typeof e&&"length"in e){for(let s=0;s<e.length;s+=1)r=e[s],t.slides[r]&&t.slides[r].remove(),r<n&&(n-=1);n=Math.max(n,0)}else r=e,t.slides[r]&&t.slides[r].remove(),r<n&&(n-=1),n=Math.max(n,0);t.recalcSlides(),s.loop&&t.loopCreate(),s.observer&&!t.isElement||t.update(),s.loop?t.slideTo(n+t.loopedSlides,0,!1):t.slideTo(n,0,!1)}function ne(){const e=this,t=[];for(let s=0;s<e.slides.length;s+=1)t.push(s);e.removeSlide(t)}function le(e){const{effect:t,swiper:s,on:a,setTranslate:i,setTransition:r,overwriteParams:n,perspective:l,recreateShadows:o,getEffectParams:d}=e;let c;a("beforeInit",(()=>{if(s.params.effect!==t)return;s.classNames.push(`${s.params.containerModifierClass}${t}`),l&&l()&&s.classNames.push(`${s.params.containerModifierClass}3d`);const e=n?n():{};Object.assign(s.params,e),Object.assign(s.originalParams,e)})),a("setTranslate",(()=>{s.params.effect===t&&i()})),a("setTransition",((e,a)=>{s.params.effect===t&&r(a)})),a("transitionEnd",(()=>{if(s.params.effect===t&&o){if(!d||!d().slideShadows)return;s.slides.forEach((e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((e=>e.remove()))})),o()}})),a("virtualUpdate",(()=>{s.params.effect===t&&(s.slides.length||(c=!0),requestAnimationFrame((()=>{c&&s.slides&&s.slides.length&&(i(),c=!1)})))}))}function oe(e,t){const s=h(t);return s!==t&&(s.style.backfaceVisibility="hidden",s.style["-webkit-backface-visibility"]="hidden"),s}function de(e){let{swiper:t,duration:s,transformElements:a,allSlides:i}=e;const{activeIndex:r}=t;if(t.params.virtualTranslate&&0!==s){let e,s=!1;e=i?a:a.filter((e=>{const s=e.classList.contains("swiper-slide-transform")?(e=>{if(!e.parentElement)return t.slides.filter((t=>t.shadowEl&&t.shadowEl===e.parentNode))[0];return e.parentElement})(e):e;return t.getSlideIndex(s)===r})),e.forEach((e=>{E(e,(()=>{if(s)return;if(!t||t.destroyed)return;s=!0,t.animating=!1;const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(e)}))}))}}function ce(e,t,s){const a="swiper-slide-shadow"+(s?`-${s}`:""),i=h(t);let r=i.querySelector(`.${a}`);return r||(r=g("div","swiper-slide-shadow"+(s?`-${s}`:"")),i.append(r)),r}Object.keys(Z).forEach((e=>{Object.keys(Z[e]).forEach((t=>{J.prototype[t]=Z[e][t]}))})),J.use([function(e){let{swiper:t,on:s,emit:a}=e;const i=r();let n=null,l=null;const o=()=>{t&&!t.destroyed&&t.initialized&&(a("beforeResize"),a("resize"))},d=()=>{t&&!t.destroyed&&t.initialized&&a("orientationchange")};s("init",(()=>{t.params.resizeObserver&&void 0!==i.ResizeObserver?t&&!t.destroyed&&t.initialized&&(n=new ResizeObserver((e=>{l=i.requestAnimationFrame((()=>{const{width:s,height:a}=t;let i=s,r=a;e.forEach((e=>{let{contentBoxSize:s,contentRect:a,target:n}=e;n&&n!==t.el||(i=a?a.width:(s[0]||s).inlineSize,r=a?a.height:(s[0]||s).blockSize)})),i===s&&r===a||o()}))})),n.observe(t.el)):(i.addEventListener("resize",o),i.addEventListener("orientationchange",d))})),s("destroy",(()=>{l&&i.cancelAnimationFrame(l),n&&n.unobserve&&t.el&&(n.unobserve(t.el),n=null),i.removeEventListener("resize",o),i.removeEventListener("orientationchange",d)}))},function(e){let{swiper:t,extendParams:s,on:a,emit:i}=e;const n=[],l=r(),o=function(e,s){void 0===s&&(s={});const a=new(l.MutationObserver||l.WebkitMutationObserver)((e=>{if(t.__preventObserver__)return;if(1===e.length)return void i("observerUpdate",e[0]);const s=function(){i("observerUpdate",e[0])};l.requestAnimationFrame?l.requestAnimationFrame(s):l.setTimeout(s,0)}));a.observe(e,{attributes:void 0===s.attributes||s.attributes,childList:void 0===s.childList||s.childList,characterData:void 0===s.characterData||s.characterData}),n.push(a)};s({observer:!1,observeParents:!1,observeSlideChildren:!1}),a("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=y(t.el);for(let t=0;t<e.length;t+=1)o(e[t])}o(t.el,{childList:t.params.observeSlideChildren}),o(t.wrapperEl,{attributes:!1})}})),a("destroy",(()=>{n.forEach((e=>{e.disconnect()})),n.splice(0,n.length)}))}]);const pe=[function(e){let t,{swiper:s,extendParams:i,on:r,emit:n}=e;i({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});const l=a();s.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const o=l.createElement("div");function d(e,t){const a=s.params.virtual;if(a.cache&&s.virtual.cache[t])return s.virtual.cache[t];let i;return a.renderSlide?(i=a.renderSlide.call(s,e,t),"string"==typeof i&&(o.innerHTML=i,i=o.children[0])):i=s.isElement?g("swiper-slide"):g("div",s.params.slideClass),i.setAttribute("data-swiper-slide-index",t),a.renderSlide||(i.innerHTML=e),a.cache&&(s.virtual.cache[t]=i),i}function c(e){const{slidesPerView:t,slidesPerGroup:a,centeredSlides:i,loop:r}=s.params,{addSlidesBefore:l,addSlidesAfter:o}=s.params.virtual,{from:c,to:p,slides:u,slidesGrid:m,offset:h}=s.virtual;s.params.cssMode||s.updateActiveIndex();const g=s.activeIndex||0;let v,w,b;v=s.rtlTranslate?"right":s.isHorizontal()?"left":"top",i?(w=Math.floor(t/2)+a+o,b=Math.floor(t/2)+a+l):(w=t+(a-1)+o,b=(r?t:a)+l);let y=g-b,E=g+w;r||(y=Math.max(y,0),E=Math.min(E,u.length-1));let x=(s.slidesGrid[y]||0)-(s.slidesGrid[0]||0);function S(){s.updateSlides(),s.updateProgress(),s.updateSlidesClasses(),n("virtualUpdate")}if(r&&g>=b?(y-=b,i||(x+=s.slidesGrid[0])):r&&g<b&&(y=-b,i&&(x+=s.slidesGrid[0])),Object.assign(s.virtual,{from:y,to:E,offset:x,slidesGrid:s.slidesGrid,slidesBefore:b,slidesAfter:w}),c===y&&p===E&&!e)return s.slidesGrid!==m&&x!==h&&s.slides.forEach((e=>{e.style[v]=x-Math.abs(s.cssOverflowAdjustment())+"px"})),s.updateProgress(),void n("virtualUpdate");if(s.params.virtual.renderExternal)return s.params.virtual.renderExternal.call(s,{offset:x,from:y,to:E,slides:function(){const e=[];for(let t=y;t<=E;t+=1)e.push(u[t]);return e}()}),void(s.params.virtual.renderExternalUpdate?S():n("virtualUpdate"));const T=[],M=[],C=e=>{let t=e;return e<0?t=u.length+e:t>=u.length&&(t-=u.length),t};if(e)s.slidesEl.querySelectorAll(`.${s.params.slideClass}, swiper-slide`).forEach((e=>{e.remove()}));else for(let e=c;e<=p;e+=1)if(e<y||e>E){const t=C(e);s.slidesEl.querySelectorAll(`.${s.params.slideClass}[data-swiper-slide-index="${t}"], swiper-slide[data-swiper-slide-index="${t}"]`).forEach((e=>{e.remove()}))}const P=r?-u.length:0,L=r?2*u.length:u.length;for(let t=P;t<L;t+=1)if(t>=y&&t<=E){const s=C(t);void 0===p||e?M.push(s):(t>p&&M.push(s),t<c&&T.push(s))}if(M.forEach((e=>{s.slidesEl.append(d(u[e],e))})),r)for(let e=T.length-1;e>=0;e-=1){const t=T[e];s.slidesEl.prepend(d(u[t],t))}else T.sort(((e,t)=>t-e)),T.forEach((e=>{s.slidesEl.prepend(d(u[e],e))}));f(s.slidesEl,".swiper-slide, swiper-slide").forEach((e=>{e.style[v]=x-Math.abs(s.cssOverflowAdjustment())+"px"})),S()}r("beforeInit",(()=>{if(!s.params.virtual.enabled)return;let e;if(void 0===s.passedParams.virtual.slides){const t=[...s.slidesEl.children].filter((e=>e.matches(`.${s.params.slideClass}, swiper-slide`)));t&&t.length&&(s.virtual.slides=[...t],e=!0,t.forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t),s.virtual.cache[t]=e,e.remove()})))}e||(s.virtual.slides=s.params.virtual.slides),s.classNames.push(`${s.params.containerModifierClass}virtual`),s.params.watchSlidesProgress=!0,s.originalParams.watchSlidesProgress=!0,s.params.initialSlide||c()})),r("setTranslate",(()=>{s.params.virtual.enabled&&(s.params.cssMode&&!s._immediateVirtual?(clearTimeout(t),t=setTimeout((()=>{c()}),100)):c())})),r("init update resize",(()=>{s.params.virtual.enabled&&s.params.cssMode&&u(s.wrapperEl,"--swiper-virtual-size",`${s.virtualSize}px`)})),Object.assign(s.virtual,{appendSlide:function(e){if("object"==typeof e&&"length"in e)for(let t=0;t<e.length;t+=1)e[t]&&s.virtual.slides.push(e[t]);else s.virtual.slides.push(e);c(!0)},prependSlide:function(e){const t=s.activeIndex;let a=t+1,i=1;if(Array.isArray(e)){for(let t=0;t<e.length;t+=1)e[t]&&s.virtual.slides.unshift(e[t]);a=t+e.length,i=e.length}else s.virtual.slides.unshift(e);if(s.params.virtual.cache){const e=s.virtual.cache,t={};Object.keys(e).forEach((s=>{const a=e[s],r=a.getAttribute("data-swiper-slide-index");r&&a.setAttribute("data-swiper-slide-index",parseInt(r,10)+i),t[parseInt(s,10)+i]=a})),s.virtual.cache=t}c(!0),s.slideTo(a,0)},removeSlide:function(e){if(null==e)return;let t=s.activeIndex;if(Array.isArray(e))for(let a=e.length-1;a>=0;a-=1)s.virtual.slides.splice(e[a],1),s.params.virtual.cache&&delete s.virtual.cache[e[a]],e[a]<t&&(t-=1),t=Math.max(t,0);else s.virtual.slides.splice(e,1),s.params.virtual.cache&&delete s.virtual.cache[e],e<t&&(t-=1),t=Math.max(t,0);c(!0),s.slideTo(t,0)},removeAllSlides:function(){s.virtual.slides=[],s.params.virtual.cache&&(s.virtual.cache={}),c(!0),s.slideTo(0,0)},update:c})},function(e){let{swiper:t,extendParams:s,on:i,emit:n}=e;const l=a(),o=r();function d(e){if(!t.enabled)return;const{rtlTranslate:s}=t;let a=e;a.originalEvent&&(a=a.originalEvent);const i=a.keyCode||a.charCode,r=t.params.keyboard.pageUpDown,d=r&&33===i,c=r&&34===i,p=37===i,u=39===i,m=38===i,h=40===i;if(!t.allowSlideNext&&(t.isHorizontal()&&u||t.isVertical()&&h||c))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&p||t.isVertical()&&m||d))return!1;if(!(a.shiftKey||a.altKey||a.ctrlKey||a.metaKey||l.activeElement&&l.activeElement.nodeName&&("input"===l.activeElement.nodeName.toLowerCase()||"textarea"===l.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(d||c||p||u||m||h)){let e=!1;if(y(t.el,`.${t.params.slideClass}, swiper-slide`).length>0&&0===y(t.el,`.${t.params.slideActiveClass}`).length)return;const a=t.el,i=a.clientWidth,r=a.clientHeight,n=o.innerWidth,l=o.innerHeight,d=v(a);s&&(d.left-=a.scrollLeft);const c=[[d.left,d.top],[d.left+i,d.top],[d.left,d.top+r],[d.left+i,d.top+r]];for(let t=0;t<c.length;t+=1){const s=c[t];if(s[0]>=0&&s[0]<=n&&s[1]>=0&&s[1]<=l){if(0===s[0]&&0===s[1])continue;e=!0}}if(!e)return}t.isHorizontal()?((d||c||p||u)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),((c||u)&&!s||(d||p)&&s)&&t.slideNext(),((d||p)&&!s||(c||u)&&s)&&t.slidePrev()):((d||c||m||h)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),(c||h)&&t.slideNext(),(d||m)&&t.slidePrev()),n("keyPress",i)}}function c(){t.keyboard.enabled||(l.addEventListener("keydown",d),t.keyboard.enabled=!0)}function p(){t.keyboard.enabled&&(l.removeEventListener("keydown",d),t.keyboard.enabled=!1)}t.keyboard={enabled:!1},s({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),i("init",(()=>{t.params.keyboard.enabled&&c()})),i("destroy",(()=>{t.keyboard.enabled&&p()})),Object.assign(t.keyboard,{enable:c,disable:p})},function(e){let{swiper:t,extendParams:s,on:a,emit:i}=e;const o=r();let d;s({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),t.mousewheel={enabled:!1};let c,p=l();const u=[];function m(){t.enabled&&(t.mouseEntered=!0)}function h(){t.enabled&&(t.mouseEntered=!1)}function f(e){return!(t.params.mousewheel.thresholdDelta&&e.delta<t.params.mousewheel.thresholdDelta)&&(!(t.params.mousewheel.thresholdTime&&l()-p<t.params.mousewheel.thresholdTime)&&(e.delta>=6&&l()-p<60||(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),i("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),i("scroll",e.raw)),p=(new o.Date).getTime(),!1)))}function g(e){let s=e,a=!0;if(!t.enabled)return;const r=t.params.mousewheel;t.params.cssMode&&s.preventDefault();let o=t.el;"container"!==t.params.mousewheel.eventsTarget&&(o=document.querySelector(t.params.mousewheel.eventsTarget));const p=o&&o.contains(s.target);if(!t.mouseEntered&&!p&&!r.releaseOnEdges)return!0;s.originalEvent&&(s=s.originalEvent);let m=0;const h=t.rtlTranslate?-1:1,g=function(e){let t=0,s=0,a=0,i=0;return"detail"in e&&(s=e.detail),"wheelDelta"in e&&(s=-e.wheelDelta/120),"wheelDeltaY"in e&&(s=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=s,s=0),a=10*t,i=10*s,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(a=e.deltaX),e.shiftKey&&!a&&(a=i,i=0),(a||i)&&e.deltaMode&&(1===e.deltaMode?(a*=40,i*=40):(a*=800,i*=800)),a&&!t&&(t=a<1?-1:1),i&&!s&&(s=i<1?-1:1),{spinX:t,spinY:s,pixelX:a,pixelY:i}}(s);if(r.forceToAxis)if(t.isHorizontal()){if(!(Math.abs(g.pixelX)>Math.abs(g.pixelY)))return!0;m=-g.pixelX*h}else{if(!(Math.abs(g.pixelY)>Math.abs(g.pixelX)))return!0;m=-g.pixelY}else m=Math.abs(g.pixelX)>Math.abs(g.pixelY)?-g.pixelX*h:-g.pixelY;if(0===m)return!0;r.invert&&(m=-m);let v=t.getTranslate()+m*r.sensitivity;if(v>=t.minTranslate()&&(v=t.minTranslate()),v<=t.maxTranslate()&&(v=t.maxTranslate()),a=!!t.params.loop||!(v===t.minTranslate()||v===t.maxTranslate()),a&&t.params.nested&&s.stopPropagation(),t.params.freeMode&&t.params.freeMode.enabled){const e={time:l(),delta:Math.abs(m),direction:Math.sign(m)},a=c&&e.time<c.time+500&&e.delta<=c.delta&&e.direction===c.direction;if(!a){c=void 0;let l=t.getTranslate()+m*r.sensitivity;const o=t.isBeginning,p=t.isEnd;if(l>=t.minTranslate()&&(l=t.minTranslate()),l<=t.maxTranslate()&&(l=t.maxTranslate()),t.setTransition(0),t.setTranslate(l),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses(),(!o&&t.isBeginning||!p&&t.isEnd)&&t.updateSlidesClasses(),t.params.loop&&t.loopFix({direction:e.direction<0?"next":"prev",byMousewheel:!0}),t.params.freeMode.sticky){clearTimeout(d),d=void 0,u.length>=15&&u.shift();const s=u.length?u[u.length-1]:void 0,a=u[0];if(u.push(e),s&&(e.delta>s.delta||e.direction!==s.direction))u.splice(0);else if(u.length>=15&&e.time-a.time<500&&a.delta-e.delta>=1&&e.delta<=6){const s=m>0?.8:.2;c=e,u.splice(0),d=n((()=>{t.slideToClosest(t.params.speed,!0,void 0,s)}),0)}d||(d=n((()=>{c=e,u.splice(0),t.slideToClosest(t.params.speed,!0,void 0,.5)}),500))}if(a||i("scroll",s),t.params.autoplay&&t.params.autoplayDisableOnInteraction&&t.autoplay.stop(),l===t.minTranslate()||l===t.maxTranslate())return!0}}else{const s={time:l(),delta:Math.abs(m),direction:Math.sign(m),raw:e};u.length>=2&&u.shift();const a=u.length?u[u.length-1]:void 0;if(u.push(s),a?(s.direction!==a.direction||s.delta>a.delta||s.time>a.time+150)&&f(s):f(s),function(e){const s=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&s.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&s.releaseOnEdges)return!0;return!1}(s))return!0}return s.preventDefault?s.preventDefault():s.returnValue=!1,!1}function v(e){let s=t.el;"container"!==t.params.mousewheel.eventsTarget&&(s=document.querySelector(t.params.mousewheel.eventsTarget)),s[e]("mouseenter",m),s[e]("mouseleave",h),s[e]("wheel",g)}function w(){return t.params.cssMode?(t.wrapperEl.removeEventListener("wheel",g),!0):!t.mousewheel.enabled&&(v("addEventListener"),t.mousewheel.enabled=!0,!0)}function b(){return t.params.cssMode?(t.wrapperEl.addEventListener(event,g),!0):!!t.mousewheel.enabled&&(v("removeEventListener"),t.mousewheel.enabled=!1,!0)}a("init",(()=>{!t.params.mousewheel.enabled&&t.params.cssMode&&b(),t.params.mousewheel.enabled&&w()})),a("destroy",(()=>{t.params.cssMode&&w(),t.mousewheel.enabled&&b()})),Object.assign(t.mousewheel,{enable:w,disable:b})},function(e){let{swiper:t,extendParams:s,on:a,emit:i}=e;s({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null};const r=e=>(Array.isArray(e)||(e=[e].filter((e=>!!e))),e);function n(e){let s;return e&&"string"==typeof e&&t.isElement&&(s=t.el.shadowRoot.querySelector(e),s)?s:(e&&("string"==typeof e&&(s=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&s.length>1&&1===t.el.querySelectorAll(e).length&&(s=t.el.querySelector(e))),e&&!s?e:s)}function l(e,s){const a=t.params.navigation;(e=r(e)).forEach((e=>{e&&(e.classList[s?"add":"remove"](...a.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=s),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](a.lockClass))}))}function o(){const{nextEl:e,prevEl:s}=t.navigation;if(t.params.loop)return l(s,!1),void l(e,!1);l(s,t.isBeginning&&!t.params.rewind),l(e,t.isEnd&&!t.params.rewind)}function d(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),i("navigationPrev"))}function c(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),i("navigationNext"))}function p(){const e=t.params.navigation;if(t.params.navigation=ee(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;let s=n(e.nextEl),a=n(e.prevEl);Object.assign(t.navigation,{nextEl:s,prevEl:a}),s=r(s),a=r(a);const i=(s,a)=>{s&&s.addEventListener("click","next"===a?c:d),!t.enabled&&s&&s.classList.add(...e.lockClass.split(" "))};s.forEach((e=>i(e,"next"))),a.forEach((e=>i(e,"prev")))}function u(){let{nextEl:e,prevEl:s}=t.navigation;e=r(e),s=r(s);const a=(e,s)=>{e.removeEventListener("click","next"===s?c:d),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach((e=>a(e,"next"))),s.forEach((e=>a(e,"prev")))}a("init",(()=>{!1===t.params.navigation.enabled?m():(p(),o())})),a("toEdge fromEdge lock unlock",(()=>{o()})),a("destroy",(()=>{u()})),a("enable disable",(()=>{let{nextEl:e,prevEl:s}=t.navigation;e=r(e),s=r(s),[...e,...s].filter((e=>!!e)).forEach((e=>e.classList[t.enabled?"remove":"add"](t.params.navigation.lockClass)))})),a("click",((e,s)=>{let{nextEl:a,prevEl:n}=t.navigation;a=r(a),n=r(n);const l=s.target;if(t.params.navigation.hideOnClick&&!n.includes(l)&&!a.includes(l)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===l||t.pagination.el.contains(l)))return;let e;a.length?e=a[0].classList.contains(t.params.navigation.hiddenClass):n.length&&(e=n[0].classList.contains(t.params.navigation.hiddenClass)),i(!0===e?"navigationShow":"navigationHide"),[...a,...n].filter((e=>!!e)).forEach((e=>e.classList.toggle(t.params.navigation.hiddenClass)))}}));const m=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),u()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),p(),o()},disable:m,update:o,init:p,destroy:u})},function(e){let{swiper:t,extendParams:s,on:a,emit:i}=e;const r="swiper-pagination";let n;s({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${r}-bullet`,bulletActiveClass:`${r}-bullet-active`,modifierClass:`${r}-`,currentClass:`${r}-current`,totalClass:`${r}-total`,hiddenClass:`${r}-hidden`,progressbarFillClass:`${r}-progressbar-fill`,progressbarOppositeClass:`${r}-progressbar-opposite`,clickableClass:`${r}-clickable`,lockClass:`${r}-lock`,horizontalClass:`${r}-horizontal`,verticalClass:`${r}-vertical`,paginationDisabledClass:`${r}-disabled`}}),t.pagination={el:null,bullets:[]};let l=0;const o=e=>(Array.isArray(e)||(e=[e].filter((e=>!!e))),e);function d(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function c(e,s){const{bulletActiveClass:a}=t.params.pagination;e&&(e=e[("prev"===s?"previous":"next")+"ElementSibling"])&&(e.classList.add(`${a}-${s}`),(e=e[("prev"===s?"previous":"next")+"ElementSibling"])&&e.classList.add(`${a}-${s}-${s}`))}function p(e){const s=e.target.closest(te(t.params.pagination.bulletClass));if(!s)return;e.preventDefault();const a=b(s)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===a)return;const e=t.getSlideIndexByData(a),s=t.getSlideIndexByData(t.realIndex);e>t.slides.length-t.loopedSlides&&t.loopFix({direction:e>s?"next":"prev",activeSlideIndex:e,slideTo:!1}),t.slideToLoop(a)}else t.slideTo(a)}function u(){const e=t.rtl,s=t.params.pagination;if(d())return;let a,r,p=t.pagination.el;p=o(p);const u=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,m=t.params.loop?Math.ceil(u/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(r=t.previousRealIndex||0,a=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):void 0!==t.snapIndex?(a=t.snapIndex,r=t.previousSnapIndex):(r=t.previousIndex||0,a=t.activeIndex||0),"bullets"===s.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const i=t.pagination.bullets;let o,d,u;if(s.dynamicBullets&&(n=x(i[0],t.isHorizontal()?"width":"height",!0),p.forEach((e=>{e.style[t.isHorizontal()?"width":"height"]=n*(s.dynamicMainBullets+4)+"px"})),s.dynamicMainBullets>1&&void 0!==r&&(l+=a-(r||0),l>s.dynamicMainBullets-1?l=s.dynamicMainBullets-1:l<0&&(l=0)),o=Math.max(a-l,0),d=o+(Math.min(i.length,s.dynamicMainBullets)-1),u=(d+o)/2),i.forEach((e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${s.bulletActiveClass}${e}`))].map((e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e)).flat();e.classList.remove(...t)})),p.length>1)i.forEach((e=>{const t=b(e);t===a&&e.classList.add(...s.bulletActiveClass.split(" ")),s.dynamicBullets&&(t>=o&&t<=d&&e.classList.add(...`${s.bulletActiveClass}-main`.split(" ")),t===o&&c(e,"prev"),t===d&&c(e,"next"))}));else{const e=i[a];if(e&&e.classList.add(...s.bulletActiveClass.split(" ")),s.dynamicBullets){const e=i[o],t=i[d];for(let e=o;e<=d;e+=1)i[e]&&i[e].classList.add(...`${s.bulletActiveClass}-main`.split(" "));c(e,"prev"),c(t,"next")}}if(s.dynamicBullets){const a=Math.min(i.length,s.dynamicMainBullets+4),r=(n*a-n)/2-u*n,l=e?"right":"left";i.forEach((e=>{e.style[t.isHorizontal()?l:"top"]=`${r}px`}))}}p.forEach(((e,r)=>{if("fraction"===s.type&&(e.querySelectorAll(te(s.currentClass)).forEach((e=>{e.textContent=s.formatFractionCurrent(a+1)})),e.querySelectorAll(te(s.totalClass)).forEach((e=>{e.textContent=s.formatFractionTotal(m)}))),"progressbar"===s.type){let i;i=s.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const r=(a+1)/m;let n=1,l=1;"horizontal"===i?n=r:l=r,e.querySelectorAll(te(s.progressbarFillClass)).forEach((e=>{e.style.transform=`translate3d(0,0,0) scaleX(${n}) scaleY(${l})`,e.style.transitionDuration=`${t.params.speed}ms`}))}"custom"===s.type&&s.renderCustom?(e.innerHTML=s.renderCustom(t,a+1,m),0===r&&i("paginationRender",e)):(0===r&&i("paginationRender",e),i("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](s.lockClass)}))}function m(){const e=t.params.pagination;if(d())return;const s=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length;let a=t.pagination.el;a=o(a);let r="";if("bullets"===e.type){let a=t.params.loop?Math.ceil(s/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&a>s&&(a=s);for(let s=0;s<a;s+=1)e.renderBullet?r+=e.renderBullet.call(t,s,e.bulletClass):r+=`<${e.bulletElement} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(r=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(r=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),t.pagination.bullets=[],a.forEach((s=>{"custom"!==e.type&&(s.innerHTML=r||""),"bullets"===e.type&&t.pagination.bullets.push(...s.querySelectorAll(te(e.bulletClass)))})),"custom"!==e.type&&i("paginationRender",a[0])}function h(){t.params.pagination=ee(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let s;"string"==typeof e.el&&t.isElement&&(s=t.el.shadowRoot.querySelector(e.el)),s||"string"!=typeof e.el||(s=[...document.querySelectorAll(e.el)]),s||(s=e.el),s&&0!==s.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(s)&&s.length>1&&(s=[...t.el.querySelectorAll(e.el)],s.length>1&&(s=s.filter((e=>y(e,".swiper")[0]===t.el))[0])),Array.isArray(s)&&1===s.length&&(s=s[0]),Object.assign(t.pagination,{el:s}),s=o(s),s.forEach((s=>{"bullets"===e.type&&e.clickable&&s.classList.add(e.clickableClass),s.classList.add(e.modifierClass+e.type),s.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(s.classList.add(`${e.modifierClass}${e.type}-dynamic`),l=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&s.classList.add(e.progressbarOppositeClass),e.clickable&&s.addEventListener("click",p),t.enabled||s.classList.add(e.lockClass)})))}function f(){const e=t.params.pagination;if(d())return;let s=t.pagination.el;s&&(s=o(s),s.forEach((s=>{s.classList.remove(e.hiddenClass),s.classList.remove(e.modifierClass+e.type),s.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&s.removeEventListener("click",p)}))),t.pagination.bullets&&t.pagination.bullets.forEach((t=>t.classList.remove(...e.bulletActiveClass.split(" "))))}a("changeDirection",(()=>{if(!t.pagination||!t.pagination.el)return;const e=t.params.pagination;let{el:s}=t.pagination;s=o(s),s.forEach((s=>{s.classList.remove(e.horizontalClass,e.verticalClass),s.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),a("init",(()=>{!1===t.params.pagination.enabled?g():(h(),m(),u())})),a("activeIndexChange",(()=>{void 0===t.snapIndex&&u()})),a("snapIndexChange",(()=>{u()})),a("snapGridLengthChange",(()=>{m(),u()})),a("destroy",(()=>{f()})),a("enable disable",(()=>{let{el:e}=t.pagination;e&&(e=o(e),e.forEach((e=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass))))})),a("lock unlock",(()=>{u()})),a("click",((e,s)=>{const a=s.target;let{el:r}=t.pagination;if(Array.isArray(r)||(r=[r].filter((e=>!!e))),t.params.pagination.el&&t.params.pagination.hideOnClick&&r&&r.length>0&&!a.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&a===t.navigation.nextEl||t.navigation.prevEl&&a===t.navigation.prevEl))return;const e=r[0].classList.contains(t.params.pagination.hiddenClass);i(!0===e?"paginationShow":"paginationHide"),r.forEach((e=>e.classList.toggle(t.params.pagination.hiddenClass)))}}));const g=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=o(e),e.forEach((e=>e.classList.add(t.params.pagination.paginationDisabledClass)))),f()};Object.assign(t.pagination,{enable:()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=o(e),e.forEach((e=>e.classList.remove(t.params.pagination.paginationDisabledClass)))),h(),m(),u()},disable:g,render:m,update:u,init:h,destroy:f})},function(e){let{swiper:t,extendParams:s,on:i,emit:r}=e;const l=a();let o,d,c,p,u=!1,m=null,h=null;function f(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e,rtlTranslate:s}=t,{dragEl:a,el:i}=e,r=t.params.scrollbar,n=t.params.loop?t.progressLoop:t.progress;let l=d,o=(c-d)*n;s?(o=-o,o>0?(l=d-o,o=0):-o+d>c&&(l=c+o)):o<0?(l=d+o,o=0):o+d>c&&(l=c-o),t.isHorizontal()?(a.style.transform=`translate3d(${o}px, 0, 0)`,a.style.width=`${l}px`):(a.style.transform=`translate3d(0px, ${o}px, 0)`,a.style.height=`${l}px`),r.hide&&(clearTimeout(m),i.style.opacity=1,m=setTimeout((()=>{i.style.opacity=0,i.style.transitionDuration="400ms"}),1e3))}function w(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e}=t,{dragEl:s,el:a}=e;s.style.width="",s.style.height="",c=t.isHorizontal()?a.offsetWidth:a.offsetHeight,p=t.size/(t.virtualSize+t.params.slidesOffsetBefore-(t.params.centeredSlides?t.snapGrid[0]:0)),d="auto"===t.params.scrollbar.dragSize?c*p:parseInt(t.params.scrollbar.dragSize,10),t.isHorizontal()?s.style.width=`${d}px`:s.style.height=`${d}px`,a.style.display=p>=1?"none":"",t.params.scrollbar.hide&&(a.style.opacity=0),t.params.watchOverflow&&t.enabled&&e.el.classList[t.isLocked?"add":"remove"](t.params.scrollbar.lockClass)}function b(e){return t.isHorizontal()?e.clientX:e.clientY}function y(e){const{scrollbar:s,rtlTranslate:a}=t,{el:i}=s;let r;r=(b(e)-v(i)[t.isHorizontal()?"left":"top"]-(null!==o?o:d/2))/(c-d),r=Math.max(Math.min(r,1),0),a&&(r=1-r);const n=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*r;t.updateProgress(n),t.setTranslate(n),t.updateActiveIndex(),t.updateSlidesClasses()}function E(e){const s=t.params.scrollbar,{scrollbar:a,wrapperEl:i}=t,{el:n,dragEl:l}=a;u=!0,o=e.target===l?b(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),i.style.transitionDuration="100ms",l.style.transitionDuration="100ms",y(e),clearTimeout(h),n.style.transitionDuration="0ms",s.hide&&(n.style.opacity=1),t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="none"),r("scrollbarDragStart",e)}function x(e){const{scrollbar:s,wrapperEl:a}=t,{el:i,dragEl:n}=s;u&&(e.preventDefault?e.preventDefault():e.returnValue=!1,y(e),a.style.transitionDuration="0ms",i.style.transitionDuration="0ms",n.style.transitionDuration="0ms",r("scrollbarDragMove",e))}function S(e){const s=t.params.scrollbar,{scrollbar:a,wrapperEl:i}=t,{el:l}=a;u&&(u=!1,t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="",i.style.transitionDuration=""),s.hide&&(clearTimeout(h),h=n((()=>{l.style.opacity=0,l.style.transitionDuration="400ms"}),1e3)),r("scrollbarDragEnd",e),s.snapOnRelease&&t.slideToClosest())}function T(e){const{scrollbar:s,params:a}=t,i=s.el;if(!i)return;const r=i,n=!!a.passiveListeners&&{passive:!1,capture:!1},o=!!a.passiveListeners&&{passive:!0,capture:!1};if(!r)return;const d="on"===e?"addEventListener":"removeEventListener";r[d]("pointerdown",E,n),l[d]("pointermove",x,n),l[d]("pointerup",S,o)}function M(){const{scrollbar:e,el:s}=t;t.params.scrollbar=ee(t,t.originalParams.scrollbar,t.params.scrollbar,{el:"swiper-scrollbar"});const a=t.params.scrollbar;if(!a.el)return;let i,r;"string"==typeof a.el&&t.isElement&&(i=t.el.shadowRoot.querySelector(a.el)),i||"string"!=typeof a.el?i||(i=a.el):i=l.querySelectorAll(a.el),t.params.uniqueNavElements&&"string"==typeof a.el&&i.length>1&&1===s.querySelectorAll(a.el).length&&(i=s.querySelector(a.el)),i.length>0&&(i=i[0]),i.classList.add(t.isHorizontal()?a.horizontalClass:a.verticalClass),i&&(r=i.querySelector(`.${t.params.scrollbar.dragClass}`),r||(r=g("div",t.params.scrollbar.dragClass),i.append(r))),Object.assign(e,{el:i,dragEl:r}),a.draggable&&t.params.scrollbar.el&&t.scrollbar.el&&T("on"),i&&i.classList[t.enabled?"remove":"add"](t.params.scrollbar.lockClass)}function C(){const e=t.params.scrollbar,s=t.scrollbar.el;s&&s.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),t.params.scrollbar.el&&t.scrollbar.el&&T("off")}s({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),t.scrollbar={el:null,dragEl:null},i("init",(()=>{!1===t.params.scrollbar.enabled?P():(M(),w(),f())})),i("update resize observerUpdate lock unlock",(()=>{w()})),i("setTranslate",(()=>{f()})),i("setTransition",((e,s)=>{!function(e){t.params.scrollbar.el&&t.scrollbar.el&&(t.scrollbar.dragEl.style.transitionDuration=`${e}ms`)}(s)})),i("enable disable",(()=>{const{el:e}=t.scrollbar;e&&e.classList[t.enabled?"remove":"add"](t.params.scrollbar.lockClass)})),i("destroy",(()=>{C()}));const P=()=>{t.el.classList.add(t.params.scrollbar.scrollbarDisabledClass),t.scrollbar.el&&t.scrollbar.el.classList.add(t.params.scrollbar.scrollbarDisabledClass),C()};Object.assign(t.scrollbar,{enable:()=>{t.el.classList.remove(t.params.scrollbar.scrollbarDisabledClass),t.scrollbar.el&&t.scrollbar.el.classList.remove(t.params.scrollbar.scrollbarDisabledClass),M(),w(),f()},disable:P,updateSize:w,setTranslate:f,init:M,destroy:C})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({parallax:{enabled:!1}});const i=(e,s)=>{const{rtl:a}=t,i=a?-1:1,r=e.getAttribute("data-swiper-parallax")||"0";let n=e.getAttribute("data-swiper-parallax-x"),l=e.getAttribute("data-swiper-parallax-y");const o=e.getAttribute("data-swiper-parallax-scale"),d=e.getAttribute("data-swiper-parallax-opacity"),c=e.getAttribute("data-swiper-parallax-rotate");if(n||l?(n=n||"0",l=l||"0"):t.isHorizontal()?(n=r,l="0"):(l=r,n="0"),n=n.indexOf("%")>=0?parseInt(n,10)*s*i+"%":n*s*i+"px",l=l.indexOf("%")>=0?parseInt(l,10)*s+"%":l*s+"px",null!=d){const t=d-(d-1)*(1-Math.abs(s));e.style.opacity=t}let p=`translate3d(${n}, ${l}, 0px)`;if(null!=o){p+=` scale(${o-(o-1)*(1-Math.abs(s))})`}if(c&&null!=c){p+=` rotate(${c*s*-1}deg)`}e.style.transform=p},r=()=>{const{el:e,slides:s,progress:a,snapGrid:r}=t;f(e,"[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").forEach((e=>{i(e,a)})),s.forEach(((e,s)=>{let n=e.progress;t.params.slidesPerGroup>1&&"auto"!==t.params.slidesPerView&&(n+=Math.ceil(s/2)-a*(r.length-1)),n=Math.min(Math.max(n,-1),1),e.querySelectorAll("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale], [data-swiper-parallax-rotate]").forEach((e=>{i(e,n)}))}))};a("beforeInit",(()=>{t.params.parallax.enabled&&(t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0)})),a("init",(()=>{t.params.parallax.enabled&&r()})),a("setTranslate",(()=>{t.params.parallax.enabled&&r()})),a("setTransition",((e,s)=>{t.params.parallax.enabled&&function(e){void 0===e&&(e=t.params.speed);const{el:s}=t;s.querySelectorAll("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").forEach((t=>{let s=parseInt(t.getAttribute("data-swiper-parallax-duration"),10)||e;0===e&&(s=0),t.style.transitionDuration=`${s}ms`}))}(s)}))},function(e){let{swiper:t,extendParams:s,on:a,emit:i}=e;const n=r();s({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),t.zoom={enabled:!1};let l,d,c=1,p=!1;const u=[],m={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},h={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},g={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let w=1;function b(){if(u.length<2)return 1;const e=u[0].pageX,t=u[0].pageY,s=u[1].pageX,a=u[1].pageY;return Math.sqrt((s-e)**2+(a-t)**2)}function E(e){const s=t.isElement?"swiper-slide":`.${t.params.slideClass}`;return!!e.target.matches(s)||t.slides.filter((t=>t.contains(e.target))).length>0}function x(e){if("mouse"===e.pointerType&&u.splice(0,u.length),!E(e))return;const s=t.params.zoom;if(l=!1,d=!1,u.push(e),!(u.length<2)){if(l=!0,m.scaleStart=b(),!m.slideEl){m.slideEl=e.target.closest(`.${t.params.slideClass}, swiper-slide`),m.slideEl||(m.slideEl=t.slides[t.activeIndex]);let a=m.slideEl.querySelector(`.${s.containerClass}`);if(a&&(a=a.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),m.imageEl=a,m.imageWrapEl=a?y(m.imageEl,`.${s.containerClass}`)[0]:void 0,!m.imageWrapEl)return void(m.imageEl=void 0);m.maxRatio=m.imageWrapEl.getAttribute("data-swiper-zoom")||s.maxRatio}if(m.imageEl){const[e,t]=function(){if(u.length<2)return{x:null,y:null};const e=m.imageEl.getBoundingClientRect();return[(u[0].pageX+(u[1].pageX-u[0].pageX)/2-e.x)/c,(u[0].pageY+(u[1].pageY-u[0].pageY)/2-e.y)/c]}();m.originX=e,m.originY=t,m.imageEl.style.transitionDuration="0ms"}p=!0}}function S(e){if(!E(e))return;const s=t.params.zoom,a=t.zoom,i=u.findIndex((t=>t.pointerId===e.pointerId));i>=0&&(u[i]=e),u.length<2||(d=!0,m.scaleMove=b(),m.imageEl&&(a.scale=m.scaleMove/m.scaleStart*c,a.scale>m.maxRatio&&(a.scale=m.maxRatio-1+(a.scale-m.maxRatio+1)**.5),a.scale<s.minRatio&&(a.scale=s.minRatio+1-(s.minRatio-a.scale+1)**.5),m.imageEl.style.transform=`translate3d(0,0,0) scale(${a.scale})`))}function T(e){if(!E(e))return;if("mouse"===e.pointerType&&"pointerout"===e.type)return;const s=t.params.zoom,a=t.zoom,i=u.findIndex((t=>t.pointerId===e.pointerId));i>=0&&u.splice(i,1),l&&d&&(l=!1,d=!1,m.imageEl&&(a.scale=Math.max(Math.min(a.scale,m.maxRatio),s.minRatio),m.imageEl.style.transitionDuration=`${t.params.speed}ms`,m.imageEl.style.transform=`translate3d(0,0,0) scale(${a.scale})`,c=a.scale,p=!1,a.scale>1&&m.slideEl?m.slideEl.classList.add(`${s.zoomedSlideClass}`):a.scale<=1&&m.slideEl&&m.slideEl.classList.remove(`${s.zoomedSlideClass}`),1===a.scale&&(m.originX=0,m.originY=0,m.slideEl=void 0)))}function M(e){if(!E(e)||!function(e){const s=`.${t.params.zoom.containerClass}`;return!!e.target.matches(s)||[...t.el.querySelectorAll(s)].filter((t=>t.contains(e.target))).length>0}(e))return;const s=t.zoom;if(!m.imageEl)return;if(!h.isTouched||!m.slideEl)return;h.isMoved||(h.width=m.imageEl.offsetWidth,h.height=m.imageEl.offsetHeight,h.startX=o(m.imageWrapEl,"x")||0,h.startY=o(m.imageWrapEl,"y")||0,m.slideWidth=m.slideEl.offsetWidth,m.slideHeight=m.slideEl.offsetHeight,m.imageWrapEl.style.transitionDuration="0ms");const a=h.width*s.scale,i=h.height*s.scale;if(a<m.slideWidth&&i<m.slideHeight)return;h.minX=Math.min(m.slideWidth/2-a/2,0),h.maxX=-h.minX,h.minY=Math.min(m.slideHeight/2-i/2,0),h.maxY=-h.minY,h.touchesCurrent.x=u.length>0?u[0].pageX:e.pageX,h.touchesCurrent.y=u.length>0?u[0].pageY:e.pageY;if(Math.max(Math.abs(h.touchesCurrent.x-h.touchesStart.x),Math.abs(h.touchesCurrent.y-h.touchesStart.y))>5&&(t.allowClick=!1),!h.isMoved&&!p){if(t.isHorizontal()&&(Math.floor(h.minX)===Math.floor(h.startX)&&h.touchesCurrent.x<h.touchesStart.x||Math.floor(h.maxX)===Math.floor(h.startX)&&h.touchesCurrent.x>h.touchesStart.x))return void(h.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(h.minY)===Math.floor(h.startY)&&h.touchesCurrent.y<h.touchesStart.y||Math.floor(h.maxY)===Math.floor(h.startY)&&h.touchesCurrent.y>h.touchesStart.y))return void(h.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),h.isMoved=!0;const r=(s.scale-c)/(m.maxRatio-t.params.zoom.minRatio),{originX:n,originY:l}=m;h.currentX=h.touchesCurrent.x-h.touchesStart.x+h.startX+r*(h.width-2*n),h.currentY=h.touchesCurrent.y-h.touchesStart.y+h.startY+r*(h.height-2*l),h.currentX<h.minX&&(h.currentX=h.minX+1-(h.minX-h.currentX+1)**.8),h.currentX>h.maxX&&(h.currentX=h.maxX-1+(h.currentX-h.maxX+1)**.8),h.currentY<h.minY&&(h.currentY=h.minY+1-(h.minY-h.currentY+1)**.8),h.currentY>h.maxY&&(h.currentY=h.maxY-1+(h.currentY-h.maxY+1)**.8),g.prevPositionX||(g.prevPositionX=h.touchesCurrent.x),g.prevPositionY||(g.prevPositionY=h.touchesCurrent.y),g.prevTime||(g.prevTime=Date.now()),g.x=(h.touchesCurrent.x-g.prevPositionX)/(Date.now()-g.prevTime)/2,g.y=(h.touchesCurrent.y-g.prevPositionY)/(Date.now()-g.prevTime)/2,Math.abs(h.touchesCurrent.x-g.prevPositionX)<2&&(g.x=0),Math.abs(h.touchesCurrent.y-g.prevPositionY)<2&&(g.y=0),g.prevPositionX=h.touchesCurrent.x,g.prevPositionY=h.touchesCurrent.y,g.prevTime=Date.now(),m.imageWrapEl.style.transform=`translate3d(${h.currentX}px, ${h.currentY}px,0)`}function C(){const e=t.zoom;m.slideEl&&t.activeIndex!==t.slides.indexOf(m.slideEl)&&(m.imageEl&&(m.imageEl.style.transform="translate3d(0,0,0) scale(1)"),m.imageWrapEl&&(m.imageWrapEl.style.transform="translate3d(0,0,0)"),m.slideEl.classList.remove(`${t.params.zoom.zoomedSlideClass}`),e.scale=1,c=1,m.slideEl=void 0,m.imageEl=void 0,m.imageWrapEl=void 0,m.originX=0,m.originY=0)}function P(e){const s=t.zoom,a=t.params.zoom;if(!m.slideEl){e&&e.target&&(m.slideEl=e.target.closest(`.${t.params.slideClass}, swiper-slide`)),m.slideEl||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?m.slideEl=f(t.slidesEl,`.${t.params.slideActiveClass}`)[0]:m.slideEl=t.slides[t.activeIndex]);let s=m.slideEl.querySelector(`.${a.containerClass}`);s&&(s=s.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),m.imageEl=s,m.imageWrapEl=s?y(m.imageEl,`.${a.containerClass}`)[0]:void 0}if(!m.imageEl||!m.imageWrapEl)return;let i,r,l,o,d,p,u,g,w,b,E,x,S,T,M,C,P,L;t.params.cssMode&&(t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.touchAction="none"),m.slideEl.classList.add(`${a.zoomedSlideClass}`),void 0===h.touchesStart.x&&e?(i=e.pageX,r=e.pageY):(i=h.touchesStart.x,r=h.touchesStart.y);const z="number"==typeof e?e:null;1===c&&z&&(i=void 0,r=void 0),s.scale=z||m.imageWrapEl.getAttribute("data-swiper-zoom")||a.maxRatio,c=z||m.imageWrapEl.getAttribute("data-swiper-zoom")||a.maxRatio,!e||1===c&&z?(u=0,g=0):(P=m.slideEl.offsetWidth,L=m.slideEl.offsetHeight,l=v(m.slideEl).left+n.scrollX,o=v(m.slideEl).top+n.scrollY,d=l+P/2-i,p=o+L/2-r,w=m.imageEl.offsetWidth,b=m.imageEl.offsetHeight,E=w*s.scale,x=b*s.scale,S=Math.min(P/2-E/2,0),T=Math.min(L/2-x/2,0),M=-S,C=-T,u=d*s.scale,g=p*s.scale,u<S&&(u=S),u>M&&(u=M),g<T&&(g=T),g>C&&(g=C)),z&&1===s.scale&&(m.originX=0,m.originY=0),m.imageWrapEl.style.transitionDuration="300ms",m.imageWrapEl.style.transform=`translate3d(${u}px, ${g}px,0)`,m.imageEl.style.transitionDuration="300ms",m.imageEl.style.transform=`translate3d(0,0,0) scale(${s.scale})`}function L(){const e=t.zoom,s=t.params.zoom;if(!m.slideEl){t.params.virtual&&t.params.virtual.enabled&&t.virtual?m.slideEl=f(t.slidesEl,`.${t.params.slideActiveClass}`)[0]:m.slideEl=t.slides[t.activeIndex];let e=m.slideEl.querySelector(`.${s.containerClass}`);e&&(e=e.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),m.imageEl=e,m.imageWrapEl=e?y(m.imageEl,`.${s.containerClass}`)[0]:void 0}m.imageEl&&m.imageWrapEl&&(t.params.cssMode&&(t.wrapperEl.style.overflow="",t.wrapperEl.style.touchAction=""),e.scale=1,c=1,m.imageWrapEl.style.transitionDuration="300ms",m.imageWrapEl.style.transform="translate3d(0,0,0)",m.imageEl.style.transitionDuration="300ms",m.imageEl.style.transform="translate3d(0,0,0) scale(1)",m.slideEl.classList.remove(`${s.zoomedSlideClass}`),m.slideEl=void 0,m.originX=0,m.originY=0)}function z(e){const s=t.zoom;s.scale&&1!==s.scale?L():P(e)}function A(){return{passiveListener:!!t.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!t.params.passiveListeners||{passive:!1,capture:!0}}}function $(){const e=t.zoom;if(e.enabled)return;e.enabled=!0;const{passiveListener:s,activeListenerWithCapture:a}=A();t.wrapperEl.addEventListener("pointerdown",x,s),t.wrapperEl.addEventListener("pointermove",S,a),["pointerup","pointercancel","pointerout"].forEach((e=>{t.wrapperEl.addEventListener(e,T,s)})),t.wrapperEl.addEventListener("pointermove",M,a)}function I(){const e=t.zoom;if(!e.enabled)return;e.enabled=!1;const{passiveListener:s,activeListenerWithCapture:a}=A();t.wrapperEl.removeEventListener("pointerdown",x,s),t.wrapperEl.removeEventListener("pointermove",S,a),["pointerup","pointercancel","pointerout"].forEach((e=>{t.wrapperEl.removeEventListener(e,T,s)})),t.wrapperEl.removeEventListener("pointermove",M,a)}Object.defineProperty(t.zoom,"scale",{get:()=>w,set(e){if(w!==e){const t=m.imageEl,s=m.slideEl;i("zoomChange",e,t,s)}w=e}}),a("init",(()=>{t.params.zoom.enabled&&$()})),a("destroy",(()=>{I()})),a("touchStart",((e,s)=>{t.zoom.enabled&&function(e){const s=t.device;if(!m.imageEl)return;if(h.isTouched)return;s.android&&e.cancelable&&e.preventDefault(),h.isTouched=!0;const a=u.length>0?u[0]:e;h.touchesStart.x=a.pageX,h.touchesStart.y=a.pageY}(s)})),a("touchEnd",((e,s)=>{t.zoom.enabled&&function(){const e=t.zoom;if(!m.imageEl)return;if(!h.isTouched||!h.isMoved)return h.isTouched=!1,void(h.isMoved=!1);h.isTouched=!1,h.isMoved=!1;let s=300,a=300;const i=g.x*s,r=h.currentX+i,n=g.y*a,l=h.currentY+n;0!==g.x&&(s=Math.abs((r-h.currentX)/g.x)),0!==g.y&&(a=Math.abs((l-h.currentY)/g.y));const o=Math.max(s,a);h.currentX=r,h.currentY=l;const d=h.width*e.scale,c=h.height*e.scale;h.minX=Math.min(m.slideWidth/2-d/2,0),h.maxX=-h.minX,h.minY=Math.min(m.slideHeight/2-c/2,0),h.maxY=-h.minY,h.currentX=Math.max(Math.min(h.currentX,h.maxX),h.minX),h.currentY=Math.max(Math.min(h.currentY,h.maxY),h.minY),m.imageWrapEl.style.transitionDuration=`${o}ms`,m.imageWrapEl.style.transform=`translate3d(${h.currentX}px, ${h.currentY}px,0)`}()})),a("doubleTap",((e,s)=>{!t.animating&&t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&z(s)})),a("transitionEnd",(()=>{t.zoom.enabled&&t.params.zoom.enabled&&C()})),a("slideChange",(()=>{t.zoom.enabled&&t.params.zoom.enabled&&t.params.cssMode&&C()})),Object.assign(t.zoom,{enable:$,disable:I,in:P,out:L,toggle:z})},function(e){let{swiper:t,extendParams:s,on:a}=e;function i(e,t){const s=function(){let e,t,s;return(a,i)=>{for(t=-1,e=a.length;e-t>1;)s=e+t>>1,a[s]<=i?t=s:e=s;return e}}();let a,i;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(i=s(this.x,e),a=i-1,(e-this.x[a])*(this.y[i]-this.y[a])/(this.x[i]-this.x[a])+this.y[a]):0},this}function r(){t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)}s({controller:{control:void 0,inverse:!1,by:"slide"}}),t.controller={control:void 0},a("beforeInit",(()=>{if("undefined"!=typeof window&&("string"==typeof t.params.controller.control||t.params.controller.control instanceof HTMLElement)){const e=document.querySelector(t.params.controller.control);if(e&&e.swiper)t.controller.control=e.swiper;else if(e){const s=a=>{t.controller.control=a.detail[0],t.update(),e.removeEventListener("init",s)};e.addEventListener("init",s)}}else t.controller.control=t.params.controller.control})),a("update",(()=>{r()})),a("resize",(()=>{r()})),a("observerUpdate",(()=>{r()})),a("setTranslate",((e,s,a)=>{t.controller.control&&!t.controller.control.destroyed&&t.controller.setTranslate(s,a)})),a("setTransition",((e,s,a)=>{t.controller.control&&!t.controller.control.destroyed&&t.controller.setTransition(s,a)})),Object.assign(t.controller,{setTranslate:function(e,s){const a=t.controller.control;let r,n;const l=t.constructor;function o(e){if(e.destroyed)return;const s=t.rtlTranslate?-t.translate:t.translate;"slide"===t.params.controller.by&&(!function(e){t.controller.spline=t.params.loop?new i(t.slidesGrid,e.slidesGrid):new i(t.snapGrid,e.snapGrid)}(e),n=-t.controller.spline.interpolate(-s)),n&&"container"!==t.params.controller.by||(r=(e.maxTranslate()-e.minTranslate())/(t.maxTranslate()-t.minTranslate()),!Number.isNaN(r)&&Number.isFinite(r)||(r=1),n=(s-t.minTranslate())*r+e.minTranslate()),t.params.controller.inverse&&(n=e.maxTranslate()-n),e.updateProgress(n),e.setTranslate(n,t),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(a))for(let e=0;e<a.length;e+=1)a[e]!==s&&a[e]instanceof l&&o(a[e]);else a instanceof l&&s!==a&&o(a)},setTransition:function(e,s){const a=t.constructor,i=t.controller.control;let r;function l(s){s.destroyed||(s.setTransition(e,t),0!==e&&(s.transitionStart(),s.params.autoHeight&&n((()=>{s.updateAutoHeight()})),E(s.wrapperEl,(()=>{i&&s.transitionEnd()}))))}if(Array.isArray(i))for(r=0;r<i.length;r+=1)i[r]!==s&&i[r]instanceof a&&l(i[r]);else i instanceof a&&s!==i&&l(i)}})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),t.a11y={clicked:!1};let i=null;function r(e){const t=i;0!==t.length&&(t.innerHTML="",t.innerHTML=e)}const n=e=>(Array.isArray(e)||(e=[e].filter((e=>!!e))),e);function l(e){(e=n(e)).forEach((e=>{e.setAttribute("tabIndex","0")}))}function o(e){(e=n(e)).forEach((e=>{e.setAttribute("tabIndex","-1")}))}function d(e,t){(e=n(e)).forEach((e=>{e.setAttribute("role",t)}))}function c(e,t){(e=n(e)).forEach((e=>{e.setAttribute("aria-roledescription",t)}))}function p(e,t){(e=n(e)).forEach((e=>{e.setAttribute("aria-label",t)}))}function u(e){(e=n(e)).forEach((e=>{e.setAttribute("aria-disabled",!0)}))}function m(e){(e=n(e)).forEach((e=>{e.setAttribute("aria-disabled",!1)}))}function h(e){if(13!==e.keyCode&&32!==e.keyCode)return;const s=t.params.a11y,a=e.target;t.pagination&&t.pagination.el&&(a===t.pagination.el||t.pagination.el.contains(e.target))&&!e.target.matches(te(t.params.pagination.bulletClass))||(t.navigation&&t.navigation.nextEl&&a===t.navigation.nextEl&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?r(s.lastSlideMessage):r(s.nextSlideMessage)),t.navigation&&t.navigation.prevEl&&a===t.navigation.prevEl&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?r(s.firstSlideMessage):r(s.prevSlideMessage)),t.pagination&&a.matches(te(t.params.pagination.bulletClass))&&a.click())}function f(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function v(){return f()&&t.params.pagination.clickable}const w=(e,t,s)=>{l(e),"BUTTON"!==e.tagName&&(d(e,"button"),e.addEventListener("keydown",h)),p(e,s),function(e,t){(e=n(e)).forEach((e=>{e.setAttribute("aria-controls",t)}))}(e,t)},y=()=>{t.a11y.clicked=!0},E=()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.destroyed||(t.a11y.clicked=!1)}))}))},x=e=>{if(t.a11y.clicked)return;const s=e.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!s||!t.slides.includes(s))return;const a=t.slides.indexOf(s)===t.activeIndex,i=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(s);a||i||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,t.slideTo(t.slides.indexOf(s),0))},S=()=>{const e=t.params.a11y;e.itemRoleDescriptionMessage&&c(t.slides,e.itemRoleDescriptionMessage),e.slideRole&&d(t.slides,e.slideRole);const s=t.slides.length;e.slideLabelMessage&&t.slides.forEach(((a,i)=>{const r=t.params.loop?parseInt(a.getAttribute("data-swiper-slide-index"),10):i;p(a,e.slideLabelMessage.replace(/\{\{index\}\}/,r+1).replace(/\{\{slidesLength\}\}/,s))}))},T=()=>{const e=t.params.a11y;t.el.append(i);const s=t.el;e.containerRoleDescriptionMessage&&c(s,e.containerRoleDescriptionMessage),e.containerMessage&&p(s,e.containerMessage);const a=t.wrapperEl,r=e.id||a.getAttribute("id")||`swiper-wrapper-${l=16,void 0===l&&(l=16),"x".repeat(l).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}`;var l;const o=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";var d;d=r,n(a).forEach((e=>{e.setAttribute("id",d)})),function(e,t){(e=n(e)).forEach((e=>{e.setAttribute("aria-live",t)}))}(a,o),S();let{nextEl:u,prevEl:m}=t.navigation?t.navigation:{};if(u=n(u),m=n(m),u&&u.forEach((t=>w(t,r,e.nextSlideMessage))),m&&m.forEach((t=>w(t,r,e.prevSlideMessage))),v()){(Array.isArray(t.pagination.el)?t.pagination.el:[t.pagination.el]).forEach((e=>{e.addEventListener("keydown",h)}))}t.el.addEventListener("focus",x,!0),t.el.addEventListener("pointerdown",y,!0),t.el.addEventListener("pointerup",E,!0)};a("beforeInit",(()=>{i=g("span",t.params.a11y.notificationClass),i.setAttribute("aria-live","assertive"),i.setAttribute("aria-atomic","true"),t.isElement&&i.setAttribute("slot","container-end")})),a("afterInit",(()=>{t.params.a11y.enabled&&T()})),a("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{t.params.a11y.enabled&&S()})),a("fromEdge toEdge afterInit lock unlock",(()=>{t.params.a11y.enabled&&function(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{nextEl:e,prevEl:s}=t.navigation;s&&(t.isBeginning?(u(s),o(s)):(m(s),l(s))),e&&(t.isEnd?(u(e),o(e)):(m(e),l(e)))}()})),a("paginationUpdate",(()=>{t.params.a11y.enabled&&function(){const e=t.params.a11y;f()&&t.pagination.bullets.forEach((s=>{t.params.pagination.clickable&&(l(s),t.params.pagination.renderBullet||(d(s,"button"),p(s,e.paginationBulletMessage.replace(/\{\{index\}\}/,b(s)+1)))),s.matches(te(t.params.pagination.bulletActiveClass))?s.setAttribute("aria-current","true"):s.removeAttribute("aria-current")}))}()})),a("destroy",(()=>{t.params.a11y.enabled&&function(){i&&i.length>0&&i.remove();let{nextEl:e,prevEl:s}=t.navigation?t.navigation:{};e=n(e),s=n(s),e&&e.forEach((e=>e.removeEventListener("keydown",h))),s&&s.forEach((e=>e.removeEventListener("keydown",h))),v()&&(Array.isArray(t.pagination.el)?t.pagination.el:[t.pagination.el]).forEach((e=>{e.removeEventListener("keydown",h)}));t.el.removeEventListener("focus",x,!0),t.el.removeEventListener("pointerdown",y,!0),t.el.removeEventListener("pointerup",E,!0)}()}))},function(e){let{swiper:t,extendParams:s,on:a}=e;s({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let i=!1,n={};const l=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),o=e=>{const t=r();let s;s=e?new URL(e):t.location;const a=s.pathname.slice(1).split("/").filter((e=>""!==e)),i=a.length;return{key:a[i-2],value:a[i-1]}},d=(e,s)=>{const a=r();if(!i||!t.params.history.enabled)return;let n;n=t.params.url?new URL(t.params.url):a.location;const o=t.slides[s];let d=l(o.getAttribute("data-history"));if(t.params.history.root.length>0){let s=t.params.history.root;"/"===s[s.length-1]&&(s=s.slice(0,s.length-1)),d=`${s}/${e?`${e}/`:""}${d}`}else n.pathname.includes(e)||(d=`${e?`${e}/`:""}${d}`);t.params.history.keepQuery&&(d+=n.search);const c=a.history.state;c&&c.value===d||(t.params.history.replaceState?a.history.replaceState({value:d},null,d):a.history.pushState({value:d},null,d))},c=(e,s,a)=>{if(s)for(let i=0,r=t.slides.length;i<r;i+=1){const r=t.slides[i];if(l(r.getAttribute("data-history"))===s){const s=t.getSlideIndex(r);t.slideTo(s,e,a)}}else t.slideTo(0,e,a)},p=()=>{n=o(t.params.url),c(t.params.speed,n.value,!1)};a("init",(()=>{t.params.history.enabled&&(()=>{const e=r();if(t.params.history){if(!e.history||!e.history.pushState)return t.params.history.enabled=!1,void(t.params.hashNavigation.enabled=!0);i=!0,n=o(t.params.url),n.key||n.value?(c(0,n.value,t.params.runCallbacksOnInit),t.params.history.replaceState||e.addEventListener("popstate",p)):t.params.history.replaceState||e.addEventListener("popstate",p)}})()})),a("destroy",(()=>{t.params.history.enabled&&(()=>{const e=r();t.params.history.replaceState||e.removeEventListener("popstate",p)})()})),a("transitionEnd _freeModeNoMomentumRelease",(()=>{i&&d(t.params.history.key,t.activeIndex)})),a("slideChange",(()=>{i&&t.params.cssMode&&d(t.params.history.key,t.activeIndex)}))},function(e){let{swiper:t,extendParams:s,emit:i,on:n}=e,l=!1;const o=a(),d=r();s({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(e,s){if(t.virtual&&t.params.virtual.enabled){const e=t.slides.filter((e=>e.getAttribute("data-hash")===s))[0];if(!e)return 0;return parseInt(e.getAttribute("data-swiper-slide-index"),10)}return t.getSlideIndex(f(t.slidesEl,`.${t.params.slideClass}[data-hash="${s}"], swiper-slide[data-hash="${s}"]`)[0])}}});const c=()=>{i("hashChange");const e=o.location.hash.replace("#",""),s=t.slidesEl.querySelector(`[data-swiper-slide-index="${t.activeIndex}"]`);if(e!==(s?s.getAttribute("data-hash"):"")){const s=t.params.hashNavigation.getSlideIndex(t,e);if(console.log(s),void 0===s)return;t.slideTo(s)}},p=()=>{if(!l||!t.params.hashNavigation.enabled)return;const e=t.slidesEl.querySelector(`[data-swiper-slide-index="${t.activeIndex}"]`),s=e?e.getAttribute("data-hash")||e.getAttribute("data-history"):"";t.params.hashNavigation.replaceState&&d.history&&d.history.replaceState?(d.history.replaceState(null,null,`#${s}`||""),i("hashSet")):(o.location.hash=s||"",i("hashSet"))};n("init",(()=>{t.params.hashNavigation.enabled&&(()=>{if(!t.params.hashNavigation.enabled||t.params.history&&t.params.history.enabled)return;l=!0;const e=o.location.hash.replace("#","");if(e){const s=0,a=t.params.hashNavigation.getSlideIndex(t,e);t.slideTo(a||0,s,t.params.runCallbacksOnInit,!0)}t.params.hashNavigation.watchState&&d.addEventListener("hashchange",c)})()})),n("destroy",(()=>{t.params.hashNavigation.enabled&&t.params.hashNavigation.watchState&&d.removeEventListener("hashchange",c)})),n("transitionEnd _freeModeNoMomentumRelease",(()=>{l&&p()})),n("slideChange",(()=>{l&&t.params.cssMode&&p()}))},function(e){let t,s,{swiper:i,extendParams:r,on:n,emit:l,params:o}=e;i.autoplay={running:!1,paused:!1,timeLeft:0},r({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let d,c,p,u,m,h,f,g=o&&o.autoplay?o.autoplay.delay:3e3,v=o&&o.autoplay?o.autoplay.delay:3e3,w=(new Date).getTime;function b(e){i&&!i.destroyed&&i.wrapperEl&&e.target===i.wrapperEl&&(i.wrapperEl.removeEventListener("transitionend",b),M())}const y=()=>{if(i.destroyed||!i.autoplay.running)return;i.autoplay.paused?c=!0:c&&(v=d,c=!1);const e=i.autoplay.paused?d:w+v-(new Date).getTime();i.autoplay.timeLeft=e,l("autoplayTimeLeft",e,e/g),s=requestAnimationFrame((()=>{y()}))},E=e=>{if(i.destroyed||!i.autoplay.running)return;cancelAnimationFrame(s),y();let a=void 0===e?i.params.autoplay.delay:e;g=i.params.autoplay.delay,v=i.params.autoplay.delay;const r=(()=>{let e;if(e=i.virtual&&i.params.virtual.enabled?i.slides.filter((e=>e.classList.contains("swiper-slide-active")))[0]:i.slides[i.activeIndex],!e)return;return parseInt(e.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(r)&&r>0&&void 0===e&&(a=r,g=r,v=r),d=a;const n=i.params.speed,o=()=>{i&&!i.destroyed&&(i.params.autoplay.reverseDirection?!i.isBeginning||i.params.loop||i.params.rewind?(i.slidePrev(n,!0,!0),l("autoplay")):i.params.autoplay.stopOnLastSlide||(i.slideTo(i.slides.length-1,n,!0,!0),l("autoplay")):!i.isEnd||i.params.loop||i.params.rewind?(i.slideNext(n,!0,!0),l("autoplay")):i.params.autoplay.stopOnLastSlide||(i.slideTo(0,n,!0,!0),l("autoplay")),i.params.cssMode&&(w=(new Date).getTime(),requestAnimationFrame((()=>{E()}))))};return a>0?(clearTimeout(t),t=setTimeout((()=>{o()}),a)):requestAnimationFrame((()=>{o()})),a},x=()=>{i.autoplay.running=!0,E(),l("autoplayStart")},S=()=>{i.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(s),l("autoplayStop")},T=(e,s)=>{if(i.destroyed||!i.autoplay.running)return;clearTimeout(t),e||(f=!0);const a=()=>{l("autoplayPause"),i.params.autoplay.waitForTransition?i.wrapperEl.addEventListener("transitionend",b):M()};if(i.autoplay.paused=!0,s)return h&&(d=i.params.autoplay.delay),h=!1,void a();const r=d||i.params.autoplay.delay;d=r-((new Date).getTime()-w),i.isEnd&&d<0&&!i.params.loop||(d<0&&(d=0),a())},M=()=>{i.isEnd&&d<0&&!i.params.loop||i.destroyed||!i.autoplay.running||(w=(new Date).getTime(),f?(f=!1,E(d)):E(),i.autoplay.paused=!1,l("autoplayResume"))},C=()=>{if(i.destroyed||!i.autoplay.running)return;const e=a();"hidden"===e.visibilityState&&(f=!0,T(!0)),"visible"===e.visibilityState&&M()},P=e=>{"mouse"===e.pointerType&&(f=!0,T(!0))},L=e=>{"mouse"===e.pointerType&&i.autoplay.paused&&M()};n("init",(()=>{i.params.autoplay.enabled&&(i.params.autoplay.pauseOnMouseEnter&&(i.el.addEventListener("pointerenter",P),i.el.addEventListener("pointerleave",L)),a().addEventListener("visibilitychange",C),w=(new Date).getTime(),x())})),n("destroy",(()=>{i.el.removeEventListener("pointerenter",P),i.el.removeEventListener("pointerleave",L),a().removeEventListener("visibilitychange",C),i.autoplay.running&&S()})),n("beforeTransitionStart",((e,t,s)=>{!i.destroyed&&i.autoplay.running&&(s||!i.params.autoplay.disableOnInteraction?T(!0,!0):S())})),n("sliderFirstMove",(()=>{!i.destroyed&&i.autoplay.running&&(i.params.autoplay.disableOnInteraction?S():(p=!0,u=!1,f=!1,m=setTimeout((()=>{f=!0,u=!0,T(!0)}),200)))})),n("touchEnd",(()=>{if(!i.destroyed&&i.autoplay.running&&p){if(clearTimeout(m),clearTimeout(t),i.params.autoplay.disableOnInteraction)return u=!1,void(p=!1);u&&i.params.cssMode&&M(),u=!1,p=!1}})),n("slideChange",(()=>{!i.destroyed&&i.autoplay.running&&(h=!0)})),Object.assign(i.autoplay,{start:x,stop:S,pause:T,resume:M})},function(e){let{swiper:t,extendParams:s,on:i}=e;s({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let r=!1,n=!1;function l(){const e=t.thumbs.swiper;if(!e||e.destroyed)return;const s=e.clickedIndex,a=e.clickedSlide;if(a&&a.classList.contains(t.params.thumbs.slideThumbActiveClass))return;if(null==s)return;let i;i=e.params.loop?parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10):s,t.params.loop?t.slideToLoop(i):t.slideTo(i)}function o(){const{thumbs:e}=t.params;if(r)return!1;r=!0;const s=t.constructor;if(e.swiper instanceof s)t.thumbs.swiper=e.swiper,Object.assign(t.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(t.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper.update();else if(d(e.swiper)){const a=Object.assign({},e.swiper);Object.assign(a,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper=new s(a),n=!0}return t.thumbs.swiper.el.classList.add(t.params.thumbs.thumbsContainerClass),t.thumbs.swiper.on("tap",l),!0}function c(e){const s=t.thumbs.swiper;if(!s||s.destroyed)return;const a="auto"===s.params.slidesPerView?s.slidesPerViewDynamic():s.params.slidesPerView;let i=1;const r=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(i=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(i=1),i=Math.floor(i),s.slides.forEach((e=>e.classList.remove(r))),s.params.loop||s.params.virtual&&s.params.virtual.enabled)for(let e=0;e<i;e+=1)f(s.slidesEl,`[data-swiper-slide-index="${t.realIndex+e}"]`).forEach((e=>{e.classList.add(r)}));else for(let e=0;e<i;e+=1)s.slides[t.realIndex+e]&&s.slides[t.realIndex+e].classList.add(r);const n=t.params.thumbs.autoScrollOffset,l=n&&!s.params.loop;if(t.realIndex!==s.realIndex||l){const i=s.activeIndex;let r,o;if(s.params.loop){const e=s.slides.filter((e=>e.getAttribute("data-swiper-slide-index")===`${t.realIndex}`))[0];r=s.slides.indexOf(e),o=t.activeIndex>t.previousIndex?"next":"prev"}else r=t.realIndex,o=r>t.previousIndex?"next":"prev";l&&(r+="next"===o?n:-1*n),s.visibleSlidesIndexes&&s.visibleSlidesIndexes.indexOf(r)<0&&(s.params.centeredSlides?r=r>i?r-Math.floor(a/2)+1:r+Math.floor(a/2)-1:r>i&&s.params.slidesPerGroup,s.slideTo(r,e?0:void 0))}}t.thumbs={swiper:null},i("beforeInit",(()=>{const{thumbs:e}=t.params;if(e&&e.swiper)if("string"==typeof e.swiper||e.swiper instanceof HTMLElement){const s=a(),i=()=>{const a="string"==typeof e.swiper?s.querySelector(e.swiper):e.swiper;if(a&&a.swiper)e.swiper=a.swiper,o(),c(!0);else if(a){const s=i=>{e.swiper=i.detail[0],a.removeEventListener("init",s),o(),c(!0),e.swiper.update(),t.update()};a.addEventListener("init",s)}return a},r=()=>{if(t.destroyed)return;i()||requestAnimationFrame(r)};requestAnimationFrame(r)}else o(),c(!0)})),i("slideChange update resize observerUpdate",(()=>{c()})),i("setTransition",((e,s)=>{const a=t.thumbs.swiper;a&&!a.destroyed&&a.setTransition(s)})),i("beforeDestroy",(()=>{const e=t.thumbs.swiper;e&&!e.destroyed&&n&&e.destroy()})),Object.assign(t.thumbs,{init:o,update:c})},function(e){let{swiper:t,extendParams:s,emit:a,once:i}=e;s({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(t,{freeMode:{onTouchStart:function(){const e=t.getTranslate();t.setTranslate(e),t.setTransition(0),t.touchEventsData.velocities.length=0,t.freeMode.onTouchEnd({currentPos:t.rtl?t.translate:-t.translate})},onTouchMove:function(){const{touchEventsData:e,touches:s}=t;0===e.velocities.length&&e.velocities.push({position:s[t.isHorizontal()?"startX":"startY"],time:e.touchStartTime}),e.velocities.push({position:s[t.isHorizontal()?"currentX":"currentY"],time:l()})},onTouchEnd:function(e){let{currentPos:s}=e;const{params:r,wrapperEl:n,rtlTranslate:o,snapGrid:d,touchEventsData:c}=t,p=l()-c.touchStartTime;if(s<-t.minTranslate())t.slideTo(t.activeIndex);else if(s>-t.maxTranslate())t.slides.length<d.length?t.slideTo(d.length-1):t.slideTo(t.slides.length-1);else{if(r.freeMode.momentum){if(c.velocities.length>1){const e=c.velocities.pop(),s=c.velocities.pop(),a=e.position-s.position,i=e.time-s.time;t.velocity=a/i,t.velocity/=2,Math.abs(t.velocity)<r.freeMode.minimumVelocity&&(t.velocity=0),(i>150||l()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=r.freeMode.momentumVelocityRatio,c.velocities.length=0;let e=1e3*r.freeMode.momentumRatio;const s=t.velocity*e;let p=t.translate+s;o&&(p=-p);let u,m=!1;const h=20*Math.abs(t.velocity)*r.freeMode.momentumBounceRatio;let f;if(p<t.maxTranslate())r.freeMode.momentumBounce?(p+t.maxTranslate()<-h&&(p=t.maxTranslate()-h),u=t.maxTranslate(),m=!0,c.allowMomentumBounce=!0):p=t.maxTranslate(),r.loop&&r.centeredSlides&&(f=!0);else if(p>t.minTranslate())r.freeMode.momentumBounce?(p-t.minTranslate()>h&&(p=t.minTranslate()+h),u=t.minTranslate(),m=!0,c.allowMomentumBounce=!0):p=t.minTranslate(),r.loop&&r.centeredSlides&&(f=!0);else if(r.freeMode.sticky){let e;for(let t=0;t<d.length;t+=1)if(d[t]>-p){e=t;break}p=Math.abs(d[e]-p)<Math.abs(d[e-1]-p)||"next"===t.swipeDirection?d[e]:d[e-1],p=-p}if(f&&i("transitionEnd",(()=>{t.loopFix()})),0!==t.velocity){if(e=o?Math.abs((-p-t.translate)/t.velocity):Math.abs((p-t.translate)/t.velocity),r.freeMode.sticky){const s=Math.abs((o?-p:p)-t.translate),a=t.slidesSizesGrid[t.activeIndex];e=s<a?r.speed:s<2*a?1.5*r.speed:2.5*r.speed}}else if(r.freeMode.sticky)return void t.slideToClosest();r.freeMode.momentumBounce&&m?(t.updateProgress(u),t.setTransition(e),t.setTranslate(p),t.transitionStart(!0,t.swipeDirection),t.animating=!0,E(n,(()=>{t&&!t.destroyed&&c.allowMomentumBounce&&(a("momentumBounce"),t.setTransition(r.speed),setTimeout((()=>{t.setTranslate(u),E(n,(()=>{t&&!t.destroyed&&t.transitionEnd()}))}),0))}))):t.velocity?(a("_freeModeNoMomentumRelease"),t.updateProgress(p),t.setTransition(e),t.setTranslate(p),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,E(n,(()=>{t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(p),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(r.freeMode.sticky)return void t.slideToClosest();r.freeMode&&a("_freeModeNoMomentumRelease")}(!r.freeMode.momentum||p>=r.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}}}})},function(e){let t,s,a,{swiper:i,extendParams:r}=e;r({grid:{rows:1,fill:"column"}}),i.grid={initSlides:e=>{const{slidesPerView:r}=i.params,{rows:n,fill:l}=i.params.grid;s=t/n,a=Math.floor(e/n),t=Math.floor(e/n)===e/n?e:Math.ceil(e/n)*n,"auto"!==r&&"row"===l&&(t=Math.max(t,r*n))},updateSlide:(e,r,n,l)=>{const{slidesPerGroup:o,spaceBetween:d}=i.params,{rows:c,fill:p}=i.params.grid;let u,m,h;if("row"===p&&o>1){const s=Math.floor(e/(o*c)),a=e-c*o*s,i=0===s?o:Math.min(Math.ceil((n-s*c*o)/c),o);h=Math.floor(a/i),m=a-h*i+s*o,u=m+h*t/c,r.style.order=u}else"column"===p?(m=Math.floor(e/c),h=e-m*c,(m>a||m===a&&h===c-1)&&(h+=1,h>=c&&(h=0,m+=1))):(h=Math.floor(e/s),m=e-h*s);r.style[l("margin-top")]=0!==h?d&&`${d}px`:""},updateWrapperSize:(e,s,a)=>{const{spaceBetween:r,centeredSlides:n,roundLengths:l}=i.params,{rows:o}=i.params.grid;if(i.virtualSize=(e+r)*t,i.virtualSize=Math.ceil(i.virtualSize/o)-r,i.wrapperEl.style[a("width")]=`${i.virtualSize+r}px`,n){const e=[];for(let t=0;t<s.length;t+=1){let a=s[t];l&&(a=Math.floor(a)),s[t]<i.virtualSize+s[0]&&e.push(a)}s.splice(0,s.length),s.push(...e)}}}},function(e){let{swiper:t}=e;Object.assign(t,{appendSlide:se.bind(t),prependSlide:ae.bind(t),addSlide:ie.bind(t),removeSlide:re.bind(t),removeAllSlides:ne.bind(t)})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({fadeEffect:{crossFade:!1}}),le({effect:"fade",swiper:t,on:a,setTranslate:()=>{const{slides:e}=t;t.params.fadeEffect;for(let s=0;s<e.length;s+=1){const e=t.slides[s];let a=-e.swiperSlideOffset;t.params.virtualTranslate||(a-=t.translate);let i=0;t.isHorizontal()||(i=a,a=0);const r=t.params.fadeEffect.crossFade?Math.max(1-Math.abs(e.progress),0):1+Math.min(Math.max(e.progress,-1),0),n=oe(0,e);n.style.opacity=r,n.style.transform=`translate3d(${a}px, ${i}px, 0px)`}},setTransition:e=>{const s=t.slides.map((e=>h(e)));s.forEach((t=>{t.style.transitionDuration=`${e}ms`})),de({swiper:t,duration:e,transformElements:s,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const i=(e,t,s)=>{let a=s?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),i=s?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");a||(a=g("div","swiper-slide-shadow-"+(s?"left":"top")),e.append(a)),i||(i=g("div","swiper-slide-shadow-"+(s?"right":"bottom")),e.append(i)),a&&(a.style.opacity=Math.max(-t,0)),i&&(i.style.opacity=Math.max(t,0))};le({effect:"cube",swiper:t,on:a,setTranslate:()=>{const{el:e,wrapperEl:s,slides:a,width:r,height:n,rtlTranslate:l,size:o,browser:d}=t,c=t.params.cubeEffect,p=t.isHorizontal(),u=t.virtual&&t.params.virtual.enabled;let m,h=0;c.shadow&&(p?(m=t.slidesEl.querySelector(".swiper-cube-shadow"),m||(m=g("div","swiper-cube-shadow"),t.slidesEl.append(m)),m.style.height=`${r}px`):(m=e.querySelector(".swiper-cube-shadow"),m||(m=g("div","swiper-cube-shadow"),e.append(m))));for(let e=0;e<a.length;e+=1){const t=a[e];let s=e;u&&(s=parseInt(t.getAttribute("data-swiper-slide-index"),10));let r=90*s,n=Math.floor(r/360);l&&(r=-r,n=Math.floor(-r/360));const d=Math.max(Math.min(t.progress,1),-1);let m=0,f=0,g=0;s%4==0?(m=4*-n*o,g=0):(s-1)%4==0?(m=0,g=4*-n*o):(s-2)%4==0?(m=o+4*n*o,g=o):(s-3)%4==0&&(m=-o,g=3*o+4*o*n),l&&(m=-m),p||(f=m,m=0);const v=`rotateX(${p?0:-r}deg) rotateY(${p?r:0}deg) translate3d(${m}px, ${f}px, ${g}px)`;d<=1&&d>-1&&(h=90*s+90*d,l&&(h=90*-s-90*d)),t.style.transform=v,c.slideShadows&&i(t,d,p)}if(s.style.transformOrigin=`50% 50% -${o/2}px`,s.style["-webkit-transform-origin"]=`50% 50% -${o/2}px`,c.shadow)if(p)m.style.transform=`translate3d(0px, ${r/2+c.shadowOffset}px, ${-r/2}px) rotateX(90deg) rotateZ(0deg) scale(${c.shadowScale})`;else{const e=Math.abs(h)-90*Math.floor(Math.abs(h)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),s=c.shadowScale,a=c.shadowScale/t,i=c.shadowOffset;m.style.transform=`scale3d(${s}, 1, ${a}) translate3d(0px, ${n/2+i}px, ${-n/2/a}px) rotateX(-90deg)`}const f=(d.isSafari||d.isWebView)&&d.needPerspectiveFix?-o/2:0;s.style.transform=`translate3d(0px,0,${f}px) rotateX(${t.isHorizontal()?0:h}deg) rotateY(${t.isHorizontal()?-h:0}deg)`,s.style.setProperty("--swiper-cube-translate-z",`${f}px`)},setTransition:e=>{const{el:s,slides:a}=t;if(a.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),t.params.cubeEffect.shadow&&!t.isHorizontal()){const t=s.querySelector(".swiper-cube-shadow");t&&(t.style.transitionDuration=`${e}ms`)}},recreateShadows:()=>{const e=t.isHorizontal();t.slides.forEach((t=>{const s=Math.max(Math.min(t.progress,1),-1);i(t,s,e)}))},getEffectParams:()=>t.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({flipEffect:{slideShadows:!0,limitRotation:!0}});const i=(e,s,a)=>{let i=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),r=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");i||(i=ce(0,e,t.isHorizontal()?"left":"top")),r||(r=ce(0,e,t.isHorizontal()?"right":"bottom")),i&&(i.style.opacity=Math.max(-s,0)),r&&(r.style.opacity=Math.max(s,0))};le({effect:"flip",swiper:t,on:a,setTranslate:()=>{const{slides:e,rtlTranslate:s}=t,a=t.params.flipEffect;for(let r=0;r<e.length;r+=1){const n=e[r];let l=n.progress;t.params.flipEffect.limitRotation&&(l=Math.max(Math.min(n.progress,1),-1));const o=n.swiperSlideOffset;let d=-180*l,c=0,p=t.params.cssMode?-o-t.translate:-o,u=0;t.isHorizontal()?s&&(d=-d):(u=p,p=0,c=-d,d=0),n.style.zIndex=-Math.abs(Math.round(l))+e.length,a.slideShadows&&i(n,l);const m=`translate3d(${p}px, ${u}px, 0px) rotateX(${c}deg) rotateY(${d}deg)`;oe(0,n).style.transform=m}},setTransition:e=>{const s=t.slides.map((e=>h(e)));s.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),de({swiper:t,duration:e,transformElements:s})},recreateShadows:()=>{t.params.flipEffect;t.slides.forEach((e=>{let s=e.progress;t.params.flipEffect.limitRotation&&(s=Math.max(Math.min(e.progress,1),-1)),i(e,s)}))},getEffectParams:()=>t.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),le({effect:"coverflow",swiper:t,on:a,setTranslate:()=>{const{width:e,height:s,slides:a,slidesSizesGrid:i}=t,r=t.params.coverflowEffect,n=t.isHorizontal(),l=t.translate,o=n?e/2-l:s/2-l,d=n?r.rotate:-r.rotate,c=r.depth;for(let e=0,t=a.length;e<t;e+=1){const t=a[e],s=i[e],l=(o-t.swiperSlideOffset-s/2)/s,p="function"==typeof r.modifier?r.modifier(l):l*r.modifier;let u=n?d*p:0,m=n?0:d*p,h=-c*Math.abs(p),f=r.stretch;"string"==typeof f&&-1!==f.indexOf("%")&&(f=parseFloat(r.stretch)/100*s);let g=n?0:f*p,v=n?f*p:0,w=1-(1-r.scale)*Math.abs(p);Math.abs(v)<.001&&(v=0),Math.abs(g)<.001&&(g=0),Math.abs(h)<.001&&(h=0),Math.abs(u)<.001&&(u=0),Math.abs(m)<.001&&(m=0),Math.abs(w)<.001&&(w=0);const b=`translate3d(${v}px,${g}px,${h}px)  rotateX(${m}deg) rotateY(${u}deg) scale(${w})`;if(oe(0,t).style.transform=b,t.style.zIndex=1-Math.abs(Math.round(p)),r.slideShadows){let e=n?t.querySelector(".swiper-slide-shadow-left"):t.querySelector(".swiper-slide-shadow-top"),s=n?t.querySelector(".swiper-slide-shadow-right"):t.querySelector(".swiper-slide-shadow-bottom");e||(e=ce(0,t,n?"left":"top")),s||(s=ce(0,t,n?"right":"bottom")),e&&(e.style.opacity=p>0?p:0),s&&(s.style.opacity=-p>0?-p:0)}}},setTransition:e=>{t.slides.map((e=>h(e))).forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))}))},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const i=e=>"string"==typeof e?e:`${e}px`;le({effect:"creative",swiper:t,on:a,setTranslate:()=>{const{slides:e,wrapperEl:s,slidesSizesGrid:a}=t,r=t.params.creativeEffect,{progressMultiplier:n}=r,l=t.params.centeredSlides;if(l){const e=a[0]/2-t.params.slidesOffsetBefore||0;s.style.transform=`translateX(calc(50% - ${e}px))`}for(let s=0;s<e.length;s+=1){const a=e[s],o=a.progress,d=Math.min(Math.max(a.progress,-r.limitProgress),r.limitProgress);let c=d;l||(c=Math.min(Math.max(a.originalProgress,-r.limitProgress),r.limitProgress));const p=a.swiperSlideOffset,u=[t.params.cssMode?-p-t.translate:-p,0,0],m=[0,0,0];let h=!1;t.isHorizontal()||(u[1]=u[0],u[0]=0);let f={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};d<0?(f=r.next,h=!0):d>0&&(f=r.prev,h=!0),u.forEach(((e,t)=>{u[t]=`calc(${e}px + (${i(f.translate[t])} * ${Math.abs(d*n)}))`})),m.forEach(((e,t)=>{m[t]=f.rotate[t]*Math.abs(d*n)})),a.style.zIndex=-Math.abs(Math.round(o))+e.length;const g=u.join(", "),v=`rotateX(${m[0]}deg) rotateY(${m[1]}deg) rotateZ(${m[2]}deg)`,w=c<0?`scale(${1+(1-f.scale)*c*n})`:`scale(${1-(1-f.scale)*c*n})`,b=c<0?1+(1-f.opacity)*c*n:1-(1-f.opacity)*c*n,y=`translate3d(${g}) ${v} ${w}`;if(h&&f.shadow||!h){let e=a.querySelector(".swiper-slide-shadow");if(!e&&f.shadow&&(e=ce(0,a)),e){const t=r.shadowPerProgress?d*(1/r.limitProgress):d;e.style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const E=oe(0,a);E.style.transform=y,E.style.opacity=b,f.origin&&(E.style.transformOrigin=f.origin)}},setTransition:e=>{const s=t.slides.map((e=>h(e)));s.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),de({swiper:t,duration:e,transformElements:s,allSlides:!0})},perspective:()=>t.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),le({effect:"cards",swiper:t,on:a,setTranslate:()=>{const{slides:e,activeIndex:s}=t,a=t.params.cardsEffect,{startTranslate:i,isTouched:r}=t.touchEventsData,n=t.translate;for(let l=0;l<e.length;l+=1){const o=e[l],d=o.progress,c=Math.min(Math.max(d,-4),4);let p=o.swiperSlideOffset;t.params.centeredSlides&&!t.params.cssMode&&(t.wrapperEl.style.transform=`translateX(${t.minTranslate()}px)`),t.params.centeredSlides&&t.params.cssMode&&(p-=e[0].swiperSlideOffset);let u=t.params.cssMode?-p-t.translate:-p,m=0;const h=-100*Math.abs(c);let f=1,g=-a.perSlideRotate*c,v=a.perSlideOffset-.75*Math.abs(c);const w=t.virtual&&t.params.virtual.enabled?t.virtual.from+l:l,b=(w===s||w===s-1)&&c>0&&c<1&&(r||t.params.cssMode)&&n<i,y=(w===s||w===s+1)&&c<0&&c>-1&&(r||t.params.cssMode)&&n>i;if(b||y){const e=(1-Math.abs((Math.abs(c)-.5)/.5))**.5;g+=-28*c*e,f+=-.5*e,v+=96*e,m=-25*e*Math.abs(c)+"%"}if(u=c<0?`calc(${u}px + (${v*Math.abs(c)}%))`:c>0?`calc(${u}px + (-${v*Math.abs(c)}%))`:`${u}px`,!t.isHorizontal()){const e=m;m=u,u=e}const E=c<0?""+(1+(1-f)*c):""+(1-(1-f)*c),x=`\n        translate3d(${u}, ${m}, ${h}px)\n        rotateZ(${a.rotate?g:0}deg)\n        scale(${E})\n      `;if(a.slideShadows){let e=o.querySelector(".swiper-slide-shadow");e||(e=ce(0,o)),e&&(e.style.opacity=Math.min(Math.max((Math.abs(c)-.5)/.5,0),1))}o.style.zIndex=-Math.abs(Math.round(d))+e.length;oe(0,o).style.transform=x}},setTransition:e=>{const s=t.slides.map((e=>h(e)));s.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),de({swiper:t,duration:e,transformElements:s})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})}];return J.use(pe),J}));var aaj_vars={"ajax_url":"https:\/\/yadakniro.ir\/wp-admin\/admin-ajax.php"};function SliderScroll(direction,tag){var span_tag=jQuery(tag);var sliderScrollTag=span_tag.parents('.SliderScroll');var itemnumber=sliderScrollTag.data('ino')
var slider_width=sliderScrollTag.width();var sliderScrollUl=sliderScrollTag.find('.SliderScroll_main ul');var sliderScrollItems=sliderScrollUl.find('li');if(slider_width>768){sliderScrollItems.css('width',liwidth)}
var it;var liwidth;if(slider_width<768){it=1}else{it=itemnumber}
if(slider_width<768){liwidth=slider_width/1}else{liwidth=slider_width/it}
var scroll="";var sliderScrollItemsNumbers=sliderScrollItems.length;var slideScrollNumbers=Math.ceil(sliderScrollItemsNumbers/it);var mand=sliderScrollItemsNumbers%it;var SlideNumber=slideScrollNumbers-2;var la=-(SlideNumber*it)*liwidth;var lafix=la.toFixed(2);var marginRightnew;var marginRightOld=sliderScrollUl.css('margin-right');var ParsMargin=parseFloat(marginRightOld);if(slider_width<768){scroll=liwidth}else{if(mand!==0){if(ParsMargin<=lafix){var allitemmand=sliderScrollItemsNumbers/it;marginofdecimal=Math.round((allitemmand-parseInt(allitemmand))*10);scroll=marginofdecimal*liwidth/2}else{scroll=slider_width}}else{scroll=slider_width}}
var maxNegativeMargin=-(sliderScrollItemsNumbers-it)*liwidth;sliderScrollUl.css('width',sliderScrollItemsNumbers*liwidth);marginRightOld=parseFloat(marginRightOld);if(direction=='right'){marginRightnew=marginRightOld-scroll;if(marginRightOld<0){jQuery('.SliderScroll_next').css('display','block')}}
if(direction=='left'){if(marginRightOld==0||marginRightnew==0){jQuery('.SliderScroll_next').css('display','none')}else{marginRightnew=marginRightOld+scroll}}
if(marginRightnew<maxNegativeMargin){marginRightnew=0}
if(marginRightnew>0){marginRightnew=maxNegativeMargin}
sliderScrollUl.animate({'marginRight':marginRightnew},1000)}
function amazing_slider(e,a){var t,r,i=jQuery(a).parents(".amazing_slider"),n=i.data("ino"),l=i.width(),s=i.find(".amazing_slider_main ul");t=l<768?1:n,r=l<768?l/1:l/t;var o,d="",c=s.find("li").length,u=c%t,f=(-(Math.ceil(c/t)-2)*t*r).toFixed(2),m=s.css("margin-right"),h=parseFloat(m);if(l<768)d=r;else if(0!==u)if(h<=f){var _=c/t;marginofdecimal=Math.round(10*(_-parseInt(_))),d=marginofdecimal*r/2}else d=l;else d=l;var y=-(c-t)*r;s.css("width",c*r),m=parseFloat(m),"right"==e&&(o=m-d),"left"==e&&(0==m||(o=m+d)),o<y&&(o=0),o>0&&(o=y),s.animate({marginRight:o},1e3)}
function momentary_slider(e,a){var t=jQuery(".momentary_slider"),r=t.width(),i=r,n=r,l=t.find(".momentary_slider_content ul"),s=l.find("li");s.css("width",i);var o,d=s.length,c=d%1,u=(-1*(Math.ceil(d/1)-2)*i).toFixed(2),f=l.css("margin-right"),m=parseFloat(f);if(r<768);else if(0!==c)if(m<=u){var h=d/1;marginofdecimal=Math.round(10*(h-parseInt(h))),n=marginofdecimal*i/2}else n=r;else n=r;var _=-(d-1)*i;l.css("width",d*i),f=parseFloat(f),"right"==e&&(o=f-n),"left"==e&&(0==f||(o=f+n)),o<_&&(o=0),o>0&&(o=_),l.animate({marginRight:o},1e3)}
function start_slider_scroll(){jQuery(".SliderScroll").each((function(){var e,a,t=jQuery(this).data("ino"),r=jQuery(this).width();if(e=r<768?1:t,a=r<768?273:r/e,r<768);var i=jQuery(this).find(".SliderScroll_main ul"),n=i.find("li");r>768&&n.css("width",273);var l=n.length*a;i.css("width",l),n.css("width",a)}))}
function start_slider_momentary(){var e=jQuery(".momentary_slider"),a=e.width(),t=a,r=e.find(".momentary_slider_content ul"),i=r.find("li");i.css("width",t);var n=i.length*t;r.css("width",n),i.css("width",t)}
function start_amazing_scroll(){jQuery(".amazing_slider").each((function(){var e,a,t=jQuery(this).data("ino"),r=jQuery(this).width();e=r<768?1:t,a=r<768?180:r/e;var i=jQuery(this).find(".amazing_slider_main ul"),n=i.find("li");r>768&&n.css("width",273);var l=n.length*a;r<768&&jQuery(this).parents(".amazing_content_inner").css("width",l+a);i.css("width",l),n.css("width",a)}))}
function add_border_shadow(){var e=screen.width,a=jQuery(".all_product_seller");e<768&&(a.hasClass("border_shadow")||a.addClass("border_shadow"))}
jQuery(document).ready((function(){start_slider_scroll(),add_border_shadow(),start_amazing_scroll(),jQuery(".timer").startTimer({onComplete:function(e){e.addClass("is-complete")},loop:!0,loopInterval:1}),start_slider_momentary()}));var inter=setInterval(MomentaryLine,2500);function MomentaryLine(e){clearInterval(inter);let a=jQuery("#MomentaryLine "),t=parseInt(jQuery(a).css("width"));a.css("width","0%"),t<100&&(a.animate({width:"100%"},2500),a.animate({width:"0%"},0))}
var MAS=setInterval(auto_momentary,5e3);function auto_momentary(){var e,a=jQuery(".momentary_slider"),t=a.width(),r=a.find(".momentary_slider_main ul"),i=r.find("li");e=t/1,i.css("width",e);var n,l="",s=i.length,o=s%1,d=(-1*(Math.ceil(s/1)-2)*e).toFixed(2),c=r.css("margin-right"),u=parseFloat(c);if(t<768)l=e;else if(0!==o)if(u<=d){var f=s/1;marginofdecimal=Math.round(10*(f-parseInt(f))),l=marginofdecimal*e/2}else l=t;else l=t;var m=-(s-1)*e;r.css("width",s*e),(n=(c=parseFloat(c))-l)<m&&(n=0),n>0&&(n=m),r.animate({marginRight:n},1e3)}
jQuery(document).ready((function(){var e=jQuery(".flipTimer").data("time");jQuery(".flipTimer").flipTimer({direction:"down",date:e})})),jQuery(document).on("click",".sort_top_body ul li",(function(s){s.preventDefault();jQuery(".sort_top_body ul li").removeClass("active");var e=jQuery(this);e.addClass("active");var a=e.data("sort"),t=jQuery(".hiddent_cat").val(),f=jQuery(".hiddent_cat").data('term'),g=jQuery(".hiddent_cat").data('ims');let min_price=jQuery("#min_price").val();let max_price=jQuery("#max_price").val();let isp=jQuery(".instock_bot").hasClass("active")?"on":"off";let terms_parent=jQuery('.v11');let term_each=terms_parent.find('.attr_box');let tax=jQuery('.hide_stock').data('tax');let tslug=jQuery('.hide_stock').data('tslug');let attr_active=[];term_each.each(function(){let $z=jQuery(this);let term_active=$z.find('.attr_drop ul li.active');if(term_active.length){let term_array=[];let tax_key=$z.data('key')
term_array.push(tax_key);term_active.each(function(){let $x=jQuery(this);let term_key=$x.data('termkey');term_array.push(term_key)});attr_active.push(term_array)}})
jQuery.ajax({url:ajax_data.aju,type:"POST",data:{action:"product_head_sorting",terms:attr_active,min_price:min_price,max_price:max_price,sort:a,cat:t,tag:f,ims:g,stos:isp,tax:tax,tslug:tslug,},beforeSend:function(){jQuery("#dark").fadeIn()},success:function(e){jQuery("#dark").fadeOut(),jQuery(".www").html(e.data.html)}})})),jQuery(".instock_bot").on("click",(function(){var e=jQuery(this);let sort_parent=jQuery('.sort_top_body ul li.active');let sort_data=sort_parent.data('sort')
let terms_parent=jQuery('.v11');let term_each=terms_parent.find('.attr_box');let tax=jQuery('.hide_stock').data('tax');let tslug=jQuery('.hide_stock').data('tslug');let min_price=jQuery("#min_price").val();let max_price=jQuery("#max_price").val();let attr_active=[];term_each.each(function(){let $this=jQuery(this);let term_active=$this.find('.attr_drop ul li.active');if(term_active.length){let term_array=[];let tax_key=$this.data('key')
term_array.push(tax_key);term_active.each(function(){let $x=jQuery(this);let term_key=$x.data('termkey');term_array.push(term_key)});attr_active.push(term_array)}})
e.toggleClass("active");if(e.hasClass("active")){let a=jQuery(".hiddent_cat").val(),f=jQuery(".hiddent_cat").data('term'),n=jQuery(".hiddent_cat").data('ims'),stos='on';jQuery.ajax({url:ajax_data.aju,type:"POST",data:{action:"get_archive_product",cat:a,stos:stos,tag:f,ims:n,min_price:min_price,max_price:max_price,terms:attr_active,sort:sort_data,tax:tax,tslug:tslug,},beforeSend:function(){jQuery("#dark").fadeIn()},success:function(e){jQuery("#dark").fadeOut(),jQuery(".www").html(e.data.html)}})}else{var cat=jQuery(".hiddent_cat").val(),term=jQuery(".hiddent_cat").data('term'),ims=jQuery(".hiddent_cat").data('ims');jQuery.ajax({url:ajax_data.aju,type:"POST",data:{action:"get_archive_product",cat:cat,tag:term,ims:ims,min_price:min_price,max_price:max_price,stos:'off',terms:attr_active,sort:sort_data,tax:tax,tslug:tslug,},beforeSend:function(){jQuery("#dark").fadeIn()},success:function(e){jQuery("#dark").fadeOut(),jQuery(".www").html(e.data.html)}})}})),jQuery('.price_select_max').on("change",(function(){let terms_parent=jQuery('.v11');let term_each=terms_parent.find('.attr_box');let sort_parent=jQuery('.sort_top_body ul li.active');let sort_data=sort_parent.data('sort');let tax=jQuery('.hide_stock').data('tax');let tslug=jQuery('.hide_stock').data('tslug');let attr_active=[];term_each.each(function(){let $this=jQuery(this);let term_active=$this.find('.attr_drop ul li.active');if(term_active.length){let term_array=[];let tax_key=$this.data('key')
term_array.push(tax_key);term_active.each(function(){let $x=jQuery(this);let term_key=$x.data('termkey');term_array.push(term_key)});attr_active.push(term_array)}})
var e=jQuery(this),a=e.val(),t=e.parents(".vi_price_filter").find(".price_select_min").val(),f=e.parents(".vi_price_filter").find(".price_select_max").val(),tag=e.data('tag'),cat=e.data('cat'),g=jQuery(".hiddent_cat").data('ims'),isp=jQuery(".instock_bot").hasClass("active")?"on":"off";jQuery.ajax({url:ajax_data.aju,type:"POST",data:{action:"product_price_filter",terms:attr_active,min_price:t,max_price:f,cat:cat,tag:tag,ims:g,isp:isp,sort:sort_data,tax:tax,tslug:tslug},beforeSend:function(){jQuery("#dark").fadeIn()},success:function(e){jQuery("#dark").fadeOut(),jQuery(".www").html(e.data.html)}})})),jQuery(document).on("click",".ajax_search",(function(){var e=jQuery(this).parents(".ajax_search_box").find(".vajax_search").val();jQuery.ajax({url:ajax_data.aju,type:"POST",minlength:2,data:{action:"get_ajax_search_product",pname:e},beforeSend:function(){jQuery("#dark").fadeIn()},success:function(e){jQuery("#dark").fadeOut();var a=jQuery.parseJSON(e);(console.log(a),a)&&(jQuery(".search_res ul").find("li").remove(),jQuery.each(a,(function(e,a){jQuery(".search_res ul").append('<li><a href="'+a.perma+'">'+a.name+'</a><img class="search_img" src=" '+a.pic+' " alt=" '+a.name+' "> </li>')})),jQuery(".search_res").slideDown())}})})),jQuery(document).mouseup((function(e){var a=jQuery(".search_res");a.is(e.target)||0!==a.has(e.target).length||a.hide()})),jQuery(document).ready((function(){var e=jQuery(".vit_slides"),a=(e.data("speed"),e.find(".slide_item")),t=a.length,r=e.find("ul"),i=(e.find("li"),e.css("width"));a.css("width",i);var n=parseFloat(r.css("marginRight")),l=-(t*parseFloat(i)-parseFloat(i))-2,s="",o="";function d(e){o<l&&(o=0),o>0&&(o=0),"right"==e&&jQuery(".vit_slides ul").animate({"margin-right":o},{duration:1e3,easing:"linear",queue:!1},"linear"),"left"==e&&jQuery(".vit_slides ul").animate({"margin-right":o},{duration:1e3,easing:"linear",queue:!1},"linear")}
jQuery(".slide_next").click((function(){s=parseFloat(r.css("marginRight")),o=s-parseFloat(i),d("right")})),jQuery(".slide_prev").click((function(){o=-(n+o),d("left")})),slides_auto_scroll=setInterval((function(){s=parseFloat(r.css("marginRight")),o=s-parseFloat(i),d("right")}),3e3)})),jQuery(document).ready((function(){jQuery(".SliderScroll_main ul  li ").hover((function(){var e=jQuery(this),a=e.find("a > .all_product_seller > .seler_slider_item > .additional_item"),t=e.find("a > .all_product_seller > .seler_slider_item > img"),r=e.find("a > .all_product_seller > .seler_slider_item > img:first"),i=e.find("a > .all_product_seller > .seler_slider_item > img:last");r.length;a.css("opacity",1),t.length>1&&(r.addClass("hide_img"),i.removeClass("hide_img"),e.mouseleave((function(){r.removeClass("hide_img"),i.addClass("hide_img"),a.css("opacity",0)})))}))}));jQuery(document).ready((function(){jQuery(".attr_title").on("click",(function(){jQuery(this).parents(".attr_box").find(".attr_drop").fadeToggle(0).css({'margin':'0'})}))})),jQuery(document).ready((function(){jQuery(".afcli").on("click",(function(){jQuery(".app_filter_body").fadeIn()}))})),jQuery(document).ready((function(){jQuery(".appfclose i").on("click",(function(){jQuery(".app_filter_body").fadeOut()})),jQuery(".appfsubmit").on("click",(function(){jQuery(".app_filter_body").fadeOut()})),jQuery(".app_prf_title").on("click",(function(){jQuery(".prif").slideToggle()}))}));jQuery(document).on("keyup",".vajax_search",(function(){var e=jQuery(this).val();var lent=e.length;if(lent>2){jQuery.ajax({url:ajax_data.aju,type:"POST",minlength:2,data:{action:"get_ajax_search_product",pname:e},beforeSend:function(){jQuery("#dark").fadeIn()},success:function(e){jQuery("#dark").fadeOut();var a=jQuery.parseJSON(e);if(a.length>0){(console.log(a),a)&&(jQuery(".search_res ul").find("li").remove(),jQuery.each(a,(function(e,a){jQuery(".search_res ul").append('<li><a href="'+a.perma+'">'+a.name+'</a><img class="search_img" src=" '+a.pic+' " alt=" '+a.name+' "> </li>')})),jQuery(".search_res").slideDown())}}})}}))
jQuery(document).ready(function(){jQuery(document).on('click','.anc_m',function(dat){dat.preventDefault();var $this=jQuery(this);var parents=$this.parents('.add_num_cart');var pid=$this.parents('.atc_container_cu').data('pid');var inp=parents.find('.add_to_inp');var inp_val=parseInt(inp.val());var plus_val=inp_val+1
jQuery(inp.val(plus_val))
jQuery.ajax({url:aaj_vars.ajax_url,type:"POST",data:{action:"ai_to_cart",pid:pid,plus_val:plus_val},success:function(e){jQuery("#cart_container").html("<div class='reftesh_cart'> <span>در حال بروزرسانی سبد خرید ...</span></div>");var a=window.location.href;jQuery("#cart_container").load(a+" #cart_item_container")}})})
jQuery(document).on('click','.anc_p',function(dat){dat.preventDefault();var $this=jQuery(this);var parents=$this.parents('.add_num_cart')
var inp=parents.find('.add_to_inp');var pid=$this.parents('.atc_container_cu').data('pid');var inp_val=parseInt(inp.val());if(inp_val>1){inp.val(inp_val-1);var minus_val=inp_val-1}
jQuery(inp.val(minus_val))
jQuery.ajax({url:aaj_vars.ajax_url,type:"POST",data:{action:"deai_to_cart",pid:pid,minus_val:minus_val},success:function(e){jQuery("#cart_container").html("<div class='reftesh_cart'> <span>در حال بروزرسانی سبد خرید ...</span></div>");var a=window.location.href;jQuery("#cart_container").load(a+" #cart_item_container")}})})
jQuery('.atc_title_cu').on('click',function(dat){dat.preventDefault();var $this=jQuery(this);var pid=$this.parents('.atc_container_cu').data('pid');var cu=$this.parents('.atc_container_cu');var add_items=cu.find('.anc_dn');jQuery.ajax({url:aaj_vars.ajax_url,type:"POST",data:{action:"one_to_cart",pid:pid,},beforeSend:function(e){$this.text('به سبد خرید اضافه شد')},success:function(e){var data=JSON.parse(e)
jQuery('.show_cart_cunt').text(data[1])
jQuery("#cart_container").html("<div class='reftesh_cart'> <span>در حال بروزرسانی سبد خرید ...</span></div>");var a=window.location.href;jQuery("#cart_container").load(a+" #cart_item_container");cu.html(data[0])}})})})
function VMmenu_show(e){var $this=jQuery(e);var vm_li=jQuery('.vm-subMenu > ul > li');vm_li.removeClass('active');$this.addClass('active')}
function VMsub3_show(e){var $this=jQuery(e);var vm3_li=jQuery('.sub3_box > ul > li');vm3_li.removeClass('active');$this.addClass('active')}
jQuery('.vm-subMenu').mouseleave(function(){jQuery('.vm-subMenu  ul  li').removeClass('active')})
jQuery('.sub3_box').mouseleave(function(){jQuery('.sub3_box  ul  li').removeClass('active')})
jQuery(document).ready(function(){jQuery('.vK-tab_slider_head ul li:first-child').addClass('active');jQuery('.vK-tab_slider_head ul li').on('click',function(){var $this=jQuery(this);var all_li=jQuery('.vK-tab_slider_head ul li');all_li.removeClass('active')
$this.addClass('active')
var parents=$this.parents('.vk_tabslider_body');var lis=parents.find('.vK-tab_slider_head li');var li_index=lis.index($this)
var items=parents.find('.vk_tab_style_box');jQuery('.vk_tab_style_slider').css({'opacity':0,'visibility':'hidden','height':'0'})
items.find('.vk_tab_style_slider').eq(li_index).css({'opacity':1,'visibility':'visible','height':'auto'})})})
jQuery(document).ready((function(){jQuery(".owl-item ").hover((function(){var e=jQuery(this),a=e.find(" div > a > .all_product_seller > .seler_slider_item > .additional_item"),t=e.find("div > a > .all_product_seller > .seler_slider_item > img"),r=e.find("div > a > .all_product_seller > .seler_slider_item > img:first"),i=e.find("div > a > .all_product_seller > .seler_slider_item > img:last");r.length;a.css("opacity",1),t.length>1&&(r.addClass("hide_img"),i.removeClass("hide_img"),e.mouseleave((function(){r.removeClass("hide_img"),i.addClass("hide_img"),a.css("opacity",0)})))}))}));(function($){'use strict';$.fn.countdown=function(options){return $.fn.countdown.begin(this,$.extend({year:2016,month:1,day:1,hour:0,minute:0,second:0,timezone:-6,labels:!0,onFinish:function(){}},options))};$.fn.countdown.begin=function(parent,settings){var timespan,start,end;end=new Date(settings.year,settings.month-1,settings.day,settings.hour,settings.minute,settings.second);start=$.fn.countdown.convertTimezone(settings.timezone);timespan=$.fn.countdown.getTimeRemaining(start,end,settings);if(!settings.init){$.each(timespan,function(k,v){var container,wrapper,time,label;container=$('<div/>').addClass('cd_s').attr('class',k);wrapper=$('<div/>').addClass('c_wrapper');time=$('<span/>').addClass('time').text(v<10?'0'+v:v.toLocaleString());if(settings.labels){label=$('<span/>').addClass('label').text((v===1?$.fn.countdown.singularize(k):k));container.append(wrapper.append(time).append(label))}else{container.append(wrapper.append(time))}
parent.append(container.addClass('animated rotateIn'))});settings.init=!0}else{$.each(timespan,function(k,v){$('.time','.'+k).text(v<10?'0'+v:v.toLocaleString());$('.label','.'+k).text((v===1?$.fn.countdown.singularize(k):k))})}
if(settings.target_reached){settings.onFinish()}else{setTimeout(function(){$.fn.countdown.begin(parent,settings)},1000)}};$.fn.countdown.singularize=function(str){return str.substr(0,str.length-1)};$.fn.countdown.convertTimezone=function(timezone){var now,local_time,local_offset,utc;now=new Date();local_time=now.getTime();local_offset=now.getTimezoneOffset()*60000;utc=local_time+local_offset;return new Date(utc+(3600000*timezone))};$.fn.countdown.getTimeRemaining=function(start,end,settings){var timeleft,remaining;remaining={};timeleft=(end.getTime()-start.getTime());timeleft=(timeleft<0?0:timeleft);if(timeleft===0){settings.target_reached=!0}
remaining.days=Math.floor(timeleft/(24*60*60*1000));remaining.hours=Math.floor((timeleft/(24*60*60*1000)-remaining.days)*24);remaining.minutes=Math.floor(((timeleft/(24*60*60*1000)-remaining.days)*24-remaining.hours)*60);remaining.seconds=Math.floor(timeleft/1000%60);return remaining}}(jQuery));jQuery(document).on('input','#min_price',function(){let $this=jQuery(this);let select_val=$this.val();jQuery('.range_input_min').html(select_val);jQuery('.arch_submit_price').addClass('active')})
jQuery(document).on('input','#max_price',function(){let $this=jQuery(this);let select_val=$this.val();jQuery('.range_input_max').html(select_val);jQuery('.arch_submit_price').addClass('active')})
jQuery(document).on('mouseup','#max_price',function(){let terms_parent=jQuery('.v11');let term_each=terms_parent.find('.attr_box');let sort_parent=jQuery('.sort_top_body ul li.active');let sort_data=sort_parent.data('sort');let tax=jQuery('.hide_stock').data('tax');let tslug=jQuery('.hide_stock').data('tslug');let attr_active=[];term_each.each(function(){let $this=jQuery(this);let term_active=$this.find('.attr_drop ul li.active');if(term_active.length){let term_array=[];let tax_key=$this.data('key')
term_array.push(tax_key);term_active.each(function(){let $x=jQuery(this);let term_key=$x.data('termkey');term_array.push(term_key)});attr_active.push(term_array)}})
var e=jQuery(this),a=e.val(),t=jQuery("#min_price").val(),f=jQuery("#max_price").val(),tag=e.data('tag'),cat=e.data('cat'),g=jQuery(".hiddent_cat").data('ims'),isp=jQuery(".instock_bot").hasClass("active")?"on":"off";jQuery.ajax({url:ajax_data.aju,type:"POST",data:{action:"product_price_filter",terms:attr_active,min_price:t,max_price:f,cat:cat,tag:tag,ims:g,isp:isp,sort:sort_data,tax:tax,tslug:tslug},beforeSend:function(){jQuery("#dark").fadeIn()},success:function(e){jQuery("#dark").fadeOut(),jQuery(".www").html(e.data.html)}})})
jQuery(document).on('mouseup','#min_price',function(){let terms_parent=jQuery('.v11');let term_each=terms_parent.find('.attr_box');let sort_parent=jQuery('.sort_top_body ul li.active');let sort_data=sort_parent.data('sort');let tax=jQuery('.hide_stock').data('tax');let tslug=jQuery('.hide_stock').data('tslug');let attr_active=[];term_each.each(function(){let $this=jQuery(this);let term_active=$this.find('.attr_drop ul li.active');if(term_active.length){let term_array=[];let tax_key=$this.data('key')
term_array.push(tax_key);term_active.each(function(){let $x=jQuery(this);let term_key=$x.data('termkey');term_array.push(term_key)});attr_active.push(term_array)}})
var e=jQuery(this),a=e.val(),t=jQuery("#min_price").val(),f=jQuery("#max_price").val(),tag=e.data('tag'),cat=e.data('cat'),g=jQuery(".hiddent_cat").data('ims'),isp=jQuery(".instock_bot").hasClass("active")?"on":"off";jQuery.ajax({url:ajax_data.aju,type:"POST",data:{action:"product_price_filter",terms:attr_active,min_price:t,max_price:f,cat:cat,tag:tag,ims:g,isp:isp,sort:sort_data,tax:tax,tslug:tslug},beforeSend:function(){jQuery("#dark").fadeIn()},success:function(e){jQuery("#dark").fadeOut(),jQuery(".www").html(e.data.html)}})});/*!
 * jQuery blockUI plugin
 * Version 2.70.0-2014.11.23
 * Requires jQuery v1.7 or later
 *
 * Examples at: http://malsup.com/jquery/block/
 * Copyright (c) 2007-2013 M. Alsup
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 *
 * Thanks to Amir-Hossein Sobhi for some excellent contributions!
 */
!function(){"use strict";function e(e){e.fn._fadeIn=e.fn.fadeIn;var t=e.noop||function(){},o=/MSIE/.test(navigator.userAgent),n=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),i=(document.documentMode,"function"==typeof document.createElement("div").style.setExpression&&document.createElement("div").style.setExpression);e.blockUI=function(e){d(window,e)},e.unblockUI=function(e){a(window,e)},e.growlUI=function(t,o,n,i){var s=e('<div class="growlUI"></div>');t&&s.append("<h1>"+t+"</h1>"),o&&s.append("<h2>"+o+"</h2>"),n===undefined&&(n=3e3);var l=function(t){t=t||{},e.blockUI({message:s,fadeIn:"undefined"!=typeof t.fadeIn?t.fadeIn:700,fadeOut:"undefined"!=typeof t.fadeOut?t.fadeOut:1e3,timeout:"undefined"!=typeof t.timeout?t.timeout:n,centerY:!1,showOverlay:!1,onUnblock:i,css:e.blockUI.defaults.growlCSS})};l();s.css("opacity");s.on("mouseover",function(){l({fadeIn:0,timeout:3e4});var t=e(".blockMsg");t.stop(),t.fadeTo(300,1)}).on("mouseout",function(){e(".blockMsg").fadeOut(1e3)})},e.fn.block=function(t){if(this[0]===window)return e.blockUI(t),this;var o=e.extend({},e.blockUI.defaults,t||{});return this.each(function(){var t=e(this);o.ignoreIfBlocked&&t.data("blockUI.isBlocked")||t.unblock({fadeOut:0})}),this.each(function(){"static"==e.css(this,"position")&&(this.style.position="relative",e(this).data("blockUI.static",!0)),this.style.zoom=1,d(this,t)})},e.fn.unblock=function(t){return this[0]===window?(e.unblockUI(t),this):this.each(function(){a(this,t)})},e.blockUI.version=2.7,e.blockUI.defaults={message:"<h1>Please wait...</h1>",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var s=null,l=[];function d(d,c){var u,b,h=d==window,k=c&&c.message!==undefined?c.message:undefined;if(!(c=e.extend({},e.blockUI.defaults,c||{})).ignoreIfBlocked||!e(d).data("blockUI.isBlocked")){if(c.overlayCSS=e.extend({},e.blockUI.defaults.overlayCSS,c.overlayCSS||{}),u=e.extend({},e.blockUI.defaults.css,c.css||{}),c.onOverlayClick&&(c.overlayCSS.cursor="pointer"),b=e.extend({},e.blockUI.defaults.themedCSS,c.themedCSS||{}),k=k===undefined?c.message:k,h&&s&&a(window,{fadeOut:0}),k&&"string"!=typeof k&&(k.parentNode||k.jquery)){var y=k.jquery?k[0]:k,m={};e(d).data("blockUI.history",m),m.el=y,m.parent=y.parentNode,m.display=y.style.display,m.position=y.style.position,m.parent&&m.parent.removeChild(y)}e(d).data("blockUI.onUnblock",c.onUnblock);var g,v,I,w,U=c.baseZ;g=o||c.forceIframe?e('<iframe class="blockUI" style="z-index:'+U+++';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+c.iframeSrc+'"></iframe>'):e('<div class="blockUI" style="display:none"></div>'),v=c.theme?e('<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:'+U+++';display:none"></div>'):e('<div class="blockUI blockOverlay" style="z-index:'+U+++';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>'),c.theme&&h?(w='<div class="blockUI '+c.blockMsgClass+' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+(U+10)+';display:none;position:fixed">',c.title&&(w+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(c.title||"&nbsp;")+"</div>"),w+='<div class="ui-widget-content ui-dialog-content"></div>',w+="</div>"):c.theme?(w='<div class="blockUI '+c.blockMsgClass+' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+(U+10)+';display:none;position:absolute">',c.title&&(w+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(c.title||"&nbsp;")+"</div>"),w+='<div class="ui-widget-content ui-dialog-content"></div>',w+="</div>"):w=h?'<div class="blockUI '+c.blockMsgClass+' blockPage" style="z-index:'+(U+10)+';display:none;position:fixed"></div>':'<div class="blockUI '+c.blockMsgClass+' blockElement" style="z-index:'+(U+10)+';display:none;position:absolute"></div>',I=e(w),k&&(c.theme?(I.css(b),I.addClass("ui-widget-content")):I.css(u)),c.theme||v.css(c.overlayCSS),v.css("position",h?"fixed":"absolute"),(o||c.forceIframe)&&g.css("opacity",0);var x=[g,v,I],C=e(h?"body":d);e.each(x,function(){this.appendTo(C)}),c.theme&&c.draggable&&e.fn.draggable&&I.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var S=i&&(!e.support.boxModel||e("object,embed",h?null:d).length>0);if(n||S){if(h&&c.allowBodyStretch&&e.support.boxModel&&e("html,body").css("height","100%"),(n||!e.support.boxModel)&&!h)var E=p(d,"borderTopWidth"),O=p(d,"borderLeftWidth"),T=E?"(0 - "+E+")":0,M=O?"(0 - "+O+")":0;e.each(x,function(e,t){var o=t[0].style;if(o.position="absolute",e<2)h?o.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+c.quirksmodeOffsetHack+') + "px"'):o.setExpression("height",'this.parentNode.offsetHeight + "px"'),h?o.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):o.setExpression("width",'this.parentNode.offsetWidth + "px"'),M&&o.setExpression("left",M),T&&o.setExpression("top",T);else if(c.centerY)h&&o.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),o.marginTop=0;else if(!c.centerY&&h){var n="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+(c.css&&c.css.top?parseInt(c.css.top,10):0)+') + "px"';o.setExpression("top",n)}})}if(k&&(c.theme?I.find(".ui-widget-content").append(k):I.append(k),(k.jquery||k.nodeType)&&e(k).show()),(o||c.forceIframe)&&c.showOverlay&&g.show(),c.fadeIn){var B=c.onBlock?c.onBlock:t,j=c.showOverlay&&!k?B:t,H=k?B:t;c.showOverlay&&v._fadeIn(c.fadeIn,j),k&&I._fadeIn(c.fadeIn,H)}else c.showOverlay&&v.show(),k&&I.show(),c.onBlock&&c.onBlock.bind(I)();if(r(1,d,c),h?(s=I[0],l=e(c.focusableElements,s),c.focusInput&&setTimeout(f,20)):function(e,t,o){var n=e.parentNode,i=e.style,s=(n.offsetWidth-e.offsetWidth)/2-p(n,"borderLeftWidth"),l=(n.offsetHeight-e.offsetHeight)/2-p(n,"borderTopWidth");t&&(i.left=s>0?s+"px":"0");o&&(i.top=l>0?l+"px":"0")}(I[0],c.centerX,c.centerY),c.timeout){var z=setTimeout(function(){h?e.unblockUI(c):e(d).unblock(c)},c.timeout);e(d).data("blockUI.timeout",z)}}}function a(t,o){var n,i,d=t==window,a=e(t),u=a.data("blockUI.history"),f=a.data("blockUI.timeout");f&&(clearTimeout(f),a.removeData("blockUI.timeout")),o=e.extend({},e.blockUI.defaults,o||{}),r(0,t,o),null===o.onUnblock&&(o.onUnblock=a.data("blockUI.onUnblock"),a.removeData("blockUI.onUnblock")),i=d?e(document.body).children().filter(".blockUI").add("body > .blockUI"):a.find(">.blockUI"),o.cursorReset&&(i.length>1&&(i[1].style.cursor=o.cursorReset),i.length>2&&(i[2].style.cursor=o.cursorReset)),d&&(s=l=null),o.fadeOut?(n=i.length,i.stop().fadeOut(o.fadeOut,function(){0==--n&&c(i,u,o,t)})):c(i,u,o,t)}function c(t,o,n,i){var s=e(i);if(!s.data("blockUI.isBlocked")){t.each(function(e,t){this.parentNode&&this.parentNode.removeChild(this)}),o&&o.el&&(o.el.style.display=o.display,o.el.style.position=o.position,o.el.style.cursor="default",o.parent&&o.parent.appendChild(o.el),s.removeData("blockUI.history")),s.data("blockUI.static")&&s.css("position","static"),"function"==typeof n.onUnblock&&n.onUnblock(i,n);var l=e(document.body),d=l.width(),a=l[0].style.width;l.width(d-1).width(d),l[0].style.width=a}}function r(t,o,n){var i=o==window,l=e(o);if((t||(!i||s)&&(i||l.data("blockUI.isBlocked")))&&(l.data("blockUI.isBlocked",t),i&&n.bindEvents&&(!t||n.showOverlay))){var d="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";t?e(document).on(d,n,u):e(document).off(d,u)}}function u(t){if("keydown"===t.type&&t.keyCode&&9==t.keyCode&&s&&t.data.constrainTabKey){var o=l,n=!t.shiftKey&&t.target===o[o.length-1],i=t.shiftKey&&t.target===o[0];if(n||i)return setTimeout(function(){f(i)},10),!1}var d=t.data,a=e(t.target);return a.hasClass("blockOverlay")&&d.onOverlayClick&&d.onOverlayClick(t),a.parents("div."+d.blockMsgClass).length>0||0===a.parents().children().filter("div.blockUI").length}function f(e){if(l){var t=l[!0===e?l.length-1:0];t&&t.trigger("focus")}}function p(t,o){return parseInt(e.css(t,o),10)||0}}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],e):e(jQuery)}();jQuery(function(t){if("undefined"==typeof wc_add_to_cart_params)return!1;var a=function(){this.requests=[],this.addRequest=this.addRequest.bind(this),this.run=this.run.bind(this),t(document.body).on("click",".add_to_cart_button",{addToCartHandler:this},this.onAddToCart).on("click",".remove_from_cart_button",{addToCartHandler:this},this.onRemoveFromCart).on("added_to_cart",this.updateButton).on("ajax_request_not_sent.adding_to_cart",this.updateButton).on("added_to_cart removed_from_cart",{addToCartHandler:this},this.updateFragments)};a.prototype.addRequest=function(t){this.requests.push(t),1===this.requests.length&&this.run()},a.prototype.run=function(){var a=this,e=a.requests[0].complete;a.requests[0].complete=function(){"function"==typeof e&&e(),a.requests.shift(),a.requests.length>0&&a.run()},t.ajax(this.requests[0])},a.prototype.onAddToCart=function(a){var e=t(this);if(e.is(".ajax_add_to_cart")){if(!e.attr("data-product_id"))return!0;if(a.preventDefault(),e.removeClass("added"),e.addClass("loading"),!1===t(document.body).triggerHandler("should_send_ajax_request.adding_to_cart",[e]))return t(document.body).trigger("ajax_request_not_sent.adding_to_cart",[!1,!1,e]),!0;var r={};t.each(e.data(),function(t,a){r[t]=a}),t.each(e[0].dataset,function(t,a){r[t]=a}),t(document.body).trigger("adding_to_cart",[e,r]),a.data.addToCartHandler.addRequest({type:"POST",url:wc_add_to_cart_params.wc_ajax_url.toString().replace("%%endpoint%%","add_to_cart"),data:r,success:function(a){a&&(a.error&&a.product_url?window.location=a.product_url:"yes"!==wc_add_to_cart_params.cart_redirect_after_add?t(document.body).trigger("added_to_cart",[a.fragments,a.cart_hash,e]):window.location=wc_add_to_cart_params.cart_url)},dataType:"json"})}},a.prototype.onRemoveFromCart=function(a){var e=t(this),r=e.closest(".woocommerce-mini-cart-item");a.preventDefault(),r.block({message:null,overlayCSS:{opacity:.6}}),a.data.addToCartHandler.addRequest({type:"POST",url:wc_add_to_cart_params.wc_ajax_url.toString().replace("%%endpoint%%","remove_from_cart"),data:{cart_item_key:e.data("cart_item_key")},success:function(a){a&&a.fragments?t(document.body).trigger("removed_from_cart",[a.fragments,a.cart_hash,e]):window.location=e.attr("href")},error:function(){window.location=e.attr("href")},dataType:"json"})},a.prototype.updateButton=function(a,e,r,d){(d=void 0!==d&&d)&&(d.removeClass("loading"),e&&d.addClass("added"),e&&!wc_add_to_cart_params.is_cart&&0===d.parent().find(".added_to_cart").length&&d.after('<a href="'+wc_add_to_cart_params.cart_url+'" class="added_to_cart wc-forward" title="'+wc_add_to_cart_params.i18n_view_cart+'">'+wc_add_to_cart_params.i18n_view_cart+"</a>"),t(document.body).trigger("wc_cart_button_updated",[d]))},a.prototype.updateFragments=function(a,e){e&&(t.each(e,function(a){t(a).addClass("updating").fadeTo("400","0.6").block({message:null,overlayCSS:{opacity:.6}})}),t.each(e,function(a,e){t(a).replaceWith(e),t(a).stop(!0).css("opacity","1").unblock()}),t(document.body).trigger("wc_fragments_loaded"))},new a});/*!
 * JavaScript Cookie v2.1.4
 * https://github.com/js-cookie/js-cookie
 *
 * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
 * Released under the MIT license
 */
!function(e){var n=!1;if("function"==typeof define&&define.amd&&(define(e),n=!0),"object"==typeof exports&&(module.exports=e(),n=!0),!n){var o=window.Cookies,t=window.Cookies=e();t.noConflict=function(){return window.Cookies=o,t}}}(function(){function e(){for(var e=0,n={};e<arguments.length;e++){var o=arguments[e];for(var t in o)n[t]=o[t]}return n}return function n(o){function t(n,r,i){var c;if("undefined"!=typeof document){if(arguments.length>1){if("number"==typeof(i=e({path:"/"},t.defaults,i)).expires){var a=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*i.expires),i.expires=a}i.expires=i.expires?i.expires.toUTCString():"";try{c=JSON.stringify(r),/^[\{\[]/.test(c)&&(r=c)}catch(m){}r=o.write?o.write(r,n):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),n=(n=(n=encodeURIComponent(String(n))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var f="";for(var s in i)i[s]&&(f+="; "+s,!0!==i[s]&&(f+="="+i[s]));return document.cookie=n+"="+r+f}n||(c={});for(var p=document.cookie?document.cookie.split("; "):[],d=/(%[0-9A-Z]{2})+/g,u=0;u<p.length;u++){var l=p[u].split("="),C=l.slice(1).join("=");'"'===C.charAt(0)&&(C=C.slice(1,-1));try{var g=l[0].replace(d,decodeURIComponent);if(C=o.read?o.read(C,g):o(C,g)||C.replace(d,decodeURIComponent),this.json)try{C=JSON.parse(C)}catch(m){}if(n===g){c=C;break}n||(c[g]=C)}catch(m){}}return c}}return t.set=t,t.get=function(e){return t.call(t,e)},t.getJSON=function(){return t.apply({json:!0},[].slice.call(arguments))},t.defaults={},t.remove=function(n,o){t(n,"",e(o,{expires:-1}))},t.withConverter=n,t}(function(){})});jQuery(function(o){o(".woocommerce-ordering").on("change","select.orderby",function(){o(this).closest("form").trigger("submit")}),o("input.qty:not(.product-quantity input.qty)").each(function(){var e=parseFloat(o(this).attr("min"));e>=0&&parseFloat(o(this).val())<e&&o(this).val(e)});var e="store_notice"+(o(".woocommerce-store-notice").data("noticeId")||"");"hidden"===Cookies.get(e)?o(".woocommerce-store-notice").hide():o(".woocommerce-store-notice").show(),o(".woocommerce-store-notice__dismiss-link").on("click",function(s){Cookies.set(e,"hidden",{path:"/"}),o(".woocommerce-store-notice").hide(),s.preventDefault()}),o(".woocommerce-input-wrapper span.description").length&&o(document.body).on("click",function(){o(".woocommerce-input-wrapper span.description:visible").prop("aria-hidden",!0).slideUp(250)}),o(".woocommerce-input-wrapper").on("click",function(o){o.stopPropagation()}),o(".woocommerce-input-wrapper :input").on("keydown",function(e){var s=o(this).parent().find("span.description");if(27===e.which&&s.length&&s.is(":visible"))return s.prop("aria-hidden",!0).slideUp(250),e.preventDefault(),!1}).on("click focus",function(){var e=o(this).parent(),s=e.find("span.description");e.addClass("currentTarget"),o(".woocommerce-input-wrapper:not(.currentTarget) span.description:visible").prop("aria-hidden",!0).slideUp(250),s.length&&s.is(":hidden")&&s.prop("aria-hidden",!1).slideDown(250),e.removeClass("currentTarget")}),o.scroll_to_notices=function(e){e.length&&o("html, body").animate({scrollTop:e.offset().top-100},1e3)},o('.woocommerce form .woocommerce-Input[type="password"]').wrap('<span class="password-input"></span>'),o(".woocommerce form input").filter(":password").parent("span").addClass("password-input"),o(".password-input").append('<span class="show-password-input"></span>'),o(".show-password-input").on("click",function(){o(this).hasClass("display-password")?o(this).removeClass("display-password"):o(this).addClass("display-password"),o(this).hasClass("display-password")?o(this).siblings(['input[type="password"]']).prop("type","text"):o(this).siblings('input[type="text"]').prop("type","password")})});/*!
 * Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com
 * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
 */
(function(){var l,a;l=this,a=function(){"use strict";var l={},a={};try{"undefined"!=typeof window&&(l=window),"undefined"!=typeof document&&(a=document)}catch(l){}var e=(l.navigator||{}).userAgent,r=void 0===e?"":e,n=l,o=a,u=(n.document,!!o.documentElement&&!!o.head&&"function"==typeof o.addEventListener&&o.createElement,~r.indexOf("MSIE")||r.indexOf("Trident/"),"___FONT_AWESOME___"),t=function(){try{return"production"===process.env.NODE_ENV}catch(l){return!1}}();var f=n||{};f[u]||(f[u]={}),f[u].styles||(f[u].styles={}),f[u].hooks||(f[u].hooks={}),f[u].shims||(f[u].shims=[]);var i=f[u],s=[["glass",null,"glass-martini"],["meetup","fab",null],["star-o","far","star"],["remove",null,"times"],["close",null,"times"],["gear",null,"cog"],["trash-o","far","trash-alt"],["file-o","far","file"],["clock-o","far","clock"],["arrow-circle-o-down","far","arrow-alt-circle-down"],["arrow-circle-o-up","far","arrow-alt-circle-up"],["play-circle-o","far","play-circle"],["repeat",null,"redo"],["rotate-right",null,"redo"],["refresh",null,"sync"],["list-alt","far",null],["dedent",null,"outdent"],["video-camera",null,"video"],["picture-o","far","image"],["photo","far","image"],["image","far","image"],["pencil",null,"pencil-alt"],["map-marker",null,"map-marker-alt"],["pencil-square-o","far","edit"],["share-square-o","far","share-square"],["check-square-o","far","check-square"],["arrows",null,"arrows-alt"],["times-circle-o","far","times-circle"],["check-circle-o","far","check-circle"],["mail-forward",null,"share"],["expand",null,"expand-alt"],["compress",null,"compress-alt"],["eye","far",null],["eye-slash","far",null],["warning",null,"exclamation-triangle"],["calendar",null,"calendar-alt"],["arrows-v",null,"arrows-alt-v"],["arrows-h",null,"arrows-alt-h"],["bar-chart","far","chart-bar"],["bar-chart-o","far","chart-bar"],["twitter-square","fab",null],["facebook-square","fab",null],["gears",null,"cogs"],["thumbs-o-up","far","thumbs-up"],["thumbs-o-down","far","thumbs-down"],["heart-o","far","heart"],["sign-out",null,"sign-out-alt"],["linkedin-square","fab","linkedin"],["thumb-tack",null,"thumbtack"],["external-link",null,"external-link-alt"],["sign-in",null,"sign-in-alt"],["github-square","fab",null],["lemon-o","far","lemon"],["square-o","far","square"],["bookmark-o","far","bookmark"],["twitter","fab",null],["facebook","fab","facebook-f"],["facebook-f","fab","facebook-f"],["github","fab",null],["credit-card","far",null],["feed",null,"rss"],["hdd-o","far","hdd"],["hand-o-right","far","hand-point-right"],["hand-o-left","far","hand-point-left"],["hand-o-up","far","hand-point-up"],["hand-o-down","far","hand-point-down"],["arrows-alt",null,"expand-arrows-alt"],["group",null,"users"],["chain",null,"link"],["scissors",null,"cut"],["files-o","far","copy"],["floppy-o","far","save"],["navicon",null,"bars"],["reorder",null,"bars"],["pinterest","fab",null],["pinterest-square","fab",null],["google-plus-square","fab",null],["google-plus","fab","google-plus-g"],["money","far","money-bill-alt"],["unsorted",null,"sort"],["sort-desc",null,"sort-down"],["sort-asc",null,"sort-up"],["linkedin","fab","linkedin-in"],["rotate-left",null,"undo"],["legal",null,"gavel"],["tachometer",null,"tachometer-alt"],["dashboard",null,"tachometer-alt"],["comment-o","far","comment"],["comments-o","far","comments"],["flash",null,"bolt"],["clipboard","far",null],["paste","far","clipboard"],["lightbulb-o","far","lightbulb"],["exchange",null,"exchange-alt"],["cloud-download",null,"cloud-download-alt"],["cloud-upload",null,"cloud-upload-alt"],["bell-o","far","bell"],["cutlery",null,"utensils"],["file-text-o","far","file-alt"],["building-o","far","building"],["hospital-o","far","hospital"],["tablet",null,"tablet-alt"],["mobile",null,"mobile-alt"],["mobile-phone",null,"mobile-alt"],["circle-o","far","circle"],["mail-reply",null,"reply"],["github-alt","fab",null],["folder-o","far","folder"],["folder-open-o","far","folder-open"],["smile-o","far","smile"],["frown-o","far","frown"],["meh-o","far","meh"],["keyboard-o","far","keyboard"],["flag-o","far","flag"],["mail-reply-all",null,"reply-all"],["star-half-o","far","star-half"],["star-half-empty","far","star-half"],["star-half-full","far","star-half"],["code-fork",null,"code-branch"],["chain-broken",null,"unlink"],["shield",null,"shield-alt"],["calendar-o","far","calendar"],["maxcdn","fab",null],["html5","fab",null],["css3","fab",null],["ticket",null,"ticket-alt"],["minus-square-o","far","minus-square"],["level-up",null,"level-up-alt"],["level-down",null,"level-down-alt"],["pencil-square",null,"pen-square"],["external-link-square",null,"external-link-square-alt"],["compass","far",null],["caret-square-o-down","far","caret-square-down"],["toggle-down","far","caret-square-down"],["caret-square-o-up","far","caret-square-up"],["toggle-up","far","caret-square-up"],["caret-square-o-right","far","caret-square-right"],["toggle-right","far","caret-square-right"],["eur",null,"euro-sign"],["euro",null,"euro-sign"],["gbp",null,"pound-sign"],["usd",null,"dollar-sign"],["dollar",null,"dollar-sign"],["inr",null,"rupee-sign"],["rupee",null,"rupee-sign"],["jpy",null,"yen-sign"],["cny",null,"yen-sign"],["rmb",null,"yen-sign"],["yen",null,"yen-sign"],["rub",null,"ruble-sign"],["ruble",null,"ruble-sign"],["rouble",null,"ruble-sign"],["krw",null,"won-sign"],["won",null,"won-sign"],["btc","fab",null],["bitcoin","fab","btc"],["file-text",null,"file-alt"],["sort-alpha-asc",null,"sort-alpha-down"],["sort-alpha-desc",null,"sort-alpha-down-alt"],["sort-amount-asc",null,"sort-amount-down"],["sort-amount-desc",null,"sort-amount-down-alt"],["sort-numeric-asc",null,"sort-numeric-down"],["sort-numeric-desc",null,"sort-numeric-down-alt"],["youtube-square","fab",null],["youtube","fab",null],["xing","fab",null],["xing-square","fab",null],["youtube-play","fab","youtube"],["dropbox","fab",null],["stack-overflow","fab",null],["instagram","fab",null],["flickr","fab",null],["adn","fab",null],["bitbucket","fab",null],["bitbucket-square","fab","bitbucket"],["tumblr","fab",null],["tumblr-square","fab",null],["long-arrow-down",null,"long-arrow-alt-down"],["long-arrow-up",null,"long-arrow-alt-up"],["long-arrow-left",null,"long-arrow-alt-left"],["long-arrow-right",null,"long-arrow-alt-right"],["apple","fab",null],["windows","fab",null],["android","fab",null],["linux","fab",null],["dribbble","fab",null],["skype","fab",null],["foursquare","fab",null],["trello","fab",null],["gratipay","fab",null],["gittip","fab","gratipay"],["sun-o","far","sun"],["moon-o","far","moon"],["vk","fab",null],["weibo","fab",null],["renren","fab",null],["pagelines","fab",null],["stack-exchange","fab",null],["arrow-circle-o-right","far","arrow-alt-circle-right"],["arrow-circle-o-left","far","arrow-alt-circle-left"],["caret-square-o-left","far","caret-square-left"],["toggle-left","far","caret-square-left"],["dot-circle-o","far","dot-circle"],["vimeo-square","fab",null],["try",null,"lira-sign"],["turkish-lira",null,"lira-sign"],["plus-square-o","far","plus-square"],["slack","fab",null],["wordpress","fab",null],["openid","fab",null],["institution",null,"university"],["bank",null,"university"],["mortar-board",null,"graduation-cap"],["yahoo","fab",null],["google","fab",null],["reddit","fab",null],["reddit-square","fab",null],["stumbleupon-circle","fab",null],["stumbleupon","fab",null],["delicious","fab",null],["digg","fab",null],["pied-piper-pp","fab",null],["pied-piper-alt","fab",null],["drupal","fab",null],["joomla","fab",null],["spoon",null,"utensil-spoon"],["behance","fab",null],["behance-square","fab",null],["steam","fab",null],["steam-square","fab",null],["automobile",null,"car"],["envelope-o","far","envelope"],["spotify","fab",null],["deviantart","fab",null],["soundcloud","fab",null],["file-pdf-o","far","file-pdf"],["file-word-o","far","file-word"],["file-excel-o","far","file-excel"],["file-powerpoint-o","far","file-powerpoint"],["file-image-o","far","file-image"],["file-photo-o","far","file-image"],["file-picture-o","far","file-image"],["file-archive-o","far","file-archive"],["file-zip-o","far","file-archive"],["file-audio-o","far","file-audio"],["file-sound-o","far","file-audio"],["file-video-o","far","file-video"],["file-movie-o","far","file-video"],["file-code-o","far","file-code"],["vine","fab",null],["codepen","fab",null],["jsfiddle","fab",null],["life-ring","far",null],["life-bouy","far","life-ring"],["life-buoy","far","life-ring"],["life-saver","far","life-ring"],["support","far","life-ring"],["circle-o-notch",null,"circle-notch"],["rebel","fab",null],["ra","fab","rebel"],["resistance","fab","rebel"],["empire","fab",null],["ge","fab","empire"],["git-square","fab",null],["git","fab",null],["hacker-news","fab",null],["y-combinator-square","fab","hacker-news"],["yc-square","fab","hacker-news"],["tencent-weibo","fab",null],["qq","fab",null],["weixin","fab",null],["wechat","fab","weixin"],["send",null,"paper-plane"],["paper-plane-o","far","paper-plane"],["send-o","far","paper-plane"],["circle-thin","far","circle"],["header",null,"heading"],["sliders",null,"sliders-h"],["futbol-o","far","futbol"],["soccer-ball-o","far","futbol"],["slideshare","fab",null],["twitch","fab",null],["yelp","fab",null],["newspaper-o","far","newspaper"],["paypal","fab",null],["google-wallet","fab",null],["cc-visa","fab",null],["cc-mastercard","fab",null],["cc-discover","fab",null],["cc-amex","fab",null],["cc-paypal","fab",null],["cc-stripe","fab",null],["bell-slash-o","far","bell-slash"],["trash",null,"trash-alt"],["copyright","far",null],["eyedropper",null,"eye-dropper"],["area-chart",null,"chart-area"],["pie-chart",null,"chart-pie"],["line-chart",null,"chart-line"],["lastfm","fab",null],["lastfm-square","fab",null],["ioxhost","fab",null],["angellist","fab",null],["cc","far","closed-captioning"],["ils",null,"shekel-sign"],["shekel",null,"shekel-sign"],["sheqel",null,"shekel-sign"],["meanpath","fab","font-awesome"],["buysellads","fab",null],["connectdevelop","fab",null],["dashcube","fab",null],["forumbee","fab",null],["leanpub","fab",null],["sellsy","fab",null],["shirtsinbulk","fab",null],["simplybuilt","fab",null],["skyatlas","fab",null],["diamond","far","gem"],["intersex",null,"transgender"],["facebook-official","fab","facebook"],["pinterest-p","fab",null],["whatsapp","fab",null],["hotel",null,"bed"],["viacoin","fab",null],["medium","fab",null],["y-combinator","fab",null],["yc","fab","y-combinator"],["optin-monster","fab",null],["opencart","fab",null],["expeditedssl","fab",null],["battery-4",null,"battery-full"],["battery",null,"battery-full"],["battery-3",null,"battery-three-quarters"],["battery-2",null,"battery-half"],["battery-1",null,"battery-quarter"],["battery-0",null,"battery-empty"],["object-group","far",null],["object-ungroup","far",null],["sticky-note-o","far","sticky-note"],["cc-jcb","fab",null],["cc-diners-club","fab",null],["clone","far",null],["hourglass-o","far","hourglass"],["hourglass-1",null,"hourglass-start"],["hourglass-2",null,"hourglass-half"],["hourglass-3",null,"hourglass-end"],["hand-rock-o","far","hand-rock"],["hand-grab-o","far","hand-rock"],["hand-paper-o","far","hand-paper"],["hand-stop-o","far","hand-paper"],["hand-scissors-o","far","hand-scissors"],["hand-lizard-o","far","hand-lizard"],["hand-spock-o","far","hand-spock"],["hand-pointer-o","far","hand-pointer"],["hand-peace-o","far","hand-peace"],["registered","far",null],["creative-commons","fab",null],["gg","fab",null],["gg-circle","fab",null],["tripadvisor","fab",null],["odnoklassniki","fab",null],["odnoklassniki-square","fab",null],["get-pocket","fab",null],["wikipedia-w","fab",null],["safari","fab",null],["chrome","fab",null],["firefox","fab",null],["opera","fab",null],["internet-explorer","fab",null],["television",null,"tv"],["contao","fab",null],["500px","fab",null],["amazon","fab",null],["calendar-plus-o","far","calendar-plus"],["calendar-minus-o","far","calendar-minus"],["calendar-times-o","far","calendar-times"],["calendar-check-o","far","calendar-check"],["map-o","far","map"],["commenting",null,"comment-dots"],["commenting-o","far","comment-dots"],["houzz","fab",null],["vimeo","fab","vimeo-v"],["black-tie","fab",null],["fonticons","fab",null],["reddit-alien","fab",null],["edge","fab",null],["credit-card-alt",null,"credit-card"],["codiepie","fab",null],["modx","fab",null],["fort-awesome","fab",null],["usb","fab",null],["product-hunt","fab",null],["mixcloud","fab",null],["scribd","fab",null],["pause-circle-o","far","pause-circle"],["stop-circle-o","far","stop-circle"],["bluetooth","fab",null],["bluetooth-b","fab",null],["gitlab","fab",null],["wpbeginner","fab",null],["wpforms","fab",null],["envira","fab",null],["wheelchair-alt","fab","accessible-icon"],["question-circle-o","far","question-circle"],["volume-control-phone",null,"phone-volume"],["asl-interpreting",null,"american-sign-language-interpreting"],["deafness",null,"deaf"],["hard-of-hearing",null,"deaf"],["glide","fab",null],["glide-g","fab",null],["signing",null,"sign-language"],["viadeo","fab",null],["viadeo-square","fab",null],["snapchat","fab",null],["snapchat-ghost","fab",null],["snapchat-square","fab",null],["pied-piper","fab",null],["first-order","fab",null],["yoast","fab",null],["themeisle","fab",null],["google-plus-official","fab","google-plus"],["google-plus-circle","fab","google-plus"],["font-awesome","fab",null],["fa","fab","font-awesome"],["handshake-o","far","handshake"],["envelope-open-o","far","envelope-open"],["linode","fab",null],["address-book-o","far","address-book"],["vcard",null,"address-card"],["address-card-o","far","address-card"],["vcard-o","far","address-card"],["user-circle-o","far","user-circle"],["user-o","far","user"],["id-badge","far",null],["drivers-license",null,"id-card"],["id-card-o","far","id-card"],["drivers-license-o","far","id-card"],["quora","fab",null],["free-code-camp","fab",null],["telegram","fab",null],["thermometer-4",null,"thermometer-full"],["thermometer",null,"thermometer-full"],["thermometer-3",null,"thermometer-three-quarters"],["thermometer-2",null,"thermometer-half"],["thermometer-1",null,"thermometer-quarter"],["thermometer-0",null,"thermometer-empty"],["bathtub",null,"bath"],["s15",null,"bath"],["window-maximize","far",null],["window-restore","far",null],["times-rectangle",null,"window-close"],["window-close-o","far","window-close"],["times-rectangle-o","far","window-close"],["bandcamp","fab",null],["grav","fab",null],["etsy","fab",null],["imdb","fab",null],["ravelry","fab",null],["eercast","fab","sellcast"],["snowflake-o","far","snowflake"],["superpowers","fab",null],["wpexplorer","fab",null],["cab",null,"taxi"]];return function(l){try{l()}catch(l){if(!t)throw l}}(function(){var l;"function"==typeof i.hooks.addShims?i.hooks.addShims(s):(l=i.shims).push.apply(l,s)}),s},"object"==typeof exports&&"undefined"!=typeof module?module.exports=a():"function"==typeof define&&define.amd?define(a):l["fontawesome-free-shims"]=a()})();document.oncontextmenu=function(event){if(event.target.tagName!='INPUT'&&event.target.tagName!='TEXTAREA'){event.preventDefault()}};document.ondragstart=function(){if(event.target.tagName!='INPUT'&&event.target.tagName!='TEXTAREA'){event.preventDefault()}};const lazyloadRunObserver=()=>{const lazyloadBackgrounds=document.querySelectorAll(`.e-con.e-parent:not(.e-lazyloaded)`);const lazyloadBackgroundObserver=new IntersectionObserver((entries)=>{entries.forEach((entry)=>{if(entry.isIntersecting){let lazyloadBackground=entry.target;if(lazyloadBackground){lazyloadBackground.classList.add('e-lazyloaded')}
lazyloadBackgroundObserver.unobserve(entry.target)}})},{rootMargin:'200px 0px 200px 0px'});lazyloadBackgrounds.forEach((lazyloadBackground)=>{lazyloadBackgroundObserver.observe(lazyloadBackground)})};const events=['DOMContentLoaded','elementor/lazyload/observe',];events.forEach((event)=>{document.addEventListener(event,lazyloadRunObserver)});(function(){var c=document.body.className;c=c.replace(/woocommerce-no-js/,'woocommerce-js');document.body.className=c})();window.$crisp=[];if(!window.CRISP_RUNTIME_CONFIG){window.CRISP_RUNTIME_CONFIG={}}
if(!window.CRISP_RUNTIME_CONFIG.locale){window.CRISP_RUNTIME_CONFIG.locale='fa-ir'}
CRISP_WEBSITE_ID='190c534e-d510-4ea0-8e91-d7442dad3d8a';(function(){try{new(function(){function t(){var t,i=this;try{this.ns="CrispLoader",this.n={warn:function(t,i){},error:function(t,i){},info:function(t,i){},log:function(t,i){},debug:function(t,i){}},this.s=!1,this.f="crisp-client",this.w="client.crisp.chat",this.y="client.relay.crisp.chat",this.v="stream.relay.crisp.chat",this.x="a4e5707",this.on="production",this.fn="https:",this._n="https://crisp.chat",this.fs="https://go.crisp.chat",this.ws="https://image.crisp.chat",this.ms="https://game.crisp.chat",this.$s="".concat(this.fn,"//").concat(this.y),this._e="".concat(this.fn,"//").concat(this.v),this.io="".concat(this.fn,"//").concat(this.w),this.do=[{urls:["stun:stun.media.crisp.chat:3478","stun:stun.media.crisp.chat:3479"]},{urls:["turn:turn.media.crisp.chat:3478?transport=udp","turn:turn.media.crisp.chat:3478?transport=tcp","turn:turn.media.crisp.chat:3479?transport=udp","turn:turn.media.crisp.chat:3479?transport=tcp","turns:turn.media.crisp.chat:443?transport=tcp"],username:"client_9F9kh",credential:"DPCEHTqUb7jiJ2mvnzcUmFV4mKK6c8jntUXo4gC8tYCbHTocuy9YJiCxpQ4tmG3p"}],this._a=!0,this.tp={domains:[],agents:["Trident","Googlebot","Bingbot","Slurp","DuckDuckBot","Baiduspider","YandexBot","GTmetrix","Lighthouse","Acunetix","Ahrefs","SemrushBot","SiteAuditBot","SplitSignalBot","HeadlessChrome"]},this.ip="static/javascripts",this.np="static/stylesheets",this.sp="$__CRISP_INSTANCE",this.ep="$__CRISP_INCLUDED",this.rp=100,this.op=3e4,this.cp=1e3,this.hp=280,this.ap=320,this.up=420,this.dp=[{pattern:/edg(?:e)?\/([0-9\.]+)/,versions:{support:18,legacy:117}},{pattern:/chrom(?:e|ium)\/([0-9\.]+)/,versions:{support:54,legacy:117}},{pattern:/firefox\/([0-9\.]+)/,versions:{support:54,legacy:65}},{pattern:/opr\/([0-9\.]+)/,versions:{support:41,legacy:103}},{pattern:/version\/([0-9\.]+)(?: mobile\/(?:[^\s]+))? safari\//,versions:{support:12,legacy:14}},{pattern:/android ([0-9\.]+)/,versions:{support:5,legacy:10}}],this.pp=/(?:http\:|https\:)?\/\/[^\/]+\/l\/([a-zA-Z0-9\-_]+)\.js/i,this.lp(),!0===window[this.ep]||void 0!==window[this.sp]&&"function"==typeof window[this.sp].__init||!0!==this.fp()||(window[this.ep]=!0,"interactive"===document.readyState||"complete"===document.readyState?this.init():(t=document.onreadystatechange||function(){},window.addEventListener("DOMContentLoaded",function(){i.init()}),document.onreadystatechange=function(){"function"==typeof t&&t(),"interactive"!==document.readyState&&"complete"!==document.readyState||setTimeout(function(){i.init()},i.cp)}),this._p())}catch(t){}}var i=t.prototype;return i.init=function(){var i,n,s=this,e="init";try{this.wp||!0===this.yp||this.mp(),this.wp&&!0!==this.yp&&(this.yp=!0,(i=document.createElement("div")).id="crisp-loader",document.getElementsByTagName("body")[0].appendChild(i),n=function(){return"none"===window.getComputedStyle(i).getPropertyValue("display")},function t(){s.Ip=setTimeout(function(){s.Ip=null,s.vp-=s.rp,void 0!==window[s.sp]&&"function"==typeof window[s.sp].__init&&!0===n()?(s.n.info("".concat(s.ns,".").concat(e),"Dependencies loaded"),i.parentNode.removeChild(i),window[s.sp].__init({dollar_crisp:window[s.sp],project_name:s.f,url_go:s.fs,url_image:s.ws,url_game:s.ms,url_relay_client:s.$s,url_relay_stream:s._e,url_website:s._n,url_assets:s.io,rtc_ice:s.do,socket_affinity:s._a,client_environment:s.on,website_domain:s.gp,website_id:s.wp,token_id:s.Cp,cookie_expire:s.Pi,cookie_domain:s.Rp,page_url:s.Ep,page_domain:s.Sp,browser_useragent:s.Pp,browser_timezone:s.bp,browser_capabilities:s.Dp,browser_locales:s.Op,ready_trigger:s.Tp,path_javascripts:s.ip,path_stylesheets:s.np,include_mode:s.Np,runtime_configuration:s.kp,reset_handler:function(){s.reset()}})):0<s.vp?t():s.n.error("".concat(s.ns,".").concat(e),"Could not load dependencies")},s.rp)}())}catch(t){}},i.reset=function(){try{null!==this.Ip&&clearTimeout(this.Ip),this.lp(),this.init()}catch(t){}},i._p=function(){try{this.Kp("dns-prefetch",this.$s),this.Kp("preconnect",this.io),this.Ap(),this.jp()}catch(t){}},i.Kp=function(t,i){try{var n=document.createElement("link");n.setAttribute("href",i),n.setAttribute("rel",t),n.setAttribute("crossorigin",""),this.Bp(n),document.getElementsByTagName("head")[0].appendChild(n)}catch(t){}},i.Ap=function(){try{var t=document.createElement("script");t.src=["".concat(this.io,"/"),"".concat(this.ip,"/"),"client.js?".concat(this.x)].join(""),t.type="text/javascript",t.async=!0,this.Bp(t),document.getElementsByTagName("head")[0].appendChild(t)}catch(t){}},i.jp=function(){try{var t=this.Np,i=document.createElement("link");i.href=["".concat(this.io,"/"),"".concat(this.np,"/"),"client_".concat(t,".css?").concat(this.x)].join(""),i.type="text/css",i.rel="stylesheet",this.Bp(i),document.getElementsByTagName("head")[0].appendChild(i)}catch(t){}},i.lp=function(){this.Gp(),this.mp(),this.xp(),this.Up()},i.Gp=function(){this.yp=!1,this.Ip=null,this.vp=this.op,this.gp=document.domain,this.Ep=document.location.href,this.Sp=document.location.hostname,this.Pp=window.navigator.userAgent,this.bp=(new Date).getTimezoneOffset(),this.Op=this.Lp(),this.Np=this.Mp()},i.mp=function(){"string"==typeof CRISP_WEBSITE_ID&&CRISP_WEBSITE_ID?this.wp=CRISP_WEBSITE_ID:this.wp=this.Yp(),"string"==typeof CRISP_TOKEN_ID&&CRISP_TOKEN_ID?this.Cp=CRISP_TOKEN_ID:"number"==typeof CRISP_TOKEN_ID&&CRISP_TOKEN_ID?this.Cp=CRISP_TOKEN_ID.toString():this.Cp=null,"number"==typeof CRISP_COOKIE_EXPIRE&&0<CRISP_COOKIE_EXPIRE?this.Pi=CRISP_COOKIE_EXPIRE:this.Pi=null,"string"==typeof CRISP_COOKIE_DOMAIN&&CRISP_COOKIE_DOMAIN?this.Rp=CRISP_COOKIE_DOMAIN:this.Rp=null,"function"==typeof CRISP_READY_TRIGGER?this.Tp=CRISP_READY_TRIGGER:this.Tp={},"object"==typeof CRISP_RUNTIME_CONFIG?this.kp=CRISP_RUNTIME_CONFIG:this.kp={},"object"==typeof CRISP_INCLUDE_ATTRS?this.Fp=CRISP_INCLUDE_ATTRS:this.Fp={}},i.xp=function(){try{this.Dp=[],"function"==typeof window.MutationObserver&&"function"==typeof JSON.stringify&&this.Dp.push("browsing"),("function"==typeof window.RTCPeerConnection&&"object"==typeof navigator.mediaDevices&&"https:"===document.location.protocol&&(window.innerWidth||0)>=this.ap&&(window.innerHeight||0)>=this.up||!0===this.s)&&this.Dp.push("call")}catch(t){}},i.Up=function(){var t;try{this.kp.locale&&(-1!==(t=this.Op.indexOf(this.kp.locale))&&this.Op.splice(t,1),this.Op.unshift(this.kp.locale))}catch(t){}},i.Bp=function(t){try{for(var i in this.Fp)this.Fp.hasOwnProperty(i)&&t.setAttribute(i,this.Fp[i])}catch(t){}},i.Yp=function(){var t=null;try{for(var i=document.querySelectorAll("script[src]"),n=0;n<i.length;n++){var s=this.pp.exec(i[n].src);if(s&&"string"==typeof s[1]){t=s[1];break}}}catch(t){}finally{return t}},i.Mp=function(){var t="default";try{var i=(navigator.userAgent||"").toLowerCase(),n=(navigator.appVersion||"").toLowerCase(),s=!1,e=!1;-1===i.indexOf("opera mini/")&&-1===i.indexOf("msie")&&-1===n.indexOf("trident/")||(s=e=!0);for(var r=0;r<this.dp.length;r++){var o=this.dp[r],c=i.match(o.pattern),h=null!=c&&c[1]?parseInt(c[1],10):-1;if(!isNaN(h)&&1<=h){var a=o.versions.support,u=o.versions.legacy;h<a&&(e=!0),h<=u&&(s=!0);break}}!0===e?t=null:!0===s&&(t="legacy")}catch(t){}finally{return t}},i.fp=function(){var t=!0;try{(window.innerWidth&&window.innerWidth<this.hp||!this.Np||!0!==this.Xp()||!0===this.zp(this.Sp)||!0===this.Hp(this.Pp)||!window.WebSocket||window.__nativePerformance&&window.__nativePromise)&&(t=!1)}catch(t){}finally{return t}},i.Xp=function(){var t,i,n=!1;try{!0===navigator.cookieEnabled?n=!0:window.localStorage&&"function"==typeof window.localStorage.setItem&&"function"==typeof window.localStorage.getItem&&"function"==typeof window.localStorage.removeItem&&(t="".concat((new Date).getTime()),i="crisp-client/loader/storage/check",window.localStorage.setItem(i,t),n=window.localStorage.getItem(i)===t)}catch(t){}finally{return n}},i.zp=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",i=!1;try{if(t)for(var n=0;n<this.tp.domains.length;n++){var s=this.tp.domains[n],e=".".concat(s);if(t===s||t.slice(-1*e.length)===e){i=!0;break}}}catch(t){}finally{return i}},i.Hp=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",i=!1;try{if(t)for(var n=0;n<this.tp.agents.length;n++)if(-1!==t.indexOf(this.tp.agents[n])){i=!0;break}}catch(t){}finally{return i}},i.Lp=function(){var t=[];try{for(var i,n=0<(null===(i=navigator.languages)||void 0===i?void 0:i.length)?navigator.languages:[navigator.language||navigator.userLanguage],s=0;s<n.length;s++)n[s]&&t.push(n[s])}catch(t){}finally{return t}},t}())}catch(t){}})();var rocket_lazyload_css_data={"threshold":"300"};!function o(n,c,a){function u(t,e){if(!c[t]){if(!n[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(s)return s(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}r=c[t]={exports:{}},n[t][0].call(r.exports,function(e){return u(n[t][1][e]||e)},r,r.exports,o,n,c,a)}return c[t].exports}for(var s="function"==typeof require&&require,e=0;e<a.length;e++)u(a[e]);return u}({1:[function(e,t,r){"use strict";{const c="undefined"==typeof rocket_pairs?[]:rocket_pairs,a=(("undefined"==typeof rocket_excluded_pairs?[]:rocket_excluded_pairs).map(t=>{var e=t.selector;document.querySelectorAll(e).forEach(e=>{e.setAttribute("data-rocket-lazy-bg-"+t.hash,"excluded")})}),document.querySelector("#wpr-lazyload-bg-container"));var o=rocket_lazyload_css_data.threshold||300;const u=new IntersectionObserver(e=>{e.forEach(t=>{t.isIntersecting&&c.filter(e=>t.target.matches(e.selector)).map(t=>{var e;t&&((e=document.createElement("style")).textContent=t.style,a.insertAdjacentElement("afterend",e),t.elements.forEach(e=>{u.unobserve(e),e.setAttribute("data-rocket-lazy-bg-"+t.hash,"loaded")}))})})},{rootMargin:o+"px"});function n(){0<(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).length&&c.forEach(t=>{try{document.querySelectorAll(t.selector).forEach(e=>{"loaded"!==e.getAttribute("data-rocket-lazy-bg-"+t.hash)&&"excluded"!==e.getAttribute("data-rocket-lazy-bg-"+t.hash)&&(u.observe(e),(t.elements||=[]).push(e))})}catch(e){console.error(e)}})}n(),function(){const r=window.MutationObserver;return function(e,t){if(e&&1===e.nodeType)return(t=new r(t)).observe(e,{attributes:!0,childList:!0,subtree:!0}),t}}()(document.querySelector("body"),n)}},{}]},{},[1]);var WP_Statistics_Tracker_Object={"requestUrl":"https:\/\/yadakniro.ir\/wp-json\/wp-statistics\/v2","ajaxUrl":"https:\/\/yadakniro.ir\/wp-admin\/admin-ajax.php","hitParams":{"wp_statistics_hit":1,"source_type":"post_type_attachment","source_id":25651,"search_query":"","signature":"9a69496a929e03d8a3567b3871284981","endpoint":"hit"},"onlineParams":{"wp_statistics_hit":1,"source_type":"post_type_attachment","source_id":25651,"search_query":"","signature":"9a69496a929e03d8a3567b3871284981","endpoint":"online"},"option":{"userOnline":"1","consentLevel":"","dntEnabled":"","bypassAdBlockers":"","isWpConsentApiActive":!1,"trackAnonymously":!1,"isPreview":!1},"jsCheckTime":"60000"};let WP_Statistics_CheckTime=WP_Statistics_Tracker_Object.jsCheckTime,WP_Statistics_Dnd_Active=parseInt(navigator.msDoNotTrack||window.doNotTrack||navigator.doNotTrack,10),hasTrackerInitializedOnce=!1,wpStatisticsUserOnline={hitRequestSuccessful:!0,init:function(){hasTrackerInitializedOnce||(hasTrackerInitializedOnce=!0,WP_Statistics_Tracker_Object.option.isPreview)||("undefined"==typeof WP_Statistics_Tracker_Object?console.error("WP Statistics: Variable WP_Statistics_Tracker_Object not found. Ensure /wp-content/plugins/wp-statistics/assets/js/tracker.js is either excluded from cache settings or not dequeued by any plugin. Clear your cache if necessary."):(this.checkHitRequestConditions(),WP_Statistics_Tracker_Object.option.userOnline&&this.keepUserOnline()))},base64Encode:function(t){t=(new TextEncoder).encode(t);return btoa(String.fromCharCode.apply(null,t))},getPathAndQueryString:function(){var t=window.location.pathname,e=window.location.search;return this.base64Encode(t+e)},getReferred:function(){return this.base64Encode(document.referrer)},checkHitRequestConditions:function(){!WP_Statistics_Tracker_Object.option.dntEnabled||1!==WP_Statistics_Dnd_Active?this.sendHitRequest():console.log("WP Statistics: Do Not Track (DNT) is enabled. Hit request not sent.")},sendHitRequest:async function(){try{var t=this.getRequestUrl("hit"),e=new URLSearchParams({...WP_Statistics_Tracker_Object.hitParams,referred:this.getReferred(),page_uri:this.getPathAndQueryString()}).toString();const i=new XMLHttpRequest;i.open("POST",t,!0),i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.send(e),i.onreadystatechange=function(){var t;4===i.readyState&&(200===i.status?(t=JSON.parse(i.responseText),this.hitRequestSuccessful=!1!==t.status):(this.hitRequestSuccessful=!1,console.warn("WP Statistics: Hit request failed with status "+i.status)))}.bind(this)}catch(t){this.hitRequestSuccessful=!1,console.error("WP Statistics: Error sending hit request:",t)}},sendOnlineUserRequest:async function(){if(this.hitRequestSuccessful)try{var t=this.getRequestUrl("online"),e=new URLSearchParams({...WP_Statistics_Tracker_Object.onlineParams,referred:this.getReferred(),page_uri:this.getPathAndQueryString()}).toString(),i=new XMLHttpRequest;i.open("POST",t,!0),i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.send(e)}catch(t){console.error("WP Statistics: Error sending online user request:",t)}},keepUserOnline:function(){let e;if(WP_Statistics_Tracker_Object.option.userOnline){const i=setInterval(function(){(!WP_Statistics_Tracker_Object.option.dntEnabled||WP_Statistics_Tracker_Object.option.dntEnabled&&1!==WP_Statistics_Dnd_Active)&&this.hitRequestSuccessful&&this.sendOnlineUserRequest()}.bind(this),WP_Statistics_CheckTime);["click","keypress","scroll","DOMContentLoaded"].forEach(t=>{window.addEventListener(t,()=>{clearTimeout(e),e=setTimeout(()=>{clearInterval(i)},18e5)})})}},getRequestUrl:function(t){let e=WP_Statistics_Tracker_Object.requestUrl+"/";return WP_Statistics_Tracker_Object.option.bypassAdBlockers?e=WP_Statistics_Tracker_Object.ajaxUrl:"hit"===t?e+=WP_Statistics_Tracker_Object.hitParams.endpoint:"online"===t&&(e+=WP_Statistics_Tracker_Object.onlineParams.endpoint),e}};document.addEventListener("DOMContentLoaded",function(){"disabled"!=WP_Statistics_Tracker_Object.option.consentLevel&&!WP_Statistics_Tracker_Object.option.trackAnonymously&&WP_Statistics_Tracker_Object.option.isWpConsentApiActive&&!wp_has_consent(WP_Statistics_Tracker_Object.option.consentLevel)||wpStatisticsUserOnline.init(),document.addEventListener("wp_listen_for_consent_change",function(t){var e,i=t.detail;for(e in i)i.hasOwnProperty(e)&&e===WP_Statistics_Tracker_Object.option.consentLevel&&"allow"===i[e]&&(wpStatisticsUserOnline.init(),WP_Statistics_Tracker_Object.option.trackAnonymously)&&wpStatisticsUserOnline.checkHitRequestConditions()})});;var ajax_data={"aju":"https:\/\/yadakniro.ir\/wp-admin\/admin-ajax.php","digits_check":"no"};!function(i){var s=function(t,n){this.element=t,this.element.hasClass("flipTimer")||this.element.addClass("flipTimer"),this.userOptions=n,this.defaultOptions=s.defaults,this.options=i.extend({},this.defaultOptions,this.userOptions),this.element.find(".seconds").length>0&&(this.options.seconds=this.element.find(".seconds")[0]),this.element.find(".minutes").length>0&&(this.options.minutes=this.element.find(".minutes")[0]),this.element.find(".hours").length>0&&(this.options.hours=this.element.find(".hours")[0]),this.element.find(".days").length>0&&(this.options.days=this.element.find(".days")[0]),this.initDate=new Date,this.options.date=new Date(this.options.date),this.calculateDate()};s.defaults={seconds:!1,minutes:!1,hours:!1,days:!1,date:(new Date).toDateString(),direction:"up",callback:null,digitTemplate:'<div class="digit">  <div class="digit-top">    <span class="digit-wrap"></span>  </div>  <div class="shadow-top"></div>  <div class="digit-bottom">    <span class="digit-wrap"></span>  </div>  <div class="shadow-bottom"></div></div>'},s.prototype={calculateDate:function(){var i;"down"==this.options.direction?i=this.options.date-this.initDate:"up"==this.options.direction&&(i=this.initDate-this.options.date),this.seconds=Math.floor(i/1e3)%60,this.minutes=Math.floor(i/1e3/60)%60,this.hours=Math.floor(i/1e3/3600)%24,this.days=Math.floor(i/1e3/60/60/24),this.render()},render:function(){this.options.seconds&&this.renderDigits(this.options.seconds,this.seconds),this.options.minutes&&this.renderDigits(this.options.minutes,this.minutes),this.options.hours&&this.renderDigits(this.options.hours,this.hours),this.options.days&&this.renderDigits(this.options.days,this.days),this.startTimer()},renderDigits:function(s,t){var n,e,o,d,a,h,r=this;0==i(s).find(".digit").length&&(h=r.days<0&&r.hours<0&&r.minutes<0&&r.seconds<0||r.days>99?[0,0]:String((t/10).toFixed(1)).split("."),d=s==r.options.seconds||s==r.options.minutes?5:s==r.options.hours?2:9,i(s).append('<div class="digit-set"></div><div class="digit-set"></div>'),i(s).find(".digit-set").each((function(s){for(o=0==s?d:9,n=0;n<=o;n++)i(this).append(r.options.digitTemplate),e="down"==r.options.direction?o-n:n,a=i(this).find(".digit")[n],i(a).find(".digit-wrap").append(e),e==h[s]?i(a).addClass("active"):(0!=h[s]&&e+1==h[s]||0==h[s]&&e==o)&&i(a).addClass("previous")})))},startTimer:function(){var i=this;clearInterval(this.timer),this.timer=setInterval((function(){if(i.days<=0&&i.hours<=0&&i.minutes<=0&&i.seconds<=0)return i.options.callback&&i.options.callback(),void clearInterval(i.timer);i.days>99||99==i.days&&23==i.hours&&59==i.minutes&&59==i.seconds?clearInterval(i.timer):("down"==i.options.direction?i.seconds--:i.seconds++,i.options.seconds&&i.increaseDigit(i.options.seconds),60!=i.seconds&&-1!=i.seconds||("down"==i.options.direction?(i.seconds=59,i.minutes--):(i.seconds=0,i.minutes++),i.options.minutes&&i.increaseDigit(i.options.minutes)),60!=i.minutes&&-1!=i.minutes||("down"==i.options.direction?(i.minutes=59,i.hours--):(i.minutes=0,i.hours++),i.options.hours&&i.increaseDigit(i.options.hours)),24!=i.hours&&-1!=i.hours||("down"==i.options.direction?(i.hours=23,i.days--):(i.hours=0,i.days++),i.options.days&&i.increaseDigit(i.options.days)))}),1e3)},increaseDigit:function(s){var t=new Array,n=this;i(s).find(".digit-set").each((function(){t.push(this)})),function e(o){var d=i(o).find(".active"),a=i(o).find(".previous"),h=i.inArray(o,t);a.removeClass("previous"),d.removeClass("active").addClass("previous"),0==d.next().length?("down"!=n.options.direction||s!=n.options.hours||-1!=n.hours&&23!=n.hours||10!=i(o).find(".digit").length?i(o).find(".digit:first-child").addClass("active"):i(i(o).find(".digit")[6]).addClass("active"),0!=h&&e(t[h-1])):"up"==n.options.direction&&s==n.options.hours&&24==n.hours?(i(o).find(".digit:first-child").addClass("active"),e(t[h-1])):d.next().addClass("active")}(t[t.length-1])}},i.fn.flipTimer=function(t){return this.each((function(){i(this).data("flipTimer")||i(this).data("flipTimer",new s(i(this),t))}))}}(jQuery);!function(t,e){"object"==typeof module&&module.exports?module.exports=t.document?e(t):e:t.Highcharts=e(t)}("undefined"!=typeof window?window:this,(function(t){function e(e,i){var n="Highcharts error #"+e+": www.highcharts.com/errors/"+e;if(i)throw Error(n);t.console&&console.log(n)}
function i(t,e,i){this.options=e,this.elem=t,this.prop=i}
function n(){var t,e,i=arguments,n={},s=function(t,e){var i,n;for(n in "object"!=typeof t&&(t={}),e)e.hasOwnProperty(n)&&(i=e[n],t[n]=i&&"object"==typeof i&&"[object Array]"!==Object.prototype.toString.call(i)&&"renderTo"!==n&&"number"!=typeof i.nodeType?s(t[n]||{},i):e[n]);return t};for(!0===i[0]&&(n=i[1],i=Array.prototype.slice.call(i,2)),e=i.length,t=0;t<e;t++)n=s(n,i[t]);return n}
function s(t,e){return parseInt(t,e||10)}
function o(t){return"string"==typeof t}
function r(t){return"[object Array]"===Object.prototype.toString.call(t)}
function a(t,e){for(var i=t.length;i--;)if(t[i]===e){t.splice(i,1);break}}
function h(t){return t!==z&&null!==t}
function l(t,e,i){var n,s;if(o(e))h(i)?t.setAttribute(e,i):t&&t.getAttribute&&(s=t.getAttribute(e));else if(h(e)&&$t(e))for(n in e)t.setAttribute(n,e[n]);return s}
function c(t){return r(t)?t:[t]}
function d(t,e,i){if(e)return setTimeout(t,e,i);t.call(0,i)}
function p(t,e){xt&&!At&&e&&e.opacity!==z&&(e.filter="alpha(opacity="+100*e.opacity+")"),qt(t.style,e)}
function u(t,e,i,n,s){return t=st.createElement(t),e&&qt(t,e),s&&p(t,{padding:0,border:"none",margin:0}),i&&p(t,i),n&&n.appendChild(t),t}
function f(t,e){var i=function(){};return i.prototype=new t,qt(i.prototype,e),i}
function g(t,e,i){return Array((e||2)+1-String(t).length).join(i||0)+t}
function m(t){return 6e4*(N&&N(t)||Y||0)}
function y(t,e){for(var i,n,s,o,r,a="{",h=!1,l=[];-1!==(a=t.indexOf(a));){if(i=t.slice(0,a),h){for(r=(s=(n=i.split(":")).shift().split(".")).length,i=e,o=0;o<r;o++)i=i[s[o]];n.length&&(n=n.join(":"),s=/\.([0-9])/,o=X.lang,r=void 0,/f$/.test(n)?(r=(r=n.match(s))?r[1]:-1,null!==i&&(i=nt.numberFormat(i,r,o.decimalPoint,n.indexOf(",")>-1?o.thousandsSep:""))):i=G(n,i))}
l.push(i),t=t.slice(a+1),a=(h=!h)?"}":"{"}
return l.push(t),l.join("")}
function x(t){return ot.pow(10,at(ot.log(t)/ot.LN10))}
function v(t,e,i,n,s){var o,r=t;for(o=t/(i=Qt(i,1)),e||(e=[1,2,2.5,5,10],!1===n&&(1===i?e=[1,2,5,10]:i<=.1&&(e=[1/i]))),n=0;n<e.length&&(r=e[n],!(s&&r*i>=t||!s&&o<=(e[n]+(e[n+1]||e[n]))/2));n++);return r*=i}
function b(t,e){var i,n,s=t.length;for(n=0;n<s;n++)t[n].safeI=n;for(t.sort((function(t,n){return 0===(i=e(t,n))?t.safeI-n.safeI:i})),n=0;n<s;n++)delete t[n].safeI}
function k(t){for(var e=t.length,i=t[0];e--;)t[e]<i&&(i=t[e]);return i}
function w(t){for(var e=t.length,i=t[0];e--;)t[e]>i&&(i=t[e]);return i}
function S(t,e){for(var i in t)t[i]&&t[i]!==e&&t[i].destroy&&t[i].destroy(),delete t[i]}
function A(t){E||(E=u(Dt)),t&&E.appendChild(t),E.innerHTML=""}
function T(t,e){return parseFloat(t.toPrecision(e||14))}
function C(t,e){e.renderer.globalAnimation=Qt(t,e.animation)}
function P(t){return $t(t)?n(t):{duration:t?500:0}}
function L(){var e=X.global,i=e.useUTC,n=i?"getUTC":"get",s=i?"setUTC":"set";W=e.Date||t.Date,Y=i&&e.timezoneOffset,N=i&&e.getTimezoneOffset,F=function(t,e,n,s,o,r){var a;return i?(a=W.UTC.apply(0,arguments),a+=m(a)):a=new W(t,e,Qt(n,1),Qt(s,0),Qt(o,0),Qt(r,0)).getTime(),a},V=n+"Minutes",j=n+"Hours",_=n+"Day",U=n+"Date",K=n+"Month",Z=n+"FullYear",q=s+"Milliseconds",$=s+"Seconds",J=s+"Minutes",Q=s+"Hours",tt=s+"Date",et=s+"Month",it=s+"FullYear"}
function M(t){if(!(this instanceof M))return new M(t);this.init(t)}
function I(){}
function O(t,e,i,n){this.axis=t,this.pos=e,this.type=i||"",this.isNew=!0,!i&&!n&&this.addLabel()}
function D(t,e,i,n,s){var o=t.chart.inverted;this.axis=t,this.isNegative=i,this.options=e,this.x=n,this.total=null,this.points={},this.stack=s,this.rightCliff=this.leftCliff=0,this.alignOptions={align:e.align||(o?i?"left":"right":"center"),verticalAlign:e.verticalAlign||(o?"middle":i?"bottom":"top"),y:Qt(e.y,o?4:i?14:-6),x:Qt(e.x,o?i?-6:6:0)},this.textAlign=e.textAlign||(o?i?"right":"left":"center")}
var z,R,B,E,X,G,H,W,F,Y,N,V,j,_,U,K,Z,q,$,J,Q,tt,et,it,nt,st=t.document,ot=Math,rt=ot.round,at=ot.floor,ht=ot.ceil,lt=ot.max,ct=ot.min,dt=ot.abs,pt=ot.cos,ut=ot.sin,ft=ot.PI,gt=2*ft/360,mt=t.navigator&&t.navigator.userAgent||"",yt=t.opera,xt=/(msie|trident|edge)/i.test(mt)&&!yt,vt=st&&8===st.documentMode,bt=!xt&&/AppleWebKit/.test(mt),kt=/Firefox/.test(mt),wt=/(Mobile|Android|Windows Phone)/.test(mt),St="http://www.w3.org/2000/svg",At=st&&st.createElementNS&&!!st.createElementNS(St,"svg").createSVGRect,Tt=kt&&parseInt(mt.split("Firefox/")[1],10)<4,Ct=st&&!At&&!xt&&!!st.createElement("canvas").getContext,Pt={},Lt=0,Mt=function(){},It=[],Ot=0,Dt="div",zt="M",Rt="L",Bt=/^[0-9]+$/,Et=["plotTop","marginRight","marginBottom","plotLeft"],Xt={};(nt=t.Highcharts?e(16,!0):{win:t}).seriesTypes=Xt;var Gt,Ht,Wt,Ft,Yt,Nt,Vt,jt,_t,Ut,Kt,Zt=[];i.prototype={dSetter:function(){var t,e=this.paths[0],i=this.paths[1],n=[],s=this.now,o=e.length;if(1===s)n=this.toD;else if(o===i.length&&s<1)for(;o--;)t=parseFloat(e[o]),n[o]=isNaN(t)?e[o]:s*parseFloat(i[o]-t)+t;else n=i;this.elem.attr("d",n)},update:function(){var t=this.elem,e=this.prop,i=this.now,n=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,i):t.style[e]=i+this.unit,n&&n.call(t,i,this)},run:function(t,e,i){var n,s=this,o=function(t){return!o.stopped&&s.step(t)};this.startTime=+new W,this.start=t,this.end=e,this.unit=i,this.now=this.start,this.pos=0,o.elem=this.elem,o()&&1===Zt.push(o)&&(o.timerId=setInterval((function(){for(n=0;n<Zt.length;n++)Zt[n]()||Zt.splice(n--,1);Zt.length||clearInterval(o.timerId)}),13))},step:function(t){var e,i=+new W,n=this.options;e=this.elem;var s,o=n.complete,r=n.duration,a=n.curAnim;if(e.attr&&!e.element)e=!1;else if(t||i>=r+this.startTime){for(s in this.now=this.end,this.pos=1,this.update(),t=a[this.prop]=!0,a)!0!==a[s]&&(t=!1);t&&o&&o.call(e),e=!1}else this.pos=n.easing((i-this.startTime)/r),this.now=this.start+(this.end-this.start)*this.pos,this.update(),e=!0;return e},initPath:function(t,e,i){function n(t){for(l=t.length;l--;)(t[l]===zt||t[l]===Rt)&&t.splice(l+1,0,t[l+1],t[l+2],t[l+1],t[l+2])}
function s(t,e){for(;t.length<a;){t[0]=e[a-t.length];var i=t.slice(0,f);[].splice.apply(t,[0,0].concat(i)),g&&(i=t.slice(t.length-f),[].splice.apply(t,[t.length,0].concat(i)),l--)}
t[0]="M"}
function o(t,e){for(var i=(a-t.length)/f;i>0&&i--;)(h=t.slice().splice(t.length/m-f,f*m))[0]=e[a-f-i*f],u&&(h[f-6]=h[f-2],h[f-5]=h[f-1]),[].splice.apply(t,[t.length/m,0].concat(h)),g&&i--}
e=e||"";var r,a,h,l,c,d=t.startX,p=t.endX,u=e.indexOf("C")>-1,f=u?7:3,g=(e=e.split(" "),i=i.slice(),t.isArea),m=g?2:1;if(u&&(n(e),n(i)),d&&p){for(l=0;l<d.length;l++){if(d[l]===p[0]){r=l;break}
if(d[0]===p[p.length-d.length+l]){r=l,c=!0;break}}
void 0===r&&(e=[])}
return e.length&&nt.isNumber(r)&&(a=i.length+r*m*f,c?(s(e,i),o(i,e)):(s(i,e),o(e,i))),[e,i]}};var qt=nt.extend=function(t,e){var i;for(i in t||(t={}),e)t[i]=e[i];return t},$t=nt.isObject=function(t,e){return t&&"object"==typeof t&&(!e||!r(t))},Jt=nt.isNumber=function(t){return"number"==typeof t&&!isNaN(t)},Qt=nt.pick=function(){var t,e,i=arguments,n=i.length;for(t=0;t<n;t++)if((e=i[t])!==z&&null!==e)return e},te=nt.wrap=function(t,e,i){var n=t[e];t[e]=function(){var t=Array.prototype.slice.call(arguments);return t.unshift(n),i.apply(this,t)}};G=function(t,e,i){if(!h(e)||isNaN(e))return X.lang.invalidDate||"";t=Qt(t,"%Y-%m-%d %H:%M:%S");var n,s=(u=new W(e-m(e)))[j](),o=u[_](),r=u[U](),a=u[K](),l=u[Z](),c=X.lang,d=c.weekdays,p=c.shortWeekdays,u=qt({a:p?p[o]:d[o].substr(0,3),A:d[o],d:g(r),e:g(r,2," "),w:o,b:c.shortMonths[a],B:c.months[a],m:g(a+1),y:l.toString().substr(2,2),Y:l,H:g(s),k:s,I:g(s%12||12),l:s%12||12,M:g(u[V]()),p:s<12?"AM":"PM",P:s<12?"am":"pm",S:g(u.getSeconds()),L:g(rt(e%1e3),3)},nt.dateFormats);for(n in u)for(;-1!==t.indexOf("%"+n);)t=t.replace("%"+n,"function"==typeof u[n]?u[n](e):u[n]);return i?t.substr(0,1).toUpperCase()+t.substr(1):t},H={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},nt.numberFormat=function(t,e,i,n){t=+t||0,e=+e;var o,r,a=X.lang,h=(t.toString().split(".")[1]||"").length,l=Math.abs(t);return-1===e?e=Math.min(h,20):Jt(e)||(e=2),r=(o=String(s(l.toFixed(e)))).length>3?o.length%3:0,i=Qt(i,a.decimalPoint),n=Qt(n,a.thousandsSep),t=t<0?"-":"",t+=r?o.substr(0,r)+n:"",t+=o.substr(r).replace(/(\d{3})(?=\d)/g,"$1"+n),e&&(t+=i+(n=Math.abs(l-o+Math.pow(10,-Math.max(e,h)-1))).toFixed(e).slice(2)),t},Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)},Gt=function(e,i){var n;return"width"===i?Math.min(e.offsetWidth,e.scrollWidth)-Gt(e,"padding-left")-Gt(e,"padding-right"):"height"===i?Math.min(e.offsetHeight,e.scrollHeight)-Gt(e,"padding-top")-Gt(e,"padding-bottom"):(n=t.getComputedStyle(e,void 0))&&s(n.getPropertyValue(i))},Ht=function(t,e){return e.indexOf?e.indexOf(t):[].indexOf.call(e,t)},Ft=function(t,e){return[].filter.call(t,e)},Nt=function(t,e){for(var i=[],n=0,s=t.length;n<s;n++)i[n]=e.call(t[n],t[n],n,t);return i},Yt=function(e){var i=st.documentElement;return{top:(e=e.getBoundingClientRect()).top+(t.pageYOffset||i.scrollTop)-(i.clientTop||0),left:e.left+(t.pageXOffset||i.scrollLeft)-(i.clientLeft||0)}},Kt=function(t){for(var e=Zt.length;e--;)Zt[e].elem===t&&(Zt[e].stopped=!0)},Wt=function(t,e){return Array.prototype.forEach.call(t,e)},Vt=function(e,i,n){function s(i){i.target=i.srcElement||t,n.call(e,i)}
var o=e.hcEvents=e.hcEvents||{};e.addEventListener?e.addEventListener(i,n,!1):e.attachEvent&&(e.hcEventsIE||(e.hcEventsIE={}),e.hcEventsIE[n.toString()]=s,e.attachEvent("on"+i,s)),o[i]||(o[i]=[]),o[i].push(n)},jt=function(t,e,i){function n(e,i){t.removeEventListener?t.removeEventListener(e,i,!1):t.attachEvent&&(i=t.hcEventsIE[i.toString()],t.detachEvent("on"+e,i))}
function s(){var i,s,o;if(t.nodeName)for(o in e?(i={})[e]=!0:i=a,i)if(a[o])for(s=a[o].length;s--;)n(o,a[o][s])}
var o,r,a=t.hcEvents;a&&(e?(o=a[e]||[],i?((r=Ht(i,o))>-1&&(o.splice(r,1),a[e]=o),n(e,i)):(s(),a[e]=[])):(s(),t.hcEvents={}))},_t=function(t,e,i,n){var s;s=t.hcEvents;var o,r;i=i||{};if(st.createEvent&&(t.dispatchEvent||t.fireEvent))(s=st.createEvent("Events")).initEvent(e,!0,!0),s.target=t,qt(s,i),t.dispatchEvent?t.dispatchEvent(s):t.fireEvent(e,s);else if(s)for(o=(s=s[e]||[]).length,i.preventDefault||(i.preventDefault=function(){i.defaultPrevented=!0}),i.target=t,i.type||(i.type=e),e=0;e<o;e++)(r=s[e])&&!1===r.call(t,i)&&i.preventDefault();n&&!i.defaultPrevented&&n(i)},Ut=function(t,e,s){var o,r,a,h,l="";for(h in $t(s)||(s={duration:(o=arguments)[2],easing:o[3],complete:o[4]}),Jt(s.duration)||(s.duration=400),s.easing="function"==typeof s.easing?s.easing:Math[s.easing]||Math.easeInOutSine,s.curAnim=n(e),e)a=new i(t,s,h),r=null,"d"===h?(a.paths=a.initPath(t,t.d,e.d),a.toD=e.d,o=0,r=1):t.attr?o=t.attr(h):(o=parseFloat(Gt(t,h))||0,"opacity"!==h&&(l="px")),r||(r=e[h]),r.match&&r.match("px")&&(r=r.replace(/px/g,"")),a.run(o,r,l)},t.jQuery&&(t.jQuery.fn.highcharts=function(){var t=[].slice.call(arguments);if(this[0])return t[0]?(new(nt[o(t[0])?t.shift():"Chart"])(this[0],t[0],t[1]),this):It[l(this[0],"data-highcharts-chart")]}),st&&!st.defaultView&&(Gt=function(t,e){var i;return i={width:"clientWidth",height:"clientHeight"}[e],t.style[e]?s(t.style[e]):("opacity"===e&&(e="filter"),i?(t.style.zoom=1,Math.max(t[i]-2*Gt(t,"padding"),0)):(i=t.currentStyle[e.replace(/\-(\w)/g,(function(t,e){return e.toUpperCase()}))],"filter"===e&&(i=i.replace(/alpha\(opacity=([0-9]+)\)/,(function(t,e){return e/100}))),""===i?1:s(i)))}),Array.prototype.forEach||(Wt=function(t,e){for(var i=0,n=t.length;i<n;i++)if(!1===e.call(t[i],t[i],i,t))return i}),Array.prototype.indexOf||(Ht=function(t,e){var i,n=0;if(e)for(i=e.length;n<i;n++)if(e[n]===t)return n;return-1}),Array.prototype.filter||(Ft=function(t,e){for(var i=[],n=0,s=t.length;n<s;n++)e(t[n],n)&&i.push(t[n]);return i}),nt.Fx=i,nt.inArray=Ht,nt.each=Wt,nt.grep=Ft,nt.offset=Yt,nt.map=Nt,nt.addEvent=Vt,nt.removeEvent=jt,nt.fireEvent=_t,nt.animate=Ut,nt.animObject=P,nt.stop=Kt;var ee=(X={colors:"#7cb5ec,#434348,#90ed7d,#f7a35c,#8085e9,#f15c80,#e4d354,#2b908f,#f45b5b,#91e8e1".split(","),symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"بارگذاری ...",months:"January,February,March,April,May,June,July,August,September,October,November,December".split(","),shortMonths:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","),weekdays:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","),decimalPoint:".",resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{useUTC:!0,canvasToolsURL:"http://code.highcharts.com/modules/canvas-tools.js",VMLRadialGradientURL:"http://code.highcharts.com/4.2.6/gfx/vml-radial-gradient.png"},chart:{borderColor:"#4572A7",borderRadius:0,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],backgroundColor:"#FFFFFF",plotBorderColor:"#C0C0C0",resetZoomButton:{theme:{zIndex:20},position:{align:"right",x:-10,y:10}},width:null,height:null},title:{text:"Chart title",align:"center",margin:15,style:{color:"#333333",fontSize:"18px"},widthAdjust:-44},subtitle:{text:"",align:"center",style:{color:"#555555"},widthAdjust:-44},plotOptions:{line:{allowPointSelect:!1,showCheckbox:!1,animation:{duration:1e3},events:{},lineWidth:2,marker:{lineWidth:0,radius:4,lineColor:"#FFFFFF",states:{hover:{enabled:!0,lineWidthPlus:1,radiusPlus:2},select:{fillColor:"#FFFFFF",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{align:"center",formatter:function(){return null===this.y?"":nt.numberFormat(this.y,-1)},style:{color:"contrast",fontSize:"11px",fontWeight:"bold",textShadow:"0 0 6px contrast, 0 0 3px contrast"},verticalAlign:"bottom",x:0,y:0,padding:5},cropThreshold:300,pointRange:0,softThreshold:!0,states:{hover:{lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{marker:{}}},stickyTracking:!0,turboThreshold:1e3}},labels:{style:{position:"absolute",color:"#3E576F"}},legend:{enabled:!0,align:"center",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#909090",borderRadius:0,navigation:{activeColor:"#274b6d",inactiveColor:"#CCC"},shadow:!1,itemStyle:{color:"#333333",fontSize:"12px",fontWeight:"bold"},itemHoverStyle:{color:"#000"},itemHiddenStyle:{color:"#CCC"},itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"white",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:At,backgroundColor:"rgba(249, 249, 249, .85)",borderWidth:1,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',shadow:!0,snap:wt?25:10,style:{color:"#333333",cursor:"default",fontSize:"12px",padding:"8px",pointerEvents:"none",whiteSpace:"nowrap"}},credits:{enabled:!0,href:"http://www.highcharts.com",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#909090",fontSize:"9px"}}}).plotOptions,ie=ee.line;L(),M.prototype={parsers:[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(t){return[s(t[1]),s(t[2]),s(t[3]),parseFloat(t[4],10)]}},{regex:/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/,parse:function(t){return[s(t[1],16),s(t[2],16),s(t[3],16),1]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(t){return[s(t[1]),s(t[2]),s(t[3]),1]}}],init:function(t){var e,i,n,s;if((this.input=t)&&t.stops)this.stops=Nt(t.stops,(function(t){return new M(t[1])}));else for(n=this.parsers.length;n--&&!i;)(e=(s=this.parsers[n]).regex.exec(t))&&(i=s.parse(e));this.rgba=i||[]},get:function(t){var e,i=this.input,s=this.rgba;return this.stops?((e=n(i)).stops=[].concat(e.stops),Wt(this.stops,(function(i,n){e.stops[n]=[e.stops[n][0],i.get(t)]}))):e=s&&Jt(s[0])?"rgb"===t||!t&&1===s[3]?"rgb("+s[0]+","+s[1]+","+s[2]+")":"a"===t?s[3]:"rgba("+s.join(",")+")":i,e},brighten:function(t){var e,i=this.rgba;if(this.stops)Wt(this.stops,(function(e){e.brighten(t)}));else if(Jt(t)&&0!==t)for(e=0;e<3;e++)i[e]+=s(255*t),i[e]<0&&(i[e]=0),i[e]>255&&(i[e]=255);return this},setOpacity:function(t){return this.rgba[3]=t,this}},I.prototype={opacity:1,textProps:"direction,fontSize,fontWeight,fontFamily,fontStyle,color,lineHeight,width,textDecoration,textOverflow,textShadow".split(","),init:function(t,e){this.element="span"===e?u(e):st.createElementNS(St,e),this.renderer=t},animate:function(t,e,i){return e=Qt(e,this.renderer.globalAnimation,!0),Kt(this),e?(i&&(e.complete=i),Ut(this,t,e)):this.attr(t,null,i),this},colorGradient:function(t,e,i){var s,o,a,l,c,d,p,u,f,g,m,y,x=this.renderer,v=[];if(t.linearGradient?o="linearGradient":t.radialGradient&&(o="radialGradient"),o){for(m in a=t[o],c=x.gradients,p=t.stops,g=i.radialReference,r(a)&&(t[o]=a={x1:a[0],y1:a[1],x2:a[2],y2:a[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===o&&g&&!h(a.gradientUnits)&&(l=a,a=n(a,x.getRadialAttr(g,l),{gradientUnits:"userSpaceOnUse"})),a)"id"!==m&&v.push(m,a[m]);for(m in p)v.push(p[m]);c[v=v.join(",")]?g=c[v].attr("id"):(a.id=g="highcharts-"+Lt++,c[v]=d=x.createElement(o).attr(a).add(x.defs),d.radAttr=l,d.stops=[],Wt(p,(function(t){0===t[1].indexOf("rgba")?(s=M(t[1]),u=s.get("rgb"),f=s.get("a")):(u=t[1],f=1),t=x.createElement("stop").attr({offset:t[0],"stop-color":u,"stop-opacity":f}).add(d),d.stops.push(t)}))),y="url("+x.url+"#"+g+")",i.setAttribute(e,y),i.gradient=v,t.toString=function(){return y}}},applyTextShadow:function(t){var e,i=this.element,n=-1!==t.indexOf("contrast"),o={},r=this.renderer.forExport,a=r||i.style.textShadow!==z&&!xt;n&&(o.textShadow=t=t.replace(/contrast/g,this.renderer.getContrast(i.style.fill))),(bt||r)&&(o.textRendering="geometricPrecision"),a?this.css(o):(this.fakeTS=!0,this.ySetter=this.xSetter,e=[].slice.call(i.getElementsByTagName("tspan")),Wt(t.split(/\s?,\s?/g),(function(t){var n,o,r=i.firstChild;t=t.split(" ");n=t[t.length-1],(o=t[t.length-2])&&Wt(e,(function(t,e){var a;0===e&&(t.setAttribute("x",i.getAttribute("x")),e=i.getAttribute("y"),t.setAttribute("y",e||0),null===e&&i.setAttribute("y",0)),l(a=t.cloneNode(1),{class:"highcharts-text-shadow",fill:n,stroke:n,"stroke-opacity":1/lt(s(o),3),"stroke-width":o,"stroke-linejoin":"round"}),i.insertBefore(a,r)}))})))},attr:function(t,e,i){var n,s,o,r=this.element,a=this;if("string"==typeof t&&e!==z&&(n=t,(t={})[n]=e),"string"==typeof t)a=(this[t+"Getter"]||this._defaultGetter).call(this,t,r);else{for(n in t)e=t[n],o=!1,this.symbolName&&/^(x|y|width|height|r|start|end|innerR|anchorX|anchorY)/.test(n)&&(s||(this.symbolAttr(t),s=!0),o=!0),!this.rotation||"x"!==n&&"y"!==n||(this.doTransform=!0),o||((o=this[n+"Setter"]||this._defaultSetter).call(this,e,n,r),this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(n)&&this.updateShadows(n,e,o));this.doTransform&&(this.updateTransform(),this.doTransform=!1)}
return i&&i(),a},updateShadows:function(t,e,i){for(var n=this.shadows,s=n.length;s--;)i.call(n[s],"height"===t?Math.max(e-(n[s].cutHeight||0),0):"d"===t?this.d:e,t,n[s])},addClass:function(t){var e=this.element,i=l(e,"class")||"";return-1===i.indexOf(t)&&l(e,"class",i+" "+t),this},symbolAttr:function(t){var e=this;Wt("x,y,r,start,end,width,height,innerR,anchorX,anchorY".split(","),(function(i){e[i]=Qt(t[i],e[i])})),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})},clip:function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},crisp:function(t){var e,i,n={},s=this.strokeWidth||0;for(e in i=rt(s)%2/2,t.x=at(t.x||this.x||0)+i,t.y=at(t.y||this.y||0)+i,t.width=at((t.width||this.width||0)-2*i),t.height=at((t.height||this.height||0)-2*i),t.strokeWidth=s,t)this[e]!==t[e]&&(this[e]=n[e]=t[e]);return n},css:function(t){var e,i,n=this.styles,o={},r=this.element,a="";if(e=!n,t&&t.color&&(t.fill=t.color),n)for(i in t)t[i]!==n[i]&&(o[i]=t[i],e=!0);if(e){if(e=this.textWidth=t&&t.width&&"text"===r.nodeName.toLowerCase()&&s(t.width)||this.textWidth,n&&(t=qt(n,o)),this.styles=t,e&&(Ct||!At&&this.renderer.forExport)&&delete t.width,xt&&!At)p(this.element,t);else{for(i in n=function(t,e){return"-"+e.toLowerCase()},t)a+=i.replace(/([A-Z])/g,n)+":"+t[i]+";";l(r,"style",a)}
e&&this.added&&this.renderer.buildText(this)}
return this},on:function(t,e){var i=this,n=i.element;return B&&"click"===t?(n.ontouchstart=function(t){i.touchEventFired=W.now(),t.preventDefault(),e.call(n,t)},n.onclick=function(t){(-1===mt.indexOf("Android")||W.now()-(i.touchEventFired||0)>1100)&&e.call(n,t)}):n["on"+t]=e,this},setRadialReference:function(t){var e=this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this},translate:function(t,e){return this.attr({translateX:t,translateY:e})},invert:function(){return this.inverted=!0,this.updateTransform(),this},updateTransform:function(){var t=this.translateX||0,e=this.translateY||0,i=this.scaleX,n=this.scaleY,s=this.inverted,o=this.rotation,r=this.element;s&&(t+=this.attr("width"),e+=this.attr("height")),t=["translate("+t+","+e+")"],s?t.push("rotate(90) scale(-1,1)"):o&&t.push("rotate("+o+" "+(r.getAttribute("x")||0)+" "+(r.getAttribute("y")||0)+")"),(h(i)||h(n))&&t.push("scale("+Qt(i,1)+" "+Qt(n,1)+")"),t.length&&r.setAttribute("transform",t.join(" "))},toFront:function(){var t=this.element;return t.parentNode.appendChild(t),this},align:function(t,e,i){var n,s,r,h,l={};return r=(s=this.renderer).alignedObjects,t?(this.alignOptions=t,this.alignByTranslate=e,(!i||o(i))&&(this.alignTo=n=i||"renderer",a(r,this),r.push(this),i=null)):(t=this.alignOptions,e=this.alignByTranslate,n=this.alignTo),i=Qt(i,s[n],s),n=t.align,s=t.verticalAlign,r=(i.x||0)+(t.x||0),h=(i.y||0)+(t.y||0),"right"!==n&&"center"!==n||(r+=(i.width-(t.width||0))/{right:1,center:2}[n]),l[e?"translateX":"x"]=rt(r),"bottom"!==s&&"middle"!==s||(h+=(i.height-(t.height||0))/({bottom:1,middle:2}[s]||1)),l[e?"translateY":"y"]=rt(h),this[this.placed?"animate":"attr"](l),this.placed=!0,this.alignAttr=l,this},getBBox:function(t,e){var i,n,s,o,r=this.renderer,a=this.element,h=this.styles;n=this.textStr;var l,c,d,p=a.style,u=r.cache,f=r.cacheKeys;if(o=(s=Qt(e,this.rotation))*gt,n!==z&&(d=["",s||0,h&&h.fontSize,a.style.width].join(","),d=""===n||Bt.test(n)?"num:"+n.toString().length+d:n+d),d&&!t&&(i=u[d]),!i){if(a.namespaceURI===St||r.forExport){try{c=this.fakeTS&&function(t){Wt(a.querySelectorAll(".highcharts-text-shadow"),(function(e){e.style.display=t}))},kt&&p.textShadow?(l=p.textShadow,p.textShadow=""):c&&c("none"),i=a.getBBox?qt({},a.getBBox()):{width:a.offsetWidth,height:a.offsetHeight},l?p.textShadow=l:c&&c("")}catch(t){}(!i||i.width<0)&&(i={width:0,height:0})}else i=this.htmlGetBBox();if(r.isSVG&&(r=i.width,n=i.height,xt&&h&&"11px"===h.fontSize&&"16.9"===n.toPrecision(3)&&(i.height=n=14),s&&(i.width=dt(n*ut(o))+dt(r*pt(o)),i.height=dt(n*pt(o))+dt(r*ut(o)))),d){for(;f.length>250;)delete u[f.shift()];u[d]||f.push(d),u[d]=i}}
return i},show:function(t){return this.attr({visibility:t?"inherit":"visible"})},hide:function(){return this.attr({visibility:"hidden"})},fadeOut:function(t){var e=this;e.animate({opacity:0},{duration:t||150,complete:function(){e.attr({y:-9999})}})},add:function(t){var e,i=this.renderer,n=this.element;return t&&(this.parentGroup=t),this.parentInverted=t&&t.inverted,void 0!==this.textStr&&i.buildText(this),this.added=!0,(!t||t.handleZ||this.zIndex)&&(e=this.zIndexSetter()),e||(t?t.element:i.box).appendChild(n),this.onAdd&&this.onAdd(),this},safeRemoveChild:function(t){var e=t.parentNode;e&&e.removeChild(t)},destroy:function(){var t,e,i=this,n=i.element||{},s=i.shadows,o=i.renderer.isSVG&&"SPAN"===n.nodeName&&i.parentGroup;if(n.onclick=n.onmouseout=n.onmouseover=n.onmousemove=n.point=null,Kt(i),i.clipPath&&(i.clipPath=i.clipPath.destroy()),i.stops){for(e=0;e<i.stops.length;e++)i.stops[e]=i.stops[e].destroy();i.stops=null}
for(i.safeRemoveChild(n),s&&Wt(s,(function(t){i.safeRemoveChild(t)}));o&&o.div&&0===o.div.childNodes.length;)n=o.parentGroup,i.safeRemoveChild(o.div),delete o.div,o=n;for(t in i.alignTo&&a(i.renderer.alignedObjects,i),i)delete i[t];return null},shadow:function(t,e,i){var n,s,o,r,a,h,c=[],d=this.element;if(t){for(r=Qt(t.width,3),a=(t.opacity||.15)/r,h=this.parentInverted?"(-1,-1)":"("+Qt(t.offsetX,1)+", "+Qt(t.offsetY,1)+")",n=1;n<=r;n++)o=2*r+1-2*n,l(s=d.cloneNode(0),{isShadow:"true",stroke:t.color||"black","stroke-opacity":a*n,"stroke-width":o,transform:"translate"+h,fill:"none"}),i&&(l(s,"height",lt(l(s,"height")-o,0)),s.cutHeight=o),e?e.element.appendChild(s):d.parentNode.insertBefore(s,d),c.push(s);this.shadows=c}
return this},xGetter:function(t){return"circle"===this.element.nodeName&&(t={x:"cx",y:"cy"}[t]||t),this._defaultGetter(t)},_defaultGetter:function(t){return t=Qt(this[t],this.element?this.element.getAttribute(t):null,0),/^[\-0-9\.]+$/.test(t)&&(t=parseFloat(t)),t},dSetter:function(t,e,i){t&&t.join&&(t=t.join(" ")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),i.setAttribute(e,t),this[e]=t},dashstyleSetter:function(t){var e,i=this["stroke-width"];if("inherit"===i&&(i=1),t=t&&t.toLowerCase()){for(e=(t=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",")).length;e--;)t[e]=s(t[e])*i;t=t.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},alignSetter:function(t){this.element.setAttribute("text-anchor",{left:"start",center:"middle",right:"end"}[t])},opacitySetter:function(t,e,i){this[e]=t,i.setAttribute(e,t)},titleSetter:function(t){var e=this.element.getElementsByTagName("title")[0];e||(e=st.createElementNS(St,"title"),this.element.appendChild(e)),e.firstChild&&e.removeChild(e.firstChild),e.appendChild(st.createTextNode(String(Qt(t),"").replace(/<[^>]*>/g,"")))},textSetter:function(t){t!==this.textStr&&(delete this.bBox,this.textStr=t,this.added&&this.renderer.buildText(this))},fillSetter:function(t,e,i){"string"==typeof t?i.setAttribute(e,t):t&&this.colorGradient(t,e,i)},visibilitySetter:function(t,e,i){"inherit"===t?i.removeAttribute(e):i.setAttribute(e,t)},zIndexSetter:function(t,e){var i,n,o,r,a=this.renderer,l=this.parentGroup,c=(a=(l||a).element||a.box,this.element);if(i=this.added,h(t)&&(c.zIndex=t,t=+t,this[e]===t&&(i=!1),this[e]=t),i){for((t=this.zIndex)&&l&&(l.handleZ=!0),l=a.childNodes,r=0;r<l.length&&!o;r++)n=(i=l[r]).zIndex,i!==c&&(s(n)>t||!h(t)&&h(n))&&(a.insertBefore(c,i),o=!0);o||a.appendChild(c)}
return o},_defaultSetter:function(t,e,i){i.setAttribute(e,t)}},I.prototype.yGetter=I.prototype.xGetter,I.prototype.translateXSetter=I.prototype.translateYSetter=I.prototype.rotationSetter=I.prototype.verticalAlignSetter=I.prototype.scaleXSetter=I.prototype.scaleYSetter=function(t,e){this[e]=t,this.doTransform=!0},I.prototype["stroke-widthSetter"]=I.prototype.strokeSetter=function(t,e,i){this[e]=t,this.stroke&&this["stroke-width"]?(this.strokeWidth=this["stroke-width"],I.prototype.fillSetter.call(this,this.stroke,"stroke",i),i.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===e&&0===t&&this.hasStroke&&(i.removeAttribute("stroke"),this.hasStroke=!1)};var ne,se,oe=function(){this.init.apply(this,arguments)};if(oe.prototype={Element:I,init:function(e,i,n,s,o,r){var a,h;a=(s=this.createElement("svg").attr({version:"1.1"}).css(this.getStyle(s))).element,e.appendChild(a),-1===e.innerHTML.indexOf("xmlns")&&l(a,"xmlns",St),this.isSVG=!0,this.box=a,this.boxWrapper=s,this.alignedObjects=[],this.url=(kt||bt)&&st.getElementsByTagName("base").length?t.location.href.replace(/#.*?$/,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20"):"",this.createElement("desc").add().element.appendChild(st.createTextNode("Created with Highcharts 4.2.6")),this.defs=this.createElement("defs").add(),this.allowHTML=r,this.forExport=o,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(i,n,!1),kt&&e.getBoundingClientRect&&(this.subPixelFix=i=function(){p(e,{left:0,top:0}),h=e.getBoundingClientRect(),p(e,{left:ht(h.left)-h.left+"px",top:ht(h.top)-h.top+"px"})},i(),Vt(t,"resize",i))},getStyle:function(t){return this.style=qt({fontFamily:'"inherit',fontSize:"12px"},t)},isHidden:function(){return!this.boxWrapper.getBBox().width},destroy:function(){var e=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),S(this.gradients||{}),this.gradients=null,e&&(this.defs=e.destroy()),this.subPixelFix&&jt(t,"resize",this.subPixelFix),this.alignedObjects=null},createElement:function(t){var e=new this.Element;return e.init(this,t),e},draw:function(){},getRadialAttr:function(t,e){return{cx:t[0]-t[2]/2+e.cx*t[2],cy:t[1]-t[2]/2+e.cy*t[2],r:e.r*t[2]}},buildText:function(t){for(var e,i,n,o=t.element,r=this,a=r.forExport,h=Qt(t.textStr,"").toString(),c=-1!==h.indexOf("<"),d=o.childNodes,u=l(o,"x"),f=t.styles,g=t.textWidth,m=f&&f.lineHeight,y=f&&f.textShadow,x=f&&"ellipsis"===f.textOverflow,v=d.length,b=g&&!t.added&&this.box,k=function(t){return m?s(m):r.fontMetrics(/(px|em)$/.test(t&&t.style.fontSize)?t.style.fontSize:f&&f.fontSize||r.style.fontSize||12,t).h},w=function(t){return t.replace(/&lt;/g,"<").replace(/&gt;/g,">")};v--;)o.removeChild(d[v]);c||y||x||g||-1!==h.indexOf(" ")?(e=/<.*style="([^"]+)".*>/,i=/<.*href="(http[^"]+)".*>/,b&&b.appendChild(o),h=c?h.replace(/<(b|strong)>/g,'<span style="font-weight:bold">').replace(/<(i|em)>/g,'<span style="font-style:italic">').replace(/<a/g,"<span").replace(/<\/(b|strong|i|em|a)>/g,"</span>").split(/<br.*?>/g):[h],h=Ft(h,(function(t){return""!==t})),Wt(h,(function(s,h){var c,d=0;s=s.replace(/^\s+|\s+$/g,"").replace(/<span/g,"|||<span").replace(/<\/span>/g,"</span>|||");c=s.split("|||"),Wt(c,(function(s){if(""!==s||1===c.length){var m,y={},v=st.createElementNS(St,"tspan");if(e.test(s)&&l(v,"style",m=s.match(e)[1].replace(/(;| |^)color([ :])/,"$1fill$2")),i.test(s)&&!a&&(l(v,"onclick",'location.href="'+s.match(i)[1]+'"'),p(v,{cursor:"pointer"}))," "!==(s=w(s.replace(/<(.|\n)*?>/g,"")||" "))){if(v.appendChild(st.createTextNode(s)),d?y.dx=0:h&&null!==u&&(y.x=u),l(v,y),o.appendChild(v),!d&&h&&(!At&&a&&p(v,{display:"block"}),l(v,"dy",k(v))),g){y=s.replace(/([^\^])-/g,"$1- ").split(" ");for(var b,S,A=c.length>1||h||y.length>1&&"nowrap"!==f.whiteSpace,T=[],C=k(v),P=t.rotation,L=s,M=L.length;(A||x)&&(y.length||T.length);)t.rotation=0,S=(b=t.getBBox(!0)).width,!At&&r.forExport&&(S=r.measureSpanWidth(v.firstChild.data,t.styles)),b=S>g,void 0===n&&(n=b),x&&n?(M/=2,""===L||!b&&M<.5?y=[]:(y=[(L=s.substring(0,L.length+(b?-1:1)*ht(M)))+(g>3?"…":"")],v.removeChild(v.firstChild))):b&&1!==y.length?(v.removeChild(v.firstChild),T.unshift(y.pop())):(y=T,T=[],y.length&&(l(v=st.createElementNS(St,"tspan"),{dy:C,x:u}),m&&l(v,"style",m),o.appendChild(v)),S>g&&(g=S)),y.length&&v.appendChild(st.createTextNode(y.join(" ").replace(/- /g,"-")));t.rotation=P}
d++}}}))})),n&&t.attr("title",t.textStr),b&&b.removeChild(o),y&&t.applyTextShadow&&t.applyTextShadow(y)):o.appendChild(st.createTextNode(w(h)))},getContrast:function(t){return(t=M(t).rgba)[0]+t[1]+t[2]>384?"#000000":"#FFFFFF"},button:function(t,e,i,s,o,r,a,h,l){var c,d,p,u,f,g,m=this.label(t,e,i,l,null,null,null,null,"button"),y=0;o=n({"stroke-width":1,stroke:"#CCCCCC",fill:{linearGradient:t={x1:0,y1:0,x2:0,y2:1},stops:[[0,"#FEFEFE"],[1,"#F6F6F6"]]},r:2,padding:5,style:{color:"black"}},o);return p=o.style,delete o.style,r=n(o,{stroke:"#68A",fill:{linearGradient:t,stops:[[0,"#FFF"],[1,"#ACF"]]}},r),u=r.style,delete r.style,a=n(o,{stroke:"#68A",fill:{linearGradient:t,stops:[[0,"#9BD"],[1,"#CDF"]]}},a),f=a.style,delete a.style,h=n(o,{style:{color:"#CCC"}},h),g=h.style,delete h.style,Vt(m.element,xt?"mouseover":"mouseenter",(function(){3!==y&&m.attr(r).css(u)})),Vt(m.element,xt?"mouseout":"mouseleave",(function(){3!==y&&(c=[o,r,a][y],d=[p,u,f][y],m.attr(c).css(d))})),m.setState=function(t){(m.state=y=t)?2===t?m.attr(a).css(f):3===t&&m.attr(h).css(g):m.attr(o).css(p)},m.on("click",(function(t){3!==y&&s.call(m,t)})).attr(o).css(qt({cursor:"default"},p))},crispLine:function(t,e){return t[1]===t[4]&&(t[1]=t[4]=rt(t[1])-e%2/2),t[2]===t[5]&&(t[2]=t[5]=rt(t[2])+e%2/2),t},path:function(t){var e={fill:"none"};return r(t)?e.d=t:$t(t)&&qt(e,t),this.createElement("path").attr(e)},circle:function(t,e,i){return t=$t(t)?t:{x:t,y:e,r:i},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,i){i.setAttribute("c"+e,t)},e.attr(t)},arc:function(t,e,i,n,s,o){return $t(t)&&(e=t.y,i=t.r,n=t.innerR,s=t.start,o=t.end,t=t.x),(t=this.symbol("arc",t||0,e||0,i||0,i||0,{innerR:n||0,start:s||0,end:o||0})).r=i,t},rect:function(t,e,i,n,s,o){s=$t(t)?t.r:s;var r=this.createElement("rect");t=$t(t)?t:t===z?{}:{x:t,y:e,width:lt(i,0),height:lt(n,0)};return o!==z&&(r.strokeWidth=o,t=r.crisp(t)),s&&(t.r=s),r.rSetter=function(t,e,i){l(i,{rx:t,ry:t})},r.attr(t)},setSize:function(t,e,i){var n=this.alignedObjects,s=n.length;for(this.width=t,this.height=e,this.boxWrapper[Qt(i,!0)?"animate":"attr"]({width:t,height:e});s--;)n[s].align()},g:function(t){var e=this.createElement("g");return h(t)?e.attr({class:"highcharts-"+t}):e},image:function(t,e,i,n,s){var o={preserveAspectRatio:"none"};return arguments.length>1&&qt(o,{x:e,y:i,width:n,height:s}),(o=this.createElement("image").attr(o)).element.setAttributeNS?o.element.setAttributeNS("http://www.w3.org/1999/xlink","href",t):o.element.setAttribute("hc-svg-href",t),o},symbol:function(t,e,i,n,s,o){var r,a,h,l,c=this,d=/^url\((.*?)\)$/;return(a=(a=this.symbols[t])&&a(rt(e),rt(i),n,s,o))?(r=this.path(a),qt(r,{symbolName:t,x:e,y:i,width:n,height:s}),o&&qt(r,o)):d.test(t)&&(l=function(t,e){t.element&&(t.attr({width:e[0],height:e[1]}),t.alignByTranslate||t.translate(rt((n-e[0])/2),rt((s-e[1])/2)))},h=t.match(d)[1],t=Pt[h]||o&&o.width&&o.height&&[o.width,o.height],(r=this.image(h).attr({x:e,y:i})).isImg=!0,t?l(r,t):(r.attr({width:0,height:0}),u("img",{onload:function(){0===this.width&&(p(this,{position:"absolute",top:"-999em"}),st.body.appendChild(this)),l(r,Pt[h]=[this.width,this.height]),this.parentNode&&this.parentNode.removeChild(this),c.imgCount--,!c.imgCount&&It[c.chartIndex].onload&&It[c.chartIndex].onload()},src:h}),this.imgCount++)),r},symbols:{circle:function(t,e,i,n){var s=.166*i;return[zt,t+i/2,e,"C",t+i+s,e,t+i+s,e+n,t+i/2,e+n,"C",t-s,e+n,t-s,e,t+i/2,e,"Z"]},square:function(t,e,i,n){return[zt,t,e,Rt,t+i,e,t+i,e+n,t,e+n,"Z"]},triangle:function(t,e,i,n){return[zt,t+i/2,e,Rt,t+i,e+n,t,e+n,"Z"]},"triangle-down":function(t,e,i,n){return[zt,t,e,Rt,t+i,e,t+i/2,e+n,"Z"]},diamond:function(t,e,i,n){return[zt,t+i/2,e,Rt,t+i,e+n/2,t+i/2,e+n,t,e+n/2,"Z"]},arc:function(t,e,i,n,s){var o=s.start,r=(i=s.r||i||n,s.end-.001),a=(n=s.innerR,s.open),h=pt(o),l=ut(o),c=pt(r);r=ut(r),s=s.end-o<ft?0:1;return[zt,t+i*h,e+i*l,"A",i,i,0,s,1,t+i*c,e+i*r,a?zt:Rt,t+n*c,e+n*r,"A",n,n,0,s,0,t+n*h,e+n*l,a?"":"Z"]},callout:function(t,e,i,n,s){var o,r=ct(s&&s.r||0,i,n),a=r+6,h=s&&s.anchorX;s=s&&s.anchorY;return o=["M",t+r,e,"L",t+i-r,e,"C",t+i,e,t+i,e,t+i,e+r,"L",t+i,e+n-r,"C",t+i,e+n,t+i,e+n,t+i-r,e+n,"L",t+r,e+n,"C",t,e+n,t,e+n,t,e+n-r,"L",t,e+r,"C",t,e,t,e,t+r,e],h&&h>i&&s>e+a&&s<e+n-a?o.splice(13,3,"L",t+i,s-6,t+i+6,s,t+i,s+6,t+i,e+n-r):h&&h<0&&s>e+a&&s<e+n-a?o.splice(33,3,"L",t,s+6,t-6,s,t,s-6,t,e+r):s&&s>n&&h>t+a&&h<t+i-a?o.splice(23,3,"L",h+6,e+n,h,e+n+6,h-6,e+n,t+r,e+n):s&&s<0&&h>t+a&&h<t+i-a&&o.splice(3,3,"L",h-6,e,h,e-6,h+6,e,i-r,e),o}},clipRect:function(t,e,i,n){var s="highcharts-"+Lt++,o=this.createElement("clipPath").attr({id:s}).add(this.defs);return(t=this.rect(t,e,i,n,0).add(o)).id=s,t.clipPath=o,t.count=0,t},text:function(t,e,i,n){var s=Ct||!At&&this.forExport,o={};return!n||!this.allowHTML&&this.forExport?(o.x=Math.round(e||0),i&&(o.y=Math.round(i)),(t||0===t)&&(o.text=t),t=this.createElement("text").attr(o),s&&t.css({position:"absolute"}),n||(t.xSetter=function(t,e,i){var n,s,o=i.getElementsByTagName("tspan"),r=i.getAttribute(e);for(s=0;s<o.length;s++)(n=o[s]).getAttribute(e)===r&&n.setAttribute(e,t);i.setAttribute(e,t)}),t):this.html(t,e,i)},fontMetrics:function(e,i){var n;return!(e=e||this.style.fontSize)&&i&&t.getComputedStyle&&(i=i.element||i,e=(n=t.getComputedStyle(i,""))&&n.fontSize),{h:n=(e=/px/.test(e)?s(e):/em/.test(e)?12*parseFloat(e):12)<24?e+3:rt(1.2*e),b:rt(.8*n),f:e}},rotCorr:function(t,e,i){var n=t;return e&&i&&(n=lt(n*pt(e*gt),4)),{x:-t/3*ut(e*gt),y:n}},label:function(t,e,i,s,o,r,a,l,c){var d,p,u,f,g,m,y,x,v,b,k,w=this,S=w.g(c),A=w.text("",0,0,a).attr({zIndex:1}),T=0,C=3,P=0,L=0,M={};v=function(){var t,e;t=A.element.style,p=(void 0===u||void 0===f||S.styles.textAlign)&&h(A.textStr)&&A.getBBox(),S.width=(u||p.width||0)+2*C+P,S.height=(f||p.height||0)+2*C,y=C+w.fontMetrics(t&&t.fontSize,A).b,x&&(d||(t=L,e=(l?-y:0)+L,S.box=d=w.symbols[s]?w.symbol(s,t,e,S.width,S.height,M):w.rect(t,e,S.width,S.height,0,M["stroke-width"]),d.isImg||d.attr("fill","none"),d.add(S)),d.isImg||d.attr(qt({width:rt(S.width),height:rt(S.height)},M)),M=null)},b=function(){var t,e=(e=S.styles)&&e.textAlign,i=P+C;t=l?0:y,h(u)&&p&&("center"===e||"right"===e)&&(i+={center:.5,right:1}[e]*(u-p.width)),i===A.x&&t===A.y||(A.attr("x",i),t!==z&&A.attr("y",t)),A.x=i,A.y=t},k=function(t,e){d?d.attr(t,e):M[t]=e},S.onAdd=function(){A.add(S),S.attr({text:t||0===t?t:"",x:e,y:i}),d&&h(o)&&S.attr({anchorX:o,anchorY:r})},S.widthSetter=function(t){u=t},S.heightSetter=function(t){f=t},S.paddingSetter=function(t){h(t)&&t!==C&&(C=S.padding=t,b())},S.paddingLeftSetter=function(t){h(t)&&t!==P&&(P=t,b())},S.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==T&&(T=t,p&&S.attr({x:g}))},S.textSetter=function(t){t!==z&&A.textSetter(t),v(),b()},S["stroke-widthSetter"]=function(t,e){t&&(x=!0),L=t%2/2,k(e,t)},S.strokeSetter=S.fillSetter=S.rSetter=function(t,e){"fill"===e&&t&&(x=!0),k(e,t)},S.anchorXSetter=function(t,e){o=t,k(e,rt(t)-L-g)},S.anchorYSetter=function(t,e){r=t,k(e,t-m)},S.xSetter=function(t){S.x=t,T&&(t-=T*((u||p.width)+2*C)),g=rt(t),S.attr("translateX",g)},S.ySetter=function(t){m=S.y=rt(t),S.attr("translateY",m)};var O=S.css;return qt(S,{css:function(t){if(t){var e={};t=n(t);Wt(S.textProps,(function(i){t[i]!==z&&(e[i]=t[i],delete t[i])})),A.css(e)}
return O.call(S,t)},getBBox:function(){return{width:p.width+2*C,height:p.height+2*C,x:p.x-C,y:p.y-C}},shadow:function(t){return d&&d.shadow(t),S},destroy:function(){jt(S.element,"mouseenter"),jt(S.element,"mouseleave"),A&&(A=A.destroy()),d&&(d=d.destroy()),I.prototype.destroy.call(S),S=w=v=b=k=null}})}},R=oe,qt(I.prototype,{htmlCss:function(t){var e=this.element;return(e=t&&"SPAN"===e.tagName&&t.width)&&(delete t.width,this.textWidth=e,this.updateTransform()),t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=qt(this.styles,t),p(this.element,t),this},htmlGetBBox:function(){var t=this.element;return"text"===t.nodeName&&(t.style.position="absolute"),{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},htmlUpdateTransform:function(){if(this.added){var t=this.renderer,e=this.element,i=this.translateX||0,n=this.translateY||0,o=this.x||0,r=this.y||0,a=this.textAlign||"left",l={left:0,center:.5,right:1}[a],c=this.shadows,d=this.styles;if(p(e,{marginLeft:i,marginTop:n}),c&&Wt(c,(function(t){p(t,{marginLeft:i+1,marginTop:n+1})})),this.inverted&&Wt(e.childNodes,(function(i){t.invertChild(i,e)})),"SPAN"===e.tagName){c=this.rotation;var u=s(this.textWidth),f=d&&d.whiteSpace,g=[c,a,e.innerHTML,this.textWidth,this.textAlign].join(",");g!==this.cTT&&(d=t.fontMetrics(e.style.fontSize).b,h(c)&&this.setSpanRotation(c,l,d),p(e,{width:"",whiteSpace:f||"nowrap"}),e.offsetWidth>u&&/[ \-]/.test(e.textContent||e.innerText)&&p(e,{width:u+"px",display:"block",whiteSpace:f||"normal"}),this.getSpanCorrection(e.offsetWidth,d,l,c,a)),p(e,{left:o+(this.xCorr||0)+"px",top:r+(this.yCorr||0)+"px"}),bt&&(d=e.offsetHeight),this.cTT=g}}else this.alignOnAdd=!0},setSpanRotation:function(t,e,i){var n={},s=xt?"-ms-transform":bt?"-webkit-transform":kt?"MozTransform":yt?"-o-transform":"";n[s]=n.transform="rotate("+t+"deg)",n[s+(kt?"Origin":"-origin")]=n.transformOrigin=100*e+"% "+i+"px",p(this.element,n)},getSpanCorrection:function(t,e,i){this.xCorr=-t*i,this.yCorr=-e}}),qt(oe.prototype,{html:function(t,e,i){var n=this.createElement("span"),s=n.element,o=n.renderer,r=o.isSVG,a=function(t,e){Wt(["opacity","visibility"],(function(i){te(t,i+"Setter",(function(t,i,n,s){t.call(this,i,n,s),e[n]=i}))}))};return n.textSetter=function(t){t!==s.innerHTML&&delete this.bBox,s.innerHTML=this.textStr=t,n.htmlUpdateTransform()},r&&a(n,n.element.style),n.xSetter=n.ySetter=n.alignSetter=n.rotationSetter=function(t,e){"align"===e&&(e="textAlign"),n[e]=t,n.htmlUpdateTransform()},n.attr({text:t,x:rt(e),y:rt(i)}).css({position:"absolute",fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),s.style.whiteSpace="nowrap",n.css=n.htmlCss,r&&(n.add=function(t){var e,i=o.box.parentNode,r=[];if(this.parentGroup=t){if(!(e=t.div)){for(;t;)r.push(t),t=t.parentGroup;Wt(r.reverse(),(function(t){var n,s=l(t.element,"class");s&&(s={className:s}),e=t.div=t.div||u(Dt,s,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",opacity:t.opacity},e||i),n=e.style,qt(t,{translateXSetter:function(e,i){n.left=e+"px",t[i]=e,t.doTransform=!0},translateYSetter:function(e,i){n.top=e+"px",t[i]=e,t.doTransform=!0}}),a(t,n)}))}}else e=i;return e.appendChild(s),n.added=!0,n.alignOnAdd&&n.htmlUpdateTransform(),n}),n}}),!At&&!Ct){(ne={init:function(t,e){var i=["<",e,' filled="f" stroked="f"'],n=["position: ","absolute",";"],s=e===Dt;("shape"===e||s)&&n.push("left:0;top:0;width:1px;height:1px;"),n.push("visibility: ",s?"hidden":"visible"),i.push(' style="',n.join(""),'"/>'),e&&(i=s||"span"===e||"img"===e?i.join(""):t.prepVML(i),this.element=u(i)),this.renderer=t},add:function(t){var e=this.renderer,i=this.element,n=e.box,s=t&&t.inverted;n=t?t.element||t:n;return t&&(this.parentGroup=t),s&&e.invertChild(i,n),n.appendChild(i),this.added=!0,this.alignOnAdd&&!this.deferUpdateTransform&&this.updateTransform(),this.onAdd&&this.onAdd(),this},updateTransform:I.prototype.htmlUpdateTransform,setSpanRotation:function(){var t=this.rotation,e=pt(t*gt),i=ut(t*gt);p(this.element,{filter:t?["progid:DXImageTransform.Microsoft.Matrix(M11=",e,", M12=",-i,", M21=",i,", M22=",e,", sizingMethod='auto expand')"].join(""):"none"})},getSpanCorrection:function(t,e,i,n,s){var o,r=n?pt(n*gt):1,a=n?ut(n*gt):0,h=Qt(this.elemHeight,this.element.offsetHeight);this.xCorr=r<0&&-t,this.yCorr=a<0&&-h,o=r*a<0,this.xCorr+=a*e*(o?1-i:i),this.yCorr-=r*e*(n?o?i:1-i:1),s&&"left"!==s&&(this.xCorr-=t*i*(r<0?-1:1),n&&(this.yCorr-=h*i*(a<0?-1:1)),p(this.element,{textAlign:s}))},pathToVML:function(t){for(var e=t.length,i=[];e--;)Jt(t[e])?i[e]=rt(10*t[e])-5:"Z"===t[e]?i[e]="x":(i[e]=t[e],!t.isArc||"wa"!==t[e]&&"at"!==t[e]||(i[e+5]===i[e+7]&&(i[e+7]+=t[e+7]>t[e+5]?1:-1),i[e+6]===i[e+8]&&(i[e+8]+=t[e+8]>t[e+6]?1:-1)));return i.join(" ")||"x"},clip:function(t){var e,i=this;return t?(a(e=t.members,i),e.push(i),i.destroyClip=function(){a(e,i)},t=t.getCSS(i)):(i.destroyClip&&i.destroyClip(),t={clip:vt?"inherit":"rect(auto)"}),i.css(t)},css:I.prototype.htmlCss,safeRemoveChild:function(t){t.parentNode&&A(t)},destroy:function(){return this.destroyClip&&this.destroyClip(),I.prototype.destroy.apply(this)},on:function(e,i){return this.element["on"+e]=function(){var e=t.event;e.target=e.srcElement,i(e)},this},cutOffPath:function(t,e){var i;return 9!==(i=(t=t.split(/[ ,]/)).length)&&11!==i||(t[i-4]=t[i-2]=s(t[i-2])-10*e),t.join(" ")},shadow:function(t,e,i){var n,o,r,a,h,l,c,d=[],p=this.element,f=this.renderer,g=p.style,m=p.path;if(m&&"string"!=typeof m.value&&(m="x"),h=m,t){for(l=Qt(t.width,3),c=(t.opacity||.15)/l,n=1;n<=3;n++)a=2*l+1-2*n,i&&(h=this.cutOffPath(m.value,a+.5)),r=['<shape isShadow="true" strokeweight="',a,'" filled="false" path="',h,'" coordsize="10 10" style="',p.style.cssText,'" />'],o=u(f.prepVML(r),null,{left:s(g.left)+Qt(t.offsetX,1),top:s(g.top)+Qt(t.offsetY,1)}),i&&(o.cutOff=a+1),r=['<stroke color="',t.color||"black",'" opacity="',c*n,'"/>'],u(f.prepVML(r),null,null,o),e?e.element.appendChild(o):p.parentNode.insertBefore(o,p),d.push(o);this.shadows=d}
return this},updateShadows:Mt,setAttr:function(t,e){vt?this.element[t]=e:this.element.setAttribute(t,e)},classSetter:function(t){this.element.className=t},dashstyleSetter:function(t,e,i){(i.getElementsByTagName("stroke")[0]||u(this.renderer.prepVML(["<stroke/>"]),null,null,i))[e]=t||"solid",this[e]=t},dSetter:function(t,e,i){var n=this.shadows;t=t||[];if(this.d=t.join&&t.join(" "),i.path=t=this.pathToVML(t),n)for(i=n.length;i--;)n[i].path=n[i].cutOff?this.cutOffPath(t,n[i].cutOff):t;this.setAttr(e,t)},fillSetter:function(t,e,i){var n=i.nodeName;"SPAN"===n?i.style.color=t:"IMG"!==n&&(i.filled="none"!==t,this.setAttr("fillcolor",this.renderer.color(t,i,e,this)))},"fill-opacitySetter":function(t,e,i){u(this.renderer.prepVML(["<",e.split("-")[0],' opacity="',t,'"/>']),null,null,i)},opacitySetter:Mt,rotationSetter:function(t,e,i){i=i.style,this[e]=i[e]=t,i.left=-rt(ut(t*gt)+1)+"px",i.top=rt(pt(t*gt))+"px"},strokeSetter:function(t,e,i){this.setAttr("strokecolor",this.renderer.color(t,i,e,this))},"stroke-widthSetter":function(t,e,i){i.stroked=!!t,this[e]=t,Jt(t)&&(t+="px"),this.setAttr("strokeweight",t)},titleSetter:function(t,e){this.setAttr(e,t)},visibilitySetter:function(t,e,i){"inherit"===t&&(t="visible"),this.shadows&&Wt(this.shadows,(function(i){i.style[e]=t})),"DIV"===i.nodeName&&(t="hidden"===t?"-999em":0,vt||(i.style[e]=t?"visible":"hidden"),e="top"),i.style[e]=t},xSetter:function(t,e,i){this[e]=t,"x"===e?e="left":"y"===e&&(e="top"),this.updateClipping?(this[e]=t,this.updateClipping()):i.style[e]=t},zIndexSetter:function(t,e,i){i.style[e]=t}})["stroke-opacitySetter"]=ne["fill-opacitySetter"],nt.VMLElement=ne=f(I,ne),ne.prototype.ySetter=ne.prototype.widthSetter=ne.prototype.heightSetter=ne.prototype.xSetter;var re={Element:ne,isIE8:mt.indexOf("MSIE 8.0")>-1,init:function(t,e,i,n){var s;if(this.alignedObjects=[],s=(n=this.createElement(Dt).css(qt(this.getStyle(n),{position:"relative"}))).element,t.appendChild(n.element),this.isVML=!0,this.box=s,this.boxWrapper=n,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,i,!1),!st.namespaces.hcv){st.namespaces.add("hcv","urn:schemas-microsoft-com:vml");try{st.createStyleSheet().cssText="hcv\\:fill, hcv\\:path, hcv\\:shape, hcv\\:stroke{ behavior:url(#default#VML); display: inline-block; } "}catch(t){st.styleSheets[0].cssText+="hcv\\:fill, hcv\\:path, hcv\\:shape, hcv\\:stroke{ behavior:url(#default#VML); display: inline-block; } "}}},isHidden:function(){return!this.box.offsetWidth},clipRect:function(t,e,i,n){var s=this.createElement(),o=$t(t);return qt(s,{members:[],count:0,left:(o?t.x:t)+1,top:(o?t.y:e)+1,width:(o?t.width:i)-1,height:(o?t.height:n)-1,getCSS:function(t){var e=(s=t.element).nodeName,i=(t=t.inverted,this.top-("shape"===e?s.offsetTop:0)),n=this.left,s=n+this.width,o=i+this.height;i={clip:"rect("+rt(t?n:i)+"px,"+rt(t?o:s)+"px,"+rt(t?s:o)+"px,"+rt(t?i:n)+"px)"};return!t&&vt&&"DIV"===e&&qt(i,{width:s+"px",height:o+"px"}),i},updateClipping:function(){Wt(s.members,(function(t){t.element&&t.css(s.getCSS(t))}))}})},color:function(t,e,i,n){var s,o,r,a=this,h=/^rgba/,l="none";if(t&&t.linearGradient?r="gradient":t&&t.radialGradient&&(r="pattern"),r){var c,d,p,f,g,m,y,x,v=t.linearGradient||t.radialGradient,b="",k=(t=t.stops,[]),w=function(){o=['<fill colors="'+k.join(",")+'" opacity="',g,'" o:opacity2="',f,'" type="',r,'" ',b,'focus="100%" method="any" />'],u(a.prepVML(o),null,null,e)};if(p=t[0],x=t[t.length-1],p[0]>0&&t.unshift([0,p[1]]),x[0]<1&&t.push([1,x[1]]),Wt(t,(function(t,e){h.test(t[1])?(s=M(t[1]),c=s.get("rgb"),d=s.get("a")):(c=t[1],d=1),k.push(100*t[0]+"% "+c),e?(g=d,m=c):(f=d,y=c)})),"fill"===i)if("gradient"===r)i=v.x1||v[0]||0,t=v.y1||v[1]||0,p=v.x2||v[2]||0,v=v.y2||v[3]||0,b='angle="'+(90-180*ot.atan((v-t)/(p-i))/ft)+'"',w();else{var S,A=2*(l=v.r),T=2*l,C=v.cx,P=v.cy,L=e.radialReference;l=function(){L&&(S=n.getBBox(),C+=(L[0]-S.x)/S.width-.5,P+=(L[1]-S.y)/S.height-.5,A*=L[2]/S.width,T*=L[2]/S.height),b='src="'+X.global.VMLRadialGradientURL+'" size="'+A+","+T+'" origin="0.5,0.5" position="'+C+","+P+'" color2="'+y+'" ',w()};n.added?l():n.onAdd=l,l=m}else l=c}else h.test(t)&&"IMG"!==e.tagName?(s=M(t),n[i+"-opacitySetter"](s.get("a"),i,e),l=s.get("rgb")):((l=e.getElementsByTagName(i)).length&&(l[0].opacity=1,l[0].type="solid"),l=t);return l},prepVML:function(t){var e=this.isIE8;t=t.join("");return e?t=-1===(t=t.replace("/>",' xmlns="urn:schemas-microsoft-com:vml" />')).indexOf('style="')?t.replace("/>",' style="display:inline-block;behavior:url(#default#VML);" />'):t.replace('style="','style="display:inline-block;behavior:url(#default#VML);'):t=t.replace("<","<hcv:"),t},text:oe.prototype.html,path:function(t){var e={coordsize:"10 10"};return r(t)?e.d=t:$t(t)&&qt(e,t),this.createElement("shape").attr(e)},circle:function(t,e,i){var n=this.symbol("circle");return $t(t)&&(i=t.r,e=t.y,t=t.x),n.isCircle=!0,n.r=i,n.attr({x:t,y:e})},g:function(t){var e;return t&&(e={className:"highcharts-"+t,class:"highcharts-"+t}),this.createElement(Dt).attr(e)},image:function(t,e,i,n,s){var o=this.createElement("img").attr({src:t});return arguments.length>1&&o.attr({x:e,y:i,width:n,height:s}),o},createElement:function(t){return"rect"===t?this.symbol(t):oe.prototype.createElement.call(this,t)},invertChild:function(t,e){var i=this,n=e.style,o="IMG"===t.tagName&&t.style;p(t,{flip:"x",left:s(n.width)-(o?s(o.top):1),top:s(n.height)-(o?s(o.left):1),rotation:-90}),Wt(t.childNodes,(function(e){i.invertChild(e,t)}))},symbols:{arc:function(t,e,i,n,s){var o=s.start,r=s.end,a=s.r||i||n,h=(i=s.innerR,n=pt(o),ut(o)),l=pt(r),c=ut(r);return r-o==0?["x"]:(o=["wa",t-a,e-a,t+a,e+a,t+a*n,e+a*h,t+a*l,e+a*c],s.open&&!i&&o.push("e",zt,t,e),o.push("at",t-i,e-i,t+i,e+i,t+i*l,e+i*c,t+i*n,e+i*h,"x","e"),o.isArc=!0,o)},circle:function(t,e,i,n,s){return s&&(i=n=2*s.r),s&&s.isCircle&&(t-=i/2,e-=n/2),["wa",t,e,t+i,e+n,t+i,e+n/2,t+i,e+n/2,"e"]},rect:function(t,e,i,n,s){return oe.prototype.symbols[h(s)&&s.r?"callout":"square"].call(0,t,e,i,n,s)}}};nt.VMLRenderer=ne=function(){this.init.apply(this,arguments)},ne.prototype=n(oe.prototype,re),R=ne}
oe.prototype.measureSpanWidth=function(t,e){var i,n=st.createElement("span");return i=st.createTextNode(t),n.appendChild(i),p(n,e),this.box.appendChild(n),i=n.offsetWidth,A(n),i},Ct&&(nt.CanVGRenderer=ne=function(){St="http://www.w3.org/1999/xhtml"},ne.prototype.symbols={},se=function(){function t(){var t,i=e.length;for(t=0;t<i;t++)e[t]();e=[]}
var e=[];return{push:function(i,n){if(0===e.length){var s=st.getElementsByTagName("head")[0],o=st.createElement("script");o.type="text/javascript",o.src=n,o.onload=t,s.appendChild(o)}
e.push(i)}}}(),R=ne),O.prototype={addLabel:function(){var t,e=this.axis,i=e.options,s=e.chart,o=e.categories,r=e.names,a=this.pos,l=i.labels,c=a===(p=e.tickPositions)[0],d=a===p[p.length-1],p=(r=o?Qt(o[a],r[a],a):a,o=this.label,p.info);e.isDatetimeAxis&&p&&(t=i.dateTimeLabelFormats[p.higherRanks[a]||p.unitName]),this.isFirst=c,this.isLast=d,i=e.labelFormatter.call({axis:e,chart:s,isFirst:c,isLast:d,dateTimeLabelFormat:t,value:e.isLog?T(e.lin2log(r)):r}),h(o)?o&&o.attr({text:i}):(this.labelLength=(this.label=o=h(i)&&l.enabled?s.renderer.text(i,0,0,l.useHTML).css(n(l.style)).add(e.labelGroup):null)&&o.getBBox().width,this.rotation=0)},getLabelSize:function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},handleOverflow:function(t){var e,i=this.axis,n=t.x,s=i.chart.chartWidth,o=i.chart.spacing,r=Qt(i.labelLeft,ct(i.pos,o[3])),a=(o=Qt(i.labelRight,lt(i.pos+i.len,s-o[1])),this.label),h=this.rotation,l={left:0,center:.5,right:1}[i.labelAlign],c=a.getBBox().width,d=i.getSlotWidth(),p=d,u=1,f={};h?h<0&&n-l*c<r?e=rt(n/pt(h*gt)-r):h>0&&n+l*c>o&&(e=rt((s-n)/pt(h*gt))):(s=n+(1-l)*c,n-l*c<r?p=t.x+p*(1-l)-r:s>o&&(p=o-t.x+p*l,u=-1),(p=ct(d,p))<d&&"center"===i.labelAlign&&(t.x+=u*(d-p-l*(d-ct(c,p)))),(c>p||i.autoRotation&&a.styles.width)&&(e=p)),e&&(f.width=e,i.options.labels.style.textOverflow||(f.textOverflow="ellipsis"),a.css(f))},getPosition:function(t,e,i,n){var s=this.axis,o=s.chart,r=n&&o.oldChartHeight||o.chartHeight;return{x:t?s.translate(e+i,null,null,n)+s.transB:s.left+s.offset+(s.opposite?(n&&o.oldChartWidth||o.chartWidth)-s.right-s.left:0),y:t?r-s.bottom+s.offset-(s.opposite?s.height:0):r-s.translate(e+i,null,null,n)-s.transB}},getLabelPosition:function(t,e,i,n,s,o,r,a){var l=this.axis,c=l.transA,d=l.reversed,p=l.staggerLines,u=l.tickRotCorr||{x:0,y:0},f=s.y;return h(f)||(f=0===l.side?i.rotation?-8:-i.getBBox().height:2===l.side?u.y+8:pt(i.rotation*gt)*(u.y-i.getBBox(!1,0).height/2)),t=t+s.x+u.x-(o&&n?o*c*(d?-1:1):0),e=e+f-(o&&!n?o*c*(d?1:-1):0),p&&(i=r/(a||1)%p,l.opposite&&(i=p-i-1),e+=i*(l.labelOffset/p)),{x:t,y:rt(e)}},getMarkPath:function(t,e,i,n,s,o){return o.crispLine([zt,t,e,Rt,t+(s?0:-i),e+(s?i:0)],n)},render:function(t,e,i){var n=this.axis,s=n.options,o=n.chart.renderer,r=n.horiz,a=this.type,h=this.label,l=this.pos,c=s.labels,d=this.gridLine,p=a?a+"Tick":"tick",u=s[(m=a?a+"Grid":"grid")+"LineWidth"],f=s[m+"LineColor"],g=s[m+"LineDashStyle"],m=n.tickSize(p),y=(p=s[p+"Color"],this.mark),x=c.step,v=!0,b=n.tickmarkOffset,k=(w=this.getPosition(r,l,b,e)).x,w=w.y,S=r&&k===n.pos+n.len||!r&&w===n.pos?-1:1;i=Qt(i,1);this.isActive=!0,u&&(l=n.getPlotLinePath(l+b,u*S,e,!0),d===z&&(d={stroke:f,"stroke-width":u},g&&(d.dashstyle=g),a||(d.zIndex=1),e&&(d.opacity=0),this.gridLine=d=u?o.path(l).attr(d).add(n.gridGroup):null),!e&&d&&l&&d[this.isNew?"attr":"animate"]({d:l,opacity:i})),m&&(n.opposite&&(m[0]=-m[0]),a=this.getMarkPath(k,w,m[0],m[1]*S,r,o),y?y.animate({d:a,opacity:i}):this.mark=o.path(a).attr({stroke:p,"stroke-width":m[1],opacity:i}).add(n.axisGroup)),h&&Jt(k)&&(h.xy=w=this.getLabelPosition(k,w,h,r,c,b,t,x),this.isFirst&&!this.isLast&&!Qt(s.showFirstLabel,1)||this.isLast&&!this.isFirst&&!Qt(s.showLastLabel,1)?v=!1:r&&!n.isRadial&&!c.step&&!c.rotation&&!e&&0!==i&&this.handleOverflow(w),x&&t%x&&(v=!1),v&&Jt(w.y)?(w.opacity=i,h[this.isNew?"attr":"animate"](w)):(Kt(h),h.attr("y",-9999)),this.isNew=!1)},destroy:function(){S(this,this.axis)}},nt.PlotLineOrBand=function(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)},nt.PlotLineOrBand.prototype={render:function(){var t,e=this,i=e.axis,s=i.horiz,o=e.options,r=o.label,a=e.label,l=o.width,c=o.to,d=o.from,p=h(d)&&h(c),u=o.value,f=o.dashStyle,g=e.svgElem,m=[],y=o.color,x=Qt(o.zIndex,0),v=o.events,b={},k=i.chart.renderer;m=i.log2lin;if(i.isLog&&(d=m(d),c=m(c),u=m(u)),l)m=i.getPlotLinePath(u,l),b={stroke:y,"stroke-width":l},f&&(b.dashstyle=f);else{if(!p)return;m=i.getPlotBandPath(d,c,o),y&&(b.fill=y),o.borderWidth&&(b.stroke=o.borderColor,b["stroke-width"]=o.borderWidth)}
if(b.zIndex=x,g)m?(g.show(),g.animate({d:m})):(g.hide(),a&&(e.label=a=a.destroy()));else if(m&&m.length&&(e.svgElem=g=k.path(m).attr(b).add(),v))for(t in o=function(t){g.on(t,(function(i){v[t].apply(e,[i])}))},v)o(t);return r&&h(r.text)&&m&&m.length&&i.width>0&&i.height>0&&!m.flat?(r=n({align:s&&p&&"center",x:s?!p&&4:10,verticalAlign:!s&&p&&"middle",y:s?p?16:10:p?6:-4,rotation:s&&!p&&90},r),this.renderLabel(r,m,p,x)):a&&a.hide(),e},renderLabel:function(t,e,i,n){var s=this.label,o=this.axis.chart.renderer;s||((s={align:t.textAlign||t.align,rotation:t.rotation}).zIndex=n,this.label=s=o.text(t.text,0,0,t.useHTML).attr(s).css(t.style).add()),n=[e[1],e[4],i?e[6]:e[1]],e=[e[2],e[5],i?e[7]:e[2]],i=k(n),o=k(e),s.align(t,!1,{x:i,y:o,width:w(n)-i,height:w(e)-o}),s.show()},destroy:function(){a(this.axis.plotLinesAndBands,this),delete this.axis,S(this)}};var ae=nt.Axis=function(){this.init.apply(this,arguments)};ae.prototype={defaultOptions:{dateTimeLabelFormats:{millisecond:"%H:%M:%S.%L",second:"%H:%M:%S",minute:"%H:%M",hour:"%H:%M",day:"%e. %b",week:"%e. %b",month:"%b '%y",year:"%Y"},endOnTick:!1,gridLineColor:"#D8D8D8",labels:{enabled:!0,style:{color:"#606060",cursor:"default",fontSize:"11px"},x:0},lineColor:"#C0D0E0",lineWidth:1,minPadding:.01,maxPadding:.01,minorGridLineColor:"#E0E0E0",minorGridLineWidth:1,minorTickColor:"#A0A0A0",minorTickLength:2,minorTickPosition:"outside",startOfWeek:1,startOnTick:!1,tickColor:"#C0D0E0",tickLength:10,tickmarkPlacement:"between",tickPixelInterval:100,tickPosition:"outside",title:{align:"middle",style:{color:"#707070"}},type:"linear"},defaultYAxisOptions:{endOnTick:!0,gridLineWidth:1,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},lineWidth:0,maxPadding:.05,minPadding:.05,startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{enabled:!1,formatter:function(){return nt.numberFormat(this.total,-1)},style:n(ee.line.dataLabels.style,{color:"#000000"})}},defaultLeftAxisOptions:{labels:{x:-15},title:{rotation:270}},defaultRightAxisOptions:{labels:{x:15},title:{rotation:90}},defaultBottomAxisOptions:{labels:{autoRotation:[-45],x:0},title:{rotation:0}},defaultTopAxisOptions:{labels:{autoRotation:[-45],x:0},title:{rotation:0}},init:function(t,e){var i=e.isX;this.chart=t,this.horiz=t.inverted?!i:i,this.coll=(this.isXAxis=i)?"xAxis":"yAxis",this.opposite=e.opposite,this.side=e.side||(this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);var n=(o=this.options).type;this.labelFormatter=o.labels.formatter||this.defaultLabelFormatter,this.userOptions=e,this.minPixelPadding=0,this.reversed=o.reversed,this.visible=!1!==o.visible,this.zoomEnabled=!1!==o.zoomEnabled,this.categories=o.categories||"category"===n,this.names=this.names||[],this.isLog="logarithmic"===n,this.isDatetimeAxis="datetime"===n,this.isLinked=h(o.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=o.minRange||o.maxZoom,this.range=o.range,this.offset=o.offset||0,this.stacks={},this.oldStacks={},this.stacksTouched=0,this.min=this.max=null,this.crosshair=Qt(o.crosshair,c(t.options.tooltip.crosshairs)[i?0:1],!1);var s,o=this.options.events;for(s in-1===Ht(this,t.axes)&&(i&&!this.isColorAxis?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),t[this.coll].push(this)),this.series=this.series||[],t.inverted&&i&&this.reversed===z&&(this.reversed=!0),this.removePlotLine=this.removePlotBand=this.removePlotBandOrLine,o)Vt(this,s,o[s]);this.isLog&&(this.val2lin=this.log2lin,this.lin2val=this.lin2log)},setOptions:function(t){this.options=n(this.defaultOptions,this.isXAxis?{}:this.defaultYAxisOptions,[this.defaultTopAxisOptions,this.defaultRightAxisOptions,this.defaultBottomAxisOptions,this.defaultLeftAxisOptions][this.side],n(X[this.coll],t))},defaultLabelFormatter:function(){var t,e=this.axis,i=this.value,n=e.categories,s=this.dateTimeLabelFormat,o=X.lang.numericSymbols,r=o&&o.length,a=e.options.labels.format;e=e.isLog?i:e.tickInterval;if(a)t=y(a,this);else if(n)t=i;else if(s)t=G(s,i);else if(r&&e>=1e3)for(;r--&&t===z;)e>=(n=Math.pow(1e3,r+1))&&10*i%n==0&&null!==o[r]&&0!==i&&(t=nt.numberFormat(i/n,-1)+o[r]);return t===z&&(t=dt(i)>=1e4?nt.numberFormat(i,-1):nt.numberFormat(i,-1,z,"")),t},getSeriesExtremes:function(){var t=this,e=t.chart;t.hasVisibleSeries=!1,t.dataMin=t.dataMax=t.threshold=null,t.softThreshold=!t.isXAxis,t.buildStacks&&t.buildStacks(),Wt(t.series,(function(i){if(i.visible||!e.options.chart.ignoreHiddenSeries){var n,s=i.options,o=s.threshold;t.hasVisibleSeries=!0,t.isLog&&o<=0&&(o=null),t.isXAxis?(s=i.xData).length&&(i=k(s),!Jt(i)&&!(i instanceof W)&&(s=Ft(s,(function(t){return Jt(t)})),i=k(s)),t.dataMin=ct(Qt(t.dataMin,s[0]),i),t.dataMax=lt(Qt(t.dataMax,s[0]),w(s))):(i.getExtremes(),n=i.dataMax,h(i=i.dataMin)&&h(n)&&(t.dataMin=ct(Qt(t.dataMin,i),i),t.dataMax=lt(Qt(t.dataMax,n),n)),h(o)&&(t.threshold=o),s.softThreshold&&!t.isLog||(t.softThreshold=!1))}}))},translate:function(t,e,i,n,s,o){var r=this.linkedParent||this,a=1,h=0,l=n?r.oldTransA:r.transA,c=(n=n?r.oldMin:r.min,r.minPixelPadding);s=(r.isOrdinal||r.isBroken||r.isLog&&s)&&r.lin2val;return l||(l=r.transA),i&&(a*=-1,h=r.len),r.reversed&&(h-=(a*=-1)*(r.sector||r.len)),e?(t=t*a+h,t=(t-=c)/l+n,s&&(t=r.lin2val(t))):(s&&(t=r.val2lin(t)),"between"===o&&(o=.5),t=a*(t-n)*l+h+a*c+(Jt(o)?l*o*r.pointRange:0)),t},toPixels:function(t,e){return this.translate(t,!1,!this.horiz,null,!0)+(e?0:this.pos)},toValue:function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,null,!0)},getPlotLinePath:function(t,e,i,n,s){var o,r,a,h=this.chart,l=this.left,c=this.top,d=i&&h.oldChartHeight||h.chartHeight,p=i&&h.oldChartWidth||h.chartWidth;o=this.transB;var u=function(t,e,i){return(t<e||t>i)&&(n?t=ct(lt(e,t),i):a=!0),t};s=Qt(s,this.translate(t,null,null,i)),t=i=rt(s+o);return o=r=rt(d-s-o),Jt(s)?this.horiz?(o=c,r=d-this.bottom,t=i=u(t,l,l+this.width)):(t=l,i=p-this.right,o=r=u(o,c,c+this.height)):a=!0,a&&!n?null:h.renderer.crispLine([zt,t,o,Rt,i,r],e||1)},getLinearTickPositions:function(t,e,i){var n,s=T(at(e/t)*t),o=T(ht(i/t)*t),r=[];if(e===i&&Jt(e))return[e];for(e=s;e<=o&&(r.push(e),(e=T(e+t))!==n);)n=e;return r},getMinorTickPositions:function(){var t,e=this.options,i=this.tickPositions,n=this.minorTickInterval,s=[],o=this.pointRangePadding||0;t=this.min-o;var r=(o=this.max+o)-t;if(r&&r/n<this.len/3)if(this.isLog)for(o=i.length,t=1;t<o;t++)s=s.concat(this.getLogTickPositions(n,i[t-1],i[t],!0));else if(this.isDatetimeAxis&&"auto"===e.minorTickInterval)s=s.concat(this.getTimeTicks(this.normalizeTimeTickInterval(n),t,o,e.startOfWeek));else for(i=t+(i[0]-t)%n;i<=o;i+=n)s.push(i);return 0!==s.length&&this.trimTicks(s,e.startOnTick,e.endOnTick),s},adjustForMinRange:function(){var t,e,i,n,s,o,r=this.options,a=this.min,l=this.max,c=this.dataMax-this.dataMin>=this.minRange;this.isXAxis&&this.minRange===z&&!this.isLog&&(h(r.min)||h(r.max)?this.minRange=null:(Wt(this.series,(function(t){for(s=t.xData,i=t.xIncrement?1:s.length-1;i>0;i--)n=s[i]-s[i-1],(e===z||n<e)&&(e=n)})),this.minRange=ct(5*e,this.dataMax-this.dataMin))),l-a<this.minRange&&(t=[a-(t=((o=this.minRange)-l+a)/2),Qt(r.min,a-t)],c&&(t[2]=this.dataMin),l=[(a=w(t))+o,Qt(r.max,a+o)],c&&(l[2]=this.dataMax),(l=k(l))-a<o&&(t[0]=l-o,t[1]=Qt(r.min,l-o),a=w(t))),this.min=a,this.max=l},getClosest:function(){var t;return this.categories?t=1:Wt(this.series,(function(e){var i=e.closestPointRange;!e.noSharedTooltip&&h(i)&&(t=h(t)?ct(t,i):i)})),t},setAxisTranslation:function(t){var e,i=this,n=i.max-i.min,s=i.axisPointRange||0,r=0,a=0,h=i.linkedParent,l=!!i.categories,c=i.transA,d=i.isXAxis;(d||l||s)&&(h?(r=h.minPointOffset,a=h.pointRangePadding):(e=i.getClosest(),Wt(i.series,(function(t){var n=l?1:d?Qt(t.options.pointRange,e,0):i.axisPointRange||0;t=t.options.pointPlacement;s=lt(s,n),i.single||(r=lt(r,o(t)?0:n/2),a=lt(a,"on"===t?0:n))}))),h=i.ordinalSlope&&e?i.ordinalSlope/e:1,i.minPointOffset=r*=h,i.pointRangePadding=a*=h,i.pointRange=ct(s,n),d&&(i.closestPointRange=e)),t&&(i.oldTransA=c),i.translationSlope=i.transA=c=i.len/(n+a||1),i.transB=i.horiz?i.left:i.bottom,i.minPixelPadding=c*r},minFromRange:function(){return this.max-this.range},setTickInterval:function(t){var i,n,s,o,r=this,a=r.chart,l=r.options,c=r.isLog,d=r.log2lin,p=r.isDatetimeAxis,u=r.isXAxis,f=r.isLinked,g=l.maxPadding,m=l.minPadding,y=l.tickInterval,b=l.tickPixelInterval,k=r.categories,w=r.threshold,S=r.softThreshold;!p&&!k&&!f&&this.getTickAmount(),s=Qt(r.userMin,l.min),o=Qt(r.userMax,l.max),f?(r.linkedParent=a[r.coll][l.linkedTo],a=r.linkedParent.getExtremes(),r.min=Qt(a.min,a.dataMin),r.max=Qt(a.max,a.dataMax),l.type!==r.linkedParent.options.type&&e(11,1)):(!S&&h(w)&&(r.dataMin>=w?(i=w,m=0):r.dataMax<=w&&(n=w,g=0)),r.min=Qt(s,i,r.dataMin),r.max=Qt(o,n,r.dataMax)),c&&(!t&&ct(r.min,Qt(r.dataMin,r.min))<=0&&e(10,1),r.min=T(d(r.min),15),r.max=T(d(r.max),15)),r.range&&h(r.max)&&(r.userMin=r.min=s=lt(r.min,r.minFromRange()),r.userMax=o=r.max,r.range=null),_t(r,"foundExtremes"),r.beforePadding&&r.beforePadding(),r.adjustForMinRange(),k||r.axisPointRange||r.usePercentage||f||!h(r.min)||!h(r.max)||!(d=r.max-r.min)||(!h(s)&&m&&(r.min-=d*m),!h(o)&&g&&(r.max+=d*g)),Jt(l.floor)&&(r.min=lt(r.min,l.floor)),Jt(l.ceiling)&&(r.max=ct(r.max,l.ceiling)),S&&h(r.dataMin)&&(w=w||0,!h(s)&&r.min<w&&r.dataMin>=w?r.min=w:!h(o)&&r.max>w&&r.dataMax<=w&&(r.max=w)),r.tickInterval=r.min===r.max||void 0===r.min||void 0===r.max?1:f&&!y&&b===r.linkedParent.options.tickPixelInterval?y=r.linkedParent.tickInterval:Qt(y,this.tickAmount?(r.max-r.min)/lt(this.tickAmount-1,1):void 0,k?1:(r.max-r.min)*b/lt(r.len,b)),u&&!t&&Wt(r.series,(function(t){t.processData(r.min!==r.oldMin||r.max!==r.oldMax)})),r.setAxisTranslation(!0),r.beforeSetTickPositions&&r.beforeSetTickPositions(),r.postProcessTickInterval&&(r.tickInterval=r.postProcessTickInterval(r.tickInterval)),r.pointRange&&!y&&(r.tickInterval=lt(r.pointRange,r.tickInterval)),t=Qt(l.minTickInterval,r.isDatetimeAxis&&r.closestPointRange),!y&&r.tickInterval<t&&(r.tickInterval=t),p||c||y||(r.tickInterval=v(r.tickInterval,null,x(r.tickInterval),Qt(l.allowDecimals,!(r.tickInterval>.5&&r.tickInterval<5&&r.max>1e3&&r.max<9999)),!!this.tickAmount)),!this.tickAmount&&this.len&&(r.tickInterval=r.unsquish()),this.setTickPositions()},setTickPositions:function(){var t,e,i=this.options,n=i.tickPositions,s=i.tickPositioner,o=i.startOnTick,r=i.endOnTick;this.tickmarkOffset=this.categories&&"between"===i.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===i.minorTickInterval&&this.tickInterval?this.tickInterval/5:i.minorTickInterval,this.tickPositions=t=n&&n.slice(),!t&&((t=this.isDatetimeAxis?this.getTimeTicks(this.normalizeTimeTickInterval(this.tickInterval,i.units),this.min,this.max,i.startOfWeek,this.ordinalPositions,this.closestPointRange,!0):this.isLog?this.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max)).length>this.len&&(t=[t[0],t.pop()]),this.tickPositions=t,s&&(s=s.apply(this,[this.min,this.max])))&&(this.tickPositions=t=s),this.isLinked||(this.trimTicks(t,o,r),this.min===this.max&&h(this.min)&&!this.tickAmount&&(e=!0,this.min-=.5,this.max+=.5),this.single=e,!n&&!s&&this.adjustTickAmount())},trimTicks:function(t,e,i){var n=t[0],s=t[t.length-1],o=this.minPointOffset||0;if(e)this.min=n;else for(;this.min-o>t[0];)t.shift();if(i)this.max=s;else for(;this.max+o<t[t.length-1];)t.pop();0===t.length&&h(n)&&t.push((s+n)/2)},alignToOthers:function(){var t,e={},i=this.options;return!1!==this.chart.options.chart.alignTicks&&!1!==i.alignTicks&&Wt(this.chart[this.coll],(function(i){var n=i.options;n=[i.horiz?n.left:n.top,n.width,n.height,n.pane].join(",");i.series.length&&(e[n]?t=!0:e[n]=1)})),t},getTickAmount:function(){var t=this.options,e=t.tickAmount,i=t.tickPixelInterval;!h(t.tickInterval)&&this.len<i&&!this.isRadial&&!this.isLog&&t.startOnTick&&t.endOnTick&&(e=2),!e&&this.alignToOthers()&&(e=ht(this.len/i)+1),e<4&&(this.finalTickAmt=e,e=5),this.tickAmount=e},adjustTickAmount:function(){var t=this.tickInterval,e=this.tickPositions,i=this.tickAmount,n=this.finalTickAmt,s=e&&e.length;if(s<i){for(;e.length<i;)e.push(T(e[e.length-1]+t));this.transA*=(s-1)/(i-1),this.max=e[e.length-1]}else s>i&&(this.tickInterval*=2,this.setTickPositions());if(h(n)){for(t=i=e.length;t--;)(3===n&&t%2==1||n<=2&&t>0&&t<i-1)&&e.splice(t,1);this.finalTickAmt=z}},setScale:function(){var t,e;this.oldMin=this.min,this.oldMax=this.max,this.oldAxisLength=this.len,this.setAxisSize(),e=this.len!==this.oldAxisLength,Wt(this.series,(function(e){(e.isDirtyData||e.isDirty||e.xAxis.isDirty)&&(t=!0)})),e||t||this.isLinked||this.forceRedraw||this.userMin!==this.oldUserMin||this.userMax!==this.oldUserMax||this.alignToOthers()?(this.resetStacks&&this.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.oldUserMin=this.userMin,this.oldUserMax=this.userMax,this.isDirty||(this.isDirty=e||this.min!==this.oldMin||this.max!==this.oldMax)):this.cleanStacks&&this.cleanStacks()},setExtremes:function(t,e,i,n,s){var o=this,r=o.chart;i=Qt(i,!0);Wt(o.series,(function(t){delete t.kdTree})),s=qt(s,{min:t,max:e}),_t(o,"setExtremes",s,(function(){o.userMin=t,o.userMax=e,o.eventArgs=s,i&&r.redraw(n)}))},zoom:function(t,e){var i=this.dataMin,n=this.dataMax,s=this.options,o=ct(i,Qt(s.min,i));s=lt(n,Qt(s.max,n));return this.allowZoomOutside||(h(i)&&t<=o&&(t=o),h(n)&&e>=s&&(e=s)),this.displayBtn=t!==z||e!==z,this.setExtremes(t,e,!1,z,{trigger:"zoom"}),!0},setAxisSize:function(){var t=this.chart,e=(r=this.options).offsetLeft||0,i=this.horiz,n=Qt(r.width,t.plotWidth-e+(r.offsetRight||0)),s=Qt(r.height,t.plotHeight),o=Qt(r.top,t.plotTop),r=Qt(r.left,t.plotLeft+e);(e=/%$/).test(s)&&(s=Math.round(parseFloat(s)/100*t.plotHeight)),e.test(o)&&(o=Math.round(parseFloat(o)/100*t.plotHeight+t.plotTop)),this.left=r,this.top=o,this.width=n,this.height=s,this.bottom=t.chartHeight-s-o,this.right=t.chartWidth-n-r,this.len=lt(i?n:s,0),this.pos=i?r:o},getExtremes:function(){var t=this.isLog,e=this.lin2log;return{min:t?T(e(this.min)):this.min,max:t?T(e(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},getThreshold:function(t){var e=this.isLog,i=this.lin2log,n=e?i(this.min):this.min;e=e?i(this.max):this.max;return null===t||n>t?t=n:e<t&&(t=e),this.translate(t,0,1,0,1)},autoLabelAlign:function(t){return(t=(Qt(t,0)-90*this.side+720)%360)>15&&t<165?"right":t>195&&t<345?"left":"center"},tickSize:function(t){var e=this.options,i=e[t+"Length"],n=Qt(e[t+"Width"],"tick"===t&&this.isXAxis?1:0);if(n&&i)return"inside"===e[t+"Position"]&&(i=-i),[i,n]},labelMetrics:function(){return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[0]&&this.ticks[0].label)},unsquish:function(){var t,e,i,n=this.options.labels,s=this.horiz,o=this.tickInterval,r=o,a=this.len/(((this.categories?1:0)+this.max-this.min)/o),l=n.rotation,c=this.labelMetrics(),d=Number.MAX_VALUE,p=function(t){return(t=(t/=a||1)>1?ht(t):1)*o};return s?(i=!n.staggerLines&&!n.step&&(h(l)?[l]:a<Qt(n.autoRotationLimit,80)&&n.autoRotation))&&Wt(i,(function(i){var n;(i===l||i&&i>=-90&&i<=90)&&((n=(e=p(dt(c.h/ut(gt*i))))+dt(i/360))<d&&(d=n,t=i,r=e))})):n.step||(r=p(c.h)),this.autoRotation=i,this.labelRotation=Qt(t,l),r},getSlotWidth:function(){var t=this.chart,e=this.horiz,i=this.options.labels,n=Math.max(this.tickPositions.length-(this.categories?0:1),1),s=t.margin[3];return e&&(i.step||0)<2&&!i.rotation&&(this.staggerLines||1)*t.plotWidth/n||!e&&(s&&s-t.spacing[3]||.33*t.chartWidth)},renderUnsquish:function(){var t,e,i,s=this.chart,r=s.renderer,a=this.tickPositions,h=this.ticks,l=this.options.labels,c=this.horiz,d=this.getSlotWidth(),p=lt(1,rt(d-2*(l.padding||5))),u={},f=this.labelMetrics(),g=l.style.textOverflow,m=0;if(o(l.rotation)||(u.rotation=l.rotation||0),this.autoRotation)Wt(a,(function(t){(t=h[t])&&t.labelLength>m&&(m=t.labelLength)})),m>p&&m>f.h?u.rotation=this.labelRotation:this.labelRotation=0;else if(d&&(t={width:p+"px"},!g))for(t.textOverflow="clip",e=a.length;!c&&e--;)i=a[e],(p=h[i].label)&&("ellipsis"===p.styles.textOverflow?p.css({textOverflow:"clip"}):h[i].labelLength>d&&p.css({width:d+"px"}),p.getBBox().height>this.len/a.length-(f.h-f.f)&&(p.specCss={textOverflow:"ellipsis"}));u.rotation&&(t={width:(m>.5*s.chartHeight?.33*s.chartHeight:s.chartHeight)+"px"},!g)&&(t.textOverflow="ellipsis"),(this.labelAlign=l.align||this.autoLabelAlign(this.labelRotation))&&(u.align=this.labelAlign),Wt(a,(function(e){var i=(e=h[e])&&e.label;i&&(i.attr(u),t&&i.css(n(t,i.specCss)),delete i.specCss,e.rotation=u.rotation)})),this.tickRotCorr=r.rotCorr(f.b,this.labelRotation||0,0!==this.side)},hasData:function(){return this.hasVisibleSeries||h(this.min)&&h(this.max)&&!!this.tickPositions},getOffset:function(){var t,e,i,n,s=this,o=(b=s.chart).renderer,r=s.options,a=s.tickPositions,l=s.ticks,c=s.horiz,d=s.side,p=b.inverted?[1,0,3,2][d]:d,u=0,f=0,g=r.title,m=r.labels,y=0,x=s.opposite,v=b.axisOffset,b=b.clipOffset,k=[-1,1,1,-1][d],w=s.axisParent,S=this.tickSize("tick");if(t=s.hasData(),s.showAxis=e=t||Qt(r.showEmpty,!0),s.staggerLines=s.horiz&&m.staggerLines,s.axisGroup||(s.gridGroup=o.g("grid").attr({zIndex:r.gridZIndex||1}).add(w),s.axisGroup=o.g("axis").attr({zIndex:r.zIndex||2}).add(w),s.labelGroup=o.g("axis-labels").attr({zIndex:m.zIndex||7}).addClass("highcharts-"+s.coll.toLowerCase()+"-labels").add(w)),t||s.isLinked)Wt(a,(function(t){l[t]?l[t].addLabel():l[t]=new O(s,t)})),s.renderUnsquish(),!1!==m.reserveSpace&&(0===d||2===d||{1:"left",3:"right"}[d]===s.labelAlign||"center"===s.labelAlign)&&Wt(a,(function(t){y=lt(l[t].getLabelSize(),y)})),s.staggerLines&&(y*=s.staggerLines,s.labelOffset=y*(s.opposite?-1:1));else for(n in l)l[n].destroy(),delete l[n];g&&g.text&&!1!==g.enabled&&(s.axisTitle||((n=g.textAlign)||(n=(c?{low:"left",middle:"center",high:"right"}:{low:x?"right":"left",middle:"center",high:x?"left":"right"})[g.align]),s.axisTitle=o.text(g.text,0,0,g.useHTML).attr({zIndex:7,rotation:g.rotation||0,align:n}).addClass("highcharts-"+this.coll.toLowerCase()+"-title").css(g.style).add(s.axisGroup),s.axisTitle.isNew=!0),e&&(u=s.axisTitle.getBBox()[c?"height":"width"],f=h(i=g.offset)?0:Qt(g.margin,c?5:10)),s.axisTitle[e?"show":"hide"](!0)),s.offset=k*Qt(r.offset,v[d]),s.tickRotCorr=s.tickRotCorr||{x:0,y:0},o=0===d?-s.labelMetrics().h:2===d?s.tickRotCorr.y:0,f=Math.abs(y)+f,y&&(f-=o,f+=k*(c?Qt(m.y,s.tickRotCorr.y+8*k):m.x)),s.axisTitleMargin=Qt(i,f),v[d]=lt(v[d],s.axisTitleMargin+u+k*s.offset,f,t&&a.length&&S?S[0]:0),r=r.offset?0:2*at(r.lineWidth/2),b[p]=lt(b[p],r)},getLinePath:function(t){var e=this.chart,i=this.opposite,n=this.offset,s=this.horiz,o=this.left+(i?this.width:0)+n;n=e.chartHeight-this.bottom-(i?this.height:0)+n;return i&&(t*=-1),e.renderer.crispLine([zt,s?this.left:o,s?n:this.top,Rt,s?e.chartWidth-this.right:o,s?n:e.chartHeight-this.bottom],t)},getTitlePosition:function(){var t=this.horiz,e=this.left,i=this.top,n=this.len,s=this.options.title,o=t?e:i,r=this.opposite,a=this.offset,h=s.x||0,l=s.y||0,c=this.chart.renderer.fontMetrics(s.style.fontSize).f;n={low:o+(t?0:n),middle:o+n/2,high:o+(t?n:0)}[s.align],e=(t?i+this.height:e)+(t?1:-1)*(r?-1:1)*this.axisTitleMargin+(2===this.side?c:0);return{x:t?n+h:e+(r?this.width:0)+a+h,y:t?e+l-(r?this.height:0)+a:n+l}},render:function(){var t,e,i,n=this,s=n.chart,o=s.renderer,r=n.options,a=n.isLog,h=n.lin2log,l=n.isLinked,c=n.tickPositions,p=n.axisTitle,u=n.ticks,f=n.minorTicks,g=n.alternateBands,m=r.stackLabels,y=r.alternateGridColor,x=n.tickmarkOffset,v=r.lineWidth,b=s.hasRendered&&Jt(n.oldMin),k=n.showAxis,w=P(o.globalAnimation);n.labelEdge.length=0,n.overlap=!1,Wt([u,f,g],(function(t){for(var e in t)t[e].isActive=!1})),(n.hasData()||l)&&(n.minorTickInterval&&!n.categories&&Wt(n.getMinorTickPositions(),(function(t){f[t]||(f[t]=new O(n,t,"minor")),b&&f[t].isNew&&f[t].render(null,!0),f[t].render(null,!1,1)})),c.length&&(Wt(c,(function(t,e){(!l||t>=n.min&&t<=n.max)&&(u[t]||(u[t]=new O(n,t)),b&&u[t].isNew&&u[t].render(e,!0,.1),u[t].render(e))})),x&&(0===n.min||n.single))&&(u[-1]||(u[-1]=new O(n,-1,null,!0)),u[-1].render(-1)),y&&Wt(c,(function(t,o){i=c[o+1]!==z?c[o+1]+x:n.max-x,o%2==0&&t<n.max&&i<=n.max+(s.polar?-x:x)&&(g[t]||(g[t]=new nt.PlotLineOrBand(n)),e=t+x,g[t].options={from:a?h(e):e,to:a?h(i):i,color:y},g[t].render(),g[t].isActive=!0)})),n._addedPlotLB||(Wt((r.plotLines||[]).concat(r.plotBands||[]),(function(t){n.addPlotBandOrLine(t)})),n._addedPlotLB=!0)),Wt([u,f,g],(function(t){var e,i,n=[],o=w.duration;for(e in t)t[e].isActive||(t[e].render(e,!1,0),t[e].isActive=!1,n.push(e));d((function(){for(i=n.length;i--;)t[n[i]]&&!t[n[i]].isActive&&(t[n[i]].destroy(),delete t[n[i]])}),t!==g&&s.hasRendered&&o?o:0)})),v&&(t=n.getLinePath(v),n.axisLine?n.axisLine.animate({d:t}):n.axisLine=o.path(t).attr({stroke:r.lineColor,"stroke-width":v,zIndex:7}).add(n.axisGroup),n.axisLine[k?"show":"hide"](!0)),p&&k&&(p[p.isNew?"attr":"animate"](n.getTitlePosition()),p.isNew=!1),m&&m.enabled&&n.renderStackTotals(),n.isDirty=!1},redraw:function(){this.visible&&(this.render(),Wt(this.plotLinesAndBands,(function(t){t.render()}))),Wt(this.series,(function(t){t.isDirty=!0}))},destroy:function(t){var e,i=this,n=i.stacks,s=i.plotLinesAndBands;for(e in t||jt(i),n)S(n[e]),n[e]=null;for(Wt([i.ticks,i.minorTicks,i.alternateBands],(function(t){S(t)})),t=s.length;t--;)s[t].destroy();Wt("stackTotalGroup,axisLine,axisTitle,axisGroup,gridGroup,labelGroup,cross".split(","),(function(t){i[t]&&(i[t]=i[t].destroy())})),this._addedPlotLB=this.chart._labelPanes=this.ordinalSlope=void 0},drawCrosshair:function(t,e){var i,n,s,o=this.crosshair;t||(t=this.cross&&this.cross.e),this.crosshair&&!1!==(h(e)||!Qt(o.snap,!0))?(Qt(o.snap,!0)?h(e)&&(i=this.isXAxis?e.plotX:this.len-e.plotY):i=this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos,null===(i=this.isRadial?this.getPlotLinePath(this.isXAxis?e.x:Qt(e.stackY,e.y))||null:this.getPlotLinePath(null,null,null,null,i)||null)?this.hideCrosshair():(n=this.categories&&!this.isRadial,s=Qt(o.width,n?this.transA:1),this.cross?this.cross.attr({d:i,visibility:"visible","stroke-width":s}):(n={"pointer-events":"none","stroke-width":s,stroke:o.color||(n?"rgba(155,200,255,0.2)":"#C0C0C0"),zIndex:Qt(o.zIndex,2)},o.dashStyle&&(n.dashstyle=o.dashStyle),this.cross=this.chart.renderer.path(i).attr(n).add()),this.cross.e=t)):this.hideCrosshair()},hideCrosshair:function(){this.cross&&this.cross.hide()}},qt(ae.prototype,{getPlotBandPath:function(t,e){var i=this.getPlotLinePath(e,null,null,!0),n=this.getPlotLinePath(t,null,null,!0);return n&&i?(n.flat=n.toString()===i.toString(),n.push(i[4],i[5],i[1],i[2])):n=null,n},addPlotBand:function(t){return this.addPlotBandOrLine(t,"plotBands")},addPlotLine:function(t){return this.addPlotBandOrLine(t,"plotLines")},addPlotBandOrLine:function(t,e){var i=new nt.PlotLineOrBand(this,t).render(),n=this.userOptions;return i&&(e&&(n[e]=n[e]||[],n[e].push(t)),this.plotLinesAndBands.push(i)),i},removePlotBandOrLine:function(t){for(var e=this.plotLinesAndBands,i=this.options,n=this.userOptions,s=e.length;s--;)e[s].id===t&&e[s].destroy();Wt([i.plotLines||[],n.plotLines||[],i.plotBands||[],n.plotBands||[]],(function(e){for(s=e.length;s--;)e[s].id===t&&a(e,e[s])}))}}),ae.prototype.getTimeTicks=function(t,e,i,n){var s,o=[],r={},a=X.global.useUTC,l=new W(e-m(e)),c=t.unitRange,d=t.count;if(h(e)){l[q](c>=H.second?0:d*at(l.getMilliseconds()/d)),c>=H.second&&l[$](c>=H.minute?0:d*at(l.getSeconds()/d)),c>=H.minute&&l[J](c>=H.hour?0:d*at(l[V]()/d)),c>=H.hour&&l[Q](c>=H.day?0:d*at(l[j]()/d)),c>=H.day&&l[tt](c>=H.month?1:d*at(l[U]()/d)),c>=H.month&&(l[et](c>=H.year?0:d*at(l[K]()/d)),s=l[Z]()),c>=H.year&&(s-=s%d,l[it](s)),c===H.week&&l[tt](l[U]()-l[_]()+Qt(n,1)),e=1,(Y||N)&&(l=l.getTime(),l=new W(l+m(l))),s=l[Z]();n=l.getTime();for(var p=l[K](),u=l[U](),f=!a||!!N,g=(H.day+(a?m(l):6e4*l.getTimezoneOffset()))%H.day;n<i;)o.push(n),c===H.year?n=F(s+e*d,0):c===H.month?n=F(s,p+e*d):!f||c!==H.day&&c!==H.week?n+=c*d:n=F(s,p,u+e*d*(c===H.day?1:7)),e++;o.push(n),Wt(Ft(o,(function(t){return c<=H.hour&&t%H.day===g})),(function(t){r[t]="day"}))}
return o.info=qt(t,{higherRanks:r,totalRange:c*d}),o},ae.prototype.normalizeTimeTickInterval=function(t,e){var i,n=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]],s=n[n.length-1],o=H[s[0]],r=s[1];for(i=0;i<n.length&&(s=n[i],o=H[s[0]],r=s[1],!(n[i+1]&&t<=(o*r[r.length-1]+H[n[i+1][0]])/2));i++);return o===H.year&&t<5*o&&(r=[1,2,5]),{unitRange:o,count:n=v(t/o,r,"year"===s[0]?lt(x(t/o),1):1),unitName:s[0]}},ae.prototype.getLogTickPositions=function(t,e,i,n){var s=this.options,o=this.len,r=this.lin2log,a=this.log2lin,h=[];if(n||(this._minorAutoInterval=null),t>=.5)t=rt(t),h=this.getLinearTickPositions(t,e,i);else if(t>=.08){var l,c,d,p,u;for(o=at(e),s=t>.3?[1,2,4]:t>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];o<i+1&&!u;o++)for(c=s.length,l=0;l<c&&!u;l++)(d=a(r(o)*s[l]))>e&&(!n||p<=i)&&p!==z&&h.push(p),p>i&&(u=!0),p=d}else e=r(e),i=r(i),t=s[n?"minorTickInterval":"tickInterval"],t=v(t=Qt("auto"===t?null:t,this._minorAutoInterval,(i-e)*(s.tickPixelInterval/(n?5:1))/((n?o/this.tickPositions.length:o)||1)),null,x(t)),h=Nt(this.getLinearTickPositions(t,e,i),a),n||(this._minorAutoInterval=t/5);return n||(this.tickInterval=t),h},ae.prototype.log2lin=function(t){return ot.log(t)/ot.LN10},ae.prototype.lin2log=function(t){return ot.pow(10,t)};var he,le=nt.Tooltip=function(){this.init.apply(this,arguments)};le.prototype={init:function(t,e){var i=e.borderWidth,n=e.style,o=s(n.padding);this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.label=t.renderer.label("",0,0,e.shape||"callout",null,null,e.useHTML,null,"tooltip").attr({padding:o,fill:e.backgroundColor,"stroke-width":i,r:e.borderRadius,zIndex:8}).css(n).css({padding:0}).add().attr({y:-9e9}),Ct||this.label.shadow(e.shadow),this.shared=e.shared},destroy:function(){this.label&&(this.label=this.label.destroy()),clearTimeout(this.hideTimer),clearTimeout(this.tooltipTimeout)},move:function(t,e,i,n){var s=this,o=s.now,r=!1!==s.options.animation&&!s.isHidden&&(dt(t-o.x)>1||dt(e-o.y)>1),a=s.followPointer||s.len>1;qt(o,{x:r?(2*o.x+t)/3:t,y:r?(o.y+e)/2:e,anchorX:a?z:r?(2*o.anchorX+i)/3:i,anchorY:a?z:r?(o.anchorY+n)/2:n}),s.label.attr(o),r&&(clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout((function(){s&&s.move(t,e,i,n)}),32))},hide:function(t){var e=this;clearTimeout(this.hideTimer),t=Qt(t,this.options.hideDelay,500),this.isHidden||(this.hideTimer=d((function(){e.label[t?"fadeOut":"hide"](),e.isHidden=!0}),t))},getAnchor:function(t,e){var i,n,s,o=this.chart,r=o.inverted,a=o.plotTop,h=o.plotLeft,l=0,d=0;return i=(t=c(t))[0].tooltipPos,this.followPointer&&e&&(e.chartX===z&&(e=o.pointer.normalize(e)),i=[e.chartX-o.plotLeft,e.chartY-a]),i||(Wt(t,(function(t){n=t.series.yAxis,s=t.series.xAxis,l+=t.plotX+(!r&&s?s.left-h:0),d+=(t.plotLow?(t.plotLow+t.plotHigh)/2:t.plotY)+(!r&&n?n.top-a:0)})),l/=t.length,d/=t.length,i=[r?o.plotWidth-d:l,this.shared&&!r&&t.length>1&&e?e.chartY-a:r?o.plotHeight-l:d]),Nt(i,rt)},getPosition:function(t,e,i){var n,s=this.chart,o=this.distance,r={},a=i.h||0,h=["y",s.chartHeight,e,i.plotY+s.plotTop,s.plotTop,s.plotTop+s.plotHeight],l=["x",s.chartWidth,t,i.plotX+s.plotLeft,s.plotLeft,s.plotLeft+s.plotWidth],c=!this.followPointer&&Qt(i.ttBelow,!s.inverted==!!i.negative),d=function(t,e,i,n,s,h){var l=i<n-o,d=n+o+i<e,p=n-o-i;if(n+=o,c&&d)r[t]=n;else if(!c&&l)r[t]=p;else if(l)r[t]=ct(h-i,p-a<0?p:p-a);else{if(!d)return!1;r[t]=lt(s,n+a+i>e?n:n+a)}},p=function(t,e,i,n){var s;return n<o||n>e-o?s=!1:r[t]=n<i/2?1:n>e-i/2?e-i-2:n-i/2,s},u=function(t){var e=h;h=l,l=e,n=t},f=function(){!1!==d.apply(0,h)?!1===p.apply(0,l)&&!n&&(u(!0),f()):n?r.x=r.y=0:(u(!0),f())};return(s.inverted||this.len>1)&&u(),f(),r},defaultFormatter:function(t){var e,i=this.points||c(this);return(e=(e=[t.tooltipFooterHeaderFormatter(i[0])]).concat(t.bodyFormatter(i))).push(t.tooltipFooterHeaderFormatter(i[0],!0)),e.join("")},refresh:function(t,e){var i,n,s,o,r=this.chart,a=this.label,h=this.options,l={},d=[];o=h.formatter||this.defaultFormatter;l=r.hoverPoints;var p,u=this.shared;clearTimeout(this.hideTimer),this.followPointer=c(t)[0].series.tooltipOptions.followPointer,i=(s=this.getAnchor(t,e))[0],n=s[1],!u||t.series&&t.series.noSharedTooltip?l=t.getLabelConfig():(r.hoverPoints=t,l&&Wt(l,(function(t){t.setState()})),Wt(t,(function(t){t.setState("hover"),d.push(t.getLabelConfig())})),(l={x:t[0].category,y:t[0].y}).points=d,this.len=d.length,t=t[0]),o=o.call(l,this),l=t.series,this.distance=Qt(l.tooltipOptions.distance,16),!1===o?this.hide():(this.isHidden&&(Kt(a),a.attr("opacity",1).show()),a.attr({text:o}),p=h.borderColor||t.color||l.color||"#606060",a.attr({stroke:p}),this.updatePosition({plotX:i,plotY:n,negative:t.negative,ttBelow:t.ttBelow,h:s[2]||0}),this.isHidden=!1),_t(r,"tooltipRefresh",{text:o,x:i+r.plotLeft,y:n+r.plotTop,borderColor:p})},updatePosition:function(t){var e=this.chart,i=this.label;i=(this.options.positioner||this.getPosition).call(this,i.width,i.height,t);this.move(rt(i.x),rt(i.y||0),t.plotX+e.plotLeft,t.plotY+e.plotTop)},getXDateFormat:function(t,e,i){e=e.dateTimeLabelFormats;var n,s,o,r=i&&i.closestPointRange,a={millisecond:15,second:12,minute:9,hour:6,day:3},h="millisecond";if(r){for(s in o=G("%m-%d %H:%M:%S.%L",t.x),H){if(r===H.week&&+G("%w",t.x)===i.options.startOfWeek&&"00:00:00.000"===o.substr(6)){s="week";break}
if(H[s]>r){s=h;break}
if(a[s]&&o.substr(a[s])!=="01-01 00:00:00.000".substr(a[s]))break;"week"!==s&&(h=s)}
s&&(n=e[s])}else n=e.day;return n||e.year},tooltipFooterHeaderFormatter:function(t,e){var i=e?"footer":"header",n=t.series,s=n.tooltipOptions,o=s.xDateFormat,r=n.xAxis,a=r&&"datetime"===r.options.type&&Jt(t.key);i=s[i+"Format"];return a&&!o&&(o=this.getXDateFormat(t,s,r)),a&&o&&(i=i.replace("{point.key}","{point.key:"+o+"}")),y(i,{point:t,series:n})},bodyFormatter:function(t){return Nt(t,(function(t){var e=t.series.tooltipOptions;return(e.pointFormatter||t.point.tooltipFormatter).call(t.point,e.pointFormat)}))}},B=st&&st.documentElement.ontouchstart!==z;var ce=nt.Pointer=function(t,e){this.init(t,e)};if(ce.prototype={init:function(t,e){var i,n=(o=e.chart).events,s=Ct?"":o.zoomType,o=t.inverted;this.options=e,this.chart=t,this.zoomX=i=/x/.test(s),this.zoomY=s=/y/.test(s),this.zoomHor=i&&!o||s&&o,this.zoomVert=s&&!o||i&&o,this.hasZoom=i||s,this.runChartClick=n&&!!n.click,this.pinchDown=[],this.lastValidTouch={},nt.Tooltip&&e.tooltip.enabled&&(t.tooltip=new le(t,e.tooltip),this.followTouchMove=Qt(e.tooltip.followTouchMove,!0)),this.setDOMEvents()},normalize:function(e,i){var n,s;return(e=e||t.event).target||(e.target=e.srcElement),s=e.touches?e.touches.length?e.touches.item(0):e.changedTouches[0]:e,i||(this.chartPosition=i=Yt(this.chart.container)),s.pageX===z?(n=lt(e.x,e.clientX-i.left),s=e.y):(n=s.pageX-i.left,s=s.pageY-i.top),qt(e,{chartX:rt(n),chartY:rt(s)})},getCoordinates:function(t){var e={xAxis:[],yAxis:[]};return Wt(this.chart.axes,(function(i){e[i.isXAxis?"xAxis":"yAxis"].push({axis:i,value:i.toValue(t[i.horiz?"chartX":"chartY"])})})),e},runPointActions:function(t){var e,i,n,s,o=this.chart,r=o.series,a=o.tooltip,h=!!a&&a.shared,l=o.hoverPoint,c=o.hoverSeries,d=[Number.MAX_VALUE,Number.MAX_VALUE],p=[],u=[];if(!h&&!c)for(e=0;e<r.length;e++)!r[e].directTouch&&r[e].options.stickyTracking||(r=[]);if(c&&(h?c.noSharedTooltip:c.directTouch)&&l?u=[l]:(Wt(r,(function(e){i=e.noSharedTooltip&&h,n=!h&&e.directTouch,e.visible&&!i&&!n&&Qt(e.options.enableMouseTracking,!0)&&(s=e.searchPoint(t,!i&&1===e.kdDimensions))&&s.series&&p.push(s)})),Wt(p,(function(t){t&&Wt(["dist","distX"],(function(e,i){if(Jt(t[e])){var n=t[e]===d[i]&&t.series.group.zIndex>=u[i].series.group.zIndex;(t[e]<d[i]||n)&&(d[i]=t[e],u[i]=t)}}))}))),h)for(e=p.length;e--;)(p[e].clientX!==u[1].clientX||p[e].series.noSharedTooltip)&&p.splice(e,1);u[0]&&(u[0]!==this.prevKDPoint||a&&a.isHidden)?h&&!u[0].series.noSharedTooltip?(p.length&&a&&a.refresh(p,t),Wt(p,(function(e){e.onMouseOver(t,e!==(c&&c.directTouch&&l||u[0]))})),this.prevKDPoint=u[1]):(a&&a.refresh(u[0],t),c&&c.directTouch||u[0].onMouseOver(t),this.prevKDPoint=u[0]):(r=c&&c.tooltipOptions.followPointer,a&&r&&!a.isHidden&&(r=a.getAnchor([{}],t),a.updatePosition({plotX:r[0],plotY:r[1]}))),this._onDocumentMouseMove||(this._onDocumentMouseMove=function(t){It[he]&&It[he].pointer.onDocumentMouseMove(t)},Vt(st,"mousemove",this._onDocumentMouseMove)),Wt(h?p:[Qt(l,u[1])],(function(e){Wt(o.axes,(function(i){(!e||e.series[i.coll]===i)&&i.drawCrosshair(t,e)}))}))},reset:function(t,e){var i=this.chart,n=i.hoverSeries,s=i.hoverPoint,o=i.hoverPoints,r=i.tooltip,a=r&&r.shared?o:s;t&&a&&Wt(c(a),(function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)})),t?r&&a&&(r.refresh(a),s&&(s.setState(s.state,!0),Wt(i.axes,(function(t){t.crosshair&&t.drawCrosshair(null,s)})))):(s&&s.onMouseOut(),o&&Wt(o,(function(t){t.setState()})),n&&n.onMouseOut(),r&&r.hide(e),this._onDocumentMouseMove&&(jt(st,"mousemove",this._onDocumentMouseMove),this._onDocumentMouseMove=null),Wt(i.axes,(function(t){t.hideCrosshair()})),this.hoverX=this.prevKDPoint=i.hoverPoints=i.hoverPoint=null)},scaleGroups:function(t,e){var i,n=this.chart;Wt(n.series,(function(s){i=t||s.getPlotBox(),s.xAxis&&s.xAxis.zoomEnabled&&(s.group.attr(i),s.markerGroup&&(s.markerGroup.attr(i),s.markerGroup.clip(e?n.clipRect:null)),s.dataLabelsGroup&&s.dataLabelsGroup.attr(i))})),n.clipRect.attr(e||n.clipBox)},dragStart:function(t){var e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=this.mouseDownX=t.chartX,e.mouseDownY=this.mouseDownY=t.chartY},drag:function(t){var e,i=this.chart,n=i.options.chart,s=t.chartX,o=t.chartY,r=this.zoomHor,a=this.zoomVert,h=i.plotLeft,l=i.plotTop,c=i.plotWidth,d=i.plotHeight,p=this.selectionMarker,u=this.mouseDownX,f=this.mouseDownY,g=n.panKey&&t[n.panKey+"Key"];p&&p.touch||(s<h?s=h:s>h+c&&(s=h+c),o<l?o=l:o>l+d&&(o=l+d),this.hasDragged=Math.sqrt(Math.pow(u-s,2)+Math.pow(f-o,2)),this.hasDragged>10&&(e=i.isInsidePlot(u-h,f-l),i.hasCartesianSeries&&(this.zoomX||this.zoomY)&&e&&!g&&!p&&(this.selectionMarker=p=i.renderer.rect(h,l,r?1:c,a?1:d,0).attr({fill:n.selectionMarkerFill||"rgba(69,114,167,0.25)",zIndex:7}).add()),p&&r&&(s-=u,p.attr({width:dt(s),x:(s>0?0:s)+u})),p&&a&&(s=o-f,p.attr({height:dt(s),y:(s>0?0:s)+f})),e&&!p&&n.panning&&i.pan(t,n.panning)))},drop:function(t){var e=this,i=this.chart,n=this.hasPinched;if(this.selectionMarker){var s,o={originalEvent:t,xAxis:[],yAxis:[]},r=this.selectionMarker,a=r.attr?r.attr("x"):r.x,l=r.attr?r.attr("y"):r.y,c=r.attr?r.attr("width"):r.width,d=r.attr?r.attr("height"):r.height;(this.hasDragged||n)&&(Wt(i.axes,(function(i){if(i.zoomEnabled&&h(i.min)&&(n||e[{xAxis:"zoomX",yAxis:"zoomY"}[i.coll]])){var r=i.horiz,p="touchend"===t.type?i.minPixelPadding:0,u=i.toValue((r?a:l)+p);r=i.toValue((r?a+c:l+d)-p);o[i.coll].push({axis:i,min:ct(u,r),max:lt(u,r)}),s=!0}})),s&&_t(i,"selection",o,(function(t){i.zoom(qt(t,n?{animation:!1}:null))}))),this.selectionMarker=this.selectionMarker.destroy(),n&&this.scaleGroups()}
i&&(p(i.container,{cursor:i._cursor}),i.cancelClick=this.hasDragged>10,i.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},onContainerMouseDown:function(t){(t=this.normalize(t)).preventDefault&&t.preventDefault(),this.dragStart(t)},onDocumentMouseUp:function(t){It[he]&&It[he].pointer.drop(t)},onDocumentMouseMove:function(t){var e=this.chart,i=this.chartPosition;t=this.normalize(t,i);i&&!this.inClass(t.target,"highcharts-tracker")&&!e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop)&&this.reset()},onContainerMouseLeave:function(t){var e=It[he];e&&(t.relatedTarget||t.toElement)&&(e.pointer.reset(),e.pointer.chartPosition=null)},onContainerMouseMove:function(t){var e=this.chart;h(he)&&It[he]&&It[he].mouseIsDown||(he=e.index),(t=this.normalize(t)).returnValue=!1,"mousedown"===e.mouseIsDown&&this.drag(t),(this.inClass(t.target,"highcharts-tracker")||e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop))&&!e.openMenu&&this.runPointActions(t)},inClass:function(t,e){for(var i;t;){if(i=l(t,"class")){if(-1!==i.indexOf(e))return!0;if(-1!==i.indexOf("highcharts-container"))return!1}
t=t.parentNode}},onTrackerMouseOut:function(t){var e=this.chart.hoverSeries;t=t.relatedTarget||t.toElement;!e||!t||e.options.stickyTracking||this.inClass(t,"highcharts-tooltip")||this.inClass(t,"highcharts-series-"+e.index)||e.onMouseOut()},onContainerClick:function(t){var e=this.chart,i=e.hoverPoint,n=e.plotLeft,s=e.plotTop;t=this.normalize(t);e.cancelClick||(i&&this.inClass(t.target,"highcharts-tracker")?(_t(i.series,"click",qt(t,{point:i})),e.hoverPoint&&i.firePointEvent("click",t)):(qt(t,this.getCoordinates(t)),e.isInsidePlot(t.chartX-n,t.chartY-s)&&_t(e,"click",t)))},setDOMEvents:function(){var t=this,e=t.chart.container;e.onmousedown=function(e){t.onContainerMouseDown(e)},e.onmousemove=function(e){t.onContainerMouseMove(e)},e.onclick=function(e){t.onContainerClick(e)},Vt(e,"mouseleave",t.onContainerMouseLeave),1===Ot&&Vt(st,"mouseup",t.onDocumentMouseUp),B&&(e.ontouchstart=function(e){t.onContainerTouchStart(e)},e.ontouchmove=function(e){t.onContainerTouchMove(e)},1===Ot&&Vt(st,"touchend",t.onDocumentTouchEnd))},destroy:function(){var t;for(t in jt(this.chart.container,"mouseleave",this.onContainerMouseLeave),Ot||(jt(st,"mouseup",this.onDocumentMouseUp),jt(st,"touchend",this.onDocumentTouchEnd)),clearInterval(this.tooltipTimeout),this)this[t]=null}},qt(nt.Pointer.prototype,{pinchTranslate:function(t,e,i,n,s,o){(this.zoomHor||this.pinchHor)&&this.pinchTranslateDirection(!0,t,e,i,n,s,o),(this.zoomVert||this.pinchVert)&&this.pinchTranslateDirection(!1,t,e,i,n,s,o)},pinchTranslateDirection:function(t,e,i,n,s,o,r,a){var h,l,c,d=this.chart,p=t?"x":"y",u=t?"X":"Y",f="chart"+u,g=t?"width":"height",m=d["plot"+(t?"Left":"Top")],y=a||1,x=d.inverted,v=d.bounds[t?"h":"v"],b=1===e.length,k=e[0][f],w=i[0][f],S=!b&&e[1][f],A=!b&&i[1][f];(i=function(){!b&&dt(k-S)>20&&(y=a||dt(w-A)/dt(k-S)),l=(m-w)/y+k,h=d["plot"+(t?"Width":"Height")]/y})(),(e=l)<v.min?(e=v.min,c=!0):e+h>v.max&&(e=v.max-h,c=!0),c?(w-=.8*(w-r[p][0]),b||(A-=.8*(A-r[p][1])),i()):r[p]=[w,A],x||(o[p]=l-m,o[g]=h),o=x?1/y:y,s[g]=h,s[p]=e,n[x?t?"scaleY":"scaleX":"scale"+u]=y,n["translate"+u]=o*m+(w-o*k)},pinch:function(t){var e=this,i=e.chart,n=e.pinchDown,s=t.touches,o=s.length,r=e.lastValidTouch,a=e.hasZoom,h=e.selectionMarker,l={},c=1===o&&(e.inClass(t.target,"highcharts-tracker")&&i.runTrackerClick||e.runChartClick),d={};o>1&&(e.initiated=!0),a&&e.initiated&&!c&&t.preventDefault(),Nt(s,(function(t){return e.normalize(t)})),"touchstart"===t.type?(Wt(s,(function(t,e){n[e]={chartX:t.chartX,chartY:t.chartY}})),r.x=[n[0].chartX,n[1]&&n[1].chartX],r.y=[n[0].chartY,n[1]&&n[1].chartY],Wt(i.axes,(function(t){if(t.zoomEnabled){var e=i.bounds[t.horiz?"h":"v"],n=t.minPixelPadding,s=t.toPixels(Qt(t.options.min,t.dataMin)),o=t.toPixels(Qt(t.options.max,t.dataMax)),r=ct(s,o);s=lt(s,o);e.min=ct(t.pos,r-n),e.max=lt(t.pos+t.len,s+n)}})),e.res=!0):n.length&&(h||(e.selectionMarker=h=qt({destroy:Mt,touch:!0},i.plotBox)),e.pinchTranslate(n,s,l,h,d,r),e.hasPinched=a,e.scaleGroups(l,d),!a&&e.followTouchMove&&1===o?this.runPointActions(e.normalize(t)):e.res&&(e.res=!1,this.reset(!1,0)))},touch:function(t,e){var i,n=this.chart;he=n.index,1===t.touches.length?(t=this.normalize(t),n.isInsidePlot(t.chartX-n.plotLeft,t.chartY-n.plotTop)&&!n.openMenu?(e&&this.runPointActions(t),"touchmove"===t.type&&(i=!!(n=this.pinchDown)[0]&&Math.sqrt(Math.pow(n[0].chartX-t.chartX,2)+Math.pow(n[0].chartY-t.chartY,2))>=4),Qt(i,!0)&&this.pinch(t)):e&&this.reset()):2===t.touches.length&&this.pinch(t)},onContainerTouchStart:function(t){this.touch(t,!0)},onContainerTouchMove:function(t){this.touch(t)},onDocumentTouchEnd:function(t){It[he]&&It[he].pointer.drop(t)}}),t.PointerEvent||t.MSPointerEvent){var de={},pe=!!t.PointerEvent,ue=function(){var t,e=[];for(t in e.item=function(t){return this[t]},de)de.hasOwnProperty(t)&&e.push({pageX:de[t].pageX,pageY:de[t].pageY,target:de[t].target});return e},fe=function(t,e,i,n){"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!It[he]||(n(t),(n=It[he].pointer)[e]({type:i,target:t.currentTarget,preventDefault:Mt,touches:ue()}))};qt(ce.prototype,{onContainerPointerDown:function(t){fe(t,"onContainerTouchStart","touchstart",(function(t){de[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}}))},onContainerPointerMove:function(t){fe(t,"onContainerTouchMove","touchmove",(function(t){de[t.pointerId]={pageX:t.pageX,pageY:t.pageY},de[t.pointerId].target||(de[t.pointerId].target=t.currentTarget)}))},onDocumentPointerUp:function(t){fe(t,"onDocumentTouchEnd","touchend",(function(t){delete de[t.pointerId]}))},batchMSEvents:function(t){t(this.chart.container,pe?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,pe?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(st,pe?"pointerup":"MSPointerUp",this.onDocumentPointerUp)}}),te(ce.prototype,"init",(function(t,e,i){t.call(this,e,i),this.hasZoom&&p(e.container,{"-ms-touch-action":"none","touch-action":"none"})})),te(ce.prototype,"setDOMEvents",(function(t){t.apply(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(Vt)})),te(ce.prototype,"destroy",(function(t){this.batchMSEvents(jt),t.call(this)}))}
var ge=nt.Legend=function(t,e){this.init(t,e)};ge.prototype={init:function(t,e){var i=this,s=e.itemStyle,o=e.itemMarginTop||0;this.options=e,e.enabled&&(i.itemStyle=s,i.itemHiddenStyle=n(s,e.itemHiddenStyle),i.itemMarginTop=o,i.padding=s=Qt(e.padding,8),i.initialItemX=s,i.initialItemY=s-5,i.maxItemWidth=0,i.chart=t,i.itemHeight=0,i.symbolWidth=Qt(e.symbolWidth,16),i.pages=[],i.render(),Vt(i.chart,"endResize",(function(){i.positionCheckboxes()})))},colorizeItem:function(t,e){var i,n=this.options,s=t.legendItem,o=t.legendLine,r=t.legendSymbol,a=this.itemHiddenStyle.color,h=(n=e?n.itemStyle.color:a,e?t.legendColor||t.color||"#CCC":a),l=(a=t.options&&t.options.marker,{fill:h});if(s&&s.css({fill:n,color:n}),o&&o.attr({stroke:h}),r){if(a&&r.isMarker)for(i in l.stroke=h,a=t.convertAttribs(a))(s=a[i])!==z&&(l[i]=s);r.attr(l)}},positionItem:function(t){var e=(i=this.options).symbolPadding,i=!i.rtl,n=(s=t._legendItemPos)[0],s=s[1],o=t.checkbox;(t=t.legendGroup)&&t.element&&t.translate(i?n:this.legendWidth-n-2*e-4,s),o&&(o.x=n,o.y=s)},destroyItem:function(t){var e=t.checkbox;Wt(["legendItem","legendLine","legendSymbol","legendGroup"],(function(e){t[e]&&(t[e]=t[e].destroy())})),e&&A(t.checkbox)},destroy:function(){var t=this.group,e=this.box;e&&(this.box=e.destroy()),t&&(this.group=t.destroy())},positionCheckboxes:function(t){var e,i=this.group.alignAttr,n=this.clipHeight||this.legendHeight,s=this.titleHeight;i&&(e=i.translateY,Wt(this.allItems,(function(o){var r,a=o.checkbox;a&&(r=e+s+a.y+(t||0)+3,p(a,{left:i.translateX+o.checkboxOffset+a.x-20+"px",top:r+"px",display:r>e-6&&r<e+n-6?"":"none"}))})))},renderTitle:function(){var t=this.padding,e=this.options.title,i=0;e.text&&(this.title||(this.title=this.chart.renderer.label(e.text,t-3,t-4,null,null,null,null,null,"legend-title").attr({zIndex:1}).css(e.style).add(this.group)),i=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:i})),this.titleHeight=i},setText:function(t){var e=this.options;t.legendItem.attr({text:e.labelFormat?y(e.labelFormat,t):e.labelFormatter.call(t)})},renderItem:function(t){var e=this.chart,i=e.renderer,s=this.options,o="horizontal"===s.layout,r=this.symbolWidth,a=s.symbolPadding,h=this.itemStyle,l=this.itemHiddenStyle,c=this.padding,d=o?Qt(s.itemDistance,20):0,p=!s.rtl,u=s.width,f=s.itemMarginBottom||0,g=this.itemMarginTop,m=this.initialItemX,y=t.legendItem,x=t.series&&t.series.drawLegendSymbol?t.series:t,v=x.options,b=(v=this.createCheckboxForItem&&v&&v.showCheckbox,s.useHTML);y||(t.legendGroup=i.g("legend-item").attr({zIndex:1}).add(this.scrollGroup),t.legendItem=y=i.text("",p?r+a:-a,this.baseline||0,b).css(n(t.visible?h:l)).attr({align:p?"left":"right",zIndex:2}).add(t.legendGroup),this.baseline||(this.fontMetrics=i.fontMetrics(h.fontSize,y),this.baseline=this.fontMetrics.f+3+g,y.attr("y",this.baseline)),x.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,y,b,h,l),v&&this.createCheckboxForItem(t)),this.colorizeItem(t,t.visible),this.setText(t),i=y.getBBox(),r=t.checkboxOffset=s.itemWidth||t.legendItemWidth||r+a+i.width+d+(v?20:0),this.itemHeight=a=rt(t.legendItemHeight||i.height),o&&this.itemX-m+r>(u||e.chartWidth-2*c-m-s.x)&&(this.itemX=m,this.itemY+=g+this.lastLineHeight+f,this.lastLineHeight=0),this.maxItemWidth=lt(this.maxItemWidth,r),this.lastItemY=g+this.itemY+f,this.lastLineHeight=lt(a,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],o?this.itemX+=r:(this.itemY+=g+a+f,this.lastLineHeight=a),this.offsetWidth=u||lt((o?this.itemX-m-d:r)+c,this.offsetWidth)},getAllItems:function(){var t=[];return Wt(this.chart.series,(function(e){var i=e.options;Qt(i.showInLegend,!h(i.linkedTo)&&z,!0)&&(t=t.concat(e.legendItems||("point"===i.legendType?e.data:e)))})),t},adjustMargins:function(t,e){var i=this.chart,n=this.options,s=n.align.charAt(0)+n.verticalAlign.charAt(0)+n.layout.charAt(0);n.floating||Wt([/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/],(function(o,r){o.test(s)&&!h(t[r])&&(i[Et[r]]=lt(i[Et[r]],i.legend[(r+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][r]*n[r%2?"x":"y"]+Qt(n.margin,12)+e[r]))}))},render:function(){var t,e,i,n,s=this,o=s.chart,r=o.renderer,a=s.group,h=s.box,l=s.options,c=s.padding,d=l.borderWidth,p=l.backgroundColor;s.itemX=s.initialItemX,s.itemY=s.initialItemY,s.offsetWidth=0,s.lastItemY=0,a||(s.group=a=r.g("legend").attr({zIndex:7}).add(),s.contentGroup=r.g().attr({zIndex:1}).add(a),s.scrollGroup=r.g().add(s.contentGroup)),s.renderTitle(),b(t=s.getAllItems(),(function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)})),l.reversed&&t.reverse(),s.allItems=t,s.display=e=!!t.length,s.lastLineHeight=0,Wt(t,(function(t){s.renderItem(t)})),i=(l.width||s.offsetWidth)+c,n=s.lastItemY+s.lastLineHeight+s.titleHeight,n=s.handleOverflow(n),n+=c,(d||p)&&(h?i>0&&n>0&&(h[h.isNew?"attr":"animate"](h.crisp({width:i,height:n})),h.isNew=!1):(s.box=h=r.rect(0,0,i,n,l.borderRadius,d||0).attr({stroke:l.borderColor,"stroke-width":d||0,fill:p||"none"}).add(a).shadow(l.shadow),h.isNew=!0),h[e?"show":"hide"]()),s.legendWidth=i,s.legendHeight=n,Wt(t,(function(t){s.positionItem(t)})),e&&a.align(qt({width:i,height:n},l),!0,"spacingBox"),o.isResizing||this.positionCheckboxes()},handleOverflow:function(t){var e,i,n=this,s=this.chart,o=s.renderer,r=this.options,a=r.y,h=(a=s.spacingBox.height+("top"===r.verticalAlign?-a:a)-this.padding,r.maxHeight),l=this.clipRect,c=r.navigation,d=Qt(c.animation,!0),p=c.arrowSize||12,u=this.nav,f=this.pages,g=this.padding,m=this.allItems,y=function(t){l.attr({height:t}),n.contentGroup.div&&(n.contentGroup.div.style.clip="rect("+g+"px,9999px,"+(g+t)+"px,0)")};return"horizontal"===r.layout&&(a/=2),h&&(a=ct(a,h)),f.length=0,t>a&&!1!==c.enabled?(this.clipHeight=e=lt(a-20-this.titleHeight-g,0),this.currentPage=Qt(this.currentPage,1),this.fullHeight=t,Wt(m,(function(t,n){var s=t._legendItemPos[1],o=rt(t.legendItem.getBBox().height),r=f.length;(!r||s-f[r-1]>e&&(i||s)!==f[r-1])&&(f.push(i||s),r++),n===m.length-1&&s+o-f[r-1]>e&&f.push(s),s!==i&&(i=s)})),l||(l=n.clipRect=o.clipRect(0,g,9999,0),n.contentGroup.clip(l)),y(e),u||(this.nav=u=o.g().attr({zIndex:1}).add(this.group),this.up=o.symbol("triangle",0,0,p,p).on("click",(function(){n.scroll(-1,d)})).add(u),this.pager=o.text("",15,10).css(c.style).add(u),this.down=o.symbol("triangle-down",0,0,p,p).on("click",(function(){n.scroll(1,d)})).add(u)),n.scroll(0),t=a):u&&(y(s.chartHeight),u.hide(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},scroll:function(t,e){var i=this.pages,n=i.length,s=this.currentPage+t,o=this.clipHeight,r=(a=this.options.navigation).activeColor,a=a.inactiveColor,h=this.pager,l=this.padding;s>n&&(s=n),s>0&&(e!==z&&C(e,this.chart),this.nav.attr({translateX:l,translateY:o+this.padding+7+this.titleHeight,visibility:"visible"}),this.up.attr({fill:1===s?a:r}).css({cursor:1===s?"default":"pointer"}),h.attr({text:s+"/"+n}),this.down.attr({x:18+this.pager.getBBox().width,fill:s===n?a:r}).css({cursor:s===n?"default":"pointer"}),i=-i[s-1]+this.initialItemY,this.scrollGroup.animate({translateY:i}),this.currentPage=s,this.positionCheckboxes(i))}},ne=nt.LegendSymbolMixin={drawRectangle:function(t,e){var i=t.options.symbolHeight||t.fontMetrics.f;e.legendSymbol=this.chart.renderer.rect(0,t.baseline-i+1,t.symbolWidth,i,t.options.symbolRadius||0).attr({zIndex:3}).add(e.legendGroup)},drawLineMarker:function(t){var e,i=this.options,n=i.marker,s=t.symbolWidth,o=this.chart.renderer,r=this.legendGroup;t=t.baseline-rt(.3*t.fontMetrics.b);i.lineWidth&&(e={"stroke-width":i.lineWidth},i.dashStyle&&(e.dashstyle=i.dashStyle),this.legendLine=o.path([zt,0,t,Rt,s,t]).attr(e).add(r)),n&&!1!==n.enabled&&(i=n.radius,this.legendSymbol=n=o.symbol(this.symbol,s/2-i,t-i,2*i,2*i,n).add(r),n.isMarker=!0)}},(/Trident\/7\.0/.test(mt)||kt)&&te(ge.prototype,"positionItem",(function(t,e){var i=this,n=function(){e._legendItemPos&&t.call(i,e)};n(),setTimeout(n)}));var me=nt.Chart=function(){this.getArgs.apply(this,arguments)};nt.chart=function(t,e,i){return new me(t,e,i)},me.prototype={callbacks:[],getArgs:function(){var t=[].slice.call(arguments);(o(t[0])||t[0].nodeName)&&(this.renderTo=t.shift()),this.init(t[0],t[1])},init:function(t,e){var i,s=t.series;t.series=null,(i=n(X,t)).series=t.series=s,this.userOptions=t,s=i.chart,this.margin=this.splashArray("margin",s),this.spacing=this.splashArray("spacing",s);var o=s.events;this.bounds={h:{},v:{}},this.callback=e,this.isResizing=0,this.options=i,this.axes=[],this.series=[],this.hasCartesianSeries=s.showAxes;var r,a=this;if(a.index=It.length,It.push(a),Ot++,!1!==s.reflow&&Vt(a,"load",(function(){a.initReflow()})),o)for(r in o)Vt(a,r,o[r]);a.xAxis=[],a.yAxis=[],a.animation=!Ct&&Qt(s.animation,!0),a.pointCount=a.colorCounter=a.symbolCounter=0,a.firstRender()},initSeries:function(t){var i=this.options.chart;return(i=Xt[t.type||i.type||i.defaultSeriesType])||e(17,!0),(i=new i).init(this,t),i},isInsidePlot:function(t,e,i){var n=i?e:t;t=i?t:e;return n>=0&&n<=this.plotWidth&&t>=0&&t<=this.plotHeight},redraw:function(t){var e,i,n=this.axes,s=this.series,o=this.pointer,r=this.legend,a=this.isDirtyLegend,h=this.hasCartesianSeries,l=this.isDirtyBox,c=s.length,d=c,p=this.renderer,u=p.isHidden(),f=[];for(C(t,this),u&&this.cloneRenderTo(),this.layOutTitles();d--;)if((t=s[d]).options.stacking&&(e=!0,t.isDirty)){i=!0;break}
if(i)for(d=c;d--;)(t=s[d]).options.stacking&&(t.isDirty=!0);Wt(s,(function(t){t.isDirty&&"point"===t.options.legendType&&(t.updateTotals&&t.updateTotals(),a=!0),t.isDirtyData&&_t(t,"updatedData")})),a&&r.options.enabled&&(r.render(),this.isDirtyLegend=!1),e&&this.getStacks(),h&&!this.isResizing&&(this.maxTicks=null,Wt(n,(function(t){t.setScale()}))),this.getMargins(),h&&(Wt(n,(function(t){t.isDirty&&(l=!0)})),Wt(n,(function(t){var i=t.min+","+t.max;t.extKey!==i&&(t.extKey=i,f.push((function(){_t(t,"afterSetExtremes",qt(t.eventArgs,t.getExtremes())),delete t.eventArgs}))),(l||e)&&t.redraw()}))),l&&this.drawChartBox(),Wt(s,(function(t){t.isDirty&&t.visible&&(!t.isCartesian||t.xAxis)&&t.redraw()})),o&&o.reset(!0),p.draw(),_t(this,"redraw"),u&&this.cloneRenderTo(!0),Wt(f,(function(t){t.call()}))},get:function(t){var e,i,n=this.axes,s=this.series;for(e=0;e<n.length;e++)if(n[e].options.id===t)return n[e];for(e=0;e<s.length;e++)if(s[e].options.id===t)return s[e];for(e=0;e<s.length;e++)for(i=s[e].points||[],n=0;n<i.length;n++)if(i[n].id===t)return i[n];return null},getAxes:function(){var t=this,e=(i=this.options).xAxis=c(i.xAxis||{}),i=i.yAxis=c(i.yAxis||{});Wt(e,(function(t,e){t.index=e,t.isX=!0})),Wt(i,(function(t,e){t.index=e})),e=e.concat(i),Wt(e,(function(e){new ae(t,e)}))},getSelectedPoints:function(){var t=[];return Wt(this.series,(function(e){t=t.concat(Ft(e.points||[],(function(t){return t.selected})))})),t},getSelectedSeries:function(){return Ft(this.series,(function(t){return t.selected}))},setTitle:function(t,e,i){var s,o,r=this,a=r.options;o=a.title=n(a.title,t),s=a.subtitle=n(a.subtitle,e),Wt([["title",t,o],["subtitle",e,a=s]],(function(t){var e=t[0],i=r[e],n=t[1];t=t[2];i&&n&&(r[e]=i=i.destroy()),t&&t.text&&!i&&(r[e]=r.renderer.text(t.text,0,0,t.useHTML).attr({align:t.align,class:"highcharts-"+e,zIndex:t.zIndex||4}).css(t.style).add())})),r.layOutTitles(i)},layOutTitles:function(t){var e=0,i=this.title,n=this.subtitle,s=(o=this.options).title,o=o.subtitle,r=this.renderer,a=this.spacingBox;!i||(i.css({width:(s.width||a.width+s.widthAdjust)+"px"}).align(qt({y:r.fontMetrics(s.style.fontSize,i).b-3},s),!1,a),s.floating||s.verticalAlign)||(e=i.getBBox().height),n&&(n.css({width:(o.width||a.width+o.widthAdjust)+"px"}).align(qt({y:e+(s.margin-13)+r.fontMetrics(o.style.fontSize,i).b},o),!1,a),!o.floating&&!o.verticalAlign&&(e=ht(e+n.getBBox().height))),i=this.titleOffset!==e,this.titleOffset=e,!this.isDirtyBox&&i&&(this.isDirtyBox=i,this.hasRendered&&Qt(t,!0)&&this.isDirtyBox&&this.redraw())},getChartSize:function(){var t=(e=this.options.chart).width,e=e.height,i=this.renderToClone||this.renderTo;h(t)||(this.containerWidth=Gt(i,"width")),h(e)||(this.containerHeight=Gt(i,"height")),this.chartWidth=lt(0,t||this.containerWidth||600),this.chartHeight=lt(0,Qt(e,this.containerHeight>19?this.containerHeight:400))},cloneRenderTo:function(t){var e=this.renderToClone,i=this.container;t?e&&(this.renderTo.appendChild(i),A(e),delete this.renderToClone):(i&&i.parentNode===this.renderTo&&this.renderTo.removeChild(i),this.renderToClone=e=this.renderTo.cloneNode(0),p(e,{position:"absolute",top:"-9999px",display:"block"}),e.style.setProperty&&e.style.setProperty("display","block","important"),st.body.appendChild(e),i&&e.appendChild(i))},getContainer:function(){var t,i,n,r=this.options,a=r.chart;t=this.renderTo;var h="highcharts-"+Lt++;t||(this.renderTo=t=a.renderTo),o(t)&&(this.renderTo=t=st.getElementById(t)),t||e(13,!0),i=s(l(t,"data-highcharts-chart")),Jt(i)&&It[i]&&It[i].hasRendered&&It[i].destroy(),l(t,"data-highcharts-chart",this.index),t.innerHTML="",!a.skipClone&&!t.offsetWidth&&this.cloneRenderTo(),this.getChartSize(),i=this.chartWidth,n=this.chartHeight,this.container=t=u(Dt,{className:"highcharts-container"+(a.className?" "+a.className:""),id:h},qt({position:"relative",overflow:"hidden",width:i+"px",height:n+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)"},a.style),this.renderToClone||t),this._cursor=t.style.cursor,this.renderer=new(nt[a.renderer]||R)(t,i,n,a.style,a.forExport,r.exporting&&r.exporting.allowHTML),Ct&&this.renderer.create(this,t,i,n),this.renderer.chartIndex=this.index},getMargins:function(t){var e=this.spacing,i=this.margin,n=this.titleOffset;this.resetMargins(),n&&!h(i[0])&&(this.plotTop=lt(this.plotTop,n+this.options.title.margin+e[0])),this.legend.display&&this.legend.adjustMargins(i,e),this.extraBottomMargin&&(this.marginBottom+=this.extraBottomMargin),this.extraTopMargin&&(this.plotTop+=this.extraTopMargin),t||this.getAxisMargins()},getAxisMargins:function(){var t=this,e=t.axisOffset=[0,0,0,0],i=t.margin;t.hasCartesianSeries&&Wt(t.axes,(function(t){t.visible&&t.getOffset()})),Wt(Et,(function(n,s){h(i[s])||(t[n]+=e[s])})),t.setChartSize()},reflow:function(e){var i=this,n=i.options.chart,s=i.renderTo,o=h(n.width),r=n.width||Gt(s,"width");n=n.height||Gt(s,"height"),s=e?e.target:t;o||i.isPrinting||!r||!n||s!==t&&s!==st||(r===i.containerWidth&&n===i.containerHeight||(clearTimeout(i.reflowTimeout),i.reflowTimeout=d((function(){i.container&&i.setSize(void 0,void 0,!1)}),e?100:0)),i.containerWidth=r,i.containerHeight=n)},initReflow:function(){var e=this,i=function(t){e.reflow(t)};Vt(t,"resize",i),Vt(e,"destroy",(function(){jt(t,"resize",i)}))},setSize:function(t,e,i){var n=this,s=n.renderer;n.isResizing+=1,C(i,n),n.oldChartHeight=n.chartHeight,n.oldChartWidth=n.chartWidth,void 0!==t&&(n.options.chart.width=t),void 0!==e&&(n.options.chart.height=e),n.getChartSize(),((t=s.globalAnimation)?Ut:p)(n.container,{width:n.chartWidth+"px",height:n.chartHeight+"px"},t),n.setChartSize(!0),s.setSize(n.chartWidth,n.chartHeight,i),n.maxTicks=null,Wt(n.axes,(function(t){t.isDirty=!0,t.setScale()})),Wt(n.series,(function(t){t.isDirty=!0})),n.isDirtyLegend=!0,n.isDirtyBox=!0,n.layOutTitles(),n.getMargins(),n.redraw(i),n.oldChartHeight=null,_t(n,"resize"),d((function(){n&&_t(n,"endResize",null,(function(){n.isResizing-=1}))}),P(t).duration)},setChartSize:function(t){var e,i,n,s,o=this.inverted,r=this.renderer,a=this.chartWidth,h=this.chartHeight,l=this.options.chart,c=this.spacing,d=this.clipOffset;this.plotLeft=e=rt(this.plotLeft),this.plotTop=i=rt(this.plotTop),this.plotWidth=n=lt(0,rt(a-e-this.marginRight)),this.plotHeight=s=lt(0,rt(h-i-this.marginBottom)),this.plotSizeX=o?s:n,this.plotSizeY=o?n:s,this.plotBorderWidth=l.plotBorderWidth||0,this.spacingBox=r.spacingBox={x:c[3],y:c[0],width:a-c[3]-c[1],height:h-c[0]-c[2]},this.plotBox=r.plotBox={x:e,y:i,width:n,height:s},a=2*at(this.plotBorderWidth/2),o=ht(lt(a,d[3])/2),r=ht(lt(a,d[0])/2),this.clipBox={x:o,y:r,width:at(this.plotSizeX-lt(a,d[1])/2-o),height:lt(0,at(this.plotSizeY-lt(a,d[2])/2-r))},t||Wt(this.axes,(function(t){t.setAxisSize(),t.setAxisTranslation()}))},resetMargins:function(){var t=this;Wt(Et,(function(e,i){t[e]=Qt(t.margin[i],t.spacing[i])})),t.axisOffset=[0,0,0,0],t.clipOffset=[0,0,0,0]},drawChartBox:function(){var t,e=this.options.chart,i=this.renderer,n=this.chartWidth,s=this.chartHeight,o=this.chartBackground,r=this.plotBackground,a=this.plotBorder,h=this.plotBGImage,l=e.borderWidth||0,c=e.backgroundColor,d=e.plotBackgroundColor,p=e.plotBackgroundImage,u=e.plotBorderWidth||0,f=this.plotLeft,g=this.plotTop,m=this.plotWidth,y=this.plotHeight,x=this.plotBox,v=this.clipRect,b=this.clipBox;t=l+(e.shadow?8:0),(l||c)&&(o?o.animate(o.crisp({width:n-t,height:s-t})):(o={fill:c||"none"},l&&(o.stroke=e.borderColor,o["stroke-width"]=l),this.chartBackground=i.rect(t/2,t/2,n-t,s-t,e.borderRadius,l).attr(o).addClass("highcharts-background").add().shadow(e.shadow))),d&&(r?r.animate(x):this.plotBackground=i.rect(f,g,m,y,0).attr({fill:d}).add().shadow(e.plotShadow)),p&&(h?h.animate(x):this.plotBGImage=i.image(p,f,g,m,y).add()),v?v.animate({width:b.width,height:b.height}):this.clipRect=i.clipRect(b),u&&(a?(a.strokeWidth=-u,a.animate(a.crisp({x:f,y:g,width:m,height:y}))):this.plotBorder=i.rect(f,g,m,y,0,-u).attr({stroke:e.plotBorderColor,"stroke-width":u,fill:"none",zIndex:1}).add()),this.isDirtyBox=!1},propFromSeries:function(){var t,e,i,n=this,s=n.options.chart,o=n.options.series;Wt(["inverted","angular","polar"],(function(r){for(t=Xt[s.type||s.defaultSeriesType],i=n[r]||s[r]||t&&t.prototype[r],e=o&&o.length;!i&&e--;)(t=Xt[o[e].type])&&t.prototype[r]&&(i=!0);n[r]=i}))},linkSeries:function(){var t=this,e=t.series;Wt(e,(function(t){t.linkedSeries.length=0})),Wt(e,(function(e){var i=e.options.linkedTo;o(i)&&(i=":previous"===i?t.series[e.index-1]:t.get(i))&&(i.linkedSeries.push(e),e.linkedParent=i,e.visible=Qt(e.options.visible,i.options.visible,e.visible))}))},renderSeries:function(){Wt(this.series,(function(t){t.translate(),t.render()}))},renderLabels:function(){var t=this,e=t.options.labels;e.items&&Wt(e.items,(function(i){var n=qt(e.style,i.style),o=s(n.left)+t.plotLeft,r=s(n.top)+t.plotTop+12;delete n.left,delete n.top,t.renderer.text(i.html,o,r).attr({zIndex:2}).css(n).add()}))},render:function(){var t,e,i,n,s=this.axes,o=this.renderer,r=this.options;this.setTitle(),this.legend=new ge(this,r.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),t=this.plotWidth,e=this.plotHeight-=21,Wt(s,(function(t){t.setScale()})),this.getAxisMargins(),i=t/this.plotWidth>1.1,n=e/this.plotHeight>1.05,(i||n)&&(this.maxTicks=null,Wt(s,(function(t){(t.horiz&&i||!t.horiz&&n)&&t.setTickInterval(!0)})),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries&&Wt(s,(function(t){t.visible&&t.render()})),this.seriesGroup||(this.seriesGroup=o.g("series-group").attr({zIndex:3}).add()),this.renderSeries(),this.renderLabels(),this.showCredits(r.credits),this.hasRendered=!0},showCredits:function(e){e.enabled&&!this.credits&&(this.credits=this.renderer.text(e.text,0,0).on("click",(function(){e.href&&(t.location.href=e.href)})).attr({align:e.position.align,zIndex:8}).css(e.style).add().align(e.position))},destroy:function(){var t,e=this,i=e.axes,n=e.series,s=e.container,o=s&&s.parentNode;for(_t(e,"destroy"),It[e.index]=z,Ot--,e.renderTo.removeAttribute("data-highcharts-chart"),jt(e),t=i.length;t--;)i[t]=i[t].destroy();for(t=n.length;t--;)n[t]=n[t].destroy();for(t in Wt("title,subtitle,chartBackground,plotBackground,plotBGImage,plotBorder,seriesGroup,clipRect,credits,pointer,scroller,rangeSelector,legend,resetZoomButton,tooltip,renderer".split(","),(function(t){var i=e[t];i&&i.destroy&&(e[t]=i.destroy())})),s&&(s.innerHTML="",jt(s),o&&A(s)),e)delete e[t]},isReadyToRender:function(){var e=this;return!(!At&&t==t.top&&"complete"!==st.readyState||Ct&&!t.canvg)||(Ct?se.push((function(){e.firstRender()}),e.options.global.canvasToolsURL):st.attachEvent("onreadystatechange",(function(){st.detachEvent("onreadystatechange",e.firstRender),"complete"===st.readyState&&e.firstRender()})),!1)},firstRender:function(){var t=this,e=t.options;t.isReadyToRender()&&(t.getContainer(),_t(t,"init"),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes(),Wt(e.series||[],(function(e){t.initSeries(e)})),t.linkSeries(),_t(t,"beforeRender"),nt.Pointer&&(t.pointer=new ce(t,e)),t.render(),t.renderer.draw(),!t.renderer.imgCount&&t.onload&&t.onload(),t.cloneRenderTo(!0))},onload:function(){var t=this;Wt([this.callback].concat(this.callbacks),(function(e){e&&void 0!==t.index&&e.apply(t,[t])})),_t(t,"load"),this.onload=null},splashArray:function(t,e){var i=e[t];i=$t(i)?i:[i,i,i,i];return[Qt(e[t+"Top"],i[0]),Qt(e[t+"Right"],i[1]),Qt(e[t+"Bottom"],i[2]),Qt(e[t+"Left"],i[3])]}};re=nt.CenteredSeriesMixin={getCenter:function(){var t,e,i=this.options,n=this.chart,s=2*(i.slicedOffset||0),o=n.plotWidth-2*s,r=(n=n.plotHeight-2*s,i.center),a=(r=[Qt(r[0],"50%"),Qt(r[1],"50%"),i.size||"100%",i.innerSize||0],ct(o,n));for(t=0;t<4;++t)e=r[t],i=t<2||2===t&&/%$/.test(e),r[t]=(/%$/.test(e)?[o,n,a,r[2]][t]*parseFloat(e)/100:parseFloat(e))+(i?s:0);return r[3]>r[2]&&(r[3]=r[2]),r}};var ye=function(){};ye.prototype={init:function(t,e,i){return this.series=t,this.color=t.color,this.applyOptions(e,i),this.pointAttr={},t.options.colorByPoint&&(e=t.options.colors||t.chart.options.colors,this.color=this.color||e[t.colorCounter++],t.colorCounter===e.length)&&(t.colorCounter=0),t.chart.pointCount++,this},applyOptions:function(t,e){var i=this.series,n=i.options.pointValKey||i.pointValKey;t=ye.prototype.optionsToObject.call(this,t);return qt(this,t),this.options=this.options?qt(this.options,t):t,n&&(this.y=this[n]),this.isNull=null===this.x||!Jt(this.y,!0),void 0===this.x&&i&&(this.x=void 0===e?i.autoIncrement(this):e),i.xAxis&&i.xAxis.names&&(i.xAxis.names[this.x]=this.name),this},optionsToObject:function(t){var e={},i=this.series,n=i.options.keys,s=n||i.pointArrayMap||["y"],o=s.length,a=0,h=0;if(Jt(t)||null===t)e[s[0]]=t;else if(r(t))for(!n&&t.length>o&&("string"===(i=typeof t[0])?e.name=t[0]:"number"===i&&(e.x=t[0]),a++);h<o;)n&&void 0===t[a]||(e[s[h]]=t[a]),a++,h++;else "object"==typeof t&&(e=t,t.dataLabels&&(i._hasPointLabels=!0),t.marker&&(i._hasPointMarkers=!0));return e},destroy:function(){var t,e=this.series.chart,i=e.hoverPoints;for(t in e.pointCount--,i&&(this.setState(),a(i,this),!i.length)&&(e.hoverPoints=null),this===e.hoverPoint&&this.onMouseOut(),(this.graphic||this.dataLabel)&&(jt(this),this.destroyElements()),this.legendItem&&e.legend.destroyItem(this),this)this[t]=null},destroyElements:function(){for(var t,e=["graphic","dataLabel","dataLabelUpper","connector","shadowGroup"],i=6;i--;)this[t=e[i]]&&(this[t]=this[t].destroy())},getLabelConfig:function(){return{x:this.category,y:this.y,color:this.color,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},tooltipFormatter:function(t){var e=this.series,i=e.tooltipOptions,n=Qt(i.valueDecimals,""),s=i.valuePrefix||"",o=i.valueSuffix||"";return Wt(e.pointArrayMap||["y"],(function(e){e="{point."+e,(s||o)&&(t=t.replace(e+"}",s+e+"}"+o)),t=t.replace(e+"}",e+":,."+n+"f}")})),y(t,{point:this,series:this.series})},firePointEvent:function(t,e,i){var n=this,s=this.series.options;(s.point.events[t]||n.options&&n.options.events&&n.options.events[t])&&this.importEvents(),"click"===t&&s.allowPointSelect&&(i=function(t){n.select&&n.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),_t(this,t,e,i)},visible:!0};var xe=nt.Series=function(){};xe.prototype={isCartesian:!0,type:"line",pointClass:ye,sorted:!0,requireSorting:!0,pointAttrToOptions:{stroke:"lineColor","stroke-width":"lineWidth",fill:"fillColor",r:"radius"},directTouch:!1,axisTypes:["xAxis","yAxis"],colorCounter:0,parallelArrays:["x","y"],init:function(t,e){var i,n,s=this,o=t.series,r=function(t,e){return Qt(t.options.index,t._i)-Qt(e.options.index,e._i)};for(i in s.chart=t,s.options=e=s.setOptions(e),s.linkedSeries=[],s.bindAxes(),qt(s,{name:e.name,state:"",pointAttr:{},visible:!1!==e.visible,selected:!0===e.selected}),Ct&&(e.animation=!1),n=e.events)Vt(s,i,n[i]);(n&&n.click||e.point&&e.point.events&&e.point.events.click||e.allowPointSelect)&&(t.runTrackerClick=!0),s.getColor(),s.getSymbol(),Wt(s.parallelArrays,(function(t){s[t+"Data"]=[]})),s.setData(e.data,!1),s.isCartesian&&(t.hasCartesianSeries=!0),o.push(s),s._i=o.length-1,b(o,r),this.yAxis&&b(this.yAxis.series,r),Wt(o,(function(t,e){t.index=e,t.name=t.name||"Series "+(e+1)}))},bindAxes:function(){var t,i=this,n=i.options,s=i.chart;Wt(i.axisTypes||[],(function(o){Wt(s[o],(function(e){t=e.options,(n[o]===t.index||n[o]!==z&&n[o]===t.id||n[o]===z&&0===t.index)&&(e.series.push(i),i[o]=e,e.isDirty=!0)})),!i[o]&&i.optionalAxis!==o&&e(18,!0)}))},updateParallelArrays:function(t,e){var i=t.series,n=arguments,s=Jt(e)?function(n){var s="y"===n&&i.toYData?i.toYData(t):t[n];i[n+"Data"][e]=s}:function(t){Array.prototype[e].apply(i[t+"Data"],Array.prototype.slice.call(n,2))};Wt(i.parallelArrays,s)},autoIncrement:function(t){var e,i=this.options,n=this.xIncrement,s=i.pointIntervalUnit,o=this.xAxis;n=Qt(n,i.pointStart,0);return this.pointInterval=i=Qt(this.pointInterval,i.pointInterval,1),o&&o.categories&&t.name&&(this.requireSorting=!1,o=(e=r(o.categories))?o.categories:o.names,-1===(t=Ht(t.name,o))?e||(n=o.length):n=t),s&&(t=new W(n),"day"===s?t=+t[tt](t[U]()+i):"month"===s?t=+t[et](t[K]()+i):"year"===s&&(t=+t[it](t[Z]()+i)),i=t-n),this.xIncrement=n+i,n},setOptions:function(t){var e,i=(e=this.chart).options.plotOptions,s=(e=e.userOptions||{}).plotOptions||{},o=i[this.type];return this.userOptions=t,i=n(o,i.series,t),this.tooltipOptions=n(X.tooltip,X.plotOptions[this.type].tooltip,e.tooltip,s.series&&s.series.tooltip,s[this.type]&&s[this.type].tooltip,t.tooltip),null===o.marker&&delete i.marker,this.zoneAxis=i.zoneAxis,t=this.zones=(i.zones||[]).slice(),!i.negativeColor&&!i.negativeFillColor||i.zones||t.push({value:i[this.zoneAxis+"Threshold"]||i.threshold||0,color:i.negativeColor,fillColor:i.negativeFillColor}),t.length&&h(t[t.length-1].value)&&t.push({color:this.color,fillColor:this.fillColor}),i},getCyclic:function(t,e,i){var n=this.userOptions,s="_"+t+"Index",o=t+"Counter";e||(h(n[s])?e=n[s]:(n[s]=e=this.chart[o]%i.length,this.chart[o]+=1),e=i[e]),this[t]=e},getColor:function(){this.options.colorByPoint?this.options.color=null:this.getCyclic("color",this.options.color||ee[this.type].color,this.chart.options.colors)},getSymbol:function(){var t=this.options.marker;this.getCyclic("symbol",t.symbol,this.chart.options.symbols),/^url/.test(this.symbol)&&(t.radius=0)},drawLegendSymbol:ne.drawLineMarker,setData:function(t,i,n,s){var a,h=this,l=h.points,c=l&&l.length||0,d=h.options,p=h.chart,u=null,f=h.xAxis,g=d.turboThreshold,m=this.xData,y=this.yData,x=(a=h.pointArrayMap)&&a.length;if(a=(t=t||[]).length,i=Qt(i,!0),!1!==s&&a&&c===a&&!h.cropped&&!h.hasGroupedData&&h.visible)Wt(t,(function(t,e){l[e].update&&t!==d.data[e]&&l[e].update(t,!1,null,!1)}));else{if(h.xIncrement=null,h.colorCounter=0,Wt(this.parallelArrays,(function(t){h[t+"Data"].length=0})),g&&a>g){for(n=0;null===u&&n<a;)u=t[n],n++;if(Jt(u)){for(u=Qt(d.pointStart,0),x=Qt(d.pointInterval,1),n=0;n<a;n++)m[n]=u,y[n]=t[n],u+=x;h.xIncrement=u}else if(r(u))if(x)for(n=0;n<a;n++)u=t[n],m[n]=u[0],y[n]=u.slice(1,x+1);else for(n=0;n<a;n++)u=t[n],m[n]=u[0],y[n]=u[1];else e(12)}else for(n=0;n<a;n++)t[n]!==z&&(u={series:h},h.pointClass.prototype.applyOptions.apply(u,[t[n]]),h.updateParallelArrays(u,n));for(o(y[0])&&e(14,!0),h.data=[],h.options.data=h.userOptions.data=t,n=c;n--;)l[n]&&l[n].destroy&&l[n].destroy();f&&(f.minRange=f.userMinRange),h.isDirty=h.isDirtyData=p.isDirtyBox=!0,n=!1}
"point"===d.legendType&&(this.processData(),this.generatePoints()),i&&p.redraw(n)},processData:function(t){var i,n=this.xData,s=this.yData,o=n.length;i=0;var r,a,h,l=this.xAxis;h=(f=this.options).cropThreshold;var c,d,p=this.getExtremesFromAll||f.getExtremesFromAll,u=this.isCartesian,f=l&&l.val2lin,g=l&&l.isLog;if(u&&!this.isDirty&&!l.isDirty&&!this.yAxis.isDirty&&!t)return!1;for(l&&(c=(t=l.getExtremes()).min,d=t.max),u&&this.sorted&&!p&&(!h||o>h||this.forceCrop)&&(n[o-1]<c||n[0]>d?(n=[],s=[]):(n[0]<c||n[o-1]>d)&&(n=(i=this.cropData(this.xData,this.yData,c,d)).xData,s=i.yData,i=i.start,r=!0)),h=n.length||1;--h;)(o=g?f(n[h])-f(n[h-1]):n[h]-n[h-1])>0&&(a===z||o<a)?a=o:o<0&&this.requireSorting&&e(15);this.cropped=r,this.cropStart=i,this.processedXData=n,this.processedYData=s,this.closestPointRange=a},cropData:function(t,e,i,n){var s,o=t.length,r=0,a=o,h=Qt(this.cropShoulder,1);for(s=0;s<o;s++)if(t[s]>=i){r=lt(0,s-h);break}
for(i=s;i<o;i++)if(t[i]>n){a=i+h;break}
return{xData:t.slice(r,a),yData:e.slice(r,a),start:r,end:a}},generatePoints:function(){var t,e,i,n,s=this.options.data,o=this.data,r=this.processedXData,a=this.processedYData,h=this.pointClass,l=r.length,d=this.cropStart||0,p=this.hasGroupedData,u=[];for(o||p||((o=[]).length=s.length,o=this.data=o),n=0;n<l;n++)e=d+n,p?(u[n]=(new h).init(this,[r[n]].concat(c(a[n]))),u[n].dataGroup=this.groupMap[n]):(o[e]?i=o[e]:s[e]!==z&&(o[e]=i=(new h).init(this,s[e],r[n])),u[n]=i),u[n].index=e;if(o&&(l!==(t=o.length)||p))for(n=0;n<t;n++)n===d&&!p&&(n+=l),o[n]&&(o[n].destroyElements(),o[n].plotX=z);this.data=o,this.points=u},getExtremes:function(t){var e,i,n,s,o,r=this.yAxis,a=this.processedXData,h=[],l=0,c=(e=this.xAxis.getExtremes()).min,d=e.max;for(e=(t=t||this.stackedYData||this.processedYData||[]).length,o=0;o<e;o++)if(n=a[o],i=null!==(s=t[o])&&s!==z&&(!r.isLog||s.length||s>0),n=this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||(a[o+1]||n)>=c&&(a[o-1]||n)<=d,i&&n)if(i=s.length)for(;i--;)null!==s[i]&&(h[l++]=s[i]);else h[l++]=s;this.dataMin=k(h),this.dataMax=w(h)},translate:function(){this.processedXData||this.processData(),this.generatePoints();for(var t,i,n,s,o=(x=this.options).stacking,r=this.xAxis,a=r.categories,l=this.yAxis,c=this.points,d=c.length,p=!!this.modifyValue,u=x.pointPlacement,f="between"===u||Jt(u),g=x.threshold,m=x.startFromThreshold?g:0,y=Number.MAX_VALUE,x=0;x<d;x++){var v=c[x],b=v.x,k=v.y;i=v.low;var w,S=o&&l.stacks[(this.negStacks&&k<(m?0:g)?"-":"")+this.stackKey];l.isLog&&null!==k&&k<=0&&(v.y=k=null,e(10)),v.plotX=t=T(ct(lt(-1e5,r.translate(b,0,0,0,1,u,"flags"===this.type)),1e5)),o&&this.visible&&!v.isNull&&S&&S[b]&&(s=this.getStackIndicator(s,b,this.index),i=(k=(w=S[b]).points[s.key])[0],k=k[1],i===m&&s.key===S[b].base&&(i=Qt(g,l.min)),l.isLog&&i<=0&&(i=null),v.total=v.stackTotal=w.total,v.percentage=w.total&&v.y/w.total*100,v.stackY=k,w.setOffset(this.pointXOffset||0,this.barW||0)),v.yBottom=h(i)?l.translate(i,0,1,0,1):null,p&&(k=this.modifyValue(k,v)),v.plotY=i="number"==typeof k&&k!==1/0?ct(lt(-1e5,l.translate(k,0,1,0,1)),1e5):z,v.isInside=i!==z&&i>=0&&i<=l.len&&t>=0&&t<=r.len,v.clientX=f?T(r.translate(b,0,0,0,1)):t,v.negative=v.y<(g||0),v.category=a&&a[v.x]!==z?a[v.x]:v.x,v.isNull||(void 0!==n&&(y=ct(y,dt(t-n))),n=t)}
this.closestPointRangePx=y},getValidPoints:function(t,e){var i=this.chart;return Ft(t||this.points||[],(function(t){return!(e&&!i.isInsidePlot(t.plotX,t.plotY,i.inverted))&&!t.isNull}))},setClip:function(t){var e=this.chart,i=this.options,n=e.renderer,s=e.inverted,o=this.clipBox,r=o||e.clipBox,a=this.sharedClipKey||["_sharedClip",t&&t.duration,t&&t.easing,r.height,i.xAxis,i.yAxis].join(","),h=e[a],l=e[a+"m"];h||(t&&(r.width=0,e[a+"m"]=l=n.clipRect(-99,s?-e.plotLeft:-e.plotTop,99,s?e.chartWidth:e.chartHeight)),e[a]=h=n.clipRect(r),h.count={length:0}),t&&!h.count[this.index]&&(h.count[this.index]=!0,h.count.length+=1),!1!==i.clip&&(this.group.clip(t||o?h:e.clipRect),this.markerGroup.clip(l),this.sharedClipKey=a),t||(h.count[this.index]&&(delete h.count[this.index],h.count.length-=1),0===h.count.length&&a&&e[a]&&(o||(e[a]=e[a].destroy()),e[a+"m"]&&(e[a+"m"]=e[a+"m"].destroy())))},animate:function(t){var e,i=this.chart,n=this.options.animation;n&&!$t(n)&&(n=ee[this.type].animation),t?this.setClip(n):((t=i[e=this.sharedClipKey])&&t.animate({width:i.plotSizeX},n),i[e+"m"]&&i[e+"m"].animate({width:i.plotSizeX+99},n),this.animate=null)},afterAnimate:function(){this.setClip(),_t(this,"afterAnimate")},drawPoints:function(){var t,e,i,n,s,o,r,a,h,l,c,d,p=this.points,u=this.chart,f=this.options.marker,g=this.pointAttr[""],m=this.markerGroup,y=Qt(f.enabled,this.xAxis.isRadial,this.closestPointRangePx>2*f.radius);if(!1!==f.enabled||this._hasPointMarkers)for(n=p.length;n--;)s=p[n],e=at(s.plotX),i=s.plotY,h=s.graphic,l=s.marker||{},c=!!s.marker,t=y&&l.enabled===z||l.enabled,d=s.isInside,t&&Jt(i)&&null!==s.y?(o=(t=s.pointAttr[s.selected?"select":""]||g).r,a=0===(r=Qt(l.symbol,this.symbol)).indexOf("url"),h?h[d?"show":"hide"](!0).attr(t).animate(qt({x:e-o,y:i-o},h.symbolName?{width:2*o,height:2*o}:{})):d&&(o>0||a)&&(s.graphic=u.renderer.symbol(r,e-o,i-o,2*o,2*o,c?l:f).attr(t).add(m))):h&&(s.graphic=h.destroy())},convertAttribs:function(t,e,i,n){var s,o,r=this.pointAttrToOptions,a={};t=t||{},e=e||{},i=i||{},n=n||{};for(s in r)o=r[s],a[s]=Qt(t[o],e[s],i[s],n[s]);return a},getAttribs:function(){var t,e,i,n=this,s=n.options,o=ee[n.type].marker?s.marker:s,r=o.states,a=r.hover,l=n.color,c=n.options.negativeColor,d={stroke:l,fill:l},p=n.points||[],u=[],f=n.pointAttrToOptions;t=n.hasPointSpecificOptions;var g=o.lineColor,m=o.fillColor;e=s.turboThreshold;var y,x,v=n.zones,b=n.zoneAxis||"y";if(s.marker?(a.radius=+a.radius||+o.radius+ +a.radiusPlus,a.lineWidth=a.lineWidth||o.lineWidth+a.lineWidthPlus):(a.color=a.color||M(a.color||l).brighten(a.brightness).get(),a.negativeColor=a.negativeColor||M(a.negativeColor||c).brighten(a.brightness).get()),u[""]=n.convertAttribs(o,d),Wt(["hover","select"],(function(t){u[t]=n.convertAttribs(r[t],u[""])})),n.pointAttr=u,l=p.length,!e||l<e||t)for(;l--;){if((o=(e=p[l]).options&&e.options.marker||e.options)&&!1===o.enabled&&(o.radius=0),d=null,v.length){for(d=v[t=0];e[b]>=d.value;)d=v[++t];e.color=e.fillColor=d=Qt(d.color,n.color)}
if(t=s.colorByPoint||e.color,e.options)for(x in f)h(o[f[x]])&&(t=!0);t?(i=[],t=(r=(o=o||{}).states||{}).hover=r.hover||{},s.marker&&(!e.negative||t.fillColor||a.fillColor)||(t[n.pointAttrToOptions.fill]=t.color||!e.options.color&&a[e.negative&&c?"negativeColor":"color"]||M(e.color).brighten(t.brightness||a.brightness).get()),y={color:e.color},m||(y.fillColor=e.color),g||(y.lineColor=e.color),o.hasOwnProperty("color")&&!o.color&&delete o.color,d&&!a.fillColor&&(t.fillColor=d),i[""]=n.convertAttribs(qt(y,o),u[""]),i.hover=n.convertAttribs(r.hover,u.hover,i[""]),i.select=n.convertAttribs(r.select,u.select,i[""])):i=u,e.pointAttr=i}},destroy:function(){var t,e,i,n,s=this,o=s.chart,r=/AppleWebKit\/533/.test(mt),h=s.data||[];for(_t(s,"destroy"),jt(s),Wt(s.axisTypes||[],(function(t){(n=s[t])&&(a(n.series,s),n.isDirty=n.forceRedraw=!0)})),s.legendItem&&s.chart.legend.destroyItem(s),t=h.length;t--;)(e=h[t])&&e.destroy&&e.destroy();for(i in s.points=null,clearTimeout(s.animationTimeout),s)s[i]instanceof I&&!s[i].survive&&(t=r&&"group"===i?"hide":"destroy",s[i][t]());for(i in o.hoverSeries===s&&(o.hoverSeries=null),a(o.series,s),s)delete s[i]},getGraphPath:function(t,e,i){var n,s,o=this,r=o.options,a=r.step,l=[],c=[];return(n=(t=t||o.points).reversed)&&t.reverse(),(a={right:1,center:2}[a]||a&&3)&&n&&(a=4-a),r.connectNulls&&!e&&!i&&(t=this.getValidPoints(t)),Wt(t,(function(n,d){var p=n.plotX,u=n.plotY,f=t[d-1];(n.leftCliff||f&&f.rightCliff)&&!i&&(s=!0),n.isNull&&!h(e)&&d>0?s=!r.connectNulls:n.isNull&&!e?s=!0:(0===d||s?f=[zt,n.plotX,n.plotY]:o.getPointSpline?f=o.getPointSpline(t,n,d):a?(f=1===a?[Rt,f.plotX,u]:2===a?[Rt,(f.plotX+p)/2,f.plotY,Rt,(f.plotX+p)/2,u]:[Rt,p,f.plotY]).push(Rt,p,u):f=[Rt,p,u],c.push(n.x),a&&c.push(n.x),l.push.apply(l,f),s=!1)})),l.xMap=c,o.graphPath=l},drawGraph:function(){var t=this,e=this.options,i=[["graph",e.lineColor||this.color,e.dashStyle]],n=e.lineWidth,s="square"!==e.linecap,o=(this.gappedPath||this.getGraphPath).call(this);Wt(this.zones,(function(n,s){i.push(["zoneGraph"+s,n.color||t.color,n.dashStyle||e.dashStyle])})),Wt(i,(function(i,r){var a=i[0],h=t[a];h?(h.endX=o.xMap,h.animate({d:o})):n&&o.length&&(h={stroke:i[1],"stroke-width":n,fill:"none",zIndex:1},i[2]?h.dashstyle=i[2]:s&&(h["stroke-linecap"]=h["stroke-linejoin"]="round"),h=t[a]=t.chart.renderer.path(o).attr(h).add(t.group).shadow(r<2&&e.shadow)),h&&(h.startX=o.xMap,h.isArea=o.isArea)}))},applyZones:function(){var t,e,i,n,s,o,r,a=this,h=this.chart,l=h.renderer,c=this.zones,d=this.clips||[],p=this.graph,u=this.area,f=lt(h.chartWidth,h.chartHeight),g=this[(this.zoneAxis||"y")+"Axis"],m=g.reversed,y=h.inverted,x=g.horiz,v=!1;c.length&&(p||u)&&g.min!==z&&(p&&p.hide(),u&&u.hide(),n=g.getExtremes(),Wt(c,(function(c,b){t=m?x?h.plotWidth:0:x?0:g.toPixels(n.min),t=ct(lt(Qt(e,t),0),f),e=ct(lt(rt(g.toPixels(Qt(c.value,n.max),!0)),0),f),v&&(t=e=g.toPixels(n.max)),s=Math.abs(t-e),o=ct(t,e),r=lt(t,e),g.isXAxis?(i={x:y?r:o,y:0,width:s,height:f},x||(i.x=h.plotHeight-i.x)):(i={x:0,y:y?r:o,width:f,height:s},x&&(i.y=h.plotWidth-i.y)),h.inverted&&l.isVML&&(i=g.isXAxis?{x:0,y:m?o:r,height:i.width,width:h.chartWidth}:{x:i.y-h.plotLeft-h.spacingBox.x,y:0,width:i.height,height:h.chartHeight}),d[b]?d[b].animate(i):(d[b]=l.clipRect(i),p&&a["zoneGraph"+b].clip(d[b]),u&&a["zoneArea"+b].clip(d[b])),v=c.value>n.max})),this.clips=d)},invertGroups:function(){function t(){var t={width:e.yAxis.len,height:e.xAxis.len};Wt(["group","markerGroup"],(function(i){e[i]&&e[i].attr(t).invert()}))}
var e=this,i=e.chart;e.xAxis&&(Vt(i,"resize",t),Vt(e,"destroy",(function(){jt(i,"resize",t)})),t(),e.invertGroups=t)},plotGroup:function(t,e,i,n,s){var o=this[t],r=!o;return r&&(this[t]=o=this.chart.renderer.g(e).attr({zIndex:n||.1}).add(s),o.addClass("highcharts-series-"+this.index)),o.attr({visibility:i})[r?"attr":"animate"](this.getPlotBox()),o},getPlotBox:function(){var t=this.chart,e=this.xAxis,i=this.yAxis;return t.inverted&&(e=i,i=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:i?i.top:t.plotTop,scaleX:1,scaleY:1}},render:function(){var t,e=this,i=e.chart,n=e.options,s=!!e.animate&&i.renderer.isSVG&&P(n.animation).duration,o=e.visible?"inherit":"hidden",r=n.zIndex,a=e.hasRendered,h=i.seriesGroup;t=e.plotGroup("group","series",o,r,h),e.markerGroup=e.plotGroup("markerGroup","markers",o,r,h),s&&e.animate(!0),e.getAttribs(),t.inverted=!!e.isCartesian&&i.inverted,e.drawGraph&&(e.drawGraph(),e.applyZones()),Wt(e.points,(function(t){t.redraw&&t.redraw()})),e.drawDataLabels&&e.drawDataLabels(),e.visible&&e.drawPoints(),e.drawTracker&&!1!==e.options.enableMouseTracking&&e.drawTracker(),i.inverted&&e.invertGroups(),!1!==n.clip&&!e.sharedClipKey&&!a&&t.clip(i.clipRect),s&&e.animate(),a||(e.animationTimeout=d((function(){e.afterAnimate()}),s)),e.isDirty=e.isDirtyData=!1,e.hasRendered=!0},redraw:function(){var t=this.chart,e=this.isDirty||this.isDirtyData,i=this.group,n=this.xAxis,s=this.yAxis;i&&(t.inverted&&i.attr({width:t.plotWidth,height:t.plotHeight}),i.animate({translateX:Qt(n&&n.left,t.plotLeft),translateY:Qt(s&&s.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},kdDimensions:1,kdAxisArray:["clientX","plotY"],searchPoint:function(t,e){var i=this.xAxis,n=this.yAxis,s=this.chart.inverted;return this.searchKDTree({clientX:s?i.len-t.chartY+i.pos:t.chartX-i.pos,plotY:s?n.len-t.chartX+n.pos:t.chartY-n.pos},e)},buildKDTree:function(){function t(i,n,s){var o,r;if(r=i&&i.length)return o=e.kdAxisArray[n%s],i.sort((function(t,e){return t[o]-e[o]})),{point:i[r=Math.floor(r/2)],left:t(i.slice(0,r),n+1,s),right:t(i.slice(r+1),n+1,s)}}
var e=this,i=e.kdDimensions;delete e.kdTree,d((function(){e.kdTree=t(e.getValidPoints(null,!e.directTouch),i,i)}),e.options.kdNow?0:1)},searchKDTree:function(t,e){var i=this,n=this.kdAxisArray[0],s=this.kdAxisArray[1],o=e?"distX":"dist";if(this.kdTree||this.buildKDTree(),this.kdTree)return function t(e,r,a,l){var c,d,p=r.point,u=i.kdAxisArray[a%l],f=p;return c=((d=h(e[n])&&h(p[n])?Math.pow(e[n]-p[n],2):null)||0)+((c=h(e[s])&&h(p[s])?Math.pow(e[s]-p[s],2):null)||0),p.dist=h(c)?Math.sqrt(c):Number.MAX_VALUE,p.distX=h(d)?Math.sqrt(d):Number.MAX_VALUE,d=(u=e[u]-p[u])<0?"right":"left",r[c=u<0?"left":"right"]&&(f=(c=t(e,r[c],a+1,l))[o]<f[o]?c:p),r[d]&&Math.sqrt(u*u)<f[o]&&(f=(e=t(e,r[d],a+1,l))[o]<f[o]?e:f),f}(t,this.kdTree,this.kdDimensions,this.kdDimensions)}},D.prototype={destroy:function(){S(this,this.axis)},render:function(t){var e=this.options,i=(i=e.format)?y(i,this):e.formatter.call(this);this.label?this.label.attr({text:i,visibility:"hidden"}):this.label=this.axis.chart.renderer.text(i,null,null,e.useHTML).css(e.style).attr({align:this.textAlign,rotation:e.rotation,visibility:"hidden"}).add(t)},setOffset:function(t,e){var i=(r=this.axis).chart,n=i.inverted,s=r.reversed,o=(s=this.isNegative&&!s||!this.isNegative&&s,r.translate(r.usePercentage?100:this.total,0,0,0,1)),r=r.translate(0),a=(r=dt(o-r),i.xAxis[0].translate(this.x)+t),h=i.plotHeight;s={x:n?s?o:o-r:a,y:n?h-a-e:s?h-o-r:h-o,width:n?r:e,height:n?e:r};(n=this.label)&&(n.align(this.alignOptions,null,s),s=n.alignAttr,n[!1===this.options.crop||i.isInsidePlot(s.x,s.y)?"show":"hide"](!0))}},me.prototype.getStacks=function(){var t=this;Wt(t.yAxis,(function(t){t.stacks&&t.hasVisibleSeries&&(t.oldStacks=t.stacks)})),Wt(t.series,(function(e){!e.options.stacking||!0!==e.visible&&!1!==t.options.chart.ignoreHiddenSeries||(e.stackKey=e.type+Qt(e.options.stack,""))}))},ae.prototype.buildStacks=function(){var t,e,i=this.series,n=Qt(this.options.reversedStacks,!0),s=i.length;if(!this.isXAxis){for(this.usePercentage=!1,e=s;e--;)i[n?e:s-e-1].setStackedPoints();for(e=s;e--;)(t=i[n?e:s-e-1]).setStackCliffs&&t.setStackCliffs();if(this.usePercentage)for(e=0;e<s;e++)i[e].setPercentStacks()}},ae.prototype.renderStackTotals=function(){var t,e,i=this.chart,n=i.renderer,s=this.stacks,o=this.stackTotalGroup;for(t in o||(this.stackTotalGroup=o=n.g("stack-labels").attr({visibility:"visible",zIndex:6}).add()),o.translate(i.plotLeft,i.plotTop),s)for(e in i=s[t])i[e].render(o)},ae.prototype.resetStacks=function(){var t,e,i=this.stacks;if(!this.isXAxis)for(t in i)for(e in i[t])i[t][e].touched<this.stacksTouched?(i[t][e].destroy(),delete i[t][e]):(i[t][e].total=null,i[t][e].cum=0)},ae.prototype.cleanStacks=function(){var t,e,i;if(!this.isXAxis)for(e in this.oldStacks&&(t=this.stacks=this.oldStacks),t)for(i in t[e])t[e][i].cum=t[e][i].total},xe.prototype.setStackedPoints=function(){if(this.options.stacking&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var t,e,i,n,s,o,r,a=this.processedXData,l=this.processedYData,c=[],d=l.length,p=(g=this.options).threshold,u=g.startFromThreshold?p:0,f=g.stack,g=g.stacking,m=this.stackKey,y="-"+m,x=this.negStacks,v=this.yAxis,b=v.stacks,k=v.oldStacks;for(v.stacksTouched+=1,s=0;s<d;s++)o=a[s],r=l[s],n=(t=this.getStackIndicator(t,o,this.index)).key,b[i=(e=x&&r<(u?0:p))?y:m]||(b[i]={}),b[i][o]||(k[i]&&k[i][o]?(b[i][o]=k[i][o],b[i][o].total=null):b[i][o]=new D(v,v.options.stackLabels,e,o,f)),i=b[i][o],null!==r&&(i.points[n]=i.points[this.index]=[Qt(i.cum,u)],h(i.cum)||(i.base=n),i.touched=v.stacksTouched,t.index>0&&!1===this.singleStacks&&(i.points[n][0]=i.points[this.index+","+o+",0"][0])),"percent"===g?(e=e?m:y,x&&b[e]&&b[e][o]?(e=b[e][o],i.total=e.total=lt(e.total,i.total)+dt(r)||0):i.total=T(i.total+(dt(r)||0))):i.total=T(i.total+(r||0)),i.cum=Qt(i.cum,u)+(r||0),null!==r&&(i.points[n].push(i.cum),c[s]=i.cum);"percent"===g&&(v.usePercentage=!0),this.stackedYData=c,v.oldStacks={}}},xe.prototype.setPercentStacks=function(){var t,e=this,i=e.stackKey,n=e.yAxis.stacks,s=e.processedXData;Wt([i,"-"+i],(function(i){for(var o,r,a=s.length;a--;)o=s[a],t=e.getStackIndicator(t,o,e.index),(o=(r=n[i]&&n[i][o])&&r.points[t.key])&&(r=r.total?100/r.total:0,o[0]=T(o[0]*r),o[1]=T(o[1]*r),e.stackedYData[a]=o[1])}))},xe.prototype.getStackIndicator=function(t,e,i){return h(t)&&t.x===e?t.index++:t={x:e,index:0},t.key=[i,e,t.index].join(","),t},qt(me.prototype,{addSeries:function(t,e,i){var n,s=this;return t&&(e=Qt(e,!0),_t(s,"addSeries",{options:t},(function(){n=s.initSeries(t),s.isDirtyLegend=!0,s.linkSeries(),e&&s.redraw(i)}))),n},addAxis:function(t,e,i,s){var o=e?"xAxis":"yAxis",r=this.options;t=n(t,{index:this[o].length,isX:e});new ae(this,t),r[o]=c(r[o]||{}),r[o].push(t),Qt(i,!0)&&this.redraw(s)},showLoading:function(t){var e=this,i=e.options,n=e.loadingDiv,s=i.loading,o=function(){n&&p(n,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})};n||(e.loadingDiv=n=u(Dt,{className:"highcharts-loading"},qt(s.style,{zIndex:10,display:"none"}),e.container),e.loadingSpan=u("span",null,s.labelStyle,n),Vt(e,"redraw",o)),e.loadingSpan.innerHTML=t||i.lang.loading,e.loadingShown||(p(n,{opacity:0,display:""}),Ut(n,{opacity:s.style.opacity},{duration:s.showDuration||0}),e.loadingShown=!0),o()},hideLoading:function(){var t=this.options,e=this.loadingDiv;e&&Ut(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){p(e,{display:"none"})}}),this.loadingShown=!1}}),qt(ye.prototype,{update:function(t,e,i,n){function s(){r.applyOptions(t),null===r.y&&h&&(r.graphic=h.destroy()),$t(t,!0)&&(r.redraw=function(){h&&h.element&&t&&t.marker&&t.marker.symbol&&(r.graphic=h.destroy()),t&&t.dataLabels&&r.dataLabel&&(r.dataLabel=r.dataLabel.destroy()),r.redraw=null}),o=r.index,a.updateParallelArrays(r,o),d&&r.name&&(d[r.x]=r.name),c.data[o]=$t(c.data[o],!0)?r.options:t,a.isDirty=a.isDirtyData=!0,!a.fixedBox&&a.hasCartesianSeries&&(l.isDirtyBox=!0),"point"===c.legendType&&(l.isDirtyLegend=!0),e&&l.redraw(i)}
var o,r=this,a=r.series,h=r.graphic,l=a.chart,c=a.options,d=a.xAxis&&a.xAxis.names;e=Qt(e,!0);!1===n?s():r.firePointEvent("update",{options:t},s)},remove:function(t,e){this.series.removePoint(Ht(this,this.series.data),t,e)}}),qt(xe.prototype,{addPoint:function(t,e,i,n){var s,o,r,a=this.options,h=this.data,l=this.chart,c=this.xAxis&&this.xAxis.names,d=a.data,p=this.xData;if(C(n,l),e=Qt(e,!0),n={series:this},this.pointClass.prototype.applyOptions.apply(n,[t]),r=n.x,o=p.length,this.requireSorting&&r<p[o-1])for(s=!0;o&&p[o-1]>r;)o--;this.updateParallelArrays(n,"splice",o,0,0),this.updateParallelArrays(n,o),c&&n.name&&(c[r]=n.name),d.splice(o,0,t),s&&(this.data.splice(o,0,null),this.processData()),"point"===a.legendType&&this.generatePoints(),i&&(h[0]&&h[0].remove?h[0].remove(!1):(h.shift(),this.updateParallelArrays(n,"shift"),d.shift())),this.isDirtyData=this.isDirty=!0,e&&(this.getAttribs(),l.redraw())},removePoint:function(t,e,i){var n=this,s=n.data,o=s[t],r=n.points,a=n.chart,h=function(){r&&r.length===s.length&&r.splice(t,1),s.splice(t,1),n.options.data.splice(t,1),n.updateParallelArrays(o||{series:n},"splice",t,1),o&&o.destroy(),n.isDirty=!0,n.isDirtyData=!0,e&&a.redraw()};C(i,a),e=Qt(e,!0),o?o.firePointEvent("remove",null,h):h()},remove:function(t,e){var i=this,n=i.chart;_t(i,"remove",null,(function(){i.destroy(),n.isDirtyLegend=n.isDirtyBox=!0,n.linkSeries(),Qt(t,!0)&&n.redraw(e)}))},update:function(t,e){var i,s=this,o=this.chart,r=this.userOptions,a=this.type,h=Xt[a].prototype,l=["group","markerGroup","dataLabelsGroup"];for(i in(t.type&&t.type!==a||void 0!==t.zIndex)&&(l.length=0),Wt(l,(function(t){l[t]=s[t],delete s[t]})),t=n(r,{animation:!1,index:this.index,pointStart:this.xData[0]},{data:this.options.data},t),this.remove(!1),h)this[i]=z;qt(this,Xt[t.type||a].prototype),Wt(l,(function(t){s[t]=l[t]})),this.init(o,t),o.linkSeries(),Qt(e,!0)&&o.redraw(!1)}}),qt(ae.prototype,{update:function(t,e){var i=this.chart;t=i.options[this.coll][this.options.index]=n(this.userOptions,t);this.destroy(!0),this.init(i,qt(t,{events:z})),i.isDirtyBox=!0,Qt(e,!0)&&i.redraw()},remove:function(t){for(var e=this.chart,i=this.coll,n=this.series,s=n.length;s--;)n[s]&&n[s].remove(!1);a(e.axes,this),a(e[i],this),e.options[i].splice(this.options.index,1),Wt(e[i],(function(t,e){t.options.index=e})),this.destroy(),e.isDirtyBox=!0,Qt(t,!0)&&e.redraw()},setTitle:function(t,e){this.update({title:t},e)},setCategories:function(t,e){this.update({categories:t},e)}});var ve=f(xe);Xt.line=ve,ee.area=n(ie,{softThreshold:!1,threshold:0});var be,ke,we,Se,Ae,Te=f(xe,{type:"area",singleStacks:!1,getStackPoints:function(){var t,e,i,n=[],s=[],o=this.xAxis,r=this.yAxis,a=r.stacks[this.stackKey],h={},l=this.points,c=this.index,d=r.series,p=d.length,u=Qt(r.options.reversedStacks,!0)?1:-1;if(this.options.stacking){for(e=0;e<l.length;e++)h[l[e].x]=l[e];for(i in a)null!==a[i].total&&s.push(i);s.sort((function(t,e){return t-e})),t=Nt(d,(function(){return this.visible})),Wt(s,(function(i,l){var d,f,g=0;if(h[i]&&!h[i].isNull)n.push(h[i]),Wt([-1,1],(function(n){var o=1===n?"rightNull":"leftNull",r=0,g=a[s[l+n]];if(g)for(e=c;e>=0&&e<p;)(d=g.points[e])||(e===c?h[i][o]=!0:t[e]&&(f=a[i].points[e])&&(r-=f[1]-f[0])),e+=u;h[i][1===n?"rightCliff":"leftCliff"]=r}));else{for(e=c;e>=0&&e<p;){if(d=a[i].points[e]){g=d[1];break}
e+=u}
g=r.toPixels(g,!0),n.push({isNull:!0,plotX:o.toPixels(i,!0),plotY:g,yBottom:g})}}))}
return n},getGraphPath:function(t){var e,i,n,s,o=xe.prototype.getGraphPath,r=(f=this.options).stacking,a=this.yAxis,h=[],l=[],c=this.index,d=a.stacks[this.stackKey],p=f.threshold,u=a.getThreshold(f.threshold),f=f.connectNulls||"percent"===r,g=function(e,i,s){var o,f,g=t[e],m=(e=r&&d[g.x].points[c],g[s+"Null"]||0);s=g[s+"Cliff"]||0,g=!0;s||m?(o=(m?e[0]:e[1])+s,f=e[0]+s,g=!!m):!r&&t[i]&&t[i].isNull&&(o=f=p),void 0!==o&&(l.push({plotX:n,plotY:null===o?u:a.getThreshold(o),isNull:g}),h.push({plotX:n,plotY:null===f?u:a.getThreshold(f)}))};t=t||this.points;for(r&&(t=this.getStackPoints()),e=0;e<t.length;e++)i=t[e].isNull,n=Qt(t[e].rectPlotX,t[e].plotX),s=Qt(t[e].yBottom,u),(!i||f)&&(f||g(e,e-1,"left"),i&&!r&&f||(l.push(t[e]),h.push({x:e,plotX:n,plotY:s})),f||g(e,e+1,"right"));return e=o.call(this,l,!0,!0),h.reversed=!0,(i=o.call(this,h,!0,!0)).length&&(i[0]=Rt),i=e.concat(i),o=o.call(this,l,!1,f),i.xMap=e.xMap,this.areaPath=i,o},drawGraph:function(){this.areaPath=[],xe.prototype.drawGraph.apply(this);var t=this,e=this.areaPath,i=this.options,n=[["area",this.color,i.fillColor]];Wt(this.zones,(function(e,s){n.push(["zoneArea"+s,e.color||t.color,e.fillColor||i.fillColor])})),Wt(n,(function(n){var s=n[0],o=t[s];o?(o.endX=e.xMap,o.animate({d:e})):(o={fill:n[2]||n[1],zIndex:0},n[2]||(o["fill-opacity"]=Qt(i.fillOpacity,.75)),(o=t[s]=t.chart.renderer.path(e).attr(o).add(t.group)).isArea=!0),o.startX=e.xMap,o.shiftUnit=i.step?2:1}))},drawLegendSymbol:ne.drawRectangle});return Xt.area=Te,ee.spline=n(ie),ve=f(xe,{type:"spline",getPointSpline:function(t,e,i){var n,s,o,r,a=e.plotX,h=e.plotY,l=t[i-1];i=t[i+1];if(l&&!l.isNull&&i&&!i.isNull){t=l.plotY,o=i.plotX;var c=0;s=(1.5*h+t)/2.5,r=(1.5*h+(i=i.plotY))/2.5,(o=(1.5*a+o)/2.5)!==(n=(1.5*a+l.plotX)/2.5)&&(c=(r-s)*(o-a)/(o-n)+h-r),r+=c,(s+=c)>t&&s>h?r=2*h-(s=lt(t,h)):s<t&&s<h&&(r=2*h-(s=ct(t,h))),r>i&&r>h?s=2*h-(r=lt(i,h)):r<i&&r<h&&(s=2*h-(r=ct(i,h))),e.rightContX=o,e.rightContY=r}
return e=["C",Qt(l.rightContX,l.plotX),Qt(l.rightContY,l.plotY),Qt(n,a),Qt(s,h),a,h],l.rightContX=l.rightContY=null,e}}),Xt.spline=ve,ee.areaspline=n(ee.area),ve=f(ve,{type:"areaspline",getStackPoints:(Te=Te.prototype).getStackPoints,getGraphPath:Te.getGraphPath,setStackCliffs:Te.setStackCliffs,drawGraph:Te.drawGraph,drawLegendSymbol:ne.drawRectangle}),Xt.areaspline=ve,ee.column=n(ie,{borderColor:"#FFFFFF",borderRadius:0,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{brightness:.1,shadow:!1,halo:!1},select:{color:"#C0C0C0",borderColor:"#000000",shadow:!1}},dataLabels:{align:null,verticalAlign:null,y:null},softThreshold:!1,startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0}),ve=f(xe,{type:"column",pointAttrToOptions:{stroke:"borderColor",fill:"color",r:"borderRadius"},cropShoulder:0,directTouch:!0,trackerGroups:["group","dataLabelsGroup"],negStacks:!0,init:function(){xe.prototype.init.apply(this,arguments);var t=this,e=t.chart;e.hasRendered&&Wt(e.series,(function(e){e.type===t.type&&(e.isDirty=!0)}))},getColumnMetrics:function(){var t,e=this,i=e.options,n=e.xAxis,s=e.yAxis,o=n.reversed,r={},a=0;!1===i.grouping?a=1:Wt(e.chart.series,(function(i){var n,o=i.options,h=i.yAxis;i.type===e.type&&i.visible&&s.len===h.len&&s.pos===h.pos&&(o.stacking?(t=i.stackKey,r[t]===z&&(r[t]=a++),n=r[t]):!1!==o.grouping&&(n=a++),i.columnIndex=n)}));var h=ct(dt(n.transA)*(n.ordinalSlope||i.pointRange||n.closestPointRange||n.tickInterval||1),n.len),l=h*i.groupPadding,c=(h-2*l)/a;i=ct(i.maxPointWidth||n.len,Qt(i.pointWidth,c*(1-2*i.pointPadding)));return e.columnMetrics={width:i,offset:(c-i)/2+(l+((e.columnIndex||0)+(o?1:0))*c-h/2)*(o?-1:1)},e.columnMetrics},crispCol:function(t,e,i,n){var s=this.chart,o=-((r=this.borderWidth)%2?.5:0),r=r%2?.5:1;return s.inverted&&s.renderer.isVML&&(r+=1),i=Math.round(t+i)+o,i-=t=Math.round(t)+o,n=Math.round(e+n)+r,o=dt(e)<=.5&&n>.5,n-=e=Math.round(e)+r,o&&n&&(e-=1,n+=1),{x:t,y:e,width:i,height:n}},translate:function(){var t=this,e=t.chart,i=t.options,n=t.borderWidth=Qt(i.borderWidth,t.closestPointRange*t.xAxis.transA<2?0:1),s=t.yAxis,o=t.translatedThreshold=s.getThreshold(i.threshold),r=Qt(i.minPointLength,5),a=t.getColumnMetrics(),h=a.width,l=t.barW=lt(h,1+2*n),c=t.pointXOffset=a.offset;e.inverted&&(o-=.5),i.pointPadding&&(l=ht(l)),xe.prototype.translate.apply(t),Wt(t.points,(function(i){var n,a=ct(Qt(i.yBottom,o),9e4),d=999+dt(a),p=(d=ct(lt(-d,i.plotY),s.len+d),i.plotX+c),u=l,f=ct(d,a),g=lt(d,a)-f;dt(g)<r&&r&&(g=r,n=!s.reversed&&!i.negative||s.reversed&&i.negative,f=dt(f-o)>r?a-r:o-(n?r:0)),i.barX=p,i.pointWidth=h,i.tooltipPos=e.inverted?[s.len+s.pos-e.plotLeft-d,t.xAxis.len-p-u/2,g]:[p+u/2,d+s.pos-e.plotTop,g],i.shapeType="rect",i.shapeArgs=t.crispCol(p,f,u,g)}))},getSymbol:Mt,drawLegendSymbol:ne.drawRectangle,drawGraph:Mt,drawPoints:function(){var t,e,i=this,s=this.chart,o=i.options,r=s.renderer,a=o.animationLimit||250;Wt(i.points,(function(l){var c,d=l.graphic;Jt(l.plotY)&&null!==l.y?(t=l.shapeArgs,c=h(i.borderWidth)?{"stroke-width":i.borderWidth}:{},e=l.pointAttr[l.selected?"select":""]||i.pointAttr[""],d?(Kt(d),d.attr(c).attr(e)[s.pointCount<a?"animate":"attr"](n(t))):l.graphic=r[l.shapeType](t).attr(c).attr(e).add(l.group||i.group).shadow(o.shadow,null,o.stacking&&!o.borderRadius)):d&&(l.graphic=d.destroy())}))},animate:function(t){var e=this,i=this.yAxis,n=e.options,s=this.chart.inverted,o={};At&&(t?(o.scaleY=.001,t=ct(i.pos+i.len,lt(i.pos,i.toPixels(n.threshold))),s?o.translateX=t-i.len:o.translateY=t,e.group.attr(o)):(o[s?"translateX":"translateY"]=i.pos,e.group.animate(o,qt(P(e.options.animation),{step:function(t,i){e.group.attr({scaleY:lt(.001,i.pos)})}})),e.animate=null))},remove:function(){var t=this,e=t.chart;e.hasRendered&&Wt(e.series,(function(e){e.type===t.type&&(e.isDirty=!0)})),xe.prototype.remove.apply(t,arguments)}}),Xt.column=ve,ee.bar=n(ee.column),Te=f(ve,{type:"bar",inverted:!0}),Xt.bar=Te,ee.scatter=n(ie,{lineWidth:0,marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 10px;"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}),Te=f(xe,{type:"scatter",sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1,kdDimensions:2,drawGraph:function(){this.options.lineWidth&&xe.prototype.drawGraph.call(this)}}),Xt.scatter=Te,ee.pie=n(ie,{borderColor:"#FFFFFF",borderWidth:1,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{distance:30,enabled:!0,formatter:function(){return null===this.y?void 0:this.point.name},x:0},ignoreHiddenPoint:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,states:{hover:{brightness:.1,shadow:!1}},stickyTracking:!1,tooltip:{followPointer:!0}}),ie={type:"pie",isCartesian:!1,pointClass:f(ye,{init:function(){ye.prototype.init.apply(this,arguments);var t,e=this;return e.name=Qt(e.name,"Slice"),t=function(t){e.slice("select"===t.type)},Vt(e,"select",t),Vt(e,"unselect",t),e},setVisible:function(t,e){var i=this,n=i.series,s=n.chart,o=n.options.ignoreHiddenPoint;e=Qt(e,o);t!==i.visible&&(i.visible=i.options.visible=t=t===z?!i.visible:t,n.options.data[Ht(i,n.data)]=i.options,Wt(["graphic","dataLabel","connector","shadowGroup"],(function(e){i[e]&&i[e][t?"show":"hide"](!0)})),i.legendItem&&s.legend.colorizeItem(i,t),!t&&"hover"===i.state&&i.setState(""),o&&(n.isDirty=!0),e&&s.redraw())},slice:function(t,e,i){var n=this.series;C(i,n.chart),Qt(e,!0),this.sliced=this.options.sliced=t=h(t)?t:!this.sliced,n.options.data[Ht(this,n.data)]=this.options,t=t?this.slicedTranslation:{translateX:0,translateY:0},this.graphic.animate(t),this.shadowGroup&&this.shadowGroup.animate(t)},haloPath:function(t){var e=this.shapeArgs,i=this.series.chart;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(i.plotLeft+e.x,i.plotTop+e.y,e.r+t,e.r+t,{innerR:this.shapeArgs.r,start:e.start,end:e.end})}}),requireSorting:!1,directTouch:!0,noSharedTooltip:!0,trackerGroups:["group","dataLabelsGroup"],axisTypes:[],pointAttrToOptions:{stroke:"borderColor","stroke-width":"borderWidth",fill:"color"},animate:function(t){var e=this,i=e.points,n=e.startAngleRad;t||(Wt(i,(function(t){var i=t.graphic,s=t.shapeArgs;i&&(i.attr({r:t.startR||e.center[3]/2,start:n,end:n}),i.animate({r:s.r,start:s.start,end:s.end},e.options.animation))})),e.animate=null)},updateTotals:function(){var t,e,i=0,n=this.points,s=n.length,o=this.options.ignoreHiddenPoint;for(t=0;t<s;t++)(e=n[t]).y<0&&(e.y=null),i+=o&&!e.visible?0:e.y;for(this.total=i,t=0;t<s;t++)(e=n[t]).percentage=i>0&&(e.visible||!o)?e.y/i*100:0,e.total=i},generatePoints:function(){xe.prototype.generatePoints.call(this),this.updateTotals()},translate:function(t){this.generatePoints();var e,i,n,s,o,r=0,a=(u=this.options).slicedOffset,h=a+u.borderWidth,l=u.startAngle||0,c=this.startAngleRad=ft/180*(l-90),d=(l=(this.endAngleRad=ft/180*(Qt(u.endAngle,l+360)-90))-c,this.points),p=u.dataLabels.distance,u=u.ignoreHiddenPoint,f=d.length;for(t||(this.center=t=this.getCenter()),this.getX=function(e,i){return n=ot.asin(ct((e-t[1])/(t[2]/2+p),1)),t[0]+(i?-1:1)*pt(n)*(t[2]/2+p)},s=0;s<f;s++)o=d[s],e=c+r*l,u&&!o.visible||(r+=o.percentage/100),i=c+r*l,o.shapeType="arc",o.shapeArgs={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:rt(1e3*e)/1e3,end:rt(1e3*i)/1e3},(n=(i+e)/2)>1.5*ft?n-=2*ft:n<-ft/2&&(n+=2*ft),o.slicedTranslation={translateX:rt(pt(n)*a),translateY:rt(ut(n)*a)},e=pt(n)*t[2]/2,i=ut(n)*t[2]/2,o.tooltipPos=[t[0]+.7*e,t[1]+.7*i],o.half=n<-ft/2||n>ft/2?1:0,o.angle=n,h=ct(h,p/2),o.labelPos=[t[0]+e+pt(n)*p,t[1]+i+ut(n)*p,t[0]+e+pt(n)*h,t[1]+i+ut(n)*h,t[0]+e,t[1]+i,p<0?"center":o.half?"right":"left",n]},drawGraph:null,drawPoints:function(){var t,e,i,n,s,o,r=this,a=r.chart.renderer,h=r.options.shadow;h&&!r.shadowGroup&&(r.shadowGroup=a.g("shadow").add(r.group)),Wt(r.points,(function(l){null!==l.y&&(e=l.graphic,s=l.shapeArgs,i=l.shadowGroup,(n=l.pointAttr[l.selected?"select":""]).stroke||(n.stroke=n.fill),h&&!i&&(i=l.shadowGroup=a.g("shadow").add(r.shadowGroup)),t=l.sliced?l.slicedTranslation:{translateX:0,translateY:0},i&&i.attr(t),e?e.setRadialReference(r.center).attr(n).animate(qt(s,t)):(o={"stroke-linejoin":"round"},l.visible||(o.visibility="hidden"),l.graphic=e=a[l.shapeType](s).setRadialReference(r.center).attr(n).attr(o).attr(t).add(r.group).shadow(h,i)))}))},searchPoint:Mt,sortByAngle:function(t,e){t.sort((function(t,i){return void 0!==t.angle&&(i.angle-t.angle)*e}))},drawLegendSymbol:ne.drawRectangle,getCenter:re.getCenter,getSymbol:Mt},ie=f(xe,ie),Xt.pie=ie,xe.prototype.drawDataLabels=function(){var t,e,i,s,o=this,r=o.options,a=r.cursor,l=r.dataLabels,c=o.points,d=o.hasRendered||0,p=Qt(l.defer,!0),u=o.chart.renderer;(l.enabled||o._hasPointLabels)&&(o.dlProcessOptions&&o.dlProcessOptions(l),s=o.plotGroup("dataLabelsGroup","data-labels",p&&!d?"hidden":"visible",l.zIndex||6),p&&(s.attr({opacity:+d}),d||Vt(o,"afterAnimate",(function(){o.visible&&s.show(!0),s[r.animation?"animate":"attr"]({opacity:1},{duration:200})}))),e=l,Wt(c,(function(c){var d,p,f,g,m=c.dataLabel,x=c.connector,v=!0,b={};if(t=c.dlOptions||c.options&&c.options.dataLabels,d=Qt(t&&t.enabled,e.enabled)&&null!==c.y,m&&!d)c.dataLabel=m.destroy();else if(d){if(g=(l=n(e,t)).style,d=l.rotation,p=c.getLabelConfig(),i=l.format?y(l.format,p):l.formatter.call(p,l),g.color=Qt(l.color,g.color,o.color,"black"),m)h(i)?(m.attr({text:i}),v=!1):(c.dataLabel=m=m.destroy(),x&&(c.connector=x.destroy()));else if(h(i)){for(f in m={fill:l.backgroundColor,stroke:l.borderColor,"stroke-width":l.borderWidth,r:l.borderRadius||0,rotation:d,padding:l.padding,zIndex:1},"contrast"===g.color&&(b.color=l.inside||l.distance<0||r.stacking?u.getContrast(c.color||o.color):"#000000"),a&&(b.cursor=a),m)m[f]===z&&delete m[f];m=c.dataLabel=u[d?"text":"label"](i,0,-9999,l.shape,null,null,l.useHTML).attr(m).css(qt(g,b)).add(s).shadow(l.shadow)}
m&&o.alignDataLabel(c,m,l,null,v)}})))},xe.prototype.alignDataLabel=function(t,e,i,n,s){var o=this.chart,r=o.inverted,a=Qt(t.plotX,-9999),h=Qt(t.plotY,-9999),l=e.getBBox(),c=o.renderer.fontMetrics(i.style.fontSize).b,d=i.rotation,p=i.align,u=this.visible&&(t.series.forceDL||o.isInsidePlot(a,rt(h),r)||n&&o.isInsidePlot(a,r?n.x+1:n.y+n.height-1,r)),f="justify"===Qt(i.overflow,"justify");u&&(n=qt({x:r?o.plotWidth-h:a,y:rt(r?o.plotHeight-a:h),width:0,height:0},n),qt(i,{width:l.width,height:l.height}),d?(f=!1,r=o.renderer.rotCorr(c,d),r={x:n.x+i.x+n.width/2+r.x,y:n.y+i.y+{top:0,middle:.5,bottom:1}[i.verticalAlign]*n.height},e[s?"attr":"animate"](r).attr({align:p}),a=(a=(d+720)%360)>180&&a<360,"left"===p?r.y-=a?l.height:0:"center"===p?(r.x-=l.width/2,r.y-=l.height/2):"right"===p&&(r.x-=l.width,r.y-=a?0:l.height)):(e.align(i,null,n),r=e.alignAttr),f?this.justifyDataLabel(e,i,r,l,n,s):Qt(i.crop,!0)&&(u=o.isInsidePlot(r.x,r.y)&&o.isInsidePlot(r.x+l.width,r.y+l.height)),i.shape&&!d&&e.attr({anchorX:t.plotX,anchorY:t.plotY})),u||(Kt(e),e.attr({y:-9999}),e.placed=!1)},xe.prototype.justifyDataLabel=function(t,e,i,n,s,o){var r,a,h=this.chart,l=e.align,c=e.verticalAlign,d=t.box?0:t.padding||0;(r=i.x+d)<0&&("right"===l?e.align="left":e.x=-r,a=!0),(r=i.x+n.width-d)>h.plotWidth&&("left"===l?e.align="right":e.x=h.plotWidth-r,a=!0),(r=i.y+d)<0&&("bottom"===c?e.verticalAlign="top":e.y=-r,a=!0),(r=i.y+n.height-d)>h.plotHeight&&("top"===c?e.verticalAlign="bottom":e.y=h.plotHeight-r,a=!0),a&&(t.placed=!o,t.align(e,null,s))},Xt.pie&&(Xt.pie.prototype.drawDataLabels=function(){var t,e,i,n,s,o,r,a,h,l,c,d=this,p=d.data,u=d.chart,f=d.options.dataLabels,g=Qt(f.connectorPadding,10),m=Qt(f.connectorWidth,1),y=u.plotWidth,x=u.plotHeight,v=Qt(f.softConnector,!0),b=f.distance,k=d.center,S=k[2]/2,A=k[1],T=b>0,C=[[],[]],P=[0,0,0,0],L=function(t,e){return e.y-t.y};if(d.visible&&(f.enabled||d._hasPointLabels)){for(xe.prototype.drawDataLabels.apply(d),Wt(p,(function(t){t.dataLabel&&t.visible&&(C[t.half].push(t),t.dataLabel._pos=null)})),l=2;l--;){var M,I=[],O=[],D=C[l],z=D.length;if(z){for(d.sortByAngle(D,l-.5),c=p=0;!p&&D[c];)p=D[c]&&D[c].dataLabel&&(D[c].dataLabel.getBBox().height||21),c++;if(b>0){for(s=ct(A+S+b,u.plotHeight),c=lt(0,A-S-b);c<=s;c+=p)I.push(c);if(z>(s=I.length)){for((t=[].concat(D)).sort(L),c=z;c--;)t[c].rank=c;for(c=z;c--;)D[c].rank>=s&&D.splice(c,1);z=D.length}
for(c=0;c<z;c++){var R,B;for(t=D[c],o=t.labelPos,t=9999,B=0;B<s;B++)(R=dt(I[B]-o[1]))<t&&(t=R,M=B);if(M<c&&null!==I[c])M=c;else for(s<z-c+M&&null!==I[c]&&(M=s-z+c);null===I[M];)M++;O.push({i:M,y:I[M]}),I[M]=null}
O.sort(L)}
for(c=0;c<z;c++)t=D[c],o=t.labelPos,n=t.dataLabel,h=!1===t.visible?"hidden":"inherit",t=o[1],b>0?(M=(s=O.pop()).i,(t>(a=s.y)&&null!==I[M+1]||t<a&&null!==I[M-1])&&(a=ct(lt(0,t),u.plotHeight))):a=t,r=f.justify?k[0]+(l?-1:1)*(S+b):d.getX(a===A-S-b||a===A+S+b?t:a,l),n._attr={visibility:h,align:o[6]},n._pos={x:r+f.x+({left:g,right:-g}[o[6]]||0),y:a+f.y-10},n.connX=r,n.connY=a,null===this.options.size&&(s=n.width,r-s<g?P[3]=lt(rt(s-r+g),P[3]):r+s>y-g&&(P[1]=lt(rt(r+s-y+g),P[1])),a-p/2<0?P[0]=lt(rt(p/2-a),P[0]):a+p/2>x&&(P[2]=lt(rt(a+p/2-x),P[2])))}}(0===w(P)||this.verifyDataLabelOverflow(P))&&(this.placeDataLabels(),T&&m&&Wt(this.points,(function(t){e=t.connector,o=t.labelPos,(n=t.dataLabel)&&n._pos&&t.visible?(h=n._attr.visibility,r=n.connX,a=n.connY,i=v?[zt,r+("left"===o[6]?5:-5),a,"C",r,a,2*o[2]-o[4],2*o[3]-o[5],o[2],o[3],Rt,o[4],o[5]]:[zt,r+("left"===o[6]?5:-5),a,Rt,o[2],o[3],Rt,o[4],o[5]],e?(e.animate({d:i}),e.attr("visibility",h)):t.connector=e=d.chart.renderer.path(i).attr({"stroke-width":m,stroke:f.connectorColor||t.color||"#606060",visibility:h}).add(d.dataLabelsGroup)):e&&(t.connector=e.destroy())})))}},Xt.pie.prototype.placeDataLabels=function(){Wt(this.points,(function(t){var e=t.dataLabel;e&&t.visible&&((t=e._pos)?(e.attr(e._attr),e[e.moved?"animate":"attr"](t),e.moved=!0):e&&e.attr({y:-9999}))}))},Xt.pie.prototype.alignDataLabel=Mt,Xt.pie.prototype.verifyDataLabelOverflow=function(t){var e,i=this.center,n=this.options,s=n.center,o=n.minSize||80,r=o;return null!==s[0]?r=lt(i[2]-lt(t[1],t[3]),o):(r=lt(i[2]-t[1]-t[3],o),i[0]+=(t[3]-t[1])/2),null!==s[1]?r=lt(ct(r,i[2]-lt(t[0],t[2])),o):(r=lt(ct(r,i[2]-t[0]-t[2]),o),i[1]+=(t[0]-t[2])/2),r<i[2]?(i[2]=r,i[3]=Math.min(/%$/.test(n.innerSize||0)?r*parseFloat(n.innerSize||0)/100:parseFloat(n.innerSize||0),r),this.translate(i),this.drawDataLabels&&this.drawDataLabels()):e=!0,e}),Xt.column&&(Xt.column.prototype.alignDataLabel=function(t,e,i,s,o){var r=this.chart.inverted,a=t.series,h=t.dlBox||t.shapeArgs,l=Qt(t.below,t.plotY>Qt(this.translatedThreshold,a.yAxis.len)),c=Qt(i.inside,!!this.options.stacking);h&&((s=n(h)).y<0&&(s.height+=s.y,s.y=0),(h=s.y+s.height-a.yAxis.len)>0&&(s.height-=h),r&&(s={x:a.yAxis.len-s.y-s.height,y:a.xAxis.len-s.x-s.width,width:s.height,height:s.width}),c||(r?(s.x+=l?0:s.width,s.width=0):(s.y+=l?s.height:0,s.height=0))),i.align=Qt(i.align,!r||c?"center":l?"right":"left"),i.verticalAlign=Qt(i.verticalAlign,r||c?"middle":l?"top":"bottom"),xe.prototype.alignDataLabel.call(this,t,e,i,s,o)}),ke=(be=nt).Chart,we=be.each,Se=be.pick,Ae=be.addEvent,ke.prototype.callbacks.push((function(t){function e(){var e=[];we(t.series,(function(t){var i=t.options.dataLabels,n=t.dataLabelCollections||["dataLabel"];(i.enabled||t._hasPointLabels)&&!i.allowOverlap&&t.visible&&we(n,(function(i){we(t.points,(function(t){t[i]&&(t[i].labelrank=Se(t.labelrank,t.shapeArgs&&t.shapeArgs.height),e.push(t[i]))}))}))})),t.hideOverlappingLabels(e)}
e(),Ae(t,"redraw",e)})),ke.prototype.hideOverlappingLabels=function(t){var e,i,n,s,o,r,a,h,l,c=t.length;for(i=0;i<c;i++)(e=t[i])&&(e.oldOpacity=e.opacity,e.newOpacity=1);for(t.sort((function(t,e){return(e.labelrank||0)-(t.labelrank||0)})),i=0;i<c;i++)for(n=t[i],e=i+1;e<c;++e)s=t[e],n&&s&&n.placed&&s.placed&&0!==n.newOpacity&&0!==s.newOpacity&&(o=n.alignAttr,r=s.alignAttr,a=n.parentGroup,h=s.parentGroup,l=2*(n.box?0:n.padding),o=!(r.x+h.translateX>o.x+a.translateX+(n.width-l)||r.x+h.translateX+(s.width-l)<o.x+a.translateX||r.y+h.translateY>o.y+a.translateY+(n.height-l)||r.y+h.translateY+(s.height-l)<o.y+a.translateY))&&((n.labelrank<s.labelrank?n:s).newOpacity=0);we(t,(function(t){var e,i;t&&(i=t.newOpacity,t.oldOpacity!==i&&t.placed&&(i?t.show(!0):e=function(){t.hide()},t.alignAttr.opacity=i,t[t.isOld?"animate":"attr"](t.alignAttr,null,e)),t.isOld=!0)}))},ie=nt.TrackerMixin={drawTrackerPoint:function(){var t=this,e=t.chart,i=e.pointer,n=t.options.cursor,s=n&&{cursor:n},o=function(t){for(var i,n=t.target;n&&!i;)i=n.point,n=n.parentNode;i!==z&&i!==e.hoverPoint&&i.onMouseOver(t)};Wt(t.points,(function(t){t.graphic&&(t.graphic.element.point=t),t.dataLabel&&(t.dataLabel.element.point=t)})),t._hasTracking||(Wt(t.trackerGroups,(function(e){t[e]&&(t[e].addClass("highcharts-tracker").on("mouseover",o).on("mouseout",(function(t){i.onTrackerMouseOut(t)})).css(s),B)&&t[e].on("touchstart",o)})),t._hasTracking=!0)},drawTrackerGraph:function(){var t=this,e=t.options,i=e.trackByArea,n=[].concat(i?t.areaPath:t.graphPath),s=n.length,o=t.chart,r=o.pointer,a=o.renderer,h=o.options.tooltip.snap,l=t.tracker,c=e.cursor,d=c&&{cursor:c},p=function(){o.hoverSeries!==t&&t.onMouseOver()},u="rgba(192,192,192,"+(At?1e-4:.002)+")";if(s&&!i)for(c=s+1;c--;)n[c]===zt&&n.splice(c+1,0,n[c+1]-h,n[c+2],Rt),(c&&n[c]===zt||c===s)&&n.splice(c,0,Rt,n[c-2]+h,n[c-1]);l?l.attr({d:n}):(t.tracker=a.path(n).attr({"stroke-linejoin":"round",visibility:t.visible?"visible":"hidden",stroke:u,fill:i?u:"none","stroke-width":e.lineWidth+(i?0:2*h),zIndex:2}).add(t.group),Wt([t.tracker,t.markerGroup],(function(t){t.addClass("highcharts-tracker").on("mouseover",p).on("mouseout",(function(t){r.onTrackerMouseOut(t)})).css(d),B&&t.on("touchstart",p)})))}},Xt.column&&(ve.prototype.drawTracker=ie.drawTrackerPoint),Xt.pie&&(Xt.pie.prototype.drawTracker=ie.drawTrackerPoint),Xt.scatter&&(Te.prototype.drawTracker=ie.drawTrackerPoint),qt(ge.prototype,{setItemEvents:function(t,e,i,n,s){var o=this;(i?e:t.legendGroup).on("mouseover",(function(){t.setState("hover"),e.css(o.options.itemHoverStyle)})).on("mouseout",(function(){e.css(t.visible?n:s),t.setState()})).on("click",(function(e){var i=function(){t.setVisible&&t.setVisible()};e={browserEvent:e};t.firePointEvent?t.firePointEvent("legendItemClick",e,i):_t(t,"legendItemClick",e,i)}))},createCheckboxForItem:function(t){t.checkbox=u("input",{type:"checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),Vt(t.checkbox,"click",(function(e){_t(t.series||t,"checkboxClick",{checked:e.target.checked,item:t},(function(){t.select()}))}))}}),X.legend.itemStyle.cursor="pointer",qt(me.prototype,{showResetZoom:function(){var t=this,e=X.lang,i=t.options.chart.resetZoomButton,n=i.theme,s=n.states,o="chart"===i.relativeTo?null:"plotBox";this.resetZoomButton=t.renderer.button(e.resetZoom,null,null,(function(){t.zoomOut()}),n,s&&s.hover).attr({align:i.position.align,title:e.resetZoomTitle}).add().align(i.position,!1,o)},zoomOut:function(){var t=this;_t(t,"selection",{resetSelection:!0},(function(){t.zoom()}))},zoom:function(t){var e,i,n=this.pointer,s=!1;!t||t.resetSelection?Wt(this.axes,(function(t){e=t.zoom()})):Wt(t.xAxis.concat(t.yAxis),(function(t){var i=t.axis,o=i.isXAxis;(n[o?"zoomX":"zoomY"]||n[o?"pinchX":"pinchY"])&&(e=i.zoom(t.min,t.max),i.displayBtn&&(s=!0))})),i=this.resetZoomButton,s&&!i?this.showResetZoom():!s&&$t(i)&&(this.resetZoomButton=i.destroy()),e&&this.redraw(Qt(this.options.chart.animation,t&&t.animation,this.pointCount<100))},pan:function(t,e){var i,n=this,s=n.hoverPoints;s&&Wt(s,(function(t){t.setState()})),Wt("xy"===e?[1,0]:[1],(function(e){var s=(e=n[e?"xAxis":"yAxis"][0]).horiz,o=t[s?"chartX":"chartY"],r=n[s=s?"mouseDownX":"mouseDownY"],a=(e.pointRange||0)/2,h=e.getExtremes(),l=e.toValue(r-o,!0)+a;a=e.toValue(r+e.len-o,!0)-a,r=r>o;e.series.length&&(r||l>ct(h.dataMin,h.min))&&(!r||a<lt(h.dataMax,h.max))&&(e.setExtremes(l,a,!1,!1,{trigger:"pan"}),i=!0),n[s]=o})),i&&n.redraw(!1),p(n.container,{cursor:"move"})}}),qt(ye.prototype,{select:function(t,e){var i=this,n=i.series,s=n.chart;t=Qt(t,!i.selected);i.firePointEvent(t?"select":"unselect",{accumulate:e},(function(){i.selected=i.options.selected=t,n.options.data[Ht(i,n.data)]=i.options,i.setState(t&&"select"),e||Wt(s.getSelectedPoints(),(function(t){t.selected&&t!==i&&(t.selected=t.options.selected=!1,n.options.data[Ht(t,n.data)]=t.options,t.setState(""),t.firePointEvent("unselect"))}))}))},onMouseOver:function(t,e){var i=this.series,n=i.chart,s=n.tooltip,o=n.hoverPoint;n.hoverSeries!==i&&i.onMouseOver(),o&&o!==this&&o.onMouseOut(),this.series&&(this.firePointEvent("mouseOver"),s&&(!s.shared||i.noSharedTooltip)&&s.refresh(this,t),this.setState("hover"),!e)&&(n.hoverPoint=this)},onMouseOut:function(){var t=this.series.chart,e=t.hoverPoints;this.firePointEvent("mouseOut"),e&&-1!==Ht(this,e)||(this.setState(),t.hoverPoint=null)},importEvents:function(){if(!this.hasImportedEvents){var t,e=n(this.series.options.point,this.options).events;for(t in this.events=e,e)Vt(this,t,e[t]);this.hasImportedEvents=!0}},setState:function(t,e){var i,s=at(this.plotX),o=this.plotY,r=this.series,a=r.options.states,h=ee[r.type].marker&&r.options.marker,l=h&&!h.enabled,c=h&&h.states[t],d=c&&!1===c.enabled,p=r.stateMarkerGraphic,u=this.marker||{},f=r.chart,g=r.halo;t=t||"";i=this.pointAttr[t]||r.pointAttr[t],t===this.state&&!e||this.selected&&"select"!==t||a[t]&&!1===a[t].enabled||t&&(d||l&&!1===c.enabled)||t&&u.states&&u.states[t]&&!1===u.states[t].enabled||(this.graphic?(h=h&&this.graphic.symbolName&&i.r,this.graphic.attr(n(i,h?{x:s-h,y:o-h,width:2*h,height:2*h}:{})),p&&p.hide()):(t&&c&&(h=c.radius,u=u.symbol||r.symbol,p&&p.currentSymbol!==u&&(p=p.destroy()),p?p[e?"animate":"attr"]({x:s-h,y:o-h}):u&&(r.stateMarkerGraphic=p=f.renderer.symbol(u,s-h,o-h,2*h,2*h).attr(i).add(r.markerGroup),p.currentSymbol=u)),p&&(p[t&&f.isInsidePlot(s,o,f.inverted)?"show":"hide"](),p.element.point=this)),(s=a[t]&&a[t].halo)&&s.size?(g||(r.halo=g=f.renderer.path().add(f.seriesGroup)),g.attr(qt({fill:this.color||r.color,"fill-opacity":s.opacity,zIndex:-1},s.attributes))[e?"animate":"attr"]({d:this.haloPath(s.size)})):g&&g.attr({d:[]}),this.state=t)},haloPath:function(t){var e=this.series,i=e.chart,n=e.getPlotBox(),s=i.inverted,o=Math.floor(this.plotX);return i.renderer.symbols.circle(n.translateX+(s?e.yAxis.len-this.plotY:o)-t,n.translateY+(s?e.xAxis.len-o:this.plotY)-t,2*t,2*t)}}),qt(xe.prototype,{onMouseOver:function(){var t=this.chart,e=t.hoverSeries;e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&_t(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},onMouseOut:function(){var t=this.options,e=this.chart,i=e.tooltip,n=e.hoverPoint;e.hoverSeries=null,n&&n.onMouseOut(),this&&t.events.mouseOut&&_t(this,"mouseOut"),i&&!t.stickyTracking&&(!i.shared||this.noSharedTooltip)&&i.hide(),this.setState()},setState:function(t){var e=this.options,i=this.graph,n=e.states,s=e.lineWidth;e=0,t=t||"";if(this.state!==t&&(this.state=t,(!n[t]||!1!==n[t].enabled)&&(t&&(s=n[t].lineWidth||s+(n[t].lineWidthPlus||0)),i&&!i.dashstyle)))for(t={"stroke-width":s},i.attr(t);this["zoneGraph"+e];)this["zoneGraph"+e].attr(t),e+=1},setVisible:function(t,e){var i,n=this,s=n.chart,o=n.legendItem,r=s.options.chart.ignoreHiddenSeries,a=n.visible;i=(n.visible=t=n.userOptions.visible=t===z?!a:t)?"show":"hide",Wt(["group","dataLabelsGroup","markerGroup","tracker"],(function(t){n[t]&&n[t][i]()})),s.hoverSeries!==n&&(s.hoverPoint&&s.hoverPoint.series)!==n||n.onMouseOut(),o&&s.legend.colorizeItem(n,t),n.isDirty=!0,n.options.stacking&&Wt(s.series,(function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)})),Wt(n.linkedSeries,(function(e){e.setVisible(t,!1)})),r&&(s.isDirtyBox=!0),!1!==e&&s.redraw(),_t(n,i)},show:function(){this.setVisible(!0)},hide:function(){this.setVisible(!1)},select:function(t){this.selected=t=t===z?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),_t(this,t?"select":"unselect")},drawTracker:ie.drawTrackerGraph}),qt(nt,{Color:M,Point:ye,Tick:O,Renderer:R,SVGElement:I,SVGRenderer:oe,arrayMin:k,arrayMax:w,charts:It,correctFloat:T,dateFormat:G,error:e,format:y,pathAnim:void 0,getOptions:function(){return X},hasBidiBug:Tt,isTouchDevice:wt,setOptions:function(t){return X=n(!0,X,t),L(),X},addEvent:Vt,removeEvent:jt,createElement:u,discardElement:A,css:p,each:Wt,map:Nt,merge:n,splat:c,stableSort:b,extendClass:f,pInt:s,svg:At,canvas:Ct,vml:!At&&!Ct,product:"Highcharts",version:"4.2.6"}),nt}));!function(i){var s=function(t,n){this.element=t,this.element.hasClass("flipTimer")||this.element.addClass("flipTimer"),this.userOptions=n,this.defaultOptions=s.defaults,this.options=i.extend({},this.defaultOptions,this.userOptions),this.element.find(".seconds").length>0&&(this.options.seconds=this.element.find(".seconds")[0]),this.element.find(".minutes").length>0&&(this.options.minutes=this.element.find(".minutes")[0]),this.element.find(".hours").length>0&&(this.options.hours=this.element.find(".hours")[0]),this.element.find(".days").length>0&&(this.options.days=this.element.find(".days")[0]),this.initDate=new Date,this.options.date=new Date(this.options.date),this.calculateDate()};s.defaults={seconds:!1,minutes:!1,hours:!1,days:!1,date:(new Date).toDateString(),direction:"up",callback:null,digitTemplate:'<div class="digit">  <div class="digit-top">    <span class="digit-wrap"></span>  </div>  <div class="shadow-top"></div>  <div class="digit-bottom">    <span class="digit-wrap"></span>  </div>  <div class="shadow-bottom"></div></div>'},s.prototype={calculateDate:function(){var i;"down"==this.options.direction?i=this.options.date-this.initDate:"up"==this.options.direction&&(i=this.initDate-this.options.date),this.seconds=Math.floor(i/1e3)%60,this.minutes=Math.floor(i/1e3/60)%60,this.hours=Math.floor(i/1e3/3600)%24,this.days=Math.floor(i/1e3/60/60/24),this.render()},render:function(){this.options.seconds&&this.renderDigits(this.options.seconds,this.seconds),this.options.minutes&&this.renderDigits(this.options.minutes,this.minutes),this.options.hours&&this.renderDigits(this.options.hours,this.hours),this.options.days&&this.renderDigits(this.options.days,this.days),this.startTimer()},renderDigits:function(s,t){var n,e,o,d,a,h,r=this;0==i(s).find(".digit").length&&(h=r.days<0&&r.hours<0&&r.minutes<0&&r.seconds<0||r.days>99?[0,0]:String((t/10).toFixed(1)).split("."),d=s==r.options.seconds||s==r.options.minutes?5:s==r.options.hours?2:9,i(s).append('<div class="digit-set"></div><div class="digit-set"></div>'),i(s).find(".digit-set").each((function(s){for(o=0==s?d:9,n=0;n<=o;n++)i(this).append(r.options.digitTemplate),e="down"==r.options.direction?o-n:n,a=i(this).find(".digit")[n],i(a).find(".digit-wrap").append(e),e==h[s]?i(a).addClass("active"):(0!=h[s]&&e+1==h[s]||0==h[s]&&e==o)&&i(a).addClass("previous")})))},startTimer:function(){var i=this;clearInterval(this.timer),this.timer=setInterval((function(){if(i.days<=0&&i.hours<=0&&i.minutes<=0&&i.seconds<=0)return i.options.callback&&i.options.callback(),void clearInterval(i.timer);i.days>99||99==i.days&&23==i.hours&&59==i.minutes&&59==i.seconds?clearInterval(i.timer):("down"==i.options.direction?i.seconds--:i.seconds++,i.options.seconds&&i.increaseDigit(i.options.seconds),60!=i.seconds&&-1!=i.seconds||("down"==i.options.direction?(i.seconds=59,i.minutes--):(i.seconds=0,i.minutes++),i.options.minutes&&i.increaseDigit(i.options.minutes)),60!=i.minutes&&-1!=i.minutes||("down"==i.options.direction?(i.minutes=59,i.hours--):(i.minutes=0,i.hours++),i.options.hours&&i.increaseDigit(i.options.hours)),24!=i.hours&&-1!=i.hours||("down"==i.options.direction?(i.hours=23,i.days--):(i.hours=0,i.days++),i.options.days&&i.increaseDigit(i.options.days)))}),1e3)},increaseDigit:function(s){var t=new Array,n=this;i(s).find(".digit-set").each((function(){t.push(this)})),function e(o){var d=i(o).find(".active"),a=i(o).find(".previous"),h=i.inArray(o,t);a.removeClass("previous"),d.removeClass("active").addClass("previous"),0==d.next().length?("down"!=n.options.direction||s!=n.options.hours||-1!=n.hours&&23!=n.hours||10!=i(o).find(".digit").length?i(o).find(".digit:first-child").addClass("active"):i(i(o).find(".digit")[6]).addClass("active"),0!=h&&e(t[h-1])):"up"==n.options.direction&&s==n.options.hours&&24==n.hours?(i(o).find(".digit:first-child").addClass("active"),e(t[h-1])):d.next().addClass("active")}(t[t.length-1])}},i.fn.flipTimer=function(t){return this.each((function(){i(this).data("flipTimer")||i(this).data("flipTimer",new s(i(this),t))}))}}(jQuery);!function(a,b,c,d){function e(b,c){this.settings=null,this.options=a.extend({},e.Defaults,c),this.$element=a(b),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},a.each(["onResize","onThrottledResize"],a.proxy(function(b,c){this._handlers[c]=a.proxy(this[c],this)},this)),a.each(e.Plugins,a.proxy(function(a,b){this._plugins[a.charAt(0).toLowerCase()+a.slice(1)]=new b(this)},this)),a.each(e.Workers,a.proxy(function(b,c){this._pipe.push({filter:c.filter,run:a.proxy(c.run,this)})},this)),this.setup(),this.initialize()}
e.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:b,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},e.Width={Default:"default",Inner:"inner",Outer:"outer"},e.Type={Event:"event",State:"state"},e.Plugins={},e.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(a){a.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(a){var b=this.settings.margin||"",c=!this.settings.autoWidth,d=this.settings.rtl,e={width:"auto","margin-left":d?b:"","margin-right":d?"":b};!c&&this.$stage.children().css(e),a.css=e}},{filter:["width","items","settings"],run:function(a){var b=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,c=null,d=this._items.length,e=!this.settings.autoWidth,f=[];for(a.items={merge:!1,width:b};d--;)c=this._mergers[d],c=this.settings.mergeFit&&Math.min(c,this.settings.items)||c,a.items.merge=c>1||a.items.merge,f[d]=e?b*c:this._items[d].width();this._widths=f}},{filter:["items","settings"],run:function(){var b=[],c=this._items,d=this.settings,e=Math.max(2*d.items,4),f=2*Math.ceil(c.length/2),g=d.loop&&c.length?d.rewind?e:Math.max(e,f):0,h="",i="";for(g/=2;g>0;)b.push(this.normalize(b.length/2,!0)),h+=c[b[b.length-1]][0].outerHTML,b.push(this.normalize(c.length-1-(b.length-1)/2,!0)),i=c[b[b.length-1]][0].outerHTML+i,g-=1;this._clones=b,a(h).addClass("cloned").appendTo(this.$stage),a(i).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var a=this.settings.rtl?1:-1,b=this._clones.length+this._items.length,c=-1,d=0,e=0,f=[];++c<b;)d=f[c-1]||0,e=this._widths[this.relative(c)]+this.settings.margin,f.push(d+e*a);this._coordinates=f}},{filter:["width","items","settings"],run:function(){var a=this.settings.stagePadding,b=this._coordinates,c={width:Math.ceil(Math.abs(b[b.length-1]))+2*a,"padding-left":a||"","padding-right":a||""};this.$stage.css(c)}},{filter:["width","items","settings"],run:function(a){var b=this._coordinates.length,c=!this.settings.autoWidth,d=this.$stage.children();if(c&&a.items.merge)for(;b--;)a.css.width=this._widths[this.relative(b)],d.eq(b).css(a.css);else c&&(a.css.width=a.items.width,d.css(a.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(a){a.current=a.current?this.$stage.children().index(a.current):0,a.current=Math.max(this.minimum(),Math.min(this.maximum(),a.current)),this.reset(a.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var a,b,c,d,e=this.settings.rtl?1:-1,f=2*this.settings.stagePadding,g=this.coordinates(this.current())+f,h=g+this.width()*e,i=[];for(c=0,d=this._coordinates.length;c<d;c++)a=this._coordinates[c-1]||0,b=Math.abs(this._coordinates[c])+f*e,(this.op(a,"<=",g)&&this.op(a,">",h)||this.op(b,"<",g)&&this.op(b,">",h))&&i.push(c);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+i.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],e.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=a("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(a("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},e.prototype.initializeItems=function(){var b=this.$element.find(".owl-item");if(b.length)return this._items=b.get().map(function(b){return a(b)}),this._mergers=this._items.map(function(){return 1}),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},e.prototype.initialize=function(){if(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")){var a,b,c;a=this.$element.find("img"),b=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:d,c=this.$element.children(b).width(),a.length&&c<=0&&this.preloadAutoWidthImages(a)}
this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},e.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},e.prototype.setup=function(){var b=this.viewport(),c=this.options.responsive,d=-1,e=null;c?(a.each(c,function(a){a<=b&&a>d&&(d=Number(a))}),e=a.extend({},this.options,c[d]),"function"==typeof e.stagePadding&&(e.stagePadding=e.stagePadding()),delete e.responsive,e.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+d))):e=a.extend({},this.options),this.trigger("change",{property:{name:"settings",value:e}}),this._breakpoint=d,this.settings=e,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},e.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},e.prototype.prepare=function(b){var c=this.trigger("prepare",{content:b});return c.data||(c.data=a("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(b)),this.trigger("prepared",{content:c.data}),c.data},e.prototype.update=function(){for(var b=0,c=this._pipe.length,d=a.proxy(function(a){return this[a]},this._invalidated),e={};b<c;)(this._invalidated.all||a.grep(this._pipe[b].filter,d).length>0)&&this._pipe[b].run(e),b++;this._invalidated={},!this.is("valid")&&this.enter("valid")},e.prototype.width=function(a){switch(a=a||e.Width.Default){case e.Width.Inner:case e.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},e.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},e.prototype.onThrottledResize=function(){b.clearTimeout(this.resizeTimer),this.resizeTimer=b.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},e.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},e.prototype.registerEventHandlers=function(){a.support.transition&&this.$stage.on(a.support.transition.end+".owl.core",a.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(b,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",a.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",a.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",a.proxy(this.onDragEnd,this)))},e.prototype.onDragStart=function(b){var d=null;3!==b.which&&(a.support.transform?(d=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","),d={x:d[16===d.length?12:4],y:d[16===d.length?13:5]}):(d=this.$stage.position(),d={x:this.settings.rtl?d.left+this.$stage.width()-this.width()+this.settings.margin:d.left,y:d.top}),this.is("animating")&&(a.support.transform?this.animate(d.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===b.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=a(b.target),this._drag.stage.start=d,this._drag.stage.current=d,this._drag.pointer=this.pointer(b),a(c).on("mouseup.owl.core touchend.owl.core",a.proxy(this.onDragEnd,this)),a(c).one("mousemove.owl.core touchmove.owl.core",a.proxy(function(b){var d=this.difference(this._drag.pointer,this.pointer(b));a(c).on("mousemove.owl.core touchmove.owl.core",a.proxy(this.onDragMove,this)),Math.abs(d.x)<Math.abs(d.y)&&this.is("valid")||(b.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},e.prototype.onDragMove=function(a){var b=null,c=null,d=null,e=this.difference(this._drag.pointer,this.pointer(a)),f=this.difference(this._drag.stage.start,e);this.is("dragging")&&(a.preventDefault(),this.settings.loop?(b=this.coordinates(this.minimum()),c=this.coordinates(this.maximum()+1)-b,f.x=((f.x-b)%c+c)%c+b):(b=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),c=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),d=this.settings.pullDrag?-1*e.x/5:0,f.x=Math.max(Math.min(f.x,b+d),c+d)),this._drag.stage.current=f,this.animate(f.x))},e.prototype.onDragEnd=function(b){var d=this.difference(this._drag.pointer,this.pointer(b)),e=this._drag.stage.current,f=d.x>0^this.settings.rtl?"left":"right";a(c).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==d.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(e.x,0!==d.x?f:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=f,(Math.abs(d.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},e.prototype.closest=function(b,c){var e=-1,f=30,g=this.width(),h=this.coordinates();return this.settings.freeDrag||a.each(h,a.proxy(function(a,i){return"left"===c&&b>i-f&&b<i+f?e=a:"right"===c&&b>i-g-f&&b<i-g+f?e=a+1:this.op(b,"<",i)&&this.op(b,">",h[a+1]!==d?h[a+1]:i-g)&&(e="left"===c?a+1:a),-1===e},this)),this.settings.loop||(this.op(b,">",h[this.minimum()])?e=b=this.minimum():this.op(b,"<",h[this.maximum()])&&(e=b=this.maximum())),e},e.prototype.animate=function(b){var c=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),c&&(this.enter("animating"),this.trigger("translate")),a.support.transform3d&&a.support.transition?this.$stage.css({transform:"translate3d("+b+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):c?this.$stage.animate({left:b+"px"},this.speed(),this.settings.fallbackEasing,a.proxy(this.onTransitionEnd,this)):this.$stage.css({left:b+"px"})},e.prototype.is=function(a){return this._states.current[a]&&this._states.current[a]>0},e.prototype.current=function(a){if(a===d)return this._current;if(0===this._items.length)return d;if(a=this.normalize(a),this._current!==a){var b=this.trigger("change",{property:{name:"position",value:a}});b.data!==d&&(a=this.normalize(b.data)),this._current=a,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}
return this._current},e.prototype.invalidate=function(b){return"string"===a.type(b)&&(this._invalidated[b]=!0,this.is("valid")&&this.leave("valid")),a.map(this._invalidated,function(a,b){return b})},e.prototype.reset=function(a){(a=this.normalize(a))!==d&&(this._speed=0,this._current=a,this.suppress(["translate","translated"]),this.animate(this.coordinates(a)),this.release(["translate","translated"]))},e.prototype.normalize=function(a,b){var c=this._items.length,e=b?0:this._clones.length;return!this.isNumeric(a)||c<1?a=d:(a<0||a>=c+e)&&(a=((a-e/2)%c+c)%c+e/2),a},e.prototype.relative=function(a){return a-=this._clones.length/2,this.normalize(a,!0)},e.prototype.maximum=function(a){var b,c,d,e=this.settings,f=this._coordinates.length;if(e.loop)f=this._clones.length/2+this._items.length-1;else if(e.autoWidth||e.merge){if(b=this._items.length)for(c=this._items[--b].width(),d=this.$element.width();b--&&!((c+=this._items[b].width()+this.settings.margin)>d););f=b+1}else f=e.center?this._items.length-1:this._items.length-e.items;return a&&(f-=this._clones.length/2),Math.max(f,0)},e.prototype.minimum=function(a){return a?0:this._clones.length/2},e.prototype.items=function(a){return a===d?this._items.slice():(a=this.normalize(a,!0),this._items[a])},e.prototype.mergers=function(a){return a===d?this._mergers.slice():(a=this.normalize(a,!0),this._mergers[a])},e.prototype.clones=function(b){var c=this._clones.length/2,e=c+this._items.length,f=function(a){return a%2==0?e+a/2:c-(a+1)/2};return b===d?a.map(this._clones,function(a,b){return f(b)}):a.map(this._clones,function(a,c){return a===b?f(c):null})},e.prototype.speed=function(a){return a!==d&&(this._speed=a),this._speed},e.prototype.coordinates=function(b){var c,e=1,f=b-1;return b===d?a.map(this._coordinates,a.proxy(function(a,b){return this.coordinates(b)},this)):(this.settings.center?(this.settings.rtl&&(e=-1,f=b+1),c=this._coordinates[b],c+=(this.width()-c+(this._coordinates[f]||0))/2*e):c=this._coordinates[f]||0,c=Math.ceil(c))},e.prototype.duration=function(a,b,c){return 0===c?0:Math.min(Math.max(Math.abs(b-a),1),6)*Math.abs(c||this.settings.smartSpeed)},e.prototype.to=function(a,b){var c=this.current(),d=null,e=a-this.relative(c),f=(e>0)-(e<0),g=this._items.length,h=this.minimum(),i=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(e)>g/2&&(e+=-1*f*g),a=c+e,(d=((a-h)%g+g)%g+h)!==a&&d-e<=i&&d-e>0&&(c=d-e,a=d,this.reset(c))):this.settings.rewind?(i+=1,a=(a%i+i)%i):a=Math.max(h,Math.min(i,a)),this.speed(this.duration(c,a,b)),this.current(a),this.isVisible()&&this.update()},e.prototype.next=function(a){a=a||!1,this.to(this.relative(this.current())+1,a)},e.prototype.prev=function(a){a=a||!1,this.to(this.relative(this.current())-1,a)},e.prototype.onTransitionEnd=function(a){if(a!==d&&(a.stopPropagation(),(a.target||a.srcElement||a.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},e.prototype.viewport=function(){var d;return this.options.responsiveBaseElement!==b?d=a(this.options.responsiveBaseElement).width():b.innerWidth?d=b.innerWidth:c.documentElement&&c.documentElement.clientWidth?d=c.documentElement.clientWidth:console.warn("Can not detect viewport width."),d},e.prototype.replace=function(b){this.$stage.empty(),this._items=[],b&&(b=b instanceof jQuery?b:a(b)),this.settings.nestedItemSelector&&(b=b.find("."+this.settings.nestedItemSelector)),b.filter(function(){return 1===this.nodeType}).each(a.proxy(function(a,b){b=this.prepare(b),this.$stage.append(b),this._items.push(b),this._mergers.push(1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},e.prototype.add=function(b,c){var e=this.relative(this._current);c=c===d?this._items.length:this.normalize(c,!0),b=b instanceof jQuery?b:a(b),this.trigger("add",{content:b,position:c}),b=this.prepare(b),0===this._items.length||c===this._items.length?(0===this._items.length&&this.$stage.append(b),0!==this._items.length&&this._items[c-1].after(b),this._items.push(b),this._mergers.push(1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[c].before(b),this._items.splice(c,0,b),this._mergers.splice(c,0,1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[e]&&this.reset(this._items[e].index()),this.invalidate("items"),this.trigger("added",{content:b,position:c})},e.prototype.remove=function(a){(a=this.normalize(a,!0))!==d&&(this.trigger("remove",{content:this._items[a],position:a}),this._items[a].remove(),this._items.splice(a,1),this._mergers.splice(a,1),this.invalidate("items"),this.trigger("removed",{content:null,position:a}))},e.prototype.preloadAutoWidthImages=function(b){b.each(a.proxy(function(b,c){this.enter("pre-loading"),c=a(c),a(new Image).one("load",a.proxy(function(a){c.attr("src",a.target.src),c.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",c.attr("src")||c.attr("data-src")||c.attr("data-src-retina"))},this))},e.prototype.destroy=function(){this.$element.off(".owl.core"),this.$stage.off(".owl.core"),a(c).off(".owl.core"),!1!==this.settings.responsive&&(b.clearTimeout(this.resizeTimer),this.off(b,"resize",this._handlers.onThrottledResize));for(var d in this._plugins)this._plugins[d].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},e.prototype.op=function(a,b,c){var d=this.settings.rtl;switch(b){case "<":return d?a>c:a<c;case ">":return d?a<c:a>c;case ">=":return d?a<=c:a>=c;case "<=":return d?a>=c:a<=c}},e.prototype.on=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d):a.attachEvent&&a.attachEvent("on"+b,c)},e.prototype.off=function(a,b,c,d){a.removeEventListener?a.removeEventListener(b,c,d):a.detachEvent&&a.detachEvent("on"+b,c)},e.prototype.trigger=function(b,c,d,f,g){var h={item:{count:this._items.length,index:this.current()}},i=a.camelCase(a.grep(["on",b,d],function(a){return a}).join("-").toLowerCase()),j=a.Event([b,"owl",d||"carousel"].join(".").toLowerCase(),a.extend({relatedTarget:this},h,c));return this._supress[b]||(a.each(this._plugins,function(a,b){b.onTrigger&&b.onTrigger(j)}),this.register({type:e.Type.Event,name:b}),this.$element.trigger(j),this.settings&&"function"==typeof this.settings[i]&&this.settings[i].call(this,j)),j},e.prototype.enter=function(b){a.each([b].concat(this._states.tags[b]||[]),a.proxy(function(a,b){this._states.current[b]===d&&(this._states.current[b]=0),this._states.current[b]++},this))},e.prototype.leave=function(b){a.each([b].concat(this._states.tags[b]||[]),a.proxy(function(a,b){this._states.current[b]--},this))},e.prototype.register=function(b){if(b.type===e.Type.Event){if(a.event.special[b.name]||(a.event.special[b.name]={}),!a.event.special[b.name].owl){var c=a.event.special[b.name]._default;a.event.special[b.name]._default=function(a){return!c||!c.apply||a.namespace&&-1!==a.namespace.indexOf("owl")?a.namespace&&a.namespace.indexOf("owl")>-1:c.apply(this,arguments)},a.event.special[b.name].owl=!0}}else b.type===e.Type.State&&(this._states.tags[b.name]?this._states.tags[b.name]=this._states.tags[b.name].concat(b.tags):this._states.tags[b.name]=b.tags,this._states.tags[b.name]=a.grep(this._states.tags[b.name],a.proxy(function(c,d){return a.inArray(c,this._states.tags[b.name])===d},this)))},e.prototype.suppress=function(b){a.each(b,a.proxy(function(a,b){this._supress[b]=!0},this))},e.prototype.release=function(b){a.each(b,a.proxy(function(a,b){delete this._supress[b]},this))},e.prototype.pointer=function(a){var c={x:null,y:null};return a=a.originalEvent||a||b.event,a=a.touches&&a.touches.length?a.touches[0]:a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:a,a.pageX?(c.x=a.pageX,c.y=a.pageY):(c.x=a.clientX,c.y=a.clientY),c},e.prototype.isNumeric=function(a){return!isNaN(parseFloat(a))},e.prototype.difference=function(a,b){return{x:a.x-b.x,y:a.y-b.y}},a.fn.owlCarousel=function(b){var c=Array.prototype.slice.call(arguments,1);return this.each(function(){var d=a(this),f=d.data("owl.carousel");f||(f=new e(this,"object"==typeof b&&b),d.data("owl.carousel",f),a.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(b,c){f.register({type:e.Type.Event,name:c}),f.$element.on(c+".owl.carousel.core",a.proxy(function(a){a.namespace&&a.relatedTarget!==this&&(this.suppress([c]),f[c].apply(this,[].slice.call(arguments,1)),this.release([c]))},f))})),"string"==typeof b&&"_"!==b.charAt(0)&&f[b].apply(f,c)})},a.fn.owlCarousel.Constructor=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={autoRefresh:!0,autoRefreshInterval:500},e.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=b.setInterval(a.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},e.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},e.prototype.destroy=function(){var a,c;b.clearInterval(this._interval);for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoRefresh=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":a.proxy(function(b){if(b.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(b.property&&"position"==b.property.name||"initialized"==b.type)){var c=this._core.settings,e=c.center&&Math.ceil(c.items/2)||c.items,f=c.center&&-1*e||0,g=(b.property&&b.property.value!==d?b.property.value:this._core.current())+f,h=this._core.clones().length,i=a.proxy(function(a,b){this.load(b)},this);for(c.lazyLoadEager>0&&(e+=c.lazyLoadEager,c.loop&&(g-=c.lazyLoadEager,e++));f++<e;)this.load(h/2+this._core.relative(g)),h&&a.each(this._core.clones(this._core.relative(g)),i),g++}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={lazyLoad:!1,lazyLoadEager:0},e.prototype.load=function(c){var d=this._core.$stage.children().eq(c),e=d&&d.find(".owl-lazy");!e||a.inArray(d.get(0),this._loaded)>-1||(e.each(a.proxy(function(c,d){var e,f=a(d),g=b.devicePixelRatio>1&&f.attr("data-src-retina")||f.attr("data-src")||f.attr("data-srcset");this._core.trigger("load",{element:f,url:g},"lazy"),f.is("img")?f.one("load.owl.lazy",a.proxy(function(){f.css("opacity",1),this._core.trigger("loaded",{element:f,url:g},"lazy")},this)).attr("src",g):f.is("source")?f.one("load.owl.lazy",a.proxy(function(){this._core.trigger("loaded",{element:f,url:g},"lazy")},this)).attr("srcset",g):(e=new Image,e.onload=a.proxy(function(){f.css({"background-image":'url("'+g+'")',opacity:"1"}),this._core.trigger("loaded",{element:f,url:g},"lazy")},this),e.src=g)},this)),this._loaded.push(d.get(0)))},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this._core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Lazy=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(c){this._core=c,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&"position"===a.property.name&&this.update()},this),"loaded.owl.lazy":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&a.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var d=this;a(b).on("load",function(){d._core.settings.autoHeight&&d.update()}),a(b).resize(function(){d._core.settings.autoHeight&&(null!=d._intervalId&&clearTimeout(d._intervalId),d._intervalId=setTimeout(function(){d.update()},250))})};e.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},e.prototype.update=function(){var b=this._core._current,c=b+this._core.settings.items,d=this._core.settings.lazyLoad,e=this._core.$stage.children().toArray().slice(b,c),f=[],g=0;a.each(e,function(b,c){f.push(a(c).height())}),g=Math.max.apply(null,f),g<=1&&d&&this._previousHeight&&(g=this._previousHeight),this._previousHeight=g,this._core.$stage.parent().height(g).addClass(this._core.settings.autoHeightClass)},e.prototype.destroy=function(){var a,b;for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoHeight=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.video&&this.isInFullScreen()&&a.preventDefault()},this),"refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&"position"===a.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":a.proxy(function(b){if(b.namespace){var c=a(b.content).find(".owl-video");c.length&&(c.css("display","none"),this.fetch(c,a(b.content)))}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",a.proxy(function(a){this.play(a)},this))};e.Defaults={video:!1,videoHeight:!1,videoWidth:!1},e.prototype.fetch=function(a,b){var c=function(){return a.attr("data-vimeo-id")?"vimeo":a.attr("data-vzaar-id")?"vzaar":"youtube"}(),d=a.attr("data-vimeo-id")||a.attr("data-youtube-id")||a.attr("data-vzaar-id"),e=a.attr("data-width")||this._core.settings.videoWidth,f=a.attr("data-height")||this._core.settings.videoHeight,g=a.attr("href");if(!g)throw new Error("Missing video URL.");if(d=g.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),d[3].indexOf("youtu")>-1)c="youtube";else if(d[3].indexOf("vimeo")>-1)c="vimeo";else{if(!(d[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");c="vzaar"}
d=d[6],this._videos[g]={type:c,id:d,width:e,height:f},b.attr("data-video",g),this.thumbnail(a,this._videos[g])},e.prototype.thumbnail=function(b,c){var d,e,f,g=c.width&&c.height?"width:"+c.width+"px;height:"+c.height+"px;":"",h=b.find("img"),i="src",j="",k=this._core.settings,l=function(c){e='<div class="owl-video-play-icon"></div>',d=k.lazyLoad?a("<div/>",{class:"owl-video-tn "+j,srcType:c}):a("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+c+")"}),b.after(d),b.after(e)};if(b.wrap(a("<div/>",{class:"owl-video-wrapper",style:g})),this._core.settings.lazyLoad&&(i="data-src",j="owl-lazy"),h.length)return l(h.attr(i)),h.remove(),!1;"youtube"===c.type?(f="//img.youtube.com/vi/"+c.id+"/hqdefault.jpg",l(f)):"vimeo"===c.type?a.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f=a[0].thumbnail_large,l(f)}}):"vzaar"===c.type&&a.ajax({type:"GET",url:"//vzaar.com/api/videos/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f=a.framegrab_url,l(f)}})},e.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},e.prototype.play=function(b){var c,d=a(b.target),e=d.closest("."+this._core.settings.itemClass),f=this._videos[e.attr("data-video")],g=f.width||"100%",h=f.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),e=this._core.items(this._core.relative(e.index())),this._core.reset(e.index()),c=a('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>'),c.attr("height",h),c.attr("width",g),"youtube"===f.type?c.attr("src","//www.youtube.com/embed/"+f.id+"?autoplay=1&rel=0&v="+f.id):"vimeo"===f.type?c.attr("src","//player.vimeo.com/video/"+f.id+"?autoplay=1"):"vzaar"===f.type&&c.attr("src","//view.vzaar.com/"+f.id+"/player?autoplay=true"),a(c).wrap('<div class="owl-video-frame" />').insertAfter(e.find(".owl-video")),this._playing=e.addClass("owl-video-playing"))},e.prototype.isInFullScreen=function(){var b=c.fullscreenElement||c.mozFullScreenElement||c.webkitFullscreenElement;return b&&a(b).parent().hasClass("owl-video-frame")},e.prototype.destroy=function(){var a,b;this._core.$element.off("click.owl.video");for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Video=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this.core=b,this.core.options=a.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=d,this.next=d,this.handlers={"change.owl.carousel":a.proxy(function(a){a.namespace&&"position"==a.property.name&&(this.previous=this.core.current(),this.next=a.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":a.proxy(function(a){a.namespace&&(this.swapping="translated"==a.type)},this),"translate.owl.carousel":a.proxy(function(a){a.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};e.Defaults={animateOut:!1,animateIn:!1},e.prototype.swap=function(){if(1===this.core.settings.items&&a.support.animation&&a.support.transition){this.core.speed(0);var b,c=a.proxy(this.clear,this),d=this.core.$stage.children().eq(this.previous),e=this.core.$stage.children().eq(this.next),f=this.core.settings.animateIn,g=this.core.settings.animateOut;this.core.current()!==this.previous&&(g&&(b=this.core.coordinates(this.previous)-this.core.coordinates(this.next),d.one(a.support.animation.end,c).css({left:b+"px"}).addClass("animated owl-animated-out").addClass(g)),f&&e.one(a.support.animation.end,c).addClass("animated owl-animated-in").addClass(f))}},e.prototype.clear=function(b){a(b.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this.core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":a.proxy(function(a){a.namespace&&"settings"===a.property.name?this._core.settings.autoplay?this.play():this.stop():a.namespace&&"position"===a.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":a.proxy(function(a,b,c){a.namespace&&this.play(b,c)},this),"stop.owl.autoplay":a.proxy(function(a){a.namespace&&this.stop()},this),"mouseover.owl.autoplay":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":a.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=a.extend({},e.Defaults,this._core.options)};e.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},e.prototype._next=function(d){this._call=b.setTimeout(a.proxy(this._next,this,d),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||c.hidden||this._core.next(d||this._core.settings.autoplaySpeed)},e.prototype.read=function(){return(new Date).getTime()-this._time},e.prototype.play=function(c,d){var e;this._core.is("rotating")||this._core.enter("rotating"),c=c||this._core.settings.autoplayTimeout,e=Math.min(this._time%(this._timeout||c),c),this._paused?(this._time=this.read(),this._paused=!1):b.clearTimeout(this._call),this._time+=this.read()%c-e,this._timeout=c,this._call=b.setTimeout(a.proxy(this._next,this,d),c-e)},e.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,b.clearTimeout(this._call),this._core.leave("rotating"))},e.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,b.clearTimeout(this._call))},e.prototype.destroy=function(){var a,b;this.stop();for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.autoplay=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){"use strict";var e=function(b){this._core=b,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":a.proxy(function(b){b.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+a(b.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,0,this._templates.pop())},this),"remove.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,1)},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&"position"==a.property.name&&this.draw()},this),"initialized.owl.carousel":a.proxy(function(a){a.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)};e.Defaults={nav:!1,navText:['<span aria-label="Previous">&#x2039;</span>','<span aria-label="Next">&#x203a;</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},e.prototype.initialize=function(){var b,c=this._core.settings;this._controls.$relative=(c.navContainer?a(c.navContainer):a("<div>").addClass(c.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=a("<"+c.navElement+">").addClass(c.navClass[0]).html(c.navText[0]).prependTo(this._controls.$relative).on("click",a.proxy(function(a){this.prev(c.navSpeed)},this)),this._controls.$next=a("<"+c.navElement+">").addClass(c.navClass[1]).html(c.navText[1]).appendTo(this._controls.$relative).on("click",a.proxy(function(a){this.next(c.navSpeed)},this)),c.dotsData||(this._templates=[a('<button role="button">').addClass(c.dotClass).append(a("<span>")).prop("outerHTML")]),this._controls.$absolute=(c.dotsContainer?a(c.dotsContainer):a("<div>").addClass(c.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",a.proxy(function(b){var d=a(b.target).parent().is(this._controls.$absolute)?a(b.target).index():a(b.target).parent().index();b.preventDefault(),this.to(d,c.dotsSpeed)},this));for(b in this._overrides)this._core[b]=a.proxy(this[b],this)},e.prototype.destroy=function(){var a,b,c,d,e;e=this._core.settings;for(a in this._handlers)this.$element.off(a,this._handlers[a]);for(b in this._controls)"$relative"===b&&e.navContainer?this._controls[b].html(""):this._controls[b].remove();for(d in this.overides)this._core[d]=this._overrides[d];for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},e.prototype.update=function(){var a,b,c,d=this._core.clones().length/2,e=d+this._core.items().length,f=this._core.maximum(!0),g=this._core.settings,h=g.center||g.autoWidth||g.dotsData?1:g.dotsEach||g.items;if("page"!==g.slideBy&&(g.slideBy=Math.min(g.slideBy,g.items)),g.dots||"page"==g.slideBy)for(this._pages=[],a=d,b=0,c=0;a<e;a++){if(b>=h||0===b){if(this._pages.push({start:Math.min(f,a-d),end:a-d+h-1}),Math.min(f,a-d)===f)break;b=0,++c}
b+=this._core.mergers(this._core.relative(a))}},e.prototype.draw=function(){var b,c=this._core.settings,d=this._core.items().length<=c.items,e=this._core.relative(this._core.current()),f=c.loop||c.rewind;this._controls.$relative.toggleClass("disabled",!c.nav||d),c.nav&&(this._controls.$previous.toggleClass("disabled",!f&&e<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!f&&e>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!c.dots||d),c.dots&&(b=this._pages.length-this._controls.$absolute.children().length,c.dotsData&&0!==b?this._controls.$absolute.html(this._templates.join("")):b>0?this._controls.$absolute.append(new Array(b+1).join(this._templates[0])):b<0&&this._controls.$absolute.children().slice(b).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(a.inArray(this.current(),this._pages)).addClass("active"))},e.prototype.onTrigger=function(b){var c=this._core.settings;b.page={index:a.inArray(this.current(),this._pages),count:this._pages.length,size:c&&(c.center||c.autoWidth||c.dotsData?1:c.dotsEach||c.items)}},e.prototype.current=function(){var b=this._core.relative(this._core.current());return a.grep(this._pages,a.proxy(function(a,c){return a.start<=b&&a.end>=b},this)).pop()},e.prototype.getPosition=function(b){var c,d,e=this._core.settings;return"page"==e.slideBy?(c=a.inArray(this.current(),this._pages),d=this._pages.length,b?++c:--c,c=this._pages[(c%d+d)%d].start):(c=this._core.relative(this._core.current()),d=this._core.items().length,b?c+=e.slideBy:c-=e.slideBy),c},e.prototype.next=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!0),b)},e.prototype.prev=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!1),b)},e.prototype.to=function(b,c,d){var e;!d&&this._pages.length?(e=this._pages.length,a.proxy(this._overrides.to,this._core)(this._pages[(b%e+e)%e].start,c)):a.proxy(this._overrides.to,this._core)(b,c)},a.fn.owlCarousel.Constructor.Plugins.Navigation=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){"use strict";var e=function(c){this._core=c,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":a.proxy(function(c){c.namespace&&"URLHash"===this._core.settings.startPosition&&a(b).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":a.proxy(function(b){if(b.namespace){var c=a(b.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!c)return;this._hashes[c]=b.content}},this),"changed.owl.carousel":a.proxy(function(c){if(c.namespace&&"position"===c.property.name){var d=this._core.items(this._core.relative(this._core.current())),e=a.map(this._hashes,function(a,b){return a===d?b:null}).join();if(!e||b.location.hash.slice(1)===e)return;b.location.hash=e}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers),a(b).on("hashchange.owl.navigation",a.proxy(function(a){var c=b.location.hash.substring(1),e=this._core.$stage.children(),f=this._hashes[c]&&e.index(this._hashes[c]);f!==d&&f!==this._core.current()&&this._core.to(this._core.relative(f),!1,!0)},this))};e.Defaults={URLhashListener:!1},e.prototype.destroy=function(){var c,d;a(b).off("hashchange.owl.navigation");for(c in this._handlers)this._core.$element.off(c,this._handlers[c]);for(d in Object.getOwnPropertyNames(this))"function"!=typeof this[d]&&(this[d]=null)},a.fn.owlCarousel.Constructor.Plugins.Hash=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){function e(b,c){var e=!1,f=b.charAt(0).toUpperCase()+b.slice(1);return a.each((b+" "+h.join(f+" ")+f).split(" "),function(a,b){if(g[b]!==d)return e=!c||b,!1}),e}
function f(a){return e(a,!0)}
var g=a("<support>").get(0).style,h="Webkit Moz O ms".split(" "),i={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},j={csstransforms:function(){return!!e("transform")},csstransforms3d:function(){return!!e("perspective")},csstransitions:function(){return!!e("transition")},cssanimations:function(){return!!e("animation")}};j.csstransitions()&&(a.support.transition=new String(f("transition")),a.support.transition.end=i.transition.end[a.support.transition]),j.cssanimations()&&(a.support.animation=new String(f("animation")),a.support.animation.end=i.animation.end[a.support.animation]),j.csstransforms()&&(a.support.transform=new String(f("transform")),a.support.transform3d=j.csstransforms3d())}(window.Zepto||window.jQuery,window,document);!function(i){"use strict";"function"==typeof define&&define.amd?define(["jquery"],i):"undefined"!=typeof exports?module.exports=i(require("jquery")):i(jQuery)}(function(i){"use strict";var e=window.Slick||{};(e=function(){var e=0;return function(t,o){var s,n=this;n.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:i(t),appendDots:i(t),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return i('<button type="button" />').text(t+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},n.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},i.extend(n,n.initials),n.activeBreakpoint=null,n.animType=null,n.animProp=null,n.breakpoints=[],n.breakpointSettings=[],n.cssTransitions=!1,n.focussed=!1,n.interrupted=!1,n.hidden="hidden",n.paused=!0,n.positionProp=null,n.respondTo=null,n.rowCount=1,n.shouldClick=!0,n.$slider=i(t),n.$slidesCache=null,n.transformType=null,n.transitionType=null,n.visibilityChange="visibilitychange",n.windowWidth=0,n.windowTimer=null,s=i(t).data("slick")||{},n.options=i.extend({},n.defaults,o,s),n.currentSlide=n.options.initialSlide,n.originalSettings=n.options,void 0!==document.mozHidden?(n.hidden="mozHidden",n.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(n.hidden="webkitHidden",n.visibilityChange="webkitvisibilitychange"),n.autoPlay=i.proxy(n.autoPlay,n),n.autoPlayClear=i.proxy(n.autoPlayClear,n),n.autoPlayIterator=i.proxy(n.autoPlayIterator,n),n.changeSlide=i.proxy(n.changeSlide,n),n.clickHandler=i.proxy(n.clickHandler,n),n.selectHandler=i.proxy(n.selectHandler,n),n.setPosition=i.proxy(n.setPosition,n),n.swipeHandler=i.proxy(n.swipeHandler,n),n.dragHandler=i.proxy(n.dragHandler,n),n.keyHandler=i.proxy(n.keyHandler,n),n.instanceUid=e++,n.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,n.registerBreakpoints(),n.init(!0)}}()).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},e.prototype.addSlide=e.prototype.slickAdd=function(e,t,o){var s=this;if("boolean"==typeof t)o=t,t=null;else if(t<0||t>=s.slideCount)return!1;s.unload(),"number"==typeof t?0===t&&0===s.$slides.length?i(e).appendTo(s.$slideTrack):o?i(e).insertBefore(s.$slides.eq(t)):i(e).insertAfter(s.$slides.eq(t)):!0===o?i(e).prependTo(s.$slideTrack):i(e).appendTo(s.$slideTrack),s.$slides=s.$slideTrack.children(this.options.slide),s.$slideTrack.children(this.options.slide).detach(),s.$slideTrack.append(s.$slides),s.$slides.each(function(e,t){i(t).attr("data-slick-index",e)}),s.$slidesCache=s.$slides,s.reinit()},e.prototype.animateHeight=function(){var i=this;if(1===i.options.slidesToShow&&!0===i.options.adaptiveHeight&&!1===i.options.vertical){var e=i.$slides.eq(i.currentSlide).outerHeight(!0);i.$list.animate({height:e},i.options.speed)}},e.prototype.animateSlide=function(e,t){var o={},s=this;s.animateHeight(),!0===s.options.rtl&&!1===s.options.vertical&&(e=-e),!1===s.transformsEnabled?!1===s.options.vertical?s.$slideTrack.animate({left:e},s.options.speed,s.options.easing,t):s.$slideTrack.animate({top:e},s.options.speed,s.options.easing,t):!1===s.cssTransitions?(!0===s.options.rtl&&(s.currentLeft=-s.currentLeft),i({animStart:s.currentLeft}).animate({animStart:e},{duration:s.options.speed,easing:s.options.easing,step:function(i){i=Math.ceil(i),!1===s.options.vertical?(o[s.animType]="translate("+i+"px, 0px)",s.$slideTrack.css(o)):(o[s.animType]="translate(0px,"+i+"px)",s.$slideTrack.css(o))},complete:function(){t&&t.call()}})):(s.applyTransition(),e=Math.ceil(e),!1===s.options.vertical?o[s.animType]="translate3d("+e+"px, 0px, 0px)":o[s.animType]="translate3d(0px,"+e+"px, 0px)",s.$slideTrack.css(o),t&&setTimeout(function(){s.disableTransition(),t.call()},s.options.speed))},e.prototype.getNavTarget=function(){var e=this,t=e.options.asNavFor;return t&&null!==t&&(t=i(t).not(e.$slider)),t},e.prototype.asNavFor=function(e){var t=this.getNavTarget();null!==t&&"object"==typeof t&&t.each(function(){var t=i(this).slick("getSlick");t.unslicked||t.slideHandler(e,!0)})},e.prototype.applyTransition=function(i){var e=this,t={};!1===e.options.fade?t[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:t[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},e.prototype.autoPlay=function(){var i=this;i.autoPlayClear(),i.slideCount>i.options.slidesToShow&&(i.autoPlayTimer=setInterval(i.autoPlayIterator,i.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){var i=this;i.autoPlayTimer&&clearInterval(i.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var i=this,e=i.currentSlide+i.options.slidesToScroll;i.paused||i.interrupted||i.focussed||(!1===i.options.infinite&&(1===i.direction&&i.currentSlide+1===i.slideCount-1?i.direction=0:0===i.direction&&(e=i.currentSlide-i.options.slidesToScroll,i.currentSlide-1==0&&(i.direction=1))),i.slideHandler(e))},e.prototype.buildArrows=function(){var e=this;!0===e.options.arrows&&(e.$prevArrow=i(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=i(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),!0!==e.options.infinite&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},e.prototype.buildDots=function(){var e,t,o=this;if(!0===o.options.dots){for(o.$slider.addClass("slick-dotted"),t=i("<ul />").addClass(o.options.dotsClass),e=0;e<=o.getDotCount();e+=1)t.append(i("<li />").append(o.options.customPaging.call(this,o,e)));o.$dots=t.appendTo(o.options.appendDots),o.$dots.find("li").first().addClass("slick-active")}},e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each(function(e,t){i(t).attr("data-slick-index",e).data("originalStyling",i(t).attr("style")||"")}),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?i('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),!0!==e.options.centerMode&&!0!==e.options.swipeToSlide||(e.options.slidesToScroll=1),i("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),!0===e.options.draggable&&e.$list.addClass("draggable")},e.prototype.buildRows=function(){var i,e,t,o,s,n,r,l=this;if(o=document.createDocumentFragment(),n=l.$slider.children(),l.options.rows>1){for(r=l.options.slidesPerRow*l.options.rows,s=Math.ceil(n.length/r),i=0;i<s;i++){var d=document.createElement("div");for(e=0;e<l.options.rows;e++){var a=document.createElement("div");for(t=0;t<l.options.slidesPerRow;t++){var c=i*r+(e*l.options.slidesPerRow+t);n.get(c)&&a.appendChild(n.get(c))}
d.appendChild(a)}
o.appendChild(d)}
l.$slider.empty().append(o),l.$slider.children().children().children().css({width:100/l.options.slidesPerRow+"%",display:"inline-block"})}},e.prototype.checkResponsive=function(e,t){var o,s,n,r=this,l=!1,d=r.$slider.width(),a=window.innerWidth||i(window).width();if("window"===r.respondTo?n=a:"slider"===r.respondTo?n=d:"min"===r.respondTo&&(n=Math.min(a,d)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){s=null;for(o in r.breakpoints)r.breakpoints.hasOwnProperty(o)&&(!1===r.originalSettings.mobileFirst?n<r.breakpoints[o]&&(s=r.breakpoints[o]):n>r.breakpoints[o]&&(s=r.breakpoints[o]));null!==s?null!==r.activeBreakpoint?(s!==r.activeBreakpoint||t)&&(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=i.extend({},r.originalSettings,r.breakpointSettings[s]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),l=s):(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=i.extend({},r.originalSettings,r.breakpointSettings[s]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),l=s):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e),l=s),e||!1===l||r.$slider.trigger("breakpoint",[r,l])}},e.prototype.changeSlide=function(e,t){var o,s,n,r=this,l=i(e.currentTarget);switch(l.is("a")&&e.preventDefault(),l.is("li")||(l=l.closest("li")),n=r.slideCount%r.options.slidesToScroll!=0,o=n?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll,e.data.message){case "previous":s=0===o?r.options.slidesToScroll:r.options.slidesToShow-o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-s,!1,t);break;case "next":s=0===o?r.options.slidesToScroll:o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+s,!1,t);break;case "index":var d=0===e.data.index?0:e.data.index||l.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(d),!1,t),l.children().trigger("focus");break;default:return}},e.prototype.checkNavigable=function(i){var e,t;if(e=this.getNavigableIndexes(),t=0,i>e[e.length-1])i=e[e.length-1];else for(var o in e){if(i<e[o]){i=t;break}
t=e[o]}
return i},e.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&(i("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",i.proxy(e.interrupt,e,!0)).off("mouseleave.slick",i.proxy(e.interrupt,e,!1)),!0===e.options.accessibility&&e.$dots.off("keydown.slick",e.keyHandler)),e.$slider.off("focus.slick blur.slick"),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow&&e.$prevArrow.off("keydown.slick",e.keyHandler),e.$nextArrow&&e.$nextArrow.off("keydown.slick",e.keyHandler))),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),i(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),!0===e.options.accessibility&&e.$list.off("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&i(e.$slideTrack).children().off("click.slick",e.selectHandler),i(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),i(window).off("resize.slick.slick-"+e.instanceUid,e.resize),i("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),i(window).off("load.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",i.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",i.proxy(e.interrupt,e,!1))},e.prototype.cleanUpRows=function(){var i,e=this;e.options.rows>1&&((i=e.$slides.children().children()).removeAttr("style"),e.$slider.empty().append(i))},e.prototype.clickHandler=function(i){!1===this.shouldClick&&(i.stopImmediatePropagation(),i.stopPropagation(),i.preventDefault())},e.prototype.destroy=function(e){var t=this;t.autoPlayClear(),t.touchObject={},t.cleanUpEvents(),i(".slick-cloned",t.$slider).detach(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.$prevArrow.length&&(t.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove()),t.$nextArrow&&t.$nextArrow.length&&(t.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove()),t.$slides&&(t.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){i(this).attr("style",i(this).data("originalStyling"))}),t.$slideTrack.children(this.options.slide).detach(),t.$slideTrack.detach(),t.$list.detach(),t.$slider.append(t.$slides)),t.cleanUpRows(),t.$slider.removeClass("slick-slider"),t.$slider.removeClass("slick-initialized"),t.$slider.removeClass("slick-dotted"),t.unslicked=!0,e||t.$slider.trigger("destroy",[t])},e.prototype.disableTransition=function(i){var e=this,t={};t[e.transitionType]="",!1===e.options.fade?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},e.prototype.fadeSlide=function(i,e){var t=this;!1===t.cssTransitions?(t.$slides.eq(i).css({zIndex:t.options.zIndex}),t.$slides.eq(i).animate({opacity:1},t.options.speed,t.options.easing,e)):(t.applyTransition(i),t.$slides.eq(i).css({opacity:1,zIndex:t.options.zIndex}),e&&setTimeout(function(){t.disableTransition(i),e.call()},t.options.speed))},e.prototype.fadeSlideOut=function(i){var e=this;!1===e.cssTransitions?e.$slides.eq(i).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(i),e.$slides.eq(i).css({opacity:0,zIndex:e.options.zIndex-2}))},e.prototype.filterSlides=e.prototype.slickFilter=function(i){var e=this;null!==i&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(i).appendTo(e.$slideTrack),e.reinit())},e.prototype.focusHandler=function(){var e=this;e.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(t){t.stopImmediatePropagation();var o=i(this);setTimeout(function(){e.options.pauseOnFocus&&(e.focussed=o.is(":focus"),e.autoPlay())},0)})},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){return this.currentSlide},e.prototype.getDotCount=function(){var i=this,e=0,t=0,o=0;if(!0===i.options.infinite)if(i.slideCount<=i.options.slidesToShow)++o;else for(;e<i.slideCount;)++o,e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;else if(!0===i.options.centerMode)o=i.slideCount;else if(i.options.asNavFor)for(;e<i.slideCount;)++o,e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;else o=1+Math.ceil((i.slideCount-i.options.slidesToShow)/i.options.slidesToScroll);return o-1},e.prototype.getLeft=function(i){var e,t,o,s,n=this,r=0;return n.slideOffset=0,t=n.$slides.first().outerHeight(!0),!0===n.options.infinite?(n.slideCount>n.options.slidesToShow&&(n.slideOffset=n.slideWidth*n.options.slidesToShow*-1,s=-1,!0===n.options.vertical&&!0===n.options.centerMode&&(2===n.options.slidesToShow?s=-1.5:1===n.options.slidesToShow&&(s=-2)),r=t*n.options.slidesToShow*s),n.slideCount%n.options.slidesToScroll!=0&&i+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(i>n.slideCount?(n.slideOffset=(n.options.slidesToShow-(i-n.slideCount))*n.slideWidth*-1,r=(n.options.slidesToShow-(i-n.slideCount))*t*-1):(n.slideOffset=n.slideCount%n.options.slidesToScroll*n.slideWidth*-1,r=n.slideCount%n.options.slidesToScroll*t*-1))):i+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(i+n.options.slidesToShow-n.slideCount)*n.slideWidth,r=(i+n.options.slidesToShow-n.slideCount)*t),n.slideCount<=n.options.slidesToShow&&(n.slideOffset=0,r=0),!0===n.options.centerMode&&n.slideCount<=n.options.slidesToShow?n.slideOffset=n.slideWidth*Math.floor(n.options.slidesToShow)/2-n.slideWidth*n.slideCount/2:!0===n.options.centerMode&&!0===n.options.infinite?n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)-n.slideWidth:!0===n.options.centerMode&&(n.slideOffset=0,n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)),e=!1===n.options.vertical?i*n.slideWidth*-1+n.slideOffset:i*t*-1+r,!0===n.options.variableWidth&&(o=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(i):n.$slideTrack.children(".slick-slide").eq(i+n.options.slidesToShow),e=!0===n.options.rtl?o[0]?-1*(n.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,!0===n.options.centerMode&&(o=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(i):n.$slideTrack.children(".slick-slide").eq(i+n.options.slidesToShow+1),e=!0===n.options.rtl?o[0]?-1*(n.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,e+=(n.$list.width()-o.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(i){return this.options[i]},e.prototype.getNavigableIndexes=function(){var i,e=this,t=0,o=0,s=[];for(!1===e.options.infinite?i=e.slideCount:(t=-1*e.options.slidesToScroll,o=-1*e.options.slidesToScroll,i=2*e.slideCount);t<i;)s.push(t),t=o+e.options.slidesToScroll,o+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return s},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e,t,o=this;return t=!0===o.options.centerMode?o.slideWidth*Math.floor(o.options.slidesToShow/2):0,!0===o.options.swipeToSlide?(o.$slideTrack.find(".slick-slide").each(function(s,n){if(n.offsetLeft-t+i(n).outerWidth()/2>-1*o.swipeLeft)return e=n,!1}),Math.abs(i(e).attr("data-slick-index")-o.currentSlide)||1):o.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(i,e){this.changeSlide({data:{message:"index",index:parseInt(i)}},e)},e.prototype.init=function(e){var t=this;i(t.$slider).hasClass("slick-initialized")||(i(t.$slider).addClass("slick-initialized"),t.buildRows(),t.buildOut(),t.setProps(),t.startLoad(),t.loadSlider(),t.initializeEvents(),t.updateArrows(),t.updateDots(),t.checkResponsive(!0),t.focusHandler()),e&&t.$slider.trigger("init",[t]),!0===t.options.accessibility&&t.initADA(),t.options.autoplay&&(t.paused=!1,t.autoPlay())},e.prototype.initADA=function(){var e=this,t=Math.ceil(e.slideCount/e.options.slidesToShow),o=e.getNavigableIndexes().filter(function(i){return i>=0&&i<e.slideCount});e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==e.$dots&&(e.$slides.not(e.$slideTrack.find(".slick-cloned")).each(function(t){var s=o.indexOf(t);i(this).attr({role:"tabpanel",id:"slick-slide"+e.instanceUid+t,tabindex:-1}),-1!==s&&i(this).attr({"aria-describedby":"slick-slide-control"+e.instanceUid+s})}),e.$dots.attr("role","tablist").find("li").each(function(s){var n=o[s];i(this).attr({role:"presentation"}),i(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+e.instanceUid+s,"aria-controls":"slick-slide"+e.instanceUid+n,"aria-label":s+1+" of "+t,"aria-selected":null,tabindex:"-1"})}).eq(e.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var s=e.currentSlide,n=s+e.options.slidesToShow;s<n;s++)e.$slides.eq(s).attr("tabindex",0);e.activateADA()},e.prototype.initArrowEvents=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},i.changeSlide),i.$nextArrow.off("click.slick").on("click.slick",{message:"next"},i.changeSlide),!0===i.options.accessibility&&(i.$prevArrow.on("keydown.slick",i.keyHandler),i.$nextArrow.on("keydown.slick",i.keyHandler)))},e.prototype.initDotEvents=function(){var e=this;!0===e.options.dots&&(i("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),!0===e.options.accessibility&&e.$dots.on("keydown.slick",e.keyHandler)),!0===e.options.dots&&!0===e.options.pauseOnDotsHover&&i("li",e.$dots).on("mouseenter.slick",i.proxy(e.interrupt,e,!0)).on("mouseleave.slick",i.proxy(e.interrupt,e,!1))},e.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",i.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",i.proxy(e.interrupt,e,!1)))},e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"},e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),i(document).on(e.visibilityChange,i.proxy(e.visibility,e)),!0===e.options.accessibility&&e.$list.on("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&i(e.$slideTrack).children().on("click.slick",e.selectHandler),i(window).on("orientationchange.slick.slick-"+e.instanceUid,i.proxy(e.orientationChange,e)),i(window).on("resize.slick.slick-"+e.instanceUid,i.proxy(e.resize,e)),i("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),i(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),i(e.setPosition)},e.prototype.initUI=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.show(),i.$nextArrow.show()),!0===i.options.dots&&i.slideCount>i.options.slidesToShow&&i.$dots.show()},e.prototype.keyHandler=function(i){var e=this;i.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===i.keyCode&&!0===e.options.accessibility?e.changeSlide({data:{message:!0===e.options.rtl?"next":"previous"}}):39===i.keyCode&&!0===e.options.accessibility&&e.changeSlide({data:{message:!0===e.options.rtl?"previous":"next"}}))},e.prototype.lazyLoad=function(){function e(e){i("img[data-lazy]",e).each(function(){var e=i(this),t=i(this).attr("data-lazy"),o=i(this).attr("data-srcset"),s=i(this).attr("data-sizes")||n.$slider.attr("data-sizes"),r=document.createElement("img");r.onload=function(){e.animate({opacity:0},100,function(){o&&(e.attr("srcset",o),s&&e.attr("sizes",s)),e.attr("src",t).animate({opacity:1},200,function(){e.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),n.$slider.trigger("lazyLoaded",[n,e,t])})},r.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),n.$slider.trigger("lazyLoadError",[n,e,t])},r.src=t})}
var t,o,s,n=this;if(!0===n.options.centerMode?!0===n.options.infinite?s=(o=n.currentSlide+(n.options.slidesToShow/2+1))+n.options.slidesToShow+2:(o=Math.max(0,n.currentSlide-(n.options.slidesToShow/2+1)),s=n.options.slidesToShow/2+1+2+n.currentSlide):(o=n.options.infinite?n.options.slidesToShow+n.currentSlide:n.currentSlide,s=Math.ceil(o+n.options.slidesToShow),!0===n.options.fade&&(o>0&&o--,s<=n.slideCount&&s++)),t=n.$slider.find(".slick-slide").slice(o,s),"anticipated"===n.options.lazyLoad)for(var r=o-1,l=s,d=n.$slider.find(".slick-slide"),a=0;a<n.options.slidesToScroll;a++)r<0&&(r=n.slideCount-1),t=(t=t.add(d.eq(r))).add(d.eq(l)),r--,l++;e(t),n.slideCount<=n.options.slidesToShow?e(n.$slider.find(".slick-slide")):n.currentSlide>=n.slideCount-n.options.slidesToShow?e(n.$slider.find(".slick-cloned").slice(0,n.options.slidesToShow)):0===n.currentSlide&&e(n.$slider.find(".slick-cloned").slice(-1*n.options.slidesToShow))},e.prototype.loadSlider=function(){var i=this;i.setPosition(),i.$slideTrack.css({opacity:1}),i.$slider.removeClass("slick-loading"),i.initUI(),"progressive"===i.options.lazyLoad&&i.progressiveLazyLoad()},e.prototype.next=e.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},e.prototype.orientationChange=function(){var i=this;i.checkResponsive(),i.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){var i=this;i.autoPlayClear(),i.paused=!0},e.prototype.play=e.prototype.slickPlay=function(){var i=this;i.autoPlay(),i.options.autoplay=!0,i.paused=!1,i.focussed=!1,i.interrupted=!1},e.prototype.postSlide=function(e){var t=this;t.unslicked||(t.$slider.trigger("afterChange",[t,e]),t.animating=!1,t.slideCount>t.options.slidesToShow&&t.setPosition(),t.swipeLeft=null,t.options.autoplay&&t.autoPlay(),!0===t.options.accessibility&&(t.initADA(),t.options.focusOnChange&&i(t.$slides.get(t.currentSlide)).attr("tabindex",0).focus()))},e.prototype.prev=e.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(i){i.preventDefault()},e.prototype.progressiveLazyLoad=function(e){e=e||1;var t,o,s,n,r,l=this,d=i("img[data-lazy]",l.$slider);d.length?(t=d.first(),o=t.attr("data-lazy"),s=t.attr("data-srcset"),n=t.attr("data-sizes")||l.$slider.attr("data-sizes"),(r=document.createElement("img")).onload=function(){s&&(t.attr("srcset",s),n&&t.attr("sizes",n)),t.attr("src",o).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===l.options.adaptiveHeight&&l.setPosition(),l.$slider.trigger("lazyLoaded",[l,t,o]),l.progressiveLazyLoad()},r.onerror=function(){e<3?setTimeout(function(){l.progressiveLazyLoad(e+1)},500):(t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),l.$slider.trigger("lazyLoadError",[l,t,o]),l.progressiveLazyLoad())},r.src=o):l.$slider.trigger("allImagesLoaded",[l])},e.prototype.refresh=function(e){var t,o,s=this;o=s.slideCount-s.options.slidesToShow,!s.options.infinite&&s.currentSlide>o&&(s.currentSlide=o),s.slideCount<=s.options.slidesToShow&&(s.currentSlide=0),t=s.currentSlide,s.destroy(!0),i.extend(s,s.initials,{currentSlide:t}),s.init(),e||s.changeSlide({data:{message:"index",index:t}},!1)},e.prototype.registerBreakpoints=function(){var e,t,o,s=this,n=s.options.responsive||null;if("array"===i.type(n)&&n.length){s.respondTo=s.options.respondTo||"window";for(e in n)if(o=s.breakpoints.length-1,n.hasOwnProperty(e)){for(t=n[e].breakpoint;o>=0;)s.breakpoints[o]&&s.breakpoints[o]===t&&s.breakpoints.splice(o,1),o--;s.breakpoints.push(t),s.breakpointSettings[t]=n[e].settings}
s.breakpoints.sort(function(i,e){return s.options.mobileFirst?i-e:e-i})}},e.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),!0===e.options.focusOnSelect&&i(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},e.prototype.resize=function(){var e=this;i(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=i(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()},50))},e.prototype.removeSlide=e.prototype.slickRemove=function(i,e,t){var o=this;if(i="boolean"==typeof i?!0===(e=i)?0:o.slideCount-1:!0===e?--i:i,o.slideCount<1||i<0||i>o.slideCount-1)return!1;o.unload(),!0===t?o.$slideTrack.children().remove():o.$slideTrack.children(this.options.slide).eq(i).remove(),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slidesCache=o.$slides,o.reinit()},e.prototype.setCSS=function(i){var e,t,o=this,s={};!0===o.options.rtl&&(i=-i),e="left"==o.positionProp?Math.ceil(i)+"px":"0px",t="top"==o.positionProp?Math.ceil(i)+"px":"0px",s[o.positionProp]=i,!1===o.transformsEnabled?o.$slideTrack.css(s):(s={},!1===o.cssTransitions?(s[o.animType]="translate("+e+", "+t+")",o.$slideTrack.css(s)):(s[o.animType]="translate3d("+e+", "+t+", 0px)",o.$slideTrack.css(s)))},e.prototype.setDimensions=function(){var i=this;!1===i.options.vertical?!0===i.options.centerMode&&i.$list.css({padding:"0px "+i.options.centerPadding}):(i.$list.height(i.$slides.first().outerHeight(!0)*i.options.slidesToShow),!0===i.options.centerMode&&i.$list.css({padding:i.options.centerPadding+" 0px"})),i.listWidth=i.$list.width(),i.listHeight=i.$list.height(),!1===i.options.vertical&&!1===i.options.variableWidth?(i.slideWidth=Math.ceil(i.listWidth/i.options.slidesToShow),i.$slideTrack.width(Math.ceil(i.slideWidth*i.$slideTrack.children(".slick-slide").length))):!0===i.options.variableWidth?i.$slideTrack.width(5e3*i.slideCount):(i.slideWidth=Math.ceil(i.listWidth),i.$slideTrack.height(Math.ceil(i.$slides.first().outerHeight(!0)*i.$slideTrack.children(".slick-slide").length)));var e=i.$slides.first().outerWidth(!0)-i.$slides.first().width();!1===i.options.variableWidth&&i.$slideTrack.children(".slick-slide").width(i.slideWidth-e)},e.prototype.setFade=function(){var e,t=this;t.$slides.each(function(o,s){e=t.slideWidth*o*-1,!0===t.options.rtl?i(s).css({position:"relative",right:e,top:0,zIndex:t.options.zIndex-2,opacity:0}):i(s).css({position:"relative",left:e,top:0,zIndex:t.options.zIndex-2,opacity:0})}),t.$slides.eq(t.currentSlide).css({zIndex:t.options.zIndex-1,opacity:1})},e.prototype.setHeight=function(){var i=this;if(1===i.options.slidesToShow&&!0===i.options.adaptiveHeight&&!1===i.options.vertical){var e=i.$slides.eq(i.currentSlide).outerHeight(!0);i.$list.css("height",e)}},e.prototype.setOption=e.prototype.slickSetOption=function(){var e,t,o,s,n,r=this,l=!1;if("object"===i.type(arguments[0])?(o=arguments[0],l=arguments[1],n="multiple"):"string"===i.type(arguments[0])&&(o=arguments[0],s=arguments[1],l=arguments[2],"responsive"===arguments[0]&&"array"===i.type(arguments[1])?n="responsive":void 0!==arguments[1]&&(n="single")),"single"===n)r.options[o]=s;else if("multiple"===n)i.each(o,function(i,e){r.options[i]=e});else if("responsive"===n)for(t in s)if("array"!==i.type(r.options.responsive))r.options.responsive=[s[t]];else{for(e=r.options.responsive.length-1;e>=0;)r.options.responsive[e].breakpoint===s[t].breakpoint&&r.options.responsive.splice(e,1),e--;r.options.responsive.push(s[t])}
l&&(r.unload(),r.reinit())},e.prototype.setPosition=function(){var i=this;i.setDimensions(),i.setHeight(),!1===i.options.fade?i.setCSS(i.getLeft(i.currentSlide)):i.setFade(),i.$slider.trigger("setPosition",[i])},e.prototype.setProps=function(){var i=this,e=document.body.style;i.positionProp=!0===i.options.vertical?"top":"left","top"===i.positionProp?i.$slider.addClass("slick-vertical"):i.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===i.options.useCSS&&(i.cssTransitions=!0),i.options.fade&&("number"==typeof i.options.zIndex?i.options.zIndex<3&&(i.options.zIndex=3):i.options.zIndex=i.defaults.zIndex),void 0!==e.OTransform&&(i.animType="OTransform",i.transformType="-o-transform",i.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.MozTransform&&(i.animType="MozTransform",i.transformType="-moz-transform",i.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(i.animType=!1)),void 0!==e.webkitTransform&&(i.animType="webkitTransform",i.transformType="-webkit-transform",i.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.msTransform&&(i.animType="msTransform",i.transformType="-ms-transform",i.transitionType="msTransition",void 0===e.msTransform&&(i.animType=!1)),void 0!==e.transform&&!1!==i.animType&&(i.animType="transform",i.transformType="transform",i.transitionType="transition"),i.transformsEnabled=i.options.useTransform&&null!==i.animType&&!1!==i.animType},e.prototype.setSlideClasses=function(i){var e,t,o,s,n=this;if(t=n.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),n.$slides.eq(i).addClass("slick-current"),!0===n.options.centerMode){var r=n.options.slidesToShow%2==0?1:0;e=Math.floor(n.options.slidesToShow/2),!0===n.options.infinite&&(i>=e&&i<=n.slideCount-1-e?n.$slides.slice(i-e+r,i+e+1).addClass("slick-active").attr("aria-hidden","false"):(o=n.options.slidesToShow+i,t.slice(o-e+1+r,o+e+2).addClass("slick-active").attr("aria-hidden","false")),0===i?t.eq(t.length-1-n.options.slidesToShow).addClass("slick-center"):i===n.slideCount-1&&t.eq(n.options.slidesToShow).addClass("slick-center")),n.$slides.eq(i).addClass("slick-center")}else i>=0&&i<=n.slideCount-n.options.slidesToShow?n.$slides.slice(i,i+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):t.length<=n.options.slidesToShow?t.addClass("slick-active").attr("aria-hidden","false"):(s=n.slideCount%n.options.slidesToShow,o=!0===n.options.infinite?n.options.slidesToShow+i:i,n.options.slidesToShow==n.options.slidesToScroll&&n.slideCount-i<n.options.slidesToShow?t.slice(o-(n.options.slidesToShow-s),o+s).addClass("slick-active").attr("aria-hidden","false"):t.slice(o,o+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==n.options.lazyLoad&&"anticipated"!==n.options.lazyLoad||n.lazyLoad()},e.prototype.setupInfinite=function(){var e,t,o,s=this;if(!0===s.options.fade&&(s.options.centerMode=!1),!0===s.options.infinite&&!1===s.options.fade&&(t=null,s.slideCount>s.options.slidesToShow)){for(o=!0===s.options.centerMode?s.options.slidesToShow+1:s.options.slidesToShow,e=s.slideCount;e>s.slideCount-o;e-=1)t=e-1,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t-s.slideCount).prependTo(s.$slideTrack).addClass("slick-cloned");for(e=0;e<o+s.slideCount;e+=1)t=e,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t+s.slideCount).appendTo(s.$slideTrack).addClass("slick-cloned");s.$slideTrack.find(".slick-cloned").find("[id]").each(function(){i(this).attr("id","")})}},e.prototype.interrupt=function(i){var e=this;i||e.autoPlay(),e.interrupted=i},e.prototype.selectHandler=function(e){var t=this,o=i(e.target).is(".slick-slide")?i(e.target):i(e.target).parents(".slick-slide"),s=parseInt(o.attr("data-slick-index"));s||(s=0),t.slideCount<=t.options.slidesToShow?t.slideHandler(s,!1,!0):t.slideHandler(s)},e.prototype.slideHandler=function(i,e,t){var o,s,n,r,l,d=null,a=this;if(e=e||!1,!(!0===a.animating&&!0===a.options.waitForAnimate||!0===a.options.fade&&a.currentSlide===i))if(!1===e&&a.asNavFor(i),o=i,d=a.getLeft(o),r=a.getLeft(a.currentSlide),a.currentLeft=null===a.swipeLeft?r:a.swipeLeft,!1===a.options.infinite&&!1===a.options.centerMode&&(i<0||i>a.getDotCount()*a.options.slidesToScroll))!1===a.options.fade&&(o=a.currentSlide,!0!==t?a.animateSlide(r,function(){a.postSlide(o)}):a.postSlide(o));else if(!1===a.options.infinite&&!0===a.options.centerMode&&(i<0||i>a.slideCount-a.options.slidesToScroll))!1===a.options.fade&&(o=a.currentSlide,!0!==t?a.animateSlide(r,function(){a.postSlide(o)}):a.postSlide(o));else{if(a.options.autoplay&&clearInterval(a.autoPlayTimer),s=o<0?a.slideCount%a.options.slidesToScroll!=0?a.slideCount-a.slideCount%a.options.slidesToScroll:a.slideCount+o:o>=a.slideCount?a.slideCount%a.options.slidesToScroll!=0?0:o-a.slideCount:o,a.animating=!0,a.$slider.trigger("beforeChange",[a,a.currentSlide,s]),n=a.currentSlide,a.currentSlide=s,a.setSlideClasses(a.currentSlide),a.options.asNavFor&&(l=(l=a.getNavTarget()).slick("getSlick")).slideCount<=l.options.slidesToShow&&l.setSlideClasses(a.currentSlide),a.updateDots(),a.updateArrows(),!0===a.options.fade)return!0!==t?(a.fadeSlideOut(n),a.fadeSlide(s,function(){a.postSlide(s)})):a.postSlide(s),void a.animateHeight();!0!==t?a.animateSlide(d,function(){a.postSlide(s)}):a.postSlide(s)}},e.prototype.startLoad=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.hide(),i.$nextArrow.hide()),!0===i.options.dots&&i.slideCount>i.options.slidesToShow&&i.$dots.hide(),i.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var i,e,t,o,s=this;return i=s.touchObject.startX-s.touchObject.curX,e=s.touchObject.startY-s.touchObject.curY,t=Math.atan2(e,i),(o=Math.round(180*t/Math.PI))<0&&(o=360-Math.abs(o)),o<=45&&o>=0?!1===s.options.rtl?"left":"right":o<=360&&o>=315?!1===s.options.rtl?"left":"right":o>=135&&o<=225?!1===s.options.rtl?"right":"left":!0===s.options.verticalSwiping?o>=35&&o<=135?"down":"up":"vertical"},e.prototype.swipeEnd=function(i){var e,t,o=this;if(o.dragging=!1,o.swiping=!1,o.scrolling)return o.scrolling=!1,!1;if(o.interrupted=!1,o.shouldClick=!(o.touchObject.swipeLength>10),void 0===o.touchObject.curX)return!1;if(!0===o.touchObject.edgeHit&&o.$slider.trigger("edge",[o,o.swipeDirection()]),o.touchObject.swipeLength>=o.touchObject.minSwipe){switch(t=o.swipeDirection()){case "left":case "down":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide+o.getSlideCount()):o.currentSlide+o.getSlideCount(),o.currentDirection=0;break;case "right":case "up":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide-o.getSlideCount()):o.currentSlide-o.getSlideCount(),o.currentDirection=1}
"vertical"!=t&&(o.slideHandler(e),o.touchObject={},o.$slider.trigger("swipe",[o,t]))}else o.touchObject.startX!==o.touchObject.curX&&(o.slideHandler(o.currentSlide),o.touchObject={})},e.prototype.swipeHandler=function(i){var e=this;if(!(!1===e.options.swipe||"ontouchend" in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==i.type.indexOf("mouse")))switch(e.touchObject.fingerCount=i.originalEvent&&void 0!==i.originalEvent.touches?i.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),i.data.action){case "start":e.swipeStart(i);break;case "move":e.swipeMove(i);break;case "end":e.swipeEnd(i)}},e.prototype.swipeMove=function(i){var e,t,o,s,n,r,l=this;return n=void 0!==i.originalEvent?i.originalEvent.touches:null,!(!l.dragging||l.scrolling||n&&1!==n.length)&&(e=l.getLeft(l.currentSlide),l.touchObject.curX=void 0!==n?n[0].pageX:i.clientX,l.touchObject.curY=void 0!==n?n[0].pageY:i.clientY,l.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(l.touchObject.curX-l.touchObject.startX,2))),r=Math.round(Math.sqrt(Math.pow(l.touchObject.curY-l.touchObject.startY,2))),!l.options.verticalSwiping&&!l.swiping&&r>4?(l.scrolling=!0,!1):(!0===l.options.verticalSwiping&&(l.touchObject.swipeLength=r),t=l.swipeDirection(),void 0!==i.originalEvent&&l.touchObject.swipeLength>4&&(l.swiping=!0,i.preventDefault()),s=(!1===l.options.rtl?1:-1)*(l.touchObject.curX>l.touchObject.startX?1:-1),!0===l.options.verticalSwiping&&(s=l.touchObject.curY>l.touchObject.startY?1:-1),o=l.touchObject.swipeLength,l.touchObject.edgeHit=!1,!1===l.options.infinite&&(0===l.currentSlide&&"right"===t||l.currentSlide>=l.getDotCount()&&"left"===t)&&(o=l.touchObject.swipeLength*l.options.edgeFriction,l.touchObject.edgeHit=!0),!1===l.options.vertical?l.swipeLeft=e+o*s:l.swipeLeft=e+o*(l.$list.height()/l.listWidth)*s,!0===l.options.verticalSwiping&&(l.swipeLeft=e+o*s),!0!==l.options.fade&&!1!==l.options.touchMove&&(!0===l.animating?(l.swipeLeft=null,!1):void l.setCSS(l.swipeLeft))))},e.prototype.swipeStart=function(i){var e,t=this;if(t.interrupted=!0,1!==t.touchObject.fingerCount||t.slideCount<=t.options.slidesToShow)return t.touchObject={},!1;void 0!==i.originalEvent&&void 0!==i.originalEvent.touches&&(e=i.originalEvent.touches[0]),t.touchObject.startX=t.touchObject.curX=void 0!==e?e.pageX:i.clientX,t.touchObject.startY=t.touchObject.curY=void 0!==e?e.pageY:i.clientY,t.dragging=!0},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var i=this;null!==i.$slidesCache&&(i.unload(),i.$slideTrack.children(this.options.slide).detach(),i.$slidesCache.appendTo(i.$slideTrack),i.reinit())},e.prototype.unload=function(){var e=this;i(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},e.prototype.unslick=function(i){var e=this;e.$slider.trigger("unslick",[e,i]),e.destroy()},e.prototype.updateArrows=function(){var i=this;Math.floor(i.options.slidesToShow/2),!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&!i.options.infinite&&(i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),i.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===i.currentSlide?(i.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),i.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):i.currentSlide>=i.slideCount-i.options.slidesToShow&&!1===i.options.centerMode?(i.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):i.currentSlide>=i.slideCount-1&&!0===i.options.centerMode&&(i.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},e.prototype.updateDots=function(){var i=this;null!==i.$dots&&(i.$dots.find("li").removeClass("slick-active").end(),i.$dots.find("li").eq(Math.floor(i.currentSlide/i.options.slidesToScroll)).addClass("slick-active"))},e.prototype.visibility=function(){var i=this;i.options.autoplay&&(document[i.hidden]?i.interrupted=!0:i.interrupted=!1)},i.fn.slick=function(){var i,t,o=this,s=arguments[0],n=Array.prototype.slice.call(arguments,1),r=o.length;for(i=0;i<r;i++)if("object"==typeof s||void 0===s?o[i].slick=new e(o[i],s):t=o[i].slick[s].apply(o[i].slick,n),void 0!==t)return t;return o}});!function(t){"object"==typeof module&&"object"==typeof module.exports?module.exports=function(e){t(e,window,document)}:t(jQuery,window,document)}((function(t,e,n,o){var s;Number.isFinite=Number.isFinite||function(t){return"number"==typeof t&&isFinite(t)};var i=function(t){return this._options={},this.targetElement=t,this};i.start=function(t,e){return function(t,e){e=e||{},t._options.elementContainer=e.elementContainer||"div";var n=e.classNames||{};t._options.classNameSeconds=n.seconds||"jst-seconds",t._options.classNameMinutes=n.minutes||"jst-minutes",t._options.classNameHours=n.hours||"jst-hours",t._options.classNameClearDiv=n.clearDiv||"jst-clearDiv",t._options.classNameTimeout=n.timeout||"jst-timeout"}(s=new i(e),t),s.start(t)},i.prototype.start=function(e){var o=this,i=function(t){var e=n.createElement(o._options.elementContainer);e.className=o._options.classNameSeconds;var s=n.createElement(o._options.elementContainer);s.className=o._options.classNameMinutes;var i=n.createElement(o._options.elementContainer);i.className=o._options.classNameHours;var r=n.createElement(o._options.elementContainer);return r.className=o._options.classNameClearDiv,t.append(i).append(s).append(e).append(r)};this.targetElement.each(function(n,o){var r=this,a=t(o),u=a.attr("class");return a.on("complete",(function(){clearInterval(a.intervalId)})),a.on("complete",(function(){a.onComplete(a)})),a.on("complete",(function(){a.addClass(r._options.classNameTimeout)})),a.on("complete",(function(){e&&!0===e.loop&&s.resetTimer(a,e,u)})),a.on("pause",(function(){clearInterval(a.intervalId),a.paused=!0})),a.on("resume",(function(){a.paused=!1;const t=a.data("timeLeft"),e=a.onComplete;r.startCountdown(a,{secondsLeft:t,onComplete:e})})),i(a),this.startCountdown(a,e)}.bind(this))},i.prototype.resetTimer=function(t,e,n){var o=0;e.loopInterval&&(o=1e3*parseInt(e.loopInterval,10)),setTimeout((function(){t.trigger("reset"),t.attr("class",n+" loop"),s.startCountdown(t,e)}),o)},i.prototype.fetchSecondsLeft=function(t){var e=t.data("seconds-left"),n=t.data("minutes-left");if(Number.isFinite(e))return parseInt(e,10);if(Number.isFinite(n))return 60*parseFloat(n);throw "Missing time data"},i.prototype.startCountdown=function(t,e){e=e||{};var n=null,o=function(){return clearInterval(n),this.clearTimer(t)}.bind(this);t.onComplete=e.onComplete||o,t.allowPause=e.allowPause||!1,t.allowPause&&t.on("click",(function(){t.paused?t.trigger("resume"):t.trigger("pause")}));var s=e.secondsLeft||this.fetchSecondsLeft(t),i=e.refreshRate||1e3,r=s+this.currentTime(),a=r-this.currentTime();this.setFinalValue(this.formatTimeLeft(a),t),n=setInterval(function(){(a=r-this.currentTime())<0&&(a=0),t.data("timeLeft",a),this.setFinalValue(this.formatTimeLeft(a),t)}.bind(this),i),t.intervalId=n},i.prototype.clearTimer=function(t){t.find(".jst-seconds").text("00"),t.find(".jst-minutes").text("00:"),t.find(".jst-hours").text("00:")},i.prototype.currentTime=function(){return Math.round((new Date).getTime()/1e3)},i.prototype.formatTimeLeft=function(t){var e=function(t,e){return(t+="").length>=(e=e||2)?t:Array(e-t.length+1).join(0)+t},n=Math.floor(t/3600);t-=3600*n;var o=Math.floor(t/60);t-=60*o;var s=parseInt(t%60,10);return 0==+n&&0==+o&&0==+s?[]:[e(n),e(o),e(s)]},i.prototype.setFinalValue=function(t,e){if(0===t.length)return this.clearTimer(e),e.trigger("complete"),!1;e.find("."+this._options.classNameSeconds).text(t.pop()),e.find("."+this._options.classNameMinutes).text(t.pop()+":"),e.find("."+this._options.classNameHours).text(t.pop()+":")},t.fn.startTimer=function(t){return this.TimerObject=i,i.start(t,this),this}}));window.Modernizr=function(a,b,c){function z(a){j.cssText=a}
function A(a,b){return z(m.join(a+";")+(b||""))}
function B(a,b){return typeof a===b}
function C(a,b){return!!~(""+a).indexOf(b)}
function D(a,b){for(var d in a){var e=a[d];if(!C(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}
return!1}
function E(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:B(f,"function")?f.bind(d||b):f}
return!1}
function F(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+o.join(d+" ")+d).split(" ");return B(b,"string")||B(b,"undefined")?D(e,b):(e=(a+" "+p.join(d+" ")+d).split(" "),E(e,b,c))}
var d="2.6.2",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l={}.toString,m=" -webkit- -moz- -o- -ms- ".split(" "),n="Webkit Moz O ms",o=n.split(" "),p=n.toLowerCase().split(" "),q={},r={},s={},t=[],u=t.slice,v,w=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["&#173;",'<style id="s',h,'">',a,"</style>"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},x={}.hasOwnProperty,y;!B(x,"undefined")&&!B(x.call,"undefined")?y=function(a,b){return x.call(a,b)}:y=function(a,b){return b in a&&B(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=u.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(u.call(arguments)));return Object(g)===g?g:f}
return c.apply(b,d.concat(u.call(arguments)))};return e}),q.csstransforms=function(){return!!F("transform")},q.csstransforms3d=function(){var a=!!F("perspective");return a&&"webkitPerspective" in g.style&&w("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a},q.csstransitions=function(){return F("transition")};for(var G in q)y(q,G)&&(v=G.toLowerCase(),e[v]=q[G](),t.push((e[v]?"":"no-")+v));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)y(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}
return e},z(""),i=k=null,function(a,b){function k(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}
function l(){var a=r.elements;return typeof a=="string"?a.split(" "):a}
function m(a){var b=i[a[g]];return b||(b={},h++,a[g]=h,i[h]=b),b}
function n(a,c,f){c||(c=b);if(j)return c.createElement(a);f||(f=m(c));var g;return f.cache[a]?g=f.cache[a].cloneNode():e.test(a)?g=(f.cache[a]=f.createElem(a)).cloneNode():g=f.createElem(a),g.canHaveChildren&&!d.test(a)?f.frag.appendChild(g):g}
function o(a,c){a||(a=b);if(j)return a.createDocumentFragment();c=c||m(a);var d=c.frag.cloneNode(),e=0,f=l(),g=f.length;for(;e<g;e++)d.createElement(f[e]);return d}
function p(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return r.shivMethods?n(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+l().join().replace(/\w+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(r,b.frag)}
function q(a){a||(a=b);var c=m(a);return r.shivCSS&&!f&&!c.hasCSS&&(c.hasCSS=!!k(a,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),j||p(a,c),a}
var c=a.html5||{},d=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,e=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,f,g="_html5shiv",h=0,i={},j;(function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",f="hidden" in a,j=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){f=!0,j=!0}})();var r={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,supportsUnknownElements:j,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:q,createElement:n,createDocumentFragment:o};a.html5=r,q(b)}(this,b),e._version=d,e._prefixes=m,e._domPrefixes=p,e._cssomPrefixes=o,e.testProp=function(a){return D([a])},e.testAllProps=F,e.testStyles=w,e.prefixed=function(a,b,c){return b?F(a,b,c):F(a,"pfx")},g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+t.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}
function e(a){return"string"==typeof a}
function f(){}
function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}
function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}
function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}
var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}
function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}
function k(){var a=B;return a.loader={load:j,i:0},a}
var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance" in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}
function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}
function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}
var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}
var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i<a.length;i++)j=a[i],e(j)?g(j,0,l,0):w(j)?B(j):Object(j)===j&&h(j,l);else Object(a)===a&&h(a,l)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};(function($,window,undefined){'use strict';var $event=jQuery.event,$special,resizeTimeout;$special=$event.special.debouncedresize={setup:function(){jQuery(this).on("resize",$special.handler)},teardown:function(){jQuery(this).off("resize",$special.handler)},handler:function(event,execAsap){var context=this,args=arguments,dispatch=function(){event.type="debouncedresize";$event.dispatch.apply(context,args)};if(resizeTimeout){clearTimeout(resizeTimeout)}
execAsap?dispatch():resizeTimeout=setTimeout(dispatch,$special.threshold)},threshold:50};var BLANK='data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==';jQuery.fn.imagesLoaded=function(callback){var $this=this,deferred=jQuery.isFunction(jQuery.Deferred)?jQuery.Deferred():0,hasNotify=jQuery.isFunction(deferred.notify),$images=$this.find('img').add($this.filter('img')),loaded=[],proper=[],broken=[];if(jQuery.isPlainObject(callback)){jQuery.each(callback,function(key,value){if(key==='callback'){callback=value}else if(deferred){deferred[key](value)}})}
function doneLoading(){var $proper=$(proper),$broken=$(broken);if(deferred){if(broken.length){deferred.reject($images,$proper,$broken)}else{deferred.resolve($images)}}
if(jQuery.isFunction(callback)){callback.call($this,$images,$proper,$broken)}}
function imgLoaded(img,isBroken){if(img.src===BLANK||jQuery.inArray(img,loaded)!==-1){return}
loaded.push(img);if(isBroken){broken.push(img)}else{proper.push(img)}
jQuery.data(img,'imagesLoaded',{isBroken:isBroken,src:img.src});if(hasNotify){deferred.notifyWith($(img),[isBroken,$images,$(proper),$(broken)])}
if($images.length===loaded.length){setTimeout(doneLoading);$images.unbind('.imagesLoaded')}}
if(!$images.length){doneLoading()}else{$images.bind('load.imagesLoaded error.imagesLoaded',function(event){imgLoaded(event.target,event.type==='error')}).each(function(i,el){var src=el.src;var cached=jQuery.data(el,'imagesLoaded');if(cached&&cached.src===src){imgLoaded(el,cached.isBroken);return}
if(el.complete&&el.naturalWidth!==undefined){imgLoaded(el,el.naturalWidth===0||el.naturalHeight===0);return}
if(el.readyState||el.complete){el.src=BLANK;el.src=src}})}
return deferred?deferred.promise($this):$this};var $window=$(window),Modernizr=window.Modernizr;jQuery.Slicebox=function(options,element){this.$el=$(element);this._init(options)};jQuery.Slicebox.defaults={orientation:'r',perspective:1200,cuboidsCount:5,cuboidsRandom:!1,maxCuboidsCount:5,disperseFactor:0,colorHiddenSides:'#222',sequentialFactor:150,speed:600,easing:'ease',autoplay:!0,interval:3000,fallbackFadeSpeed:300,onBeforeChange:function(position){return!1},onAfterChange:function(position){return!1},onReady:function(){return!1},reverse:!1,};jQuery.Slicebox.prototype={_init:function(options){this.options=jQuery.extend(!0,{},jQuery.Slicebox.defaults,options);this._validate();this.$items=this.$el.children('li');this.itemsCount=this.$items.length;if(this.itemsCount===0){return!1};this.support=Modernizr.csstransitions&&Modernizr.csstransforms3d;this.current=0;this.isAnimating=!1;this.isReady=!1;var self=this;this.$el.imagesLoaded(function(){var $current=self.$items.eq(self.current).css('display','block').addClass('sb-current');var i=new Image();i.src=$current.find('img').attr('src');self.realWidth=i.width;self._setSize();self._setStyle();self._initEvents();self.options.onReady();self.isReady=!0;if(self.options.autoplay){self._startSlideshow()}})},_validate:function(options){if(this.options.cuboidsCount<0){this.options.cuboidsCount=1}else if(this.options.cuboidsCount>15){this.options.cuboidsCount=15}else if(this.options.cuboidsCount%2===0){++this.options.cuboidsCount}
if(this.options.maxCuboidsCount<0){this.options.maxCuboidsCount=1}else if(this.options.maxCuboidsCount>15){this.options.maxCuboidsCount=15}else if(this.options.maxCuboidsCount%2===0){++this.options.maxCuboidsCount}
if(this.options.disperseFactor<0){this.options.disperseFactor=0}
if(this.options.orientation!=='v'&&this.options.orientation!=='h'&&this.options.orientation!=='r'){this.options.orientation='v'}},_setSize:function(){var $visible=this.$items.eq(this.current).find('img');this.size={width:$visible.width(),height:$visible.height()}},_setStyle:function(){this.$el.css({'max-width':this.realWidth})},_initEvents:function(){var self=this;$window.on('debouncedresize.slicebox',function(event){self._setSize()})},_startSlideshow:function(){var self=this;this.slideshow=setTimeout(function(){self._navigate('next');if(self.options.autoplay){self._startSlideshow()}},this.options.interval)},_stopSlideshow:function(){if(this.options.autoplay){clearTimeout(this.slideshow);this.isPlaying=!1;this.options.autoplay=!1}},_navigate:function(dir,pos){if(this.isAnimating||!this.isReady||this.itemsCount<2){return!1}
this.isAnimating=!0;this.prev=this.current;if(pos!==undefined){this.current=pos}else if(dir==='next'){this.current=this.current<this.itemsCount-1?this.current+1:0}else if(dir==='prev'){this.current=this.current>0?this.current-1:this.itemsCount-1}
this.options.onBeforeChange(this.current);if(!this.support){this._fade(dir)}else{this._layout(dir);this._rotate()}},_fade:function(dir){var self=this,$visible=this.$items.eq(this.prev),h=$visible.find('img').height();this.$el.css('height',h);this.$items.css('position','absolute');this.$items.eq(this.current).fadeIn(this.options.fallbackFadeSpeed,function(){jQuery(this).css('display','block').addClass('sb-current');self.$el.css('height','auto');self.$items.css('position','relative');self.isAnimating=!1});self.$items.eq(self.prev).removeClass('sb-current').fadeOut(this.options.fallbackFadeSpeed)},_layout:function(dir){var orientation=this.options.orientation;if(orientation==='r'){orientation=Math.floor(Math.random()*2)===0?'v':'h'}
if(this.options.cuboidsRandom){this.options.cuboidsCount=Math.floor(Math.random()*this.options.maxCuboidsCount+1)}
this._validate();var boxStyle={'width':this.size.width,'height':this.size.height,'perspective':this.options.perspective+'px'},config=jQuery.extend(this.options,{size:this.size,items:this.$items,direction:dir,prev:this.prev,current:this.current,o:orientation}),self=this;this.$box=$('<div>').addClass('sb-perspective').css(boxStyle).appendTo(this.$el);this.cuboids=[];this.$el.css('overflow','visible');for(var i=0;i<this.options.cuboidsCount;++i){var cuboid=new jQuery.Cuboid(config,i);this.$box.append(cuboid.getEl());this.cuboids.push(cuboid)}},_rotate:function(){this.$items.eq(this.prev).removeClass('sb-current').hide();for(var i=0;i<this.options.cuboidsCount;++i){var cuboid=this.cuboids[i],self=this;cuboid.rotate(function(pos){if(pos===self.options.cuboidsCount-1){self.$el.css('overflow','hidden');self.isAnimating=!1;self.$box.remove();var $current=self.$items.eq(self.current);$current.css('display','block');setTimeout(function(){$current.addClass('sb-current')},0);self.options.onAfterChange(self.current)}})}},_destroy:function(callback){this.$el.off('.slicebox').removeData('slicebox');$window.off('.slicebox');callback.call()},add:function($items,callback){this.$items=this.$items.add($items);this.itemsCount=this.$items.length;if(callback){callback.call($items)}},next:function(){this._stopSlideshow();this._navigate('next')},previous:function(){this._stopSlideshow();this._navigate('prev')},jump:function(pos){pos-=1;if(pos===this.current||pos>=this.itemsCount||pos<0){return!1}
this._stopSlideshow();this._navigate(pos>this.current?'next':'prev',pos)},play:function(){if(!this.isPlaying){this.isPlaying=!0;this._navigate('next');this.options.autoplay=!0;this._startSlideshow()}},pause:function(){if(this.isPlaying){this._stopSlideshow()}},isActive:function(){return this.isAnimating},destroy:function(callback){this._destroy(callback)}};jQuery.Cuboid=function(config,pos){this.config=config;this.pos=pos;this.side=1;this._setSize();this._configureStyles()};jQuery.Cuboid.prototype={_setSize:function(){this.size={width:this.config.o==='v'?Math.floor(this.config.size.width/this.config.cuboidsCount):this.config.size.width,height:this.config.o==='v'?this.config.size.height:Math.floor(this.config.size.height/this.config.cuboidsCount)};this.extra=this.config.o==='v'?this.config.size.width-(this.size.width*this.config.cuboidsCount):this.config.size.height-(this.size.height*this.config.cuboidsCount)},_configureStyles:function(){var middlepos=Math.ceil(this.config.cuboidsCount/2),positionStyle=this.pos<middlepos?{zIndex:(this.pos+1)*100,left:(this.config.o==='v')?this.size.width*this.pos:0,top:(this.config.o==='v')?0:this.size.height*this.pos}:{zIndex:(this.config.cuboidsCount-this.pos)*100,left:(this.config.o==='v')?this.size.width*this.pos:0,top:(this.config.o==='v')?0:this.size.height*this.pos};this.disperseFactor=this.config.disperseFactor*((this.pos+1)-middlepos);this.style=jQuery.extend({'-webkit-transition':'-webkit-transform '+this.config.speed+'ms '+this.config.easing,'-moz-transition':'-moz-transform '+this.config.speed+'ms '+this.config.easing,'-o-transition':'-o-transform '+this.config.speed+'ms '+this.config.easing,'-ms-transition':'-ms-transform '+this.config.speed+'ms '+this.config.easing,'transition':'transform '+this.config.speed+'ms '+this.config.easing},positionStyle,this.size);var rotationDirection=this.config.reverse?'':'-';var oppositeRotationDirection=this.config.reverse?'-':'';this.animationStyles={side1:(this.config.o==='v')?{'transform':'translate3d( 0, 0, -'+(this.size.height/2)+'px )'}:{'transform':'translate3d( 0, 0, -'+(this.size.width/2)+'px )'},side2:(this.config.o==='v')?{'transform':'translate3d( 0, 0, -'+(this.size.height/2)+'px ) rotate3d( 1, 0, 0, '+rotationDirection+'90deg )'}:{'transform':'translate3d( 0, 0, -'+(this.size.width/2)+'px ) rotate3d( 0, 1, 0, '+rotationDirection+'90deg )'},side3:(this.config.o==='v')?{'transform':'translate3d( 0, 0, -'+(this.size.height/2)+'px ) rotate3d( 1, 0, 0, '+rotationDirection+'180deg )'}:{'transform':'translate3d( 0, 0, -'+(this.size.width/2)+'px ) rotate3d( 0, 1, 0, '+rotationDirection+'180deg )'},side4:(this.config.o==='v')?{'transform':'translate3d( 0, 0, -'+(this.size.height/2)+'px ) rotate3d( 1, 0, 0, '+rotationDirection+'270deg )'}:{'transform':'translate3d( 0, 0, -'+(this.size.width/2)+'px ) rotate3d( 0, 1, 0, '+rotationDirection+'270deg )'}};var measure=(this.config.o==='v')?this.size.height:this.size.width;this.sidesStyles={frontSideStyle:{width:(this.config.o==='v')?this.size.width+this.extra:this.size.width,height:(this.config.o==='v')?this.size.height:this.size.height+this.extra,backgroundColor:this.config.colorHiddenSides,transform:'rotate3d( 0, 1, 0, 0deg ) translate3d( 0, 0, '+(measure/2)+'px )'},backSideStyle:{width:this.size.width,height:this.size.height,backgroundColor:this.config.colorHiddenSides,transform:'rotate3d( 0, 1, 0, '+oppositeRotationDirection+'180deg ) translate3d( 0, 0, '+(measure/2)+'px ) rotateZ( '+oppositeRotationDirection+'180deg )'},rightSideStyle:{width:measure,height:(this.config.o==='v')?this.size.height:this.size.height+this.extra,left:(this.config.o==='v')?this.size.width/2-this.size.height/2:0,backgroundColor:this.config.colorHiddenSides,transform:'rotate3d( 0, 1, 0, '+oppositeRotationDirection+'90deg ) translate3d( 0, 0, '+(this.size.width/2)+'px )'},leftSideStyle:{width:measure,height:(this.config.o==='v')?this.size.height:this.size.height+this.extra,left:(this.config.o==='v')?this.size.width/2-this.size.height/2:0,backgroundColor:this.config.colorHiddenSides,transform:'rotate3d( 0, 1, 0, '+rotationDirection+'90deg ) translate3d( 0, 0, '+(this.size.width/2)+'px )'},topSideStyle:{width:(this.config.o==='v')?this.size.width+this.extra:this.size.width,height:measure,top:(this.config.o==='v')?0:this.size.height/2-this.size.width/2,backgroundColor:this.config.colorHiddenSides,transform:'rotate3d( 1, 0, 0, '+oppositeRotationDirection+'90deg ) translate3d( 0, 0, '+(this.size.height/2)+'px )'},bottomSideStyle:{width:(this.config.o==='v')?this.size.width+this.extra:this.size.width,height:measure,top:(this.config.o==='v')?0:this.size.height/2-this.size.width/2,backgroundColor:this.config.colorHiddenSides,transform:'rotate3d( 1, 0, 0, '+rotationDirection+'90deg ) translate3d( 0, 0, '+(this.size.height/2)+'px )'}}},getEl:function(){this.$el=$('<div/>').css(this.style).css(this.animationStyles.side1).append($('<div/>').addClass('sb-side').css(this.sidesStyles.frontSideStyle)).append($('<div/>').addClass('sb-side').css(this.sidesStyles.backSideStyle)).append($('<div/>').addClass('sb-side').css(this.sidesStyles.rightSideStyle)).append($('<div/>').addClass('sb-side').css(this.sidesStyles.leftSideStyle)).append($('<div/>').addClass('sb-side').css(this.sidesStyles.topSideStyle)).append($('<div/>').addClass('sb-side').css(this.sidesStyles.bottomSideStyle));this._showImage(this.config.prev);return this.$el},_showImage:function(imgPos){var sideIdx,$item=this.config.items.eq(imgPos),imgParam={'background-size':this.config.size.width+'px '+this.config.size.height+'px'};imgParam.backgroundImage='url('+$item.find('img').attr('src')+')';switch(this.side){case 1:sideIdx=0;break;case 2:sideIdx=(this.config.o==='v')?4:2;break;case 3:sideIdx=1;break;case 4:sideIdx=(this.config.o==='v')?5:3;break};imgParam.backgroundPosition=(this.config.o==='v')?-(this.pos*this.size.width)+'px 0px':'0px -'+(this.pos*this.size.height)+'px';this.$el.children().eq(sideIdx).css(imgParam)},rotate:function(callback){var self=this,animationStyle;setTimeout(function(){if(self.config.direction==='next'){switch(self.side){case 1:animationStyle=self.animationStyles.side2;self.side=2;break;case 2:animationStyle=self.animationStyles.side3;self.side=3;break;case 3:animationStyle=self.animationStyles.side4;self.side=4;break;case 4:animationStyle=self.animationStyles.side1;self.side=1;break}}else{switch(self.side){case 1:animationStyle=self.animationStyles.side4;self.side=4;break;case 2:animationStyle=self.animationStyles.side1;self.side=1;break;case 3:animationStyle=self.animationStyles.side2;self.side=2;break;case 4:animationStyle=self.animationStyles.side3;self.side=3;break}}
self._showImage(self.config.current);var animateOut={},animateIn={};if(self.config.o==='v'){animateOut.left='+='+self.disperseFactor+'px';animateIn.left='-='+self.disperseFactor+'px'}else if(self.config.o==='h'){animateOut.top='+='+self.disperseFactor+'px';animateIn.top='-='+self.disperseFactor+'px'}
self.$el.css(animationStyle).animate(animateOut,self.config.speed/2).animate(animateIn,self.config.speed/2,function(){if(callback){callback.call(self,self.pos)}})},this.config.sequentialFactor*this.pos+30)}};var logError=function(message){if(window.console){window.console.error(message)}};jQuery.fn.slicebox=function(options){var self=jQuery.data(this,'slicebox');if(typeof options==='string'){var args=Array.prototype.slice.call(arguments,1);this.each(function(){if(!self){logError("cannot call methods on slicebox prior to initialization; "+"attempted to call method '"+options+"'");return}
if(!jQuery.isFunction(self[options])||options.charAt(0)==="_"){logError("no such method '"+options+"' for slicebox self");return}
self[options].apply(self,args)})}else{this.each(function(){if(self){self._init()}else{self=jQuery.data(this,'slicebox',new jQuery.Slicebox(options,this))}})}
return self}})(jQuery,window);jQuery(function(){var Page=(function(){var $navArrows=jQuery('#nav-arrows').hide(),$navDots=jQuery('#nav-dots').hide(),$nav=$navDots.children('span'),$shadow=jQuery('#shadow').hide(),slicebox=jQuery('#sb-slider').slicebox({onReady:function(){$navArrows.show();$navDots.show();$shadow.show()},onBeforeChange:function(pos){$nav.removeClass('nav-dot-current');$nav.eq(pos).addClass('nav-dot-current')}}),init=function(){initEvents()},initEvents=function(){$navArrows.children(':first').on('click',function(){slicebox.next();return!1});$navArrows.children(':last').on('click',function(){slicebox.previous();return!1});$nav.each(function(i){jQuery(this).on('click',function(event){var $dot=jQuery(this);if(!slicebox.isActive()){$nav.removeClass('nav-dot-current');$dot.addClass('nav-dot-current')}
slicebox.jump(i+1);return!1})})};return{init:init}})();Page.init()});jQuery(document).ready(function(){;(function($,window,document,undefined){jQuery.fn.waltzer=function(config){var defaults={developerMode:!1,vertical:!1,scroll:1,offset:0,circular:!0,auto:!1,autoPause:1000,speed:300,easing:'swing',navBtns:!0,leftNavBtn:'left-nav-btn',rightNavBtn:'right-nav-btn',pager:!1,onCreate:null,onComplete:null,onForwardComplete:null,onBackwardComplete:null}
function plugin(container,config){this.options=jQuery.extend({},defaults,config);this.coreValues(container);this.utilities(this);this.actions(this);this.init(this)};plugin.prototype.coreValues=function(container){this.$container=container;this.$items=this.$container.children().not('.'+this.options.leftNavBtn+', .'+this.options.rightNavBtn);if(this.options.navBtns){$('<div class="'+this.options.leftNavBtn+'"></div>').appendTo(this.$container);$('<div class="'+this.options.rightNavBtn+'"></div>').appendTo(this.$container);this.$buttons=this.$container.find('.'+this.options.leftNavBtn+', .'+this.options.rightNavBtn)}
this.itemCount=this.$items.length;if(this.options.vertical){this.containerWidth=this.$container.outerHeight(!1);this.itemWidth=this.$items.outerHeight(!0);this.itemMarginWidth=this.itemWidth-this.$items.outerHeight(!1);this.containerHeight=this.containerWidth}else{this.containerWidth=this.$container.outerWidth(!1);this.itemWidth=this.$items.outerWidth(!0);this.itemMarginWidth=this.itemWidth-this.$items.outerWidth(!1);this.containerHeight=this.$items.outerHeight(!1)}
this.innerWrapperWidth=(this.itemWidth*this.itemCount);this.innerWrapperPos=0;this.speed=this.options.scroll*this.options.speed;this.scrollWidth=this.itemWidth*this.options.scroll;this.pageCount=1;this.options.circular=this.options.pager?!1:this.options.circular;if(this.itemCount%this.options.scroll!=0||((this.containerWidth/this.itemWidth)+1)<this.options.scroll){for(i=this.options.scroll-1;i>=1;i--){if(this.itemCount%i==0&&((this.containerWidth/this.itemWidth)+1)>i){this.options.scroll=i;break}}}}
plugin.prototype.utilities=function(self){this.cutAndPaste=function(direction){if(direction=='forward'){for(i=0;i<this.options.scroll;i++){this.innerWrapper.append(this.$items[i])}}else if(direction=='backward'){for(i=this.itemCount;i>=this.itemCount-this.options.scroll;i--){this.innerWrapper.prepend(this.$items[i])}}}
this.refreshItemList=function(){return this.$items=this.innerWrapper.children('div.item')}
this.updatePageCount=function(direction,amount){amount=amount==undefined||amount==!1?1:amount;for(i=0;i<amount;i++){if(direction=='forward'){if(this.pageCount<this.itemCount/this.options.scroll){this.pageCount++}else{this.pageCount=1}}else if(direction='backward'){if(this.pageCount>1){this.pageCount--}else{this.pageCount=this.itemCount/this.options.scroll}}}
if(this.options.pager){this.$container.find('.pager').children('span').removeClass('active');this.$container.find('.pager').children('span[data-button ='+this.pageCount+']').addClass('active')}}
this.addAuto=function(){if(this.options.auto){return setInterval(function(){self.move('forward')},this.options.autoPause)}
return!1}
this.removeAuto=function(){return this.options.auto?clearInterval(self.autoScroll):!1}
this.eventTrigger=function(events){if(typeof events=='string'){self.$container.trigger(events)}else{for(i=0;i<events.length;i++){self.$container.trigger(events[i])}}}
this.animateFunction=function(position,direction,amount){this.innerWrapper.animate(position,this.speed,this.easing,function(){self.updatePageCount(direction,amount);self.directionCallBack.resolve(direction);self.completeCallBack.resolve('completed');self.eventTrigger([direction+'Complete','moved'])})}}
plugin.prototype.actions=function(self){this.animate=function(direction,amount){if(this.innerWrapper.is(':animated')){return!1}
var posObject={},offset=this.options.vertical==!0?'top':'left',amount=amount==undefined||amount==!1?1:amount,scrollDistance=this.scrollWidth*amount;this.directionCallBack=jQuery.Deferred();this.completeCallBack=jQuery.Deferred();posObject[offset]=direction=='forward'?'-='+scrollDistance:'+='+scrollDistance;this.eventTrigger(direction);if(direction=='forward'){if((this.innerWrapperWidth+this.innerWrapperPos[offset])>this.containerWidth+this.itemWidth){this.animateFunction(posObject,direction,amount)}else if(this.options.circular){this.cutAndPaste('forward');this.innerWrapper.css(offset,this.innerWrapperPos[offset]+this.scrollWidth);this.animateFunction(posObject,direction,amount);this.refreshItemList()}else if(!this.options.circular){posObject[offset]=0;this.animateFunction(posObject,direction,amount)}}else if(direction=='backward'){if(this.innerWrapperPos[offset]<0){this.animateFunction(posObject,direction,amount)}else if(this.options.circular){this.cutAndPaste('backward');this.innerWrapper.css(offset,this.innerWrapperPos[offset]-this.scrollWidth);this.animateFunction(posObject,direction,amount);this.refreshItemList()}else if(!this.options.circular){if(this.scrollWidth<this.containerWidth){var marginWidth=this.containerWidth;while(marginWidth>0){marginWidth-=this.itemWidth}
posObject[offset]=(this.innerWrapperWidth-this.containerWidth+marginWidth)*-1}else{posObject[offset]=(this.innerWrapperWidth-this.scrollWidth)*-1}
this.animateFunction(posObject,direction,amount)}}
this.initCallBacks(this.directionCallBack,this.completeCallBack)},this.initCallBacks=function(direction,complete){if(self.options.onForwardComplete||self.options.onBackwardComplete){direction.done(function(data){if(data=='forward'){if(typeof self.options.onForwardComplete=='function'){self.options.onForwardComplete.call(self)}}else if(data=='backward'){if(typeof self.options.onBackwardComplete=='function'){self.options.onBackwardComplete.call(self)}}})}
if(typeof self.options.onComplete=='function'){complete.done(function(data){self.options.onComplete.call(self)})}}}
plugin.prototype.init=function(self){if(this.options.vertical){this.$items.wrapAll('<div class="innerWrapper" style="position:relative; height:'+this.innerWrapperWidth+'px;"></div>')}else{this.$items.wrapAll('<div class="innerWrapper" style="position:relative; width:'+this.innerWrapperWidth+'px;"></div>')}
this.innerWrapper=this.$container.children('div.innerWrapper');this.innerWrapper.wrap('<div class="mask" style="position:relative; overflow:hidden; width:100%; height:'+this.containerHeight+'px;"></div>');if(this.options.offset!=0){for(i=0;i<this.options.offset;i++){this.innerWrapper.append(this.$items[i])}
this.refreshItemList()}
if(this.options.onCreate&&typeof this.options.onCreate=='function'){this.options.onCreate.call(this)}
if(this.options.pager){this.$container.append('<div class="pager"></div>');var count=this.itemCount/this.options.scroll;for(i=0;i<count;i++){var state=this.pageCount==i+1?'active':'';this.$container.find('.pager').append('<span class="'+state+'" data-button="'+(i+1)+'"><span>'+(i+1)+'</span></span>')}
this.$container.on('click','.pager > span',function(){var currentPage=self.pageCount,newPage=$(this).attr('data-button');if(currentPage<newPage||currentPage>newPage){if(currentPage<newPage){self.move('forward',(newPage-currentPage))}else{self.move('backward',(newPage-currentPage)*-1)}}})}
if(this.options.auto){this.autoScroll=this.addAuto()}
if(this.options.developerMode){console.log(this)}
if(this.options.navBtns){this.$buttons.on('click',function(){if($(this).attr('class')==self.options.leftNavBtn){self.move('backward')}else if($(this).attr('class')==self.options.rightNavBtn){self.move('forward')}})}
if(this.options.auto){this.$container.on({mouseover:function(){return self.removeAuto()},mouseout:function(){return self.autoScroll=self.addAuto()}})}}
plugin.prototype.destroy=function(container){this.$container.find('.mask').after(this.$items).remove();if(this.options.navBtns){this.$buttons.off()}}
plugin.prototype.move=function(direction,amount){this.innerWrapperPos=this.innerWrapper.position();this.animate(direction,amount)}
this.each(function(){if(typeof config==="string"){$this=$(this).data('plugin_waltzerJS');if(config=='forward'||config=='backward'){$this.move.call($this,config)}else if(config=='stop'){$this.removeAuto()}else if(config=='start'){$this.autoScroll=$this.addAuto()}else if(config=='destroy'){$this[config].call($this)}}else if(!jQuery.data($(this),'plugin_waltzerJS')){$(this).data('plugin_waltzerJS',new plugin($(this),config))}});return this}})(jQuery,window,document)})
jQuery(document).ready(function(){(function($){var whichTransitionEvent=function(){var t,el=document.createElement("fakeelement"),transitions={"transition":"transitionend","OTransition":"oTransitionEnd","MozTransition":"transitionend","WebkitTransition":"webkitTransitionEnd"};for(t in transitions){if(el.style[t]!==undefined){return transitions[t]}}};var Flip=function($el,options,callback){this.setting={axis:"y",reverse:!1,trigger:"click",speed:500,forceHeight:!1,forceWidth:!1,autoSize:!0,front:'.front',back:'.back'};this.setting=jQuery.extend(this.setting,options);if(typeof options.axis==='string'&&(options.axis.toLowerCase()==='x'||options.axis.toLowerCase()==='y')){this.setting.axis=options.axis.toLowerCase()}
if(typeof options.reverse==="boolean"){this.setting.reverse=options.reverse}
if(typeof options.trigger==='string'){this.setting.trigger=options.trigger.toLowerCase()}
var speed=parseInt(options.speed);if(!isNaN(speed)){this.setting.speed=speed}
if(typeof options.forceHeight==="boolean"){this.setting.forceHeight=options.forceHeight}
if(typeof options.forceWidth==="boolean"){this.setting.forceWidth=options.forceWidth}
if(typeof options.autoSize==="boolean"){this.setting.autoSize=options.autoSize}
if(typeof options.front==='string'||options.front instanceof $){this.setting.front=options.front}
if(typeof options.back==='string'||options.back instanceof $){this.setting.back=options.back}
this.element=$el;this.frontElement=this.getFrontElement();this.backElement=this.getBackElement();this.isFlipped=!1;this.init(callback)};jQuery.extend(Flip.prototype,{flipDone:function(callback){var self=this;self.element.one(whichTransitionEvent(),function(){self.element.trigger('flip:done');if(typeof callback==='function'){callback.call(self.element)}})},flip:function(callback){if(this.isFlipped){return}
this.isFlipped=!0;var rotateAxis="rotate"+this.setting.axis;this.frontElement.css({transform:rotateAxis+(this.setting.reverse?"(-180deg)":"(180deg)"),"z-index":"0"});this.backElement.css({transform:rotateAxis+"(0deg)","z-index":"1"});this.flipDone(callback)},unflip:function(callback){if(!this.isFlipped){return}
this.isFlipped=!1;var rotateAxis="rotate"+this.setting.axis;this.frontElement.css({transform:rotateAxis+"(0deg)","z-index":"1"});this.backElement.css({transform:rotateAxis+(this.setting.reverse?"(180deg)":"(-180deg)"),"z-index":"0"});this.flipDone(callback)},getFrontElement:function(){if(this.setting.front instanceof $){return this.setting.front}else{return this.element.find(this.setting.front)}},getBackElement:function(){if(this.setting.back instanceof $){return this.setting.back}else{return this.element.find(this.setting.back)}},init:function(callback){var self=this;var faces=self.frontElement.add(self.backElement);var rotateAxis="rotate"+self.setting.axis;var perspective=self.element["outer"+(rotateAxis==="rotatex"?"Height":"Width")]()*2;var elementCss={'perspective':perspective,'position':'relative'};var backElementCss={"transform":rotateAxis+"("+(self.setting.reverse?"180deg":"-180deg")+")","z-index":"0","position":"relative"};var faceElementCss={"backface-visibility":"hidden","transform-style":"preserve-3d","position":"absolute","z-index":"1"};if(self.setting.forceHeight){faces.outerHeight(self.element.height())}else if(self.setting.autoSize){faceElementCss.height='100%'}
if(self.setting.forceWidth){faces.outerWidth(self.element.width())}else if(self.setting.autoSize){faceElementCss.width='100%'}
if((window.chrome||(window.Intl&&Intl.v8BreakIterator))&&'CSS' in window){elementCss["-webkit-transform-style"]="preserve-3d"}
faces.css(faceElementCss).find('*').css({"backface-visibility":"hidden"});self.element.css(elementCss);self.backElement.css(backElementCss);setTimeout(function(){var speedInSec=self.setting.speed/1000||0.5;faces.css({"transition":"all "+speedInSec+"s ease-out"});if(typeof callback==='function'){callback.call(self.element)}},20);self.attachEvents()},clickHandler:function(event){if(!event){event=window.event}
if(this.element.find($(event.target).closest('button, a, input[type="submit"]')).length){return}
if(this.isFlipped){this.unflip()}else{this.flip()}},hoverHandler:function(){var self=this;self.element.off('mouseleave.flip');self.flip();setTimeout(function(){self.element.on('mouseleave.flip',jQuery.proxy(self.unflip,self));if(!self.element.is(":hover")){self.unflip()}},(self.setting.speed+150))},attachEvents:function(){var self=this;if(self.setting.trigger==="click"){self.element.on(jQuery.fn.tap?"tap.flip":"click.flip",jQuery.proxy(self.clickHandler,self))}else if(self.setting.trigger==="hover"){self.element.on('mouseenter.flip',jQuery.proxy(self.hoverHandler,self));self.element.on('mouseleave.flip',jQuery.proxy(self.unflip,self))}},flipChanged:function(callback){this.element.trigger('flip:change');if(typeof callback==='function'){callback.call(this.element)}},changeSettings:function(options,callback){var self=this;var changeNeeded=!1;if(options.axis!==undefined&&self.setting.axis!==options.axis.toLowerCase()){self.setting.axis=options.axis.toLowerCase();changeNeeded=!0}
if(options.reverse!==undefined&&self.setting.reverse!==options.reverse){self.setting.reverse=options.reverse;changeNeeded=!0}
if(changeNeeded){var faces=self.frontElement.add(self.backElement);var savedTrans=faces.css(["transition-property","transition-timing-function","transition-duration","transition-delay"]);faces.css({transition:"none"});var rotateAxis="rotate"+self.setting.axis;if(self.isFlipped){self.frontElement.css({transform:rotateAxis+(self.setting.reverse?"(-180deg)":"(180deg)"),"z-index":"0"})}else{self.backElement.css({transform:rotateAxis+(self.setting.reverse?"(180deg)":"(-180deg)"),"z-index":"0"})}
setTimeout(function(){faces.css(savedTrans);self.flipChanged(callback)},0)}else{self.flipChanged(callback)}}});jQuery.fn.flip=function(options,callback){if(typeof options==='function'){callback=options}
if(typeof options==="string"||typeof options==="boolean"){this.each(function(){var flip=$(this).data('flip-model');if(options==="toggle"){options=!flip.isFlipped}
if(options){flip.flip(callback)}else{flip.unflip(callback)}})}else{this.each(function(){if($(this).data('flip-model')){var flip=$(this).data('flip-model');if(options&&(options.axis!==undefined||options.reverse!==undefined)){flip.changeSettings(options,callback)}}else{$(this).data('flip-model',new Flip($(this),(options||{}),callback))}})}
return this}}(jQuery));jQuery(function(){jQuery('.flip').flip({trigger:'hover'})})})
function slideShow(){this.slides=jQuery('#slideshow > *');this.count=this.slides.length-1;this.initslide=0;this.auto=null;this.selectTitles();this.ActivateAuto()};slideShow.prototype.selectTitles=function(){var that=this;jQuery('#slideshow > * > img').each(function(i){jQuery('select').append('<option val="'+i+'">'+jQuery(this).attr('alt')+'</option>')});jQuery('select').change(this.onChange.bind(this))};slideShow.prototype.nextSlide=function(){this.initslide=(this.initslide++>=this.count)?0:this.initslide++;this.animateSlide()};slideShow.prototype.animateSlide=function(){var currentSlide=this.initslide;var nextSlide=((currentSlide+1)>this.count)?0:currentSlide+1;var prevSlide=((currentSlide-1)<0)?this.count-1:currentSlide-1;jQuery('#slideshow > *').removeClass().not(jQuery('#slideshow > *').filter(function(index){return index===currentSlide||index===nextSlide||index===prevSlide})).addClass('left');jQuery('#slideshow > *:eq('+prevSlide+')').addClass('left');jQuery('#slideshow > *:eq('+nextSlide+')').addClass('right');jQuery('#slideshow > *:eq('+currentSlide+')').addClass('front');jQuery('select option').removeAttr("selected");jQuery('select option:eq('+currentSlide+')').prop('selected',!0)};slideShow.prototype.ActivateAuto=function(){var that=this;this.animateSlide();this.auto=window.setInterval(function(){that.nextSlide()},4000)};slideShow.prototype.onChange=function(e){window.clearInterval(this.auto);var that=this;var s=jQuery('select option:selected').index();var jump=this.initslide-s;if(Math.abs(jump)>1){if(jump<0){this.initslide++;this.animateSlide();var rep=setInterval(function(){that.initslide++;that.animateSlide();if(that.initslide===s){window.clearInterval(rep);that.ActivateAuto()}},500)}else{this.initslide--;this.animateSlide();var rep=setInterval(function(){that.initslide--;that.animateSlide();if(that.initslide===s){window.clearInterval(rep);that.ActivateAuto()}},500)}}else{this.initslide=s;this.ActivateAuto()}};jQuery("#post-form").submit((function(e){e.preventDefault();var a=jQuery(this),r=a.find('input[name="uid"]').val(),n=a.find('input[name="pid"]').val();file_data=jQuery("#userupload form #file").prop("files")[0],form_data=new FormData,form_data.append("image",file_data),form_data.append("action","insurance_form_data"),form_data.append("uid",r),form_data.append("pid",n);var t=window.location.origin;jQuery.ajax({url:"../wp-admin/admin-ajax.php",type:"POST",contentType:!1,processData:!1,data:form_data,beforeSend:function(){jQuery("#userupload").append('<div class="userupload_inner"></div>');jQuery("#userupload .userupload_inner").append('<img  class="useruploadspan" src='+t+'"/wp-content/themes/digino/images/unnamed.gif">'),jQuery("#user_upload_error ul").find("li").remove()},success:function(e){var a=jQuery.parseJSON(e);if(jQuery("#user_upload_error").fadeOut(),void 0!==a.pic_num_error&&1==a.pic_num_error)return jQuery("#userupload .userupload_inner ").find(".useruploadspan").remove(),jQuery("#userupload > .userupload_inner").append("<img src="+t+'"/wp-content/themes/digino/images/uploadfailed.png"><i   class="fas fa-trash"  data-na="'+r+'"  data-tar="'+n+'" id="removeupload" onclick="re(this)" ></i>'),jQuery("#user_upload_error").fadeIn(),void jQuery("#user_upload_error ul").append('<li><i class="fas fa-exclamation red ml15"></i>شما 3 فایل تصویری آپلود کرده اید حداکثر تعداد مجاز آپلود عکس 3 تصویر میباشد</li>');if(void 0!==a.mov_num_error&&1==a.mov_num_error)return jQuery("#userupload .userupload_inner ").find(".useruploadspan").remove(),jQuery("#userupload > .userupload_inner").append("<img src="+t+'"/wp-content/themes/digino/images/uploadfailed.png"><i   class="fas fa-trash"  data-na="'+r+'"  data-tar="'+n+'" id="removeupload" onclick="re(this)" ></i>'),jQuery("#user_upload_error").fadeIn(),void jQuery("#user_upload_error").append('<li><i class="fas fa-exclamation red ml15"></i>شما 1 فایل ویدئویی آپلود کرده اید حداکثر تعداد مجاز آپلود ویدئو 1 ویدئو میباشد</li>');if(void 0!==a.ext_error&&(jQuery("#user_upload_error").fadeIn(),jQuery("#userupload .userupload_inner ").find(".useruploadspan").remove(),jQuery("#userupload > .userupload_inner").append("<img src="+t+'"/wp-content/themes/digino/images/uploadfailed.png"><i   class="fas fa-trash"  data-na="'+r+'"  data-tar="'+n+'" id="removeupload" onclick="re(this)" ></i>'),jQuery("#user_upload_error ul").append('<li><i class="fas fa-exclamation red ml15"></i>پسوند فایل مجاز نمیباشد</li>')),void 0!==a.ext_error&&(jQuery("#user_upload_error").fadeIn(),jQuery("#userupload .userupload_inner ").find(".useruploadspan").remove(),jQuery("#user_upload_error ul").append('<li><i class="fas fa-exclamation red ml15"></i>اندازه فایل مجاز نمیباشد</li>')),"undefined"!=a.name){var r=a.name,n=a.target;jQuery("#userupload .userupload_inner ").find(".useruploadspan").remove(),jQuery("#userupload > .userupload_inner").append('<img src="'+a.t+'"><i   class="fas fa-trash"  data-na="'+r+'"  data-tar="'+n+'" id="removeupload" onclick="re(this)" ></i>'),jQuery("#file").val("")}},error:function(e,a,r){}})}));let cat_menu=jQuery(".cat_menu"),sub_cat_menu=jQuery(".sub_cat_menu"),sub_cat_menu_li=jQuery(".sub_cat_menu li");cat_menu.hover((function(){sub_cat_menu.css("display","flex"),jQuery(".sub_cat_menu_term ul li:first-child").addClass("active")})),cat_menu.mouseleave((function(){sub_cat_menu.css("display","none")})),jQuery(".sub_cat_menu_term ul li:first-child .sub_cat_menu_term_sub_cat2").css("display","flex"),jQuery(".uq_content .uq_content_ua").click((function(){jQuery(this).parents(".uq_section").find(".uq_mark_a_section").css("display","block")}));var inter=setInterval(wow_wow,5700);function wow_wow(e){let a=jQuery("#wow_on "),r=parseInt(jQuery(a).css("width"));a.css("width","0%"),r<100&&(a.animate({width:"100%"},2500),a.animate({width:"0%"},2500))}
function submenu_show(e){let a=jQuery(".sub_cat_menu_term ul li");e=jQuery(e),a.removeClass("active"),e.addClass("active"),jQuery(".sub_cat_menu_term_sub_cat2").css("display","none"),jQuery(".sub_cat_menu_term_sub_cat2",e).css("display","flex")}
jQuery(".next").click((function(){sliderscroll("left")}))
jQuery(".prev").click((function(){sliderscroll("right")}));var sliderTag=jQuery("#slider"),sliderItems=sliderTag.find(".item"),numItems=sliderItems.length,nextSlide=1,timeOut=5e3,sliderNavigators=sliderTag.find("#slider_navigator ul li");function slider(){nextSlide>numItems&&(nextSlide=1),nextSlide<1&&(nextSlide=numItems),sliderItems.fadeOut(0),sliderItems.eq(nextSlide-1).fadeIn(100),sliderNavigators.removeClass("active"),sliderNavigators.eq(nextSlide-1).addClass("active"),nextSlide++}
slider();var sliderInterval=setInterval(slider,timeOut);function goTonext(){slider()}
function goToprev(){nextSlide-=2,slider()}
function goToSlide(e){nextSlide=e,slider()}
sliderTag.mouseleave((function(){clearInterval(sliderInterval),sliderInterval=setInterval(slider,timeOut)})),jQuery("#slider #next").click((function(){clearInterval(sliderInterval),goTonext()})),jQuery("#slider #prev").click((function(){clearInterval(sliderInterval),goToprev()})),jQuery("#slider #slider_navigator li").hover((function(){clearInterval(sliderInterval),goToSlide(jQuery(this).index()+1)}),(function(){})),jQuery("button").click((function(){slider()}));var sliderTag2=jQuery("#slider2"),sliderItems2=sliderTag2.find(".item"),numItems2=sliderItems2.length,nextSlide2=1,timeOut2=5e3,sliderNavigators2=sliderTag2.find("#slider2_navigator ul li");function slider2(){nextSlide2>numItems2&&(nextSlide2=1),nextSlide2<1&&(nextSlide2=numItems2),sliderItems2.fadeOut(0),sliderItems2.eq(nextSlide2-1).fadeIn(100),sliderNavigators2.removeClass("active"),sliderNavigators2.eq(nextSlide2-1).addClass("active"),nextSlide2++}
slider2();var sliderInterval2=setInterval(slider2,timeOut);function goToSlide2(e){nextSlide2=e,slider2()}
function sliderscroll(e,a){var r=jQuery(a).parents(".sliderscroll"),n=r.width();if(n<768)var t=1;else t=5;if(n<768)var i=n/1;else i=n/5;if(n<768)var o=400;else o=n;var u=r.find(".sliderscroll_main ul"),s=u.find("li");n>768&&s.css("width",i);var c,d=s.length,l=-(Math.ceil(d/t)-1)*o;u.css("width",d*i);var _=u.css("margin-right");_=parseFloat(_),"right"==e&&(c=_-o),"left"==e&&(0==_||(c=_+o)),c<l&&(c=0),c>0&&(c=l),u.animate({marginRight:c},1e3)}
function helpful(e){var a=jQuery(e).find(".uc_comment-useful_yes_no"),r=a.data("uid"),n=a.data("pid"),t=a.data("comid");a.text("..."),jQuery.ajax({url:ajax_data.aju,type:"post",data:{action:"custom_comment_helpful",pid:n,comid:t,uid:r},success:function(e){a.text(e),helpfulbypass(r,n,t)}})}
function useful(e){var a=jQuery(e).find(".uc_comment-useful_no_no"),r=a.data("uid"),n=a.data("pid"),t=a.data("comid");a.text("..."),jQuery.ajax({url:ajax_data.aju,type:"post",data:{action:"custom_comment_Useless",pid:n,uid:r,comid:t},success:function(e){a.text(e),usefulbypass(r,n,t)}})}
function helpfulbypass(e,a,r){var n=jQuery(".uc_comment-useful_no_no[data-comid='"+r+"']");n.text("..."),jQuery.ajax({url:ajax_data.aju,type:"post",data:{action:"custom_comment_Useless_bypass",pid:a,uid:e,comid:r},success:function(e){n.text(e)}})}
function usefulbypass(e,a,r){var n=jQuery(".uc_comment-useful_yes_no[data-comid='"+r+"']");n.text("..."),jQuery.ajax({url:ajax_data.aju,type:"post",data:{action:"custom_comment_useful_bypass",pid:a,uid:e,comid:r},success:function(e){n.text(e)}})}
function re(e){var a=jQuery(e);a.parent(".userupload_inner").remove();var r=a.parent(".userupload_inner").find("img").attr("src"),n=a.data("na"),t=a.data("tar");jQuery.ajax({url:ajax_data.aju,type:"post",data:{action:"remove_user_uploaded",sr:r,na:n,target:t},success:function(e){}})}
function clipic(e){var a=jQuery(e),r=a.data("src"),n=a.parents(".cup_r").find(".cup_r_full"),t=n.find("img"),i=n.find("video");t.remove(),i.remove(),n.append('<img src="'+r+'">')}
function clivid(e){var a=jQuery(e),r=a.data("src"),n=a.parents(".cup_r").find(".cup_r_full"),t=n.find("video"),i=n.find("img");t.remove(),i.remove(),n.append('<video src="'+r+'" autoplay controls></video>')}
sliderTag2.mouseleave((function(){clearInterval(sliderInterval2),sliderInterval2=setInterval(slider2,timeOut2)})),jQuery("#slider2 #slider2_navigator li").click((function(){clearInterval(sliderInterval2),goToSlide2(jQuery(this).index()+1)})),jQuery(".single_short_more").click((function(){jQuery("a.single_short_less").addClass("active"),jQuery("a.single_short_more").removeClass("active"),jQuery(".single_short_desc").addClass("heightAuto"),jQuery("a.single_short_more.active::after").css("opacity",0)})),jQuery("a.single_short_less").click((function(){jQuery("a.single_short_less").removeClass("active"),jQuery(".single_short_more").addClass("active"),jQuery(".single_short_desc").removeClass("heightAuto")})),jQuery(".reset_variations").text("بازنشانی"),jQuery("jet-compare-button__icon").css("with","158"),jQuery(".fa-balance-scale").css("float","right"),jQuery(".jet-compare-button__icon").prepend('<span class="jet-compare-button-append">مقایسه محصولات</span>'),jQuery(".fa-balance-scale").hover((function(){jQuery(".jet-compare-button-append").css("display","inline")})),jQuery(".fa-balance-scale").mouseleave((function(){jQuery(".jet-compare-button-append").css("display","none")})),jQuery(".jet-wishlist-button__icon").css("with","158"),jQuery(".fa-heart").css("float","right"),jQuery(".jet-wishlist-button__icon").prepend('<span class="jet-wishlist-button__icon-append">علاقه مندی ها</span>'),jQuery(".fa-heart").hover((function(){jQuery(".jet-wishlist-button__icon-append").css("display","inline")})),jQuery(".fa-heart").mouseleave((function(){jQuery(".jet-wishlist-button__icon-append").css("display","none")})),jQuery(".elementor-share-btn__icon").css("width","158"),jQuery(".elementor-share-btn__icon").css("background","transparent"),jQuery(".elementor-share-btn__icon >i").css("position","relative"),jQuery(".elementor-share-btn__icon-append").css("text-alighn","center"),jQuery(".elementor-share-btn__icon > i").css("right","-60px"),jQuery(".elementor-share-btn__icon > i").css("float","right"),jQuery(".elementor-share-btn__icon").prepend('<span class="elementor-share-btn__icon-append">اشتراک گذاری</span>'),jQuery(".elementor-share-btn__icon").hover((function(){findelement=jQuery(this).find(".elementor-share-btn__icon-append"),findelement.css("display","inline")})),jQuery(".elementor-share-btn__icon ").mouseleave((function(){findelement=jQuery(this).find(".elementor-share-btn__icon-append"),findelement.css("display","none")})),jQuery(".slider").on("input change",(function(){var e=this.value;if(1==e)var a="بد";if(2==e)a="متوسط";if(3==e)a="خوب";if(4==e)a="خیلی خوب";if(5==e)a="عالی";jQuery(this).next(jQuery(".slider_label")).html(a)})),jQuery("#submit_comment").on("click",(function(e){jQuery("#error p").remove();var a,r=jQuery(this).parents("#custom_comment_form"),n=r.find("#pid").val(),t=r.find("#quality").val(),i=r.find("#Innovation").val(),o=r.find("#cost").val(),u=r.find("#profile_comment_url").val(),s=r.find("#design").val(),c=r.find("#titr_comment").val(),d=r.find("#desc").val(),l=r.find("#proposal").val(),_=r.find("#positive").val(),p=r.find("#negative").val(),f=r.find("#slug_comment").val(),y=0,j=0;if(""==c&&(y=1,a=1),""==d&&(j=1,a=1),a){if(1==y){jQuery("#error").append('<p class="e1 red"></p>'),jQuery("#error .e1").text("پرکردن فیلد عنوان نظر الزامی است")}
if(1==j){jQuery("#error").append('<p class="e2 red"></p>'),jQuery("#error .e2").text("پرکردن فیلد متن نظر الزامی است")}}else jQuery.ajax({url:ajax_data.aju,type:"POST",data:{" action":"add_cu_comment",pid:n,quality:t,Innovation:i,cost:o,design:s,titr_comment:c,desc:d,positive:_,negative:p,proposal:l},beforeSend:function(){jQuery("#submit_comment").val("در حال ثبت نظر ...")},success:function(e){jQuery("#dark").fadeOut(),jQuery("#submit_comment").val("ثبت نظر"),"error"==e?(alert("شما قبلا برای این محصول نظر ثبت کرده اید"),window.location.href=f):(jQuery("#submit_comment").val("ثبت نظر")," "==u&&(jQuery("#error_ok").fadeIn(),window.open(f))," "!=u&&(jQuery("#error_ok").fadeIn(),jQuery("#error_ok").fadeOut(3e3),window.open(f,"_self")))}})})),jQuery("#myform").submit((function(e){var a=jQuery(this);console.log(a),e.preventDefault()})),jQuery(".q_text_form_submit").on("click",(function(e){var a=jQuery(this),r=a.parents(".q-form"),n=r.find("#pid").val(),t=r.find("#uid").val(),i=r.find(".q_text").val(),o=r.find(".answer_error"),u=r.find(".answer_error p"),s=r.find(".answer_ok"),c=r.find(".answer_ok p"),d="",l=i.length;l<10&&(d="حداقل تعداد حروف باید 10 حرف باشد",u.text(d),o.fadeIn()),l>=10&&(d="",o.text(d),o.fadeOut(),jQuery.ajax({url:ajax_data.aju,type:"POST",data:{action:"add_user_question",pid:n,uid:t,question:i},beforeSend:function(){a.text("درحال ثبت ...")},success:function(e){jQuery("#dark").fadeOut(),ok="پرسش شما با موفقیت ثبت شد",c.text(ok),s.fadeIn();var a=new URL(window.location.href);window.location.href=a}}))})),jQuery(".answer_ok i").on("click",(function(e){jQuery(this).parents("#q-form").find(".answer_ok").remove()})),jQuery(".uqa_form_submit").on("click",(function(e){var a=jQuery(this),r=a.parent(".uqa"),n=r.find(".pid").val(),t=r.find(".uid").val(),i=r.find(".a_text").val(),o=r.find(".a_text").data("uqi"),u=r.find(".answer_error"),s=r.find(".answer_error p"),c=r.find(".answer_ok"),d=r.find(".answer_ok p"),l="",_=i.length;_<10&&(l="حداقل تعداد حروف باید 10 حرف باشد",s.text(l),u.fadeIn()),_>=10&&(l="",u.text(l),u.fadeOut(),jQuery.ajax({url:ajax_data.aju,type:"POST",data:{action:"add_user_answer",pid:n,uid:t,answer:i,parent:o,beforeSend:function(){a.text("در حال ثبت ...")},success:function(e){ok="پرسش شما با موفقیت ثبت شد",d.text(ok),c.fadeIn(),setTimeout((function(){window.location=window.location}),5e3)}}}))})),jQuery(".answer_ok i").on("click",(function(e){jQuery(this).parents(".uqa").find(".answer_ok").remove()})),jQuery(".up_click").click((function(){var e=jQuery(this),a=e.data("cuid"),r=e.data("cpid"),n=e.data("usrc");jQuery.ajax({url:ajax_data.aju,type:"POST",data:{action:"test",uid:a,pid:r,src:n},success:function(e){var a=JSON.parse(e),r="";if(1==a.proposal)r="<span class='bpt' ><i class='fas fa-thumbs-up'></i>خرید این محصول را توصیه میکنم</span>";else r="<span class='bpt red' ><i class='fas fa-thumbs-down red'></i>خرید این محصول را توصیه نمیکنم</span>";var n=' <div class="cup_title">\n    <span>دیدگاه خریدار</span>\n <div class="line"></div>\n\n    </div>\n\n<div class="cup_r">\n   <div class="cup_r_full">\n    </div>\n    <div class="cup_r_thumb">\n        <ul>\n        </ul>\n    </div>\n</div>\n<div class="cup_l">\n\n <div class="cup_l_header">\n     <ul>\n         <li><span>'+a.cdate+'</span></li>\n         <li><i class="fas fa-circle"></i><span> '+a.uinfo.data.user_nicename+' </span></li>\n     </ul>\n </div>\n    <div class="line"></div>'+r+' \n    <div class="cup_desc">\n        <p>'+a.comments.description+'</p>\n   <div class="line"></div>\n        <div class="cup_desc_like_dis">\n            <ul>\n            </ul>\n        </div>\n    </div>\n</div>';jQuery(".cup").append(n),jQuery.each(a.comments_positive,(function(e,a){jQuery(".cup_desc_like_dis ul").remove("li"),jQuery(".cup_desc_like_dis ul").append('<li class="cup_desc_like"><i class="fas fa-plus"></i>'+a+"</li>")})),jQuery.each(a.comments_negative,(function(e,a){jQuery(".cup_desc_like_dis ul").append('<li class="cup_desc_like"><i class="fas fa-minus"></i>'+a+"</li>")})),a.link_pic&&jQuery.each(a.link_pic,(function(e,a){jQuery(".cup_r .cup_r_thumb ul").append(' <li data-src="'+a+'" onclick="clipic(this)"><img src="'+a+'" alt="" ></li>')})),a.link_vid&&jQuery.each(a.link_vid,(function(e,a){jQuery(".cup_r .cup_r_thumb ul").append(' <li class="vidli" data-src="'+a+'" onclick="clivid(this)"></li>')})),jQuery(".cup").fadeIn(),jQuery(".cup_r_thumb ul li").click((function(){var e=jQuery(this);jQuery(".cup_r_thumb ul li").removeClass("active"),e.addClass("active")})),jQuery(".cup_r_thumb ul li:first-child").click(),jQuery("#dark").css("display","block")}})})),jQuery(".fa-close").click((function(){jQuery(this).parents(".cup").fadeOut(),jQuery("#dark").css("display","none");var e=jQuery(".cup").find(".cup_title"),a=jQuery(".cup").find(".cup_r"),r=jQuery(".cup").find(".cup_l");e.remove(),a.remove(),r.remove(),jQuery(".cup_r .cup_r_thumb ul").find("li").remove(),negli=jQuery(".cup_desc_like_dis ul").find("li"),negli.remove()})),jQuery(document).on("click",".c-product-remove",(function(e){$this=jQuery(this);var e=$this.data(e),a=$this.parents(".product-quantity").find(".cart_item_remove_box");jQuery("#dark").fadeIn(),a.fadeIn(),a.css("transform","scale(1)"),jQuery(".ldio-6eenmlg9vnv").css("display","none")})),jQuery(".remove_yes a").click((function(){jQuery(this);jQuery("#dark").fadeOut(),jQuery(".cart_item_remove_box").fadeOut()})),jQuery(document).on("click",".c-cart-plus",(function(){var e=jQuery(this).parents(".mi-div").find(".quantity input"),a=parseInt(jQuery(e).val());e.val(a+1).change()
jQuery(".c-update_cart").click()})),jQuery(document).on("click",".c-cart-minus",(function(){var e=jQuery(this).parents(".mi-div").find(".quantity input"),a=parseInt(jQuery(e).val());if(0!==a){e.val(a-1).change()
jQuery(".c-update_cart").click()}})),jQuery(document).on("click",".remove_yes",(function(){var e=jQuery(this);jQuery(".cart_item_remove_box").css("display","none"),jQuery("#dark").fadeOut();e.click();location.reload()})),jQuery(document).on("click",".add_last_pur",(function(){var e=jQuery(this),a=e.data("uei")-15,r=e.data("ppid"),n=e.parents(".cart_item_remove_box"),t=n.find(".remove").attr("href");jQuery(".c-update_cart").click();jQuery.ajax({url:ajax_data.aju,type:"POST",beforeSend:function(){n.find("p").text("در حال حذف از سبد خرید...")},data:{" action":"add_product_to_lastbasket",pid:r,uid:a},success:function(e){var a=e;1==a&&(window.location.href=t,alert("این محصول در در لیست خرید بعدی شما موجود است"),location.reload()),2==a&&(window.location.href=t,alert("محصول به لیست خرید بعدی شما اضافه شد"),location.reload())}}),window.location.href=t,location.reload(),n.fadeOut(),jQuery("#dark").fadeOut()})),jQuery(document).on("click",".cart_close",(function(e){jQuery("#dark").css('display','none'),jQuery(".cart_item_remove_box").fadeOut(),jQuery(".cart_item_remove_box").css("transform","scale(0)")})),jQuery(document).on("click",".add_last_basket",(function(){var e=jQuery(this),ajax_animation=e.find('.rm_txt'),a=e.data("uei")-15,r=e.data("ppid"),n=e.parents(".cart_item_remove_box").find(".remove").attr("href");jQuery(".c-update_cart").click();jQuery.ajax({url:ajax_data.aju,type:"POST",beforeSend:function(){ajax_animation.css({'opacity':1,'visibility':'visible'})},data:{" action":"add_product_to_lastbasket",pid:r,uid:a},success:function(e){1&&(window.location.href=n,ajax_animation.css({'opacity':0,'visibility':'hidden'}),alert("این"+" محصول در در لیست خرید بعدی شما موجود است")),2&&(window.location.href=n,alert("محصول به لیست خرید بعدی شما اضافه شد"),location.reload())}})})),jQuery(document).on("click",".last_box_close_icon",(function(){jQuery(this);jQuery(".last_basket_item_remove_box").fadeOut(),jQuery(".last_basket_item_remove_box").css("transform","scale(0)"),jQuery("#dark").fadeOut()})),jQuery(document).on("click",".last_basket_product_remove",(function(){var e=jQuery(this).parent(".product-quantity").find(".last_basket_item_remove_box");e.fadeIn(),e.css("transform","scale(1)"),jQuery("#dark").fadeIn(),jQuery(".loadingio-spinner-eclipse-rp924nvzr7l").fadeOut()})),jQuery(document).on("click",".delet_last_basket_product_yes",(function(){var e=jQuery(this),a=e.data("ppid"),r=e.data("uei")-15;jQuery.ajax({url:ajax_data.aju,type:"POST",beforeSend:function(){},complete:function(){},data:{" action":"remove_product_from_lastbasket",pid:a,uid:r},success:function(a){e.parents("li").remove(),jQuery(".last_basket_item_remove_box").fadeOut(),jQuery("#dark").fadeOut(),location.reload()}})})),jQuery(document).on("click",".cart_tab li",(function(){var e=jQuery(this);jQuery(".cart_tab li").removeClass("active"),e.addClass("active");var a=parseInt(e.index());0==a&&(jQuery(".tab_content .tab_content_last_basket").fadeOut(),jQuery(".tab_content .tab_content_basket").fadeIn()),1==a&&(jQuery(".tab_content .tab_content_basket").fadeOut(),jQuery(".tab_content .tab_content_last_basket").fadeIn())})),jQuery(document).on("click",".last_basket_add_to_cart",(function(){var e=jQuery(this).parent(".product-quantity").find(".last_basket_add_remove_to_cart_box");e.fadeIn(),e.css("transform","scale(1)"),jQuery("#dark").fadeIn(),jQuery(".loadingio-spinner-eclipse-rp924nvzr7l").fadeOut()})),jQuery(document).on("click",".last_box_close_icon",(function(){jQuery(this);jQuery(".last_basket_add_remove_to_cart_box").css("transform","scale(0)"),jQuery(".last_basket_add_remove_to_cart_box").fadeOut(),jQuery("#dark").fadeOut()})),jQuery(document).on("click",".delet_last_basket_add_to_cart_yes",(function(){var e=jQuery(this),a=e.data("ppid"),r=e.data("uei")-15;e.parents(".last_basket_add_remove_to_cart_box").find(".add_to_cart_link").attr("href");jQuery.ajax({url:ajax_data.aju,type:"POST",beforeSend:function(){},complete:function(){},data:{action:"remove_product_from_lastbasket",pid:a,uid:r},success:function(a){e.parents("li").remove(),jQuery(".last_basket_item_remove_box").fadeOut(),jQuery("#dark").fadeOut(),alert("محصول به سبد خرید شما اضافه شد"),window.reload()}})})),jQuery(document).on("click",".profile-edit span",(function(){jQuery(this);jQuery(".edit_box").fadeIn(),jQuery("#dark").fadeIn()})),jQuery(document).on("click",".close_icon",(function(){var e=jQuery(this);edit_box_parent=e.parent(".edit_box"),edit_box_parent.fadeOut(),jQuery("#dark").fadeOut()})),jQuery(document).on("click",".edit_icon",(function(){jQuery(this).parents("td").find(".edit_box").fadeIn(),jQuery("#dark").fadeIn()})),jQuery(".edit_box  input").click((function(){var e=jQuery(this),a=e.parents(".edit_box").find(".btn-send_information");e.keyup((function(){0==e.val().length?a.attr("disabled",!0):a.attr("disabled",!1)}))})),jQuery(document).ready((function(){jQuery("#email_change").submit((function(e){e.preventDefault();var a=jQuery(this),r=a.find('input[name="edit_prof_email"]').val(),n=a.find('input[name="user_id"]').val();jQuery.ajax({url:"../wp-admin/admin-ajax.php",type:"POST",data:{action:"profile_update",user_email:r,user_id:n},beforeSend:function(){jQuery(".edit_box").fadeOut(),jQuery("#dark").fadeOut()},success:function(e){window.location.reload()}})}))})),jQuery(document).ready((function(){jQuery("#name-family").submit((function(e){e.preventDefault();var a=jQuery(this),r=a.find('input[name="edit_prof_name"]').val(),n=a.find('input[name="edit_prof_lname"]').val(),t=a.find('input[name="user_id"]').val();jQuery.ajax({url:"../wp-admin/admin-ajax.php",type:"POST",data:{action:"profile_update",user_name:r,user_lname:n,user_id:t},beforeSend:function(){jQuery(".edit_box").fadeOut(),jQuery("#dark").fadeOut()},success:function(e){window.location.reload()}})}))})),jQuery(document).ready((function(){jQuery("#tel_change").submit((function(e){e.preventDefault();var a=jQuery(this),r=a.find('input[name="edit_prof_phone"]').val(),n=a.find('input[name="user_id"]').val();jQuery.ajax({url:"../wp-admin/admin-ajax.php",type:"POST",data:{action:"profile_update",user_tel:r,user_id:n},beforeSend:function(){jQuery(".edit_box").fadeOut(),jQuery("#dark").fadeOut()},success:function(e){window.location.reload()}})}))})),jQuery(document).ready((function(){jQuery("#post_change").submit((function(e){e.preventDefault();var a=jQuery(this),r=a.find('input[name="edit_prof_post"]').val(),n=a.find('input[name="user_id"]').val();jQuery.ajax({url:"../wp-admin/admin-ajax.php",type:"POST",data:{action:"profile_update",user_post:r,user_id:n},beforeSend:function(){jQuery(".edit_box").fadeOut(),jQuery("#dark").fadeOut()},success:function(e){window.location.reload()}})}))})),jQuery(document).ready((function(){jQuery("#meli_change").submit((function(e){e.preventDefault();var a=jQuery(this),r=a.find('input[name="edit_prof_meli"]').val(),n=a.find('input[name="user_id"]').val();jQuery.ajax({url:"../wp-admin/admin-ajax.php",type:"POST",data:{action:"profile_update",user_meli:r,user_id:n},beforeSend:function(){jQuery(".edit_box").fadeOut(),jQuery("#dark").fadeOut()},success:function(e){window.location.reload()}})}))})),jQuery(document).ready((function(){jQuery("#address_changes").submit((function(e){e.preventDefault();var a=jQuery(this),r=a.find('input[name="edit_addr1"]').val(),n=a.find('input[name="edit_addr2"]').val(),t=a.find('input[name="user_id"]').val();jQuery.ajax({url:"../wp-admin/admin-ajax.php",type:"POST",data:{action:"profile_update",addr1:r,addr2:n,user_id:t},beforeSend:function(){jQuery(".edit_box").fadeOut(),jQuery("#dark").fadeOut()},success:function(e){window.location.reload()}})}))})),jQuery(document).ready((function(){jQuery("#pass_change").submit((function(e){e.preventDefault();var a=jQuery(this),r=a.find('input[name="edit_prof_old_pass"]').val(),n=a.find('input[name="edit_prof_new_pass"]').val(),t=a.find('input[name="edit_prof_new_pass_repeat"]').val(),i=a.find(".field_alert"),o=a.parent("td").find(".pass_update");o.text(""),i.text("");var u=a.find('input[name="user_id"]').val();""==r&&i.text("فیلد رمز عبور فعلی نباید خالی باشد"),n==t?jQuery.ajax({url:"../wp-admin/admin-ajax.php",type:"POST",data:{action:"pass_update",user_pass_now:r,user_new_pass:n,user_new_pass_repeat:t,user_id:u},beforeSend:function(){jQuery(".edit_box").fadeOut(),jQuery("#dark").fadeOut()},success:function(e){o.text("رمز عبور شما با موفقیت بروز شد")}}):i.text("فیلد رمز عبور جدید و تکرار رمز عبور یکسان نیست ")}))})),jQuery(document).ready((function(){jQuery(".remove_wish").click((function(){var e=jQuery(this),a=e.parents(".favo_product"),r=e.data("pid");jQuery.ajax({url:"../wp-admin/admin-ajax.php",type:"POST",data:{action:"wish_update",pid:r},beforeSend:function(){jQuery("#dark").fadeIn()},success:function(e){jQuery("#dark").fadeOut(),a.remove()}})}))})),jQuery(document).on("click",".dots ",(function(){jQuery(this).find(".dots_remove").fadeToggle()})),jQuery(document).on("click",".last_view_Similar_remove ",(function(){jQuery(this).parent("#last_view_Similar").fadeOut(),jQuery("#dark_inner").fadeOut(),jQuery("#last_view_Similar .last_view_Similar_top .wlist_product").remove(),jQuery(".sliderscroll_main ul li").remove()})),jQuery(document).ready((function(){jQuery(".last_viewed_remove").click((function(){var e=jQuery(this),a=e.data("pid")-15,r=e.parents(".wlist_product");jQuery.ajax({url:"../wp-admin/admin-ajax.php",type:"POST",data:{action:"last_viewed_remove",pid:a,cache:"false"},beforeSend:function(){jQuery("#dark").fadeIn()},success:function(e){jQuery("#dark").fadeOut(),r.remove()}})}))})),jQuery(document).ready((function(){jQuery(".similar_span").click((function(){var e=jQuery(this).data("pid")-15;jQuery.ajax({url:"../wp-admin/admin-ajax.php",type:"POST",data:{action:"last_viewed_similar_info",pid:e},beforeSend:function(){jQuery("#dark").fadeIn()},complete:function(){jQuery("#dark").fadeOut()},success:function(e){jQuery("#dark_inner").fadeIn();var a=JSON.parse(e),r=' <div class="wlist_product">\n                <div class="last_viewed_img">\n                 '+a.image+'\n                </div>\n                <div class="last_viewed_info">\n                    <div class="last_viewed_cat">\n                        <span class="span_cat_title"> دسته بندی : </span> <span\n                             class=\'span_cat_name\'>'+a.cat.name+'</span>\n                    </div>\n\n                    <div class="last_viewed_info_title"><a href=" '+a.product_name+'"><h3\n                                    class="fzr-09">'+a.product_name+'</h3></a>\n\n                    </div>\n                    <div class="last_viewed_info_price">\n                        <span class="red fzr-09">قیمت :  </span><span\n                                class="fzr-09 red">'+a.product_price+'\n                            </span><span class="red fzr-09"> تومان </span>\n                    </div>\n                </div>\n   <div class="similar_bot">\n                            <a class="single_p" href=" '+a.permalink+'">مشاهده کالا<a></a                        </div>\n          </div>';jQuery("#dark").fadeIn(),jQuery("#last_view_Similar").fadeIn(),jQuery("#last_view_Similar .last_view_Similar_top").append(r),jQuery.each(a.similar_product,(function(e,a){jQuery(".last_view_Similar_bot ul").append('<li class="cup_desc_like"><a class=""  href="'+a.link+'">'+a.image+'<p class=""> '+a.produ_name+'</p><p class="similar_pop_price"> '+a.produ_price+"</p></a></li>")}))}})}))})),jQuery(document).on("click",".order_tabs ul li",(function(){jQuery(".order_tabs_content_inner").hide(),jQuery(".order_tabs ul li").removeClass("active"),jQuery(".order_tabs_content_inner").removeClass("active");var e=jQuery(this);e.addClass("active");var a=e.index();e.parents(".orders_box_l_inner").find(".order_tabs_content").find(".order_tabs_content_inner").eq(a).addClass("active").fadeIn()})),jQuery(document).on("click",".App_order_tabs ul li",(function(){jQuery(".order_tabs_content_inner").hide(),jQuery(".App_order_tabs ul li").removeClass("active"),jQuery(".order_tabs_content_inner").removeClass("active");var e=jQuery(this);e.addClass("active");var a=e.index();e.parents(".App_orders_box_l_inner").find(".order_tabs_content").find(".order_tabs_content_inner").eq(a).addClass("active").fadeIn()})),jQuery(document).on("click",".view_order ",(function(){jQuery(this).parents(".order_box").find(".order_box_middle").fadeToggle()})),jQuery(document).on("click",".similar_btn ",(function(){jQuery(this).parents(".c-item").find(".add_profile_comment").fadeToggle()})),jQuery(document).on("click","#fback h3 ",(function(){jQuery("#dark").fadeIn(),jQuery(".Feedback").fadeIn(),jQuery(".Feedback").css("transform","scale(1)"),jQuery(".ldio-6eenmlg9vnv").css("display","none")})),jQuery(".feed_close").click((function(){var e=jQuery(this).parent(".Feedback");e.fadeOut(),jQuery("#dark").fadeOut(),e.css("transform","scale(0)")})),jQuery(".dig-cont-close").click((function(){jQuery("#dark").fadeOut()})),jQuery(document).ready((function(){jQuery("#feedback_form").submit((function(e){e.preventDefault();var a=jQuery(this),r=a;a.parents(".feedback_feed").find(".form_error p").remove();var n=r.find('input[name="uid"]').val(),t=r.find('input[name="pid"]').val(),i=r.find('textarea[name="feed_desc"]').val(),o=r.find('input[name="pic_err"]').prop("checked"),u=r.find('input[name="pic_Uns"]').prop("checked"),s=r.find('input[name="att_err"]').prop("checked"),c=r.find('input[name="desc_err"]').prop("checked"),d=r.find('input[name="no_org"]').prop("checked"),l=r.find('input[name="Repet"]').prop("checked");(form_data=new FormData,form_data.append("action","feeding_func"),form_data.append("uid",n),form_data.append("pid",t),form_data.append("feed_desc",i),form_data.append("pic_Uns",o),form_data.append("pic_err",u),form_data.append("att_err",s),form_data.append("desc_err",c),form_data.append("no_org",d),form_data.append("Repet",l),0!=i||0!=o||0!=u||0!=s||0!=c||0!=d||0!=c||0!=l)?""!=i?jQuery.ajax({url:ajax_data.aju,type:"POST",cache:!1,processData:!1,contentType:!1,data:form_data,beforeSend:function(){},success:function(e){jQuery(".Feedback").fadeOut(3e3),jQuery("#dark").fadeOut(3e3),alert("بازخورد شما برای این کالا ثبت شد")},error:function(e,a,r){}}):a.parents(".feedback_feed").find(".form_error").append("<p class='red'>فیلد توضیحات نباید خالی باشد</p>"):a.parents(".feedback_feed").find(".form_error").append("<p class='red'>تمام فیلد ها نمیتواند خالی باشد</p>")}))})),jQuery(".user_menu_icon").on("click",(function(){jQuery(".user_menu_drop").fadeToggle()})),jQuery(".mini_cart_box").on("click",(function(){jQuery("#cart_container").fadeToggle()})),jQuery(document).mouseup((function(e){var a=jQuery(".user_menu_drop");a.is(e.target)||0!==a.has(e.target).length||a.hide()})),jQuery(document).ready((function(){var e,a=1,r=jQuery(".vslider_body"),n=r.find(".vslider_item"),t=r.parents(".v_slider").find(".vslider_dots").find(".vslider_dots_shape"),i=n.length;function o(){t.removeClass("active"),n.removeClass("active"),n.eq(a-1).addClass("active"),t.eq(a-1).addClass("active")}
function u(){++a>i&&(a=1),o()}
jQuery(".vslider_arrow_right").click((function(){u()})),jQuery(".vslider_arrow_left").click((function(){--a<1&&(a=i),o()})),jQuery(".vslider_dots_shape").click((function(){var e=jQuery(this).index();t.removeClass("active"),n.removeClass("active"),n.eq(e).addClass("active"),t.eq(e).addClass("active")})),jQuery(".v_slider").on("mouseenter",(function(){clearInterval(e)})),jQuery(".v_slider").on("mouseleave",(function(){clearInterval(e),e=setInterval(u,3e3)})),e=setInterval(u,3e3)})),jQuery(document).ready((function(){jQuery(".bss_lnavi").click((function(){var e=jQuery(this).parents(".best_seller_slider").find(".best_seller_slider_body .best_seller_inner .best_seller_items").find(".best_seller_scol"),a=e.find(".t a").length,r=e.css("marginLeft"),n=(e.length,e.css("width")),t=(Math.ceil(a/4)-2)*(parseFloat(r)+parseFloat(n));jQuery(".best_seller_items").css("transform","translate3d("+t+"px ,0px, 0px ")})),jQuery(".bss_rnavi").click((function(){jQuery(".best_seller_items").css("transform","translate3d(0px,0px, 0px ")}))})),jQuery(document).on("click",".cu_choice ",(function(){var e=jQuery(this);e.find(".choice_btn").toggleClass("active");var a=e.parents("#best_beter_form"),r=a.find(".choice_box_net");a.find(".choice_box_shop").toggleClass("active"),r.toggleClass("active")})),jQuery(document).on("click",".best_price_close ",(function(){var e=jQuery(".best_price_box");e.fadeOut(),e.css("transform","scale(0)"),jQuery("#dark").fadeOut()})),jQuery(document).ready((function(){jQuery("#best_beter_form").submit((function(e){e.preventDefault();var a=jQuery(this),r=a;jQuery(".best_price_error p").remove();var n=a.parents(".best_price_error"),t=r.find('input[name="pid"]').val(),i=r.find('input[name="best_price"]').val(),o=r.find('input[name="best_price_shopnet"]').val(),u=r.find('input[name="best_price_shop_name"]').val(),s=r.find('input[name="best_price_shop_place"]').val();if(form_data=new FormData,form_data.append("action","best_price_report"),form_data.append("pid",t),form_data.append("b_price",i),form_data.append("site_name",o),form_data.append("shop_name",u),form_data.append("shop_place",s),0!=i.length){if(jQuery(".choice_box_net").hasClass("active")){if(u="",s="",0==o.length){jQuery(".best_price_error").append('<p class="red">فیلد آدرس سایت فروشگاه نمیتواند خالی باشد.</p>');n=1;return}}else{if(o="",0==u.length){jQuery(".best_price_error").append('<p class="red">فیلد نام فروشگاه نمیتواند خالی باشد</p>');n=1;return}
if(0==s.length){jQuery(".best_price_error").append('<p class="red">فیلد مکان فروشگاه نمیتواند خالی باشد</p>');n=1;return}}
1!=n&&jQuery.ajax({url:ajax_data.aju,type:"POST",cache:!1,processData:!1,contentType:!1,data:form_data,success:function(e){jQuery("#dark").fadeOut(),alert("اعلام قیمت شما با موفقیت ثبت شد."),jQuery(".best_price_box").fadeOut()},error:function(e,a,r){},beforeSend:function(){jQuery("#dark").fadeIn()}})}else{jQuery(".best_price_error").append('<p class="red">فیلد قیمت نمیتواند خالی باشد.</p>');var n=1}}))})),jQuery(document).on("click",".best_price_yes ",(function(){var e=jQuery(".best_price_box");e.fadeIn(),jQuery("#dark").fadeIn(),e.css("transform","scale(1)"),jQuery(".ldio-6eenmlg9vnv").css("display","none")})),jQuery(".best_price_no span").on("click",(function(e){jQuery(".best_price_yn_box").fadeOut()})),jQuery(".add_comment_logout").on("click",(function(e){jQuery("#login_pop").fadeIn(),jQuery("#dark").fadeIn()})),jQuery(".registe_ajax").on("click",(function(e){jQuery("#login_pop").fadeOut(),jQuery("#register_box").fadeIn(),jQuery("#dark").fadeIn()})),jQuery(".Appregiste_ajax").on("click",(function(e){jQuery("#APPlogin_pop").fadeOut(0),jQuery("#Appregister_box").fadeIn(0)})),jQuery(".login_pop_close i").on("click",(function(e){jQuery("#login_pop").fadeOut(),jQuery("#dark").fadeOut()})),jQuery(".remove_register_box i").on("click",(function(e){jQuery("#register_box").fadeOut(),jQuery("#dark").fadeOut()})),jQuery(".Appremove_register_box i").on("click",(function(e){jQuery("#Appregister_box").fadeOut(),jQuery("#APPlogin_pop").fadeIn()})),jQuery(".uc_comment-useful_yes_nopriv").on("click",(function(e){jQuery("#login_pop").fadeIn(),jQuery("#dark").fadeIn()})),jQuery(".uc_comment-useful_no_nopriv").on("click",(function(e){jQuery("#login_pop").fadeIn(),jQuery("#dark").fadeIn()})),jQuery("#response_login_icon").on("click",(function(e){e.preventDefault();jQuery(this);jQuery.ajax({url:ajax_data.aju,type:"POST",data:{action:"ajax_digits_check"},beforeSend:function(){jQuery("#dark").fadeIn()},success:function(e){"yes"===e?(jQuery("#login_pop").fadeOut(),jQuery("#dig-ucr-container").fadeIn()):(jQuery("#login_pop").fadeIn(),jQuery("#dark").fadeIn())}})})),jQuery(document).on("click","#Appcloginform #Applogin_submit ",(function(){var e=jQuery(this);jQuery("#user_log_err p").remove();var a=e.parents("#Appcloginform"),r=a.find("#Appuser_login").val(),n=a.find("#Appuser_pass").val(),t=0;if(""==r){jQuery("#Appuser_log_err").append('<p class="red">فیلد نام کاربری نباید خالی باشد</p>');t=1}
if(""==n){jQuery("#Appuser_log_err").append('<p class="red">فیلد پسورد نباید خالی باشد</p>');t=1}
1!=t&&jQuery.ajax({url:ajax_data.aju,type:"POST",data:{action:"ajax_log_in",user_name:r,user_pass:n},beforeSend:function(){jQuery("#Applogin_submit").val("در حال ورود کاربر ...")},success:function(e){""!=e?(jQuery("#Appuser_log_err").append('<p class="red"> '+e+"</p>"),jQuery("#Applogin_submit").val("ورود")):(jQuery("#Applogin_submit").val("ورود"),jQuery("#Applogin_pop").fadeOut(),jQuery("#dark").fadeOut(),location.reload())}})})),jQuery(document).on("click","#cloginform #login_submit ",(function(){var e=jQuery(this);jQuery("#user_log_err p").remove();var a=e.parents("#cloginform"),r=a.find("#user_login").val(),n=a.find("#user_pass").val(),t=0;if(""==r){jQuery("#user_log_err").append('<p class="red">فیلد نام کاربری نباید خالی باشد</p>');t=1}
if(""==n){jQuery("#user_log_err").append('<p class="red">فیلد پسورد نباید خالی باشد</p>');t=1}
1!=t&&jQuery.ajax({url:ajax_data.aju,type:"POST",data:{action:"ajax_log_in",user_name:r,user_pass:n},beforeSend:function(){jQuery("#login_submit").val("در حال ورود کاربر ...")},success:function(e){""!=e?(jQuery("#user_log_err").append('<p class="red"> '+e+"</p>"),jQuery("#login_submit").val("ورود")):(jQuery("#login_submit").val("ورود"),jQuery("#login_pop").fadeOut(),jQuery("#dark").fadeOut(),location.reload())}})})),jQuery(".reg_submit_bot").on("click",(function(e){e.preventDefault();var a=jQuery(this);jQuery("#c_reg_err p").remove();var r=a.parents(".reg_form"),n=r.find("#user_email_name").val(),t=r.find("#user_pass_reg").val();t.length<8?jQuery("#c_reg_err").append('<p class="red"> پسورد نمیتواند کمتر از 8 کاراکتر باشد.</p>'):n.length<8?jQuery("#c_reg_err").append('<p class="red">نام کاربری نمیتواند کمتر از 8 کاراکتر باشد</p>'):jQuery.ajax({url:ajax_data.aju,type:"POST",data:{action:"c_reg_aja",user_name:n,user_pass:t},beforeSend:function(){},success:function(e){"email_exist"!=e?"user_exist"!=e?(jQuery("#register_box").fadeOut(),jQuery("#login_pop").fadeIn()):jQuery("#c_reg_err").append('<p class="red">این نام کاربری قبلا ثبت شده.</p>'):jQuery("#c_reg_err").append('<p class="red">این ایمیل قبلا ثبت شده.</p>')
header('Location: cart')}})})),jQuery(".Appreg_submit_bot").on("click",(function(e){e.preventDefault();var a=jQuery(this);jQuery("#c_reg_err p").remove();var r=a.parents(".reg_form"),n=r.find("#Appuser_email_name").val(),t=r.find("#Appuser_pass_reg").val();t.length<8?jQuery("#Appc_reg_err").append('<p class="red"> پسورد نمیتواند کمتر از 8 کاراکتر باشد.</p>'):n.length<8?jQuery("#Appc_reg_err").append('<p class="red">نام کاربری نمیتواند کمتر از 8 کاراکتر باشد</p>'):jQuery.ajax({url:ajax_data.aju,type:"POST",data:{action:"c_reg_aja",user_name:n,user_pass:t},beforeSend:function(){},success:function(e){"email_exist"!=e?"user_exist"!=e?(jQuery("#Appregister_box").fadeOut(),jQuery("#APPlogin_pop").fadeIn()):jQuery("#c_reg_err").append('<p class="red">این نام کاربری قبلا ثبت شده.</p>'):jQuery("#c_reg_err").append('<p class="red">این ایمیل قبلا ثبت شده.</p>')}})})),jQuery(".back_stock_bot_noprive").on("click",(function(){jQuery("#login_pop").fadeIn(),jQuery("#dark").fadeIn()})),jQuery(".back_stock_bot").on("click",(function(){var e=jQuery(this),a=e.data("pid"),r=e.data("uid");jQuery.ajax({url:"/wp-admin/admin-ajax.php",type:"POST",data:{action:"backstock_users",uid:r,pid:a},beforeSend:function(){},success:function(e){}})})),jQuery(".res_desc_titlebar_l").on("click",(function(){jQuery("#responsive_desc_single_desc").fadeIn()})),jQuery(".desc_return").on("click",(function(){jQuery("#responsive_desc_single_desc").fadeOut()})),jQuery(".res_desc_titlebar_l_all").on("click",(function(){jQuery("#responsive_all_single_desc").fadeIn()})),jQuery(".desc_return").on("click",(function(){jQuery("#responsive_all_single_desc").fadeOut()})),jQuery(".desc_return").on("click",(function(){jQuery("#responsive_desc_single_atts").fadeOut()})),jQuery(".res_desc_titlebar_left").on("click",(function(){jQuery("#responsive_desc_single_atts").fadeIn()})),jQuery(".atts_return").on("click",(function(){jQuery("#responsive_desc_single_atts").fadeOut()})),jQuery(".all_comment_link > span").on("click",(function(){jQuery("#all_response_comment").fadeIn()})),jQuery(".add_comment_span").on("click",(function(){jQuery("#responsive_add_comment").fadeIn()})),jQuery(".return_span").on("click",(function(){jQuery("#all_response_comment").fadeOut()})),jQuery(".return_back_add_comment").on("click",(function(){jQuery("#responsive_add_comment").fadeOut()})),jQuery(".add_qa_span").on("click",(function(){jQuery("#send_question_responsiv").fadeIn()})),jQuery(".sqr_return span").on("click",(function(){jQuery("#send_question_responsiv").fadeOut()})),jQuery(".qa_footer span").on("click",(function(){jQuery("#response_all_qa").fadeIn()})),jQuery(".raq_retuen span").on("click",(function(){jQuery("#response_all_qa").fadeOut()})),jQuery(".add_comment_span_logout").on("click",(function(){jQuery("#login_pop").fadeIn(),jQuery("#dark").fadeIn()})),jQuery(".feedback_submit_logout").on("click",(function(){jQuery(".Feedback").fadeOut(),jQuery("#login_pop").fadeIn(),jQuery("#dark").fadeIn()})),jQuery(".uqa_form_submit_logout").on("click",(function(){jQuery("#response_all_qa").fadeOut(),jQuery("#login_pop").fadeIn(),jQuery("#dark").fadeIn()})),jQuery(".shop_info_header_open").on("click",(function(){jQuery(".shop_info_header_back").show(),jQuery(".shop_info_header_open").hide(),jQuery(".shop_info_body").slideDown(),jQuery(".add_to_cart_send").hide()})),jQuery(".shop_info_header_back").on("click",(function(){jQuery(".shop_info_header_back").hide(),jQuery(".shop_info_header_open").show(),jQuery(".shop_info_body").slideUp(),jQuery(".add_to_cart_send").show()})),jQuery(".add_ticket_but").on("click",(function(){jQuery(".add_new_ticket").slideToggle()})),jQuery(".mobile_submenu2 > ul > li").on("click",(function(e){e.stopPropagation();var a=jQuery(this);a.find(".ul3");a.toggleClass("has_sub_active")})),jQuery(".mobile_menu").on("click",(function(e){jQuery(".mobile_menu_body").css("right",0),jQuery("html").addClass("mobile_menu_open"),e.stopPropagation()})),jQuery("#mobile_ligin_icon").on("click",(function(){jQuery("#login_pop").fadeIn()})),jQuery(".user_logged_icon").on("click",(function(){jQuery(".pop_account").fadeToggle()})),jQuery(".reg_choice_btn").on("click",(function(){var e=jQuery(this);e.toggleClass("active"),jQuery(".reg_form").toggleClass("active"),jQuery(".reg_form_dokan").toggleClass("active"),e.hasClass("active")?jQuery(".reg_form").css("display","none"):jQuery(".reg_form").css("display","block")})),jQuery(".c_compare_placement").on("click",(function(){jQuery("#compare_related_pop").fadeIn(),jQuery("#dark").fadeIn()})),jQuery(".compare_related_pop_close").on("click",(function(){jQuery("#compare_related_pop").fadeOut(),jQuery("#dark").fadeOut()})),jQuery(window).scroll((function(){jQuery(window).scrollTop()>=200?(jQuery(".compare_item").css({position:"fixed",background:"white",top:"0",width:"100%",right:"0",left:"0",margin:"0 auto","z-index":"99","min-height":"288px"}),jQuery(".compare_item").addClass("compare_item_active"),jQuery(".compare_product_price").css({display:"none"}),jQuery(".compare_product_buy").css({display:"none"}),jQuery(".c_compare_placement").css({height:"150px"}),jQuery(".c_compare_placement p").css({margin:"0"})):(jQuery(".compare_item").css({position:"relative",background:"white","min-height":"350px"}),jQuery(".compare_product_price").css({display:"block"}),jQuery(".compare_product_buy").css({display:"block"}),jQuery(".c_compare_placement").css({height:"auto"}),jQuery(".c_compare_placement p").css({margin:"block"}),jQuery(".compare_item").removeClass("compare_item_active"))})),jQuery(".back_stock_close").on("click",(function(){jQuery(this).parent("#backstock_alert").fadeOut(),jQuery("#dark").fadeOut()})),jQuery(".back_stock_btn_hul").on("click",(function(){jQuery("#backstock_alert").fadeIn(),jQuery("#dark").fadeIn(),jQuery(".ldio-6eenmlg9vnv").fadeOut()})),jQuery("#back_stock_select_body").on("click",(function(){var e=jQuery(this),a=e.find(".back_stock_button_float"),r=(e.parent("#backstock_alert"),jQuery(" .back_stock_email")),n=jQuery(" .back_stock_sms");a.toggleClass("active"),r.toggleClass("active"),n.toggleClass("active")})),jQuery("#F_select").on("click",(function(){jQuery("#exist_bot_select").toggleClass("active"),jQuery("#only_exist_product").toggleClass("active");var e=jQuery("#exist_bot_select");jQuery("#exist_bot").toggleClass("active");var a=jQuery("#only_exist_product").find(".jet-radio-list__input");e.hasClass("active")?a.click():(a.prop("checked",!1),location.reload())})),jQuery(".answer_to_answer_bot").on("click",(function(){jQuery(this).parents(".add_answer_to_admin_answer").find(".admin_answer_form_ans").fadeToggle()})),jQuery(document).ready((function(){window.location.href.indexOf("checkout")>-1&&(jQuery("#billing_state").trigger("change"),jQuery("#billing_city").removeClass("woocommerce-invalid"))})),jQuery(".single_variation_wrap").on("show_variation",(function(e,a){function r(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}
if(a.display_regular_price==a.display_price)jQuery("p.black").text(),jQuery(".single_box_price").html('<p class="black rem1-2">'+r(a.display_price)+"<span>تومان</span></p>");else{var n=Math.round(100-a.display_price/a.display_regular_price*100);jQuery(".single_box_price").html('<p><del class="gray">'+r(a.display_regular_price)+'</del><span class="discount_total gray ">'+n+'%</span></p><p class="black  rem7"><span class="black font_bold">'+r(a.display_price)+"</span> تومان </p>")}
0==a.is_in_stock?jQuery(".add_tab_stock").text("در حال حاضر کالا موجود نیست"):jQuery(".add_tab_stock").text("موجود در انبار")})),jQuery(".answer_ticket_to_answer_submit").on("click",(function(){var e=jQuery(this).parents("#user_answet_ticket"),a=e.parents(".add_answer_to_admin_answer"),r=a.find(".send_user_attach").prop("files")[0],n=e.find(".form_ticket_error"),t=(e.find(".form_ticket_success"),e.find(".naswer_to_answer_tid").val());ticket_err_p=n.find("p"),ticket_err_p.remove(),n.fadeOut();var i=e.find(".ticket_desc_answer").val(),o=i.length,u=new FormData;u.append("us_tick_fileupload",r),u.append("action","add_ticket_answer_to_answer"),u.append("atid",t),u.append("ticket_desc",i),0==o&&(n.append('<p class="mr5">فیلد متن نباید خالی باشد.</p>'),n.fadeIn()),0!=o&&jQuery.ajax({url:"../wp-admin/admin-ajax.php",type:"POST",contentType:!1,processData:!1,data:u,beforeSend:function(){jQuery(".answer_ticket_to_answer_submit").html("در حال ثبت تیکت ...")},success:function(e){jQuery(".form_ticket_success").fadeIn(),jQuery(".add_new_ticket").fadeOut(3e3),jQuery(".form_ticket_success").fadeOut(3e3),a.hide(),location.reload()}})})),jQuery(document).on("click",".single_sw_slide",(function(e){e.preventDefault();var a=jQuery("#single_product_pic");a.fadeIn(),jQuery("#dark").fadeIn(),a.css("transform","scale(1)"),jQuery(".ldio-6eenmlg9vnv").css("display","none")})),jQuery(document).on("click","#chart_open",(function(){var e=jQuery("#chart_haula");e.fadeIn(),jQuery("#dark").fadeIn(),e.css("transform","scale(1)"),jQuery(".ldio-6eenmlg9vnv").css("display","none")})),jQuery(document).on("click",".product_pic_slide_title i",(function(){var e=jQuery(this).parents("#single_product_pic");e.fadeOut(),jQuery("#dark").fadeOut(),e.css("transform","scale(0)")})),jQuery(document).on("click",".close_chart i",(function(){var e=jQuery(this).parents("#chart_haula");e.fadeOut(),jQuery("#dark").fadeOut(),jQuery("#dark_flat").fadeOut(),e.css("transform","scale(0)")})),jQuery(document).on("click",".spp_left ul li",(function(){jQuery(".spp_left ul li").removeClass("active");var e=jQuery(this),a=e.index();e.addClass("active");var r=e.parents("#single_product_pic").find(".spp_right").find(".item");r.fadeOut(0),r.eq(a).fadeIn()}))
jQuery(document).ready((function(e){jQuery(".jet-sorting-select").val('{"orderby":"price","order":"ASC"}').change(),jQuery("#filter_list .elementor-widget-container ul li").eq(0).addClass("active")})),jQuery(document).on("click","#filter_list .elementor-widget-container ul li",(function(e){jQuery("#filter_list .elementor-widget-container ul li").removeClass("active");var a=jQuery(this),r=a.index();a.addClass("active");var n=jQuery(".jet-sorting-select");0==r&&n.val('{"orderby":"price","order":"ASC"}').change(),1==r&&n.val('{"orderby":"price","order":"DESC"}').change(),2==r&&n.val('{"orderby":"sales_number","order":"DESC"}').change(),3==r&&n.val('{"orderby":"date","order":"DESC"}').change(),4==r&&n.val('{"orderby":"meta_value","order":"ASC","meta_key":"pageview"}').change()})),jQuery(document).mouseup((function(e){var a=jQuery(".pop_account");a.is(e.target)||0!==a.has(e.target).length||a.hide()})),jQuery(document).mouseup((function(e){var a=jQuery("#cart_container");a.is(e.target)||0!==a.has(e.target).length||a.hide()})),jQuery(document).on("click",".plus_item",(function(){var e=jQuery(this),a=e.parents("li").find(".hidden_li");e.addClass("active"),a.slideToggle()})),jQuery(document).on("click",".minus_item",(function(){var e=jQuery(this),a=e.parents("li").find(".hidden_li");e.parents(".cat_l1").find(".plus_item").removeClass("active"),a.slideToggle()})),jQuery(document).on("click",".cart_div",(function(){jQuery("#cart_container").fadeIn()})),jQuery(document).ready((function(){jQuery(".atc_container").click((function(e){e.preventDefault();var a=jQuery(this).data("pid"),r=jQuery(".cart_item_plus").html();jQuery.ajax({url:ajax_data.aju,type:"POST",data:{action:"add_item_to_cart",pid:a},beforeSend:function(){jQuery("#dark").fadeIn()},success:function(e){jQuery('.show_cart_cunt').text(e[0])
jQuery(".cart_item_plus").html(Math.round(r)+1),jQuery("#cart_container").html("<div class='reftesh_cart'> <span>در حال بروزرسانی سبد خرید ...</span></div>");var a=window.location.href;jQuery("#cart_container").load(a+" #cart_item_container"),jQuery("#dark").fadeOut()}})}))})),jQuery(document).on("click",".mini_cart_close",(function(e){e.preventDefault();var a=jQuery(this),r=a.data("itemkey"),n=a.data("qua"),t=a.data("cartcount");jQuery.ajax({url:ajax_data.aju,type:"POST",data:{action:"remove_item_minicart",itemkey:r},beforeSend:function(){jQuery("#dark").fadeIn()},success:function(e){jQuery('.show_cart_cunt').text(e)
var r=jQuery("#cart_container"),i=a.parents(".mini_item");jQuery(".cart_item_plus").html(t-n)
i.remove();jQuery(".c-update_cart").click()
var o=window.location.href;r.html("<div class='reftesh_cart'> <span>در حال بروزرسانی سبد خرید ...</span></div>"),r.load(o+" #cart_item_container"),jQuery("#dark").fadeOut()}})})),jQuery(document).ready((function(e){jQuery("#user_ticket").submit((function(e){e.preventDefault();jQuery(".ticket_error ul li").remove()
var a=jQuery(this),r=a.find('input[name="ticket_subject"]').val(),n=a.find('textarea[name="ticket_desc"]').val(),t=a.find('input[name="parent_tic_uid"]').val();if(r===''){jQuery(".ticket_error ul").append('<li><i class="fa fa-times"'+' aria-hidden="true"></i><span>فیلد'+' موضوع نمیتواند خالی باشد.</span></li>')}
if(n===''){jQuery(".ticket_error ul").append('<li><i class="fa fa-times"'+' aria-hidden="true"></i><span>فیلد'+' متن نمیتواند خالی باشد.</span></li>')}
if(r!==''&&n!==''){file_data=jQuery("#user_ticket  #ticket_upload").prop("files")[0],form_da=new FormData,form_da.append("fileupload",file_data),form_da.append("action","add_ticket"),form_da.append("tic_sub",r),form_da.append("tick_desc",n),form_da.append("uid",t);window.location.origin;jQuery.ajax({url:"../wp-admin/admin-ajax.php",type:"POST",contentType:!1,processData:!1,data:form_da,beforeSend:function(){jQuery(".ticket_error ul li").remove(),jQuery(".ticket_submit").val("درحال ثبت تیکت ...")},success:function(e){jQuery(".ticket_submit").val("تیکت شما ثبت شد");window.location.reload()},})}}))})),jQuery(document).ready((function(){jQuery(".ufp").click((function(){var e=jQuery(this),a=e.data("pid");e.hasClass("active")||jQuery.ajax({url:ajax_data.aju,type:"POST",data:{action:"user_products_favorite",pid:a},beforeSend:function(){jQuery("#dark").fadeIn()},success:function(a){"login"==a?(jQuery("#dark").fadeIn(),jQuery("#login_pop").fadeIn()):(e.addClass("active"),jQuery("#dark").fadeOut())}})}))})),jQuery(document).ready((function(){jQuery(document).on("click",".woocommerce ul#shipping_method li input",(function(e){jQuery(".free_ship_banner").remove()}))})),jQuery(document).ready((function(){jQuery(".user_tickets_view_bot").click((function(){jQuery(".user_tickets_view").fadeToggle()}))})),jQuery(document).ready((function(){jQuery(".sp_opt").on("click",(function(){var e=jQuery(this).attr("value");jQuery(".us_select_show").html(""),jQuery(".us_select_show").html('<span class="uss_box"> '+e+" </span>")}))})),jQuery(document).ready((function(){jQuery(".AppPRS").on("click",(function(){jQuery(".AppPMenu").fadeIn(0)}))})),jQuery(document).ready((function(){jQuery(".AppPMenu_close").on("click",(function(){jQuery(".AppPMenu").fadeOut(0)}))})),jQuery(document).ready((function(){jQuery(".AppPMenu_close").on("click",(function(){jQuery(".AppPMenu").fadeOut(0)}))})),jQuery(document).ready((function(){jQuery(".spo_icon").on("click",(function(){var e=jQuery(".sp_options");e.fadeIn(0),jQuery("#dark_flat").fadeIn(0),e.css("bottom","0")}))})),jQuery(document).mouseup((function(e){var a=jQuery(".sp_options");a.is(e.target)||0!==a.has(e.target).length||(a.css("bottom","-200"),jQuery("#dark_flat").fadeOut(0))})),jQuery(document).on("click","#chart_res_open",(function(){var e=jQuery("#chart_haula");jQuery(".sp_options").css("bottom","-200"),e.fadeIn(),e.css("transform","scale(1)")})),jQuery(document).ready((function(){jQuery("#state_changes").submit((function(e){e.preventDefault();var a=jQuery(this),r=a.find("#select_state").find(":selected").val(),n=a.find("#select_state").find(":selected").text(),t=a.find('input[name="user_id"]').val();jQuery.ajax({url:"../wp-admin/admin-ajax.php",type:"POST",data:{action:"profile_update",user_state_code:r,user_state_name:n,user_id:t},beforeSend:function(){jQuery(".edit_box").fadeOut(),jQuery("#dark").fadeOut()},success:function(e){window.location.reload()}})}))})),jQuery(document).on("click",".App_com_sa",(function(){jQuery(".app_allComment").fadeIn(0)})),jQuery(document).on("click",".app_all_head",(function(){jQuery(".app_allComment").fadeOut(0)})),jQuery(document).on("click",".App_add_comment_but",(function(){jQuery(".App_ac").fadeIn(0)})),jQuery(document).on("click",".App_adcom_head",(function(){jQuery(".App_ac").fadeOut(0)})),jQuery(document).on("click",".app_adcom_tit",(function(){jQuery(".App_ac").fadeIn(0)})),jQuery(document).on("click",".app_qa_tit",(function(){jQuery(".App_all_qa_box").fadeIn(0)})),jQuery(document).on("click",".App_aaqbt",(function(){jQuery(".App_all_qa_box").fadeOut(0)})),jQuery(document).on("click",".app_aqf",(function(){jQuery(".app_q_forms").fadeIn(0)})),jQuery(document).on("click",".App-form_close",(function(){jQuery(".app_q_forms").fadeOut(0)}));jQuery(document).on('click','#jumpup',function(){jQuery("body,html").animate({scrollTop:0},1500)})
jQuery(".mobile-ul1  > li > a").on("click",(function(e){var parents=jQuery(this).parents('li');if(parents.hasClass('no_sub')){}else{jQuery(this).parents("li").toggleClass("has_sub_active")
e.preventDefault(),e.stopPropagation()}}))
if(typeof Object.create!=='function'){Object.create=function(obj){function F(){}
F.prototype=obj;return new F()}}(function($,window,document,undefined){var EZP={init:function(options,elem){var self=this;var $galleries;self.elem=elem;self.$elem=$(elem);self.imageSrc=self.$elem.data('zoom-image')?self.$elem.data('zoom-image'):self.$elem.attr('src');self.options=$.extend({},$.fn.ezPlus.options,self.responsiveConfig(options||{}));if(!self.options.enabled){return}
if(self.options.tint){self.options.lensColour='none';self.options.lensOpacity='1'}
if(self.options.zoomType==='inner'){self.options.showLens=!1}
self.$elem.parent().removeAttr('title').removeAttr('alt');self.zoomImage=self.imageSrc;self.refresh(1);$galleries=$(self.options.gallery?('#'+self.options.gallery):self.options.gallerySelector);$galleries.on('click.zoom',self.options.galleryItem,function(e){if(self.options.galleryActiveClass){$(self.options.galleryItem,$galleries).removeClass(self.options.galleryActiveClass);$(this).addClass(self.options.galleryActiveClass)}
if(this.tagName==='A'){e.preventDefault()}
if($(this).data('zoom-image')){self.zoomImagePre=$(this).data('zoom-image')}else{self.zoomImagePre=$(this).data('image')}
self.swaptheimage($(this).data('image'),self.zoomImagePre);if(this.tagName==='A'){return!1}})},refresh:function(length){var self=this;setTimeout(function(){self.fetch(self.imageSrc)},length||self.options.refresh)},fetch:function(imgsrc){var self=this;var newImg=new Image();newImg.onload=function(){self.largeWidth=newImg.width;self.largeHeight=newImg.height;self.startZoom();self.currentImage=self.imageSrc;self.options.onZoomedImageLoaded(self.$elem)};self.setImageSource(newImg,imgsrc);return},setImageSource:function(image,src){image.src=src},startZoom:function(){var self=this;self.nzWidth=self.$elem.width();self.nzHeight=self.$elem.height();self.isWindowActive=!1;self.isLensActive=!1;self.isTintActive=!1;self.overWindow=!1;if(self.options.imageCrossfade){self.zoomWrap=self.$elem.wrap('<div style="height:'+self.nzHeight+'px;width:'+self.nzWidth+'px;" class="zoomWrapper" />');self.$elem.css('position','absolute')}
self.zoomLock=1;self.scrollingLock=!1;self.changeBgSize=!1;self.currentZoomLevel=self.options.zoomLevel;self.nzOffset=self.$elem.offset();self.widthRatio=(self.largeWidth/self.currentZoomLevel)/self.nzWidth;self.heightRatio=(self.largeHeight/self.currentZoomLevel)/self.nzHeight;function getWindowZoomStyle(){return'overflow: hidden;'+'background-position: 0px 0px;text-align:center;'+'background-color: '+String(self.options.zoomWindowBgColour)+';'+'width: '+String(self.options.zoomWindowWidth)+'px;'+'height: '+String(self.options.zoomWindowHeight)+'px;'+'float: left;'+'background-size: '+self.largeWidth/self.currentZoomLevel+'px '+self.largeHeight/self.currentZoomLevel+'px;'+'display: none;z-index:100;'+'border: '+String(self.options.borderSize)+'px solid '+self.options.borderColour+';'+'background-repeat: no-repeat;'+'position: absolute;'}
if(self.options.zoomType==='window'){self.zoomWindowStyle=getWindowZoomStyle()}
function getInnerZoomStyle(){var borderWidth=self.$elem.css('border-left-width');return'overflow: hidden;'+'margin-left: '+String(borderWidth)+';'+'margin-top: '+String(borderWidth)+';'+'background-position: 0px 0px;'+'width: '+String(self.nzWidth)+'px;'+'height: '+String(self.nzHeight)+'px;'+'float: left;'+'display: none;'+'cursor:'+(self.options.cursor)+';'+'px solid '+self.options.borderColour+';'+'background-repeat: no-repeat;'+'position: absolute;'}
if(self.options.zoomType==='inner'){self.zoomWindowStyle=getInnerZoomStyle()}
function getWindowLensStyle(){var lensHeight,lensWidth;if(self.nzHeight<self.options.zoomWindowHeight/self.heightRatio){lensHeight=self.nzHeight}else{lensHeight=String(self.options.zoomWindowHeight/self.heightRatio)}
if(self.largeWidth<self.options.zoomWindowWidth){lensWidth=self.nzWidth}else{lensWidth=String(self.options.zoomWindowWidth/self.widthRatio)}
return'background-position: 0px 0px;width: '+String((self.options.zoomWindowWidth)/self.widthRatio)+'px;'+'height: '+String((self.options.zoomWindowHeight)/self.heightRatio)+'px;float: right;display: none;'+'overflow: hidden;'+'z-index: 999;'+'opacity:'+(self.options.lensOpacity)+';filter: alpha(opacity = '+(self.options.lensOpacity*100)+'); zoom:1;'+'width:'+lensWidth+'px;'+'height:'+lensHeight+'px;'+'background-color:'+(self.options.lensColour)+';'+'cursor:'+(self.options.cursor)+';'+'border: '+(self.options.lensBorderSize)+'px'+' solid '+(self.options.lensBorderColour)+';background-repeat: no-repeat;position: absolute;'}
if(self.options.zoomType==='window'){self.lensStyle=getWindowLensStyle()}
self.tintStyle='display: block;'+'position: absolute;'+'background-color: '+self.options.tintColour+';'+'filter:alpha(opacity=0);'+'opacity: 0;'+'width: '+self.nzWidth+'px;'+'height: '+self.nzHeight+'px;';self.lensRound='';if(self.options.zoomType==='lens'){self.lensStyle='background-position: 0px 0px;'+'float: left;display: none;'+'border: '+String(self.options.borderSize)+'px solid '+self.options.borderColour+';'+'width:'+String(self.options.lensSize)+'px;'+'height:'+String(self.options.lensSize)+'px;'+'background-repeat: no-repeat;position: absolute;'}
if(self.options.lensShape==='round'){self.lensRound='border-top-left-radius: '+String(self.options.lensSize/2+self.options.borderSize)+'px;'+'border-top-right-radius: '+String(self.options.lensSize/2+self.options.borderSize)+'px;'+'border-bottom-left-radius: '+String(self.options.lensSize/2+self.options.borderSize)+'px;'+'border-bottom-right-radius: '+String(self.options.lensSize/2+self.options.borderSize)+'px;'}
self.zoomContainer=$('<div class="zoomContainer" style="'+'position:absolute;'+'left:'+self.nzOffset.left+'px;'+'top:'+self.nzOffset.top+'px;'+'height:'+self.nzHeight+'px;'+''+'width:'+self.nzWidth+'px;'+'z-index:'+self.options.zIndex+'"></div>');$(self.options.zoomContainerAppendTo).append(self.zoomContainer);if(self.options.containLensZoom&&self.options.zoomType==='lens'){self.zoomContainer.css('overflow','hidden')}
if(self.options.zoomType!=='inner'){self.zoomLens=$('<div class="zoomLens" style="'+self.lensStyle+self.lensRound+'">&nbsp;</div>').appendTo(self.zoomContainer).click(function(){self.$elem.trigger('click')});if(self.options.tint){self.tintContainer=$('<div/>').addClass('tintContainer');self.zoomTint=$('<div class="zoomTint" style="'+self.tintStyle+'"></div>');self.zoomLens.wrap(self.tintContainer);self.zoomTintcss=self.zoomLens.after(self.zoomTint);self.zoomTintImage=$('<img style="'+'position: absolute; left: 0px; top: 0px; max-width: none; '+'width: '+self.nzWidth+'px; '+'height: '+self.nzHeight+'px;" '+'src="'+self.imageSrc+'">').appendTo(self.zoomLens).click(function(){self.$elem.trigger('click')})}}
var targetZoomContainer=isNaN(self.options.zoomWindowPosition)?'body':self.zoomContainer;self.zoomWindow=$('<div style="z-index:999;'+'left:'+(self.windowOffsetLeft)+'px;'+'top:'+(self.windowOffsetTop)+'px;'+self.zoomWindowStyle+'" class="zoomWindow">&nbsp;</div>').appendTo(targetZoomContainer).click(function(){self.$elem.trigger('click')});self.zoomWindowContainer=$('<div/>').addClass('zoomWindowContainer').css('width',self.options.zoomWindowWidth);self.zoomWindow.wrap(self.zoomWindowContainer);if(self.options.zoomType==='lens'){self.zoomLens.css('background-image','url("'+self.imageSrc+'")')}
if(self.options.zoomType==='window'){self.zoomWindow.css('background-image','url("'+self.imageSrc+'")')}
if(self.options.zoomType==='inner'){self.zoomWindow.css('background-image','url("'+self.imageSrc+'")')}
if(self.options.touchEnabled){self.$elem.bind('touchmove',function(e){e.preventDefault();var touch=e.originalEvent.touches[0]||e.originalEvent.changedTouches[0];self.setPosition(touch)});self.zoomContainer.bind('touchmove',function(e){if(self.options.zoomType==='inner'){self.showHideWindow('show')}
e.preventDefault();var touch=e.originalEvent.touches[0]||e.originalEvent.changedTouches[0];self.setPosition(touch)});self.zoomContainer.bind('touchend',function(e){self.showHideWindow('hide');if(self.options.showLens){self.showHideLens('hide')}
if(self.options.tint&&self.options.zoomType!=='inner'){self.showHideTint('hide')}});self.$elem.bind('touchend',function(e){self.showHideWindow('hide');if(self.options.showLens){self.showHideLens('hide')}
if(self.options.tint&&self.options.zoomType!=='inner'){self.showHideTint('hide')}});if(self.options.showLens){self.zoomLens.bind('touchmove',function(e){e.preventDefault();var touch=e.originalEvent.touches[0]||e.originalEvent.changedTouches[0];self.setPosition(touch)});self.zoomLens.bind('touchend',function(e){self.showHideWindow('hide');if(self.options.showLens){self.showHideLens('hide')}
if(self.options.tint&&self.options.zoomType!=='inner'){self.showHideTint('hide')}})}}
self.$elem.bind('mousemove',function(e){if(self.overWindow===!1){self.setElements('show')}
if(self.lastX!==e.clientX||self.lastY!==e.clientY){self.setPosition(e);self.currentLoc=e}
self.lastX=e.clientX;self.lastY=e.clientY});self.zoomContainer.bind('click',self.options.onImageClick);self.zoomContainer.bind('mousemove',function(e){if(self.overWindow===!1){self.setElements('show')}
mouseMoveZoomHandler(e)});function mouseMoveZoomHandler(e){if(self.lastX!==e.clientX||self.lastY!==e.clientY){self.setPosition(e);self.currentLoc=e}
self.lastX=e.clientX;self.lastY=e.clientY}
var elementToTrack=null;if(self.options.zoomType!=='inner'){elementToTrack=self.zoomLens}
if(self.options.tint&&self.options.zoomType!=='inner'){elementToTrack=self.zoomTint}
if(self.options.zoomType==='inner'){elementToTrack=self.zoomWindow}
if(elementToTrack){elementToTrack.bind('mousemove',mouseMoveZoomHandler)}
self.zoomContainer.add(self.$elem).mouseenter(function(){if(self.overWindow===!1){self.setElements('show')}}).mouseleave(function(){if(!self.scrollLock){self.setElements('hide');self.options.onDestroy(self.$elem)}});if(self.options.zoomType!=='inner'){self.zoomWindow.mouseenter(function(){self.overWindow=!0;self.setElements('hide')}).mouseleave(function(){self.overWindow=!1})}
if(self.options.minZoomLevel){self.minZoomLevel=self.options.minZoomLevel}else{self.minZoomLevel=self.options.scrollZoomIncrement*2}
if(self.options.scrollZoom){self.zoomContainer.add(self.$elem).bind('wheel DOMMouseScroll MozMousePixelScroll',function(e){self.scrollLock=!0;clearTimeout($.data(this,'timer'));$.data(this,'timer',setTimeout(function(){self.scrollLock=!1},250));var theEvent=e.originalEvent.deltaY||e.originalEvent.detail*-1;e.stopImmediatePropagation();e.stopPropagation();e.preventDefault();if(theEvent/120>0){if(self.currentZoomLevel>=self.minZoomLevel){self.changeZoomLevel(self.currentZoomLevel-self.options.scrollZoomIncrement)}}else{if((!self.fullheight&&!self.fullwidth)||!self.options.mantainZoomAspectRatio){if(self.options.maxZoomLevel){if(self.currentZoomLevel<=self.options.maxZoomLevel){self.changeZoomLevel(parseFloat(self.currentZoomLevel)+self.options.scrollZoomIncrement)}}else{self.changeZoomLevel(parseFloat(self.currentZoomLevel)+self.options.scrollZoomIncrement)}}}
return!1})}},setElements:function(type){var self=this;if(!self.options.zoomEnabled){return!1}
if(type==='show'){if(self.isWindowSet){if(self.options.zoomType==='inner'){self.showHideWindow('show')}
if(self.options.zoomType==='window'){self.showHideWindow('show')}
if(self.options.showLens){self.showHideLens('show')}
if(self.options.tint&&self.options.zoomType!=='inner'){self.showHideTint('show')}}}
if(type==='hide'){if(self.options.zoomType==='window'){self.showHideWindow('hide')}
if(!self.options.tint){self.showHideWindow('hide')}
if(self.options.showLens){self.showHideLens('hide')}
if(self.options.tint){self.showHideTint('hide')}}},setPosition:function(e){var self=this;if(!self.options.zoomEnabled){return!1}
self.nzHeight=self.$elem.height();self.nzWidth=self.$elem.width();self.nzOffset=self.$elem.offset();if(self.options.tint&&self.options.zoomType!=='inner'){self.zoomTint.css({top:0,left:0})}
if(self.options.responsive&&!self.options.scrollZoom){if(self.options.showLens){var lensHeight,lensWidth;if(self.nzHeight<self.options.zoomWindowWidth/self.widthRatio){lensHeight=self.nzHeight}else{lensHeight=String((self.options.zoomWindowHeight/self.heightRatio))}
if(self.largeWidth<self.options.zoomWindowWidth){lensWidth=self.nzWidth}else{lensWidth=(self.options.zoomWindowWidth/self.widthRatio)}
self.widthRatio=self.largeWidth/self.nzWidth;self.heightRatio=self.largeHeight/self.nzHeight;if(self.options.zoomType!=='lens'){if(self.nzHeight<self.options.zoomWindowWidth/self.widthRatio){lensHeight=self.nzHeight}else{lensHeight=String((self.options.zoomWindowHeight/self.heightRatio))}
if(self.nzWidth<self.options.zoomWindowHeight/self.heightRatio){lensWidth=self.nzWidth}else{lensWidth=String((self.options.zoomWindowWidth/self.widthRatio))}
self.zoomLens.css({'width':lensWidth,'height':lensHeight});if(self.options.tint){self.zoomTintImage.css({'width':self.nzWidth,'height':self.nzHeight})}}
if(self.options.zoomType==='lens'){self.zoomLens.css({width:String(self.options.lensSize)+'px',height:String(self.options.lensSize)+'px'})}}}
self.zoomContainer.css({top:self.nzOffset.top,left:self.nzOffset.left});self.mouseLeft=parseInt(e.pageX-self.nzOffset.left);self.mouseTop=parseInt(e.pageY-self.nzOffset.top);if(self.options.zoomType==='window'){var zoomLensHeight=self.zoomLens.height()/2;var zoomLensWidth=self.zoomLens.width()/2;self.Etoppos=(self.mouseTop<0+zoomLensHeight);self.Eboppos=(self.mouseTop>self.nzHeight-zoomLensHeight-(self.options.lensBorderSize*2));self.Eloppos=(self.mouseLeft<0+zoomLensWidth);self.Eroppos=(self.mouseLeft>(self.nzWidth-zoomLensWidth-(self.options.lensBorderSize*2)))}
if(self.options.zoomType==='inner'){self.Etoppos=(self.mouseTop<((self.nzHeight/2)/self.heightRatio));self.Eboppos=(self.mouseTop>(self.nzHeight-((self.nzHeight/2)/self.heightRatio)));self.Eloppos=(self.mouseLeft<0+(((self.nzWidth/2)/self.widthRatio)));self.Eroppos=(self.mouseLeft>(self.nzWidth-(self.nzWidth/2)/self.widthRatio-(self.options.lensBorderSize*2)))}
if(self.mouseLeft<0||self.mouseTop<0||self.mouseLeft>self.nzWidth||self.mouseTop>self.nzHeight){self.setElements('hide');return}else{if(self.options.showLens){self.lensLeftPos=String(Math.floor(self.mouseLeft-self.zoomLens.width()/2));self.lensTopPos=String(Math.floor(self.mouseTop-self.zoomLens.height()/2))}
if(self.Etoppos){self.lensTopPos=0}
if(self.Eloppos){self.windowLeftPos=0;self.lensLeftPos=0;self.tintpos=0}
if(self.options.zoomType==='window'){if(self.Eboppos){self.lensTopPos=Math.max((self.nzHeight)-self.zoomLens.height()-(self.options.lensBorderSize*2),0)}
if(self.Eroppos){self.lensLeftPos=(self.nzWidth-(self.zoomLens.width())-(self.options.lensBorderSize*2))}}
if(self.options.zoomType==='inner'){if(self.Eboppos){self.lensTopPos=Math.max(((self.nzHeight)-(self.options.lensBorderSize*2)),0)}
if(self.Eroppos){self.lensLeftPos=(self.nzWidth-(self.nzWidth)-(self.options.lensBorderSize*2))}}
if(self.options.zoomType==='lens'){self.windowLeftPos=String(((e.pageX-self.nzOffset.left)*self.widthRatio-self.zoomLens.width()/2)*(-1));self.windowTopPos=String(((e.pageY-self.nzOffset.top)*self.heightRatio-self.zoomLens.height()/2)*(-1));self.zoomLens.css('background-position',self.windowLeftPos+'px '+self.windowTopPos+'px');if(self.changeBgSize){if(self.nzHeight>self.nzWidth){if(self.options.zoomType==='lens'){self.zoomLens.css('background-size',self.largeWidth/self.newvalueheight+'px '+self.largeHeight/self.newvalueheight+'px')}
self.zoomWindow.css('background-size',self.largeWidth/self.newvalueheight+'px '+self.largeHeight/self.newvalueheight+'px')}else{if(self.options.zoomType==='lens'){self.zoomLens.css('background-size',self.largeWidth/self.newvaluewidth+'px '+self.largeHeight/self.newvaluewidth+'px')}
self.zoomWindow.css('background-size',self.largeWidth/self.newvaluewidth+'px '+self.largeHeight/self.newvaluewidth+'px')}
self.changeBgSize=!1}
self.setWindowPosition(e)}
if(self.options.tint&&self.options.zoomType!=='inner'){self.setTintPosition(e)}
if(self.options.zoomType==='window'){self.setWindowPosition(e)}
if(self.options.zoomType==='inner'){self.setWindowPosition(e)}
if(self.options.showLens){if(self.fullwidth&&self.options.zoomType!=='lens'){self.lensLeftPos=0}
self.zoomLens.css({left:self.lensLeftPos+'px',top:self.lensTopPos+'px'})}}},showHideZoomContainer:function(change){var self=this;if(change==='show'){if(self.zoomContainer){self.zoomContainer.show()}}
if(change==='hide'){if(self.zoomContainer){self.zoomContainer.hide()}}},showHideWindow:function(change){var self=this;if(change==='show'){if(!self.isWindowActive&&self.zoomWindow){self.options.onShow(self);if(self.options.zoomWindowFadeIn){self.zoomWindow.stop(!0,!0,!1).fadeIn(self.options.zoomWindowFadeIn)}else{self.zoomWindow.show()}
self.isWindowActive=!0}}
if(change==='hide'){if(self.isWindowActive){if(self.options.zoomWindowFadeOut){self.zoomWindow.stop(!0,!0).fadeOut(self.options.zoomWindowFadeOut,function(){if(self.loop){clearInterval(self.loop);self.loop=!1}})}else{self.zoomWindow.hide()}
self.isWindowActive=!1}}},showHideLens:function(change){var self=this;if(change==='show'){if(!self.isLensActive){if(self.options.lensFadeIn&&self.zoomLens){self.zoomLens.stop(!0,!0,!1).fadeIn(self.options.lensFadeIn)}else{self.zoomLens.show()}
self.isLensActive=!0}}
if(change==='hide'){if(self.isLensActive){if(self.options.lensFadeOut){self.zoomLens.stop(!0,!0).fadeOut(self.options.lensFadeOut)}else{self.zoomLens.hide()}
self.isLensActive=!1}}},showHideTint:function(change){var self=this;if(change==='show'){if(!self.isTintActive&&self.zoomTint){if(self.options.zoomTintFadeIn){self.zoomTint.css('opacity',self.options.tintOpacity).animate().stop(!0,!0).fadeIn('slow')}else{self.zoomTint.css('opacity',self.options.tintOpacity).animate();self.zoomTint.show()}
self.isTintActive=!0}}
if(change==='hide'){if(self.isTintActive){if(self.options.zoomTintFadeOut){self.zoomTint.stop(!0,!0).fadeOut(self.options.zoomTintFadeOut)}else{self.zoomTint.hide()}
self.isTintActive=!1}}},setLensPosition:function(e){},setWindowPosition:function(e){var self=this;if(!isNaN(self.options.zoomWindowPosition)){switch(self.options.zoomWindowPosition){case 1:self.windowOffsetTop=(self.options.zoomWindowOffsetY);self.windowOffsetLeft=(+self.nzWidth);break;case 2:if(self.options.zoomWindowHeight>self.nzHeight){self.windowOffsetTop=((self.options.zoomWindowHeight/2)-(self.nzHeight/2))*(-1);self.windowOffsetLeft=(self.nzWidth)}else{$.noop()}
break;case 3:self.windowOffsetTop=(self.nzHeight-self.zoomWindow.height()-(self.options.borderSize*2));self.windowOffsetLeft=(self.nzWidth);break;case 4:self.windowOffsetTop=(self.nzHeight);self.windowOffsetLeft=(self.nzWidth);break;case 5:self.windowOffsetTop=(self.nzHeight);self.windowOffsetLeft=(self.nzWidth-self.zoomWindow.width()-(self.options.borderSize*2));break;case 6:if(self.options.zoomWindowHeight>self.nzHeight){self.windowOffsetTop=(self.nzHeight);self.windowOffsetLeft=((self.options.zoomWindowWidth/2)-(self.nzWidth/2)+(self.options.borderSize*2))*(-1)}else{$.noop()}
break;case 7:self.windowOffsetTop=(self.nzHeight);self.windowOffsetLeft=0;break;case 8:self.windowOffsetTop=(self.nzHeight);self.windowOffsetLeft=(self.zoomWindow.width()+(self.options.borderSize*2))*(-1);break;case 9:self.windowOffsetTop=(self.nzHeight-self.zoomWindow.height()-(self.options.borderSize*2));self.windowOffsetLeft=(self.zoomWindow.width()+(self.options.borderSize*2))*(-1);break;case 10:if(self.options.zoomWindowHeight>self.nzHeight){self.windowOffsetTop=((self.options.zoomWindowHeight/2)-(self.nzHeight/2))*(-1);self.windowOffsetLeft=(self.zoomWindow.width()+(self.options.borderSize*2))*(-1)}else{$.noop()}
break;case 11:self.windowOffsetTop=(self.options.zoomWindowOffsetY);self.windowOffsetLeft=(self.zoomWindow.width()+(self.options.borderSize*2))*(-1);break;case 12:self.windowOffsetTop=(self.zoomWindow.height()+(self.options.borderSize*2))*(-1);self.windowOffsetLeft=(self.zoomWindow.width()+(self.options.borderSize*2))*(-1);break;case 13:self.windowOffsetTop=(self.zoomWindow.height()+(self.options.borderSize*2))*(-1);self.windowOffsetLeft=(0);break;case 14:if(self.options.zoomWindowHeight>self.nzHeight){self.windowOffsetTop=(self.zoomWindow.height()+(self.options.borderSize*2))*(-1);self.windowOffsetLeft=((self.options.zoomWindowWidth/2)-(self.nzWidth/2)+(self.options.borderSize*2))*(-1)}else{$.noop()}
break;case 15:self.windowOffsetTop=(self.zoomWindow.height()+(self.options.borderSize*2))*(-1);self.windowOffsetLeft=(self.nzWidth-self.zoomWindow.width()-(self.options.borderSize*2));break;case 16:self.windowOffsetTop=(self.zoomWindow.height()+(self.options.borderSize*2))*(-1);self.windowOffsetLeft=(self.nzWidth);break;default:self.windowOffsetTop=(self.options.zoomWindowOffsetY);self.windowOffsetLeft=(self.nzWidth)}}else{self.externalContainer=$('#'+self.options.zoomWindowPosition);self.externalContainerWidth=self.externalContainer.width();self.externalContainerHeight=self.externalContainer.height();self.externalContainerOffset=self.externalContainer.offset();self.windowOffsetTop=self.externalContainerOffset.top;self.windowOffsetLeft=self.externalContainerOffset.left}
self.isWindowSet=!0;self.windowOffsetTop=self.windowOffsetTop+self.options.zoomWindowOffsetY;self.windowOffsetLeft=self.windowOffsetLeft+self.options.zoomWindowOffsetX;self.zoomWindow.css({top:self.windowOffsetTop,left:self.windowOffsetLeft});if(self.options.zoomType==='inner'){self.zoomWindow.css({top:0,left:0})}
self.windowLeftPos=String(((e.pageX-self.nzOffset.left)*self.widthRatio-self.zoomWindow.width()/2)*(-1));self.windowTopPos=String(((e.pageY-self.nzOffset.top)*self.heightRatio-self.zoomWindow.height()/2)*(-1));if(self.Etoppos){self.windowTopPos=0}
if(self.Eloppos){self.windowLeftPos=0}
if(self.Eboppos){self.windowTopPos=(self.largeHeight/self.currentZoomLevel-self.zoomWindow.height())*(-1)}
if(self.Eroppos){self.windowLeftPos=((self.largeWidth/self.currentZoomLevel-self.zoomWindow.width())*(-1))}
if(self.fullheight){self.windowTopPos=0}
if(self.fullwidth){self.windowLeftPos=0}
if(self.options.zoomType==='window'||self.options.zoomType==='inner'){if(self.zoomLock===1){if(self.widthRatio<=1){self.windowLeftPos=0}
if(self.heightRatio<=1){self.windowTopPos=0}}
if(self.options.zoomType==='window'){if(self.largeHeight<self.options.zoomWindowHeight){self.windowTopPos=0}
if(self.largeWidth<self.options.zoomWindowWidth){self.windowLeftPos=0}}
if(self.options.easing){if(!self.xp){self.xp=0}
if(!self.yp){self.yp=0}
if(!self.loop){self.loop=setInterval(function(){self.xp+=(self.windowLeftPos-self.xp)/self.options.easingAmount;self.yp+=(self.windowTopPos-self.yp)/self.options.easingAmount;if(self.scrollingLock){clearInterval(self.loop);self.xp=self.windowLeftPos;self.yp=self.windowTopPos;self.xp=((e.pageX-self.nzOffset.left)*self.widthRatio-self.zoomWindow.width()/2)*(-1);self.yp=(((e.pageY-self.nzOffset.top)*self.heightRatio-self.zoomWindow.height()/2)*(-1));if(self.changeBgSize){if(self.nzHeight>self.nzWidth){if(self.options.zoomType==='lens'){self.zoomLens.css('background-size',self.largeWidth/self.newvalueheight+'px '+self.largeHeight/self.newvalueheight+'px')}
self.zoomWindow.css('background-size',self.largeWidth/self.newvalueheight+'px '+self.largeHeight/self.newvalueheight+'px')}else{if(self.options.zoomType!=='lens'){self.zoomLens.css('background-size',self.largeWidth/self.newvaluewidth+'px '+self.largeHeight/self.newvalueheight+'px')}
self.zoomWindow.css('background-size',self.largeWidth/self.newvaluewidth+'px '+self.largeHeight/self.newvaluewidth+'px')}
self.changeBgSize=!1}
self.zoomWindow.css('background-position',self.windowLeftPos+'px '+self.windowTopPos+'px');self.scrollingLock=!1;self.loop=!1}else if(Math.round(Math.abs(self.xp-self.windowLeftPos)+Math.abs(self.yp-self.windowTopPos))<1){clearInterval(self.loop);self.zoomWindow.css('background-position',self.windowLeftPos+'px '+self.windowTopPos+'px');self.loop=!1}else{if(self.changeBgSize){if(self.nzHeight>self.nzWidth){if(self.options.zoomType==='lens'){self.zoomLens.css('background-size',self.largeWidth/self.newvalueheight+'px '+self.largeHeight/self.newvalueheight+'px')}
self.zoomWindow.css('background-size',self.largeWidth/self.newvalueheight+'px '+self.largeHeight/self.newvalueheight+'px')}else{if(self.options.zoomType!=='lens'){self.zoomLens.css('background-size',self.largeWidth/self.newvaluewidth+'px '+self.largeHeight/self.newvaluewidth+'px')}
self.zoomWindow.css('background-size',self.largeWidth/self.newvaluewidth+'px '+self.largeHeight/self.newvaluewidth+'px')}
self.changeBgSize=!1}
self.zoomWindow.css('background-position',self.xp+'px '+self.yp+'px')}},16)}}else{if(self.changeBgSize){if(self.nzHeight>self.nzWidth){if(self.options.zoomType==='lens'){self.zoomLens.css('background-size',self.largeWidth/self.newvalueheight+'px '+self.largeHeight/self.newvalueheight+'px')}
self.zoomWindow.css('background-size',self.largeWidth/self.newvalueheight+'px '+self.largeHeight/self.newvalueheight+'px')}else{if(self.options.zoomType==='lens'){self.zoomLens.css('background-size',self.largeWidth/self.newvaluewidth+'px '+self.largeHeight/self.newvaluewidth+'px')}
if((self.largeHeight/self.newvaluewidth)<self.options.zoomWindowHeight){self.zoomWindow.css('background-size',self.largeWidth/self.newvaluewidth+'px '+self.largeHeight/self.newvaluewidth+'px')}else{self.zoomWindow.css('background-size',self.largeWidth/self.newvalueheight+'px '+self.largeHeight/self.newvalueheight+'px')}}
self.changeBgSize=!1}
self.zoomWindow.css('background-position',self.windowLeftPos+'px '+self.windowTopPos+'px')}}},setTintPosition:function(e){var self=this;var zoomLensWidth=self.zoomLens.width();var zoomLensHeight=self.zoomLens.height();self.nzOffset=self.$elem.offset();self.tintpos=String(((e.pageX-self.nzOffset.left)-(zoomLensWidth/2))*(-1));self.tintposy=String(((e.pageY-self.nzOffset.top)-zoomLensHeight/2)*(-1));if(self.Etoppos){self.tintposy=0}
if(self.Eloppos){self.tintpos=0}
if(self.Eboppos){self.tintposy=(self.nzHeight-zoomLensHeight-(self.options.lensBorderSize*2))*(-1)}
if(self.Eroppos){self.tintpos=((self.nzWidth-zoomLensWidth-(self.options.lensBorderSize*2))*(-1))}
if(self.options.tint){if(self.fullheight){self.tintposy=0}
if(self.fullwidth){self.tintpos=0}
self.zoomTintImage.css({'left':self.tintpos+'px','top':self.tintposy+'px'})}},swaptheimage:function(smallimage,largeimage){var self=this;var newImg=new Image();if(self.options.loadingIcon){self.spinner=$('<div style="'+'height:'+self.nzHeight+'px;'+'width:'+self.nzWidth+'px;'+'z-index: 2000;position: absolute; '+'background-position: center center;"></div>');self.$elem.after(self.spinner)}
self.options.onImageSwap(self.$elem);newImg.onload=function(){self.largeWidth=newImg.width;self.largeHeight=newImg.height;self.zoomImage=largeimage;self.zoomWindow.css('background-size',self.largeWidth+'px '+self.largeHeight+'px');self.swapAction(smallimage,largeimage);return};self.setImageSource(newImg,largeimage)},swapAction:function(smallimage,largeimage){var self=this;var elemWidth=self.$elem.width();var elemHeight=self.$elem.height();var newImg2=new Image();newImg2.onload=function(){self.nzHeight=newImg2.height;self.nzWidth=newImg2.width;self.options.onImageSwapComplete(self.$elem);self.doneCallback();return};self.setImageSource(newImg2,smallimage);self.currentZoomLevel=self.options.zoomLevel;self.options.maxZoomLevel=!1;if(self.options.zoomType==='lens'){self.zoomLens.css('background-image','url("'+largeimage+'")')}
if(self.options.zoomType==='window'){self.zoomWindow.css('background-image','url("'+largeimage+'")')}
if(self.options.zoomType==='inner'){self.zoomWindow.css('background-image','url("'+largeimage+'")')}
self.currentImage=largeimage;if(self.options.imageCrossfade){var oldImg=self.$elem;var newImg=oldImg.clone();self.$elem.attr('src',smallimage);self.$elem.after(newImg);newImg.stop(!0).fadeOut(self.options.imageCrossfade,function(){$(this).remove()});self.$elem.width('auto').removeAttr('width');self.$elem.height('auto').removeAttr('height');oldImg.fadeIn(self.options.imageCrossfade);if(self.options.tint&&self.options.zoomType!=='inner'){var oldImgTint=self.zoomTintImage;var newImgTint=oldImgTint.clone();self.zoomTintImage.attr('src',largeimage);self.zoomTintImage.after(newImgTint);newImgTint.stop(!0).fadeOut(self.options.imageCrossfade,function(){$(this).remove()});oldImgTint.fadeIn(self.options.imageCrossfade);self.zoomTint.css({height:elemHeight,width:elemWidth})}
self.zoomContainer.css({'height':elemHeight,'width':elemWidth});if(self.options.zoomType==='inner'){if(!self.options.constrainType){self.zoomWrap.parent().css({'height':elemHeight,'width':elemWidth});self.zoomWindow.css({'height':elemHeight,'width':elemWidth})}}
if(self.options.imageCrossfade){self.zoomWrap.css({'height':elemHeight,'width':elemWidth})}}else{self.$elem.attr('src',smallimage);if(self.options.tint){self.zoomTintImage.attr('src',largeimage);self.zoomTintImage.attr('height',elemHeight);self.zoomTintImage.css('height',elemHeight);self.zoomTint.css('height',elemHeight)}
self.zoomContainer.css({'height':elemHeight,'width':elemWidth});if(self.options.imageCrossfade){self.zoomWrap.css({'height':elemHeight,'width':elemWidth})}}
if(self.options.constrainType){if(self.options.constrainType==='height'){var autoWDimension={'height':self.options.constrainSize,'width':'auto'};self.zoomContainer.css(autoWDimension);if(self.options.imageCrossfade){self.zoomWrap.css(autoWDimension);self.constwidth=self.zoomWrap.width()}else{self.$elem.css(autoWDimension);self.constwidth=elemWidth}
var constWDim={'height':self.options.constrainSize,'width':self.constwidth};if(self.options.zoomType==='inner'){self.zoomWrap.parent().css(constWDim);self.zoomWindow.css(constWDim)}
if(self.options.tint){self.tintContainer.css(constWDim);self.zoomTint.css(constWDim);self.zoomTintImage.css(constWDim)}}
if(self.options.constrainType==='width'){var autoHDimension={'height':'auto','width':self.options.constrainSize};self.zoomContainer.css(autoHDimension);if(self.options.imageCrossfade){self.zoomWrap.css(autoHDimension);self.constheight=self.zoomWrap.height()}else{self.$elem.css(autoHDimension);self.constheight=elemHeight}
var constHDim={'height':self.constheight,'width':self.options.constrainSize};if(self.options.zoomType==='inner'){self.zoomWrap.parent().css(constHDim);self.zoomWindow.css(constHDim)}
if(self.options.tint){self.tintContainer.css(constHDim);self.zoomTint.css(constHDim);self.zoomTintImage.css(constHDim)}}}},doneCallback:function(){var self=this;if(self.options.loadingIcon){self.spinner.hide()}
self.nzOffset=self.$elem.offset();self.nzWidth=self.$elem.width();self.nzHeight=self.$elem.height();self.currentZoomLevel=self.options.zoomLevel;self.widthRatio=self.largeWidth/self.nzWidth;self.heightRatio=self.largeHeight/self.nzHeight;if(self.options.zoomType==='window'){var lensHeight,lensWidth;if(self.nzHeight<self.options.zoomWindowHeight/self.heightRatio){lensHeight=self.nzHeight}else{lensHeight=String((self.options.zoomWindowHeight/self.heightRatio))}
if(self.nzWidth<self.options.zoomWindowWidth){lensWidth=self.nzWidth}else{lensWidth=(self.options.zoomWindowWidth/self.widthRatio)}
if(self.zoomLens){self.zoomLens.css({'width':lensWidth,'height':lensHeight})}}},getCurrentImage:function(){var self=this;return self.zoomImage},getGalleryList:function(){var self=this;self.gallerylist=[];if(self.options.gallery){$('#'+self.options.gallery+' a').each(function(){var imgSrc='';if($(this).data('zoom-image')){imgSrc=$(this).data('zoom-image')}else if($(this).data('image')){imgSrc=$(this).data('image')}
if(imgSrc===self.zoomImage){self.gallerylist.unshift({href:''+imgSrc+'',title:$(this).find('img').attr('title')})}else{self.gallerylist.push({href:''+imgSrc+'',title:$(this).find('img').attr('title')})}})}else{self.gallerylist.push({href:''+self.zoomImage+'',title:$(this).find('img').attr('title')})}
return self.gallerylist},changeZoomLevel:function(value){var self=this;self.scrollingLock=!0;self.newvalue=parseFloat(value).toFixed(2);var newvalue=self.newvalue;var maxheightnewvalue=self.largeHeight/((self.options.zoomWindowHeight/self.nzHeight)*self.nzHeight);var maxwidthtnewvalue=self.largeWidth/((self.options.zoomWindowWidth/self.nzWidth)*self.nzWidth);if(self.options.zoomType!=='inner'){if(maxheightnewvalue<=newvalue){self.heightRatio=(self.largeHeight/maxheightnewvalue)/self.nzHeight;self.newvalueheight=maxheightnewvalue;self.fullheight=!0}else{self.heightRatio=(self.largeHeight/newvalue)/self.nzHeight;self.newvalueheight=newvalue;self.fullheight=!1}
if(maxwidthtnewvalue<=newvalue){self.widthRatio=(self.largeWidth/maxwidthtnewvalue)/self.nzWidth;self.newvaluewidth=maxwidthtnewvalue;self.fullwidth=!0}else{self.widthRatio=(self.largeWidth/newvalue)/self.nzWidth;self.newvaluewidth=newvalue;self.fullwidth=!1}
if(self.options.zoomType==='lens'){if(maxheightnewvalue<=newvalue){self.fullwidth=!0;self.newvaluewidth=maxheightnewvalue}else{self.widthRatio=(self.largeWidth/newvalue)/self.nzWidth;self.newvaluewidth=newvalue;self.fullwidth=!1}}}
if(self.options.zoomType==='inner'){maxheightnewvalue=parseFloat(self.largeHeight/self.nzHeight).toFixed(2);maxwidthtnewvalue=parseFloat(self.largeWidth/self.nzWidth).toFixed(2);if(newvalue>maxheightnewvalue){newvalue=maxheightnewvalue}
if(newvalue>maxwidthtnewvalue){newvalue=maxwidthtnewvalue}
if(maxheightnewvalue<=newvalue){self.heightRatio=(self.largeHeight/newvalue)/self.nzHeight;if(newvalue>maxheightnewvalue){self.newvalueheight=maxheightnewvalue}else{self.newvalueheight=newvalue}
self.fullheight=!0}else{self.heightRatio=(self.largeHeight/newvalue)/self.nzHeight;if(newvalue>maxheightnewvalue){self.newvalueheight=maxheightnewvalue}else{self.newvalueheight=newvalue}
self.fullheight=!1}
if(maxwidthtnewvalue<=newvalue){self.widthRatio=(self.largeWidth/newvalue)/self.nzWidth;if(newvalue>maxwidthtnewvalue){self.newvaluewidth=maxwidthtnewvalue}else{self.newvaluewidth=newvalue}
self.fullwidth=!0}else{self.widthRatio=(self.largeWidth/newvalue)/self.nzWidth;self.newvaluewidth=newvalue;self.fullwidth=!1}}
var scrcontinue=!1;if(self.options.zoomType==='inner'){if(self.nzWidth>=self.nzHeight){if(self.newvaluewidth<=maxwidthtnewvalue){scrcontinue=!0}else{scrcontinue=!1;self.fullheight=!0;self.fullwidth=!0}}
if(self.nzHeight>self.nzWidth){if(self.newvaluewidth<=maxwidthtnewvalue){scrcontinue=!0}else{scrcontinue=!1;self.fullheight=!0;self.fullwidth=!0}}}
if(self.options.zoomType!=='inner'){scrcontinue=!0}
if(scrcontinue){self.zoomLock=0;self.changeZoom=!0;if(((self.options.zoomWindowHeight)/self.heightRatio)<=self.nzHeight){self.currentZoomLevel=self.newvalueheight;if(self.options.zoomType!=='lens'&&self.options.zoomType!=='inner'){self.changeBgSize=!0;self.zoomLens.css('height',String(self.options.zoomWindowHeight/self.heightRatio)+'px')}
if(self.options.zoomType==='lens'||self.options.zoomType==='inner'){self.changeBgSize=!0}}
if((self.options.zoomWindowWidth/self.widthRatio)<=self.nzWidth){if(self.options.zoomType!=='inner'){if(self.newvaluewidth>self.newvalueheight){self.currentZoomLevel=self.newvaluewidth}}
if(self.options.zoomType!=='lens'&&self.options.zoomType!=='inner'){self.changeBgSize=!0;self.zoomLens.css('width',String(self.options.zoomWindowWidth/self.widthRatio)+'px')}
if(self.options.zoomType==='lens'||self.options.zoomType==='inner'){self.changeBgSize=!0}}
if(self.options.zoomType==='inner'){self.changeBgSize=!0;if(self.nzWidth>self.nzHeight){self.currentZoomLevel=self.newvaluewidth}
if(self.nzHeight>self.nzWidth){self.currentZoomLevel=self.newvaluewidth}}}
self.setPosition(self.currentLoc)},closeAll:function(){var self=this;if(self.zoomWindow){self.zoomWindow.hide()}
if(self.zoomLens){self.zoomLens.hide()}
if(self.zoomTint){self.zoomTint.hide()}},changeState:function(value){var self=this;if(value==='enable'){self.options.zoomEnabled=!0}
if(value==='disable'){self.options.zoomEnabled=!1}},responsiveConfig:function(options){if(options.respond&&options.respond.length>0){return $.extend({},options,this.configByScreenWidth(options))}
return options},configByScreenWidth:function(options){var screenWidth=$(window).width();var config=$.grep(options.respond,function(item){var range=item.range.split('-');return(screenWidth>=range[0])&&(screenWidth<=range[1])});if(config.length>0){return config[0]}else{return options}}};$.fn.ezPlus=function(options){return this.each(function(){var elevate=Object.create(EZP);elevate.init(options,this);$.data(this,'ezPlus',elevate)})};$.fn.ezPlus.options={borderColour:'#888',borderSize:4,constrainSize:!1,constrainType:!1,containLensZoom:!1,cursor:'inherit',debug:!1,easing:!1,easingAmount:12,enabled:!0,gallery:!1,galleryActiveClass:'zoomGalleryActive',gallerySelector:!1,galleryItem:'a',imageCrossfade:!1,lensBorderColour:'#000',lensBorderSize:1,lensColour:'white',lensFadeIn:!1,lensFadeOut:!1,lensOpacity:0.4,lensShape:'square',lensSize:200,lenszoom:!1,loadingIcon:!1,mantainZoomAspectRatio:!1,maxZoomLevel:!1,minZoomLevel:!1,onComplete:$.noop,onDestroy:$.noop,onImageClick:$.noop,onImageSwap:$.noop,onImageSwapComplete:$.noop,onShow:$.noop,onZoomedImageLoaded:$.noop,preloading:1,respond:[],responsive:!0,scrollZoom:!1,scrollZoomIncrement:0.1,showLens:!0,tint:!1,tintColour:'#333',tintOpacity:0.4,touchEnabled:!0,zoomActivation:'hover',zoomContainerAppendTo:'body',zoomLevel:2,zoomTintFadeIn:!1,zoomTintFadeOut:!1,zoomType:'lens',zoomWindowAlwaysShow:!1,zoomWindowBgColour:'#fff',zoomWindowFadeIn:!1,zoomWindowFadeOut:!1,zoomWindowHeight:400,zoomWindowOffsetX:0,zoomWindowOffsetY:0,zoomWindowPosition:1,zoomWindowWidth:400,zoomEnabled:!0,zIndex:999}})(jQuery,window,document);jQuery(".sing_pic").ezPlus();var add_height=jQuery('.respons_add').height();jQuery('body').css('padding-bottom',50)
jQuery(document).ready(function(){var box=jQuery('.proposal_box');var box_width=box.width();var itm=box.find('.proposal_item');var itm_number=itm.length;if(itm_number<6){var item_wid=box_width/itm_number;itm.css({'width':item_wid})}})
jQuery(document).ready(function(){jQuery('.mm_close').click(function(){jQuery('.mobile_menu_body').css({'right':'-100%'})})})
jQuery(document).on("click",".ajax_comp",(function(){var $this=jQuery(this);var pid=$this.data('pid')
jQuery.ajax({url:ajax_data.aju,type:"POST",cache:!1,data:{action:"show_compare",pid:pid},beforeSend:function(){jQuery("#dark").fadeIn();var check_cookie=Cookies.get('user_favo');if(check_cookie==null||check_cookie===''){document.cookie="user_favo="+pid+"; path=/"}else{let cok_array=check_cookie.split(',');let leng=cok_array.length;var add_item=check_cookie+','+pid;if(leng<4){document.cookie="user_favo="+add_item+"; path=/"}}},success:function(e){var box=jQuery('.ajax_compare');box.html(e)
box.css({'opacity':1,'visibility':'visible'})}})}))
jQuery(document).on("click",".item_comp_select",(function(){var $this=jQuery(this);var pid=$this.data('pid')
jQuery.ajax({url:ajax_data.aju,type:"POST",data:{action:"show_compare",pid:pid},beforeSend:function(){$this.text('در حال اضافه شدن به لیست')
var check_cookie=Cookies.get('user_favo');if(check_cookie==null){document.cookie="user_favo="+pid+"; path=/"}else{let cok_array=check_cookie.split(',');let leng=cok_array.length;var add_item=check_cookie+','+pid;if(leng<4){document.cookie="user_favo="+add_item+"; path=/"}}},success:function(e){var box=jQuery('.ajax_compare');box.html(e)
box.css({'opacity':1,'visibility':'visible'})}})}))
jQuery(document).on("click",".ajx_comp_remove",(function(){var $this=jQuery(this);var pid=$this.data('pid')
jQuery.ajax({url:ajax_data.aju,type:"POST",data:{action:"remove_compare",pid:pid},beforeSend:function(){let check_cookie=Cookies.get('user_favo');let cok_array=check_cookie.split(',');cok_array=cok_array.filter((n)=>{return n!=pid});cok_string=cok_array.toString()
var rmtxt=$this.find('.rm_txt');rmtxt.css({'opacity':1,'visibility':'visible'})
document.cookie="user_favo="+cok_string+"; path=/"},success:function(e){if(e===''){var box=jQuery('.ajax_compare');box.css({'opacity':0,'visibility':'hidden'});jQuery('#dark').fadeOut()}else{var box=jQuery('.ajax_compare');box.html(e)}}})}))
jQuery(document).ready(function(){jQuery(document).on('click','.ccp_ajax',function(){jQuery('.aj_compare_related_pop').css({'opacity':1,'visibility':'visible'})})})
jQuery(document).ready(function(){jQuery(document).on('click','.asv_close',function(){jQuery('.ajax_speed_view').css({'opacity':0,'visibility':'hidden'});jQuery('#dark').fadeOut()})})
jQuery(document).ready(function(){jQuery(document).on('click','.crpc_ajax',function(){jQuery('.aj_compare_related_pop').css({'opacity':0,'visibility':'hidden'})})})
jQuery(document).ready(function(){jQuery(document).on('click','.ajc_close',function(){jQuery('.ajax_compare').css({'opacity':0,'visibility':'hidden'});jQuery('#dark').css({'display':'none'})})})
jQuery(document).on("click",".ajax_sv",(function(){var $this=jQuery(this);var pid=$this.data('pid')
jQuery.ajax({url:ajax_data.aju,type:"POST",data:{action:"aj_sp_v",pid:pid},beforeSend:function(){jQuery("#dark").fadeIn()},success:function(e){var boxs=jQuery('.asv_box');boxs.html(e)
jQuery('.ajax_speed_view').css({'opacity':1,'visibility':'visible'})}})}))
var sliderTag3=jQuery('#slider3');var sliderItems3=sliderTag3.find('.item');var numItems3=sliderItems3.length;var nextSlide3=1;var timeOut3=5000;var sliderNavigators3=sliderTag3.find("#slider3_navigator ul li");function slider3(){if(nextSlide3>numItems3){nextSlide3=1}
if(nextSlide3<1){nextSlide3=numItems3}
sliderItems3.fadeOut(0);sliderItems3.eq(nextSlide3-1).fadeIn(100);sliderNavigators3.removeClass('active');sliderNavigators3.eq(nextSlide3-1).addClass('active');nextSlide3++}
slider3();var sliderInterval3=setInterval(slider3,timeOut);sliderTag3.mouseleave(function(){clearInterval(sliderInterval3);sliderInterval3=setInterval(slider3,timeOut2)});function goToSlide3(index){nextSlide3=index;slider3()}
jQuery('#slider3 #slider3_navigator li').click(function(){clearInterval(sliderInterval3);var index=jQuery(this).index();goToSlide3(index+1)});jQuery(document).ready(function(){jQuery('.add_favo').click(function(){var $this=jQuery(this)
var pid=$this.data('pid');var parent=$this.parents('.ov_circle');if(!$this.hasClass('active')){jQuery.ajax({url:ajax_data.aju,type:'POST',data:{'action':'user_products_favorite','pid':pid,},beforeSend:function(){jQuery('#dark').fadeIn()},success:function(output){if(output=='login'){jQuery('#dark').fadeIn();jQuery('#login_pop').fadeIn()}else{$this.addClass('active')
jQuery('#dark').fadeOut()}},})}})});jQuery(document).on("click",".attr_drop ul li",(function(){let $this=jQuery(this);$this.toggleClass("active");let hiddent_cat=jQuery(".hiddent_cat");let min_price=jQuery("#min_price").val();let max_price=jQuery("#max_price").val();let cat=hiddent_cat.val();let tag=jQuery(this).data("tags");let isp=jQuery(".instock_bot").hasClass("active")?"on":"off";let ims=hiddent_cat.data('ims');let sort_parent=jQuery('.sort_top_body ul li.active');let sort_data=sort_parent.data('sort')
let terms_parent=$this.parents('.v11');let term_each=terms_parent.find('.attr_box');let tax=jQuery('.hide_stock').data('tax');let tslug=jQuery('.hide_stock').data('tslug');let attr_active=[];if(term_each.length){term_each.each(function(){let $z=jQuery(this);let term_active=$z.find('.attr_drop ul li.active');if(term_active.length){let term_array=[];let tax_key=$z.data('key')
term_array.push(tax_key);term_active.each(function(){let $x=jQuery(this);let term_key=$x.data('termkey');term_array.push(term_key)});attr_active.push(term_array)}})}
jQuery.ajax({url:ajax_data.aju,type:"POST",data:{action:"get_archive_product",terms:attr_active,min_price:min_price,max_price:max_price,cat:cat,tag:tag,ims:ims,stos:isp,sort:sort_data,tax:tax,tslug:tslug},beforeSend:function(){jQuery("#dark").fadeIn()},success:function(e){jQuery("#dark").fadeOut(),jQuery(".www").html(e.data.html)}})}))
jQuery(document).on("click",'#login_bot',(function(e){e.preventDefault();let digits_check=ajax_data.digits_check
if(digits_check==='yes'){jQuery('.dig-box').css({'display':'block'})}else{jQuery('#dark').css({'display':'block'})
jQuery('#login_pop').css({'display':'block'})}}))
jQuery(document).on("click",'.login_bot',(function(e){e.preventDefault();let digits_check=ajax_data.digits_check
if(digits_check==='yes'){jQuery('.dig-box').css({'display':'block'})}else{jQuery('#dark').css({'display':'block'})
jQuery('#login_pop').css({'display':'block'})}}))
jQuery(".shlinclo").on("click",(function(e){jQuery('.share_box').css({'opacity':'0','visibility':'hidden'})}))
jQuery(".shiclc").on("click",(function(e){jQuery('.share_box').css({'opacity':'1','visibility':'visible'})}))
jQuery(".digits-cancel").click((function(){jQuery('#dark').css({'display':' none'})}));var emojiImages=document.getElementsByClassName('link_copy');for(var i=0;i<emojiImages.length;i++){emojiImages[i].onclick=function(){var a=this.getAttribute('data-link');var textArea=document.createElement("textarea");textArea.value=a;document.body.appendChild(textArea);textArea.select();try{var successful=document.execCommand('copy');var msg=successful?'successful':'unsuccessful'}catch(err){console.log('Oops, unable to copy')}
document.body.removeChild(textArea);jQuery('.link_copy').text('کپی شد');setTimeout(function(){jQuery(".link_copy").text("کپی لینک")},5000)}}
jQuery(document).ready(function($){$('.add_to_cart_bt').on('click',function(e){e.preventDefault();$thisbutton=$(this),$form=$thisbutton.closest('form.cart'),id=$thisbutton.val(),product_qty=jQuery('input[name=quantity]').val()||1,product_id=jQuery('input[name=product_id]').val()||id
var variation_id='';if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){var variation_id_find=jQuery('.mobile_var .variation_id')
var variation_id_first=variation_id_find;variation_id=variation_id_first[1].defaultValue}else{var variation_id_find=jQuery(document).find('.desc_var')
variation_id=variation_id_find.find('input[name=variation_id]').val()}
var data={action:'ql_woocommerce_ajax_add_to_cart',product_id:product_id,product_sku:'',quantity:product_qty,variation_id:variation_id,};var old_count=jQuery('.show_cart_cunt').html()
var new_count=parseInt(old_count)+parseInt('1')
jQuery('.show_cart_cunt').text(new_count)
let var_num=Number(variation_id)
if(var_num!=0){$.ajax({type:'post',url:wc_add_to_cart_params.ajax_url,data:data,beforeSend:function(response){$thisbutton.removeClass('added').addClass('loading');jQuery('.add_to_cart_bt').text('در حال افزودن به سبد خرید ...')},complete:function(response){},success:function(response){jQuery('.add_to_cart_bt').text('افزودن به سبد خرید')
var a=jQuery(this),r=a.data("itemkey"),n=a.data("qua"),t=a.data("cartcount");var r=jQuery("#cart_container"),i=a.parents(".mini_item");jQuery(".cart_item_plus").html(t-n),i.remove();jQuery(".c-update_cart").click()
var o=window.location.href;r.html("<div class='reftesh_cart'> <span>در حال بروزرسانی سبد خرید ...</span></div>"),r.load(o+" #cart_item_container"),jQuery("#dark").fadeOut()},})}else{alert('گزینه های محصول را انتخاب نمایید.')}})});jQuery(".instock_bot").on("click",(function(){var e=jQuery(this);let sort_parent=jQuery('.sort_top_body ul li.active');let sort_data=sort_parent.data('sort')
let terms_parent=jQuery('.v11');let term_each=terms_parent.find('.attr_box');let tax=jQuery('.hide_stock').data('tax');let tslug=jQuery('.hide_stock').data('tslug');let min_price=jQuery("#min_price").val();let max_price=jQuery("#max_price").val();let attr_active=[];term_each.each(function(){let $this=jQuery(this);let term_active=$this.find('.attr_drop ul li.active');if(term_active.length){let term_array=[];let tax_key=$this.data('key')
term_array.push(tax_key);term_active.each(function(){let $x=jQuery(this);let term_key=$x.data('termkey');term_array.push(term_key)});attr_active.push(term_array)}})
e.toggleClass("active");if(e.hasClass("active")){let a=jQuery(".hiddent_cat").val(),f=jQuery(".hiddent_cat").data('term'),n=jQuery(".hiddent_cat").data('ims'),stos='on';jQuery.ajax({url:ajax_data.aju,type:"POST",data:{action:"get_archive_product",cat:a,stos:stos,tag:f,ims:n,min_price:min_price,max_price:max_price,terms:attr_active,sort:sort_data,tax:tax,tslug:tslug,},beforeSend:function(){jQuery("#dark").fadeIn()},success:function(e){jQuery("#dark").fadeOut(),jQuery(".www").html(e.data.html)}})}else{var cat=jQuery(".hiddent_cat").val(),term=jQuery(".hiddent_cat").data('term'),ims=jQuery(".hiddent_cat").data('ims');jQuery.ajax({url:ajax_data.aju,type:"POST",data:{action:"get_archive_product",cat:cat,tag:term,ims:ims,min_price:min_price,max_price:max_price,stos:'off',terms:attr_active,sort:sort_data,tax:tax,tslug:tslug,},beforeSend:function(){jQuery("#dark").fadeIn()},success:function(e){jQuery("#dark").fadeOut(),jQuery(".www").html(e.data.html)}})}}));(function($){'use strict';$.fn.tawcvs_variation_swatches_form=function(){return this.each(function(){var $form=$(this);if(typeof $form.find(".tawcvs-available-product-variation").data("product_variations")!=="undefined"){$form.data("product_variations",$form.find(".tawcvs-available-product-variation").data("product_variations")).trigger('reload_product_variations').trigger('update_variation_values')}
$form.addClass('swatches-support').on("found_variation",function(event,variation){$form.change_variation_image_on_shop_page(variation)}).on("reset_image",function(event){$form.change_variation_image_on_shop_page(!1)}).on('click','.swatch',function(e){e.preventDefault();var $el=$(this);let $select=!1,value=!1;if(!$("body").hasClass("single-product")&&$("body").find(".wc-product-table-wrapper").length){let attribute_name=$el.closest('.tawcvs-swatches').data("attribute_name");$select=$el.closest('.variations').find('select[data-attribute_name="'+attribute_name+'"]');value=$el.attr('data-value')}else{$select=$el.closest('.value').find('select');value=$el.attr('data-value')}
if($el.hasClass('disabled')){return}
if(!$select.length){if($form.closest(".woosb-product").length){$select=$el.closest('.select').find('select')}}
$el.parents('.tawcvs-swatches').find(".swatch.selected").each(function(){$(this).not($el).removeClass("selected");$select.val('')})
$select.trigger('focusin');if(!$select.find('option[value="'+value+'"]').length){$el.siblings('.swatch').removeClass('selected');$select.val('').change();$form.trigger('tawcvs_no_matching_variations',[$el]);return}
if($el.hasClass('selected')){$select.val('');$el.removeClass('selected');if($el.attr('type')=='radio'){setTimeout(function(){$el.prop('checked',!1)},100)}}else{$el.addClass('selected').siblings('.selected').removeClass('selected');$select.val(value);if($el.attr('type')=='radio'){setTimeout(function(){$el.prop('checked',!0)},100)}}
$select.change()}).on('click','.reset_variations',function(){$form.find('.swatch.selected').removeClass('selected');$form.find('.swatch.disabled').removeClass('disabled');if($form.find('input[type="radio"]').length>1){$form.find('input[type="radio"]').prop('checked',!1)}}).on('woocommerce_update_variation_values',function(){setTimeout(function(){$form.find('.variation-selector').each(function(){var $variationSelector=$(this),$options=$variationSelector.find('select').find('option'),$selected=$options.filter(':selected'),values=[];$options.each(function(index,option){if(option.value!==''){values.push(option.value)}});$variationSelector.closest('.value').find('.swatch').each(function(){var $swatch=$(this),value=$swatch.attr('data-value');$swatch.closest('.swatch-item-wrapper').show();if(values.indexOf(value)>-1){$swatch.removeClass('disabled')}else{$swatch.addClass('disabled');if($swatch.closest('.tawcvs-swatches').hasClass('oss-hide')){$swatch.closest('.swatch-item-wrapper').hide()}
if($selected.length&&value===$selected.val()){$swatch.removeClass('selected')}}})})},100)}).on('tawcvs_no_matching_variations',function(){window.alert(wc_add_to_cart_variation_params.i18n_no_matching_variations_text)})})};$.fn.change_variation_image_on_shop_page=function(variation){var $product=$(this).closest('.product'),$product_img=$product.find('.woocommerce-LoopProduct-link img');if($product_img.length!==1){return!1}
if(variation&&variation.image&&variation.image.src&&variation.image.src.length>1){$product_img.wc_set_variation_attr('src',variation.image.src);$product_img.wc_set_variation_attr('height',variation.image.src_h);$product_img.wc_set_variation_attr('width',variation.image.src_w);$product_img.wc_set_variation_attr('srcset',variation.image.srcset);$product_img.wc_set_variation_attr('sizes',variation.image.sizes);$product_img.wc_set_variation_attr('title',variation.image.title);$product_img.wc_set_variation_attr('data-caption',variation.image.caption);$product_img.wc_set_variation_attr('alt',variation.image.alt);$product_img.wc_set_variation_attr('data-src',variation.image.full_src);$product_img.wc_set_variation_attr('data-large_image',variation.image.full_src);$product_img.wc_set_variation_attr('data-large_image_width',variation.image.full_src_w);$product_img.wc_set_variation_attr('data-large_image_height',variation.image.full_src_h)}else{$product_img.wc_reset_variation_attr('src');$product_img.wc_reset_variation_attr('width');$product_img.wc_reset_variation_attr('height');$product_img.wc_reset_variation_attr('srcset');$product_img.wc_reset_variation_attr('sizes');$product_img.wc_reset_variation_attr('title');$product_img.wc_reset_variation_attr('data-caption');$product_img.wc_reset_variation_attr('alt');$product_img.wc_reset_variation_attr('data-src');$product_img.wc_reset_variation_attr('data-large_image');$product_img.wc_reset_variation_attr('data-large_image_width');$product_img.wc_reset_variation_attr('data-large_image_height')}}
function toggle_hidden_variation_btn(){const resetVariationNodes=document.getElementsByClassName('reset_variations');if(resetVariationNodes.length){Array.prototype.forEach.call(resetVariationNodes,function(resetVariationEle){let observer=new MutationObserver(function(){if(resetVariationEle.style.visibility!=='hidden'){resetVariationEle.style.display='block'}else{resetVariationEle.style.display='none'}});observer.observe(resetVariationEle,{attributes:!0,childList:!0})})}}
$(function(){$('.variations_form').tawcvs_variation_swatches_form().trigger('woocommerce_update_variation_values');$(document.body).trigger('tawcvs_initialized');toggle_hidden_variation_btn()});$(document).ajaxComplete(function(){var $variations_form=$('.variations_form:not(.swatches-support)');if($variations_form.length>0){$variations_form.each(function(){$(this).wc_variation_form()});$variations_form.tawcvs_variation_swatches_form()}})})(jQuery);!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.persianDate=t():e.persianDate=t()}(this,function(){return function(e){function t(i){if(a[i])return a[i].exports;var r=a[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var a={};return t.m=e,t.c=a,t.i=function(e){return e},t.d=function(e,a,i){t.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=8)}([function(e,t,a){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=function(){function e(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,a,i){return a&&e(t.prototype,a),i&&e(t,i),t}}(),n=a(4).durationUnit,s=function(){function e(){i(this,e)}return r(e,[{key:"toPersianDigit",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.toString().replace(/\d+/g,function(e){var a=[],i=[],r=void 0,n=void 0;for(r=0;r<e.length;r+=1)a.push(e.charCodeAt(r));for(n=0;n<a.length;n+=1)i.push(String.fromCharCode(a[n]+(t&&!0===t?1584:1728)));return i.join("")})}},{key:"leftZeroFill",value:function(e,t){for(var a=e+"";a.length<t;)a="0"+a;return a}},{key:"normalizeDuration",value:function(){var e=void 0,t=void 0;return"string"==typeof arguments[0]?(e=arguments[0],t=arguments[1]):(t=arguments[0],e=arguments[1]),n.year.indexOf(e)>-1?e="year":n.month.indexOf(e)>-1?e="month":n.week.indexOf(e)>-1?e="week":n.day.indexOf(e)>-1?e="day":n.hour.indexOf(e)>-1?e="hour":n.minute.indexOf(e)>-1?e="minute":n.second.indexOf(e)>-1?e="second":n.millisecond.indexOf(e)>-1&&(e="millisecond"),{unit:e,value:t}}},{key:"absRound",value:function(e){return e<0?Math.ceil(e):Math.floor(e)}},{key:"absFloor",value:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)}}]),e}();e.exports=s},function(e,t,a){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=function(){function e(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,a,i){return a&&e(t.prototype,a),i&&e(t,i),t}}(),n=a(10),s=a(2),o=a(0),h=a(5),u=a(11),d=(new o).toPersianDigit,l=(new o).leftZeroFill,c=(new o).normalizeDuration,y=a(7),f=a(6),v=function(){function t(e){return i(this,t),this.calendarType=t.calendarType,this.localType=t.localType,this.leapYearMode=t.leapYearMode,this.algorithms=new s(this),this.version="1.1.0",this._utcMode=!1,"fa"!==this.localType?this.formatPersian=!1:this.formatPersian="_default",this.State=this.algorithms.State,this.setup(e),this.State.isInvalidDate?new Date([-1,-1]):this}return r(t,[{key:"setup",value:function(e){if(n.isDate(e))this._gDateToCalculators(e);else if(n.isArray(e)){if(!u.validateInputArray(e))return this.State.isInvalidDate=!0,!1;this.algorithmsCalc([e[0],e[1]?e[1]:1,e[2]?e[2]:1,e[3]?e[3]:0,e[4]?e[4]:0,e[5]?e[5]:0,e[6]?e[6]:0])}else if(n.isNumber(e)){var a=new Date(e);this._gDateToCalculators(a)}else if(e instanceof t)this.algorithmsCalc([e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]);else if(e&&"/Date("===e.substring(0,6)){var i=new Date(parseInt(e.substr(6)));this._gDateToCalculators(i)}else{var r=new Date;this._gDateToCalculators(r)}}},{key:"_getSyncedClass",value:function(e){return new(t.toCalendar(this.calendarType).toLocale(this.localType).toLeapYearMode(this.leapYearMode))(e)}},{key:"_gDateToCalculators",value:function(e){this.algorithms.calcGregorian([e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()])}},{key:"rangeName",value:function(){var e=this.calendarType;return"fa"===this.localType?"persian"===e?y.persian:y.gregorian:"persian"===e?f.persian:f.gregorian}},{key:"toLeapYearMode",value:function(e){return this.leapYearMode=e,"astronomical"===e&&"persian"==this.calendarType?this.leapYearMode="astronomical":"algorithmic"===e&&"persian"==this.calendarType&&(this.leapYearMode="algorithmic"),this.algorithms.updateFromGregorian(),this}},{key:"toCalendar",value:function(e){return this.calendarType=e,this.algorithms.updateFromGregorian(),this}},{key:"toLocale",value:function(e){return this.localType=e,"fa"!==this.localType?this.formatPersian=!1:this.formatPersian="_default",this}},{key:"_locale",value:function(){var e=this.calendarType;return"fa"===this.localType?"persian"===e?y.persian:y.gregorian:"persian"===e?f.persian:f.gregorian}},{key:"_weekName",value:function(e){return this._locale().weekdays[e-1]}},{key:"_weekNameShort",value:function(e){return this._locale().weekdaysShort[e-1]}},{key:"_weekNameMin",value:function(e){return this._locale().weekdaysMin[e-1]}},{key:"_dayName",value:function(e){return this._locale().persianDaysName[e-1]}},{key:"_monthName",value:function(e){return this._locale().months[e-1]}},{key:"_monthNameShort",value:function(e){return this._locale().monthsShort[e-1]}},{key:"isPersianDate",value:function(e){return e instanceof t}},{key:"clone",value:function(){return this._getSyncedClass(this.State.gDate)}},{key:"algorithmsCalc",value:function(e){return this.isPersianDate(e)&&(e=[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]),"persian"===this.calendarType&&"algorithmic"==this.leapYearMode?this.algorithms.calcPersian(e):"persian"===this.calendarType&&"astronomical"==this.leapYearMode?this.algorithms.calcPersiana(e):"gregorian"===this.calendarType?(e[1]=e[1]-1,this.algorithms.calcGregorian(e)):void 0}},{key:"calendar",value:function(){var e=void 0;return"persian"==this.calendarType?"astronomical"==this.leapYearMode?e="persianAstro":"algorithmic"==this.leapYearMode&&(e="persianAlgo"):e="gregorian",this.State[e]}},{key:"duration",value:function(e,t){return new h(e,t)}},{key:"isDuration",value:function(e){return e instanceof h}},{key:"years",value:function(e){return this.year(e)}},{key:"year",value:function(e){return e||0===e?(this.algorithmsCalc([e,this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]),this):this.calendar().year}},{key:"month",value:function(e){return e||0===e?(this.algorithmsCalc([this.year(),e,this.date()]),this):this.calendar().month+1}},{key:"days",value:function(){return this.day()}},{key:"day",value:function(){return this.calendar().weekday}},{key:"dates",value:function(e){return this.date(e)}},{key:"date",value:function(e){return e||0===e?(this.algorithmsCalc([this.year(),this.month(),e]),this):this.calendar().day}},{key:"hour",value:function(e){return this.hours(e)}},{key:"hours",value:function(e){return e||0===e?(0===e&&(e=24),this.algorithmsCalc([this.year(),this.month(),this.date(),e]),this):this.State.gDate.getHours()}},{key:"minute",value:function(e){return this.minutes(e)}},{key:"minutes",value:function(e){return e||0===e?(this.algorithmsCalc([this.year(),this.month(),this.date(),this.hour(),e]),this):this.State.gDate.getMinutes()}},{key:"second",value:function(e){return this.seconds(e)}},{key:"seconds",value:function(e){return e||0===e?(this.algorithmsCalc([this.year(),this.month(),this.date(),this.hour(),this.minute(),e]),this):this.State.gDate.getSeconds()}},{key:"millisecond",value:function(e){return this.milliseconds(e)}},{key:"milliseconds",value:function(e){return e||0===e?(this.algorithmsCalc([this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),e]),this):this.State.gregorian.millisecond}},{key:"unix",value:function(e){var t=void 0;if(e)return this._getSyncedClass(1e3*e);var a=this.State.gDate.valueOf().toString();return t=a.substring(0,a.length-3),parseInt(t)}},{key:"valueOf",value:function(){return this.State.gDate.valueOf()}},{key:"getFirstWeekDayOfMonth",value:function(e,t){return this._getSyncedClass([e,t,1]).day()}},{key:"diff",value:function(e,t,a){var i=this,r=e,n=i.State.gDate-r.toDate()-0,s=i.year()-r.year(),o=i.month()-r.month(),h=-1*(i.date()-r.date()),u=void 0;return u="months"===t||"month"===t?12*s+o+h/30:"years"===t||"year"===t?s+(o+h/30)/12:"seconds"===t||"second"===t?n/1e3:"minutes"===t||"minute"===t?n/6e4:"hours"===t||"hour"===t?n/36e5:"days"===t||"day"===t?n/864e5:"weeks"===t||"week"===t?n/6048e5:n,a?u:Math.round(u)}},{key:"startOf",value:function(e){var a=t.toCalendar(this.calendarType).toLocale(this.localType),i=new t(this.valueOf()-864e5*(this.calendar().weekday-1)).toArray();switch(e){case"years":case"year":return new a([this.year(),1,1]);case"months":case"month":return new a([this.year(),this.month(),1]);case"days":case"day":return new a([this.year(),this.month(),this.date(),0,0,0]);case"hours":case"hour":return new a([this.year(),this.month(),this.date(),this.hours(),0,0]);case"minutes":case"minute":return new a([this.year(),this.month(),this.date(),this.hours(),this.minutes(),0]);case"seconds":case"second":return new a([this.year(),this.month(),this.date(),this.hours(),this.minutes(),this.seconds()]);case"weeks":case"week":return new a(i);default:return this.clone()}}},{key:"endOf",value:function(e){var a=t.toCalendar(this.calendarType).toLocale(this.localType);switch(e){case"years":case"year":var i=this.isLeapYear()?30:29;return new a([this.year(),12,i,23,59,59]);case"months":case"month":var r=this.daysInMonth(this.year(),this.month());return new a([this.year(),this.month(),r,23,59,59]);case"days":case"day":return new a([this.year(),this.month(),this.date(),23,59,59]);case"hours":case"hour":return new a([this.year(),this.month(),this.date(),this.hours(),59,59]);case"minutes":case"minute":return new a([this.year(),this.month(),this.date(),this.hours(),this.minutes(),59]);case"seconds":case"second":return new a([this.year(),this.month(),this.date(),this.hours(),this.minutes(),this.seconds()]);case"weeks":case"week":var n=this.calendar().weekday;return new a([this.year(),this.month(),this.date()+(7-n)]);default:return this.clone()}}},{key:"sod",value:function(){return this.startOf("day")}},{key:"eod",value:function(){return this.endOf("day")}},{key:"zone",value:function(e){return e||0===e?(this.State.zone=e,this):this.State.zone}},{key:"local",value:function(){var e=void 0;if(this._utcMode){var a=new Date(this.toDate()).getTimezoneOffset(),i=60*a*1e3;e=a<0?this.valueOf()-i:this.valueOf()+i,this.toCalendar(t.calendarType);var r=new Date(e);return this._gDateToCalculators(r),this._utcMode=!1,this.zone(a),this}return this}},{key:"utc",value:function(e){var t=void 0;if(e)return this._getSyncedClass(e).utc();if(this._utcMode)return this;var a=60*this.zone()*1e3;t=this.zone()<0?this.valueOf()+a:this.valueOf()-a;var i=new Date(t),r=this._getSyncedClass(i);return this.algorithmsCalc(r),this._utcMode=!0,this.zone(0),this}},{key:"isUtc",value:function(){return this._utcMode}},{key:"isDST",value:function(){var e=this.month(),t=this.date();return 1==e&&t>1||6==e&&t<31||e<6&&e>=2}},{key:"isLeapYear",value:function(e){return void 0===e&&(e=this.year()),"persian"==this.calendarType&&"algorithmic"===this.leapYearMode?this.algorithms.leap_persian(e):"persian"==this.calendarType&&"astronomical"===this.leapYearMode?this.algorithms.leap_persiana(e):"gregorian"==this.calendarType?this.algorithms.leap_gregorian(e):void 0}},{key:"daysInMonth",value:function(e,t){var a=e||this.year(),i=t||this.month();return"persian"===this.calendarType?i<1||i>12?0:i<7?31:i<12?30:this.isLeapYear(a)?30:29:"gregorian"===this.calendarType?new Date(a,i,0).getDate():void 0}},{key:"toDate",value:function(){return this.State.gDate}},{key:"toArray",value:function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]}},{key:"formatNumber",value:function(){var t=void 0,a=this;return"_default"===this.formatPersian?t=void 0!==e&&void 0!==e.exports?!1!==a.formatPersian:!1!==window.formatPersian:!0===this.formatPersian?t=!0:!1===this.formatPersian?t=!1:Error('Invalid Config "formatPersian" !!'),t}},{key:"format",value:function(e){function t(e){switch(e){case"a":return n?r.hour>=12?"ب ظ":"ق ظ":r.hour>=12?"PM":"AM";case"H":return s(r.hour);case"HH":return s(l(r.hour,2));case"h":return s(r.hour%12);case"hh":return s(l(r.hour%12,2));case"m":case"mm":return s(l(r.minute,2));case"s":return s(r.second);case"ss":return s(l(r.second,2));case"D":return s(l(r.date));case"DD":return s(l(r.date,2));case"DDD":var t=a.startOf("year");return s(l(a.diff(t,"days"),3));case"DDDD":var i=a.startOf("year");return s(l(a.diff(i,"days"),3));case"d":return s(a.calendar().weekday);case"ddd":return a._weekNameShort(a.calendar().weekday);case"dddd":return a._weekName(a.calendar().weekday);case"ddddd":return a._dayName(a.calendar().day);case"dddddd":return a._weekNameMin(a.calendar().weekday);case"w":var o=a.startOf("year"),h=parseInt(a.diff(o,"days")/7)+1;return s(h);case"ww":var u=a.startOf("year"),d=l(parseInt(a.diff(u,"days")/7)+1,2);return s(d);case"M":return s(r.month);case"MM":return s(l(r.month,2));case"MMM":return a._monthNameShort(r.month);case"MMMM":return a._monthName(r.month);case"YY":var c=r.year.toString().split("");return s(c[2]+c[3]);case"YYYY":return s(r.year);case"Z":var y="+",f=Math.round(r.timezone/60),v=r.timezone%60;v<0&&(v*=-1),f<0&&(y="-",f*=-1);var m=y+l(f,2)+":"+l(v,2);return s(m);case"ZZ":var p="+",g=Math.round(r.timezone/60),_=r.timezone%60;_<0&&(_*=-1),g<0&&(p="-",g*=-1);var k=p+l(g,2)+""+l(_,2);return s(k);case"X":return a.unix();case"LT":return a.format("H:m a");case"L":return a.format("YYYY/MM/DD");case"l":return a.format("YYYY/M/D");case"LL":return a.format("MMMM DD YYYY");case"ll":return a.format("MMM DD YYYY");case"LLL":return a.format("MMMM YYYY DD   H:m  a");case"lll":return a.format("MMM YYYY DD   H:m  a");case"LLLL":return a.format("dddd D MMMM YYYY  H:m  a");case"llll":return a.format("ddd D MMM YYYY  H:m  a")}}if(this.State.isInvalidDate)return!1;var a=this,i=/([[^[]*])|(\\)?(Mo|MM?M?M?|Do|DD?D?D?|dddddd?|ddddd?|dddd?|do?|w[o|w]?|YYYY|YY|a|A|hh?|HH?|mm?|ss?|SS?S?|zz?|ZZ?|X|LT|ll?l?l?|LL?L?L?)/g,r={year:a.year(),month:a.month(),hour:a.hours(),minute:a.minutes(),second:a.seconds(),date:a.date(),timezone:a.zone(),unix:a.unix()},n=a.formatNumber(),s=function(e){return n?d(e):e};return e?e.replace(i,t):"YYYY-MM-DD HH:mm:ss a".replace(i,t)}},{key:"add",value:function(e,a){if(0===a)return this;var i=c(e,a).unit,r=this.toArray();if(a=c(e,a).value,"year"===i){var n=r[2],s=this.daysInMonth(r[0]+a,r[1]);r[2]>s&&(n=s);return new t([r[0]+a,r[1],n,r[3],r[4],r[5],r[6],r[7]])}if("month"===i){var o=Math.floor(a/12),h=a-12*o,u=null;r[1]+h>12?(o+=1,u=r[1]+h-12):u=r[1]+h;var d=r[2],l=new t([r[0]+o,u,1,r[3],r[4],r[5],r[6],r[7]]).toArray(),y=this.daysInMonth(r[0]+o,u);return r[2]>y&&(d=y),new t([l[0],l[1],d,l[3],l[4],l[5],l[6],l[7]])}if("day"===i){return new t(new t(this.valueOf()).hour(12).valueOf()+864e5*a).hour(r[3])}if("week"===i){return new t(new t(this.valueOf()).hour(12).valueOf()+7*a*864e5).hour(r[3])}if("hour"===i){var f=this.valueOf()+36e5*a;return this.unix(f/1e3)}if("minute"===i){var v=this.valueOf()+6e4*a;return this.unix(v/1e3)}if("second"===i){var m=this.valueOf()+1e3*a;return this.unix(m/1e3)}if("millisecond"===i){var p=this.valueOf()+a;return this.unix(p/1e3)}return this._getSyncedClass(this.valueOf())}},{key:"subtract",value:function(e,t){return this.add(e,-1*t)}},{key:"isSameDay",value:function(e){return this&&e&&this.date()==e.date()&&this.year()==e.year()&&this.month()==e.month()}},{key:"isSameMonth",value:function(e){return this&&e&&this.year()==this.year()&&this.month()==e.month()}}],[{key:"rangeName",value:function(){var e=t,a=e.calendarType;return"fa"===e.localType?"persian"===a?y.persian:y.gregorian:"persian"===a?f.persian:f.gregorian}},{key:"toLeapYearMode",value:function(e){var a=t;return a.leapYearMode=e,a}},{key:"toCalendar",value:function(e){var a=t;return a.calendarType=e,a}},{key:"toLocale",value:function(e){var a=t;return a.localType=e,"fa"!==a.localType?a.formatPersian=!1:a.formatPersian="_default",a}},{key:"isPersianDate",value:function(e){return e instanceof t}},{key:"duration",value:function(e,t){return new h(e,t)}},{key:"isDuration",value:function(e){return e instanceof h}},{key:"unix",value:function(e){return e?new t(1e3*e):(new t).unix()}},{key:"getFirstWeekDayOfMonth",value:function(e,a){return new t([e,a,1]).day()}},{key:"utc",value:function(e){return e?new t(e).utc():(new t).utc()}},{key:"isSameDay",value:function(e,t){return e&&t&&e.date()==t.date()&&e.year()==t.year()&&e.month()==t.month()}},{key:"isSameMonth",value:function(e,t){return e&&t&&e.year()==t.year()&&e.month()==t.month()}}]),t}();e.exports=v},function(e,t,a){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=function(){function e(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,a,i){return a&&e(t.prototype,a),i&&e(t,i),t}}(),n=a(3),s=a(9),o=function(){function e(t){i(this,e),this.parent=t,this.ASTRO=new n,this.State=new s,this.J0000=1721424.5,this.J1970=2440587.5,this.JMJD=2400000.5,this.NormLeap=[!1,!0],this.GREGORIAN_EPOCH=1721425.5,this.PERSIAN_EPOCH=1948320.5}return r(e,[{key:"leap_gregorian",value:function(e){return e%4==0&&!(e%100==0&&e%400!=0)}},{key:"gregorian_to_jd",value:function(e,t,a){return this.GREGORIAN_EPOCH-1+365*(e-1)+Math.floor((e-1)/4)+-Math.floor((e-1)/100)+Math.floor((e-1)/400)+Math.floor((367*t-362)/12+(t<=2?0:this.leap_gregorian(e)?-1:-2)+a)}},{key:"jd_to_gregorian",value:function(e){var t=void 0,a=void 0,i=void 0,r=void 0,n=void 0,s=void 0,o=void 0,h=void 0,u=void 0,d=void 0,l=void 0,c=void 0,y=void 0,f=void 0;return t=Math.floor(e-.5)+.5,a=t-this.GREGORIAN_EPOCH,i=Math.floor(a/146097),r=this.ASTRO.mod(a,146097),n=Math.floor(r/36524),s=this.ASTRO.mod(r,36524),o=Math.floor(s/1461),h=this.ASTRO.mod(s,1461),u=Math.floor(h/365),d=400*i+100*n+4*o+u,4!==n&&4!==u&&d++,l=t-this.gregorian_to_jd(d,1,1),c=t<this.gregorian_to_jd(d,3,1)?0:this.leap_gregorian(d)?1:2,y=Math.floor((12*(l+c)+373)/367),f=t-this.gregorian_to_jd(d,y,1)+1,[d,y,f]}},{key:"tehran_equinox",value:function(e){var t=void 0,a=void 0,i=void 0,r=void 0;return t=this.ASTRO.equinox(e,0),a=t-this.ASTRO.deltat(e)/86400,i=a+this.ASTRO.equationOfTime(t),r=52.5/360,i+r}},{key:"tehran_equinox_jd",value:function(e){var t=void 0;return t=this.tehran_equinox(e),Math.floor(t)}},{key:"persiana_year",value:function(e){var t=this.jd_to_gregorian(e)[0]-2,a=void 0,i=void 0,r=void 0;for(a=this.tehran_equinox_jd(t);a>e;)t--,a=this.tehran_equinox_jd(t);for(i=a-1;!(a<=e&&e<i);)a=i,t++,i=this.tehran_equinox_jd(t);return r=Math.round((a-this.PERSIAN_EPOCH)/this.ASTRO.TropicalYear)+1,[r,a]}},{key:"jd_to_persiana",value:function(e){var t=void 0,a=void 0,i=void 0,r=void 0,n=void 0,s=void 0;return e=Math.floor(e)+.5,r=this.persiana_year(e),t=r[0],n=r[1],i=Math.floor((e-n)/30)+1,s=Math.floor(e)-this.persiana_to_jd(t,1,1)+1,a=s<=186?Math.ceil(s/31):Math.ceil((s-6)/30),i=Math.floor(e)-this.persiana_to_jd(t,a,1)+1,[t,a,i]}},{key:"persiana_to_jd",value:function(e,t,a){var i=void 0,r=void 0,n=void 0;for(n=this.PERSIAN_EPOCH-1+this.ASTRO.TropicalYear*(e-1-1),i=[e-1,0];i[0]<e;)i=this.persiana_year(n),n=i[1]+(this.ASTRO.TropicalYear+2);return r=i[1],r+(t<=7?31*(t-1):30*(t-1)+6)+(a-1)}},{key:"leap_persiana",value:function(e){return this.persiana_to_jd(e+1,1,1)-this.persiana_to_jd(e,1,1)>365}},{key:"leap_persian",value:function(e){return 682*((e-(e>0?474:473))%2820+474+38)%2816<682}},{key:"persian_to_jd",value:function(e,t,a){var i=void 0,r=void 0;return i=e-(e>=0?474:473),r=474+this.ASTRO.mod(i,2820),a+(t<=7?31*(t-1):30*(t-1)+6)+Math.floor((682*r-110)/2816)+365*(r-1)+1029983*Math.floor(i/2820)+(this.PERSIAN_EPOCH-1)}},{key:"jd_to_persian",value:function(e){var t=void 0,a=void 0,i=void 0,r=void 0,n=void 0,s=void 0,o=void 0,h=void 0,u=void 0,d=void 0;return e=Math.floor(e)+.5,r=e-this.persian_to_jd(475,1,1),n=Math.floor(r/1029983),s=this.ASTRO.mod(r,1029983),1029982===s?o=2820:(h=Math.floor(s/366),u=this.ASTRO.mod(s,366),o=Math.floor((2134*h+2816*u+2815)/1028522)+h+1),t=o+2820*n+474,t<=0&&t--,d=e-this.persian_to_jd(t,1,1)+1,a=d<=186?Math.ceil(d/31):Math.ceil((d-6)/30),i=e-this.persian_to_jd(t,a,1)+1,[t,a,i]}},{key:"gWeekDayToPersian",value:function(e){return e+2===8?1:e+2===7?7:e+2}},{key:"updateFromGregorian",value:function(){var e=void 0,t=void 0,a=void 0,i=void 0,r=void 0,n=void 0,s=void 0,o=void 0,h=void 0,u=void 0;t=this.State.gregorian.year,a=this.State.gregorian.month,i=this.State.gregorian.day,r=0,n=0,s=0,this.State.gDate=new Date(t,a,i,this.State.gregorian.hour,this.State.gregorian.minute,this.State.gregorian.second,this.State.gregorian.millisecond),!1===this.parent._utcMode&&(this.State.zone=this.State.gDate.getTimezoneOffset()),this.State.gregorian.year=this.State.gDate.getFullYear(),this.State.gregorian.month=this.State.gDate.getMonth(),this.State.gregorian.day=this.State.gDate.getDate(),e=this.gregorian_to_jd(t,a+1,i)+Math.floor(s+60*(n+60*r)+.5)/86400,this.State.julianday=e,this.State.modifiedjulianday=e-this.JMJD,o=this.ASTRO.jwday(e),this.State.gregorian.weekday=o+1,this.State.gregorian.leap=this.NormLeap[this.leap_gregorian(t)?1:0],o=this.ASTRO.jwday(e),"persian"==this.parent.calendarType&&"algorithmic"==this.parent.leapYearMode&&(u=this.jd_to_persian(e),this.State.persian.year=u[0],this.State.persian.month=u[1]-1,this.State.persian.day=u[2],this.State.persian.weekday=this.gWeekDayToPersian(o),this.State.persian.leap=this.NormLeap[this.leap_persian(u[0])?1:0]),"persian"==this.parent.calendarType&&"astronomical"==this.parent.leapYearMode&&(u=this.jd_to_persiana(e),this.State.persianAstro.year=u[0],this.State.persianAstro.month=u[1]-1,this.State.persianAstro.day=u[2],this.State.persianAstro.weekday=this.gWeekDayToPersian(o),this.State.persianAstro.leap=this.NormLeap[this.leap_persiana(u[0])?1:0]),null!==this.State.gregserial.day&&(this.State.gregserial.day=e-this.J0000),h=864e5*(e-this.J1970),this.State.unixtime=Math.round(h/1e3)}},{key:"calcGregorian",value:function(e){(e[0]||0===e[0])&&(this.State.gregorian.year=e[0]),(e[1]||0===e[1])&&(this.State.gregorian.month=e[1]),(e[2]||0===e[2])&&(this.State.gregorian.day=e[2]),(e[3]||0===e[3])&&(this.State.gregorian.hour=e[3]),(e[4]||0===e[4])&&(this.State.gregorian.minute=e[4]),(e[5]||0===e[5])&&(this.State.gregorian.second=e[5]),(e[6]||0===e[6])&&(this.State.gregorian.millisecond=e[6]),this.updateFromGregorian()}},{key:"calcJulian",value:function(){var e=void 0,t=void 0;e=this.State.julianday,t=this.jd_to_gregorian(e),this.State.gregorian.year=t[0],this.State.gregorian.month=t[1]-1,this.State.gregorian.day=t[2],this.updateFromGregorian()}},{key:"setJulian",value:function(e){this.State.julianday=e,this.calcJulian()}},{key:"calcPersian",value:function(e){(e[0]||0===e[0])&&(this.State.persian.year=e[0]),(e[1]||0===e[1])&&(this.State.persian.month=e[1]),(e[2]||0===e[2])&&(this.State.persian.day=e[2]),(e[3]||0===e[3])&&(this.State.gregorian.hour=e[3]),(e[4]||0===e[4])&&(this.State.gregorian.minute=e[4]),(e[5]||0===e[5])&&(this.State.gregorian.second=e[5]),(e[6]||0===e[6])&&(this.State.gregorian.millisecond=e[6]),this.setJulian(this.persian_to_jd(this.State.persian.year,this.State.persian.month,this.State.persian.day))}},{key:"calcPersiana",value:function(e){(e[0]||0===e[0])&&(this.State.persianAstro.year=e[0]),(e[1]||0===e[1])&&(this.State.persianAstro.month=e[1]),(e[2]||0===e[2])&&(this.State.persianAstro.day=e[2]),(e[3]||0===e[3])&&(this.State.gregorian.hour=e[3]),(e[4]||0===e[4])&&(this.State.gregorian.minute=e[4]),(e[5]||0===e[5])&&(this.State.gregorian.second=e[5]),(e[6]||0===e[6])&&(this.State.gregorian.millisecond=e[6]),this.setJulian(this.persiana_to_jd(this.State.persianAstro.year,this.State.persianAstro.month,this.State.persianAstro.day+.5))}}]),e}();e.exports=o},function(e,t,a){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=function(){function e(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,a,i){return a&&e(t.prototype,a),i&&e(t,i),t}}(),n=function(){function e(){i(this,e),this.J2000=2451545,this.JulianCentury=36525,this.JulianMillennium=10*this.JulianCentury,this.TropicalYear=365.24219878,this.oterms=[-4680.93,-1.55,1999.25,-51.38,-249.67,-39.05,7.12,27.87,5.79,2.45],this.nutArgMult=[0,0,0,0,1,-2,0,0,2,2,0,0,0,2,2,0,0,0,0,2,0,1,0,0,0,0,0,1,0,0,-2,1,0,2,2,0,0,0,2,1,0,0,1,2,2,-2,-1,0,2,2,-2,0,1,0,0,-2,0,0,2,1,0,0,-1,2,2,2,0,0,0,0,0,0,1,0,1,2,0,-1,2,2,0,0,-1,0,1,0,0,1,2,1,-2,0,2,0,0,0,0,-2,2,1,2,0,0,2,2,0,0,2,2,2,0,0,2,0,0,-2,0,1,2,2,0,0,0,2,0,-2,0,0,2,0,0,0,-1,2,1,0,2,0,0,0,2,0,-1,0,1,-2,2,0,2,2,0,1,0,0,1,-2,0,1,0,1,0,-1,0,0,1,0,0,2,-2,0,2,0,-1,2,1,2,0,1,2,2,0,1,0,2,2,-2,1,1,0,0,0,-1,0,2,2,2,0,0,2,1,2,0,1,0,0,-2,0,2,2,2,-2,0,1,2,1,2,0,-2,0,1,2,0,0,0,1,0,-1,1,0,0,-2,-1,0,2,1,-2,0,0,0,1,0,0,2,2,1,-2,0,2,0,1,-2,1,0,2,1,0,0,1,-2,0,-1,0,1,0,0,-2,1,0,0,0,1,0,0,0,0,0,0,1,2,0,-1,-1,1,0,0,0,1,1,0,0,0,-1,1,2,2,2,-1,-1,2,2,0,0,-2,2,2,0,0,3,2,2,2,-1,0,2,2],this.nutArgCoeff=[-171996,-1742,92095,89,-13187,-16,5736,-31,-2274,-2,977,-5,2062,2,-895,5,1426,-34,54,-1,712,1,-7,0,-517,12,224,-6,-386,-4,200,0,-301,0,129,-1,217,-5,-95,3,-158,0,0,0,129,1,-70,0,123,0,-53,0,63,0,0,0,63,1,-33,0,-59,0,26,0,-58,-1,32,0,-51,0,27,0,48,0,0,0,46,0,-24,0,-38,0,16,0,-31,0,13,0,29,0,0,0,29,0,-12,0,26,0,0,0,-22,0,0,0,21,0,-10,0,17,-1,0,0,16,0,-8,0,-16,1,7,0,-15,0,9,0,-13,0,7,0,-12,0,6,0,11,0,0,0,-10,0,5,0,-8,0,3,0,7,0,-3,0,-7,0,0,0,-7,0,3,0,-7,0,3,0,6,0,0,0,6,0,-3,0,6,0,-3,0,-6,0,3,0,-6,0,3,0,5,0,0,0,-5,0,3,0,-5,0,3,0,-5,0,3,0,4,0,0,0,4,0,0,0,4,0,0,0,-4,0,0,0,-4,0,0,0,-4,0,0,0,3,0,0,0,-3,0,0,0,-3,0,0,0,-3,0,0,0,-3,0,0,0,-3,0,0,0,-3,0,0,0,-3,0,0,0],this.deltaTtab=[121,112,103,95,88,82,77,72,68,63,60,56,53,51,48,46,44,42,40,38,35,33,31,29,26,24,22,20,18,16,14,12,11,10,9,8,7,7,7,7,7,7,8,8,9,9,9,9,9,10,10,10,10,10,10,10,10,11,11,11,11,11,12,12,12,12,13,13,13,14,14,14,14,15,15,15,15,15,16,16,16,16,16,16,16,16,15,15,14,13,13.1,12.5,12.2,12,12,12,12,12,12,11.9,11.6,11,10.2,9.2,8.2,7.1,6.2,5.6,5.4,5.3,5.4,5.6,5.9,6.2,6.5,6.8,7.1,7.3,7.5,7.6,7.7,7.3,6.2,5.2,2.7,1.4,-1.2,-2.8,-3.8,-4.8,-5.5,-5.3,-5.6,-5.7,-5.9,-6,-6.3,-6.5,-6.2,-4.7,-2.8,-.1,2.6,5.3,7.7,10.4,13.3,16,18.2,20.2,21.1,22.4,23.5,23.8,24.3,24,23.9,23.9,23.7,24,24.3,25.3,26.2,27.3,28.2,29.1,30,30.7,31.4,32.2,33.1,34,35,36.5,38.3,40.2,42.2,44.5,46.5,48.5,50.5,52.2,53.8,54.9,55.8,56.9,58.3,60,61.6,63,65,66.6],this.EquinoxpTerms=[485,324.96,1934.136,203,337.23,32964.467,199,342.08,20.186,182,27.85,445267.112,156,73.14,45036.886,136,171.52,22518.443,77,222.54,65928.934,74,296.72,3034.906,70,243.58,9037.513,58,119.81,33718.147,52,297.17,150.678,50,21.02,2281.226,45,247.54,29929.562,44,325.15,31555.956,29,60.93,4443.417,18,155.12,67555.328,17,288.79,4562.452,16,198.04,62894.029,14,199.76,31436.921,12,95.39,14577.848,12,287.11,31931.756,12,320.81,34777.259,9,227.73,1222.114,8,15.45,16859.074],this.JDE0tab1000=[new Array(1721139.29189,365242.1374,.06134,.00111,-71e-5),new Array(1721233.25401,365241.72562,-.05323,.00907,25e-5),new Array(1721325.70455,365242.49558,-.11677,-.00297,74e-5),new Array(1721414.39987,365242.88257,-.00769,-.00933,-6e-5)],this.JDE0tab2000=[new Array(2451623.80984,365242.37404,.05169,-.00411,-57e-5),new Array(2451716.56767,365241.62603,.00325,.00888,-3e-4),new Array(2451810.21715,365242.01767,-.11575,.00337,78e-5),new Array(2451900.05952,365242.74049,-.06223,-.00823,32e-5)]}return r(e,[{key:"dtr",value:function(e){return e*Math.PI/180}},{key:"rtd",value:function(e){return 180*e/Math.PI}},{key:"fixangle",value:function(e){return e-360*Math.floor(e/360)}},{key:"fixangr",value:function(e){return e-2*Math.PI*Math.floor(e/(2*Math.PI))}},{key:"dsin",value:function(e){return Math.sin(this.dtr(e))}},{key:"dcos",value:function(e){return Math.cos(this.dtr(e))}},{key:"mod",value:function(e,t){return e-t*Math.floor(e/t)}},{key:"jwday",value:function(e){return this.mod(Math.floor(e+1.5),7)}},{key:"obliqeq",value:function(e){var t,a,i,r;if(i=a=(e-this.J2000)/(100*this.JulianCentury),t=23.43929111111111,Math.abs(a)<1)for(r=0;r<10;r++)t+=this.oterms[r]/3600*i,i*=a;return t}},{key:"nutation",value:function(e){var t,a,i,r,n,s,o,h,u=(e-2451545)/36525,d=[],l=0,c=0;for(s=u*(n=u*u),d[0]=this.dtr(297.850363+445267.11148*u-.0019142*n+s/189474),d[1]=this.dtr(357.52772+35999.05034*u-1603e-7*n-s/3e5),d[2]=this.dtr(134.96298+477198.867398*u+.0086972*n+s/56250),d[3]=this.dtr(93.27191+483202.017538*u-.0036825*n+s/327270),d[4]=this.dtr(125.04452-1934.136261*u+.0020708*n+s/45e4),i=0;i<5;i++)d[i]=this.fixangr(d[i]);for(o=u/10,i=0;i<63;i++){for(h=0,r=0;r<5;r++)0!==this.nutArgMult[5*i+r]&&(h+=this.nutArgMult[5*i+r]*d[r]);l+=(this.nutArgCoeff[4*i+0]+this.nutArgCoeff[4*i+1]*o)*Math.sin(h),c+=(this.nutArgCoeff[4*i+2]+this.nutArgCoeff[4*i+3]*o)*Math.cos(h)}return t=l/36e6,a=c/36e6,[t,a]}},{key:"deltat",value:function(e){var t,a,i,r;return e>=1620&&e<=2e3?(i=Math.floor((e-1620)/2),a=(e-1620)/2-i,t=this.deltaTtab[i]+(this.deltaTtab[i+1]-this.deltaTtab[i])*a):(r=(e-2e3)/100,e<948?t=2177+497*r+44.1*r*r:(t=102+102*r+25.3*r*r,e>2e3&&e<2100&&(t+=.37*(e-2100)))),t}},{key:"equinox",value:function(e,t){var a=void 0,i=void 0,r=void 0,n=void 0,s=void 0,o=void 0,h=void 0,u=void 0,d=void 0;for(e<1e3?(s=this.JDE0tab1000,d=e/1e3):(s=this.JDE0tab2000,d=(e-2e3)/1e3),n=s[t][0]+s[t][1]*d+s[t][2]*d*d+s[t][3]*d*d*d+s[t][4]*d*d*d*d,h=(n-2451545)/36525,u=35999.373*h-2.47,a=1+.0334*this.dcos(u)+7e-4*this.dcos(2*u),o=0,i=r=0;i<24;i++)o+=this.EquinoxpTerms[r]*this.dcos(this.EquinoxpTerms[r+1]+this.EquinoxpTerms[r+2]*h),r+=3;return n+1e-5*o/a}},{key:"sunpos",value:function(e){var t=void 0,a=void 0,i=void 0,r=void 0,n=void 0,s=void 0,o=void 0,h=void 0,u=void 0,d=void 0,l=void 0,c=void 0,y=void 0,f=void 0,v=void 0,m=void 0,p=void 0;return t=(e-this.J2000)/this.JulianCentury,a=t*t,i=280.46646+36000.76983*t+3032e-7*a,i=this.fixangle(i),r=357.52911+35999.05029*t+-1537e-7*a,r=this.fixangle(r),n=.016708634+-42037e-9*t+-1.267e-7*a,s=(1.914602+-.004817*t+-14e-6*a)*this.dsin(r)+(.019993-101e-6*t)*this.dsin(2*r)+289e-6*this.dsin(3*r),o=i+s,h=r+s,u=1.000001018*(1-n*n)/(1+n*this.dcos(h)),d=125.04-1934.136*t,l=o+-.00569+-.00478*this.dsin(d),y=this.obliqeq(e),c=y+.00256*this.dcos(d),f=this.rtd(Math.atan2(this.dcos(y)*this.dsin(o),this.dcos(o))),f=this.fixangle(f),v=this.rtd(Math.asin(this.dsin(y)*this.dsin(o))),m=this.rtd(Math.atan2(this.dcos(c)*this.dsin(l),this.dcos(l))),m=this.fixangle(m),p=this.rtd(Math.asin(this.dsin(c)*this.dsin(l))),[i,r,n,s,o,h,u,l,f,v,m,p]}},{key:"equationOfTime",value:function(e){var t=void 0,a=void 0,i=void 0,r=void 0,n=void 0,s=void 0;return s=(e-this.J2000)/this.JulianMillennium,n=280.4664567+360007.6982779*s+.03032028*s*s+s*s*s/49931+-s*s*s*s/15300+-s*s*s*s*s/2e6,n=this.fixangle(n),t=this.sunpos(e)[10],a=this.nutation(e)[0],r=this.obliqeq(e)+this.nutation(e)[1],i=n+-.0057183+-t+a*this.dcos(r),i-=20*Math.floor(i/20),i/=1440}}]),e}();e.exports=n},function(e,t,a){"use strict";e.exports={durationUnit:{year:["y","years","year"],month:["M","months","month"],day:["d","days","day"],hour:["h","hours","hour"],minute:["m","minutes","minute"],second:["s","second","seconds"],millisecond:["ms","milliseconds","millisecond"],week:["W","w","weeks","week"]}}},function(e,t,a){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=function(){function e(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,a,i){return a&&e(t.prototype,a),i&&e(t,i),t}}(),n=a(0),s=(new n).normalizeDuration,o=(new n).absRound,h=(new n).absFloor,u=function(){function e(t,a){i(this,e);var r={},n=this._data={},u=0,d=s(t,a);r[d.unit]=d.value,u=r.milliseconds||r.millisecond||r.ms||0;var l=r.years||r.year||r.y||0,c=r.months||r.month||r.M||0,y=r.weeks||r.w||r.week||0,f=r.days||r.d||r.day||0,v=r.hours||r.hour||r.h||0,m=r.minutes||r.minute||r.m||0,p=r.seconds||r.second||r.s||0;return this._milliseconds=u+1e3*p+6e4*m+36e5*v,this._days=f+7*y,this._months=c+12*l,n.milliseconds=u%1e3,p+=h(u/1e3),n.seconds=p%60,m+=o(p/60),n.minutes=m%60,v+=o(m/60),n.hours=v%24,f+=o(v/24),f+=7*y,n.days=f%30,c+=o(f/30),n.months=c%12,l+=o(c/12),n.years=l,this}return r(e,[{key:"valueOf",value:function(){return this._milliseconds+864e5*this._days+2592e6*this._months}}]),e}();e.exports=u},function(e,t,a){"use strict";e.exports={gregorian:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysMin:["Su","Mo","Tu","We","Th","Fr","Sa"]},persian:{months:["Farvardin","Ordibehesht","Khordad","Tir","Mordad","Shahrivar","Mehr","Aban","Azar","Dey","Bahman","Esfand"],monthsShort:["Far","Ord","Kho","Tir","Mor","Sha","Meh","Aba","Aza","Dey","Bah","Esf"],weekdays:["Saturday","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday"],weekdaysShort:["Sat","Sun","Mon","Tue","Wed","Thu","Fri"],weekdaysMin:["Sa","Su","Mo","Tu","We","Th","Fr"],persianDaysName:["Urmazd","Bahman","Ordibehesht","Shahrivar","Sepandarmaz","Khurdad","Amordad","Dey-be-azar","Azar","Aban","Khorshid","Mah","Tir","Gush","Dey-be-mehr","Mehr","Sorush","Rashn","Farvardin","Bahram","Ram","Bad","Dey-be-din","Din","Ord","Ashtad","Asman","Zamyad","Mantre-sepand","Anaram","Ziadi"]}}},function(e,t,a){"use strict";e.exports={gregorian:{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_")},persian:{months:["فروردین","اردیبهشت","خرداد","تیر","مرداد","شهریور","مهر","آبان","آذر","دی","بهمن","اسفند"],monthsShort:["فرو","ارد","خرد","تیر","مرد","شهر","مهر","آبا","آذر","دی","بهم","اسف"],weekdays:["شنبه","یکشنبه","دوشنبه","سه‌شنبه","چهار‌شنبه","پنج‌شنبه","جمعه"],weekdaysShort:["ش","ی","د","س","چ","پ","ج"],weekdaysMin:["ش","ی","د","س","چ","پ","ج"],persianDaysName:["اورمزد","بهمن","اوردیبهشت","شهریور","سپندارمذ","خورداد","امرداد","دی به آذز","آذز","آبان","خورشید","ماه","تیر","گوش","دی به مهر","مهر","سروش","رشن","فروردین","بهرام","رام","باد","دی به دین","دین","ارد","اشتاد","آسمان","زامیاد","مانتره سپند","انارام","زیادی"]}}},function(e,t,a){"use strict";var i=a(1);i.calendarType="persian",i.leapYearMode="astronomical",i.localType="fa",e.exports=i},function(e,t,a){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=function e(){i(this,e),this.isInvalidDate=null,this.gDate=null,this.modifiedjulianday=0,this.julianday=0,this.gregserial={day:0},this.zone=0,this.gregorian={year:0,month:0,day:0,hour:0,minute:0,second:0,millisecond:0,weekday:0,unix:0,leap:0},this.juliancalendar={year:0,month:0,day:0,leap:0,weekday:0},this.islamic={year:0,month:0,day:0,leap:0,weekday:0},this.persianAlgo=this.persian={year:0,month:0,day:0,leap:0,weekday:0},this.persianAstro={year:0,month:0,day:0,leap:0,weekday:0},this.isoweek={year:0,week:0,day:0},this.isoday={year:0,day:0}};e.exports=r},function(e,t,a){"use strict";e.exports={isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},isNumber:function(e){return"number"==typeof e},isDate:function(e){return e instanceof Date}}},function(e,t,a){"use strict";e.exports={validateInputArray:function(e){var t=!0;return(e[1]<1||e[1]>12)&&(t=!1),(e[2]<1||e[1]>31)&&(t=!1),(e[3]<0||e[3]>24)&&(t=!1),(e[4]<0||e[4]>60)&&(t=!1),(e[5]<0||e[5]>60)&&(t=!1),t}}}])});jQuery(document).ready(function($){!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.persianDatepicker=t():e.persianDatepicker=t()}(this,function(){return function(e){function t(n){if(i[n])return i[n].exports;var a=i[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var i={};return t.m=e,t.c=i,t.i=function(e){return e},t.d=function(e,i,n){t.o(e,i)||Object.defineProperty(e,i,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,"a",i),i},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=5)}([function(e,t,i){"use strict";var n={debounce:function(e,t,i){var n;return function(){var a=this,o=arguments,s=function(){n=null,i||e.apply(a,o)},r=i&&!n;clearTimeout(n),n=setTimeout(s,t),r&&e.apply(a,o)}},log:function(e){console.log(e)},isMobile:function(){var e=!1;return function(t){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4)))&&(e=!0)}(navigator.userAgent||navigator.vendor||window.opera),e}(),debug:function(e,t){window.persianDatepickerDebug&&(e.constructor.name?console.log("Debug: "+e.constructor.name+" : "+t):console.log("Debug: "+t))},delay:function(e,t){clearTimeout(window.datepickerTimer),window.datepickerTimer=setTimeout(e,t)}};e.exports=n},function(e,t,i){"use strict";e.exports='\n<div id="plotId" class="datepicker-plot-area {{cssClass}}">\n    {{#navigator.enabled}}\n        <div data-navigator class="datepicker-navigator">\n            <div class="pwt-btn pwt-btn-next">{{navigator.text.btnNextText}}</div>\n            <div class="pwt-btn pwt-btn-switch">{{navigator.switch.text}}</div>\n            <div class="pwt-btn pwt-btn-prev">{{navigator.text.btnPrevText}}</div>\n        </div>\n    {{/navigator.enabled}}\n    <div class="datepicker-grid-view" >\n    {{#days.enabled}}\n        {{#days.viewMode}}\n        <div class="datepicker-day-view" >    \n            <div class="month-grid-box">\n                <div class="header">\n                    <div class="title"></div>\n                    <div class="header-row">\n                        {{#weekdays.list}}\n                            <div class="header-row-cell">{{.}}</div>\n                        {{/weekdays.list}}\n                    </div>\n                </div>    \n                <table cellspacing="0" class="table-days">\n                    <tbody>\n                        {{#days.list}}\n                           \n                            <tr>\n                                {{#.}}\n                                    {{#enabled}}\n                                        <td data-date="{{dataDate}}" data-unix="{{dataUnix}}" >\n                                            <span  class="{{#otherMonth}}other-month{{/otherMonth}}">{{title}}</span>\n                                            {{#altCalendarShowHint}}\n                                            <i  class="alter-calendar-day">{{alterCalTitle}}</i>\n                                            {{/altCalendarShowHint}}\n                                        </td>\n                                    {{/enabled}}\n                                    {{^enabled}}\n                                        <td data-date="{{dataDate}}" data-unix="{{dataUnix}}" class="disabled">\n                                            <span class="{{#otherMonth}}other-month{{/otherMonth}}">{{title}}</span>\n                                            {{#altCalendarShowHint}}\n                                            <i  class="alter-calendar-day">{{alterCalTitle}}</i>\n                                            {{/altCalendarShowHint}}\n                                        </td>\n                                    {{/enabled}}\n                                    \n                                {{/.}}\n                            </tr>\n                        {{/days.list}}\n                    </tbody>\n                </table>\n            </div>\n        </div>\n        {{/days.viewMode}}\n    {{/days.enabled}}\n    \n    {{#month.enabled}}\n        {{#month.viewMode}}\n            <div class="datepicker-month-view">\n                {{#month.list}}\n                    {{#enabled}}               \n                        <div data-year="{{year}}" data-month="{{dataMonth}}" class="month-item {{#selected}}selected{{/selected}}">{{title}}</small></div>\n                    {{/enabled}}\n                    {{^enabled}}               \n                        <div data-year="{{year}}"data-month="{{dataMonth}}" class="month-item month-item-disable {{#selected}}selected{{/selected}}">{{title}}</small></div>\n                    {{/enabled}}\n                {{/month.list}}\n            </div>\n        {{/month.viewMode}}\n    {{/month.enabled}}\n    \n    {{#year.enabled }}\n        {{#year.viewMode }}\n            <div class="datepicker-year-view" >\n                {{#year.list}}\n                    {{#enabled}}\n                        <div data-year="{{dataYear}}" class="year-item {{#selected}}selected{{/selected}}">{{title}}</div>\n                    {{/enabled}}\n                    {{^enabled}}\n                        <div data-year="{{dataYear}}" class="year-item year-item-disable {{#selected}}selected{{/selected}}">{{title}}</div>\n                    {{/enabled}}                    \n                {{/year.list}}\n            </div>\n        {{/year.viewMode }}\n    {{/year.enabled }}\n    \n    </div>\n    {{#time}}\n    {{#enabled}}\n    <div class="datepicker-time-view">\n        {{#hour.enabled}}\n            <div class="hour time-segment" data-time-key="hour">\n                <div class="up-btn" data-time-key="hour">▲</div>\n                <input disabled value="{{hour.title}}" type="text" placeholder="hour" class="hour-input">\n                <div class="down-btn" data-time-key="hour">▼</div>                    \n            </div>       \n            <div class="divider">\n                <span>:</span>\n            </div>\n        {{/hour.enabled}}\n        {{#minute.enabled}}\n            <div class="minute time-segment" data-time-key="minute" >\n                <div class="up-btn" data-time-key="minute">▲</div>\n                <input disabled value="{{minute.title}}" type="text" placeholder="minute" class="minute-input">\n                <div class="down-btn" data-time-key="minute">▼</div>\n            </div>        \n            <div class="divider second-divider">\n                <span>:</span>\n            </div>\n        {{/minute.enabled}}\n        {{#second.enabled}}\n            <div class="second time-segment" data-time-key="second"  >\n                <div class="up-btn" data-time-key="second" >▲</div>\n                <input disabled value="{{second.title}}"  type="text" placeholder="second" class="second-input">\n                <div class="down-btn" data-time-key="second" >▼</div>\n            </div>\n            <div class="divider meridian-divider"></div>\n            <div class="divider meridian-divider"></div>\n        {{/second.enabled}}\n        {{#meridian.enabled}}\n            <div class="meridian time-segment" data-time-key="meridian" >\n                <div class="up-btn" data-time-key="meridian">▲</div>\n                <input disabled value="{{meridian.title}}" type="text" class="meridian-input">\n                <div class="down-btn" data-time-key="meridian">▼</div>\n            </div>\n        {{/meridian.enabled}}\n    </div>\n    {{/enabled}}\n    {{/time}}\n    \n    {{#toolbox}}\n    {{#enabled}}\n    <div class="toolbox">\n        {{#toolbox.submitButton.enabled}}\n            <div class="pwt-btn-submit">{{submitButtonText}}</div>\n        {{/toolbox.submitButton.enabled}}        \n        {{#toolbox.todayButton.enabled}}\n            <div class="pwt-btn-today">{{todayButtonText}}</div>\n        {{/toolbox.todayButton.enabled}}        \n        {{#toolbox.calendarSwitch.enabled}}\n            <div class="pwt-btn-calendar">{{calendarSwitchText}}</div>\n        {{/toolbox.calendarSwitch.enabled}}\n    </div>\n    {{/enabled}}\n    {{^enabled}}\n        {{#onlyTimePicker}}\n        <div class="toolbox">\n            <div class="pwt-btn-submit">{{submitButtonText}}</div>\n        </div>\n        {{/onlyTimePicker}}\n    {{/enabled}}\n    {{/toolbox}}\n</div>\n'},function(e,t,i){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}(),o=i(11),s=i(12),r=i(13),l=i(6),d=i(3),c=i(7),u=i(8),h=i(10),m=function(){function e(t,i){return n(this,e),this.components(t,i)}return a(e,[{key:"components",value:function(e,t){return this.initialUnix=null,this.inputElement=e,this.options=new u(t,this),this.PersianDate=new h(this),this.state=new o(this),this.api=new d(this),this.input=new l(this,e),this.view=new r(this),this.toolbox=new s(this),this.updateInput=function(e){this.input.update(e)},this.state.setViewDateTime("unix",this.input.getOnInitState()),this.state.setSelectedDateTime("unix",this.input.getOnInitState()),this.view.render(),this.navigator=new c(this),this.api}}]),e}();e.exports=m},function(e,t,i){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}(),o=function(){function e(t){n(this,e),this.model=t}return a(e,[{key:"show",value:function(){return this.model.view.show(),this.model.options.onShow(this.model),this.model}},{key:"getState",value:function(){return this.model.state}},{key:"hide",value:function(){return this.model.view.hide(),this.model.options.onHide(this.model),this.model}},{key:"toggle",value:function(){return this.model.view.toggle(),this.model.options.onToggle(this.model),this.model}},{key:"destroy",value:function(){this.model&&(this.model.view.destroy(),this.model.options.onDestroy(this.model),delete this.model)}},{key:"setDate",value:function(e){return this.model.state.setSelectedDateTime("unix",e),this.model.state.setViewDateTime("unix",e),this.model.state.setSelectedDateTime("unix",e),this.model.view.render(this.view),this.model.options.onSet(e),this.model}},{key:"options",get:function(){return this.model.options},set:function(e){var t=$.extend(!0,this.model.options,e);this.model.view.destroy(),this.model.components(this.model.inputElement,t)}}]),e}();e.exports=o},function(e,t,i){"use strict";var n=i(0),a={calendarType:"persian",calendar:{persian:{locale:"fa",showHint:!1,leapYearMode:"algorithmic"},gregorian:{locale:"en",showHint:!1}},responsive:!0,inline:!1,initialValue:!0,initialValueType:"gregorian",persianDigit:!0,viewMode:"day",format:"LLLL",formatter:function(e){var t=this;return this.model.PersianDate.date(e).format(t.format)},altField:!1,altFormat:"unix",altFieldFormatter:function(e){var t=this,i=t.altFormat.toLowerCase(),n=void 0;return"gregorian"===i||"g"===i?new Date(e):"unix"===i||"u"===i?e:(n=this.model.PersianDate.date(e),n.format(t.altFormat))},minDate:null,maxDate:null,navigator:{enabled:!0,scroll:{enabled:!0},text:{btnNextText:"<",btnPrevText:">"},onNext:function(e){n.debug(e,"Event: onNext")},onPrev:function(e){n.debug(e,"Event: onPrev")},onSwitch:function(e){n.debug(e,"dayPicker Event: onSwitch")}},toolbox:{enabled:!0,text:{btnToday:"امروز"},submitButton:{enabled:n.isMobile,text:{fa:"تایید",en:"submit"},onSubmit:function(e){n.debug(e,"dayPicker Event: onSubmit")}},todayButton:{enabled:!0,text:{fa:"امروز",en:"today"},onToday:function(e){n.debug(e,"dayPicker Event: onToday")}},calendarSwitch:{enabled:!0,format:"MMMM",onSwitch:function(e){n.debug(e,"dayPicker Event: onSwitch")}},onToday:function(e){n.debug(e,"dayPicker Event: onToday")}},onlyTimePicker:!1,onlySelectOnDate:!0,checkDate:function(){return!0},checkMonth:function(){return!0},checkYear:function(){return!0},timePicker:{enabled:!1,step:1,hour:{enabled:!0,step:null},minute:{enabled:!0,step:null},second:{enabled:!0,step:null},meridian:{enabled:!1}},dayPicker:{enabled:!0,titleFormat:"YYYY MMMM",titleFormatter:function(e,t){return this.model.PersianDate.date([e,t]).format(this.model.options.dayPicker.titleFormat)},onSelect:function(e){n.debug(this,"dayPicker Event: onSelect : "+e)}},monthPicker:{enabled:!0,titleFormat:"YYYY",titleFormatter:function(e){return this.model.PersianDate.date(e).format(this.model.options.monthPicker.titleFormat)},onSelect:function(e){n.debug(this,"monthPicker Event: onSelect : "+e)}},yearPicker:{enabled:!0,titleFormat:"YYYY",titleFormatter:function(e){var t=12*parseInt(e/12,10),i=this.model.PersianDate.date([t]),n=this.model.PersianDate.date([t+11]);return i.format(this.model.options.yearPicker.titleFormat)+"-"+n.format(this.model.options.yearPicker.titleFormat)},onSelect:function(e){n.debug(this,"yearPicker Event: onSelect : "+e)}},onSelect:function(e){n.debug(this,"datepicker Event: onSelect : "+e)},onSet:function(e){n.debug(this,"datepicker Event: onSet : "+e)},position:"auto",onShow:function(e){n.debug(e,"Event: onShow ")},onHide:function(e){n.debug(e,"Event: onHide ")},onToggle:function(e){n.debug(e,"Event: onToggle ")},onDestroy:function(e){n.debug(e,"Event: onDestroy ")},autoClose:!1,template:null,observer:!1,inputDelay:800};e.exports=a},function(e,t,i){"use strict";var n=i(2);!function(e){e.fn.persianDatepicker=e.fn.pDatepicker=function(t){var i=Array.prototype.slice.call(arguments),a=null,o=this;return this||e.error("Invalid selector"),e(this).each(function(){var s=[],r=i.concat(s),l=e(this).data("datepicker"),d=null;l&&"string"==typeof r[0]?(d=r[0],a=l[d](r[0])):o.pDatePicker=new n(this,t)}),e(this).data("datepicker",o.pDatePicker),o.pDatePicker}}(jQuery)},function(e,t,i){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}(),o=i(0),s=i(9),r=function(){function e(t,i){return n(this,e),this.model=t,this._firstUpdate=!0,this.elem=i,this.model.options.observer&&this.observe(),this.addInitialClass(),this.initialUnix=null,0==this.model.options.inline&&this._attachInputElementEvents(),this}return a(e,[{key:"addInitialClass",value:function(){$(this.elem).addClass("pwt-datepicker-input-element")}},{key:"parseInput",value:function(e){var t=new s,i=this;if(void 0!==t.parse(e)){var n=this.model.PersianDate.date(t.parse(e)).valueOf();i.model.state.setSelectedDateTime("unix",n),i.model.state.setViewDateTime("unix",n),i.model.view.render()}}},{key:"observe",value:function(){function e(e){t.parseInput(e.val())}var t=this;$(t.elem).bind("paste",function(e){o.delay(function(){t.parseInput(e.target.value)},60)});var i=void 0,n=t.model.options.inputDelay,a=!1,s=[17,91];$(document).keydown(function(e){$.inArray(e.keyCode,s)>0&&(a=!0)}).keyup(function(e){$.inArray(e.keyCode,s)>0&&(a=!1)}),$(t.elem).bind("keyup",function(t){var o=$(this),r=!1;(8===t.keyCode||t.keyCode<105&&t.keyCode>96||t.keyCode<58&&t.keyCode>47||a&&(86==t.keyCode||$.inArray(t.keyCode,s)>0))&&(r=!0),r&&(clearTimeout(i),i=setTimeout(function(){e(o)},n))}),$(t.elem).on("keydown",function(){clearTimeout(i)})}},{key:"_attachInputElementEvents",value:function(){var e=this,t=function t(i){$(i.target).is(e.elem)||$(i.target).is(e.model.view.$container)||0!=$(i.target).closest("#"+e.model.view.$container.attr("id")).length||$(i.target).is($(e.elem).children())||(e.model.api.hide(),$("body").unbind("click",t))};$(this.elem).on("focus click",o.debounce(function(i){return e.model.api.show(),!1===e.model.state.ui.isInline&&$("body").unbind("click",t).bind("click",t),o.isMobile&&$(this).blur(),i.stopPropagation(),!1},200)),$(this.elem).on("keydown",o.debounce(function(t){if(9===t.which)return e.model.api.hide(),!1},200))}},{key:"getInputPosition",value:function(){return $(this.elem).offset()}},{key:"getInputSize",value:function(){return{width:$(this.elem).outerWidth(),height:$(this.elem).outerHeight()}}},{key:"_updateAltField",value:function(e){var t=this.model.options.altFieldFormatter(e);$(this.model.options.altField).val(t)}},{key:"_updateInputField",value:function(e){var t=this.model.options.formatter(e);$(this.elem).val()!=t&&$(this.elem).val(t)}},{key:"update",value:function(e){0==this.model.options.initialValue&&this._firstUpdate?this._firstUpdate=!1:(this._updateInputField(e),this._updateAltField(e))}},{key:"getOnInitState",value:function(){var e=null,t=$(this.elem),i=void 0;if((i="INPUT"===t[0].nodeName?t[0].getAttribute("value"):t.data("date"))&&i.match("^([0-1][0-9]|2[0-3]):([0-5][0-9])(?::([0-5][0-9]))?$")){var n=i.split(":"),a=new Date;a.setHours(n[0]),a.setMinutes(n[1]),n[2]?a.setSeconds(n[2]):a.setSeconds(0),this.initialUnix=a.valueOf()}else{if("persian"===this.model.options.initialValueType&&i){var o=new s,r=new persianDate(o.parse(i)).valueOf();e=new Date(r).valueOf()}else"unix"===this.model.options.initialValueType&&i?e=parseInt(i):i&&(e=new Date(i).valueOf());this.initialUnix=e&&"undefined"!=e?e:(new Date).valueOf()}return this.initialUnix}}]),e}();e.exports=r},function(e,t,i){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}(),o=i(14),s=function(){function e(t){return n(this,e),this.model=t,this.liveAttach(),this._attachEvents(),this}return a(e,[{key:"liveAttach",value:function(){if(this.model.options.navigator.scroll.enabled){var e=this,t=$("#"+e.model.view.id+" .datepicker-grid-view")[0];o(t).wheel(function(t,i){i>0?e.model.state.navigate("next"):e.model.state.navigate("prev"),e.model.view.render(),t.preventDefault()}),this.model.options.timePicker.enabled&&$("#"+e.model.view.id+" .time-segment").each(function(){o(this).wheel(function(t,i){var n=$(t.target),a=n.data("time-key")?n.data("time-key"):n.parents("[data-time-key]").data("time-key");a&&(i>0?e.timeUp(a):e.timeDown(a)),e.model.view.render(),t.preventDefault()})})}}},{key:"timeUp",value:function(e){if(void 0!=this.model.options.timePicker[e]){var t=void 0,i=void 0,n=this;"meridian"==e?(t=12,i="PM"==this.model.state.view.meridian?this.model.PersianDate.date(this.model.state.selected.unixDate).add("hour",t).valueOf():this.model.PersianDate.date(this.model.state.selected.unixDate).subtract("hour",t).valueOf(),this.model.state.meridianToggle()):(t=this.model.options.timePicker[e].step,i=this.model.PersianDate.date(this.model.state.selected.unixDate).add(e,t).valueOf()),this.model.state.setViewDateTime("unix",i),this.model.state.setSelectedDateTime("unix",i),this.model.view.renderTimePartial(),clearTimeout(this.scrollDelayTimeDown),this.scrollDelayTimeUp=setTimeout(function(){n.model.view.markSelectedDay()},300)}}},{key:"timeDown",value:function(e){if(void 0!=this.model.options.timePicker[e]){var t=void 0,i=void 0,n=this;"meridian"==e?(t=12,i="AM"==this.model.state.view.meridian?this.model.PersianDate.date(this.model.state.selected.unixDate).add("hour",t).valueOf():this.model.PersianDate.date(this.model.state.selected.unixDate).subtract("hour",t).valueOf(),this.model.state.meridianToggle()):(t=this.model.options.timePicker[e].step,i=this.model.PersianDate.date(this.model.state.selected.unixDate).subtract(e,t).valueOf()),this.model.state.setViewDateTime("unix",i),this.model.state.setSelectedDateTime("unix",i),this.model.view.renderTimePartial(),clearTimeout(this.scrollDelayTimeDown),this.scrollDelayTimeDown=setTimeout(function(){n.model.view.markSelectedDay()},300)}}},{key:"_attachEvents",value:function(){var e=this;this.model.options.navigator.enabled&&$(document).on("click","#"+e.model.view.id+" .pwt-btn",function(){$(this).is(".pwt-btn-next")?(e.model.state.navigate("next"),e.model.view.render(),e.model.options.navigator.onNext(e.model)):$(this).is(".pwt-btn-switch")?(e.model.state.switchViewMode(),e.model.view.render(),e.model.options.navigator.onSwitch(e.model)):$(this).is(".pwt-btn-prev")&&(e.model.state.navigate("prev"),e.model.view.render(),e.model.options.navigator.onPrev(e.model))}),this.model.options.timePicker.enabled&&($(document).on("click","#"+e.model.view.id+" .up-btn",function(){var t=$(this).data("time-key");e.timeUp(t),e.model.options.onSelect(e.model.state.selected.unixDate)}),$(document).on("click","#"+e.model.view.id+" .down-btn",function(){var t=$(this).data("time-key");e.timeDown(t),e.model.options.onSelect(e.model.state.selected.unixDate)})),this.model.options.dayPicker.enabled&&$(document).on("click","#"+e.model.view.id+" .datepicker-day-view td:not(.disabled)",function(){var t=$(this).data("unix"),i=void 0;e.model.state.setSelectedDateTime("unix",t),i=e.model.state.selected.month!==e.model.state.view.month,e.model.state.setViewDateTime("unix",e.model.state.selected.unixDate),e.model.options.autoClose&&(e.model.view.hide(),e.model.options.onHide(e)),i?e.model.view.render():e.model.view.markSelectedDay(),e.model.options.dayPicker.onSelect(t),e.model.options.onSelect(t)}),this.model.options.monthPicker.enabled&&$(document).on("click","#"+e.model.view.id+" .datepicker-month-view .month-item:not(.month-item-disable)",function(){var t=$(this).data("month"),i=$(this).data("year");e.model.state.switchViewModeTo("day"),e.model.options.onlySelectOnDate||(e.model.state.setSelectedDateTime("year",i),e.model.state.setSelectedDateTime("month",t),e.model.options.autoClose&&(e.model.view.hide(),e.model.options.onHide(e))),e.model.state.setViewDateTime("month",t),e.model.view.render(),e.model.options.monthPicker.onSelect(t),e.model.options.onSelect(e.model.state.selected.unixDate)}),this.model.options.yearPicker.enabled&&$(document).on("click","#"+e.model.view.id+" .datepicker-year-view .year-item:not(.year-item-disable)",function(){var t=$(this).data("year");e.model.state.switchViewModeTo("month"),e.model.options.onlySelectOnDate||(e.model.state.setSelectedDateTime("year",t),e.model.options.autoClose&&(e.model.view.hide(),e.model.options.onHide(e))),e.model.state.setViewDateTime("year",t),e.model.view.render(),e.model.options.yearPicker.onSelect(t),e.model.options.onSelect(e.model.state.selected.unixDate)})}}]),e}();e.exports=s},function(e,t,i){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}(),o=i(4),s=i(1),r=function(){function e(t,i){return n(this,e),this.model=i,this._compatibility($.extend(!0,this,o,t))}return a(e,[{key:"_compatibility",value:function(e){e.inline&&(e.toolbox.submitButton.enabled=!1),e.template||(e.template=s),persianDate.toCalendar(e.calendarType),persianDate.toLocale(e.calendar[e.calendarType].locale),e.onlyTimePicker&&(e.dayPicker.enabled=!1,e.monthPicker.enabled=!1,e.yearPicker.enabled=!1,e.navigator.enabled=!1,e.toolbox.enabled=!1,e.timePicker.enabled=!0),null===e.timePicker.hour.step&&(e.timePicker.hour.step=e.timePicker.step),null===e.timePicker.minute.step&&(e.timePicker.minute.step=e.timePicker.step),null===e.timePicker.second.step&&(e.timePicker.second.step=e.timePicker.step),!1===e.dayPicker.enabled&&(e.onlySelectOnDate=!1),e._viewModeList=[],e.dayPicker.enabled&&e._viewModeList.push("day"),e.monthPicker.enabled&&e._viewModeList.push("month"),e.yearPicker.enabled&&e._viewModeList.push("year")}}]),e}();e.exports=r},function(e,t,i){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}(),o=function(){function e(){n(this,e),this.pattern={iso:/^(-?(?:[1-9][0-9]*)?[0-9]{4})-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12][0-9])T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z)?$/g,jalali:/^[1-4]\d{3}(\/|-|\.)((0?[1-6](\/|-|\.)((3[0-1])|([1-2][0-9])|(0?[1-9])))|((1[0-2]|(0?[7-9]))(\/|-|\.)(30|([1-2][0-9])|(0?[1-9]))))$/g}}return a(e,[{key:"parse",value:function(e){var t=this,i=new RegExp(t.pattern.iso),n=new RegExp(t.pattern.jalali);return String.prototype.toEnglishDigits=function(){var e="۰".charCodeAt(0);return this.replace(/[۰-۹]/g,function(t){return t.charCodeAt(0)-e})},e=e.toEnglishDigits(),n.test(e)?e.split(/\/|-|\,|\./).map(Number):i.test(e)?e.split(/\/|-|\,|\:|\T|\Z/g).map(Number):void 0}}]),e}();e.exports=o},function(e,t,i){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}(),o=function(){function e(t){return n(this,e),this.model=t,this.model.options.calendar_=this.model.options.calendarType,this.model.options.locale_=this.model.options.calendar[this.model.options.calendarType].locale,this}return a(e,[{key:"date",value:function(e){window.inspdCount||0===window.inspdCount?window.inspdCount++:window.inspdCount=0;var t=this,i=void 0,n=void 0;return n=persianDate.toCalendar(t.model.options.calendar_),this.model.options.calendar[this.model.options.calendarType].leapYearMode&&n.toLeapYearMode(this.model.options.calendar[this.model.options.calendarType].leapYearMode),i=new n(e),i.toLocale(t.model.options.locale_)}}]),e}();e.exports=o},function(e,t,i){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}(),o=function(){function e(t){return n(this,e),this.model=t,this.filetredDate=this.model.options.minDate||this.model.options.maxDate,this.viewModeList=this.model.options._viewModeList,this.viewMode=this.viewModeList.indexOf(t.options.viewMode)>0?t.options.viewMode:this.viewModeList[0],this.viewModeIndex=this.viewModeList.indexOf(t.options.viewMode)>0?this.viewModeList.indexOf(t.options.viewMode):0,this.filterDate={start:{year:0,month:0,date:0,hour:0,minute:0,second:0,unixDate:0},end:{year:0,month:0,date:0,hour:0,minute:0,second:0,unixDate:0}},this.view={year:0,month:0,date:0,hour:0,minute:0,second:0,unixDate:0,dateObject:null,meridian:"AM"},this.selected={year:0,month:0,date:0,hour:0,hour12:0,minute:0,second:0,unixDate:0,dateObject:null},this.ui={isOpen:!1,isInline:this.model.options.inline},this._setFilterDate(this.model.options.minDate,this.model.options.maxDate),this}return a(e,[{key:"_setFilterDate",value:function(e,t){var i=this;e||(e=-2e15),t||(t=2e15);var n=i.model.PersianDate.date(e);i.filterDate.start.unixDate=e,i.filterDate.start.hour=n.hour(),i.filterDate.start.minute=n.minute(),i.filterDate.start.second=n.second(),i.filterDate.start.month=n.month(),i.filterDate.start.date=n.date(),i.filterDate.start.year=n.year();var a=i.model.PersianDate.date(t);i.filterDate.end.unixDate=t,i.filterDate.end.hour=a.hour(),i.filterDate.end.minute=a.minute(),i.filterDate.end.second=a.second(),i.filterDate.end.month=a.month(),i.filterDate.end.date=a.date(),i.filterDate.end.year=a.year()}},{key:"navigate",value:function(e){if("next"==e){if("year"==this.viewMode&&this.setViewDateTime("year",this.view.year+12),"month"==this.viewMode){var t=this.view.year+1;0===t&&(t=1),this.setViewDateTime("year",t)}if("day"==this.viewMode){var i=this.view.year+1;0===i&&(i=1),this.view.month+1==13?(this.setViewDateTime("year",i),this.setViewDateTime("month",1)):this.setViewDateTime("month",this.view.month+1)}}else{if("year"==this.viewMode&&this.setViewDateTime("year",this.view.year-12),"month"==this.viewMode){var n=this.view.year-1;0===n&&(n=-1),this.setViewDateTime("year",n)}if("day"==this.viewMode)if(this.view.month-1<=0){var a=this.view.year-1;0===a&&(a=-1),this.setViewDateTime("year",a),this.setViewDateTime("month",12)}else this.setViewDateTime("month",this.view.month-1)}}},{key:"switchViewMode",value:function(){return this.viewModeIndex=this.viewModeIndex+1>=this.viewModeList.length?0:this.viewModeIndex+1,this.viewMode=this.viewModeList[this.viewModeIndex]?this.viewModeList[this.viewModeIndex]:this.viewModeList[0],this._setViewDateTimeUnix(),this}},{key:"switchViewModeTo",value:function(e){this.viewModeList.indexOf(e)>=0&&(this.viewMode=e,this.viewModeIndex=this.viewModeList.indexOf(e))}},{key:"setSelectedDateTime",value:function(e,t){var i=this;switch(e){case"unix":i.selected.unixDate=t;var n=this.model.PersianDate.date(t);i.selected.year=n.year(),i.selected.month=n.month(),i.selected.date=n.date(),i.selected.hour=n.hour(),i.selected.hour12=n.format("hh"),i.selected.minute=n.minute(),i.selected.second=n.second();break;case"year":this.selected.year=t;break;case"month":this.selected.month=t;break;case"date":this.selected.date=t;break;case"hour":this.selected.hour=t;break;case"minute":this.selected.minute=t;break;case"second":this.selected.second=t}return i._updateSelectedUnix(),this}},{key:"_updateSelectedUnix",value:function(){return this.selected.dateObject=this.model.PersianDate.date([this.selected.year,this.selected.month,this.selected.date,this.view.hour,this.view.minute,this.view.second]),this.selected.unixDate=this.selected.dateObject.valueOf(),this.model.updateInput(this.selected.unixDate),this}},{key:"_setViewDateTimeUnix",value:function(){var e=(new persianDate).daysInMonth(this.view.year,this.view.month);return this.view.date>e&&(this.view.date=e),this.view.dateObject=this.model.PersianDate.date([this.view.year,this.view.month,this.view.date,this.view.hour,this.view.minute,this.view.second]),this.view.year=this.view.dateObject.year(),this.view.month=this.view.dateObject.month(),this.view.date=this.view.dateObject.date(),this.view.hour=this.view.dateObject.hour(),this.view.hour12=this.view.dateObject.format("hh"),this.view.minute=this.view.dateObject.minute(),this.view.second=this.view.dateObject.second(),this.view.unixDate=this.view.dateObject.valueOf(),this}},{key:"setViewDateTime",value:function(e,t){var i=this;switch(e){case"unix":var n=this.model.PersianDate.date(t);i.view.year=n.year(),i.view.month=n.month(),i.view.date=n.date(),i.view.hour=n.hour(),i.view.minute=n.minute(),i.view.second=n.second();break;case"year":this.view.year=t;break;case"month":this.view.month=t;break;case"date":this.view.date=t;break;case"hour":this.view.hour=t;break;case"minute":this.view.minute=t;break;case"second":this.view.second=t}return this._setViewDateTimeUnix(),this}},{key:"meridianToggle",value:function(){var e=this;"AM"===e.view.meridian?e.view.meridian="PM":"PM"===e.view.meridian&&(e.view.meridian="AM")}}]),e}();e.exports=o},function(e,t,i){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}(),o=function(){function e(t){return n(this,e),this.model=t,this._attachEvents(),this}return a(e,[{key:"_toggleCalendartype",value:function(){var e=this;"persian"==e.model.options.calendar_?(e.model.options.calendar_="gregorian",e.model.options.locale_=this.model.options.calendar.gregorian.locale):(e.model.options.calendar_="persian",e.model.options.locale_=this.model.options.calendar.persian.locale)}},{key:"_attachEvents",value:function(){var e=this;$(document).on("click","#"+e.model.view.id+" .pwt-btn-today",function(){e.model.state.setSelectedDateTime("unix",(new Date).valueOf()),e.model.state.setViewDateTime("unix",(new Date).valueOf()),e.model.view.reRender(),e.model.options.toolbox.onToday(e.model),e.model.options.toolbox.todayButton.onToday(e.model)}),$(document).on("click","#"+e.model.view.id+" .pwt-btn-calendar",function(){e._toggleCalendartype(),e.model.state.setSelectedDateTime("unix",e.model.state.selected.unixDate),e.model.state.setViewDateTime("unix",e.model.state.view.unixDate),e.model.view.render(),e.model.options.toolbox.calendarSwitch.onSwitch(e.model)}),$(document).on("click","#"+e.model.view.id+" .pwt-btn-submit",function(){e.model.view.hide(),e.model.options.toolbox.submitButton.onSubmit(e.model),e.model.options.onHide(this)})}}]),e}();e.exports=o},function(e,t,i){"use strict";function n(e){if(Array.isArray(e)){for(var t=0,i=Array(e.length);t<e.length;t++)i[t]=e[t];return i}return Array.from(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(e,t){var i=[],n=!0,a=!1,o=void 0;try{for(var s,r=e[Symbol.iterator]();!(n=(s=r.next()).done)&&(i.push(s.value),!t||i.length!==t);n=!0);}catch(e){a=!0,o=e}finally{try{!n&&r.return&&r.return()}finally{if(a)throw o}}return i}return function(t,i){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}(),r=i(1),l=i(0),d=i(15),c=function(){function e(t){a(this,e),this.yearsViewCount=12,this.model=t,this.rendered=null,this.$container=null,this.id="persianDateInstance-"+parseInt(1e3*Math.random(100));var i=this;return this.model.state.ui.isInline?this.$container=$('<div  id="'+this.id+'" class="datepicker-container-inline"></div>').appendTo(i.model.inputElement):(this.$container=$('<div  id="'+this.id+'" class="datepicker-container"></div>').appendTo("body"),this.hide(),this.setPickerBoxPosition(),this.addCompatibilityClass()),this}return s(e,[{key:"addCompatibilityClass",value:function(){l.isMobile&&this.model.options.responsive&&this.$container.addClass("pwt-mobile-view")}},{key:"destroy",value:function(){this.$container.remove()}},{key:"setPickerBoxPosition",value:function(){var e=this.model.input.getInputPosition(),t=this.model.input.getInputSize();if(l.isMobile&&this.model.options.responsive)return!1;"auto"===this.model.options.position?this.$container.css({left:e.left+"px",top:t.height+e.top+"px"}):this.$container.css({left:this.model.options.position[1]+e.left+"px",top:this.model.options.position[0]+e.top+"px"})}},{key:"show",value:function(){this.$container.removeClass("pwt-hide"),this.setPickerBoxPosition()}},{key:"hide",value:function(){this.$container.addClass("pwt-hide")}},{key:"toggle",value:function(){this.$container.toggleClass("pwt-hide")}},{key:"_getNavSwitchText",value:function(e){var t=void 0;return"day"==this.model.state.viewMode?t=this.model.options.dayPicker.titleFormatter.call(this,e.year,e.month):"month"==this.model.state.viewMode?t=this.model.options.monthPicker.titleFormatter.call(this,e.dateObject.valueOf()):"year"==this.model.state.viewMode&&(t=this.model.options.yearPicker.titleFormatter.call(this,e.year)),t}},{key:"checkYearAccess",value:function(e){if(this.model.state.filetredDate){var t=this.model.state.filterDate.start.year,i=this.model.state.filterDate.end.year;if(t&&e<t)return!1;if(i&&e>i)return!1}return this.model.options.checkYear(e)}},{key:"_getYearViewModel",value:function(e){var t=this,i=this.model.options.yearPicker.enabled;if(!i)return{enabled:!1};var a=[].concat(n(Array(this.yearsViewCount).keys())).map(function(i){return i+parseInt(e.year/t.yearsViewCount)*t.yearsViewCount}),o=[],s=this.model.PersianDate.date(),r=!0,l=!1,d=void 0;try{for(var c,u=a[Symbol.iterator]();!(r=(c=u.next()).done);r=!0){var h=c.value;s.year([h]),o.push({title:s.format("YYYY"),enabled:this.checkYearAccess(h),dataYear:h,selected:this.model.state.selected.year==h})}}catch(e){l=!0,d=e}finally{try{!r&&u.return&&u.return()}finally{if(l)throw d}}return{enabled:i,viewMode:"year"==this.model.state.viewMode,list:o}}},{key:"checkMonthAccess",value:function(e){e+=1;var t=this.model.state.view.year;if(this.model.state.filetredDate){var i=this.model.state.filterDate.start.month,n=this.model.state.filterDate.end.month,a=this.model.state.filterDate.start.year,o=this.model.state.filterDate.end.year;if(i&&n&&(t==o&&e>n||t>o)||t==a&&e<i||t<a)return!1;if(n&&(t==o&&e>n||t>o))return!1;if(i&&(t==a&&e<i||t<a))return!1}return this.model.options.checkMonth(e,t)}},{key:"_getMonthViewModel",value:function(){var e=this.model.options.monthPicker.enabled;if(!e)return{enabled:!1};var t=[],i=this,n=!0,a=!1,s=void 0;try{for(var r,l=i.model.PersianDate.date().rangeName().months.entries()[Symbol.iterator]();!(n=(r=l.next()).done);n=!0){var d=o(r.value,2),c=d[0],u=d[1];t.push({title:u,enabled:this.checkMonthAccess(c),year:this.model.state.view.year,dataMonth:c+1,selected:this.model.state.selected.year==this.model.state.view.year&&this.model.state.selected.month==c+1})}}catch(e){a=!0,s=e}finally{try{!n&&l.return&&l.return()}finally{if(a)throw s}}return{enabled:e,viewMode:"month"==this.model.state.viewMode,list:t}}},{key:"checkDayAccess",value:function(e){var t=this;if(t.minDate=this.model.options.minDate,t.maxDate=this.model.options.maxDate,t.model.state.filetredDate)if(t.minDate&&t.maxDate){if(t.minDate=t.model.PersianDate.date(t.minDate).startOf("day").valueOf(),t.maxDate=t.model.PersianDate.date(t.maxDate).endOf("day").valueOf(),!(e>=t.minDate&&e<=t.maxDate))return!1}else if(t.minDate){if(t.minDate=t.model.PersianDate.date(t.minDate).startOf("day").valueOf(),e<=t.minDate)return!1}else if(t.maxDate&&(t.maxDate=t.model.PersianDate.date(t.maxDate).endOf("day").valueOf(),e>=t.maxDate))return!1;return t.model.options.checkDate(e)}},{key:"_getDayViewModel",value:function(){if("day"!=this.model.state.viewMode)return[];var e=this.model.options.dayPicker.enabled;if(!e)return{enabled:!1};var t=this.model.state.view.month,i=this.model.state.view.year,n=this.model.PersianDate.date(),a=n.daysInMonth(i,t),s=n.getFirstWeekDayOfMonth(i,t)-1,r=[],l=0,d=0,c=[["null","null","null","null","null","null","null"],["null","null","null","null","null","null","null"],["null","null","null","null","null","null","null"],["null","null","null","null","null","null","null"],["null","null","null","null","null","null","null"],["null","null","null","null","null","null","null"]],u=this._getAnotherCalendar(),h=!0,m=!1,v=void 0;try{for(var p,f=c.entries()[Symbol.iterator]();!(h=(p=f.next()).done);h=!0){var w=o(p.value,2),y=w[0],b=w[1];r[y]=[];var k=!0,g=!1,D=void 0;try{for(var x,P=b.entries()[Symbol.iterator]();!(k=(x=P.next()).done);k=!0){var T=o(x.value,1),M=T[0],S=void 0,O=void 0;0===y&&M<s?(S=this.model.state.view.dateObject.startOf("month").hour(12).subtract("days",s-M),O=!0):0===y&&M>=s||y<=5&&l<a?(l+=1,S=new persianDate([this.model.state.view.year,this.model.state.view.month,l]),O=!1):(d+=1,S=this.model.state.view.dateObject.endOf("month").hour(12).add("days",d),O=!0),r[y].push({title:S.format("D"),alterCalTitle:new persianDate(S.valueOf()).toCalendar(u[0]).toLocale(u[1]).format("D"),dataDate:[S.year(),S.month(),S.date()].join(","),dataUnix:S.hour(12).valueOf(),otherMonth:O,enabled:this.checkDayAccess(S.valueOf())})}}catch(e){g=!0,D=e}finally{try{!k&&P.return&&P.return()}finally{if(g)throw D}}}}catch(e){m=!0,v=e}finally{try{!h&&f.return&&f.return()}finally{if(m)throw v}}return{enabled:e,viewMode:"day"==this.model.state.viewMode,list:r}}},{key:"markSelectedDay",value:function(){var e=this.model.state.selected;this.$container.find(".table-days td").each(function(){$(this).data("date")==[e.year,e.month,e.date].join(",")?$(this).addClass("selected"):$(this).removeClass("selected")})}},{key:"markToday",value:function(){var e=new persianDate;this.$container.find(".table-days td").each(function(){$(this).data("date")==[e.year(),e.month(),e.date()].join(",")?$(this).addClass("today"):$(this).removeClass("today")})}},{key:"_getTimeViewModel",value:function(){var e=this.model.options.timePicker.enabled;if(!e)return{enabled:!1};var t=void 0;return t=this.model.options.timePicker.meridian.enabled?this.model.state.view.dateObject.format("hh"):this.model.state.view.dateObject.format("HH"),{enabled:e,hour:{title:t,enabled:this.model.options.timePicker.hour.enabled},minute:{title:this.model.state.view.dateObject.format("mm"),enabled:this.model.options.timePicker.minute.enabled},second:{title:this.model.state.view.dateObject.format("ss"),enabled:this.model.options.timePicker.second.enabled},meridian:{title:this.model.state.view.dateObject.format("a"),enabled:this.model.options.timePicker.meridian.enabled}}}},{key:"_getWeekViewModel",value:function(){return{enabled:!0,list:this.model.PersianDate.date().rangeName().weekdaysMin}}},{key:"getCssClass",value:function(){return[this.model.state.ui.isInline?"datepicker-plot-area-inline-view":"",this.model.options.timePicker.meridian.enabled?"":"datepicker-state-no-meridian",this.model.options.onlyTimePicker?"datepicker-state-only-time":"",this.model.options.timePicker.second.enabled?"":"datepicker-state-no-second","gregorian"==this.model.options.calendar_?"datepicker-gregorian":"datepicker-persian"].join(" ")}},{key:"getViewModel",value:function(e){var t=this._getAnotherCalendar();return{plotId:"",navigator:{enabled:this.model.options.navigator.enabled,switch:{enabled:!0,text:this._getNavSwitchText(e)},text:this.model.options.navigator.text},selected:this.model.state.selected,time:this._getTimeViewModel(e),days:this._getDayViewModel(e),weekdays:this._getWeekViewModel(e),month:this._getMonthViewModel(e),year:this._getYearViewModel(e),toolbox:this.model.options.toolbox,cssClass:this.getCssClass(),onlyTimePicker:this.model.options.onlyTimePicker,altCalendarShowHint:this.model.options.calendar[t[0]].showHint,calendarSwitchText:this.model.state.view.dateObject.toCalendar(t[0]).toLocale(t[1]).format(this.model.options.toolbox.calendarSwitch.format),todayButtonText:this._getButtonText().todayButtontext,submitButtonText:this._getButtonText().submitButtonText}}},{key:"_getButtonText",value:function(){var e={};return"fa"==this.model.options.locale_?(e.todayButtontext=this.model.options.toolbox.todayButton.text.fa,e.submitButtonText=this.model.options.toolbox.submitButton.text.fa):"en"==this.model.options.locale_&&(e.todayButtontext=this.model.options.toolbox.todayButton.text.en,e.submitButtonText=this.model.options.toolbox.submitButton.text.en),e}},{key:"_getAnotherCalendar",value:function(){var e=this,t=void 0,i=void 0;return"persian"==e.model.options.calendar_?(t="gregorian",i=e.model.options.calendar.gregorian.locale):(t="persian",i=e.model.options.calendar.persian.locale),[t,i]}},{key:"renderTimePartial",value:function(){var e=this._getTimeViewModel(this.model.state.view);this.$container.find('[data-time-key="hour"] input').val(e.hour.title),this.$container.find('[data-time-key="minute"] input').val(e.minute.title),this.$container.find('[data-time-key="second"] input').val(e.second.title),this.$container.find('[data-time-key="meridian"] input').val(e.meridian.title)}},{key:"render",value:function(e){e||(e=this.model.state.view),l.debug(this,"render"),d.parse(r),this.rendered=$(d.render(this.model.options.template,this.getViewModel(e))),this.$container.empty().append(this.rendered),this.markSelectedDay(),this.markToday(),this.afterRender()}},{key:"reRender",value:function(){var e=this.model.state.view;this.render(e)}},{key:"afterRender",value:function(){this.model.navigator&&this.model.navigator.liveAttach()}}]),e}();e.exports=c},function(e,t,i){!function(t,i){"use strict";var n=function(e){return new n.Instance(e)};n.SUPPORT="wheel",n.ADD_EVENT="addEventListener",n.REMOVE_EVENT="removeEventListener",n.PREFIX="",n.READY=!1,n.Instance=function(e){return n.READY||(n.normalise.browser(),n.READY=!0),this.element=e,this.handlers=[],this},n.Instance.prototype={wheel:function(e,t){return n.event.add(this,n.SUPPORT,e,t),"DOMMouseScroll"===n.SUPPORT&&n.event.add(this,"MozMousePixelScroll",e,t),this},unwheel:function(e,t){return void 0===e&&(e=this.handlers.slice(-1)[0])&&(e=e.original),n.event.remove(this,n.SUPPORT,e,t),"DOMMouseScroll"===n.SUPPORT&&n.event.remove(this,"MozMousePixelScroll",e,t),this}},n.event={add:function(e,i,a,o){var s=a;a=function(e){e||(e=t.event);var i=n.normalise.event(e),a=n.normalise.delta(e);return s(i,a[0],a[1],a[2])},e.element[n.ADD_EVENT](n.PREFIX+i,a,o||!1),e.handlers.push({original:s,normalised:a})},remove:function(e,t,i,a){for(var o,s=i,r={},l=0,d=e.handlers.length;l<d;++l)r[e.handlers[l].original]=e.handlers[l];o=r[s],i=o.normalised,e.element[n.REMOVE_EVENT](n.PREFIX+t,i,a||!1);for(var c in e.handlers)if(e.handlers[c]==o){e.handlers.splice(c,1);break}}};var a,o;n.normalise={browser:function(){"onwheel"in i||i.documentMode>=9||(n.SUPPORT=void 0!==i.onmousewheel?"mousewheel":"DOMMouseScroll"),t.addEventListener||(n.ADD_EVENT="attachEvent",n.REMOVE_EVENT="detachEvent",n.PREFIX="on")},event:function(e){var t={originalEvent:e,target:e.target||e.srcElement,type:"wheel",deltaMode:"MozMousePixelScroll"===e.type?0:1,deltaX:0,deltaZ:0,preventDefault:function(){e.preventDefault?e.preventDefault():e.returnValue=!1},stopPropagation:function(){e.stopPropagation?e.stopPropagation():e.cancelBubble=!1}};return e.wheelDelta&&(t.deltaY=-.025*e.wheelDelta),e.wheelDeltaX&&(t.deltaX=-.025*e.wheelDeltaX),e.detail&&(t.deltaY=e.detail),t},delta:function(e){var t,i=0,n=0,s=0,r=0,l=0;return e.deltaY&&(s=-1*e.deltaY,i=s),e.deltaX&&(n=e.deltaX,i=-1*n),e.wheelDelta&&(i=e.wheelDelta),e.wheelDeltaY&&(s=e.wheelDeltaY),e.wheelDeltaX&&(n=-1*e.wheelDeltaX),e.detail&&(i=-1*e.detail),0===i?[0,0,0]:(r=Math.abs(i),(!a||r<a)&&(a=r),l=Math.max(Math.abs(s),Math.abs(n)),(!o||l<o)&&(o=l),t=i>0?"floor":"ceil",i=Math[t](i/a),n=Math[t](n/o),s=Math[t](s/o),[i,n,s])}},"function"==typeof t.define&&t.define.amd?t.define("hamster",[],function(){return n}):e.exports=n}(window,window.document)},function(e,t,i){var n,a,o;!function(i,s){"object"==typeof t&&t&&"string"!=typeof t.nodeName?s(t):(a=[t],n=s,void 0!==(o="function"==typeof n?n.apply(t,a):n)&&(e.exports=o))}(0,function(e){function t(e){return"function"==typeof e}function i(e){return f(e)?"array":typeof e}function n(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function a(e,t){return null!=e&&"object"==typeof e&&t in e}function o(e,t){return null!=e&&"object"!=typeof e&&e.hasOwnProperty&&e.hasOwnProperty(t)}function s(e,t){return w.call(e,t)}function r(e){return!s(y,e)}function l(e){return String(e).replace(/[&<>"'`=\/]/g,function(e){return b[e]})}function d(t,i){function a(e){if("string"==typeof e&&(e=e.split(g,2)),!f(e)||2!==e.length)throw new Error("Invalid tags: "+e);o=new RegExp(n(e[0])+"\\s*"),s=new RegExp("\\s*"+n(e[1])),l=new RegExp("\\s*"+n("}"+e[1]))}if(!t)return[];var o,s,l,d=[],m=[],v=[],p=!1,w=!1;a(i||e.tags);for(var y,b,T,M,S,O,E=new h(t);!E.eos();){if(y=E.pos,T=E.scanUntil(o))for(var $=0,C=T.length;$<C;++$)M=T.charAt($),r(M)?v.push(m.length):w=!0,m.push(["text",M,y,y+1]),y+=1,"\n"===M&&function(){if(p&&!w)for(;v.length;)delete m[v.pop()];else v=[];p=!1,w=!1}();if(!E.scan(o))break;if(p=!0,b=E.scan(P)||"name",E.scan(k),"="===b?(T=E.scanUntil(D),E.scan(D),E.scanUntil(s)):"{"===b?(T=E.scanUntil(l),E.scan(x),E.scanUntil(s),b="&"):T=E.scanUntil(s),!E.scan(s))throw new Error("Unclosed tag at "+E.pos);if(S=[b,T,y,E.pos],m.push(S),"#"===b||"^"===b)d.push(S);else if("/"===b){if(!(O=d.pop()))throw new Error('Unopened section "'+T+'" at '+y);if(O[1]!==T)throw new Error('Unclosed section "'+O[1]+'" at '+y)}else"name"===b||"{"===b||"&"===b?w=!0:"="===b&&a(T)}if(O=d.pop())throw new Error('Unclosed section "'+O[1]+'" at '+E.pos);return u(c(m))}function c(e){for(var t,i,n=[],a=0,o=e.length;a<o;++a)(t=e[a])&&("text"===t[0]&&i&&"text"===i[0]?(i[1]+=t[1],i[3]=t[3]):(n.push(t),i=t));return n}function u(e){for(var t,i,n=[],a=n,o=[],s=0,r=e.length;s<r;++s)switch(t=e[s],t[0]){case"#":case"^":a.push(t),o.push(t),a=t[4]=[];break;case"/":i=o.pop(),i[5]=t[2],a=o.length>0?o[o.length-1][4]:n;break;default:a.push(t)}return n}function h(e){this.string=e,this.tail=e,this.pos=0}function m(e,t){this.view=e,this.cache={".":this.view},this.parent=t}function v(){this.cache={}}var p=Object.prototype.toString,f=Array.isArray||function(e){return"[object Array]"===p.call(e)},w=RegExp.prototype.test,y=/\S/,b={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"},k=/\s*/,g=/\s+/,D=/\s*=/,x=/\s*\}/,P=/#|\^|\/|>|\{|&|=|!/;h.prototype.eos=function(){return""===this.tail},h.prototype.scan=function(e){var t=this.tail.match(e);if(!t||0!==t.index)return"";var i=t[0];return this.tail=this.tail.substring(i.length),this.pos+=i.length,i},h.prototype.scanUntil=function(e){var t,i=this.tail.search(e);switch(i){case-1:t=this.tail,this.tail="";break;case 0:t="";break;default:t=this.tail.substring(0,i),this.tail=this.tail.substring(i)}return this.pos+=t.length,t},m.prototype.push=function(e){return new m(e,this)},m.prototype.lookup=function(e){var i,n=this.cache;if(n.hasOwnProperty(e))i=n[e];else{for(var s,r,l,d=this,c=!1;d;){if(e.indexOf(".")>0)for(s=d.view,r=e.split("."),l=0;null!=s&&l<r.length;)l===r.length-1&&(c=a(s,r[l])||o(s,r[l])),s=s[r[l++]];else s=d.view[e],c=a(d.view,e);if(c){i=s;break}d=d.parent}n[e]=i}return t(i)&&(i=i.call(this.view)),i},v.prototype.clearCache=function(){this.cache={}},v.prototype.parse=function(t,i){var n=this.cache,a=t+":"+(i||e.tags).join(":"),o=n[a];return null==o&&(o=n[a]=d(t,i)),o},v.prototype.render=function(e,t,i,n){var a=this.parse(e,n),o=t instanceof m?t:new m(t);return this.renderTokens(a,o,i,e,n)},v.prototype.renderTokens=function(e,t,i,n,a){for(var o,s,r,l="",d=0,c=e.length;d<c;++d)r=void 0,o=e[d],s=o[0],"#"===s?r=this.renderSection(o,t,i,n):"^"===s?r=this.renderInverted(o,t,i,n):">"===s?r=this.renderPartial(o,t,i,a):"&"===s?r=this.unescapedValue(o,t):"name"===s?r=this.escapedValue(o,t):"text"===s&&(r=this.rawValue(o)),void 0!==r&&(l+=r);return l},v.prototype.renderSection=function(e,i,n,a){function o(e){return s.render(e,i,n)}var s=this,r="",l=i.lookup(e[1]);if(l){if(f(l))for(var d=0,c=l.length;d<c;++d)r+=this.renderTokens(e[4],i.push(l[d]),n,a);else if("object"==typeof l||"string"==typeof l||"number"==typeof l)r+=this.renderTokens(e[4],i.push(l),n,a);else if(t(l)){if("string"!=typeof a)throw new Error("Cannot use higher-order sections without the original template");l=l.call(i.view,a.slice(e[3],e[5]),o),null!=l&&(r+=l)}else r+=this.renderTokens(e[4],i,n,a);return r}},v.prototype.renderInverted=function(e,t,i,n){var a=t.lookup(e[1]);if(!a||f(a)&&0===a.length)return this.renderTokens(e[4],t,i,n)},v.prototype.renderPartial=function(e,i,n,a){if(n){var o=t(n)?n(e[1]):n[e[1]];return null!=o?this.renderTokens(this.parse(o,a),i,n,o):void 0}},v.prototype.unescapedValue=function(e,t){var i=t.lookup(e[1]);if(null!=i)return i},v.prototype.escapedValue=function(t,i){var n=i.lookup(t[1]);if(null!=n)return e.escape(n)},v.prototype.rawValue=function(e){return e[1]},e.name="mustache.js",e.version="3.0.1",e.tags=["{{","}}"];var T=new v;return e.clearCache=function(){return T.clearCache()},e.parse=function(e,t){return T.parse(e,t)},e.render=function(e,t,n,a){if("string"!=typeof e)throw new TypeError('Invalid template! Template should be a "string" but "'+i(e)+'" was given as the first argument for mustache#render(template, view, partials)');return T.render(e,t,n,a)},e.to_html=function(i,n,a,o){var s=e.render(i,n,a);if(!t(o))return s;o(s)},e.escape=l,e.Scanner=h,e.Context=m,e.Writer=v,e})}])})});jQuery(document).ready(function($){$(document).on('click','.shamsi_due_date input',function(){let value=$("input.elementor-date-time-picker.flatpickr.elementor-control-tag-area.flatpickr-input");$(this).pDatepicker({format:'YYYY-MM-DD HH:mm',autoClose:!0,timePicker:{enabled:!0},formatter:function(unix){let date=new Date(unix);let year=date.getFullYear();let month=('0'+(date.getMonth()+1)).slice(-2);let day=('0'+date.getDate()).slice(-2);let hours=('0'+date.getHours()).slice(-2);let minutes=('0'+date.getMinutes()).slice(-2);let formattedDate=year+'-'+month+'-'+day+' '+hours+':'+minutes;let element=document.getElementById(value.attr("id"));if(element){element.value=formattedDate;let event=new Event('input',{bubbles:!0,cancelable:!0,});element.dispatchEvent(event)}else{console.log('Element not found!')}
return formattedDate}})});let flt=$('.elementor-date-time-picker');setTimeout(function(){$(".flatpickr-calendar").remove()},2000)
setTimeout(function(){$(".flatpickr-calendar").remove()},1000)
if(!flt.hasClass('elementor-persian-date')){$(".flatpickr-calendar").remove();$('#flatpickr-css').remove();$('#flatpickr-js').remove();flt.pDatepicker({format:'YYYY-MM-DD HH:mm',autoClose:!0,timePicker:{enabled:!0},formatter:function(unix){console.log(unix)
let date=new Date(unix);let year=date.getFullYear();let month=('0'+(date.getMonth()+1)).slice(-2);let day=('0'+date.getDate()).slice(-2);let hours=('0'+date.getHours()).slice(-2);let minutes=('0'+date.getMinutes()).slice(-2);let formattedDate=year+'-'+month+'-'+day+' '+hours+':'+minutes;return formattedDate}})}
$(document).on('click','.elementor-persian-datepicker-editor,.elementor-persian-date',function(){$('.flatpickr-calendar').removeClass('open');let options={format:"YYYY-MM-DD",initialValue:!0,autoClose:!0,};if($(this).is('[min]')){let dateString=$(this).attr('min');options.minDate=Date.parse(dateString);console.log(options.minDate)}
if($(this).is('[max]')){let dateString=$(this).attr('max');options.maxDate=Date.parse(dateString);console.log(options.maxDate)}
$(this).pDatepicker(options);$(".flatpickr-calendar").remove();$('#flatpickr-css').remove();$('#flatpickr-js').remove()});let pdatepicker=$('.elementor-persian-date');if(pdatepicker.length){let options={format:"YYYY-MM-DD",initialValue:!0,autoClose:!0,};if(pdatepicker.is('[min]')){let dateString=pdatepicker.attr('min');options.minDate=Date.parse(dateString);console.log(options.minDate)}
if(pdatepicker.is('[max]')){let dateString=pdatepicker.attr('max');options.maxDate=Date.parse(dateString);console.log(options.maxDate)}
pdatepicker.pDatepicker(options);$(".flatpickr-calendar").remove();$('#flatpickr-css').remove();$('#flatpickr-js').remove()}});var pwaforwp_js_obj={"ajax_url":"https:\/\/yadakniro.ir\/wp-admin\/admin-ajax.php","pwa_ms_prefix":"","pwa_home_url":"https:\/\/yadakniro.ir\/","loader_desktop":"0","loader_mobile":"0","loader_admin":"0","user_admin":"","loader_only_pwa":"0","reset_cookies":"0","force_rememberme":"0"};var showLoader=!1;function pwaforwp_play_loader(){var e=!!navigator.userAgent.match(/Version\/[\d\.]+.*Safari/),a=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream;if(e&&a){let l=document.querySelectorAll("a,input,button");for(let t=0;t<l.length;t++)l[t].addEventListener("click",handle_ios_clicks_for_loader);"disabled"!=window.localStorage.getItem("pwaforwp_defaultload")&&(document.getElementsByClassName("pwaforwp-loading-wrapper")&&void 0!==document.getElementsByClassName("pwaforwp-loading-wrapper")[0]&&(document.getElementsByClassName("pwaforwp-loading-wrapper")[0].style.display="flex"),document.getElementById("pwaforwp_loading_div")&&(document.getElementById("pwaforwp_loading_div").style.display="flex"),document.getElementById("pwaforwp_loading_icon")&&(document.getElementById("pwaforwp_loading_icon").style.display="flex"),setInterval(function(){if(document.getElementById("pwaforwp_loading_div")&&(document.getElementById("pwaforwp_loading_div").style.display="none"),document.getElementById("pwaforwp_loading_icon")&&(document.getElementById("pwaforwp_loading_icon").style.display="none"),document.getElementsByClassName("pwaforwp-loading-wrapper")&&document.getElementsByClassName("pwaforwp-loading-wrapper").length){let e=document.getElementsByClassName("pwaforwp-loading-wrapper");for(let a=0;a<e.length;a++)e[a].style.display="none"}},1e3,!0)),window.addEventListener("pagehide",function(){if(document.getElementById("pwaforwp_loading_div")&&(document.getElementById("pwaforwp_loading_div").style.display="none"),document.getElementById("pwaforwp_loading_icon")&&(document.getElementById("pwaforwp_loading_icon").style.display="none"),document.getElementsByClassName("pwaforwp-loading-wrapper")&&document.getElementsByClassName("pwaforwp-loading-wrapper").length){let e=document.getElementsByClassName("pwaforwp-loading-wrapper");for(let a=0;a<e.length;a++)e[a].style.display="none"}}),window.localStorage.setItem("pwaforwp_defaultload","enabled")}else window.addEventListener("beforeunload",function(){document.getElementsByClassName("pwaforwp-loading-wrapper")&&void 0!==document.getElementsByClassName("pwaforwp-loading-wrapper")[0]&&(document.getElementsByClassName("pwaforwp-loading-wrapper")[0].style.display="flex"),document.getElementById("pwaforwp_loading_div")&&(document.getElementById("pwaforwp_loading_div").style.display="flex"),document.getElementById("pwaforwp_loading_icon")&&(document.getElementById("pwaforwp_loading_icon").style.display="flex")}),setInterval(function(){if(document.getElementsByClassName("pwaforwp-loading-wrapper")&&document.getElementsByClassName("pwaforwp-loading-wrapper").length>0)for(var e=document.getElementsByClassName("pwaforwp-loading-wrapper"),a=0;a<e.length;a++)e[a].style.display="none";document.getElementById("pwaforwp_loading_div")&&(document.getElementById("pwaforwp_loading_div").style.display="none"),document.getElementById("pwaforwp_loading_icon")&&(document.getElementById("pwaforwp_loading_icon").style.display="none")},5e3,!0)}pwaforwp_is_mobile()&&"1"==pwaforwp_js_obj.loader_mobile&&screen.availWidth<521&&(console.log(screen.availWidth),pwaforwp_play_loader()),"1"==pwaforwp_js_obj.loader_desktop&&screen.availWidth>520&&pwaforwp_play_loader(),"1"==pwaforwp_js_obj.loader_admin&&"1"==pwaforwp_js_obj.user_admin&&pwaforwp_play_loader(),"1"==pwaforwp_js_obj.loader_only_pwa&&(window.matchMedia("(display-mode: standalone)").matches||window.matchMedia("(display-mode: fullscreen)").matches||window.matchMedia("(display-mode: minimal-ui)").matches)&&pwaforwp_play_loader();var close_btns=document.getElementsByClassName(".pwaforwp_add_home_close");function pwaforwp_is_mobile(){var e=!1;return(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.substr(0,4)))&&(e=!0),e}function handle_ios_clicks_for_loader(e){var a="",l="";a=e.target.getAttribute("href"),l=e.target.getAttribute("type"),(is_valid_url(a)||"submit"==l)&&(window.localStorage.setItem("pwaforwp_defaultload","disabled"),document.getElementsByClassName("pwaforwp-loading-wrapper")&&document.getElementsByClassName("pwaforwp-loading-wrapper").length&&(document.getElementsByClassName("pwaforwp-loading-wrapper")[0].style.display="flex"),document.getElementById("pwaforwp_loading_div")&&(document.getElementById("pwaforwp_loading_div").style.display="flex"),document.getElementById("pwaforwp_loading_icon")&&(document.getElementById("pwaforwp_loading_icon").style.display="flex"))}function is_valid_url(e){return!!RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(e)}close_btns.length&&(close_btns[0].addEventListener("click",function(e){document.cookie="pwaforwp_prompt_close="+new Date,close_btns[0].parentNode.style.display="none"}),0==close_btns[0].offsetWidth&&0==close_btns[0].offsetHeight?document.getElementsByClassName("pwaforwp-sticky-banner").style.display="none":document.getElementsByClassName("pwaforwp-sticky-banner").style.display="block",1==pwaforwp_js_obj.reset_cookies&&(document.cookie="pwaforwp_prompt_close=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;"));setTimeout(()=>{if((window.matchMedia("(display-mode: standalone)").matches||window.matchMedia("(display-mode: fullscreen)").matches||window.matchMedia("(display-mode: minimal-ui)").matches)&&!navigator.onLine){var e;Array.from(document.getElementsByTagName("video")).forEach(function(e){console.log("Each Loop",e);var a,t,i,o=e.src;console.log(o),!0==(a=o,"mp4"===(t=a,i=t.split("."),i[i.length-1]).toLowerCase())&&(e.setAttribute("src",""),e.parentElement.append("<p>MP4 video is not supported in service worker app</p>"))})}},1e3);var pwaforwp_download_js_obj={"force_rememberme":"0"};setTimeout(()=>{(window.matchMedia("(display-mode: standalone)").matches||window.matchMedia("(display-mode: fullscreen)").matches||window.matchMedia("(display-mode: minimal-ui)").matches)&&document.addEventListener("click",function(e){if("A"===e.target.tagName){var t=e.target.attributes.download;if(1==(t?"1":"0")){e.preventDefault();var a=e.target.attributes.href.value;e.target.removeAttribute("href"),e.target.setAttribute("link",a);var r=new XMLHttpRequest;r.open("GET",a,!0),r.responseType="blob",r.onload=function(e){if(200==this.status){var a=this.response,r=document.createElement("a");r.href=window.URL.createObjectURL(a),r.download=t,r.click()}},r.send()}}})},1e3),document.addEventListener("DOMContentLoaded",function(){if(pwaforwp_download_js_obj&&pwaforwp_download_js_obj.hasOwnProperty("force_rememberme")&&1==pwaforwp_download_js_obj.force_rememberme){var e=document.getElementById("rememberme"),t=document.querySelector('[name="rememberme"]');e&&(e.checked=!0),t&&(t.checked=!0)}});var swsource="https://yadakniro.ir/pwa-sw.js";function PWAforwpreadCookie(name){var nameEQ=name+"=";var ca=document.cookie.split(";");for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==" ")c=c.substring(1,c.length);if(c.indexOf(nameEQ)==0)return c.substring(nameEQ.length,c.length)}
return null}
if("serviceWorker" in navigator){window.addEventListener('load',function(){navigator.serviceWorker.register(swsource,{scope:'https://yadakniro.ir/'}).then(function(reg){console.log('Congratulations!!Service Worker Registered ServiceWorker scope: ',reg.scope)}).catch(function(err){console.log('ServiceWorker registration failed: ',err)});var deferredPrompt;window.addEventListener('beforeinstallprompt',(e)=>{deferredPrompt=e;if(deferredPrompt!=null||deferredPrompt!=undefined){var a2hsviashortcode=document.getElementsByClassName("pwaforwp-sticky-banner");var isMobile=/iPhone|iPad|iPod|Android/i.test(navigator.userAgent);if(a2hsviashortcode!==null&&checkbarClosedOrNot()&&(typeof pwa_cta_assets!=='undefined')&&(pwa_cta_assets.a2h_sticky_on_desktop_cta==1||isMobile)){for(var i=0;i<a2hsviashortcode.length;i++){a2hsviashortcode[i].style.display="flex"}}}});function checkbarClosedOrNot(){var closedTime=PWAforwpreadCookie("pwaforwp_prompt_close");if(closedTime){var today=new Date();var closedTime=new Date(closedTime);var diffMs=(today-closedTime);var diffMins=Math.round(((diffMs%86400000)%3600000)/60000);if(diffMs){return!1}}
return!0}
var isSafari=/constructor/i.test(window.HTMLElement)||(function(p){return p.toString()==="[object SafariRemoteNotification]"})(!window.safari||(typeof safari!=='undefined'&&safari.pushNotification));if(isSafari){var a2hsviashortcode=document.getElementsByClassName("pwaforwp-add-via-class");if(a2hsviashortcode!==null){for(var i=0;i<a2hsviashortcode.length;i++){a2hsviashortcode[i].style.display="inline-block"}}
var a2hsviashortcode=document.getElementsByClassName("pwaforwp-sticky-banner");var isMobile=/iPhone|iPad|iPod|Android/i.test(navigator.userAgent);if(a2hsviashortcode!==null&&checkbarClosedOrNot()&&(typeof pwa_cta_assets!=='undefined')&&(pwa_cta_assets.a2h_sticky_on_desktop_cta==1||isMobile)){for(var i=0;i<a2hsviashortcode.length;i++){a2hsviashortcode[i].style.display="flex"}}}
var a2hsviashortcode=document.getElementsByClassName("pwaforwp-add-via-class");if(a2hsviashortcode!==null){for(var i=0;i<a2hsviashortcode.length;i++){a2hsviashortcode[i].addEventListener("click",addToHome)}}
window.addEventListener('appinstalled',(evt)=>{var a2hsviashortcode=document.getElementsByClassName("pwaforwp-add-via-class");if(a2hsviashortcode!==null){for(var i=0;i<a2hsviashortcode.length;i++){a2hsviashortcode[i].style.display="none"}}
var a2hsviashortcode=document.getElementsByClassName("pwaforwp-sticky-banner");if(a2hsviashortcode!==null){for(var i=0;i<a2hsviashortcode.length;i++){a2hsviashortcode[i].style.display="none"}}
var addtohomeBtn=document.getElementById("pwaforwp-add-to-home-click");if(addtohomeBtn!==null){addtohomeBtn.style.display="none"}});function addToHome(){if(!deferredPrompt){return}
deferredPrompt.prompt();deferredPrompt.userChoice.then((choiceResult)=>{if(choiceResult.outcome==="accepted"){document.getElementById("pwaforwp-add-to-home-click").style.display="none";var a2hsviashortcode=document.getElementsByClassName("pwaforwp-add-via-class");if(a2hsviashortcode!==null){for(var i=0;i<a2hsviashortcode.length;i++){a2hsviashortcode[i].style.display="none"}}
var a2hsviashortcode=document.getElementsByClassName("pwaforwp-sticky-banner");if(a2hsviashortcode!==null){for(var i=0;i<a2hsviashortcode.length;i++){a2hsviashortcode[i].style.display="none"}}
console.log("User accepted the prompt")}else{console.log("User dismissed the prompt")}
deferredPrompt=null})}
var offline_message='0'
if(offline_message==1){window.addEventListener("offline",pwaforwpOnNetworkChange)}
function pwaforwpOnNetworkChange(event){if(!navigator.onLine){var a2hsdesk=document.getElementById("pwaforwp-add-to-home-click");if(a2hsdesk!==null){a2hsdesk.style.display="none"}
var html='<style class="pwa-offmsgwrcss">.pwa-offmsgwr{background: #323232;color: #f1f1f1;display: table;position: fixed;box-sizing: border-box;box-shadow: 0 2px 4px 0 #000;bottom: 0;left: 0;width: 100%;font-size: 14px;padding: 0;transition: transform .15s cubic-bezier(.17,.67,.39,.95);transform: translateY(200%);z-index: 1000;will-change: transform;}.pwa-offmsgwr table{margin:0px}.pwa-offmsgwr.active{transform: translateY(0);}.pwa-offmsgwr .tdcl{padding: 15px;}.pwa-offmsgwr .span{display: table-cell;vertical-align: middle;}</style><div class="pwa-offmsgwr active"><table width="100%"><tbody><tr><td class="tdcl"><span>You are currently offline</span></td></tr><tr></tr></tbody></table></div>';if(document.getElementsByClassName('pwa-offmsgwrcss').length==0){document.body.innerHTML+=html}
setTimeout(function(){if(document.getElementsByClassName('pwa-offmsgwrcss').length){document.getElementsByClassName('pwa-offmsgwrcss')[0].remove()}
if(document.getElementsByClassName('pwa-offmsgwr').length){document.getElementsByClassName('pwa-offmsgwr')[0].remove()}},3000)}else{if(document.getElementsByClassName('pwa-offmsgwrcss').length){document.getElementsByClassName('pwa-offmsgwrcss')[0].remove();document.getElementsByClassName('pwa-offmsgwr')[0].remove()}}}
if(window.matchMedia('(display-mode: standalone)').matches){var appContent=document.getElementsByClassName('pwaforwp-app-contents');for(var i=0;i<appContent.length;i++){appContent[i].style.display='block'}}})};/*! elementor-pro - v3.24.0 - 09-10-2024 */
(()=>{"use strict";var e,r,a,n={},c={};function __webpack_require__(e){var r=c[e];if(void 0!==r)return r.exports;var a=c[e]={exports:{}};return n[e].call(a.exports,a,a.exports,__webpack_require__),a.exports}__webpack_require__.m=n,e=[],__webpack_require__.O=(r,a,n,c)=>{if(!a){var i=1/0;for(o=0;o<e.length;o++){for(var[a,n,c]=e[o],t=!0,_=0;_<a.length;_++)(!1&c||i>=c)&&Object.keys(__webpack_require__.O).every((e=>__webpack_require__.O[e](a[_])))?a.splice(_--,1):(t=!1,c<i&&(i=c));if(t){e.splice(o--,1);var b=n();void 0!==b&&(r=b)}}return r}c=c||0;for(var o=e.length;o>0&&e[o-1][2]>c;o--)e[o]=e[o-1];e[o]=[a,n,c]},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce(((r,a)=>(__webpack_require__.f[a](e,r),r)),[])),__webpack_require__.u=e=>635===e?"code-highlight.d86022c8668c4b072592.bundle.min.js":519===e?"video-playlist.af20fd9fd8778929829e.bundle.min.js":375===e?"paypal-button.f4f64e46173f50701949.bundle.min.js":234===e?"52e03298e7f0852c96a1.bundle.min.js":857===e?"stripe-button.61d93594d6b7865f8b3f.bundle.min.js":581===e?"progress-tracker.8cccdda9737c272489fc.bundle.min.js":961===e?"animated-headline.73c41dd605898fe2d075.bundle.min.js":692===e?"media-carousel.afbaabb756a7c18ddb09.bundle.min.js":897===e?"carousel.3620fca501cb18163600.bundle.min.js":416===e?"countdown.0e9e688751d29d07a8d3.bundle.min.js":292===e?"hotspot.fa04300164c35a866a51.bundle.min.js":325===e?"form.a8f0864f4b4fda696ad1.bundle.min.js":543===e?"gallery.572e8a2bca1a0b7e4f42.bundle.min.js":970===e?"lottie.e74a53bfa4c0bd939250.bundle.min.js":334===e?"nav-menu.997320c05a0d163c76e8.bundle.min.js":887===e?"popup.f7b15b2ca565b152bf98.bundle.min.js":535===e?"load-more.376b5bcb2e56386f470e.bundle.min.js":396===e?"posts.aec59265318492b89cb5.bundle.min.js":726===e?"portfolio.4cd5da34009c30cb5d70.bundle.min.js":316===e?"share-buttons.63d984f8c96d1e053bc0.bundle.min.js":829===e?"slides.c0029640cbdb48199471.bundle.min.js":158===e?"social.f215e8a3efafbdbeb7ef.bundle.min.js":404===e?"table-of-contents.1cfda3ead7ac082861dd.bundle.min.js":345===e?"archive-posts.16a93245d08246e5e540.bundle.min.js":798===e?"search-form.b7065999d77832a1b764.bundle.min.js":6===e?"woocommerce-menu-cart.eb61fe086245485310a4.bundle.min.js":80===e?"woocommerce-purchase-summary.3676ccd8c29ef0924b84.bundle.min.js":354===e?"woocommerce-checkout-page.776b4cec45070fe32636.bundle.min.js":4===e?"woocommerce-cart.d0d01530f5be6736b5d2.bundle.min.js":662===e?"woocommerce-my-account.4e940a8b4a52d1c98c5c.bundle.min.js":621===e?"woocommerce-notices.bcee9b5e1c8f65ac7927.bundle.min.js":787===e?"product-add-to-cart.51a22e1fbd8f914ab3d5.bundle.min.js":993===e?"loop.8130a6b4d3121c5aaaae.bundle.min.js":932===e?"loop-carousel.f8067ec0c24b628c786e.bundle.min.js":550===e?"ajax-pagination.2090b5f4906bcda1dcc2.bundle.min.js":727===e?"mega-menu.cd787a5946bfee971978.bundle.min.js":87===e?"mega-menu-stretch-content.480e081cebe071d683e8.bundle.min.js":912===e?"menu-title-keyboard-handler.dff562edd49e93d1658e.bundle.min.js":33===e?"nested-carousel.10dc0cdc82d55919a863.bundle.min.js":225===e?"taxonomy-filter.e839f2be32b7ea832b34.bundle.min.js":579===e?"off-canvas.bc9ebf2aa5a940324b7b.bundle.min.js":1===e?"contact-buttons.5398b922eb2a8fb72fd3.bundle.min.js":61===e?"contact-buttons-var-10.83d4216a4d1a44095e5c.bundle.min.js":249===e?"floating-bars-var-2.6e9b0bce703a2a6f2410.bundle.min.js":440===e?"floating-bars-var-3.e3ae97fbef2242a8b036.bundle.min.js":187===e?"search.9686bb2092445d2ad477.bundle.min.js":void 0,__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},a="elementor-pro:",__webpack_require__.l=(e,n,c,i)=>{if(r[e])r[e].push(n);else{var t,_;if(void 0!==c)for(var b=document.getElementsByTagName("script"),o=0;o<b.length;o++){var d=b[o];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==a+c){t=d;break}}t||(_=!0,(t=document.createElement("script")).charset="utf-8",t.timeout=120,__webpack_require__.nc&&t.setAttribute("nonce",__webpack_require__.nc),t.setAttribute("data-webpack",a+c),t.src=e),r[e]=[n];var onScriptComplete=(a,n)=>{t.onerror=t.onload=null,clearTimeout(u);var c=r[e];if(delete r[e],t.parentNode&&t.parentNode.removeChild(t),c&&c.forEach((e=>e(n))),a)return a(n)},u=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=onScriptComplete.bind(null,t.onerror),t.onload=onScriptComplete.bind(null,t.onload),_&&document.head.appendChild(t)}},(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var r=__webpack_require__.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var a=r.getElementsByTagName("script");if(a.length)for(var n=a.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=a[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})(),(()=>{var e={978:0};__webpack_require__.f.j=(r,a)=>{var n=__webpack_require__.o(e,r)?e[r]:void 0;if(0!==n)if(n)a.push(n[2]);else if(978!=r){var c=new Promise(((a,c)=>n=e[r]=[a,c]));a.push(n[2]=c);var i=__webpack_require__.p+__webpack_require__.u(r),t=new Error;__webpack_require__.l(i,(a=>{if(__webpack_require__.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var c=a&&("load"===a.type?"missing":a.type),i=a&&a.target&&a.target.src;t.message="Loading chunk "+r+" failed.\n("+c+": "+i+")",t.name="ChunkLoadError",t.type=c,t.request=i,n[1](t)}}),"chunk-"+r,r)}else e[r]=0},__webpack_require__.O.j=r=>0===e[r];var webpackJsonpCallback=(r,a)=>{var n,c,[i,t,_]=a,b=0;if(i.some((r=>0!==e[r]))){for(n in t)__webpack_require__.o(t,n)&&(__webpack_require__.m[n]=t[n]);if(_)var o=_(__webpack_require__)}for(r&&r(a);b<i.length;b++)c=i[b],__webpack_require__.o(e,c)&&e[c]&&e[c][0](),e[c]=0;return __webpack_require__.O(o)},r=self.webpackChunkelementor_pro=self.webpackChunkelementor_pro||[];r.forEach(webpackJsonpCallback.bind(null,0)),r.push=webpackJsonpCallback.bind(null,r.push.bind(r))})()})();/*! elementor - v3.24.0 - 09-10-2024 */
(()=>{"use strict";var e,r,_,t,a,i={},n={};function __webpack_require__(e){var r=n[e];if(void 0!==r)return r.exports;var _=n[e]={exports:{}};return i[e].call(_.exports,_,_.exports,__webpack_require__),_.exports}__webpack_require__.m=i,e=[],__webpack_require__.O=(r,_,t,a)=>{if(!_){var i=1/0;for(u=0;u<e.length;u++){for(var[_,t,a]=e[u],n=!0,c=0;c<_.length;c++)(!1&a||i>=a)&&Object.keys(__webpack_require__.O).every((e=>__webpack_require__.O[e](_[c])))?_.splice(c--,1):(n=!1,a<i&&(i=a));if(n){e.splice(u--,1);var o=t();void 0!==o&&(r=o)}}return r}a=a||0;for(var u=e.length;u>0&&e[u-1][2]>a;u--)e[u]=e[u-1];e[u]=[_,t,a]},_=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,__webpack_require__.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var a=Object.create(null);__webpack_require__.r(a);var i={};r=r||[null,_({}),_([]),_(_)];for(var n=2&t&&e;"object"==typeof n&&!~r.indexOf(n);n=_(n))Object.getOwnPropertyNames(n).forEach((r=>i[r]=()=>e[r]));return i.default=()=>e,__webpack_require__.d(a,i),a},__webpack_require__.d=(e,r)=>{for(var _ in r)__webpack_require__.o(r,_)&&!__webpack_require__.o(e,_)&&Object.defineProperty(e,_,{enumerable:!0,get:r[_]})},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce(((r,_)=>(__webpack_require__.f[_](e,r),r)),[])),__webpack_require__.u=e=>723===e?"lightbox.26bf6b6c4232d8789c0e.bundle.min.js":48===e?"text-path.376669dc13ce66a83828.bundle.min.js":209===e?"accordion.8799675460c73eb48972.bundle.min.js":745===e?"alert.cbc2a0fee74ee3ed0419.bundle.min.js":120===e?"counter.02cef29c589e742d4c8c.bundle.min.js":192===e?"progress.985f012a6336ab21cb44.bundle.min.js":520===e?"tabs.c2af5be7f9cb3cdcf3d5.bundle.min.js":181===e?"toggle.31881477c45ff5cf9d4d.bundle.min.js":791===e?"video.78c625e89ab767d621c5.bundle.min.js":268===e?"image-carousel.4455c6362492d9067512.bundle.min.js":357===e?"text-editor.2c35aafbe5bf0e127950.bundle.min.js":52===e?"wp-audio.75f0ced143febb8cd31a.bundle.min.js":413===e?"container.c65a2a923085e1120e75.bundle.min.js":void 0,__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},a="elementor:",__webpack_require__.l=(e,r,_,i)=>{if(t[e])t[e].push(r);else{var n,c;if(void 0!==_)for(var o=document.getElementsByTagName("script"),u=0;u<o.length;u++){var b=o[u];if(b.getAttribute("src")==e||b.getAttribute("data-webpack")==a+_){n=b;break}}n||(c=!0,(n=document.createElement("script")).charset="utf-8",n.timeout=120,__webpack_require__.nc&&n.setAttribute("nonce",__webpack_require__.nc),n.setAttribute("data-webpack",a+_),n.src=e),t[e]=[r];var onScriptComplete=(r,_)=>{n.onerror=n.onload=null,clearTimeout(p);var a=t[e];if(delete t[e],n.parentNode&&n.parentNode.removeChild(n),a&&a.forEach((e=>e(_))),r)return r(_)},p=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=onScriptComplete.bind(null,n.onerror),n.onload=onScriptComplete.bind(null,n.onload),c&&document.head.appendChild(n)}},__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var r=__webpack_require__.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var _=r.getElementsByTagName("script");if(_.length)for(var t=_.length-1;t>-1&&!e;)e=_[t--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})(),(()=>{var e={162:0};__webpack_require__.f.j=(r,_)=>{var t=__webpack_require__.o(e,r)?e[r]:void 0;if(0!==t)if(t)_.push(t[2]);else if(162!=r){var a=new Promise(((_,a)=>t=e[r]=[_,a]));_.push(t[2]=a);var i=__webpack_require__.p+__webpack_require__.u(r),n=new Error;__webpack_require__.l(i,(_=>{if(__webpack_require__.o(e,r)&&(0!==(t=e[r])&&(e[r]=void 0),t)){var a=_&&("load"===_.type?"missing":_.type),i=_&&_.target&&_.target.src;n.message="Loading chunk "+r+" failed.\n("+a+": "+i+")",n.name="ChunkLoadError",n.type=a,n.request=i,t[1](n)}}),"chunk-"+r,r)}else e[r]=0},__webpack_require__.O.j=r=>0===e[r];var webpackJsonpCallback=(r,_)=>{var t,a,[i,n,c]=_,o=0;if(i.some((r=>0!==e[r]))){for(t in n)__webpack_require__.o(n,t)&&(__webpack_require__.m[t]=n[t]);if(c)var u=c(__webpack_require__)}for(r&&r(_);o<i.length;o++)a=i[o],__webpack_require__.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return __webpack_require__.O(u)},r=self.webpackChunkelementor=self.webpackChunkelementor||[];r.forEach(webpackJsonpCallback.bind(null,0)),r.push=webpackJsonpCallback.bind(null,r.push.bind(r))})()})();/*! elementor - v3.24.0 - 09-10-2024 */
(self.webpackChunkelementor=self.webpackChunkelementor||[]).push([[354],{381:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=(e,t)=>{t=Array.isArray(t)?t:[t];for(const n of t)if(e.constructor.name===n.prototype[Symbol.toStringTag])return!0;return!1}},8135:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.ViewModule{getDefaultSettings(){return{selectors:{elements:".elementor-element",nestedDocumentElements:".elementor .elementor-element"},classes:{editMode:"elementor-edit-mode"}}}getDefaultElements(){const e=this.getSettings("selectors");return{$elements:this.$element.find(e.elements).not(this.$element.find(e.nestedDocumentElements))}}getDocumentSettings(e){let t;if(this.isEdit){t={};const e=elementor.settings.page.model;jQuery.each(e.getActiveControls(),(n=>{t[n]=e.attributes[n]}))}else t=this.$element.data("elementor-settings")||{};return this.getItems(t,e)}runElementsHandlers(){this.elements.$elements.each(((e,t)=>setTimeout((()=>elementorFrontend.elementsHandler.runReadyTrigger(t)))))}onInit(){this.$element=this.getSettings("$element"),super.onInit(),this.isEdit=this.$element.hasClass(this.getSettings("classes.editMode")),this.isEdit?elementor.on("document:loaded",(()=>{elementor.settings.page.model.on("change",this.onSettingsChange.bind(this))})):this.runElementsHandlers()}onSettingsChange(){}}t.default=_default},6752:(e,t,n)=>{"use strict";var i=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=i(n(3090));class NestedTitleKeyboardHandler extends s.default{__construct(e){super.__construct(e),this.directionNext="next",this.directionPrevious="previous",this.focusableElementSelector='audio, button, canvas, details, iframe, input, select, summary, textarea, video, [accesskey], [contenteditable], [href], [tabindex]:not([tabindex="-1"])'}getWidgetNumber(){return this.$element.find("> .elementor-widget-container > .e-n-tabs, > .e-n-tabs").attr("data-widget-number")}getDefaultSettings(){return{selectors:{itemTitle:`[id*="e-n-tab-title-${this.getWidgetNumber()}"]`,itemContainer:`[id*="e-n-tab-content-${this.getWidgetNumber()}"]`},ariaAttributes:{titleStateAttribute:"aria-selected",activeTitleSelector:'[aria-selected="true"]'},datasets:{titleIndex:"data-tab-index"},keyDirection:{ArrowLeft:elementorFrontendConfig.is_rtl?this.directionNext:this.directionPrevious,ArrowUp:this.directionPrevious,ArrowRight:elementorFrontendConfig.is_rtl?this.directionPrevious:this.directionNext,ArrowDown:this.directionNext}}}getDefaultElements(){const e=this.getSettings("selectors");return{$itemTitles:this.findElement(e.itemTitle),$itemContainers:this.findElement(e.itemContainer),$focusableContainerElements:this.getFocusableElements(this.findElement(e.itemContainer))}}getFocusableElements(e){return e.find(this.focusableElementSelector).not("[disabled], [inert]")}getKeyDirectionValue(e){const t=this.getSettings("keyDirection")[e.key];return this.directionNext===t?1:-1}getTitleIndex(e){const{titleIndex:t}=this.getSettings("datasets");return e.getAttribute(t)}getTitleFilterSelector(e){const{titleIndex:t}=this.getSettings("datasets");return`[${t}="${e}"]`}getActiveTitleElement(){const e=this.getSettings("ariaAttributes").activeTitleSelector;return this.elements.$itemTitles.filter(e)}onInit(){super.onInit(...arguments)}bindEvents(){this.elements.$itemTitles.on(this.getTitleEvents()),this.elements.$focusableContainerElements.on(this.getContentElementEvents())}unbindEvents(){this.elements.$itemTitles.off(this.getTitleEvents()),this.elements.$focusableContainerElements.children().off(this.getContentElementEvents())}getTitleEvents(){return{keydown:this.handleTitleKeyboardNavigation.bind(this)}}getContentElementEvents(){return{keydown:this.handleContentElementKeyboardNavigation.bind(this)}}isDirectionKey(e){return["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(e.key)}isActivationKey(e){return["Enter"," "].includes(e.key)}handleTitleKeyboardNavigation(e){if(this.isDirectionKey(e)){e.preventDefault();const t=parseInt(this.getTitleIndex(e.currentTarget))||1,n=this.elements.$itemTitles.length,i=this.getTitleIndexFocusUpdated(e,t,n);this.changeTitleFocus(i),e.stopPropagation()}else if(this.isActivationKey(e)){if(e.preventDefault(),this.handeTitleLinkEnterOrSpaceEvent(e))return;const t=this.getTitleIndex(e.currentTarget);elementorFrontend.elements.$window.trigger("elementor/nested-elements/activate-by-keyboard",{widgetId:this.getID(),titleIndex:t})}else"Escape"===e.key&&this.handleTitleEscapeKeyEvents(e)}handeTitleLinkEnterOrSpaceEvent(e){const t="a"===e?.currentTarget?.tagName?.toLowerCase();return!elementorFrontend.isEditMode()&&t&&(e?.currentTarget?.click(),e.stopPropagation()),t}getTitleIndexFocusUpdated(e,t,n){let i=0;switch(e.key){case"Home":i=1;break;case"End":i=n;break;default:const s=this.getKeyDirectionValue(e);i=n<t+s?1:0===t+s?n:t+s}return i}changeTitleFocus(e){const t=this.elements.$itemTitles.filter(this.getTitleFilterSelector(e));this.setTitleTabindex(e),t.trigger("focus")}setTitleTabindex(e){this.elements.$itemTitles.attr("tabindex","-1");this.elements.$itemTitles.filter(this.getTitleFilterSelector(e)).attr("tabindex","0")}handleTitleEscapeKeyEvents(){}handleContentElementKeyboardNavigation(e){"Tab"!==e.key||e.shiftKey?"Escape"===e.key&&(e.preventDefault(),e.stopPropagation(),this.handleContentElementEscapeEvents(e)):this.handleContentElementTabEvents(e)}handleContentElementEscapeEvents(){this.getActiveTitleElement().trigger("focus")}handleContentElementTabEvents(){}}t.default=NestedTitleKeyboardHandler},1292:(e,t,n)=>{"use strict";var i=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=i(n(2821));class CarouselHandlerBase extends s.default{getDefaultSettings(){return{selectors:{carousel:`.${elementorFrontend.config.swiperClass}`,swiperWrapper:".swiper-wrapper",slideContent:".swiper-slide",swiperArrow:".elementor-swiper-button",paginationWrapper:".swiper-pagination",paginationBullet:".swiper-pagination-bullet",paginationBulletWrapper:".swiper-pagination-bullets"}}}getDefaultElements(){const e=this.getSettings("selectors"),t={$swiperContainer:this.$element.find(e.carousel),$swiperWrapper:this.$element.find(e.swiperWrapper),$swiperArrows:this.$element.find(e.swiperArrow),$paginationWrapper:this.$element.find(e.paginationWrapper),$paginationBullets:this.$element.find(e.paginationBullet),$paginationBulletWrapper:this.$element.find(e.paginationBulletWrapper)};return t.$slides=t.$swiperContainer.find(e.slideContent),t}getSwiperSettings(){const e=this.getElementSettings(),t=+e.slides_to_show||3,n=1===t,i=elementorFrontend.config.responsive.activeBreakpoints,s={mobile:1,tablet:n?1:2},r={slidesPerView:t,loop:"yes"===e.infinite,speed:e.speed,handleElementorBreakpoints:!0,breakpoints:{}};let o=t;Object.keys(i).reverse().forEach((t=>{const n=s[t]?s[t]:o;r.breakpoints[i[t].value]={slidesPerView:+e["slides_to_show_"+t]||n,slidesPerGroup:+e["slides_to_scroll_"+t]||1},e.image_spacing_custom&&(r.breakpoints[i[t].value].spaceBetween=this.getSpaceBetween(t)),o=+e["slides_to_show_"+t]||n})),"yes"===e.autoplay&&(r.autoplay={delay:e.autoplay_speed,disableOnInteraction:"yes"===e.pause_on_interaction}),n?(r.effect=e.effect,"fade"===e.effect&&(r.fadeEffect={crossFade:!0})):r.slidesPerGroup=+e.slides_to_scroll||1,e.image_spacing_custom&&(r.spaceBetween=this.getSpaceBetween());const a="arrows"===e.navigation||"both"===e.navigation,l="dots"===e.navigation||"both"===e.navigation||e.pagination;return a&&(r.navigation={prevEl:".elementor-swiper-button-prev",nextEl:".elementor-swiper-button-next"}),l&&(r.pagination={el:`.elementor-element-${this.getID()} .swiper-pagination`,type:e.pagination?e.pagination:"bullets",clickable:!0,renderBullet:(e,t)=>`<span class="${t}" data-bullet-index="${e}" aria-label="${elementorFrontend.config.i18n.a11yCarouselPaginationBulletMessage} ${e+1}"></span>`}),"yes"===e.lazyload&&(r.lazy={loadPrevNext:!0,loadPrevNextAmount:1}),r.a11y={enabled:!0,prevSlideMessage:elementorFrontend.config.i18n.a11yCarouselPrevSlideMessage,nextSlideMessage:elementorFrontend.config.i18n.a11yCarouselNextSlideMessage,firstSlideMessage:elementorFrontend.config.i18n.a11yCarouselFirstSlideMessage,lastSlideMessage:elementorFrontend.config.i18n.a11yCarouselLastSlideMessage},r.on={slideChangeTransitionEnd:()=>{this.a11ySetSlideAriaHidden()},slideChange:()=>{this.a11ySetPaginationTabindex(),this.handleElementHandlers()},init:()=>{this.a11ySetWidgetAriaDetails(),this.a11ySetPaginationTabindex(),this.a11ySetSlideAriaHidden("initialisation")}},this.applyOffsetSettings(e,r,t),r}getOffsetWidth(){const e=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"offset_width","size",e)||0}applyOffsetSettings(e,t,n){const i=e.offset_sides;if(!(elementorFrontend.isEditMode()&&"NestedCarousel"===this.constructor.name)&&i&&"none"!==i)switch(i){case"right":this.forceSliderToShowNextSlideWhenOnLast(t,n),this.addClassToSwiperContainer("offset-right");break;case"left":this.addClassToSwiperContainer("offset-left");break;case"both":this.forceSliderToShowNextSlideWhenOnLast(t,n),this.addClassToSwiperContainer("offset-both")}}forceSliderToShowNextSlideWhenOnLast(e,t){e.slidesPerView=t+.001}addClassToSwiperContainer(e){this.getDefaultElements().$swiperContainer[0].classList.add(e)}async onInit(){if(super.onInit(...arguments),!this.elements.$swiperContainer.length||2>this.elements.$slides.length)return;await this.initSwiper();"yes"===this.getElementSettings().pause_on_hover&&this.togglePauseOnHover(!0)}async initSwiper(){const e=elementorFrontend.utils.swiper;this.swiper=await new e(this.elements.$swiperContainer,this.getSwiperSettings()),this.elements.$swiperContainer.data("swiper",this.swiper)}bindEvents(){this.elements.$swiperArrows.on("keydown",this.onDirectionArrowKeydown.bind(this)),this.elements.$paginationWrapper.on("keydown",".swiper-pagination-bullet",this.onDirectionArrowKeydown.bind(this)),this.elements.$swiperContainer.on("keydown",".swiper-slide",this.onDirectionArrowKeydown.bind(this)),this.$element.find(":focusable").on("focus",this.onFocusDisableAutoplay.bind(this)),elementorFrontend.elements.$window.on("resize",this.getSwiperSettings.bind(this))}unbindEvents(){this.elements.$swiperArrows.off(),this.elements.$paginationWrapper.off(),this.elements.$swiperContainer.off(),this.$element.find(":focusable").off(),elementorFrontend.elements.$window.off("resize")}onDirectionArrowKeydown(e){const t=elementorFrontend.config.is_rtl,n=e.originalEvent.code,i=t?"ArrowLeft":"ArrowRight";if(!(-1!==["ArrowLeft","ArrowRight"].indexOf(n)))return!0;(t?"ArrowRight":"ArrowLeft")===n?this.swiper.slidePrev():i===n&&this.swiper.slideNext()}onFocusDisableAutoplay(){this.swiper.autoplay.stop()}updateSwiperOption(e){const t=this.getElementSettings()[e],n=this.swiper.params;switch(e){case"autoplay_speed":n.autoplay.delay=t;break;case"speed":n.speed=t}this.swiper.update()}getChangeableProperties(){return{pause_on_hover:"pauseOnHover",autoplay_speed:"delay",speed:"speed",arrows_position:"arrows_position"}}onElementChange(e){if(0===e.indexOf("image_spacing_custom"))return void this.updateSpaceBetween(e);if(this.getChangeableProperties()[e])if("pause_on_hover"===e){const e=this.getElementSettings("pause_on_hover");this.togglePauseOnHover("yes"===e)}else this.updateSwiperOption(e)}onEditSettingsChange(e){"activeItemIndex"===e&&this.swiper.slideToLoop(this.getEditSettings("activeItemIndex")-1)}getSpaceBetween(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"image_spacing_custom","size",e)||0}updateSpaceBetween(e){const t=e.match("image_spacing_custom_(.*)"),n=t?t[1]:"desktop",i=this.getSpaceBetween(n);"desktop"!==n&&(this.swiper.params.breakpoints[elementorFrontend.config.responsive.activeBreakpoints[n].value].spaceBetween=i),this.swiper.params.spaceBetween=i,this.swiper.update()}getPaginationBullets(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"array";const t=this.$element.find(this.getSettings("selectors").paginationBullet);return"array"===e?Array.from(t):t}a11ySetWidgetAriaDetails(){const e=this.$element;e.attr("aria-roledescription","carousel"),e.attr("aria-label",elementorFrontend.config.i18n.a11yCarouselWrapperAriaLabel)}a11ySetPaginationTabindex(){const e=this.swiper?.params?.pagination.bulletClass,t=this.swiper?.params?.pagination.bulletActiveClass;this.getPaginationBullets().forEach((e=>{e.classList?.contains(t)||e.removeAttribute("tabindex")}));const n="ArrowLeft"===event?.code||"ArrowRight"===event?.code;event?.target?.classList?.contains(e)&&n&&this.$element.find(`.${t}`).trigger("focus")}getSwiperWrapperTranformXValue(){let e=this.elements.$swiperWrapper[0]?.style.transform;return e=e.replace("translate3d(",""),e=e.split(","),e=parseInt(e[0].replace("px","")),e||0}a11ySetSlideAriaHidden(){if("number"!=typeof("initialisation"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"")?0:this.swiper?.activeIndex))return;const e=this.getSwiperWrapperTranformXValue(),t=this.elements.$swiperWrapper[0].clientWidth;this.elements.$swiperContainer.find(this.getSettings("selectors").slideContent).each(((n,i)=>{0<=i.offsetLeft+e&&t>i.offsetLeft+e?(i.removeAttribute("aria-hidden"),i.removeAttribute("inert")):(i.setAttribute("aria-hidden",!0),i.setAttribute("inert",""))}))}handleElementHandlers(){}}t.default=CarouselHandlerBase},2821:(e,t,n)=>{"use strict";var i=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=i(n(3090));class SwiperHandlerBase extends s.default{getInitialSlide(){const e=this.getEditSettings();return e.activeItemIndex?e.activeItemIndex-1:0}getSlidesCount(){return this.elements.$slides.length}togglePauseOnHover(e){e?this.elements.$swiperContainer.on({mouseenter:()=>{this.swiper.autoplay.stop()},mouseleave:()=>{this.swiper.autoplay.start()}}):this.elements.$swiperContainer.off("mouseenter mouseleave")}handleKenBurns(){const e=this.getSettings();this.$activeImageBg&&this.$activeImageBg.removeClass(e.classes.kenBurnsActive),this.activeItemIndex=this.swiper?this.swiper.activeIndex:this.getInitialSlide(),this.swiper?this.$activeImageBg=jQuery(this.swiper.slides[this.activeItemIndex]).children("."+e.classes.slideBackground):this.$activeImageBg=jQuery(this.elements.$slides[0]).children("."+e.classes.slideBackground),this.$activeImageBg.addClass(e.classes.kenBurnsActive)}}t.default=SwiperHandlerBase},3090:e=>{"use strict";e.exports=elementorModules.ViewModule.extend({$element:null,editorListeners:null,onElementChange:null,onEditSettingsChange:null,onPageSettingsChange:null,isEdit:null,__construct(e){this.isActive(e)&&(this.$element=e.$element,this.isEdit=this.$element.hasClass("elementor-element-edit-mode"),this.isEdit&&this.addEditorListeners())},isActive:()=>!0,isElementInTheCurrentDocument(){return!!elementorFrontend.isEditMode()&&elementor.documents.currentDocument.id.toString()===this.$element[0].closest(".elementor").dataset.elementorId},findElement(e){var t=this.$element;return t.find(e).filter((function(){return jQuery(this).parent().closest(".elementor-element").is(t)}))},getUniqueHandlerID(e,t){return e||(e=this.getModelCID()),t||(t=this.$element),e+t.attr("data-element_type")+this.getConstructorID()},initEditorListeners(){var e=this;if(e.editorListeners=[{event:"element:destroy",to:elementor.channels.data,callback(t){t.cid===e.getModelCID()&&e.onDestroy()}}],e.onElementChange){const t=e.getWidgetType()||e.getElementType();let n="change";"global"!==t&&(n+=":"+t),e.editorListeners.push({event:n,to:elementor.channels.editor,callback(t,n){e.getUniqueHandlerID(n.model.cid,n.$el)===e.getUniqueHandlerID()&&e.onElementChange(t.model.get("name"),t,n)}})}e.onEditSettingsChange&&e.editorListeners.push({event:"change:editSettings",to:elementor.channels.editor,callback(t,n){if(n.model.cid!==e.getModelCID())return;const i=Object.keys(t.changed)[0];e.onEditSettingsChange(i,t.changed[i])}}),["page"].forEach((function(t){var n="on"+t[0].toUpperCase()+t.slice(1)+"SettingsChange";e[n]&&e.editorListeners.push({event:"change",to:elementor.settings[t].model,callback(t){e[n](t.changed)}})}))},getEditorListeners(){return this.editorListeners||this.initEditorListeners(),this.editorListeners},addEditorListeners(){var e=this.getUniqueHandlerID();this.getEditorListeners().forEach((function(t){elementorFrontend.addListenerOnce(e,t.event,t.callback,t.to)}))},removeEditorListeners(){var e=this.getUniqueHandlerID();this.getEditorListeners().forEach((function(t){elementorFrontend.removeListeners(e,t.event,null,t.to)}))},getElementType(){return this.$element.data("element_type")},getWidgetType(){const e=this.$element.data("widget_type");if(e)return e.split(".")[0]},getID(){return this.$element.data("id")},getModelCID(){return this.$element.data("model-cid")},getElementSettings(e){let t={};const n=this.getModelCID();if(this.isEdit&&n){const e=elementorFrontend.config.elements.data[n],i=e.attributes;let s=i.widgetType||i.elType;i.isInner&&(s="inner-"+s);let r=elementorFrontend.config.elements.keys[s];r||(r=elementorFrontend.config.elements.keys[s]=[],jQuery.each(e.controls,((e,t)=>{(t.frontend_available||t.editor_available)&&r.push(e)}))),jQuery.each(e.getActiveControls(),(function(e){if(-1!==r.indexOf(e)){let n=i[e];n.toJSON&&(n=n.toJSON()),t[e]=n}}))}else t=this.$element.data("settings")||{};return this.getItems(t,e)},getEditSettings(e){var t={};return this.isEdit&&(t=elementorFrontend.config.elements.editSettings[this.getModelCID()].attributes),this.getItems(t,e)},getCurrentDeviceSetting(e){return elementorFrontend.getCurrentDeviceSetting(this.getElementSettings(),e)},onInit(){this.isActive(this.getSettings())&&elementorModules.ViewModule.prototype.onInit.apply(this,arguments)},onDestroy(){this.isEdit&&this.removeEditorListeners(),this.unbindEvents&&this.unbindEvents()}})},2263:(e,t,n)=>{"use strict";var i=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=i(n(3090));class StretchedElement extends s.default{getStretchedClass(){return"e-stretched"}getStretchSettingName(){return"stretch_element"}getStretchActiveValue(){return"yes"}bindEvents(){const e=this.getUniqueHandlerID();elementorFrontend.addListenerOnce(e,"resize",this.stretch),elementorFrontend.addListenerOnce(e,"sticky:stick",this.stretch,this.$element),elementorFrontend.addListenerOnce(e,"sticky:unstick",this.stretch,this.$element),elementorFrontend.isEditMode()&&(this.onKitChangeStretchContainerChange=this.onKitChangeStretchContainerChange.bind(this),elementor.channels.editor.on("kit:change:stretchContainer",this.onKitChangeStretchContainerChange))}unbindEvents(){elementorFrontend.removeListeners(this.getUniqueHandlerID(),"resize",this.stretch),elementorFrontend.isEditMode()&&elementor.channels.editor.off("kit:change:stretchContainer",this.onKitChangeStretchContainerChange)}isActive(e){return elementorFrontend.isEditMode()||e.$element.hasClass(this.getStretchedClass())}getStretchElementForConfig(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e?this.$element.find(e):this.$element}getStretchElementConfig(){return{element:this.getStretchElementForConfig(),selectors:{container:this.getStretchContainer()},considerScrollbar:elementorFrontend.isEditMode()&&elementorFrontend.config.is_rtl}}initStretch(){this.stretch=this.stretch.bind(this),this.stretchElement=new elementorModules.frontend.tools.StretchElement(this.getStretchElementConfig())}getStretchContainer(){return elementorFrontend.getKitSettings("stretched_section_container")||window}isStretchSettingEnabled(){return this.getElementSettings(this.getStretchSettingName())===this.getStretchActiveValue()}stretch(){this.isStretchSettingEnabled()&&this.stretchElement.stretch()}onInit(){this.isActive(this.getSettings())&&(this.initStretch(),super.onInit(...arguments),this.stretch())}onElementChange(e){this.getStretchSettingName()===e&&(this.isStretchSettingEnabled()?this.stretch():this.stretchElement.reset())}onKitChangeStretchContainerChange(){this.stretchElement.setSettings("selectors.container",this.getStretchContainer()),this.stretch()}}t.default=StretchedElement},6412:(e,t,n)=>{"use strict";var i=n(3203),s=i(n(5955)),r=i(n(8135)),o=i(n(5658)),a=i(n(2263)),l=i(n(3090)),c=i(n(2821)),d=i(n(1292)),u=i(n(7323)),h=i(n(32)),m=i(n(5877)),g=i(n(7712)),p=i(n(6752));s.default.frontend={Document:r.default,tools:{StretchElement:o.default},handlers:{Base:l.default,StretchedElement:a.default,SwiperBase:c.default,CarouselBase:d.default,NestedTabs:u.default,NestedAccordion:h.default,NestedTitleKeyboardHandler:p.default,ContactButtonsHandler:m.default,FloatingBarsHandler:g.default}}},5658:e=>{"use strict";e.exports=elementorModules.ViewModule.extend({getDefaultSettings:()=>({element:null,direction:elementorFrontend.config.is_rtl?"right":"left",selectors:{container:window},considerScrollbar:!1,cssOutput:"inline"}),getDefaultElements(){return{$element:jQuery(this.getSettings("element"))}},stretch(){const e=this.getSettings();let t;try{t=jQuery(e.selectors.container)}catch(e){}t&&t.length||(t=jQuery(this.getDefaultSettings().selectors.container)),this.reset();var n=this.elements.$element,i=t.innerWidth(),s=n.offset().left,r="fixed"===n.css("position"),o=r?0:s,a=window===t[0];if(!a){var l=t.offset().left;r&&(o=l),s>l&&(o=s-l)}if(e.considerScrollbar&&a){o-=window.innerWidth-i}r||(elementorFrontend.config.is_rtl&&(o=i-(n.outerWidth()+o)),o=-o),e.margin&&(o+=e.margin);var c={};let d=i;e.margin&&(d-=2*e.margin),c.width=d+"px",c[e.direction]=o+"px","variables"!==e.cssOutput?n.css(c):this.applyCssVariables(n,c)},reset(){const e={},t=this.getSettings(),n=this.elements.$element;"variables"!==t.cssOutput?(e.width="",e[t.direction]="",n.css(e)):this.resetCssVariables(n)},applyCssVariables(e,t){e.css("--stretch-width",t.width),t.left?e.css("--stretch-left",t.left):e.css("--stretch-right",t.right)},resetCssVariables(e){e.css({"--stretch-width":"","--stretch-left":"","--stretch-right":""})}})},6630:(e,t)=>{"use strict";function getChildrenWidth(e){let t=0;const n=e[0].parentNode,i=getComputedStyle(n),s=parseFloat(i.gap)||0;for(let n=0;n<e.length;n++)t+=e[n].offsetWidth+s;return t}Object.defineProperty(t,"__esModule",{value:!0}),t.changeScrollStatus=function changeScrollStatus(e,t){"mousedown"===t.type?(e.classList.add("e-scroll"),e.dataset.pageX=t.pageX):(e.classList.remove("e-scroll","e-scroll-active"),e.dataset.pageX="")},t.setHorizontalScrollAlignment=function setHorizontalScrollAlignment(e){let{element:t,direction:n,justifyCSSVariable:i,horizontalScrollStatus:s}=e;if(!t)return;!function isHorizontalScroll(e,t){return e.clientWidth<getChildrenWidth(e.children)&&"enable"===t}(t,s)?t.style.setProperty(i,""):function initialScrollPosition(e,t,n){const i=elementorFrontend.config.is_rtl;if("end"===t)e.style.setProperty(n,"start"),e.scrollLeft=i?-1*getChildrenWidth(e.children):getChildrenWidth(e.children);else e.style.setProperty(n,"start"),e.scrollLeft=0}(t,n,i)},t.setHorizontalTitleScrollValues=function setHorizontalTitleScrollValues(e,t,n){const i=e.classList.contains("e-scroll"),s="enable"===t,r=e.scrollWidth>e.clientWidth;if(!i||!s||!r)return;n.preventDefault();const o=parseFloat(e.dataset.pageX),a=n.pageX-o;let l=0;l=20<a?5:-20>a?-5:a;e.scrollLeft=e.scrollLeft-l,e.classList.add("e-scroll-active")}},2618:(e,t,n)=>{"use strict";var i=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(740);var s=i(n(7597)),r=i(n(381));class ArgsObject extends s.default{static getInstanceType(){return"ArgsObject"}constructor(e){super(),this.args=e}requireArgument(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.args;if(!Object.prototype.hasOwnProperty.call(t,e))throw Error(`${e} is required.`)}requireArgumentType(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(e,n),typeof n[e]!==t)throw Error(`${e} invalid type: ${t}.`)}requireArgumentInstance(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(e,n),!(n[e]instanceof t||(0,r.default)(n[e],t)))throw Error(`${e} invalid instance.`)}requireArgumentConstructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(e,n),n[e].constructor.toString()!==t.prototype.constructor.toString())throw Error(`${e} invalid constructor type.`)}}t.default=ArgsObject},869:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ForceMethodImplementation=void 0,n(740);class ForceMethodImplementation extends Error{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(`${e.isStatic?"static ":""}${e.fullName}() should be implemented, please provide '${e.functionName||e.fullName}' functionality.`,t),Object.keys(t).length&&console.error(t),Error.captureStackTrace(this,ForceMethodImplementation)}}t.ForceMethodImplementation=ForceMethodImplementation;t.default=e=>{const t=Error().stack.split("\n")[2].trim(),n=t.startsWith("at new")?"constructor":t.split(" ")[1],i={};if(i.functionName=n,i.fullName=n,i.functionName.includes(".")){const e=i.functionName.split(".");i.className=e[0],i.functionName=e[1]}else i.isStatic=!0;throw new ForceMethodImplementation(i,e)}},7597:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class InstanceType{static[Symbol.hasInstance](e){let t=super[Symbol.hasInstance](e);if(e&&!e.constructor.getInstanceType)return t;if(e&&(e.instanceTypes||(e.instanceTypes=[]),t||this.getInstanceType()===e.constructor.getInstanceType()&&(t=!0),t)){const t=this.getInstanceType===InstanceType.getInstanceType?"BaseInstanceType":this.getInstanceType();-1===e.instanceTypes.indexOf(t)&&e.instanceTypes.push(t)}return!t&&e&&(t=e.instanceTypes&&Array.isArray(e.instanceTypes)&&-1!==e.instanceTypes.indexOf(this.getInstanceType())),t}static getInstanceType(){elementorModules.ForceMethodImplementation()}constructor(){let e=new.target;const t=[];for(;e.__proto__&&e.__proto__.name;)t.push(e.__proto__),e=e.__proto__;t.reverse().forEach((e=>this instanceof e))}}t.default=InstanceType},1192:(e,t,n)=>{"use strict";n(740);const Module=function(){const e=jQuery,t=arguments,n=this,i={};let s;this.getItems=function(e,t){if(t){const n=t.split("."),i=n.splice(0,1);if(!n.length)return e[i];if(!e[i])return;return this.getItems(e[i],n.join("."))}return e},this.getSettings=function(e){return this.getItems(s,e)},this.setSettings=function(t,i,r){if(r||(r=s),"object"==typeof t)return e.extend(r,t),n;const o=t.split("."),a=o.splice(0,1);return o.length?(r[a]||(r[a]={}),n.setSettings(o.join("."),i,r[a])):(r[a]=i,n)},this.getErrorMessage=function(e,t){let n;if("forceMethodImplementation"===e)n=`The method '${t}' must to be implemented in the inheritor child.`;else n="An error occurs";return n},this.forceMethodImplementation=function(e){throw new Error(this.getErrorMessage("forceMethodImplementation",e))},this.on=function(t,s){if("object"==typeof t)return e.each(t,(function(e){n.on(e,this)})),n;return t.split(" ").forEach((function(e){i[e]||(i[e]=[]),i[e].push(s)})),n},this.off=function(e,t){if(!i[e])return n;if(!t)return delete i[e],n;const s=i[e].indexOf(t);return-1!==s&&(delete i[e][s],i[e]=i[e].filter((e=>e))),n},this.trigger=function(t){const s="on"+t[0].toUpperCase()+t.slice(1),r=Array.prototype.slice.call(arguments,1);n[s]&&n[s].apply(n,r);const o=i[t];return o?(e.each(o,(function(e,t){t.apply(n,r)})),n):n},n.__construct.apply(n,t),e.each(n,(function(e){const t=n[e];"function"==typeof t&&(n[e]=function(){return t.apply(n,arguments)})})),function(){s=n.getDefaultSettings();const i=t[0];i&&e.extend(!0,s,i)}(),n.trigger("init")};Module.prototype.__construct=function(){},Module.prototype.getDefaultSettings=function(){return{}},Module.prototype.getConstructorID=function(){return this.constructor.name},Module.extend=function(e){const t=jQuery,n=this,child=function(){return n.apply(this,arguments)};return t.extend(child,n),(child.prototype=Object.create(t.extend({},n.prototype,e))).constructor=child,child.__super__=n.prototype,child},e.exports=Module},6516:(e,t,n)=>{"use strict";var i=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=i(n(2640)).default.extend({getDefaultSettings:()=>({container:null,items:null,columnsCount:3,verticalSpaceBetween:30}),getDefaultElements(){return{$container:jQuery(this.getSettings("container")),$items:jQuery(this.getSettings("items"))}},run(){var e=[],t=this.elements.$container.position().top,n=this.getSettings(),i=n.columnsCount;t+=parseInt(this.elements.$container.css("margin-top"),10),this.elements.$items.each((function(s){var r=Math.floor(s/i),o=jQuery(this),a=o[0].getBoundingClientRect().height+n.verticalSpaceBetween;if(r){var l=o.position(),c=s%i,d=l.top-t-e[c];d-=parseInt(o.css("margin-top"),10),d*=-1,o.css("margin-top",d+"px"),e[c]+=a}else e.push(a)}))}});t.default=s},400:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class Scroll{static scrollObserver(e){let t=0;const n={root:e.root||null,rootMargin:e.offset||"0px",threshold:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const t=[];if(e>0&&e<=100){const n=100/e;for(let e=0;e<=100;e+=n)t.push(e/100)}else t.push(0);return t}(e.sensitivity)};return new IntersectionObserver((function handleIntersect(n){const i=n[0].boundingClientRect.y,s=n[0].isIntersecting,r=i<t?"down":"up",o=Math.abs(parseFloat((100*n[0].intersectionRatio).toFixed(2)));e.callback({sensitivity:e.sensitivity,isInViewport:s,scrollPercentage:o,intersectionScrollDirection:r}),t=i}),n)}static getElementViewportPercentage(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=e[0].getBoundingClientRect(),i=t.start||0,s=t.end||0,r=window.innerHeight*i/100,o=window.innerHeight*s/100,a=n.top-window.innerHeight,l=0-a+r,c=n.top+r+e.height()-a+o,d=Math.max(0,Math.min(l/c,1));return parseFloat((100*d).toFixed(2))}static getPageScrollPercentage(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const n=e.start||0,i=e.end||0,s=t||document.documentElement.scrollHeight-document.documentElement.clientHeight,r=s*n/100,o=s+r+s*i/100;return(document.documentElement.scrollTop+document.body.scrollTop+r)/o*100}}},2640:(e,t,n)=>{"use strict";var i=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=i(n(1192)).default.extend({elements:null,getDefaultElements:()=>({}),bindEvents(){},onInit(){this.initElements(),this.bindEvents()},initElements(){this.elements=this.getDefaultElements()}});t.default=s},5955:(e,t,n)=>{"use strict";var i=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=i(n(1192)),r=i(n(2640)),o=i(n(2618)),a=i(n(6516)),l=i(n(400)),c=i(n(869)),d=window.elementorModules={Module:s.default,ViewModule:r.default,ArgsObject:o.default,ForceMethodImplementation:c.default,utils:{Masonry:a.default,Scroll:l.default}};t.default=d},9509:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class FloatingBarDomHelper{constructor(e){this.$element=e}maybeMoveToTop(){const e=this.$element[0],t=e.querySelector(".e-floating-bars");if(elementorFrontend.isEditMode())t.classList.add("is-sticky");else if(e.dataset.widget_type.startsWith("floating-bars")&&t.classList.contains("has-vertical-position-top")&&!t.classList.contains("is-sticky")){const t=document.getElementById("wpadminbar"),n=e.closest(".elementor");t?t.after(n):document.body.prepend(n)}}}},7712:(e,t,n)=>{"use strict";var i=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=i(n(3090)),r=i(n(9509)),o=i(n(4380));class FloatingBarsHandler extends s.default{getDefaultSettings(){return{selectors:{main:".e-floating-bars",closeButton:".e-floating-bars__close-button",ctaButton:".e-floating-bars__cta-button"},constants:{ctaEntranceAnimation:"style_cta_button_animation",ctaEntranceAnimationDelay:"style_cta_button_animation_delay",hasEntranceAnimation:"has-entrance-animation",visible:"visible",isSticky:"is-sticky",hasVerticalPositionTop:"has-vertical-position-top",hasVerticalPositionBottom:"has-vertical-position-bottom",isHidden:"is-hidden",animated:"animated"}}}getDefaultElements(){const e=this.getSettings("selectors");return{main:this.$element[0].querySelector(e.main),mainAll:this.$element[0].querySelectorAll(e.main),closeButton:this.$element[0].querySelector(e.closeButton),ctaButton:this.$element[0].querySelector(e.ctaButton)}}onElementChange(e){["advanced_vertical_position"].includes(e)&&this.initDefaultState()}getResponsiveSetting(e){const t=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),e,"",t)}bindEvents(){this.elements.closeButton&&this.elements.closeButton.addEventListener("click",this.closeFloatingBar.bind(this)),this.elements.ctaButton&&this.elements.ctaButton.addEventListener("animationend",this.handleAnimationEnd.bind(this)),this.elements.main&&window.addEventListener("keyup",this.onDocumentKeyup.bind(this)),this.hasStickyElements()&&window.addEventListener("resize",this.handleStickyElements.bind(this))}isStickyTop(){const{isSticky:e,hasVerticalPositionTop:t}=this.getSettings("constants");return this.elements.main.classList.contains(e)&&this.elements.main.classList.contains(t)}isStickyBottom(){const{isSticky:e,hasVerticalPositionBottom:t}=this.getSettings("constants");return this.elements.main.classList.contains(e)&&this.elements.main.classList.contains(t)}hasStickyElements(){return document.querySelectorAll(".elementor-sticky").length>0}focusOnLoad(){this.elements.main.setAttribute("tabindex","0"),this.elements.main.focus({focusVisible:!0})}applyBodyPadding(){const e=this.elements.main.offsetHeight;document.body.style.paddingTop=`${e}px`}removeBodyPadding(){document.body.style.paddingTop="0"}handleWPAdminBar(){const e=elementorFrontend.elements.$wpAdminBar;e.length&&(this.elements.main.style.top=`${e.height()}px`)}handleStickyElements(){const e=this.elements.main.offsetHeight,t=elementorFrontend.elements.$wpAdminBar,n=document.querySelectorAll(".elementor-sticky:not(.elementor-sticky__spacer)");0!==n.length&&(n.forEach((n=>{const i=n.getAttribute("data-settings"),s=JSON.parse(i)?.sticky,r="0px"===n.style.top||"top"===s,o="0px"===n.style.bottom||"bottom"===s;this.isStickyTop()&&r?t.length?n.style.top=`${e+t.height()}px`:n.style.top=`${e}px`:this.isStickyBottom()&&o&&(n.style.bottom=`${e}px`),elementorFrontend.isEditMode()&&(r?n.style.top=this.isStickyTop()?`${e}px`:"0px":o&&(n.style.bottom=this.isStickyBottom()?`${e}px`:"0px"))})),document.querySelectorAll(".elementor-sticky__spacer").forEach((t=>{const n=t.getAttribute("data-settings"),i=JSON.parse(n)?.sticky,s="0px"===t.style.top||"top"===i;this.isStickyTop()&&s&&(t.style.marginBottom=`${e}px`)})))}closeFloatingBar(){const{isHidden:e}=this.getSettings("constants");elementorFrontend.isEditMode()||(this.elements.main.classList.add(e),this.hasStickyElements()?this.handleStickyElements():this.isStickyTop()&&this.removeBodyPadding())}initEntranceAnimation(){const{animated:e,ctaEntranceAnimation:t,ctaEntranceAnimationDelay:n,hasEntranceAnimation:i}=this.getSettings("constants"),s=this.getResponsiveSetting(t),r=(this.getResponsiveSetting(n)||0)+500;this.elements.ctaButton.classList.add(e),this.elements.ctaButton.classList.add(s),setTimeout((()=>{this.elements.ctaButton.classList.remove(i)}),r)}handleAnimationEnd(){this.removeEntranceAnimationClasses(),this.focusOnLoad()}removeEntranceAnimationClasses(){if(!this.elements.ctaButton)return;const{animated:e,ctaEntranceAnimation:t,visible:n}=this.getSettings("constants"),i=this.getResponsiveSetting(t);this.elements.ctaButton.classList.remove(e),this.elements.ctaButton.classList.remove(i),this.elements.ctaButton.classList.add(n)}onDocumentKeyup(e){27===e.keyCode&&this.elements.main&&this.elements.main.contains(document.activeElement)&&this.closeFloatingBar()}initDefaultState(){const{hasEntranceAnimation:e}=this.getSettings("constants");this.isStickyTop()&&this.handleWPAdminBar(),this.hasStickyElements()?this.handleStickyElements():this.isStickyTop()&&this.applyBodyPadding(),!this.elements.main||this.elements.ctaButton.classList.contains(e)||elementorFrontend.isEditMode()||this.focusOnLoad()}setupInnerContainer(){this.elements.main.closest(".e-con-inner").classList.add("e-con-inner--floating-bars"),this.elements.main.closest(".e-con").classList.add("e-con--floating-bars")}onInit(){const{hasEntranceAnimation:e}=this.getSettings("constants");super.onInit(...arguments),this.clickTrackingHandler=new o.default({$element:this.$element});new r.default(this.$element).maybeMoveToTop(),this.elements.ctaButton&&this.elements.ctaButton.classList.contains(e)&&this.initEntranceAnimation(),this.initDefaultState(),this.setupInnerContainer()}}t.default=FloatingBarsHandler},5877:(e,t,n)=>{"use strict";var i=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=i(n(3090)),r=i(n(4380));class ContactButtonsHandler extends s.default{getDefaultSettings(){return{selectors:{main:".e-contact-buttons",content:".e-contact-buttons__content",contentWrapper:".e-contact-buttons__content-wrapper",chatButton:".e-contact-buttons__chat-button",closeButton:".e-contact-buttons__close-button",messageBubbleTime:".e-contact-buttons__message-bubble-time"},constants:{entranceAnimation:"style_chat_box_entrance_animation",exitAnimation:"style_chat_box_exit_animation",chatButtonAnimation:"style_chat_button_animation",animated:"animated",animatedWrapper:"animated-wrapper",visible:"visible",reverse:"reverse",hidden:"hidden",hasAnimations:"has-animations",hasEntranceAnimation:"has-entrance-animation",none:"none"}}}getDefaultElements(){const e=this.getSettings("selectors");return{main:this.$element[0].querySelector(e.main),content:this.$element[0].querySelector(e.content),contentWrapper:this.$element[0].querySelector(e.contentWrapper),chatButton:this.$element[0].querySelector(e.chatButton),closeButton:this.$element[0].querySelector(e.closeButton),messageBubbleTime:this.$element[0].querySelector(e.messageBubbleTime)}}getResponsiveSetting(e){const t=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),e,"",t)}bindEvents(){this.elements.closeButton&&this.elements.closeButton.addEventListener("click",this.closeChatBox.bind(this)),this.elements.chatButton&&(this.elements.chatButton.addEventListener("click",this.onChatButtonClick.bind(this)),this.elements.chatButton.addEventListener("animationend",this.removeChatButtonAnimationClasses.bind(this))),this.elements.content&&this.elements.content.addEventListener("animationend",this.removeAnimationClasses.bind(this)),this.elements.contentWrapper&&window.addEventListener("keyup",this.onDocumentKeyup.bind(this))}contentWrapperIsHidden(e){if(!this.elements.contentWrapper)return!1;const{hidden:t}=this.getSettings("constants");return!0===e?(this.elements.contentWrapper.classList.add(t),void this.elements.contentWrapper.setAttribute("aria-hidden","true")):!1===e?(this.elements.contentWrapper.classList.remove(t),void this.elements.contentWrapper.setAttribute("aria-hidden","false")):this.elements.contentWrapper.classList.contains(t)}onDocumentKeyup(e){27===e.keyCode&&this.elements.main&&!this.contentWrapperIsHidden()&&this.elements.main.contains(document.activeElement)&&this.closeChatBox()}removeAnimationClasses(){if(!this.elements.content)return;const{reverse:e,entranceAnimation:t,exitAnimation:n,animated:i,visible:s}=this.getSettings("constants"),r=this.elements.content.classList.contains(e),o=this.getResponsiveSetting(t),a=this.getResponsiveSetting(n);r?(this.elements.content.classList.remove(i),this.elements.content.classList.remove(e),a&&this.elements.content.classList.remove(a),this.elements.content.classList.remove(s)):(this.elements.content.classList.remove(i),o&&this.elements.content.classList.remove(o),this.elements.content.classList.add(s))}chatBoxEntranceAnimation(){const{entranceAnimation:e,animated:t,animatedWrapper:n,none:i}=this.getSettings("constants"),s=this.getResponsiveSetting(e);s&&i!==s&&(this.elements.content&&(this.elements.content.classList.add(t),this.elements.content.classList.add(s)),this.elements.contentWrapper&&this.elements.contentWrapper.classList.remove(n))}chatBoxExitAnimation(){const{reverse:e,exitAnimation:t,animated:n,animatedWrapper:i,none:s}=this.getSettings("constants"),r=this.getResponsiveSetting(t);r&&s!==r&&(this.elements.content&&(this.elements.content.classList.add(n),this.elements.content.classList.add(e),this.elements.content.classList.add(r)),this.elements.contentWrapper&&this.elements.contentWrapper.classList.add(i))}openChatBox(){const{hasAnimations:e,visible:t}=this.getSettings("constants");this.elements.main&&this.elements.main.classList.contains(e)?this.chatBoxEntranceAnimation():this.elements.content&&this.elements.content.classList.add(t),this.elements.contentWrapper&&(this.contentWrapperIsHidden(!1),elementorFrontend.isEditMode()||(this.elements.contentWrapper.setAttribute("tabindex","0"),this.elements.contentWrapper.focus({focusVisible:!0}))),this.elements.chatButton&&this.elements.chatButton.setAttribute("aria-expanded","true"),this.elements.closeButton&&this.elements.closeButton.setAttribute("aria-expanded","true")}closeChatBox(){const{hasAnimations:e,visible:t}=this.getSettings("constants");this.elements.main&&this.elements.main.classList.contains(e)?this.chatBoxExitAnimation():this.elements.content&&this.elements.content.classList.remove(t),this.elements.contentWrapper&&this.contentWrapperIsHidden(!0),this.elements.chatButton&&(this.elements.chatButton.setAttribute("aria-expanded","false"),this.elements.chatButton.focus({focusVisible:!0})),this.elements.closeButton&&this.elements.closeButton.setAttribute("aria-expanded","false")}onChatButtonClick(){this.elements.contentWrapper&&this.contentWrapperIsHidden()?this.openChatBox():this.closeChatBox()}initMessageBubbleTime(){if(!this.elements.messageBubbleTime)return;const e="12h"===this.elements.messageBubbleTime.dataset.timeFormat;this.elements.messageBubbleTime.innerHTML=new Intl.DateTimeFormat("default",{hour12:e,hour:"numeric",minute:"numeric"}).format(new Date)}removeChatButtonAnimationClasses(){if(!this.elements.chatButton)return;const{chatButtonAnimation:e,visible:t}=this.getSettings("constants");this.elements.chatButton.classList.remove(e),this.elements.chatButton.classList.add(t)}initChatButtonEntranceAnimation(){const{none:e,chatButtonAnimation:t}=this.getSettings("constants"),n=this.getResponsiveSetting(t);n&&e!==n&&this.elements.chatButton.classList.add(n)}initDefaultState(){if(this.elements.contentWrapper){const e=this.contentWrapperIsHidden();this.elements.chatButton&&this.elements.chatButton.setAttribute("aria-expanded",!e),this.elements.closeButton&&this.elements.closeButton.setAttribute("aria-expanded",!e)}elementorFrontend.isEditMode()&&"floating-buttons"===elementor?.config?.document?.type&&this.openChatBox()}setupInnerContainer(){this.elements.main.closest(".e-con-inner").classList.add("e-con-inner--floating-buttons")}onInit(){const{hasEntranceAnimation:e}=this.getSettings("constants");super.onInit(...arguments),this.clickTrackingHandler=new r.default({$element:this.$element}),this.elements.messageBubbleTime&&this.initMessageBubbleTime(),this.initDefaultState(),this.elements.chatButton&&this.elements.chatButton.classList.contains(e)&&this.initChatButtonEntranceAnimation(),this.setupInnerContainer()}}t.default=ContactButtonsHandler},4380:(e,t,n)=>{"use strict";var i=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=i(n(3231)),r=i(n(3090));class ClickTrackingHandler extends r.default{constructor(){super(...arguments),(0,s.default)(this,"clicks",[])}getDefaultSettings(){return{selectors:{contentWrapper:".e-contact-buttons__content-wrapper",contactButtonCore:".e-contact-buttons__send-button",contentWrapperFloatingBars:".e-floating-bars",floatingBarCTAButton:".e-floating-bars__cta-button",elementorWrapper:'[data-elementor-type="floating-buttons"]'}}}getDefaultElements(){const e=this.getSettings("selectors");return{contentWrapper:this.$element[0].querySelector(e.contentWrapper),contentWrapperFloatingBars:this.$element[0].querySelector(e.contentWrapperFloatingBars)}}bindEvents(){this.elements.contentWrapper&&this.elements.contentWrapper.addEventListener("click",this.onChatButtonTrackClick.bind(this)),this.elements.contentWrapperFloatingBars&&this.elements.contentWrapperFloatingBars.addEventListener("click",this.onChatButtonTrackClick.bind(this)),window.addEventListener("beforeunload",(()=>{this.clicks.length>0&&this.sendClicks()}))}onChatButtonTrackClick(e){const t=e.target||e.srcElement,n=this.getSettings("selectors");(t.matches(n.contactButtonCore)||t.closest(n.contactButtonCore)||t.matches(n.floatingBarCTAButton)||t.closest(n.floatingBarCTAButton))&&this.getDocumentIdAndTrack(t,n)}getDocumentIdAndTrack(e,t){const n=e.closest(t.elementorWrapper).dataset.elementorId;this.trackClick(n)}trackClick(e){e&&(this.clicks.push(e),this.clicks.length>=10&&this.sendClicks())}sendClicks(){const e=new FormData;e.append("action","elementor_send_clicks"),e.append("_nonce",elementorFrontendConfig?.nonces?.floatingButtonsClickTracking),this.clicks.forEach((t=>e.append("clicks[]",t))),fetch(elementorFrontendConfig?.urls?.ajaxurl,{method:"POST",body:e}).then((()=>{this.clicks=[]}))}}t.default=ClickTrackingHandler},7148:(e,t,n)=>{"use strict";var i=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=i(n(6752));class NestedAccordionTitleKeyboardHandler extends s.default{__construct(){super.__construct(...arguments);const e=arguments.length<=0?void 0:arguments[0];this.toggleTitle=e.toggleTitle}getDefaultSettings(){return{...super.getDefaultSettings(),selectors:{itemTitle:".e-n-accordion-item-title",itemContainer:".e-n-accordion-item > .e-con"},ariaAttributes:{titleStateAttribute:"aria-expanded",activeTitleSelector:'[aria-expanded="true"]'},datasets:{titleIndex:"data-accordion-index"}}}handeTitleLinkEnterOrSpaceEvent(e){this.toggleTitle(e)}handleContentElementEscapeEvents(e){this.getActiveTitleElement().trigger("focus"),this.toggleTitle(e)}handleTitleEscapeKeyEvents(e){const t=e?.currentTarget?.parentElement,n=t?.open;n&&this.toggleTitle(e)}}t.default=NestedAccordionTitleKeyboardHandler},32:(e,t,n)=>{"use strict";var i=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=i(n(3090)),r=i(n(7148));class NestedAccordion extends s.default{constructor(){super(...arguments),this.animations=new Map}getDefaultSettings(){return{selectors:{accordion:".e-n-accordion",accordionContentContainers:".e-n-accordion > .e-con",accordionItems:".e-n-accordion-item",accordionItemTitles:".e-n-accordion-item-title",accordionItemTitlesText:".e-n-accordion-item-title-text",accordionContent:".e-n-accordion-item > .e-con",directAccordionItems:":scope > .e-n-accordion-item",directAccordionItemTitles:":scope > .e-n-accordion-item > .e-n-accordion-item-title"},default_state:"expanded",attributes:{index:"data-accordion-index",ariaLabelledBy:"aria-labelledby"}}}getDefaultElements(){const e=this.getSettings("selectors");return{$accordion:this.findElement(e.accordion),$contentContainers:this.findElement(e.accordionContentContainers),$accordionItems:this.findElement(e.accordionItems),$accordionTitles:this.findElement(e.accordionItemTitles),$accordionContent:this.findElement(e.accordionContent)}}onInit(){super.onInit(...arguments),elementorFrontend.isEditMode()&&!elementorCommon.config.experimentalFeatures.e_nested_atomic_repeaters&&this.interlaceContainers(),this.injectKeyboardHandler()}injectKeyboardHandler(){"nested-accordion.default"===this.getSettings("elementName")&&new r.default({$element:this.$element,toggleTitle:this.clickListener.bind(this)})}interlaceContainers(){const{$contentContainers:e,$accordionItems:t}=this.getDefaultElements();e.each(((e,n)=>{t[e].appendChild(n)}))}linkContainer(e){const{container:t,index:n,targetContainer:i,action:{type:s}}=e.detail,r=t.view.$el;if(t.model.get("id")===this.$element.data("id")){const{$accordionItems:e}=this.getDefaultElements();let t,o;switch(s){case"move":[t,o]=this.move(r,n,i,e);break;case"duplicate":[t,o]=this.duplicate(r,n,i,e)}void 0!==t&&t.appendChild(o),this.updateIndexValues(),this.updateListeners(r),elementor.$preview[0].contentWindow.dispatchEvent(new CustomEvent("elementor/elements/link-data-bindings"))}}move(e,t,n,i){return[i[t],n.view.$el[0]]}duplicate(e,t,n,i){return[i[t+1],n.view.$el[0]]}updateIndexValues(){const{$accordionContent:e,$accordionItems:t}=this.getDefaultElements(),n=this.getSettings(),i=t[0].getAttribute("id").slice(0,-1);t.each(((t,s)=>{s.setAttribute("id",`${i}${t}`),s.querySelector(n.selectors.accordionItemTitles).setAttribute(n.attributes.index,t+1),s.querySelector(n.selectors.accordionItemTitles).setAttribute("aria-controls",`${i}${t}`),s.querySelector(n.selectors.accordionItemTitlesText).setAttribute("data-binding-index",t+1),e[t].setAttribute(n.attributes.ariaLabelledBy,`${i}${t}`)}))}updateListeners(e){this.elements.$accordionTitles=e.find(this.getSettings("selectors.accordionItemTitles")),this.elements.$accordionItems=e.find(this.getSettings("selectors.accordionItems")),this.elements.$accordionTitles.on("click",this.clickListener.bind(this))}bindEvents(){this.elements.$accordionTitles.on("click",this.clickListener.bind(this)),elementorFrontend.elements.$window.on("elementor/nested-container/atomic-repeater",this.linkContainer.bind(this))}unbindEvents(){this.elements.$accordionTitles.off()}clickListener(e){e.preventDefault(),this.elements=this.getDefaultElements();const t=this.getSettings(),n=e?.currentTarget?.closest(t.selectors.accordionItems),i=e?.currentTarget?.closest(t.selectors.accordion),s=n.querySelector(t.selectors.accordionItemTitles),r=n.querySelector(t.selectors.accordionContent),{max_items_expended:o}=this.getElementSettings(),a=i.querySelectorAll(t.selectors.directAccordionItems),l=i.querySelectorAll(t.selectors.directAccordionItemTitles);"one"===o&&this.closeAllItems(a,l),n.open?this.closeAccordionItem(n,s):this.prepareOpenAnimation(n,s,r)}animateItem(e,t,n,i){e.style.overflow="hidden";let s=this.animations.get(e);s&&s.cancel(),s=e.animate({height:[t,n]},{duration:this.getAnimationDuration()}),s.onfinish=()=>this.onAnimationFinish(e,i),this.animations.set(e,s),e.querySelector("summary")?.setAttribute("aria-expanded",i)}closeAccordionItem(e,t){const n=`${e.offsetHeight}px`,i=`${t.offsetHeight}px`;this.animateItem(e,n,i,!1)}prepareOpenAnimation(e,t,n){e.style.overflow="hidden",e.style.height=`${e.offsetHeight}px`,e.open=!0,window.requestAnimationFrame((()=>this.openAccordionItem(e,t,n)))}openAccordionItem(e,t,n){const i=`${e.offsetHeight}px`,s=`${t.offsetHeight+n.offsetHeight}px`;this.animateItem(e,i,s,!0)}onAnimationFinish(e,t){e.open=t,this.animations.set(e,null),e.style.height=e.style.overflow=""}closeAllItems(e,t){t.forEach(((t,n)=>{this.closeAccordionItem(e[n],t)}))}getAnimationDuration(){const{size:e,unit:t}=this.getElementSettings("n_accordion_animation_duration");return e*("ms"===t?1:1e3)}}t.default=NestedAccordion},7323:(e,t,n)=>{"use strict";var i=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=i(n(3090)),r=n(6630);class NestedTabs extends s.default{getTabTitleFilterSelector(e){return`[${this.getSettings("dataAttributes").tabIndex}="${e}"]`}getTabContentFilterSelector(e){return`*:nth-child(${e})`}getTabIndex(e){return e.getAttribute(this.getSettings("dataAttributes").tabIndex)}getActiveTabIndex(){const e=this.getSettings(),t=e.ariaAttributes.activeTitleSelector,n=e.dataAttributes.tabIndex;return this.elements.$tabTitles.filter(t).attr(n)||null}getWidgetNumber(){return this.$element.find("> .elementor-widget-container > .e-n-tabs, > .e-n-tabs").attr("data-widget-number")}getDefaultSettings(){const e=this.getWidgetNumber();return{selectors:{widgetContainer:`[data-widget-number="${e}"]`,tabTitle:`[aria-controls*="e-n-tab-content-${e}"]`,tabTitleIcon:`[id*="e-n-tab-title-${e}"] > .e-n-tab-icon`,tabTitleText:`[id*="e-n-tab-title-${e}"] > .e-n-tab-title-text`,tabContent:`[data-widget-number="${e}"] > .e-n-tabs-content > .e-con`,headingContainer:`[data-widget-number="${e}"] > .e-n-tabs-heading`,activeTabContentContainers:`[id*="e-n-tab-content-${e}"].e-active`},classes:{active:"e-active"},dataAttributes:{tabIndex:"data-tab-index"},ariaAttributes:{titleStateAttribute:"aria-selected",activeTitleSelector:'[aria-selected="true"]'},showTabFn:"show",hideTabFn:"hide",toggleSelf:!1,hidePrevious:!0,autoExpand:!0}}getDefaultElements(){const e=this.getSettings("selectors");return{$widgetContainer:this.findElement(e.widgetContainer),$tabTitles:this.findElement(e.tabTitle),$tabContents:this.findElement(e.tabContent),$headingContainer:this.findElement(e.headingContainer)}}getKeyboardNavigationSettings(){return this.getSettings()}activateDefaultTab(){const e=this.getSettings(),t=this.getEditSettings("activeItemIndex")||1,n={showTabFn:e.showTabFn,hideTabFn:e.hideTabFn};this.setSettings({showTabFn:"show",hideTabFn:"hide"}),this.changeActiveTab(t),this.setSettings(n),this.elements.$widgetContainer.addClass("e-activated")}deactivateActiveTab(e){const t=this.getSettings(),n=t.classes.active,i=t.ariaAttributes.activeTitleSelector,s="."+n,r=this.elements.$tabTitles.filter(i),o=this.elements.$tabContents.filter(s);return this.setTabDeactivationAttributes(r,e),o.removeClass(n),o[t.hideTabFn](0,(()=>this.onHideTabContent(o))),o}getTitleActivationAttributes(){return{tabindex:"0",[this.getSettings("ariaAttributes").titleStateAttribute]:"true"}}setTabDeactivationAttributes(e){const t=this.getSettings("ariaAttributes").titleStateAttribute;e.attr({tabindex:"-1",[t]:"false"})}onHideTabContent(){}activateTab(e){const t=this.getSettings(),n=t.classes.active,i="show"===t.showTabFn?0:400;let s=this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(e)),r=this.elements.$tabContents.filter(this.getTabContentFilterSelector(e));if(!s.length){const t=Math.max(e-1,1);s=this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(t)),r=this.elements.$tabContents.filter(this.getTabContentFilterSelector(t))}s.attr(this.getTitleActivationAttributes()),r.addClass(n),r[t.showTabFn](i,(()=>this.onShowTabContent(r)))}onShowTabContent(e){elementorFrontend.elements.$window.trigger("elementor-pro/motion-fx/recalc"),elementorFrontend.elements.$window.trigger("elementor/nested-tabs/activate",e),elementorFrontend.elements.$window.trigger("elementor/bg-video/recalc")}isActiveTab(e){const t=this.getSettings(),n="true"===this.elements.$tabTitles.filter(`[${t.dataAttributes.tabIndex}="${e}"]`).attr(t.ariaAttributes.titleStateAttribute),i=this.elements.$tabContents.filter(this.getTabContentFilterSelector(e)).hasClass(this.getActiveClass());return n&&i}onTabClick(e){e.preventDefault(),this.changeActiveTab(e.currentTarget?.getAttribute(this.getSettings("dataAttributes").tabIndex),!0)}getTabEvents(){return{click:this.onTabClick.bind(this)}}getHeadingEvents(){const e=this.elements.$headingContainer[0];return{mousedown:r.changeScrollStatus.bind(this,e),mouseup:r.changeScrollStatus.bind(this,e),mouseleave:r.changeScrollStatus.bind(this,e),mousemove:r.setHorizontalTitleScrollValues.bind(this,e,this.getHorizontalScrollSetting())}}bindEvents(){this.elements.$tabTitles.on(this.getTabEvents()),this.elements.$headingContainer.on(this.getHeadingEvents()),elementorFrontend.elements.$window.on("resize",this.onResizeUpdateHorizontalScrolling.bind(this)),elementorFrontend.elements.$window.on("resize",this.setTouchMode.bind(this)),elementorFrontend.elements.$window.on("elementor/nested-tabs/activate",this.reInitSwipers),elementorFrontend.elements.$window.on("elementor/nested-elements/activate-by-keyboard",this.changeActiveTabByKeyboard.bind(this)),elementorFrontend.elements.$window.on("elementor/nested-container/atomic-repeater",this.linkContainer.bind(this))}unbindEvents(){this.elements.$tabTitles.off(),this.elements.$headingContainer.off(),this.elements.$tabContents.children().off(),elementorFrontend.elements.$window.off("resize",this.onResizeUpdateHorizontalScrolling.bind(this)),elementorFrontend.elements.$window.off("resize",this.setTouchMode.bind(this)),elementorFrontend.elements.$window.off("elementor/nested-tabs/activate",this.reInitSwipers),elementorFrontend.elements.$window.off("elementor/nested-elements/activate-by-keyboard",this.changeActiveTabByKeyboard.bind(this)),elementorFrontend.elements.$window.off("elementor/nested-container/atomic-repeater",this.linkContainer.bind(this))}reInitSwipers(e,t){const n=t.querySelectorAll(`.${elementorFrontend.config.swiperClass}`);for(const e of n){if(!e.swiper)return;e.swiper.initialized=!1,e.swiper.init()}}onInit(){super.onInit(...arguments),this.getSettings("autoExpand")&&this.activateDefaultTab(),(0,r.setHorizontalScrollAlignment)(this.getHorizontalScrollingSettings()),this.setTouchMode(),"nested-tabs.default"===this.getSettings("elementName")&&new elementorModules.frontend.handlers.NestedTitleKeyboardHandler(this.getKeyboardNavigationSettings())}onEditSettingsChange(e,t){"activeItemIndex"===e&&this.changeActiveTab(t,!1)}onElementChange(e){this.checkSliderPropsToWatch(e)&&(0,r.setHorizontalScrollAlignment)(this.getHorizontalScrollingSettings())}checkSliderPropsToWatch(e){return 0===e.indexOf("horizontal_scroll")||"breakpoint_selector"===e||0===e.indexOf("tabs_justify_horizontal")||0===e.indexOf("tabs_title_space_between")}changeActiveTab(e){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&this.isEdit&&this.isElementInTheCurrentDocument())return window.top.$e.run("document/repeater/select",{container:elementor.getContainer(this.$element.attr("data-id")),index:parseInt(e)});const t=this.isActiveTab(e),n=this.getSettings();if(!n.toggleSelf&&t||!n.hidePrevious||this.deactivateActiveTab(e),!n.hidePrevious&&t&&this.deactivateActiveTab(e),!t){if(this.isAccordionVersion())return void this.activateMobileTab(e);this.activateTab(e)}}changeActiveTabByKeyboard(e,t){t.widgetId.toString()===this.getID().toString()&&this.changeActiveTab(t.titleIndex,!0)}activateMobileTab(e){setTimeout((()=>{this.activateTab(e),this.forceActiveTabToBeInViewport(e)}),10)}forceActiveTabToBeInViewport(e){if(!elementorFrontend.isEditMode())return;const t=this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(e));elementor.helpers.isInViewport(t[0])||t[0].scrollIntoView({block:"center"})}getActiveClass(){return this.getSettings().classes.active}getTabsDirection(){const e=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"tabs_justify_horizontal","",e)}getHorizontalScrollSetting(){const e=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"horizontal_scroll","",e)}isAccordionVersion(){return"contents"===this.elements.$headingContainer.css("display")}setTouchMode(){const e=this.getSettings("selectors").widgetContainer;if(elementorFrontend.isEditMode()||"resize"===event?.type){const t=["mobile","mobile_extra","tablet","tablet_extra"],n=elementorFrontend.getCurrentDeviceMode();if(-1!==t.indexOf(n))return void this.$element.find(e).attr("data-touch-mode","true")}else if("ontouchstart"in window)return void this.$element.find(e).attr("data-touch-mode","true");this.$element.find(e).attr("data-touch-mode","false")}linkContainer(e){const{container:t}=e.detail,n=t.model.get("id"),i=this.$element.data("id"),s=t.view.$el;if(n===i&&(this.updateIndexValues(),this.updateListeners(s),elementor.$preview[0].contentWindow.dispatchEvent(new CustomEvent("elementor/elements/link-data-bindings"))),!this.getActiveTabIndex()){const t=e.detail.index+1||1;this.changeActiveTab(t)}}updateListeners(e){this.elements.$tabContents=e.find(this.getSettings("selectors.tabContent")),this.elements.$tabTitles=e.find(this.getSettings("selectors.tabTitle")),this.elements.$tabTitles.on(this.getTabEvents())}updateIndexValues(){const{$widgetContainer:e,$tabContents:t,$tabTitles:n}=this.getDefaultElements(),i=this.getSettings(),s=i.dataAttributes.tabIndex,r=e.data("widgetNumber");n.each(((e,n)=>{const o=e+1,a=`e-n-tab-title-${r}${o}`,l=`e-n-tab-content-${r}${o}`;n.setAttribute("id",a),n.setAttribute("style",`--n-tabs-title-order: ${o}`),n.setAttribute(s,o),n.setAttribute("aria-controls",l),n.querySelector(i.selectors.tabTitleIcon)?.setAttribute("data-binding-index",o),n.querySelector(i.selectors.tabTitleText).setAttribute("data-binding-index",o),t[e].setAttribute("aria-labelledby",a),t[e].setAttribute(s,o),t[e].setAttribute("id",l),t[e].setAttribute("style",`--n-tabs-title-order: ${o}`)}))}onResizeUpdateHorizontalScrolling(){(0,r.setHorizontalScrollAlignment)(this.getHorizontalScrollingSettings())}getHorizontalScrollingSettings(){return{element:this.elements.$headingContainer[0],direction:this.getTabsDirection(),justifyCSSVariable:"--n-tabs-heading-justify-content",horizontalScrollStatus:this.getHorizontalScrollSetting()}}}t.default=NestedTabs},5089:(e,t,n)=>{"use strict";var i=n(930),s=n(9268),r=TypeError;e.exports=function(e){if(i(e))return e;throw r(s(e)+" is not a function")}},1378:(e,t,n)=>{"use strict";var i=n(930),s=String,r=TypeError;e.exports=function(e){if("object"==typeof e||i(e))return e;throw r("Can't set "+s(e)+" as a prototype")}},6112:(e,t,n)=>{"use strict";var i=n(8759),s=String,r=TypeError;e.exports=function(e){if(i(e))return e;throw r(s(e)+" is not an object")}},6198:(e,t,n)=>{"use strict";var i=n(4088),s=n(7740),r=n(2871),createMethod=function(e){return function(t,n,o){var a,l=i(t),c=r(l),d=s(o,c);if(e&&n!=n){for(;c>d;)if((a=l[d++])!=a)return!0}else for(;c>d;d++)if((e||d in l)&&l[d]===n)return e||d||0;return!e&&-1}};e.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},2306:(e,t,n)=>{"use strict";var i=n(8240),s=i({}.toString),r=i("".slice);e.exports=function(e){return r(s(e),8,-1)}},375:(e,t,n)=>{"use strict";var i=n(2371),s=n(930),r=n(2306),o=n(211)("toStringTag"),a=Object,l="Arguments"==r(function(){return arguments}());e.exports=i?r:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?n:l?r(t):"Object"==(i=r(t))&&s(t.callee)?"Arguments":i}},8474:(e,t,n)=>{"use strict";var i=n(9606),s=n(6095),r=n(4399),o=n(7826);e.exports=function(e,t,n){for(var a=s(t),l=o.f,c=r.f,d=0;d<a.length;d++){var u=a[d];i(e,u)||n&&i(n,u)||l(e,u,c(t,u))}}},2585:(e,t,n)=>{"use strict";var i=n(5283),s=n(7826),r=n(5736);e.exports=i?function(e,t,n){return s.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},5736:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},1343:(e,t,n)=>{"use strict";var i=n(930),s=n(7826),r=n(3712),o=n(9444);e.exports=function(e,t,n,a){a||(a={});var l=a.enumerable,c=void 0!==a.name?a.name:t;if(i(n)&&r(n,c,a),a.global)l?e[t]=n:o(t,n);else{try{a.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=n:s.f(e,t,{value:n,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},9444:(e,t,n)=>{"use strict";var i=n(2086),s=Object.defineProperty;e.exports=function(e,t){try{s(i,e,{value:t,configurable:!0,writable:!0})}catch(n){i[e]=t}return t}},5283:(e,t,n)=>{"use strict";var i=n(3677);e.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},7886:e=>{"use strict";var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},821:(e,t,n)=>{"use strict";var i=n(2086),s=n(8759),r=i.document,o=s(r)&&s(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},4999:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},1448:(e,t,n)=>{"use strict";var i,s,r=n(2086),o=n(4999),a=r.process,l=r.Deno,c=a&&a.versions||l&&l.version,d=c&&c.v8;d&&(s=(i=d.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1])),!s&&o&&(!(i=o.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=o.match(/Chrome\/(\d+)/))&&(s=+i[1]),e.exports=s},8684:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},79:(e,t,n)=>{"use strict";var i=n(8240),s=Error,r=i("".replace),o=String(s("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,l=a.test(o);e.exports=function(e,t){if(l&&"string"==typeof e&&!s.prepareStackTrace)for(;t--;)e=r(e,a,"");return e}},8395:(e,t,n)=>{"use strict";var i=n(2585),s=n(79),r=n(2114),o=Error.captureStackTrace;e.exports=function(e,t,n,a){r&&(o?o(e,t):i(e,"stack",s(n,a)))}},2114:(e,t,n)=>{"use strict";var i=n(3677),s=n(5736);e.exports=!i((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",s(1,7)),7!==e.stack)}))},1695:(e,t,n)=>{"use strict";var i=n(2086),s=n(4399).f,r=n(2585),o=n(1343),a=n(9444),l=n(8474),c=n(7189);e.exports=function(e,t){var n,d,u,h,m,g=e.target,p=e.global,f=e.stat;if(n=p?i:f?i[g]||a(g,{}):(i[g]||{}).prototype)for(d in t){if(h=t[d],u=e.dontCallGetSet?(m=s(n,d))&&m.value:n[d],!c(p?d:g+(f?".":"#")+d,e.forced)&&void 0!==u){if(typeof h==typeof u)continue;l(h,u)}(e.sham||u&&u.sham)&&r(h,"sham",!0),o(n,d,h,e)}}},3677:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},7258:(e,t,n)=>{"use strict";var i=n(6059),s=Function.prototype,r=s.apply,o=s.call;e.exports="object"==typeof Reflect&&Reflect.apply||(i?o.bind(r):function(){return o.apply(r,arguments)})},6059:(e,t,n)=>{"use strict";var i=n(3677);e.exports=!i((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},9413:(e,t,n)=>{"use strict";var i=n(6059),s=Function.prototype.call;e.exports=i?s.bind(s):function(){return s.apply(s,arguments)}},4398:(e,t,n)=>{"use strict";var i=n(5283),s=n(9606),r=Function.prototype,o=i&&Object.getOwnPropertyDescriptor,a=s(r,"name"),l=a&&"something"===function something(){}.name,c=a&&(!i||i&&o(r,"name").configurable);e.exports={EXISTS:a,PROPER:l,CONFIGURABLE:c}},1518:(e,t,n)=>{"use strict";var i=n(8240),s=n(5089);e.exports=function(e,t,n){try{return i(s(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},8240:(e,t,n)=>{"use strict";var i=n(6059),s=Function.prototype,r=s.call,o=i&&s.bind.bind(r,r);e.exports=i?o:function(e){return function(){return r.apply(e,arguments)}}},563:(e,t,n)=>{"use strict";var i=n(2086),s=n(930);e.exports=function(e,t){return arguments.length<2?(n=i[e],s(n)?n:void 0):i[e]&&i[e][t];var n}},2964:(e,t,n)=>{"use strict";var i=n(5089),s=n(1858);e.exports=function(e,t){var n=e[t];return s(n)?void 0:i(n)}},2086:function(e,t,n){"use strict";var check=function(e){return e&&e.Math==Math&&e};e.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},9606:(e,t,n)=>{"use strict";var i=n(8240),s=n(3060),r=i({}.hasOwnProperty);e.exports=Object.hasOwn||function hasOwn(e,t){return r(s(e),t)}},7153:e=>{"use strict";e.exports={}},6761:(e,t,n)=>{"use strict";var i=n(5283),s=n(3677),r=n(821);e.exports=!i&&!s((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},5974:(e,t,n)=>{"use strict";var i=n(8240),s=n(3677),r=n(2306),o=Object,a=i("".split);e.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==r(e)?a(e,""):o(e)}:o},5070:(e,t,n)=>{"use strict";var i=n(930),s=n(8759),r=n(7530);e.exports=function(e,t,n){var o,a;return r&&i(o=t.constructor)&&o!==n&&s(a=o.prototype)&&a!==n.prototype&&r(e,a),e}},9277:(e,t,n)=>{"use strict";var i=n(8240),s=n(930),r=n(4489),o=i(Function.toString);s(r.inspectSource)||(r.inspectSource=function(e){return o(e)}),e.exports=r.inspectSource},8945:(e,t,n)=>{"use strict";var i=n(8759),s=n(2585);e.exports=function(e,t){i(t)&&"cause"in t&&s(e,"cause",t.cause)}},3278:(e,t,n)=>{"use strict";var i,s,r,o=n(640),a=n(2086),l=n(8759),c=n(2585),d=n(9606),u=n(4489),h=n(8944),m=n(7153),g="Object already initialized",p=a.TypeError,f=a.WeakMap;if(o||u.state){var b=u.state||(u.state=new f);b.get=b.get,b.has=b.has,b.set=b.set,i=function(e,t){if(b.has(e))throw p(g);return t.facade=e,b.set(e,t),t},s=function(e){return b.get(e)||{}},r=function(e){return b.has(e)}}else{var v=h("state");m[v]=!0,i=function(e,t){if(d(e,v))throw p(g);return t.facade=e,c(e,v,t),t},s=function(e){return d(e,v)?e[v]:{}},r=function(e){return d(e,v)}}e.exports={set:i,get:s,has:r,enforce:function(e){return r(e)?s(e):i(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=s(t)).type!==e)throw p("Incompatible receiver, "+e+" required");return n}}}},930:(e,t,n)=>{"use strict";var i=n(7886),s=i.all;e.exports=i.IS_HTMLDDA?function(e){return"function"==typeof e||e===s}:function(e){return"function"==typeof e}},7189:(e,t,n)=>{"use strict";var i=n(3677),s=n(930),r=/#|\.prototype\./,isForced=function(e,t){var n=a[o(e)];return n==c||n!=l&&(s(t)?i(t):!!t)},o=isForced.normalize=function(e){return String(e).replace(r,".").toLowerCase()},a=isForced.data={},l=isForced.NATIVE="N",c=isForced.POLYFILL="P";e.exports=isForced},1858:e=>{"use strict";e.exports=function(e){return null==e}},8759:(e,t,n)=>{"use strict";var i=n(930),s=n(7886),r=s.all;e.exports=s.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:i(e)||e===r}:function(e){return"object"==typeof e?null!==e:i(e)}},3296:e=>{"use strict";e.exports=!1},2071:(e,t,n)=>{"use strict";var i=n(563),s=n(930),r=n(5516),o=n(1876),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return s(t)&&r(t.prototype,a(e))}},2871:(e,t,n)=>{"use strict";var i=n(4005);e.exports=function(e){return i(e.length)}},3712:(e,t,n)=>{"use strict";var i=n(8240),s=n(3677),r=n(930),o=n(9606),a=n(5283),l=n(4398).CONFIGURABLE,c=n(9277),d=n(3278),u=d.enforce,h=d.get,m=String,g=Object.defineProperty,p=i("".slice),f=i("".replace),b=i([].join),v=a&&!s((function(){return 8!==g((function(){}),"length",{value:8}).length})),y=String(String).split("String"),S=e.exports=function(e,t,n){"Symbol("===p(m(t),0,7)&&(t="["+f(m(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!o(e,"name")||l&&e.name!==t)&&(a?g(e,"name",{value:t,configurable:!0}):e.name=t),v&&n&&o(n,"arity")&&e.length!==n.arity&&g(e,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?a&&g(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var i=u(e);return o(i,"source")||(i.source=b(y,"string"==typeof t?t:"")),e};Function.prototype.toString=S((function toString(){return r(this)&&h(this).source||c(this)}),"toString")},5681:e=>{"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function trunc(e){var i=+e;return(i>0?n:t)(i)}},1879:(e,t,n)=>{"use strict";var i=n(4059);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:i(e)}},7826:(e,t,n)=>{"use strict";var i=n(5283),s=n(6761),r=n(8202),o=n(6112),a=n(2258),l=TypeError,c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,u="enumerable",h="configurable",m="writable";t.f=i?r?function defineProperty(e,t,n){if(o(e),t=a(t),o(n),"function"==typeof e&&"prototype"===t&&"value"in n&&m in n&&!n[m]){var i=d(e,t);i&&i[m]&&(e[t]=n.value,n={configurable:h in n?n[h]:i[h],enumerable:u in n?n[u]:i[u],writable:!1})}return c(e,t,n)}:c:function defineProperty(e,t,n){if(o(e),t=a(t),o(n),s)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},4399:(e,t,n)=>{"use strict";var i=n(5283),s=n(9413),r=n(7446),o=n(5736),a=n(4088),l=n(2258),c=n(9606),d=n(6761),u=Object.getOwnPropertyDescriptor;t.f=i?u:function getOwnPropertyDescriptor(e,t){if(e=a(e),t=l(t),d)try{return u(e,t)}catch(e){}if(c(e,t))return o(!s(r.f,e,t),e[t])}},62:(e,t,n)=>{"use strict";var i=n(1352),s=n(8684).concat("length","prototype");t.f=Object.getOwnPropertyNames||function getOwnPropertyNames(e){return i(e,s)}},6952:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},5516:(e,t,n)=>{"use strict";var i=n(8240);e.exports=i({}.isPrototypeOf)},1352:(e,t,n)=>{"use strict";var i=n(8240),s=n(9606),r=n(4088),o=n(6198).indexOf,a=n(7153),l=i([].push);e.exports=function(e,t){var n,i=r(e),c=0,d=[];for(n in i)!s(a,n)&&s(i,n)&&l(d,n);for(;t.length>c;)s(i,n=t[c++])&&(~o(d,n)||l(d,n));return d}},7446:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,s=i&&!n.call({1:2},1);t.f=s?function propertyIsEnumerable(e){var t=i(this,e);return!!t&&t.enumerable}:n},7530:(e,t,n)=>{"use strict";var i=n(1518),s=n(6112),r=n(1378);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=i(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function setPrototypeOf(n,i){return s(n),r(i),t?e(n,i):n.__proto__=i,n}}():void 0)},7999:(e,t,n)=>{"use strict";var i=n(9413),s=n(930),r=n(8759),o=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&s(n=e.toString)&&!r(a=i(n,e)))return a;if(s(n=e.valueOf)&&!r(a=i(n,e)))return a;if("string"!==t&&s(n=e.toString)&&!r(a=i(n,e)))return a;throw o("Can't convert object to primitive value")}},6095:(e,t,n)=>{"use strict";var i=n(563),s=n(8240),r=n(62),o=n(6952),a=n(6112),l=s([].concat);e.exports=i("Reflect","ownKeys")||function ownKeys(e){var t=r.f(a(e)),n=o.f;return n?l(t,n(e)):t}},1632:(e,t,n)=>{"use strict";var i=n(7826).f;e.exports=function(e,t,n){n in e||i(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},9586:(e,t,n)=>{"use strict";var i=n(1858),s=TypeError;e.exports=function(e){if(i(e))throw s("Can't call method on "+e);return e}},8944:(e,t,n)=>{"use strict";var i=n(9197),s=n(5422),r=i("keys");e.exports=function(e){return r[e]||(r[e]=s(e))}},4489:(e,t,n)=>{"use strict";var i=n(2086),s=n(9444),r="__core-js_shared__",o=i[r]||s(r,{});e.exports=o},9197:(e,t,n)=>{"use strict";var i=n(3296),s=n(4489);(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.32.0",mode:i?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.32.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5558:(e,t,n)=>{"use strict";var i=n(1448),s=n(3677),r=n(2086).String;e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol();return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},7740:(e,t,n)=>{"use strict";var i=n(9502),s=Math.max,r=Math.min;e.exports=function(e,t){var n=i(e);return n<0?s(n+t,0):r(n,t)}},4088:(e,t,n)=>{"use strict";var i=n(5974),s=n(9586);e.exports=function(e){return i(s(e))}},9502:(e,t,n)=>{"use strict";var i=n(5681);e.exports=function(e){var t=+e;return t!=t||0===t?0:i(t)}},4005:(e,t,n)=>{"use strict";var i=n(9502),s=Math.min;e.exports=function(e){return e>0?s(i(e),9007199254740991):0}},3060:(e,t,n)=>{"use strict";var i=n(9586),s=Object;e.exports=function(e){return s(i(e))}},1288:(e,t,n)=>{"use strict";var i=n(9413),s=n(8759),r=n(2071),o=n(2964),a=n(7999),l=n(211),c=TypeError,d=l("toPrimitive");e.exports=function(e,t){if(!s(e)||r(e))return e;var n,l=o(e,d);if(l){if(void 0===t&&(t="default"),n=i(l,e,t),!s(n)||r(n))return n;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},2258:(e,t,n)=>{"use strict";var i=n(1288),s=n(2071);e.exports=function(e){var t=i(e,"string");return s(t)?t:t+""}},2371:(e,t,n)=>{"use strict";var i={};i[n(211)("toStringTag")]="z",e.exports="[object z]"===String(i)},4059:(e,t,n)=>{"use strict";var i=n(375),s=String;e.exports=function(e){if("Symbol"===i(e))throw TypeError("Cannot convert a Symbol value to a string");return s(e)}},9268:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},5422:(e,t,n)=>{"use strict";var i=n(8240),s=0,r=Math.random(),o=i(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++s+r,36)}},1876:(e,t,n)=>{"use strict";var i=n(5558);e.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8202:(e,t,n)=>{"use strict";var i=n(5283),s=n(3677);e.exports=i&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},640:(e,t,n)=>{"use strict";var i=n(2086),s=n(930),r=i.WeakMap;e.exports=s(r)&&/native code/.test(String(r))},211:(e,t,n)=>{"use strict";var i=n(2086),s=n(9197),r=n(9606),o=n(5422),a=n(5558),l=n(1876),c=i.Symbol,d=s("wks"),u=l?c.for||c:c&&c.withoutSetter||o;e.exports=function(e){return r(d,e)||(d[e]=a&&r(c,e)?c[e]:u("Symbol."+e)),d[e]}},1557:(e,t,n)=>{"use strict";var i=n(563),s=n(9606),r=n(2585),o=n(5516),a=n(7530),l=n(8474),c=n(1632),d=n(5070),u=n(1879),h=n(8945),m=n(8395),g=n(5283),p=n(3296);e.exports=function(e,t,n,f){var b="stackTraceLimit",v=f?2:1,y=e.split("."),S=y[y.length-1],w=i.apply(null,y);if(w){var E=w.prototype;if(!p&&s(E,"cause")&&delete E.cause,!n)return w;var T=i("Error"),x=t((function(e,t){var n=u(f?t:e,void 0),i=f?new w(e):new w;return void 0!==n&&r(i,"message",n),m(i,x,i.stack,2),this&&o(E,this)&&d(i,this,x),arguments.length>v&&h(i,arguments[v]),i}));if(x.prototype=E,"Error"!==S?a?a(x,T):l(x,T,{name:!0}):g&&b in w&&(c(x,w,b),c(x,w,"prepareStackTrace")),l(x,w),!p)try{E.name!==S&&r(E,"name",S),E.constructor=x}catch(e){}return x}}},740:(e,t,n)=>{"use strict";var i=n(1695),s=n(2086),r=n(7258),o=n(1557),a="WebAssembly",l=s[a],c=7!==Error("e",{cause:7}).cause,exportGlobalErrorCauseWrapper=function(e,t){var n={};n[e]=o(e,t,c),i({global:!0,constructor:!0,arity:1,forced:c},n)},exportWebAssemblyErrorCauseWrapper=function(e,t){if(l&&l[e]){var n={};n[e]=o(a+"."+e,t,c),i({target:a,stat:!0,constructor:!0,arity:1,forced:c},n)}};exportGlobalErrorCauseWrapper("Error",(function(e){return function Error(t){return r(e,this,arguments)}})),exportGlobalErrorCauseWrapper("EvalError",(function(e){return function EvalError(t){return r(e,this,arguments)}})),exportGlobalErrorCauseWrapper("RangeError",(function(e){return function RangeError(t){return r(e,this,arguments)}})),exportGlobalErrorCauseWrapper("ReferenceError",(function(e){return function ReferenceError(t){return r(e,this,arguments)}})),exportGlobalErrorCauseWrapper("SyntaxError",(function(e){return function SyntaxError(t){return r(e,this,arguments)}})),exportGlobalErrorCauseWrapper("TypeError",(function(e){return function TypeError(t){return r(e,this,arguments)}})),exportGlobalErrorCauseWrapper("URIError",(function(e){return function URIError(t){return r(e,this,arguments)}})),exportWebAssemblyErrorCauseWrapper("CompileError",(function(e){return function CompileError(t){return r(e,this,arguments)}})),exportWebAssemblyErrorCauseWrapper("LinkError",(function(e){return function LinkError(t){return r(e,this,arguments)}})),exportWebAssemblyErrorCauseWrapper("RuntimeError",(function(e){return function RuntimeError(t){return r(e,this,arguments)}}))},3231:(e,t,n)=>{var i=n(4040);e.exports=function _defineProperty(e,t,n){return(t=i(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},3203:e=>{e.exports=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},6027:(e,t,n)=>{var i=n(7501).default;e.exports=function toPrimitive(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var s=n.call(e,t||"default");if("object"!=i(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},4040:(e,t,n)=>{var i=n(7501).default,s=n(6027);e.exports=function toPropertyKey(e){var t=s(e,"string");return"symbol"==i(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},7501:e=>{function _typeof(t){return e.exports=_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,_typeof(t)}e.exports=_typeof,e.exports.__esModule=!0,e.exports.default=e.exports}},e=>{var t;t=6412,e(e.s=t)}]);/*! This file is auto-generated */
(()=>{"use strict";var t={d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{actions:()=>S,addAction:()=>m,addFilter:()=>p,applyFilters:()=>k,createHooks:()=>h,currentAction:()=>w,currentFilter:()=>I,defaultHooks:()=>f,didAction:()=>O,didFilter:()=>j,doAction:()=>b,doingAction:()=>x,doingFilter:()=>T,filters:()=>z,hasAction:()=>v,hasFilter:()=>y,removeAction:()=>A,removeAllActions:()=>F,removeAllFilters:()=>g,removeFilter:()=>_});const n=function(t){return"string"!=typeof t||""===t?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(t)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};const r=function(t){return"string"!=typeof t||""===t?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(t)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(t)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};const o=function(t,e){return function(o,i,s,c=10){const l=t[e];if(!r(o))return;if(!n(i))return;if("function"!=typeof s)return void console.error("The hook callback must be a function.");if("number"!=typeof c)return void console.error("If specified, the hook priority must be a number.");const u={callback:s,priority:c,namespace:i};if(l[o]){const t=l[o].handlers;let e;for(e=t.length;e>0&&!(c>=t[e-1].priority);e--);e===t.length?t[e]=u:t.splice(e,0,u),l.__current.forEach((t=>{t.name===o&&t.currentIndex>=e&&t.currentIndex++}))}else l[o]={handlers:[u],runs:0};"hookAdded"!==o&&t.doAction("hookAdded",o,i,s,c)}};const i=function(t,e,o=!1){return function(i,s){const c=t[e];if(!r(i))return;if(!o&&!n(s))return;if(!c[i])return 0;let l=0;if(o)l=c[i].handlers.length,c[i]={runs:c[i].runs,handlers:[]};else{const t=c[i].handlers;for(let e=t.length-1;e>=0;e--)t[e].namespace===s&&(t.splice(e,1),l++,c.__current.forEach((t=>{t.name===i&&t.currentIndex>=e&&t.currentIndex--})))}return"hookRemoved"!==i&&t.doAction("hookRemoved",i,s),l}};const s=function(t,e){return function(n,r){const o=t[e];return void 0!==r?n in o&&o[n].handlers.some((t=>t.namespace===r)):n in o}};const c=function(t,e,n=!1){return function(r,...o){const i=t[e];i[r]||(i[r]={handlers:[],runs:0}),i[r].runs++;const s=i[r].handlers;if(!s||!s.length)return n?o[0]:void 0;const c={name:r,currentIndex:0};for(i.__current.push(c);c.currentIndex<s.length;){const t=s[c.currentIndex].callback.apply(null,o);n&&(o[0]=t),c.currentIndex++}return i.__current.pop(),n?o[0]:void 0}};const l=function(t,e){return function(){var n;const r=t[e];return null!==(n=r.__current[r.__current.length-1]?.name)&&void 0!==n?n:null}};const u=function(t,e){return function(n){const r=t[e];return void 0===n?void 0!==r.__current[0]:!!r.__current[0]&&n===r.__current[0].name}};const a=function(t,e){return function(n){const o=t[e];if(r(n))return o[n]&&o[n].runs?o[n].runs:0}};class d{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=o(this,"actions"),this.addFilter=o(this,"filters"),this.removeAction=i(this,"actions"),this.removeFilter=i(this,"filters"),this.hasAction=s(this,"actions"),this.hasFilter=s(this,"filters"),this.removeAllActions=i(this,"actions",!0),this.removeAllFilters=i(this,"filters",!0),this.doAction=c(this,"actions"),this.applyFilters=c(this,"filters",!0),this.currentAction=l(this,"actions"),this.currentFilter=l(this,"filters"),this.doingAction=u(this,"actions"),this.doingFilter=u(this,"filters"),this.didAction=a(this,"actions"),this.didFilter=a(this,"filters")}}const h=function(){return new d},f=h(),{addAction:m,addFilter:p,removeAction:A,removeFilter:_,hasAction:v,hasFilter:y,removeAllActions:F,removeAllFilters:g,doAction:b,applyFilters:k,currentAction:w,currentFilter:I,doingAction:x,doingFilter:T,didAction:O,didFilter:j,actions:S,filters:z}=f;(window.wp=window.wp||{}).hooks=e})();/*! This file is auto-generated */
(()=>{var t={2058:(t,e,r)=>{var n;!function(){"use strict";var i={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function a(t){return function(t,e){var r,n,o,s,l,u,p,c,f,d=1,h=t.length,g="";for(n=0;n<h;n++)if("string"==typeof t[n])g+=t[n];else if("object"==typeof t[n]){if((s=t[n]).keys)for(r=e[d],o=0;o<s.keys.length;o++){if(null==r)throw new Error(a('[sprintf] Cannot access property "%s" of undefined value "%s"',s.keys[o],s.keys[o-1]));r=r[s.keys[o]]}else r=s.param_no?e[s.param_no]:e[d++];if(i.not_type.test(s.type)&&i.not_primitive.test(s.type)&&r instanceof Function&&(r=r()),i.numeric_arg.test(s.type)&&"number"!=typeof r&&isNaN(r))throw new TypeError(a("[sprintf] expecting number but found %T",r));switch(i.number.test(s.type)&&(c=r>=0),s.type){case"b":r=parseInt(r,10).toString(2);break;case"c":r=String.fromCharCode(parseInt(r,10));break;case"d":case"i":r=parseInt(r,10);break;case"j":r=JSON.stringify(r,null,s.width?parseInt(s.width):0);break;case"e":r=s.precision?parseFloat(r).toExponential(s.precision):parseFloat(r).toExponential();break;case"f":r=s.precision?parseFloat(r).toFixed(s.precision):parseFloat(r);break;case"g":r=s.precision?String(Number(r.toPrecision(s.precision))):parseFloat(r);break;case"o":r=(parseInt(r,10)>>>0).toString(8);break;case"s":r=String(r),r=s.precision?r.substring(0,s.precision):r;break;case"t":r=String(!!r),r=s.precision?r.substring(0,s.precision):r;break;case"T":r=Object.prototype.toString.call(r).slice(8,-1).toLowerCase(),r=s.precision?r.substring(0,s.precision):r;break;case"u":r=parseInt(r,10)>>>0;break;case"v":r=r.valueOf(),r=s.precision?r.substring(0,s.precision):r;break;case"x":r=(parseInt(r,10)>>>0).toString(16);break;case"X":r=(parseInt(r,10)>>>0).toString(16).toUpperCase()}i.json.test(s.type)?g+=r:(!i.number.test(s.type)||c&&!s.sign?f="":(f=c?"+":"-",r=r.toString().replace(i.sign,"")),u=s.pad_char?"0"===s.pad_char?"0":s.pad_char.charAt(1):" ",p=s.width-(f+r).length,l=s.width&&p>0?u.repeat(p):"",g+=s.align?f+r+l:"0"===u?f+l+r:l+f+r)}return g}(function(t){if(s[t])return s[t];var e,r=t,n=[],a=0;for(;r;){if(null!==(e=i.text.exec(r)))n.push(e[0]);else if(null!==(e=i.modulo.exec(r)))n.push("%");else{if(null===(e=i.placeholder.exec(r)))throw new SyntaxError("[sprintf] unexpected placeholder");if(e[2]){a|=1;var o=[],l=e[2],u=[];if(null===(u=i.key.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(o.push(u[1]);""!==(l=l.substring(u[0].length));)if(null!==(u=i.key_access.exec(l)))o.push(u[1]);else{if(null===(u=i.index_access.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");o.push(u[1])}e[2]=o}else a|=2;if(3===a)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");n.push({placeholder:e[0],param_no:e[1],keys:e[2],sign:e[3],pad_char:e[4],align:e[5],width:e[6],precision:e[7],type:e[8]})}r=r.substring(e[0].length)}return s[t]=n}(t),arguments)}function o(t,e){return a.apply(null,[t].concat(e||[]))}var s=Object.create(null);e.sprintf=a,e.vsprintf=o,"undefined"!=typeof window&&(window.sprintf=a,window.vsprintf=o,void 0===(n=function(){return{sprintf:a,vsprintf:o}}.call(e,r,e,t))||(t.exports=n))}()}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var a=e[n]={exports:{}};return t[n](a,a.exports,r),a.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{__:()=>F,_n:()=>j,_nx:()=>L,_x:()=>S,createI18n:()=>x,defaultI18n:()=>_,getLocaleData:()=>v,hasTranslation:()=>D,isRTL:()=>T,resetLocaleData:()=>w,setLocaleData:()=>m,sprintf:()=>a,subscribe:()=>k});var t=r(2058),e=r.n(t);const i=function(t,e){var r,n,i=0;function a(){var a,o,s=r,l=arguments.length;t:for(;s;){if(s.args.length===arguments.length){for(o=0;o<l;o++)if(s.args[o]!==arguments[o]){s=s.next;continue t}return s!==r&&(s===n&&(n=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=r,s.prev=null,r.prev=s,r=s),s.val}s=s.next}for(a=new Array(l),o=0;o<l;o++)a[o]=arguments[o];return s={args:a,val:t.apply(null,a)},r?(r.prev=s,s.next=r):n=s,i===e.maxSize?(n=n.prev).next=null:i++,r=s,s.val}return e=e||{},a.clear=function(){r=null,n=null,i=0},a}(console.error);function a(t,...r){try{return e().sprintf(t,...r)}catch(e){return e instanceof Error&&i("sprintf error: \n\n"+e.toString()),t}}var o,s,l,u;o={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},s=["(","?"],l={")":["("],":":["?","?:"]},u=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var p={"!":function(t){return!t},"*":function(t,e){return t*e},"/":function(t,e){return t/e},"%":function(t,e){return t%e},"+":function(t,e){return t+e},"-":function(t,e){return t-e},"<":function(t,e){return t<e},"<=":function(t,e){return t<=e},">":function(t,e){return t>e},">=":function(t,e){return t>=e},"==":function(t,e){return t===e},"!=":function(t,e){return t!==e},"&&":function(t,e){return t&&e},"||":function(t,e){return t||e},"?:":function(t,e,r){if(t)throw e;return r}};function c(t){var e=function(t){for(var e,r,n,i,a=[],p=[];e=t.match(u);){for(r=e[0],(n=t.substr(0,e.index).trim())&&a.push(n);i=p.pop();){if(l[r]){if(l[r][0]===i){r=l[r][1]||r;break}}else if(s.indexOf(i)>=0||o[i]<o[r]){p.push(i);break}a.push(i)}l[r]||p.push(r),t=t.substr(e.index+r.length)}return(t=t.trim())&&a.push(t),a.concat(p.reverse())}(t);return function(t){return function(t,e){var r,n,i,a,o,s,l=[];for(r=0;r<t.length;r++){if(o=t[r],a=p[o]){for(n=a.length,i=Array(n);n--;)i[n]=l.pop();try{s=a.apply(null,i)}catch(t){return t}}else s=e.hasOwnProperty(o)?e[o]:+o;l.push(s)}return l[0]}(e,t)}}var f={contextDelimiter:"",onMissingKey:null};function d(t,e){var r;for(r in this.data=t,this.pluralForms={},this.options={},f)this.options[r]=void 0!==e&&r in e?e[r]:f[r]}d.prototype.getPluralForm=function(t,e){var r,n,i,a=this.pluralForms[t];return a||("function"!=typeof(i=(r=this.data[t][""])["Plural-Forms"]||r["plural-forms"]||r.plural_forms)&&(n=function(t){var e,r,n;for(e=t.split(";"),r=0;r<e.length;r++)if(0===(n=e[r].trim()).indexOf("plural="))return n.substr(7)}(r["Plural-Forms"]||r["plural-forms"]||r.plural_forms),i=function(t){var e=c(t);return function(t){return+e({n:t})}}(n)),a=this.pluralForms[t]=i),a(e)},d.prototype.dcnpgettext=function(t,e,r,n,i){var a,o,s;return a=void 0===i?0:this.getPluralForm(t,i),o=r,e&&(o=e+this.options.contextDelimiter+r),(s=this.data[t][o])&&s[a]?s[a]:(this.options.onMissingKey&&this.options.onMissingKey(r,t),0===a?r:n)};const h={plural_forms:t=>1===t?0:1},g=/^i18n\.(n?gettext|has_translation)(_|$)/,x=(t,e,r)=>{const n=new d({}),i=new Set,a=()=>{i.forEach((t=>t()))},o=(t,e="default")=>{n.data[e]={...n.data[e],...t},n.data[e][""]={...h,...n.data[e]?.[""]},delete n.pluralForms[e]},s=(t,e)=>{o(t,e),a()},l=(t="default",e,r,i,a)=>(n.data[t]||o(void 0,t),n.dcnpgettext(t,e,r,i,a)),u=(t="default")=>t,p=(t,e,n)=>{let i=l(n,e,t);return r?(i=r.applyFilters("i18n.gettext_with_context",i,t,e,n),r.applyFilters("i18n.gettext_with_context_"+u(n),i,t,e,n)):i};if(t&&s(t,e),r){const t=t=>{g.test(t)&&a()};r.addAction("hookAdded","core/i18n",t),r.addAction("hookRemoved","core/i18n",t)}return{getLocaleData:(t="default")=>n.data[t],setLocaleData:s,addLocaleData:(t,e="default")=>{n.data[e]={...n.data[e],...t,"":{...h,...n.data[e]?.[""],...t?.[""]}},delete n.pluralForms[e],a()},resetLocaleData:(t,e)=>{n.data={},n.pluralForms={},s(t,e)},subscribe:t=>(i.add(t),()=>i.delete(t)),__:(t,e)=>{let n=l(e,void 0,t);return r?(n=r.applyFilters("i18n.gettext",n,t,e),r.applyFilters("i18n.gettext_"+u(e),n,t,e)):n},_x:p,_n:(t,e,n,i)=>{let a=l(i,void 0,t,e,n);return r?(a=r.applyFilters("i18n.ngettext",a,t,e,n,i),r.applyFilters("i18n.ngettext_"+u(i),a,t,e,n,i)):a},_nx:(t,e,n,i,a)=>{let o=l(a,i,t,e,n);return r?(o=r.applyFilters("i18n.ngettext_with_context",o,t,e,n,i,a),r.applyFilters("i18n.ngettext_with_context_"+u(a),o,t,e,n,i,a)):o},isRTL:()=>"rtl"===p("ltr","text direction"),hasTranslation:(t,e,i)=>{const a=e?e+""+t:t;let o=!!n.data?.[null!=i?i:"default"]?.[a];return r&&(o=r.applyFilters("i18n.has_translation",o,t,e,i),o=r.applyFilters("i18n.has_translation_"+u(i),o,t,e,i)),o}}},y=window.wp.hooks,b=x(void 0,void 0,y.defaultHooks),_=b,v=b.getLocaleData.bind(b),m=b.setLocaleData.bind(b),w=b.resetLocaleData.bind(b),k=b.subscribe.bind(b),F=b.__.bind(b),S=b._x.bind(b),j=b._n.bind(b),L=b._nx.bind(b),T=b.isRTL.bind(b),D=b.hasTranslation.bind(b)})(),(window.wp=window.wp||{}).i18n=n})();wp.i18n.setLocaleData({'text direction\u0004ltr':['rtl']});/*! elementor-pro - v3.24.0 - 09-10-2024 */
(self.webpackChunkelementor_pro=self.webpackChunkelementor_pro||[]).push([[313],{3e3:(e,t,n)=>{"use strict";var s=n(6784);n(2258);var i=s(n(4906)),o=s(n(2450)),r=s(n(4409)),a=s(n(7937)),l=s(n(8098)),c=s(n(6275)),d=s(n(3268)),u=s(n(4992));class ElementorProFrontend extends elementorModules.ViewModule{onInit(){super.onInit(),this.config=ElementorProFrontendConfig,this.modules={},this.initOnReadyComponents()}bindEvents(){jQuery(window).on("elementor/frontend/init",this.onElementorFrontendInit.bind(this))}initModules(){let e={motionFX:i.default,sticky:o.default,codeHighlight:r.default,videoPlaylist:a.default,payments:l.default,progressTracker:c.default};elementorProFrontend.trigger("elementor-pro/modules/init:before"),elementorProFrontend.trigger("elementor-pro/modules/init/before"),e=elementorFrontend.hooks.applyFilters("elementor-pro/frontend/handlers",e),jQuery.each(e,((e,t)=>{this.modules[e]=new t})),this.modules.linkActions={addAction:function(){elementorFrontend.utils.urlActions.addAction(...arguments)}}}onElementorFrontendInit(){this.initModules()}initOnReadyComponents(){this.utils={controls:new d.default,DropdownMenuHeightController:u.default}}}window.elementorProFrontend=new ElementorProFrontend},3268:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class Controls{getControlValue(e,t,n){let s;return s="object"==typeof e[t]&&n?e[t][n]:e[t],s}getResponsiveControlValue(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";const s=elementorFrontend.getCurrentDeviceMode(),i=this.getControlValue(e,t,n);if("widescreen"===s){const s=this.getControlValue(e,`${t}_widescreen`,n);return s||0===s?s:i}const o=elementorFrontend.breakpoints.getActiveBreakpointsList({withDesktop:!0});let r=s,a=o.indexOf(s),l="";for(;a<=o.length;){if("desktop"===r){l=i;break}const s=`${t}_${r}`,c=this.getControlValue(e,s,n);if(c||0===c){l=c;break}a++,r=o[a]}return l}}},4992:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class DropdownMenuHeightController{constructor(e){this.widgetConfig=e}calculateStickyMenuNavHeight(){this.widgetConfig.elements.$dropdownMenuContainer.css(this.widgetConfig.settings.menuHeightCssVarName,"");const e=this.widgetConfig.elements.$dropdownMenuContainer.offset().top-jQuery(window).scrollTop();return elementorFrontend.elements.$window.height()-e}calculateMenuTabContentHeight(e){return elementorFrontend.elements.$window.height()-e[0].getBoundingClientRect().top}isElementSticky(){return this.widgetConfig.elements.$element.hasClass("elementor-sticky")||this.widgetConfig.elements.$element.parents(".elementor-sticky").length}getMenuHeight(){return this.isElementSticky()?this.calculateStickyMenuNavHeight()+"px":this.widgetConfig.settings.dropdownMenuContainerMaxHeight}setMenuHeight(e){this.widgetConfig.elements.$dropdownMenuContainer.css(this.widgetConfig.settings.menuHeightCssVarName,e)}reassignMobileMenuHeight(){const e=this.isToggleActive()?this.getMenuHeight():0;return this.setMenuHeight(e)}reassignMenuHeight(e){if(!this.isElementSticky()||0===e.length)return;const t=elementorFrontend.elements.$window.height()-e[0].getBoundingClientRect().top;e.height()>t&&(e.css("height",this.calculateMenuTabContentHeight(e)+"px"),e.css("overflow-y","scroll"))}resetMenuHeight(e){this.isElementSticky()&&(e.css("height","initial"),e.css("overflow-y","visible"))}isToggleActive(){const e=this.widgetConfig.elements.$menuToggle;return this.widgetConfig.attributes?.menuToggleState?"true"===e.attr(this.widgetConfig.attributes.menuToggleState):e.hasClass(this.widgetConfig.classes.menuToggleActiveClass)}}},2258:(e,t,n)=>{"use strict";n.p=ElementorProFrontendConfig.urls.assets+"js/"},4409:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("code-highlight",(()=>n.e(635).then(n.bind(n,7193))))}}t.default=_default},4906:(e,t,n)=>{"use strict";var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=s(n(820));class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("global",i.default,null)}}t.default=_default},820:(e,t,n)=>{"use strict";var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=s(n(739));class _default extends elementorModules.frontend.handlers.Base{__construct(){super.__construct(...arguments),this.toggle=elementorFrontend.debounce(this.toggle,200)}getDefaultSettings(){return{selectors:{container:".elementor-widget-container"}}}getDefaultElements(){const e=this.getSettings("selectors");return{$container:this.$element.find(e.container)}}bindEvents(){elementorFrontend.elements.$window.on("resize",this.toggle)}unbindEvents(){elementorFrontend.elements.$window.off("resize",this.toggle)}addCSSTransformEvents(){this.getElementSettings("motion_fx_motion_fx_scrolling")&&!this.isTransitionEventAdded&&(this.isTransitionEventAdded=!0,this.elements.$container.on("mouseenter",(()=>{this.elements.$container.css("--e-transform-transition-duration","")})))}initEffects(){this.effects={translateY:{interaction:"scroll",actions:["translateY"]},translateX:{interaction:"scroll",actions:["translateX"]},rotateZ:{interaction:"scroll",actions:["rotateZ"]},scale:{interaction:"scroll",actions:["scale"]},opacity:{interaction:"scroll",actions:["opacity"]},blur:{interaction:"scroll",actions:["blur"]},mouseTrack:{interaction:"mouseMove",actions:["translateXY"]},tilt:{interaction:"mouseMove",actions:["tilt"]}}}prepareOptions(e){const t=this.getElementSettings(),n="motion_fx"===e?"element":"background",s={};jQuery.each(t,((n,i)=>{const o=new RegExp("^"+e+"_(.+?)_effect"),r=n.match(o);if(!r||!i)return;const a={},l=r[1];jQuery.each(t,((t,n)=>{const s=new RegExp(e+"_"+l+"_(.+)"),i=t.match(s);if(!i)return;"effect"!==i[1]&&("object"==typeof n&&(n=Object.keys(n.sizes).length?n.sizes:n.size),a[i[1]]=n)}));const c=this.effects[l],d=c.interaction;s[d]||(s[d]={}),c.actions.forEach((e=>s[d][e]=a))}));let i,o=this.$element;const r=this.getElementType();if("element"===n&&!["section","container"].includes(r)){let e;i=o,e="column"===r?".elementor-widget-wrap":".elementor-widget-container",o=o.find("> "+e)}const a={type:n,interactions:s,elementSettings:t,$element:o,$dimensionsElement:i,refreshDimensions:this.isEdit,range:t[e+"_range"],classes:{element:"elementor-motion-effects-element",parent:"elementor-motion-effects-parent",backgroundType:"elementor-motion-effects-element-type-background",container:"elementor-motion-effects-container",layer:"elementor-motion-effects-layer",perspective:"elementor-motion-effects-perspective"}};return a.range||"fixed"!==this.getCurrentDeviceSetting("_position")||(a.range="page"),"fixed"===this.getCurrentDeviceSetting("_position")&&(a.isFixedPosition=!0),"background"===n&&"column"===this.getElementType()&&(a.addBackgroundLayerTo=" > .elementor-element-populated"),a}activate(e){const t=this.prepareOptions(e);jQuery.isEmptyObject(t.interactions)||(this[e]=new i.default(t))}deactivate(e){this[e]&&(this[e].destroy(),delete this[e])}toggle(){const e=elementorFrontend.getCurrentDeviceMode(),t=this.getElementSettings();["motion_fx","background_motion_fx"].forEach((n=>{const s=t[n+"_devices"];(!s||-1!==s.indexOf(e))&&(t[n+"_motion_fx_scrolling"]||t[n+"_motion_fx_mouse"])?this[n]?this.refreshInstance(n):this.activate(n):this.deactivate(n)}))}refreshInstance(e){const t=this[e];if(!t)return;const n=this.prepareOptions(e);t.setSettings(n),t.refresh()}onInit(){super.onInit(),this.initEffects(),this.addCSSTransformEvents(),this.toggle()}onElementChange(e){if(/motion_fx_((scrolling)|(mouse)|(devices))$/.test(e))return"motion_fx_motion_fx_scrolling"===e&&this.addCSSTransformEvents(),void this.toggle();const t=e.match(".*?(motion_fx|_transform)");if(t){const e=t[0].match("(_transform)")?"motion_fx":t[0];this.refreshInstance(e),this[e]||this.activate(e)}/^_position/.test(e)&&["motion_fx","background_motion_fx"].forEach((e=>{this.refreshInstance(e)}))}onDestroy(){super.onDestroy(),["motion_fx","background_motion_fx"].forEach((e=>{this.deactivate(e)}))}}t.default=_default},3039:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{getMovePointFromPassedPercents(e,t){return+(t/e*100).toFixed(2)}getEffectValueFromMovePoint(e,t){return e*t/100}getStep(e,t){return"element"===this.getSettings("type")?this.getElementStep(e,t):this.getBackgroundStep(e,t)}getElementStep(e,t){return-(e-50)*t.speed}getBackgroundStep(e,t){const n=this.getSettings("dimensions.movable"+t.axis.toUpperCase());return-this.getEffectValueFromMovePoint(n,e)}getDirectionMovePoint(e,t,n){let s;return e<n.start?"out-in"===t?s=0:"in-out"===t?s=100:(s=this.getMovePointFromPassedPercents(n.start,e),"in-out-in"===t&&(s=100-s)):e<n.end?"in-out-in"===t?s=0:"out-in-out"===t?s=100:(s=this.getMovePointFromPassedPercents(n.end-n.start,e-n.start),"in-out"===t&&(s=100-s)):"in-out"===t?s=0:"out-in"===t?s=100:(s=this.getMovePointFromPassedPercents(100-n.end,100-e),"in-out-in"===t&&(s=100-s)),s}translateX(e,t){e.axis="x",e.unit="px",this.transform("translateX",t,e)}translateY(e,t){e.axis="y",e.unit="px",this.transform("translateY",t,e)}translateXY(e,t,n){this.translateX(e,t),this.translateY(e,n)}tilt(e,t,n){const s={speed:e.speed/10,direction:e.direction};this.rotateX(s,n),this.rotateY(s,100-t)}rotateX(e,t){e.axis="x",e.unit="deg",this.transform("rotateX",t,e)}rotateY(e,t){e.axis="y",e.unit="deg",this.transform("rotateY",t,e)}rotateZ(e,t){e.unit="deg",this.transform("rotateZ",t,e)}scale(e,t){const n=this.getDirectionMovePoint(t,e.direction,e.range);this.updateRulePart("transform","scale",1+e.speed*n/1e3)}transform(e,t,n){n.direction&&(t=100-t),this.updateRulePart("transform",e,this.getStep(t,n)+n.unit)}setCSSTransformVariables(e){this.CSSTransformVariables=[],jQuery.each(e,((e,t)=>{const n=e.match(/_transform_(.+?)_effect/m);if(n&&t){if("perspective"===n[1])return void this.CSSTransformVariables.unshift(n[1]);if(this.CSSTransformVariables.includes(n[1]))return;this.CSSTransformVariables.push(n[1])}}))}opacity(e,t){const n=this.getDirectionMovePoint(t,e.direction,e.range),s=e.level/10,i=1-s+this.getEffectValueFromMovePoint(s,n);this.$element.css({opacity:i,"will-change":"opacity"})}blur(e,t){const n=this.getDirectionMovePoint(t,e.direction,e.range),s=e.level-this.getEffectValueFromMovePoint(e.level,n);this.updateRulePart("filter","blur",s+"px")}updateRulePart(e,t,n){this.rulesVariables[e]||(this.rulesVariables[e]={}),this.rulesVariables[e][t]||(this.rulesVariables[e][t]=!0,this.updateRule(e));const s=`--${t}`;this.$element[0].style.setProperty(s,n)}updateRule(e){let t="";t+=this.concatTransformCSSProperties(e),t+=this.concatTransformMotionEffectCSSProperties(e),this.$element.css(e,t)}concatTransformCSSProperties(e){let t="";return"transform"===e&&jQuery.each(this.CSSTransformVariables,((e,n)=>{const s=n;n.startsWith("flip")&&(n=n.replace("flip","scale"));const i=n.startsWith("rotate")||n.startsWith("skew")?"deg":"px",o=n.startsWith("scale")?1:0+i;t+=`${n}(var(--e-transform-${s}, ${o}))`})),t}concatTransformMotionEffectCSSProperties(e){let t="";return jQuery.each(this.rulesVariables[e],(e=>{t+=`${e}(var(--${e}))`})),t}runAction(e,t,n){t.affectedRange&&(t.affectedRange.start>n&&(n=t.affectedRange.start),t.affectedRange.end<n&&(n=t.affectedRange.end));for(var s=arguments.length,i=new Array(s>3?s-3:0),o=3;o<s;o++)i[o-3]=arguments[o];this[e](t,n,...i)}refresh(){this.rulesVariables={},this.CSSTransformVariables=[],this.$element.css({transform:"",filter:"",opacity:"","will-change":""})}onInit(){this.$element=this.getSettings("$targetElement"),this.refresh()}}t.default=_default},3323:(e,t,n)=>{"use strict";var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=s(n(5707));class _default extends elementorModules.ViewModule{constructor(){super(...arguments),(0,i.default)(this,"onInsideViewport",(()=>{this.run(),this.animationFrameRequest=requestAnimationFrame(this.onInsideViewport)}))}__construct(e){this.motionFX=e.motionFX,this.intersectionObservers||this.setElementInViewportObserver()}setElementInViewportObserver(){this.intersectionObserver=elementorModules.utils.Scroll.scrollObserver({callback:e=>{e.isInViewport?this.onInsideViewport():this.removeAnimationFrameRequest()}});const e="page"===this.motionFX.getSettings("range")?elementorFrontend.elements.$body[0]:this.motionFX.elements.$parent[0];this.intersectionObserver.observe(e)}runCallback(){this.getSettings("callback")(...arguments)}removeIntersectionObserver(){this.intersectionObserver&&this.intersectionObserver.unobserve(this.motionFX.elements.$parent[0])}removeAnimationFrameRequest(){this.animationFrameRequest&&cancelAnimationFrame(this.animationFrameRequest)}destroy(){this.removeAnimationFrameRequest(),this.removeIntersectionObserver()}onInit(){super.onInit()}}t.default=_default},5481:(e,t,n)=>{"use strict";var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=s(n(3323));class MouseMoveInteraction extends i.default{bindEvents(){MouseMoveInteraction.mouseTracked||(elementorFrontend.elements.$window.on("mousemove",MouseMoveInteraction.updateMousePosition),MouseMoveInteraction.mouseTracked=!0)}run(){const e=MouseMoveInteraction.mousePosition,t=this.oldMousePosition;if(t.x===e.x&&t.y===e.y)return;this.oldMousePosition={x:e.x,y:e.y};const n=100/innerWidth*e.x,s=100/innerHeight*e.y;this.runCallback(n,s)}onInit(){this.oldMousePosition={},super.onInit()}}t.default=MouseMoveInteraction,MouseMoveInteraction.mousePosition={},MouseMoveInteraction.updateMousePosition=e=>{MouseMoveInteraction.mousePosition={x:e.clientX,y:e.clientY}}},2647:(e,t,n)=>{"use strict";var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=s(n(3323));class _default extends i.default{run(){if(pageYOffset===this.windowScrollTop)return!1;this.onScrollMovement(),this.windowScrollTop=pageYOffset}onScrollMovement(){this.updateMotionFxDimensions(),this.updateAnimation(),this.resetTransitionVariable()}resetTransitionVariable(){this.motionFX.$element.css("--e-transform-transition-duration","100ms")}updateMotionFxDimensions(){this.motionFX.getSettings().refreshDimensions&&this.motionFX.defineDimensions()}updateAnimation(){let e;e="page"===this.motionFX.getSettings("range")?elementorModules.utils.Scroll.getPageScrollPercentage():this.motionFX.getSettings("isFixedPosition")?elementorModules.utils.Scroll.getPageScrollPercentage({},window.innerHeight):elementorModules.utils.Scroll.getElementViewportPercentage(this.motionFX.elements.$parent),this.runCallback(e)}}t.default=_default},739:(e,t,n)=>{"use strict";var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=s(n(2647)),o=s(n(5481)),r=s(n(3039));class _default extends elementorModules.ViewModule{getDefaultSettings(){return{type:"element",$element:null,$dimensionsElement:null,addBackgroundLayerTo:null,interactions:{},refreshDimensions:!1,range:"viewport",classes:{element:"motion-fx-element",parent:"motion-fx-parent",backgroundType:"motion-fx-element-type-background",container:"motion-fx-container",layer:"motion-fx-layer",perspective:"motion-fx-perspective"}}}bindEvents(){this.defineDimensions=this.defineDimensions.bind(this),elementorFrontend.elements.$window.on("resize elementor-pro/motion-fx/recalc",this.defineDimensions)}unbindEvents(){elementorFrontend.elements.$window.off("resize elementor-pro/motion-fx/recalc",this.defineDimensions)}addBackgroundLayer(){const e=this.getSettings();this.elements.$motionFXContainer=jQuery("<div>",{class:e.classes.container}),this.elements.$motionFXLayer=jQuery("<div>",{class:e.classes.layer}),this.updateBackgroundLayerSize(),this.elements.$motionFXContainer.prepend(this.elements.$motionFXLayer);(e.addBackgroundLayerTo?this.$element.find(e.addBackgroundLayerTo):this.$element).prepend(this.elements.$motionFXContainer)}removeBackgroundLayer(){this.elements.$motionFXContainer.remove()}updateBackgroundLayerSize(){const e=this.getSettings(),t={x:0,y:0},n=e.interactions.mouseMove,s=e.interactions.scroll;n&&n.translateXY&&(t.x=10*n.translateXY.speed,t.y=10*n.translateXY.speed),s&&(s.translateX&&(t.x=10*s.translateX.speed),s.translateY&&(t.y=10*s.translateY.speed)),this.elements.$motionFXLayer.css({width:100+t.x+"%",height:100+t.y+"%"})}defineDimensions(){const e=this.getSettings("$dimensionsElement")||this.$element,t=e.offset(),n={elementHeight:e.outerHeight(),elementWidth:e.outerWidth(),elementTop:t.top,elementLeft:t.left};n.elementRange=n.elementHeight+innerHeight,this.setSettings("dimensions",n),"background"===this.getSettings("type")&&this.defineBackgroundLayerDimensions()}defineBackgroundLayerDimensions(){const e=this.getSettings("dimensions");e.layerHeight=this.elements.$motionFXLayer.height(),e.layerWidth=this.elements.$motionFXLayer.width(),e.movableX=e.layerWidth-e.elementWidth,e.movableY=e.layerHeight-e.elementHeight,this.setSettings("dimensions",e)}initInteractionsTypes(){this.interactionsTypes={scroll:i.default,mouseMove:o.default}}prepareSpecialActions(){const e=this.getSettings(),t=!(!e.interactions.mouseMove||!e.interactions.mouseMove.tilt);this.elements.$parent.toggleClass(e.classes.perspective,t)}cleanSpecialActions(){const e=this.getSettings();this.elements.$parent.removeClass(e.classes.perspective)}runInteractions(){var e=this;const t=this.getSettings();this.actions.setCSSTransformVariables(t.elementSettings),this.prepareSpecialActions(),jQuery.each(t.interactions,((t,n)=>{this.interactions[t]=new this.interactionsTypes[t]({motionFX:this,callback:function(){for(var t=arguments.length,s=new Array(t),i=0;i<t;i++)s[i]=arguments[i];jQuery.each(n,((t,n)=>e.actions.runAction(t,n,...s)))}}),this.interactions[t].run()}))}destroyInteractions(){this.cleanSpecialActions(),jQuery.each(this.interactions,((e,t)=>t.destroy())),this.interactions={}}refresh(){this.actions.setSettings(this.getSettings()),"background"===this.getSettings("type")&&(this.updateBackgroundLayerSize(),this.defineBackgroundLayerDimensions()),this.actions.refresh(),this.destroyInteractions(),this.runInteractions()}destroy(){this.destroyInteractions(),this.actions.refresh();const e=this.getSettings();this.$element.removeClass(e.classes.element),this.elements.$parent.removeClass(e.classes.parent),"background"===e.type&&(this.$element.removeClass(e.classes.backgroundType),this.removeBackgroundLayer())}onInit(){super.onInit();const e=this.getSettings();this.$element=e.$element,this.elements.$parent=this.$element.parent(),this.$element.addClass(e.classes.element),this.elements.$parent=this.$element.parent(),this.elements.$parent.addClass(e.classes.parent),"background"===e.type&&(this.$element.addClass(e.classes.backgroundType),this.addBackgroundLayer()),this.defineDimensions(),e.$targetElement="element"===e.type?this.$element:this.elements.$motionFXLayer,this.interactions={},this.actions=new r.default(e),this.initInteractionsTypes(),this.runInteractions()}}t.default=_default},8098:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("paypal-button",(()=>n.e(375).then(n.bind(n,466)))),elementorFrontend.elementsHandler.attachHandler("stripe-button",(()=>Promise.all([n.e(234),n.e(857)]).then(n.bind(n,9036))))}}t.default=_default},6275:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("progress-tracker",(()=>n.e(581).then(n.bind(n,287))))}}t.default=_default},2450:(e,t,n)=>{"use strict";var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=s(n(2121));class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("section",i.default,null),elementorFrontend.elementsHandler.attachHandler("container",i.default,null),elementorFrontend.elementsHandler.attachHandler("widget",i.default,null)}}t.default=_default},2121:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=elementorModules.frontend.handlers.Base.extend({currentConfig:{},debouncedReactivate:null,bindEvents(){elementorFrontend.addListenerOnce(this.getUniqueHandlerID()+"sticky","resize",this.reactivateOnResize)},unbindEvents(){elementorFrontend.removeListeners(this.getUniqueHandlerID()+"sticky","resize",this.reactivateOnResize)},isStickyInstanceActive(){return void 0!==this.$element.data("sticky")},getResponsiveSetting(e){const t=this.getElementSettings();return elementorFrontend.getCurrentDeviceSetting(t,e)},getResponsiveSettingList:e=>["",...Object.keys(elementorFrontend.config.responsive.activeBreakpoints)].map((t=>t?`${e}_${t}`:e)),getConfig(){const e=this.getElementSettings(),t={to:e.sticky,offset:this.getResponsiveSetting("sticky_offset"),effectsOffset:this.getResponsiveSetting("sticky_effects_offset"),classes:{sticky:"elementor-sticky",stickyActive:"elementor-sticky--active elementor-section--handles-inside",stickyEffects:"elementor-sticky--effects",spacer:"elementor-sticky__spacer"},isRTL:elementorFrontend.config.is_rtl,handleScrollbarWidth:elementorFrontend.isEditMode()},n=elementorFrontend.elements.$wpAdminBar,s=this.isContainerElement(this.$element[0])&&!this.isContainerElement(this.$element[0].parentElement);return n.length&&"top"===e.sticky&&"fixed"===n.css("position")&&(t.offset+=n.height()),e.sticky_parent&&!s&&(t.parent=".e-container, .e-container__inner, .e-con, .e-con-inner, .elementor-widget-wrap"),t},activate(){this.currentConfig=this.getConfig(),this.$element.sticky(this.currentConfig)},deactivate(){this.isStickyInstanceActive()&&this.$element.sticky("destroy")},run(e){if(this.getElementSettings("sticky")){var t=elementorFrontend.getCurrentDeviceMode();-1!==this.getElementSettings("sticky_on").indexOf(t)?!0===e?this.reactivate():this.isStickyInstanceActive()||this.activate():this.deactivate()}else this.deactivate()},reactivateOnResize(){clearTimeout(this.debouncedReactivate),this.debouncedReactivate=setTimeout((()=>{const e=this.getConfig();JSON.stringify(e)!==JSON.stringify(this.currentConfig)&&this.run(!0)}),300)},reactivate(){this.deactivate(),this.activate()},onElementChange(e){-1!==["sticky","sticky_on"].indexOf(e)&&this.run(!0);-1!==[...this.getResponsiveSettingList("sticky_offset"),...this.getResponsiveSettingList("sticky_effects_offset"),"sticky_parent"].indexOf(e)&&this.reactivate()},onDeviceModeChange(){setTimeout((()=>this.run(!0)))},onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),elementorFrontend.isEditMode()&&elementor.listenTo(elementor.channels.deviceMode,"change",(()=>this.onDeviceModeChange())),this.run()},onDestroy(){elementorModules.frontend.handlers.Base.prototype.onDestroy.apply(this,arguments),this.deactivate()},isContainerElement:e=>["e-container","e-container__inner","e-con","e-con-inner"].some((t=>e?.classList.contains(t)))})},7937:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.hooks.addAction("frontend/element_ready/video-playlist.default",(e=>{n.e(519).then(n.bind(n,4161)).then((t=>{let{default:n}=t;elementorFrontend.elementsHandler.addHandler(n,{$element:e,toggleSelf:!1})}))}))}}t.default=_default},5707:(e,t,n)=>{var s=n(5498);e.exports=function _defineProperty(e,t,n){return(t=s(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},6784:e=>{e.exports=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},1327:(e,t,n)=>{var s=n(564).default;e.exports=function toPrimitive(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=s(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},5498:(e,t,n)=>{var s=n(564).default,i=n(1327);e.exports=function toPropertyKey(e){var t=i(e,"string");return"symbol"==s(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},564:e=>{function _typeof(t){return e.exports=_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,_typeof(t)}e.exports=_typeof,e.exports.__esModule=!0,e.exports.default=e.exports}},e=>{var t;t=3e3,e(e.s=t)}]);/*! jQuery UI - v1.13.3 - 2024-04-26
* https://jqueryui.com
* Includes: widget.js, position.js, data.js, disable-selection.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/draggable.js, widgets/droppable.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/resizable.js, widgets/selectable.js, widgets/selectmenu.js, widgets/slider.js, widgets/sortable.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js
* Copyright jQuery Foundation and other contributors; Licensed MIT */
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(x){"use strict";var t,e,i,n,W,C,o,s,r,l,a,h,u;function E(t,e,i){return[parseFloat(t[0])*(a.test(t[0])?e/100:1),parseFloat(t[1])*(a.test(t[1])?i/100:1)]}function L(t,e){return parseInt(x.css(t,e),10)||0}function N(t){return null!=t&&t===t.window}x.ui=x.ui||{},x.ui.version="1.13.3",
/*!
 * jQuery UI :data 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
x.extend(x.expr.pseudos,{data:x.expr.createPseudo?x.expr.createPseudo(function(e){return function(t){return!!x.data(t,e)}}):function(t,e,i){return!!x.data(t,i[3])}}),
/*!
 * jQuery UI Disable Selection 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
x.fn.extend({disableSelection:(t="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}}),
/*!
 * jQuery UI Focusable 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
x.ui.focusable=function(t,e){var i,n,o,s=t.nodeName.toLowerCase();return"area"===s?(o=(i=t.parentNode).name,!(!t.href||!o||"map"!==i.nodeName.toLowerCase())&&0<(i=x("img[usemap='#"+o+"']")).length&&i.is(":visible")):(/^(input|select|textarea|button|object)$/.test(s)?(n=!t.disabled)&&(o=x(t).closest("fieldset")[0])&&(n=!o.disabled):n="a"===s&&t.href||e,n&&x(t).is(":visible")&&function(t){var e=t.css("visibility");for(;"inherit"===e;)t=t.parent(),e=t.css("visibility");return"visible"===e}(x(t)))},x.extend(x.expr.pseudos,{focusable:function(t){return x.ui.focusable(t,null!=x.attr(t,"tabindex"))}}),x.fn._form=function(){return"string"==typeof this[0].form?this.closest("form"):x(this[0].form)},
/*!
 * jQuery UI Form Reset Mixin 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
x.ui.formResetMixin={_formResetHandler:function(){var e=x(this);setTimeout(function(){var t=e.data("ui-form-reset-instances");x.each(t,function(){this.refresh()})})},_bindFormResetHandler:function(){var t;this.form=this.element._form(),this.form.length&&((t=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t))},_unbindFormResetHandler:function(){var t;this.form.length&&((t=this.form.data("ui-form-reset-instances")).splice(x.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}},x.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),
/*!
 * jQuery UI Support for jQuery core 1.8.x and newer 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 *
 */
x.expr.pseudos||(x.expr.pseudos=x.expr[":"]),x.uniqueSort||(x.uniqueSort=x.unique),x.escapeSelector||(e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,i=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},x.escapeSelector=function(t){return(t+"").replace(e,i)}),x.fn.even&&x.fn.odd||x.fn.extend({even:function(){return this.filter(function(t){return t%2==0})},odd:function(){return this.filter(function(t){return t%2==1})}}),
/*!
 * jQuery UI Keycode 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
x.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},
/*!
 * jQuery UI Labels 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
x.fn.labels=function(){var t,e,i;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(e=this.eq(0).parents("label"),(t=this.attr("id"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),t="label[for='"+x.escapeSelector(t)+"']",e=e.add(i.find(t).addBack(t))),this.pushStack(e)):this.pushStack([])},x.ui.plugin={add:function(t,e,i){var n,o=x.ui[t].prototype;for(n in i)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([e,i[n]])},call:function(t,e,i,n){var o,s=t.plugins[e];if(s&&(n||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(o=0;o<s.length;o++)t.options[s[o][0]]&&s[o][1].apply(t.element,i)}},
/*!
 * jQuery UI Position 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 *
 * https://api.jqueryui.com/position/
 */
W=Math.max,C=Math.abs,o=/left|center|right/,s=/top|center|bottom/,r=/[\+\-]\d+(\.[\d]+)?%?/,l=/^\w+/,a=/%$/,h=x.fn.position,x.position={scrollbarWidth:function(){var t,e,i;return void 0!==n?n:(i=(e=x("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>")).children()[0],x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),n=t-i)},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.width<t.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight?x.position.scrollbarWidth():0,height:e?x.position.scrollbarWidth():0}},getWithinInfo:function(t){var e=x(t||window),i=N(e[0]),n=!!e[0]&&9===e[0].nodeType;return{element:e,isWindow:i,isDocument:n,offset:!i&&!n?x(t).offset():{left:0,top:0},scrollLeft:e.scrollLeft(),scrollTop:e.scrollTop(),width:e.outerWidth(),height:e.outerHeight()}}},x.fn.position=function(f){var c,d,p,g,m,v,y,w,b,_,t,e;return f&&f.of?(v="string"==typeof(f=x.extend({},f)).of?x(document).find(f.of):x(f.of),y=x.position.getWithinInfo(f.within),w=x.position.getScrollInfo(y),b=(f.collision||"flip").split(" "),_={},e=9===(e=(t=v)[0]).nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:N(e)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:e.preventDefault?{width:0,height:0,offset:{top:e.pageY,left:e.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()},v[0].preventDefault&&(f.at="left top"),d=e.width,p=e.height,m=x.extend({},g=e.offset),x.each(["my","at"],function(){var t,e,i=(f[this]||"").split(" ");(i=1===i.length?o.test(i[0])?i.concat(["center"]):s.test(i[0])?["center"].concat(i):["center","center"]:i)[0]=o.test(i[0])?i[0]:"center",i[1]=s.test(i[1])?i[1]:"center",t=r.exec(i[0]),e=r.exec(i[1]),_[this]=[t?t[0]:0,e?e[0]:0],f[this]=[l.exec(i[0])[0],l.exec(i[1])[0]]}),1===b.length&&(b[1]=b[0]),"right"===f.at[0]?m.left+=d:"center"===f.at[0]&&(m.left+=d/2),"bottom"===f.at[1]?m.top+=p:"center"===f.at[1]&&(m.top+=p/2),c=E(_.at,d,p),m.left+=c[0],m.top+=c[1],this.each(function(){var i,t,r=x(this),l=r.outerWidth(),a=r.outerHeight(),e=L(this,"marginLeft"),n=L(this,"marginTop"),o=l+e+L(this,"marginRight")+w.width,s=a+n+L(this,"marginBottom")+w.height,h=x.extend({},m),u=E(_.my,r.outerWidth(),r.outerHeight());"right"===f.my[0]?h.left-=l:"center"===f.my[0]&&(h.left-=l/2),"bottom"===f.my[1]?h.top-=a:"center"===f.my[1]&&(h.top-=a/2),h.left+=u[0],h.top+=u[1],i={marginLeft:e,marginTop:n},x.each(["left","top"],function(t,e){x.ui.position[b[t]]&&x.ui.position[b[t]][e](h,{targetWidth:d,targetHeight:p,elemWidth:l,elemHeight:a,collisionPosition:i,collisionWidth:o,collisionHeight:s,offset:[c[0]+u[0],c[1]+u[1]],my:f.my,at:f.at,within:y,elem:r})}),f.using&&(t=function(t){var e=g.left-h.left,i=e+d-l,n=g.top-h.top,o=n+p-a,s={target:{element:v,left:g.left,top:g.top,width:d,height:p},element:{element:r,left:h.left,top:h.top,width:l,height:a},horizontal:i<0?"left":0<e?"right":"center",vertical:o<0?"top":0<n?"bottom":"middle"};d<l&&C(e+i)<d&&(s.horizontal="center"),p<a&&C(n+o)<p&&(s.vertical="middle"),W(C(e),C(i))>W(C(n),C(o))?s.important="horizontal":s.important="vertical",f.using.call(this,t,s)}),r.offset(x.extend(h,{using:t}))})):h.apply(this,arguments)},x.ui.position={fit:{left:function(t,e){var i,n=e.within,o=n.isWindow?n.scrollLeft:n.offset.left,n=n.width,s=t.left-e.collisionPosition.marginLeft,r=o-s,l=s+e.collisionWidth-n-o;e.collisionWidth>n?0<r&&l<=0?(i=t.left+r+e.collisionWidth-n-o,t.left+=r-i):t.left=!(0<l&&r<=0)&&l<r?o+n-e.collisionWidth:o:0<r?t.left+=r:0<l?t.left-=l:t.left=W(t.left-s,t.left)},top:function(t,e){var i,n=e.within,n=n.isWindow?n.scrollTop:n.offset.top,o=e.within.height,s=t.top-e.collisionPosition.marginTop,r=n-s,l=s+e.collisionHeight-o-n;e.collisionHeight>o?0<r&&l<=0?(i=t.top+r+e.collisionHeight-o-n,t.top+=r-i):t.top=!(0<l&&r<=0)&&l<r?n+o-e.collisionHeight:n:0<r?t.top+=r:0<l?t.top-=l:t.top=W(t.top-s,t.top)}},flip:{left:function(t,e){var i=e.within,n=i.offset.left+i.scrollLeft,o=i.width,i=i.isWindow?i.scrollLeft:i.offset.left,s=t.left-e.collisionPosition.marginLeft,r=s-i,s=s+e.collisionWidth-o-i,l="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,a="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,h=-2*e.offset[0];r<0?((o=t.left+l+a+h+e.collisionWidth-o-n)<0||o<C(r))&&(t.left+=l+a+h):0<s&&(0<(n=t.left-e.collisionPosition.marginLeft+l+a+h-i)||C(n)<s)&&(t.left+=l+a+h)},top:function(t,e){var i=e.within,n=i.offset.top+i.scrollTop,o=i.height,i=i.isWindow?i.scrollTop:i.offset.top,s=t.top-e.collisionPosition.marginTop,r=s-i,s=s+e.collisionHeight-o-i,l="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,a="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,h=-2*e.offset[1];r<0?((o=t.top+l+a+h+e.collisionHeight-o-n)<0||o<C(r))&&(t.top+=l+a+h):0<s&&(0<(n=t.top-e.collisionPosition.marginTop+l+a+h-i)||C(n)<s)&&(t.top+=l+a+h)}},flipfit:{left:function(){x.ui.position.flip.left.apply(this,arguments),x.ui.position.fit.left.apply(this,arguments)},top:function(){x.ui.position.flip.top.apply(this,arguments),x.ui.position.fit.top.apply(this,arguments)}}},x.ui.safeActiveElement=function(e){var i;try{i=e.activeElement}catch(t){i=e.body}return i=(i=i||e.body).nodeName?i:e.body},x.ui.safeBlur=function(t){t&&"body"!==t.nodeName.toLowerCase()&&x(t).trigger("blur")},
/*!
 * jQuery UI Scroll Parent 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
x.fn.scrollParent=function(t){var e=this.css("position"),i="absolute"===e,n=t?/(auto|scroll|hidden)/:/(auto|scroll)/,t=this.parents().filter(function(){var t=x(this);return(!i||"static"!==t.css("position"))&&n.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&t.length?t:x(this[0].ownerDocument||document)},
/*!
 * jQuery UI Tabbable 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
x.extend(x.expr.pseudos,{tabbable:function(t){var e=x.attr(t,"tabindex"),i=null!=e;return(!i||0<=e)&&x.ui.focusable(t,i)}}),
/*!
 * jQuery UI Unique ID 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
x.fn.extend({uniqueId:(u=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++u)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&x(this).removeAttr("id")})}});
/*!
 * jQuery UI Widget 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
var f,c=0,d=Array.prototype.hasOwnProperty,p=Array.prototype.slice;x.cleanData=(f=x.cleanData,function(t){for(var e,i,n=0;null!=(i=t[n]);n++)(e=x._data(i,"events"))&&e.remove&&x(i).triggerHandler("remove");f(t)}),x.widget=function(t,i,e){var n,o,s,r={},l=t.split(".")[0],a=l+"-"+(t=t.split(".")[1]);return e||(e=i,i=x.Widget),Array.isArray(e)&&(e=x.extend.apply(null,[{}].concat(e))),x.expr.pseudos[a.toLowerCase()]=function(t){return!!x.data(t,a)},x[l]=x[l]||{},n=x[l][t],o=x[l][t]=function(t,e){if(!this||!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},x.extend(o,n,{version:e.version,_proto:x.extend({},e),_childConstructors:[]}),(s=new i).options=x.widget.extend({},s.options),x.each(e,function(e,n){function o(){return i.prototype[e].apply(this,arguments)}function s(t){return i.prototype[e].apply(this,t)}r[e]="function"!=typeof n?n:function(){var t,e=this._super,i=this._superApply;return this._super=o,this._superApply=s,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}}),o.prototype=x.widget.extend(s,{widgetEventPrefix:n&&s.widgetEventPrefix||t},r,{constructor:o,namespace:l,widgetName:t,widgetFullName:a}),n?(x.each(n._childConstructors,function(t,e){var i=e.prototype;x.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete n._childConstructors):i._childConstructors.push(o),x.widget.bridge(t,o),o},x.widget.extend=function(t){for(var e,i,n=p.call(arguments,1),o=0,s=n.length;o<s;o++)for(e in n[o])i=n[o][e],d.call(n[o],e)&&void 0!==i&&(x.isPlainObject(i)?t[e]=x.isPlainObject(t[e])?x.widget.extend({},t[e],i):x.widget.extend({},i):t[e]=i);return t},x.widget.bridge=function(s,e){var r=e.prototype.widgetFullName||s;x.fn[s]=function(i){var t="string"==typeof i,n=p.call(arguments,1),o=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=x.data(this,r);return"instance"===i?(o=e,!1):e?"function"!=typeof e[i]||"_"===i.charAt(0)?x.error("no such method '"+i+"' for "+s+" widget instance"):(t=e[i].apply(e,n))!==e&&void 0!==t?(o=t&&t.jquery?o.pushStack(t.get()):t,!1):void 0:x.error("cannot call methods on "+s+" prior to initialization; attempted to call method '"+i+"'")}):o=void 0:(n.length&&(i=x.widget.extend.apply(null,[i].concat(n))),this.each(function(){var t=x.data(this,r);t?(t.option(i||{}),t._init&&t._init()):x.data(this,r,new e(i,this))})),o}},x.Widget=function(){},x.Widget._childConstructors=[],x.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=c++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,n,o,s=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(s={},t=(i=t.split(".")).shift(),i.length){for(n=s[t]=x.widget.extend({},this.options[t]),o=0;o<i.length-1;o++)n[i[o]]=n[i[o]]||{},n=n[i[o]];if(t=i.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];s[t]=e}return this._setOptions(s),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,n;for(e in t)n=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&n&&n.length&&(i=x(n.get()),this._removeClass(n,e),i.addClass(this._classes({element:i,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(o){var s=[],r=this;function t(t,e){for(var i,n=0;n<t.length;n++)i=r.classesElementLookup[t[n]]||x(),i=o.add?(function(){var i=[];o.element.each(function(t,e){x.map(r.classesElementLookup,function(t){return t}).some(function(t){return t.is(e)})||i.push(e)}),r._on(x(i),{remove:"_untrackClassesElement"})}(),x(x.uniqueSort(i.get().concat(o.element.get())))):x(i.not(o.element).get()),r.classesElementLookup[t[n]]=i,s.push(t[n]),e&&o.classes[t[n]]&&s.push(o.classes[t[n]])}return(o=x.extend({element:this.element,classes:this.options.classes||{}},o)).keys&&t(o.keys.match(/\S+/g)||[],!0),o.extra&&t(o.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(i){var n=this;x.each(n.classesElementLookup,function(t,e){-1!==x.inArray(i.target,e)&&(n.classesElementLookup[t]=x(e.not(i.target).get()))}),this._off(x(i.target))},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,n){var o="string"==typeof t||null===t,e={extra:o?e:i,keys:o?t:e,element:o?this.element:t,add:n="boolean"==typeof n?n:i};return e.element.toggleClass(this._classes(e),n),this},_on:function(o,s,t){var r,l=this;"boolean"!=typeof o&&(t=s,s=o,o=!1),t?(s=r=x(s),this.bindings=this.bindings.add(s)):(t=s,s=this.element,r=this.widget()),x.each(t,function(t,e){function i(){if(o||!0!==l.options.disabled&&!x(this).hasClass("ui-state-disabled"))return("string"==typeof e?l[e]:e).apply(l,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||x.guid++);var t=t.match(/^([\w:-]*)\s*(.*)$/),n=t[1]+l.eventNamespace,t=t[2];t?r.on(n,t,i):s.on(n,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(e),this.bindings=x(this.bindings.not(t).get()),this.focusable=x(this.focusable.not(t).get()),this.hoverable=x(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(x(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(x(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,e,i){var n,o,s=this.options[t];if(i=i||{},(e=x.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],o=e.originalEvent)for(n in o)n in e||(e[n]=o[n]);return this.element.trigger(e,i),!("function"==typeof s&&!1===s.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},x.each({show:"fadeIn",hide:"fadeOut"},function(s,r){x.Widget.prototype["_"+s]=function(e,t,i){var n,o=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||r:s;"number"==typeof(t=t||{})?t={duration:t}:!0===t&&(t={}),n=!x.isEmptyObject(t),t.complete=i,t.delay&&e.delay(t.delay),n&&x.effects&&x.effects.effect[o]?e[s](t):o!==s&&e[o]?e[o](t.duration,t.easing,i):e.queue(function(t){x(this)[s](),i&&i.call(e[0]),t()})}})});/*! elementor - v3.24.0 - 09-10-2024 */
"use strict";(self.webpackChunkelementor=self.webpackChunkelementor||[]).push([[819],{9220:(e,t,n)=>{var o=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=o(n(8135));class _default extends elementorModules.ViewModule{constructor(){super(...arguments),this.documents={},this.initDocumentClasses(),this.attachDocumentsClasses()}getDefaultSettings(){return{selectors:{document:".elementor"}}}getDefaultElements(){const e=this.getSettings("selectors");return{$documents:jQuery(e.document)}}initDocumentClasses(){this.documentClasses={base:s.default},elementorFrontend.hooks.doAction("elementor/frontend/documents-manager/init-classes",this)}addDocumentClass(e,t){this.documentClasses[e]=t}attachDocumentsClasses(){this.elements.$documents.each(((e,t)=>this.attachDocumentClass(jQuery(t))))}attachDocumentClass(e){const t=e.data(),n=t.elementorId,o=t.elementorType,s=this.documentClasses[o]||this.documentClasses.base;this.documents[n]=new s({$element:e,id:n})}}t.default=_default},9804:(e,t,n)=>{var o=n(3203),s=o(n(6397)),i=o(n(8704)),r=o(n(4985)),a=o(n(7537)),l=o(n(355)),d=o(n(2804)),c=o(n(3384));e.exports=function(e){var t=this;const o={};this.elementsHandlers={"accordion.default":()=>n.e(209).then(n.bind(n,8470)),"alert.default":()=>n.e(745).then(n.bind(n,9269)),"counter.default":()=>n.e(120).then(n.bind(n,7884)),"progress.default":()=>n.e(192).then(n.bind(n,1351)),"tabs.default":()=>n.e(520).then(n.bind(n,9459)),"toggle.default":()=>n.e(181).then(n.bind(n,2)),"video.default":()=>n.e(791).then(n.bind(n,5363)),"image-carousel.default":()=>n.e(268).then(n.bind(n,5914)),"text-editor.default":()=>n.e(357).then(n.bind(n,1327)),"wp-widget-media_audio.default":()=>n.e(52).then(n.bind(n,7602))},elementorFrontendConfig.experimentalFeatures["nested-elements"]&&(this.elementsHandlers["nested-tabs.default"]=()=>Promise.resolve().then(n.bind(n,7323))),elementorFrontendConfig.experimentalFeatures["nested-elements"]&&(this.elementsHandlers["nested-accordion.default"]=()=>Promise.resolve().then(n.bind(n,32))),elementorFrontendConfig.experimentalFeatures.container&&(this.elementsHandlers["contact-buttons.default"]=()=>Promise.resolve().then(n.bind(n,5877)),this.elementsHandlers["floating-bars-var-1.default"]=()=>Promise.resolve().then(n.bind(n,7712)));const addElementsHandlers=()=>{this.elementsHandlers.section=[d.default,...i.default,l.default,c.default],this.elementsHandlers.container=[...i.default],elementorFrontend.isEditMode()&&this.elementsHandlers.container.push(...r.default),this.elementsHandlers.column=a.default,e.each(this.elementsHandlers,((e,t)=>{const n=e.split(".");e=n[0];const o=n[1]||null;this.attachHandler(e,t,o)}))},isClassHandler=e=>e.prototype?.getUniqueHandlerID;this.addHandler=function(t,n){const s=n.$element.data("model-cid");let i;if(s){i=t.prototype.getConstructorID(),o[s]||(o[s]={});const e=o[s][i];e&&e.onDestroy()}const r=new t(n);elementorFrontend.hooks.doAction(`frontend/element_handler_ready/${n.elementName}`,n.$element,e),s&&(o[s][i]=r)},this.attachHandler=(e,n,o)=>{Array.isArray(n)||(n=[n]),n.forEach((n=>function(e,n){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"default";o=o?"."+o:"";const s=e+o;elementorFrontend.hooks.addAction(`frontend/element_ready/${s}`,(e=>{if(isClassHandler(n))t.addHandler(n,{$element:e,elementName:s},!0);else{const o=n();if(!o)return;o instanceof Promise?o.then((n=>{let{default:o}=n;t.addHandler(o,{$element:e,elementName:s},!0)})):t.addHandler(o,{$element:e,elementName:s},!0)}}))}(e,n,o)))},this.getHandler=function(e){const t=this.elementsHandlers[e];return isClassHandler(t)?t:new Promise((e=>{t().then((t=>{let{default:n}=t;e(n)}))}))},this.getHandlers=function(e){return elementorDevTools.deprecation.deprecated("getHandlers","3.1.0","elementorFrontend.elementsHandler.getHandler"),e?this.getHandler(e):this.elementsHandlers},this.runReadyTrigger=function(t){const n=!!t.closest('[data-delay-child-handlers="true"]')&&0!==t.closest('[data-delay-child-handlers="true"]').length;if(elementorFrontend.config.is_static||n)return;const o=jQuery(t),s=o.attr("data-element_type");if(s&&(elementorFrontend.hooks.doAction("frontend/element_ready/global",o,e),elementorFrontend.hooks.doAction(`frontend/element_ready/${s}`,o,e),"widget"===s)){const t=o.attr("data-widget_type");elementorFrontend.hooks.doAction(`frontend/element_ready/${t}`,o,e)}},this.init=()=>{elementorFrontend.hooks.addAction("frontend/element_ready/global",s.default),addElementsHandlers()}}},5654:(e,t,n)=>{var o=n(3203);n(59);var s=o(n(9220)),i=o(n(5107)),r=o(n(3308)),a=o(n(1604)),l=o(n(1911)),d=o(n(4773)),c=o(n(2064)),u=o(n(8628)),h=o(n(8646)),m=o(n(6866)),g=o(n(4375)),p=o(n(6404)),f=o(n(6046)),v=o(n(1322)),b=n(6028);const y=n(9469),_=n(9804),w=n(3346);class Frontend extends elementorModules.ViewModule{constructor(){super(...arguments),this.config=elementorFrontendConfig,this.config.legacyMode={get elementWrappers(){return elementorFrontend.isEditMode()&&window.top.elementorDevTools.deprecation.deprecated("elementorFrontend.config.legacyMode.elementWrappers","3.1.0"),!1}},this.populateActiveBreakpointsConfig()}get Module(){return this.isEditMode()&&parent.elementorDevTools.deprecation.deprecated("elementorFrontend.Module","2.5.0","elementorModules.frontend.handlers.Base"),elementorModules.frontend.handlers.Base}getDefaultSettings(){return{selectors:{elementor:".elementor",adminBar:"#wpadminbar"}}}getDefaultElements(){const e={window,$window:jQuery(window),$document:jQuery(document),$head:jQuery(document.head),$body:jQuery(document.body),$deviceMode:jQuery("<span>",{id:"elementor-device-mode",class:"elementor-screen-only"})};return e.$body.append(e.$deviceMode),e}bindEvents(){this.elements.$window.on("resize",(()=>this.setDeviceModeData()))}getElements(e){return this.getItems(this.elements,e)}getPageSettings(e){const t=this.isEditMode()?elementor.settings.page.model.attributes:this.config.settings.page;return this.getItems(t,e)}getGeneralSettings(e){return this.isEditMode()&&parent.elementorDevTools.deprecation.deprecated("getGeneralSettings()","3.0.0","getKitSettings() and remove the `elementor_` prefix"),this.getKitSettings(`elementor_${e}`)}getKitSettings(e){return this.getItems(this.config.kit,e)}getCurrentDeviceMode(){return getComputedStyle(this.elements.$deviceMode[0],":after").content.replace(/"/g,"")}getDeviceSetting(e,t,n){if("widescreen"===e)return this.getWidescreenSetting(t,n);const o=elementorFrontend.breakpoints.getActiveBreakpointsList({largeToSmall:!0,withDesktop:!0});let s=o.indexOf(e);for(;s>0;){const e=t[n+"_"+o[s]];if(e||0===e)return e;s--}return t[n]}getWidescreenSetting(e,t){const n=t+"_widescreen";let o;return o=e[n]?e[n]:e[t],o}getCurrentDeviceSetting(e,t){return this.getDeviceSetting(elementorFrontend.getCurrentDeviceMode(),e,t)}isEditMode(){return this.config.environmentMode.edit}isWPPreviewMode(){return this.config.environmentMode.wpPreview}initDialogsManager(){let e;this.getDialogsManager=()=>(e||(e=new DialogsManager.Instance),e)}initOnReadyComponents(){this.utils={youtube:new a.default,vimeo:new l.default,baseVideoLoader:new d.default,anchors:new w,get lightbox(){return h.default.getLightbox()},urlActions:new c.default,swiper:u.default,environment:r.default,assetsLoader:new m.default,escapeHTML:b.escapeHTML,events:p.default,controls:new v.default},this.modules={StretchElement:elementorModules.frontend.tools.StretchElement,Masonry:elementorModules.utils.Masonry},this.elementsHandler.init(),this.isEditMode()?elementor.once("document:loaded",(()=>this.onDocumentLoaded())):this.onDocumentLoaded()}initOnReadyElements(){this.elements.$wpAdminBar=this.elements.$document.find(this.getSettings("selectors.adminBar"))}addUserAgentClasses(){for(const[e,t]of Object.entries(r.default))t&&this.elements.$body.addClass("e--ua-"+e)}setDeviceModeData(){this.elements.$body.attr("data-elementor-device-mode",this.getCurrentDeviceMode())}addListenerOnce(e,t,n,o){if(o||(o=this.elements.$window),this.isEditMode())if(this.removeListeners(e,t,o),o instanceof jQuery){const s=t+"."+e;o.on(s,n)}else o.on(t,n,e);else o.on(t,n)}removeListeners(e,t,n,o){if(o||(o=this.elements.$window),o instanceof jQuery){const s=t+"."+e;o.off(s,n)}else o.off(t,n,e)}debounce(e,t){let n;return function(){const o=this,s=arguments,i=!n;clearTimeout(n),n=setTimeout((()=>{n=null,e.apply(o,s)}),t),i&&e.apply(o,s)}}muteMigrationTraces(){jQuery.migrateMute=!0,jQuery.migrateTrace=!1}initModules(){const e={shapes:f.default};elementorFrontend.trigger("elementor/modules/init:before"),elementorFrontend.trigger("elementor/modules/init/before"),Object.entries(e).forEach((e=>{let[t,n]=e;this.modulesHandlers[t]=new n}))}populateActiveBreakpointsConfig(){this.config.responsive.activeBreakpoints={},Object.entries(this.config.responsive.breakpoints).forEach((e=>{let[t,n]=e;n.is_enabled&&(this.config.responsive.activeBreakpoints[t]=n)}))}init(){this.hooks=new y,this.breakpoints=new g.default(this.config.responsive),this.storage=new i.default,this.elementsHandler=new _(jQuery),this.modulesHandlers={},this.addUserAgentClasses(),this.setDeviceModeData(),this.initDialogsManager(),this.isEditMode()&&this.muteMigrationTraces(),p.default.dispatch(this.elements.$window,"elementor/frontend/init"),this.initModules(),this.initOnReadyElements(),this.initOnReadyComponents()}onDocumentLoaded(){this.documentsManager=new s.default,this.trigger("components:init"),new h.default}}window.elementorFrontend=new Frontend,elementorFrontend.isEditMode()||jQuery((()=>elementorFrontend.init()))},4058:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class BackgroundSlideshow extends elementorModules.frontend.handlers.SwiperBase{getDefaultSettings(){return{classes:{swiperContainer:`elementor-background-slideshow ${elementorFrontend.config.swiperClass}`,swiperWrapper:"swiper-wrapper",swiperSlide:"elementor-background-slideshow__slide swiper-slide",swiperPreloader:"swiper-lazy-preloader",slideBackground:"elementor-background-slideshow__slide__image",kenBurns:"elementor-ken-burns",kenBurnsActive:"elementor-ken-burns--active",kenBurnsIn:"elementor-ken-burns--in",kenBurnsOut:"elementor-ken-burns--out"}}}getSwiperOptions(){const e=this.getElementSettings(),t={grabCursor:!1,slidesPerView:1,slidesPerGroup:1,loop:"yes"===e.background_slideshow_loop,speed:e.background_slideshow_transition_duration,autoplay:{delay:e.background_slideshow_slide_duration,stopOnLastSlide:!e.background_slideshow_loop},handleElementorBreakpoints:!0,on:{slideChange:()=>{e.background_slideshow_ken_burns&&this.handleKenBurns()}}};switch("yes"===e.background_slideshow_loop&&(t.loopedSlides=this.getSlidesCount()),e.background_slideshow_slide_transition){case"fade":t.effect="fade",t.fadeEffect={crossFade:!0};break;case"slide_down":t.autoplay.reverseDirection=!0,t.direction="vertical";break;case"slide_up":t.direction="vertical"}return"yes"===e.background_slideshow_lazyload&&(t.lazy={loadPrevNext:!0,loadPrevNextAmount:1}),t}buildSwiperElements(){const e=this.getSettings("classes"),t=this.getElementSettings(),n="slide_left"===t.background_slideshow_slide_transition?"ltr":"rtl",o=jQuery("<div>",{class:e.swiperContainer,dir:n}),s=jQuery("<div>",{class:e.swiperWrapper}),i=t.background_slideshow_ken_burns,r="yes"===t.background_slideshow_lazyload;let a=e.slideBackground;if(i){a+=" "+e.kenBurns;const n="in"===t.background_slideshow_ken_burns_zoom_direction?"kenBurnsIn":"kenBurnsOut";a+=" "+e[n]}r&&(a+=" swiper-lazy"),this.elements.$slides=jQuery(),t.background_slideshow_gallery.forEach((t=>{const n=jQuery("<div>",{class:e.swiperSlide});let o;if(r){const n=jQuery("<div>",{class:e.swiperPreloader});o=jQuery("<div>",{class:a,"data-background":t.url}),o.append(n)}else o=jQuery("<div>",{class:a,style:'background-image: url("'+t.url+'");'});n.append(o),s.append(n),this.elements.$slides=this.elements.$slides.add(n)})),o.append(s),this.$element.prepend(o),this.elements.$backgroundSlideShowContainer=o}async initSlider(){if(1>=this.getSlidesCount())return;const e=this.getElementSettings(),t=elementorFrontend.utils.swiper;this.swiper=await new t(this.elements.$backgroundSlideShowContainer,this.getSwiperOptions()),this.elements.$backgroundSlideShowContainer.data("swiper",this.swiper),e.background_slideshow_ken_burns&&this.handleKenBurns()}activate(){this.buildSwiperElements(),this.initSlider()}deactivate(){this.swiper&&(this.swiper.destroy(),this.elements.$backgroundSlideShowContainer.remove())}run(){"slideshow"===this.getElementSettings("background_background")?this.activate():this.deactivate()}onInit(){super.onInit(),this.getElementSettings("background_slideshow_gallery")&&this.run()}onDestroy(){super.onDestroy(),this.deactivate()}onElementChange(e){"background_background"===e&&this.run()}}t.default=BackgroundSlideshow},9501:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class BackgroundVideo extends elementorModules.frontend.handlers.Base{getDefaultSettings(){return{selectors:{backgroundVideoContainer:".elementor-background-video-container",backgroundVideoEmbed:".elementor-background-video-embed",backgroundVideoHosted:".elementor-background-video-hosted"}}}getDefaultElements(){const e=this.getSettings("selectors"),t={$backgroundVideoContainer:this.$element.find(e.backgroundVideoContainer)};return t.$backgroundVideoEmbed=t.$backgroundVideoContainer.children(e.backgroundVideoEmbed),t.$backgroundVideoHosted=t.$backgroundVideoContainer.children(e.backgroundVideoHosted),t}calcVideosSize(e){let t="16:9";"vimeo"===this.videoType&&(t=e[0].width+":"+e[0].height);const n=this.elements.$backgroundVideoContainer.outerWidth(),o=this.elements.$backgroundVideoContainer.outerHeight(),s=t.split(":"),i=s[0]/s[1],r=n/o>i;return{width:r?n:o*i,height:r?n/i:o}}changeVideoSize(){if("hosted"!==this.videoType&&!this.player)return;let e;if("youtube"===this.videoType?e=jQuery(this.player.getIframe()):"vimeo"===this.videoType?e=jQuery(this.player.element):"hosted"===this.videoType&&(e=this.elements.$backgroundVideoHosted),!e)return;const t=this.calcVideosSize(e);e.width(t.width).height(t.height)}startVideoLoop(e){if(!this.player.getIframe().contentWindow)return;const t=this.getElementSettings(),n=t.background_video_start||0,o=t.background_video_end;if(!t.background_play_once||e){if(this.player.seekTo(n),o){setTimeout((()=>{this.startVideoLoop(!1)}),1e3*(o-n+1))}}else this.player.stopVideo()}prepareVimeoVideo(e,t){const n=this.getElementSettings(),o={url:t,width:this.elements.$backgroundVideoContainer.outerWidth().width,autoplay:!0,loop:!n.background_play_once,transparent:!0,background:!0,muted:!0};n.background_privacy_mode&&(o.dnt=!0),this.player=new e.Player(this.elements.$backgroundVideoContainer,o),this.handleVimeoStartEndTimes(n),this.player.ready().then((()=>{jQuery(this.player.element).addClass("elementor-background-video-embed"),this.changeVideoSize()}))}handleVimeoStartEndTimes(e){e.background_video_start&&this.player.on("play",(t=>{0===t.seconds&&this.player.setCurrentTime(e.background_video_start)})),this.player.on("timeupdate",(t=>{e.background_video_end&&e.background_video_end<t.seconds&&(e.background_play_once?this.player.pause():this.player.setCurrentTime(e.background_video_start)),this.player.getDuration().then((n=>{e.background_video_start&&!e.background_video_end&&t.seconds>n-.5&&this.player.setCurrentTime(e.background_video_start)}))}))}prepareYTVideo(e,t){const n=this.elements.$backgroundVideoContainer,o=this.getElementSettings();let s=e.PlayerState.PLAYING;window.chrome&&(s=e.PlayerState.UNSTARTED);const i={videoId:t,events:{onReady:()=>{this.player.mute(),this.changeVideoSize(),this.startVideoLoop(!0),this.player.playVideo()},onStateChange:t=>{switch(t.data){case s:n.removeClass("elementor-invisible elementor-loading");break;case e.PlayerState.ENDED:"function"==typeof this.player.seekTo&&this.player.seekTo(o.background_video_start||0),o.background_play_once&&this.player.destroy()}}},playerVars:{controls:0,rel:0,playsinline:1}};o.background_privacy_mode&&(i.host="https://www.youtube-nocookie.com",i.origin=window.location.hostname),n.addClass("elementor-loading elementor-invisible"),this.player=new e.Player(this.elements.$backgroundVideoEmbed[0],i)}activate(){let e,t=this.getElementSettings("background_video_link");const n=this.getElementSettings("background_play_once");if(-1!==t.indexOf("vimeo.com")?(this.videoType="vimeo",this.apiProvider=elementorFrontend.utils.vimeo):t.match(/^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com)/)&&(this.videoType="youtube",this.apiProvider=elementorFrontend.utils.youtube),this.apiProvider)e=this.apiProvider.getVideoIDFromURL(t),this.apiProvider.onApiReady((n=>{"youtube"===this.videoType&&this.prepareYTVideo(n,e),"vimeo"===this.videoType&&this.prepareVimeoVideo(n,t)}));else{this.videoType="hosted";const e=this.getElementSettings("background_video_start"),o=this.getElementSettings("background_video_end");(e||o)&&(t+="#t="+(e||0)+(o?","+o:"")),this.elements.$backgroundVideoHosted.attr("src",t).one("canplay",this.changeVideoSize.bind(this)),n&&this.elements.$backgroundVideoHosted.on("ended",(()=>{this.elements.$backgroundVideoHosted.hide()}))}elementorFrontend.elements.$window.on("resize elementor/bg-video/recalc",this.changeVideoSize)}deactivate(){"youtube"===this.videoType&&this.player.getIframe()||"vimeo"===this.videoType?this.player.destroy():this.elements.$backgroundVideoHosted.removeAttr("src").off("ended"),elementorFrontend.elements.$window.off("resize",this.changeVideoSize)}run(){const e=this.getElementSettings();(e.background_play_on_mobile||"mobile"!==elementorFrontend.getCurrentDeviceMode())&&("video"===e.background_background&&e.background_video_link?this.activate():this.deactivate())}onInit(){super.onInit(...arguments),this.changeVideoSize=this.changeVideoSize.bind(this),this.run()}onElementChange(e){"background_background"===e&&this.run()}}t.default=BackgroundVideo},8704:(e,t,n)=>{var o=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=o(n(4058)),i=o(n(9501)),r=[s.default,i.default];t.default=r},7537:(e,t,n)=>{var o=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=[o(n(4058)).default];t.default=s},4985:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=[()=>n.e(413).then(n.bind(n,2929)),()=>n.e(413).then(n.bind(n,343)),()=>n.e(413).then(n.bind(n,8073))];t.default=o},6397:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class GlobalHandler extends elementorModules.frontend.handlers.Base{getWidgetType(){return"global"}animate(){const e=this.$element,t=this.getAnimation();if("none"===t)return void e.removeClass("elementor-invisible");const n=this.getElementSettings(),o=n._animation_delay||n.animation_delay||0;e.removeClass(t),this.currentAnimation&&e.removeClass(this.currentAnimation),this.currentAnimation=t,setTimeout((()=>{e.removeClass("elementor-invisible").addClass("animated "+t)}),o)}getAnimation(){return this.getCurrentDeviceSetting("animation")||this.getCurrentDeviceSetting("_animation")}onInit(){if(super.onInit(...arguments),this.getAnimation()){const e=elementorModules.utils.Scroll.scrollObserver({callback:t=>{t.isInViewport&&(this.animate(),e.unobserve(this.$element[0]))}});e.observe(this.$element[0])}}onElementChange(e){/^_?animation/.test(e)&&this.animate()}}t.default=e=>{elementorFrontend.elementsHandler.addHandler(GlobalHandler,{$element:e})}},355:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class HandlesPosition extends elementorModules.frontend.handlers.Base{isActive(){return elementorFrontend.isEditMode()}isFirstSection(){return this.$element[0]===document.querySelector(".elementor-edit-mode .elementor-top-section")}isOverflowHidden(){return"hidden"===this.$element.css("overflow")}getOffset(){if("body"===elementor.config.document.container)return this.$element.offset().top;const e=jQuery(elementor.config.document.container);return this.$element.offset().top-e.offset().top}setHandlesPosition(){const e=elementor.documents.getCurrent();if(!e||!e.container.isEditable())return;const t="elementor-section--handles-inside";if(elementor.settings.page.model.attributes.scroll_snap)return void this.$element.addClass(t);const n=this.isOverflowHidden();if(!n&&!this.isFirstSection())return;const o=n?0:this.getOffset();if(o<25){this.$element.addClass(t);const e=this.$element.find("> .elementor-element-overlay > .elementor-editor-section-settings");o<-5?e.css("top",-o):e.css("top","")}else this.$element.removeClass(t)}onInit(){this.isActive()&&(this.setHandlesPosition(),this.$element.on("mouseenter",this.setHandlesPosition.bind(this)))}}t.default=HandlesPosition},3384:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class Shapes extends elementorModules.frontend.handlers.Base{getDefaultSettings(){return{selectors:{container:"> .elementor-shape-%s"},svgURL:elementorFrontend.config.urls.assets+"shapes/"}}getDefaultElements(){const e={},t=this.getSettings("selectors");return e.$topContainer=this.$element.find(t.container.replace("%s","top")),e.$bottomContainer=this.$element.find(t.container.replace("%s","bottom")),e}isActive(){return elementorFrontend.isEditMode()}getSvgURL(e,t){let n=this.getSettings("svgURL")+t+".svg";return elementor.config.additional_shapes&&e in elementor.config.additional_shapes&&(n=elementor.config.additional_shapes[e],-1<t.indexOf("-negative")&&(n=n.replace(".svg","-negative.svg"))),n}buildSVG(e){const t="shape_divider_"+e,n=this.getElementSettings(t),o=this.elements["$"+e+"Container"];if(o.attr("data-shape",n),!n)return void o.empty();let s=n;this.getElementSettings(t+"_negative")&&(s+="-negative");const i=this.getSvgURL(n,s);jQuery.get(i,(e=>{o.empty().append(e.childNodes[0])})),this.setNegative(e)}setNegative(e){this.elements["$"+e+"Container"].attr("data-negative",!!this.getElementSettings("shape_divider_"+e+"_negative"))}onInit(){this.isActive(this.getSettings())&&(super.onInit(...arguments),["top","bottom"].forEach((e=>{this.getElementSettings("shape_divider_"+e)&&this.buildSVG(e)})))}onElementChange(e){const t=e.match(/^shape_divider_(top|bottom)$/);if(t)return void this.buildSVG(t[1]);const n=e.match(/^shape_divider_(top|bottom)_negative$/);n&&(this.buildSVG(n[1]),this.setNegative(n[1]))}}t.default=Shapes},2804:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class StretchedSection extends elementorModules.frontend.handlers.StretchedElement{getStretchedClass(){return"elementor-section-stretched"}getStretchSettingName(){return"stretch_section"}getStretchActiveValue(){return"section-stretched"}}t.default=StretchedSection},3346:(e,t,n)=>{var o=n(6028);e.exports=elementorModules.ViewModule.extend({getDefaultSettings:()=>({scrollDuration:500,selectors:{links:'a[href*="#"]',targets:".elementor-element, .elementor-menu-anchor",scrollable:(0,o.isScrollSnapActive)()?"body":"html, body"}}),getDefaultElements(){return{$scrollable:jQuery(this.getSettings("selectors").scrollable)}},bindEvents(){elementorFrontend.elements.$document.on("click",this.getSettings("selectors.links"),this.handleAnchorLinks)},handleAnchorLinks(e){var t,n=e.currentTarget,s=location.pathname===n.pathname;if(location.hostname===n.hostname&&s&&!(n.hash.length<2)){try{t=jQuery(n.hash).filter(this.getSettings("selectors.targets"))}catch(e){return}if(t.length){var i=t.offset().top,r=elementorFrontend.elements.$wpAdminBar,a=jQuery(".elementor-section.elementor-sticky--active:visible");r.length>0&&(i-=r.height()),a.length>0&&(i-=Math.max.apply(null,a.map((function(){return jQuery(this).outerHeight()})).get())),e.preventDefault(),i=elementorFrontend.hooks.applyFilters("frontend/handlers/menu_anchor/scroll_top_distance",i),(0,o.isScrollSnapActive)()&&elementorFrontend.elements.$body.css("scroll-snap-type","none"),this.elements.$scrollable.animate({scrollTop:i},this.getSettings("scrollDuration"),"linear",(()=>{(0,o.isScrollSnapActive)()&&elementorFrontend.elements.$body.css("scroll-snap-type","")}))}}},onInit(){elementorModules.ViewModule.prototype.onInit.apply(this,arguments)}})},6866:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class AssetsLoader{getScriptElement(e){const t=document.createElement("script");return t.src=e,t}getStyleElement(e){const t=document.createElement("link");return t.rel="stylesheet",t.href=e,t}load(e,t){const n=AssetsLoader.assets[e][t];return n.loader||(n.loader=this.isAssetLoaded(n,e)?Promise.resolve(!0):this.loadAsset(n,e)),n.loader}isAssetLoaded(e,t){const n=`${"script"===t?"script":"link"}[src="${e.src}"]`,o=document.querySelectorAll(n);return!!o?.length}loadAsset(e,t){return new Promise((n=>{const o="style"===t?this.getStyleElement(e.src):this.getScriptElement(e.src);o.onload=()=>n(!0),this.appendAsset(e,o)}))}appendAsset(e,t){const n=document.querySelector(e.before);if(n)return void n.insertAdjacentElement("beforebegin",t);const o="head"===e.parent?e.parent:"body";document[o].appendChild(t)}}t.default=AssetsLoader;const n=elementorFrontendConfig.urls.assets,o=elementorFrontendConfig.environmentMode.isScriptDebug?"":".min",s=elementorFrontendConfig.version,i=elementorFrontendConfig.experimentalFeatures.e_swiper_latest?`${n}lib/swiper/v8/swiper${o}.js?ver=8.4.5`:`${n}lib/swiper/swiper${o}.js?ver=5.3.6`,r=elementorFrontendConfig.experimentalFeatures.e_swiper_latest?`${n}lib/swiper/v8/css/swiper${o}.css?ver=8.4.5`:`${n}lib/swiper/css/swiper${o}.css?ver=5.3.6`;AssetsLoader.assets={script:{dialog:{src:`${n}lib/dialog/dialog${o}.js?ver=4.9.3`},"share-link":{src:`${n}lib/share-link/share-link${o}.js?ver=${s}`},swiper:{src:i}},style:{swiper:{src:r,parent:"head"},"e-lightbox":{src:elementorFrontendConfig?.responsive?.hasCustomBreakpoints?`${elementorFrontendConfig.urls.uploadUrl}/elementor/css/custom-lightbox.min.css?ver=${s}`:`${n}css/conditionals/lightbox${o}.css?ver=${s}`},dialog:{src:`${n}css/conditionals/dialog${o}.css?ver=${s}`,parent:"head",before:"#elementor-frontend-css"}}}},1322:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class Controls{getControlValue(e,t,n){let o;return o="object"==typeof e[t]&&n?e[t][n]:e[t],o}getResponsiveControlValue(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";const o=(arguments.length>3&&void 0!==arguments[3]?arguments[3]:null)||elementorFrontend.getCurrentDeviceMode(),s=this.getControlValue(e,t,n);if("widescreen"===o){const o=this.getControlValue(e,`${t}_widescreen`,n);return o||0===o?o:s}const i=elementorFrontend.breakpoints.getActiveBreakpointsList({withDesktop:!0});let r=o,a=i.indexOf(o),l="";for(;a<=i.length;){if("desktop"===r){l=s;break}const o=`${t}_${r}`,d=this.getControlValue(e,o,n);if(d||0===d){l=d;break}a++,r=i[a]}return l}}},8646:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class LightboxManager extends elementorModules.ViewModule{static getLightbox(){const e=new Promise((e=>{n.e(723).then(n.t.bind(n,3896,23)).then((t=>{let{default:n}=t;return e(new n)}))})),t=elementorFrontend.utils.assetsLoader.load("script","dialog"),o=elementorFrontend.utils.assetsLoader.load("style","dialog"),s=elementorFrontend.utils.assetsLoader.load("script","share-link"),i=elementorFrontend.utils.assetsLoader.load("style","swiper"),r=elementorFrontend.utils.assetsLoader.load("style","e-lightbox");return Promise.all([e,t,o,s,i,r]).then((()=>e))}getDefaultSettings(){return{selectors:{links:"a, [data-elementor-lightbox]",slideshow:"[data-elementor-lightbox-slideshow]"}}}getDefaultElements(){return{$links:jQuery(this.getSettings("selectors.links")),$slideshow:jQuery(this.getSettings("selectors.slideshow"))}}isLightboxLink(e){if("a"===e.tagName.toLowerCase()&&(e.hasAttribute("download")||!/^[^?]+\.(png|jpe?g|gif|svg|webp)(\?.*)?$/i.test(e.href))&&!e.dataset.elementorLightboxVideo)return!1;const t=elementorFrontend.getKitSettings("global_image_lightbox"),n=e.dataset.elementorOpenLightbox;return"yes"===n||t&&"no"!==n}isLightboxSlideshow(){return 0!==this.elements.$slideshow.length}async onLinkClick(e){const t=e.currentTarget,n=jQuery(e.target),o=elementorFrontend.isEditMode(),s=o&&elementor.$previewContents.find("body").hasClass("elementor-editor__ui-state__color-picker"),i=!!n.closest(".elementor-edit-area").length;if(!this.isLightboxLink(t))return void(o&&i&&e.preventDefault());if(e.preventDefault(),o&&!elementor.getPreferences("lightbox_in_editor"))return;if(s)return;(await LightboxManager.getLightbox()).createLightbox(t)}bindEvents(){elementorFrontend.elements.$document.on("click",this.getSettings("selectors.links"),(e=>this.onLinkClick(e)))}onInit(){super.onInit(...arguments),elementorFrontend.isEditMode()||this.maybeActivateLightboxOnLink()}maybeActivateLightboxOnLink(){this.elements.$links.each(((e,t)=>{if(this.isLightboxLink(t))return LightboxManager.getLightbox(),!1}))}}t.default=LightboxManager},8628:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class Swiper{constructor(e,t){return this.config=t,this.config.breakpoints&&(this.config=this.adjustConfig(t)),e instanceof jQuery&&(e=e[0]),e.closest(".elementor-widget-wrap")?.classList.add("e-swiper-container"),e.closest(".elementor-widget")?.classList.add("e-widget-swiper"),new Promise((t=>{elementorFrontend.utils.assetsLoader.load("script","swiper").then((()=>t(this.createSwiperInstance(e,this.config))))}))}createSwiperInstance(e,t){const n=window.Swiper;return n.prototype.adjustConfig=this.adjustConfig,new n(e,t)}adjustConfig(e){if(!e.handleElementorBreakpoints)return e;const t=elementorFrontend.config.responsive.activeBreakpoints,n=elementorFrontend.breakpoints.getBreakpointValues();return Object.keys(e.breakpoints).forEach((o=>{const s=parseInt(o);let i;if(s===t.mobile.value||s+1===t.mobile.value)i=0;else if(!t.widescreen||s!==t.widescreen.value&&s+1!==t.widescreen.value){const e=n.findIndex((e=>s===e||s+1===e));i=n[e-1]}else i=s;e.breakpoints[i]=e.breakpoints[o],e.breakpoints[o]={slidesPerView:e.slidesPerView,slidesPerGroup:e.slidesPerGroup?e.slidesPerGroup:1}})),e}}},2064:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(5719);class _default extends elementorModules.ViewModule{getDefaultSettings(){return{selectors:{links:'a[href^="%23elementor-action"], a[href^="#elementor-action"]'}}}bindEvents(){elementorFrontend.elements.$document.on("click",this.getSettings("selectors.links"),this.runLinkAction.bind(this))}initActions(){this.actions={lightbox:async e=>{const t=await elementorFrontend.utils.lightbox;e.slideshow?t.openSlideshow(e.slideshow,e.url):(e.id&&(e.type="image"),t.showModal(e))}}}addAction(e,t){this.actions[e]=t}runAction(e){const t=(e=decodeURIComponent(e)).match(/action=(.+?)&/);if(!t)return;const n=this.actions[t[1]];if(!n)return;let o={};const s=e.match(/settings=(.+)/);s&&(o=JSON.parse(atob(s[1]))),o.previousEvent=event;for(var i=arguments.length,r=new Array(i>1?i-1:0),a=1;a<i;a++)r[a-1]=arguments[a];n(o,...r)}runLinkAction(e){e.preventDefault(),this.runAction(jQuery(e.currentTarget).attr("href"),e)}runHashAction(){if(!location.hash)return;const e=document.querySelector(`[data-e-action-hash="${location.hash}"], a[href*="${location.hash}"]`);e&&this.runAction(e.getAttribute("data-e-action-hash"))}createActionHash(e,t){return encodeURIComponent(`#elementor-action:action=${e}&settings=${btoa(JSON.stringify(t))}`)}onInit(){super.onInit(),this.initActions(),elementorFrontend.on("components:init",this.runHashAction.bind(this))}}t.default=_default},6028:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isScrollSnapActive=t.escapeHTML=void 0;t.escapeHTML=e=>{const t={"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"};return e.replace(/[&<>'"]/g,(e=>t[e]||e))};t.isScrollSnapActive=()=>"yes"===(elementorFrontend.isEditMode()?elementor.settings.page.model.attributes?.scroll_snap:elementorFrontend.config.settings.page?.scroll_snap)},4773:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class BaseLoader extends elementorModules.ViewModule{getDefaultSettings(){return{isInserted:!1,selectors:{firstScript:"script:first"}}}getDefaultElements(){return{$firstScript:jQuery(this.getSettings("selectors.firstScript"))}}insertAPI(){this.elements.$firstScript.before(jQuery("<script>",{src:this.getApiURL()})),this.setSettings("isInserted",!0)}getVideoIDFromURL(e){const t=e.match(this.getURLRegex());return t&&t[1]}onApiReady(e){this.getSettings("isInserted")||this.insertAPI(),this.isApiLoaded()?e(this.getApiObject()):setTimeout((()=>{this.onApiReady(e)}),350)}getAutoplayURL(e){return e.replace("&autoplay=0","")+"&autoplay=1"}}t.default=BaseLoader},1911:(e,t,n)=>{var o=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=o(n(4773));class VimeoLoader extends s.default{getApiURL(){return"https://player.vimeo.com/api/player.js"}getURLRegex(){return/^(?:https?:\/\/)?(?:www|player\.)?(?:vimeo\.com\/)?(?:video\/|external\/)?(\d+)([^.?&#"'>]?)/}isApiLoaded(){return window.Vimeo}getApiObject(){return Vimeo}getAutoplayURL(e){const t=e.match(/#t=[^&]*/);return e.replace(t[0],"")+t}}t.default=VimeoLoader},1604:(e,t,n)=>{var o=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=o(n(4773));class YoutubeLoader extends s.default{getApiURL(){return"https://www.youtube.com/iframe_api"}getURLRegex(){return/^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com\/(?:(?:watch)?\?(?:.*&)?vi?=|(?:embed|v|vi|user)\/))([^?&"'>]+)/}isApiLoaded(){return window.YT&&YT.loaded}getApiObject(){return YT}}t.default=YoutubeLoader},59:(e,t,n)=>{n.p=elementorFrontendConfig.urls.assets+"js/"},4375:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class Breakpoints extends elementorModules.Module{constructor(e){super(),this.responsiveConfig=e}getActiveBreakpointsList(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e={largeToSmall:!1,withDesktop:!1,...e};const t=Object.keys(this.responsiveConfig.activeBreakpoints);if(e.withDesktop){const e=-1===t.indexOf("widescreen")?t.length:t.length-1;t.splice(e,0,"desktop")}return e.largeToSmall&&t.reverse(),t}getBreakpointValues(){const{activeBreakpoints:e}=this.responsiveConfig,t=[];return Object.values(e).forEach((e=>{t.push(e.value)})),t}getDesktopPreviousDeviceKey(){let e="";const{activeBreakpoints:t}=this.responsiveConfig,n=Object.keys(t),o=n.length;return e="min"===t[n[o-1]].direction?n[o-2]:n[o-1],e}getDesktopMinPoint(){const{activeBreakpoints:e}=this.responsiveConfig;return e[this.getDesktopPreviousDeviceKey()].value+1}getDeviceMinBreakpoint(e){if("desktop"===e)return this.getDesktopMinPoint();const{activeBreakpoints:t}=this.responsiveConfig,n=Object.keys(t);let o;if(n[0]===e)o=320;else if("widescreen"===e)o=t[e]?t[e].value:this.responsiveConfig.breakpoints.widescreen;else{const s=n.indexOf(e);o=t[n[s-1]].value+1}return o}getActiveMatchRegex(){return new RegExp(this.getActiveBreakpointsList().map((e=>"_"+e)).join("|")+"$")}}t.default=Breakpoints},6404:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Events=void 0;class Events{static dispatch(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e instanceof jQuery?e[0]:e,o&&e.dispatchEvent(new CustomEvent(o,{detail:n})),e.dispatchEvent(new CustomEvent(t,{detail:n}))}}t.Events=Events;var n=Events;t.default=n},9469:e=>{e.exports=function(){var e,t=Array.prototype.slice,n={actions:{},filters:{}};function _removeHook(e,t,o,s){var i,r,a;if(n[e][t])if(o)if(i=n[e][t],s)for(a=i.length;a--;)(r=i[a]).callback===o&&r.context===s&&i.splice(a,1);else for(a=i.length;a--;)i[a].callback===o&&i.splice(a,1);else n[e][t]=[]}function _addHook(e,t,o,s,i){var r={callback:o,priority:s,context:i},a=n[e][t];if(a){var l=!1;if(jQuery.each(a,(function(){if(this.callback===o)return l=!0,!1})),l)return;a.push(r),a=function _hookInsertSort(e){for(var t,n,o,s=1,i=e.length;s<i;s++){for(t=e[s],n=s;(o=e[n-1])&&o.priority>t.priority;)e[n]=e[n-1],--n;e[n]=t}return e}(a)}else a=[r];n[e][t]=a}function _runHook(e,t,o){var s,i,r=n[e][t];if(!r)return"filters"===e&&o[0];if(i=r.length,"filters"===e)for(s=0;s<i;s++)o[0]=r[s].callback.apply(r[s].context,o);else for(s=0;s<i;s++)r[s].callback.apply(r[s].context,o);return"filters"!==e||o[0]}return e={removeFilter:function removeFilter(t,n){return"string"==typeof t&&_removeHook("filters",t,n),e},applyFilters:function applyFilters(){var n=t.call(arguments),o=n.shift();return"string"==typeof o?_runHook("filters",o,n):e},addFilter:function addFilter(t,n,o,s){return"string"==typeof t&&"function"==typeof n&&_addHook("filters",t,n,o=parseInt(o||10,10),s),e},removeAction:function removeAction(t,n){return"string"==typeof t&&_removeHook("actions",t,n),e},doAction:function doAction(){var n=t.call(arguments),o=n.shift();return"string"==typeof o&&_runHook("actions",o,n),e},addAction:function addAction(t,n,o,s){return"string"==typeof t&&"function"==typeof n&&_addHook("actions",t,n,o=parseInt(o||10,10),s),e}},e}},3308:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const matchUserAgent=e=>n.indexOf(e)>=0,n=navigator.userAgent,o=!!window.opr&&!!opr.addons||!!window.opera||matchUserAgent(" OPR/"),s=matchUserAgent("Firefox"),i=/^((?!chrome|android).)*safari/i.test(n)||/constructor/i.test(window.HTMLElement)||"[object SafariRemoteNotification]"===(!window.safari||"undefined"!=typeof safari&&safari.pushNotification).toString(),r=/Trident|MSIE/.test(n)&&!!document.documentMode,a=!r&&!!window.StyleMedia||matchUserAgent("Edg"),l=!!window.chrome&&matchUserAgent("Chrome")&&!(a||o),d=matchUserAgent("Chrome")&&!!window.CSS,c=matchUserAgent("AppleWebKit")&&!d;var u={isTouchDevice:"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0,appleWebkit:c,blink:d,chrome:l,edge:a,firefox:s,ie:r,mac:matchUserAgent("Macintosh"),opera:o,safari:i,webkit:matchUserAgent("AppleWebKit")};t.default=u},5107:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{get(e,t){let n;t=t||{};try{n=t.session?sessionStorage:localStorage}catch(t){return e?void 0:{}}let o=n.getItem("elementor");o=o?JSON.parse(o):{},o.__expiration||(o.__expiration={});const s=o.__expiration;let i=[];e?s[e]&&(i=[e]):i=Object.keys(s);let r=!1;return i.forEach((e=>{new Date(s[e])<new Date&&(delete o[e],delete s[e],r=!0)})),r&&this.save(o,t.session),e?o[e]:o}set(e,t,n){n=n||{};const o=this.get(null,n);if(o[e]=t,n.lifetimeInSeconds){const t=new Date;t.setTime(t.getTime()+1e3*n.lifetimeInSeconds),o.__expiration[e]=t.getTime()}this.save(o,n.session)}save(e,t){let n;try{n=t?sessionStorage:localStorage}catch(e){return}n.setItem("elementor",JSON.stringify(e))}}t.default=_default},6046:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("text-path",(()=>n.e(48).then(n.bind(n,6468))))}}t.default=_default},1855:(e,t,n)=>{var o=n(5516),s=TypeError;e.exports=function(e,t){if(o(t,e))return e;throw s("Incorrect invocation")}},3621:e=>{e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},5719:(e,t,n)=>{var o=n(1695),s=n(2086),i=n(563),r=n(5736),a=n(7826).f,l=n(9606),d=n(1855),c=n(5070),u=n(1879),h=n(3621),m=n(79),g=n(5283),p=n(3296),f="DOMException",v=i("Error"),b=i(f),y=function DOMException(){d(this,_);var e=arguments.length,t=u(e<1?void 0:arguments[0]),n=u(e<2?void 0:arguments[1],"Error"),o=new b(t,n),s=v(t);return s.name=f,a(o,"stack",r(1,m(s.stack,1))),c(o,this,y),o},_=y.prototype=b.prototype,w="stack"in v(f),k="stack"in new b(1,2),S=b&&g&&Object.getOwnPropertyDescriptor(s,f),E=!(!S||S.writable&&S.configurable),M=w&&!E&&!k;o({global:!0,constructor:!0,forced:p||M},{DOMException:M?y:b});var C=i(f),A=C.prototype;if(A.constructor!==C)for(var $ in p||a(A,"constructor",r(1,C)),h)if(l(h,$)){var D=h[$],L=D.s;l(C,L)||a(C,L,r(6,D.c))}}},e=>{e.O(0,[354],(()=>{return t=5654,e(e.s=t);var t}));e.O()}]);/*! elementor-pro - v3.24.0 - 09-10-2024 */
"use strict";(self.webpackChunkelementor_pro=self.webpackChunkelementor_pro||[]).push([[624],{2371:(e,t,n)=>{var s=n(6784),o=s(n(6137)),r=s(n(7371)),l=s(n(3746)),i=s(n(6238)),a=s(n(4286)),d=s(n(4043)),u=s(n(1750)),c=s(n(4486)),m=s(n(1459)),h=s(n(8534)),g=s(n(6034)),f=s(n(6075)),p=s(n(570)),_=s(n(9302)),v=s(n(6302)),b=s(n(7492)),y=s(n(8241)),F=s(n(325)),M=s(n(7467)),w=s(n(1953)),S=s(n(282)),H=s(n(2969)),O=s(n(5355)),E=s(n(8945));const extendDefaultHandlers=e=>({...e,...{animatedText:o.default,carousel:r.default,countdown:l.default,hotspot:i.default,form:a.default,gallery:d.default,lottie:u.default,nav_menu:c.default,popup:m.default,posts:h.default,share_buttons:g.default,slides:f.default,social:p.default,themeBuilder:v.default,themeElements:b.default,woocommerce:y.default,tableOfContents:_.default,loopBuilder:F.default,megaMenu:M.default,nestedCarousel:w.default,taxonomyFilter:S.default,offCanvas:H.default,contactButtons:O.default,search:E.default}});elementorProFrontend.on("elementor-pro/modules/init:before",(()=>{elementorFrontend.hooks.addFilter("elementor-pro/frontend/handlers",extendDefaultHandlers)}))},4921:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class AjaxHelper{addLoadingAnimationOverlay(e){const t=document.querySelector(`.elementor-element-${e}`);t&&t.classList.add("e-loading-overlay")}removeLoadingAnimationOverlay(e){const t=document.querySelector(`.elementor-element-${e}`);t&&t.classList.remove("e-loading-overlay")}}},6914:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.focusableElementSelectors=function focusableElementSelectors(){return"audio, button, canvas, details, iframe, input, select, summary, textarea, video, [accesskey], a[href], area[href], [tabindex]"}},5921:(e,t,n)=>{var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.close=void 0;const o=new(s(n(5194)).default)("eicon");t.close={get element(){return o.createSvgElement("close",{path:"M742 167L500 408 258 167C246 154 233 150 217 150 196 150 179 158 167 167 154 179 150 196 150 212 150 229 154 242 171 254L408 500 167 742C138 771 138 800 167 829 196 858 225 858 254 829L496 587 738 829C750 842 767 846 783 846 800 846 817 842 829 829 842 817 846 804 846 783 846 767 842 750 829 737L588 500 833 258C863 229 863 200 833 171 804 137 775 137 742 167Z",width:1e3,height:1e3})}}},5194:(e,t,n)=>{var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(n(5707));class IconsManager{constructor(e){if(this.prefix=`${e}-`,!IconsManager.symbolsContainer){const e="e-font-icon-svg-symbols";IconsManager.symbolsContainer=document.getElementById(e),IconsManager.symbolsContainer||(IconsManager.symbolsContainer=document.createElementNS("http://www.w3.org/2000/svg","svg"),IconsManager.symbolsContainer.setAttributeNS(null,"style","display: none;"),IconsManager.symbolsContainer.setAttributeNS(null,"class",e),document.body.appendChild(IconsManager.symbolsContainer))}}createSvgElement(e,t){let{path:n,width:s,height:o}=t;const r=this.prefix+e,l="#"+this.prefix+e;if(!IconsManager.iconsUsageList.includes(r)){if(!IconsManager.symbolsContainer.querySelector(l)){const e=document.createElementNS("http://www.w3.org/2000/svg","symbol");e.id=r,e.innerHTML='<path d="'+n+'"></path>',e.setAttributeNS(null,"viewBox","0 0 "+s+" "+o),IconsManager.symbolsContainer.appendChild(e)}IconsManager.iconsUsageList.push(r)}const i=document.createElementNS("http://www.w3.org/2000/svg","svg");return i.innerHTML='<use xlink:href="'+l+'" />',i.setAttributeNS(null,"class","e-font-icon-svg e-"+r),i}}t.default=IconsManager,(0,o.default)(IconsManager,"symbolsContainer",void 0),(0,o.default)(IconsManager,"iconsUsageList",[])},7754:(e,t,n)=>{var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(n(5707)),r=n(6914);t.default=class ModalKeyboardHandler{constructor(e){(0,o.default)(this,"lastFocusableElement",null),(0,o.default)(this,"firstFocusableElement",null),(0,o.default)(this,"modalTriggerElement",null),this.config=e}onOpenModal(){this.initializeElements(),this.setTriggerElement(),this.changeFocus(),this.bindEvents()}onCloseModal(){elementorFrontend.elements.$window.off("keydown",this.onKeyDownPressed.bind(this)),this.modalTriggerElement&&this.setFocusToElement(this.modalTriggerElement)}bindEvents(){elementorFrontend.elements.$window.on("keydown",this.onKeyDownPressed.bind(this)),"popup"===this.config.modalType&&this.onPopupCloseEvent()}onPopupCloseEvent(){elementorFrontend.elements.$window.on("elementor/popup/hide",this.onCloseModal.bind(this))}getFocusableElements(){const e="popup"===this.config.modalType?":focusable":(0,r.focusableElementSelectors)();return this.config.$modalElements.find(e)}initializeElements(){const e=this.getFocusableElements();e.length&&(this.lastFocusableElement=e[e.length-1],this.firstFocusableElement=e[0])}setTriggerElement(){const e=elementorFrontend.elements.window.document.activeElement;this.modalTriggerElement=e?elementorFrontend.elements.window.document.activeElement:null}changeFocus(){this.firstFocusableElement?this.setFocusToElement(this.firstFocusableElement):(this.config.$elementWrapper.attr("tabindex","0"),this.setFocusToElement(this.config.$elementWrapper[0]))}onKeyDownPressed(e){const t=e.shiftKey,n="Tab"===e.key||9===e.keyCode,s="0"===this.config.$elementWrapper.attr("tabindex");n&&s?e.preventDefault():n&&this.onTabKeyPressed(n,t,e)}onTabKeyPressed(e,t,n){elementorFrontend.isEditMode()&&this.initializeElements();const s=elementorFrontend.elements.window.document.activeElement;if(t){s===this.firstFocusableElement&&(this.setFocusToElement(this.lastFocusableElement),n.preventDefault())}else{s===this.lastFocusableElement&&(this.setFocusToElement(this.firstFocusableElement),n.preventDefault())}}setFocusToElement(e){setTimeout((()=>{e?.focus()}),100)}}},5012:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function runElementHandlers(e){[...e].flatMap((e=>[...e.querySelectorAll(".elementor-element")])).forEach((e=>elementorFrontend.elementsHandler.runReadyTrigger(e)))}},6137:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("animated-headline",(()=>n.e(961).then(n.bind(n,2590))))}}t.default=_default},7371:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("media-carousel",(()=>n.e(692).then(n.bind(n,8948)))),elementorFrontend.elementsHandler.attachHandler("testimonial-carousel",(()=>n.e(897).then(n.bind(n,7181)))),elementorFrontend.elementsHandler.attachHandler("reviews",(()=>n.e(897).then(n.bind(n,7181))))}}t.default=_default},3746:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("countdown",(()=>n.e(416).then(n.bind(n,475))))}}t.default=_default},5355:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.config.experimentalFeatures.container&&(["contact-buttons-var-1","contact-buttons-var-3","contact-buttons-var-4","contact-buttons-var-5","contact-buttons-var-6","contact-buttons-var-7","contact-buttons-var-8","contact-buttons-var-9"].forEach((e=>{elementorFrontend.elementsHandler.attachHandler(e,(()=>n.e(1).then(n.bind(n,197))))})),elementorFrontend.elementsHandler.attachHandler("contact-buttons-var-10",(()=>n.e(61).then(n.bind(n,7263)))),elementorFrontend.elementsHandler.attachHandler("floating-bars-var-2",(()=>n.e(249).then(n.bind(n,2319)))),elementorFrontend.elementsHandler.attachHandler("floating-bars-var-3",(()=>n.e(440).then(n.bind(n,7704)))))}}t.default=_default},4286:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("form",[()=>n.e(325).then(n.bind(n,9230)),()=>n.e(325).then(n.bind(n,2176)),()=>n.e(325).then(n.bind(n,9613)),()=>n.e(325).then(n.bind(n,2478)),()=>n.e(325).then(n.bind(n,733)),()=>n.e(325).then(n.bind(n,6935))]),elementorFrontend.elementsHandler.attachHandler("subscribe",[()=>n.e(325).then(n.bind(n,9230)),()=>n.e(325).then(n.bind(n,2176)),()=>n.e(325).then(n.bind(n,9613))])}}t.default=_default},4043:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("gallery",(()=>n.e(543).then(n.bind(n,771))))}}t.default=_default},6238:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("hotspot",(()=>n.e(292).then(n.bind(n,507))))}}t.default=_default},325:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),["post","product","post_taxonomy","product_taxonomy"].forEach((e=>{elementorFrontend.elementsHandler.attachHandler("loop-grid",(()=>n.e(535).then(n.bind(n,2245))),e),elementorFrontend.elementsHandler.attachHandler("loop-grid",(()=>n.e(993).then(n.bind(n,2813))),e),elementorFrontend.elementsHandler.attachHandler("loop-carousel",(()=>n.e(993).then(n.bind(n,2813))),e),elementorFrontend.elementsHandler.attachHandler("loop-carousel",(()=>n.e(932).then(n.bind(n,7992))),e),elementorFrontend.elementsHandler.attachHandler("loop-grid",(()=>n.e(550).then(n.bind(n,4734))),e)}))}}t.default=_default},9585:(e,t,n)=>{var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(n(5012)),r=s(n(4921)),l=s(n(1368)),i=n(275);class BaseFilterFrontendModule extends elementorModules.Module{constructor(){super(),this.loopWidgetsStore=new l.default}removeFilterFromLoopWidget(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";if(!this.loopWidgetsStore.getWidget(e))return this.loopWidgetsStore.addWidget(e),void this.refreshLoopWidget(e,t);if(n===s&&this.loopWidgetsStore.unsetFilter(e,t),n!==s){const s=this.loopWidgetsStore.getFilterTerms(e,t).filter((function(e){return e!==n}));this.loopWidgetsStore.setFilterTerms(e,t,s)}this.refreshLoopWidget(e,t)}setFilterDataForLoopWidget(e,t,n){let s=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"DISABLED";this.loopWidgetsStore.maybeInitializeWidget(e),this.loopWidgetsStore.maybeInitializeFilter(e,t);const r=this.validateMultipleFilterOperator(o);if("DISABLED"!==r){const s=this.loopWidgetsStore.getFilterTerms(e,t)??[],o=n.filterData.terms;n.filterData.terms=[...new Set([...s,...o])],n.filterData.logicalJoin=r}this.loopWidgetsStore.setFilter(e,t,n),s?this.refreshLoopWidget(e,t):this.loopWidgetsStore.consolidateFilters(e)}validateMultipleFilterOperator(e){return e&&["AND","OR"].includes(e)?e:"DISABLED"}getQueryStringInObjectForm(){const e={};for(const t in this.loopWidgetsStore.get()){const n=this.loopWidgetsStore.getWidget(t);for(const s in n.consolidatedFilters){const o=n.consolidatedFilters[s];for(const n in o){const s=i.queryConstants[o[n].logicalJoin??"AND"].separator.decoded;e[`e-filter-${t}-${n}`]=Object.values(o[n].terms).join(s)}}}return e}updateURLQueryString(e,t){const n=new URL(window.location.href).searchParams,s=this.getQueryStringInObjectForm(),o=new URLSearchParams;n.forEach(((t,n)=>{n.startsWith("e-filter")||o.append(n,t),n.startsWith("e-page-"+e)&&o.delete(n)}));for(const e in s)o.set(e,s[e]);let r=o.toString();r=r.replace(new RegExp(`${i.queryConstants.AND.separator.encoded}`,"g"),i.queryConstants.AND.separator.decoded),r=r.replace(new RegExp(`${i.queryConstants.OR.separator.encoded}`,"g"),i.queryConstants.OR.separator.decoded);const l=this.getFilterHelperAttributes(t);r=l.pageNum>1?r?this.formatQueryString(l.baseUrl,r):l.baseUrl:r?`?${r}`:location.pathname,history.pushState(null,null,r)}formatQueryString(e,t){const n=e.includes("?")?new URLSearchParams(e.split("?")[1]):new URLSearchParams,s=new URLSearchParams(t);for(const e of n.keys())s.has(e)&&s.delete(e);const o=["page","paged"];for(const e of o)n.delete(e),s.delete(e);const r=new URLSearchParams(n.toString());for(const[e,t]of s.entries())r.append(e,t);return e.split("?")[0]+(r.toString()?`?${r.toString()}`:"")}getFilterHelperAttributes(e){const t=document.querySelector('[data-id="'+e+'"]');if(!t)return{baseUrl:location.href,pageNum:1};return t.querySelector(".e-filter").dataset}prepareLoopUpdateRequestData(e,t){const n=this.loopWidgetsStore.getConsolidatedFilters(e),s=this.getFilterHelperAttributes(t),o={post_id:elementorFrontend.config.post.id||this.getClosestDataElementorId(document.querySelector(`.elementor-element-${e}`)),widget_filters:n,widget_id:e,pagination_base_url:s.baseUrl};if(elementorFrontend.isEditMode()){const t=window.top.$e.components.get("document").utils.findContainerById(e);o.widget_model=t.model.toJSON({remove:["default","editSettings","defaultEditSettings"]}),o.is_edit_mode=!0}return o}getClosestDataElementorId(e){const t=e.closest("[data-elementor-id]");return t?t.getAttribute("data-elementor-id"):0}getFetchArgumentsForLoopUpdate(e,t){const n=this.prepareLoopUpdateRequestData(e,t),s={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)};return elementorFrontend.isEditMode()&&elementorPro.config.loopFilter?.nonce&&(s.headers["X-WP-Nonce"]=elementorPro.config.loopFilter?.nonce),s}fetchUpdatedLoopWidgetMarkup(e,t){return fetch(`${elementorProFrontend.config.urls.rest}elementor-pro/v1/refresh-loop`,this.getFetchArgumentsForLoopUpdate(e,t))}createElementFromHTMLString(e){const t=document.createElement("div");return e?(t.innerHTML=e.trim(),t.firstElementChild):(t.classList.add("elementor-widget-container"),t)}refreshLoopWidget(e,t){this.loopWidgetsStore.consolidateFilters(e),this.updateURLQueryString(e,t);const n=document.querySelector(`.elementor-element-${e}`);if(!n)return;this.ajaxHelper||(this.ajaxHelper=new r.default),this.ajaxHelper.addLoadingAnimationOverlay(e);return this.fetchUpdatedLoopWidgetMarkup(e,t).then((e=>e instanceof Response&&e?.ok&&!(400<=e?.status)?e.json():{})).catch((()=>({}))).then((t=>{if(!t?.data&&""!==t?.data)return;const s=n.querySelector(".elementor-widget-container"),o=this.createElementFromHTMLString(t.data);n.replaceChild(o,s),this.handleElementHandlers(o),ElementorProFrontendConfig.settings.lazy_load_background_images&&document.dispatchEvent(new Event("elementor/lazyload/observe")),elementorFrontend.elementsHandler.runReadyTrigger(document.querySelector(`.elementor-element-${e}`)),n.classList.remove("e-loading")})).finally((()=>{this.ajaxHelper.removeLoadingAnimationOverlay(e)}))}handleElementHandlers(e){const t=e.querySelectorAll(".e-loop-item");(0,o.default)(t)}}t.default=BaseFilterFrontendModule},282:(e,t,n)=>{var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(n(9585));class LoopFilter extends o.default{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("taxonomy-filter",(()=>n.e(225).then(n.bind(n,2236))))}}t.default=LoopFilter},1368:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class LoopWidgetsStore{constructor(){this.widgets={}}get(){return this.widgets}getWidget(e){return this.widgets[e]}setWidget(e,t){this.widgets[e]=t}unsetWidget(e){delete this.widgets[e]}getFilters(e){return this.getWidget(e).filters}getFilter(e,t){return this.getWidget(e).filters[t]}setFilter(e,t,n){this.getWidget(e).filters[t]=n}unsetFilter(e,t){delete this.getWidget(e).filters[t]}getFilterTerms(e,t){return this.getFilter(e,t).filterData.terms??[]}setFilterTerms(e,t,n){this.getFilter(e,t).filterData.terms=n}getConsolidatedFilters(e){return this.getWidget(e).consolidatedFilters}setConsolidatedFilters(e,t){this.getWidget(e).consolidatedFilters=t}addWidget(e){this.setWidget(e,{filters:{},consolidatedFilters:{}})}maybeInitializeWidget(e){this.getWidget(e)||this.addWidget(e)}maybeInitializeFilter(e,t){if(this.getFilter(e,t))return;this.setFilter(e,t,{filterData:{terms:[]}})}consolidateFilters(e){const t=this.getFilters(e),n={};for(const e in t){const s=t[e],o=s.filterType,r=s.filterData;0!==r.terms.length&&(n[o]||(n[o]={}),n[o][r.selectedTaxonomy]||(n[o][r.selectedTaxonomy]=[]),!r.terms||n[o][r.selectedTaxonomy].terms&&n[o][r.selectedTaxonomy].terms.includes(r.terms)||(n[o][r.selectedTaxonomy]={terms:"string"===r.terms?[r.terms]:r.terms}),r.logicalJoin&&!n[o][r.selectedTaxonomy].logicalJoin&&(n[o][r.selectedTaxonomy]={...n[o][r.selectedTaxonomy]||{},logicalJoin:r.logicalJoin??"AND"}))}this.setConsolidatedFilters(e,n)}}},275:e=>{e.exports={queryConstants:{AND:{separator:{decoded:"+",fromBrowser:" ",encoded:"%2B"},operator:"AND"},OR:{separator:{decoded:"~",fromBrowser:"~",encoded:"%7C"},operator:"IN"},NOT:{separator:{decoded:"!",fromBrowser:"!",encoded:"%21"},operator:"NOT IN"},DISABLED:{separator:{decoded:"",fromBrowser:"",encoded:""},operator:"AND"}}}},1750:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("lottie",(()=>n.e(970).then(n.bind(n,5200))))}}t.default=_default},7467:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("mega-menu",[()=>n.e(727).then(n.bind(n,3431)),()=>n.e(87).then(n.bind(n,8636)),()=>n.e(912).then(n.bind(n,9774))])}}t.default=_default},4486:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),jQuery.fn.smartmenus&&(jQuery.SmartMenus.prototype.isCSSOn=function(){return!0},elementorFrontend.config.is_rtl&&(jQuery.fn.smartmenus.defaults.rightToLeftSubMenus=!0)),elementorFrontend.elementsHandler.attachHandler("nav-menu",(()=>n.e(334).then(n.bind(n,757))))}}t.default=_default},1953:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("nested-carousel",(()=>n.e(33).then(n.bind(n,1195))))}}t.default=_default},2969:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("off-canvas",(()=>n.e(579).then(n.bind(n,9547)))),elementorFrontend.on("components:init",(()=>this.onFrontendComponentsInit()))}onFrontendComponentsInit(){this.addUrlActions()}addUrlActions(){elementorFrontend.utils.urlActions.addAction("off_canvas:open",(e=>{this.toggleOffCanvasDisplay(e)})),elementorFrontend.utils.urlActions.addAction("off_canvas:close",(e=>{this.toggleOffCanvasDisplay(e)})),elementorFrontend.utils.urlActions.addAction("off_canvas:toggle",(e=>{this.toggleOffCanvasDisplay(e)}))}toggleOffCanvasDisplay(e){window.dispatchEvent(new CustomEvent("elementor-pro/off-canvas/toggle-display-mode",{detail:e}))}}t.default=_default},2506:(e,t,n)=>{var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(n(5707)),r=s(n(3758)),l=s(n(5469)),i=n(5921),a=s(n(7754));class _default extends elementorModules.frontend.Document{constructor(){super(...arguments),(0,o.default)(this,"keyboardHandler",null)}bindEvents(){const e=this.getDocumentSettings("open_selector");e&&elementorFrontend.elements.$body.on("click",e,this.showModal.bind(this))}startTiming(){new l.default(this.getDocumentSettings("timing"),this).check()&&this.initTriggers()}initTriggers(){this.triggers=new r.default(this.getDocumentSettings("triggers"),this)}showModal(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=this.getDocumentSettings();if(!this.isEdit){if(!elementorFrontend.isWPPreviewMode()){if(this.getStorage("disable"))return;if(t&&elementorProFrontend.modules.popup.popupPopped&&n.avoid_multiple_popups)return}this.$element=jQuery(this.elementHTML),this.elements.$elements=this.$element.find(this.getSettings("selectors.elements"))}const s=this.getModal(),o=s.getElements("closeButton");s.setMessage(this.$element).show(),this.isEdit||(n.close_button_delay&&(o.hide(),clearTimeout(this.closeButtonTimeout),this.closeButtonTimeout=setTimeout((()=>o.show()),1e3*n.close_button_delay)),super.runElementsHandlers()),this.setEntranceAnimation(),n.timing&&n.timing.times_count||this.countTimes(),elementorProFrontend.modules.popup.popupPopped=!0,!this.isEdit&&n.a11y_navigation&&this.handleKeyboardA11y()}setEntranceAnimation(){const e=this.getModal().getElements("widgetContent"),t=this.getDocumentSettings(),n=elementorFrontend.getCurrentDeviceSetting(t,"entrance_animation");if(this.currentAnimation&&e.removeClass(this.currentAnimation),this.currentAnimation=n,!n)return;const s=t.entrance_animation_duration.size;e.addClass(n),setTimeout((()=>e.removeClass(n)),1e3*s)}handleKeyboardA11y(){this.keyboardHandler||(this.keyboardHandler=new a.default(this.getKeyboardHandlingConfig())),this.keyboardHandler.onOpenModal()}setExitAnimation(){const e=this.getModal(),t=this.getDocumentSettings(),n=e.getElements("widgetContent"),s=elementorFrontend.getCurrentDeviceSetting(t,"exit_animation"),o=s?t.entrance_animation_duration.size:0;setTimeout((()=>{s&&n.removeClass(s+" reverse"),this.isEdit||(this.$element.remove(),e.getElements("widget").hide())}),1e3*o),s&&n.addClass(s+" reverse")}initModal(){let e;this.getModal=()=>{if(!e){const t=this.getDocumentSettings(),n=this.getSettings("id"),triggerPopupEvent=e=>{const t="elementor/popup/"+e;elementorFrontend.elements.$document.trigger(t,[n,this]),window.dispatchEvent(new CustomEvent(t,{detail:{id:n,instance:this}}))};let s="elementor-popup-modal";t.classes&&(s+=" "+t.classes);const o={id:"elementor-popup-modal-"+n,className:s,closeButton:!0,preventScroll:t.prevent_scroll,onShow:()=>triggerPopupEvent("show"),onHide:()=>triggerPopupEvent("hide"),effects:{hide:()=>{t.timing&&t.timing.times_count&&this.countTimes(),this.setExitAnimation()},show:"show"},hide:{auto:!!t.close_automatically,autoDelay:1e3*t.close_automatically,onBackgroundClick:!t.prevent_close_on_background_click,onOutsideClick:!t.prevent_close_on_background_click,onEscKeyPress:!t.prevent_close_on_esc_key,ignore:".flatpickr-calendar"},position:{enable:!1}};elementorFrontend.config.experimentalFeatures.e_font_icon_svg&&(o.closeButtonOptions={iconElement:i.close.element}),o.closeButtonClass="eicon-close",e=elementorFrontend.getDialogsManager().createWidget("lightbox",o),e.getElements("widgetContent").addClass("animated");const r=e.getElements("closeButton");this.isEdit&&(r.off("click"),e.hide=()=>{}),this.setCloseButtonPosition()}return e}}setCloseButtonPosition(){const e=this.getModal(),t=this.getDocumentSettings("close_button_position");e.getElements("closeButton").prependTo(e.getElements("outside"===t?"widget":"widgetContent"))}disable(){this.setStorage("disable",!0)}setStorage(e,t,n){elementorFrontend.storage.set(`popup_${this.getSettings("id")}_${e}`,t,n)}getStorage(e,t){return elementorFrontend.storage.get(`popup_${this.getSettings("id")}_${e}`,t)}countTimes(){const e=this.getStorage("times")||0;this.setStorage("times",e+1)}runElementsHandlers(){}async onInit(){super.onInit(),window.DialogsManager||await elementorFrontend.utils.assetsLoader.load("script","dialog"),this.initModal(),this.isEdit?this.showModal():(this.$element.show().remove(),this.elementHTML=this.$element[0].outerHTML,elementorFrontend.isEditMode()||(elementorFrontend.isWPPreviewMode()&&elementorFrontend.config.post.id===this.getSettings("id")?this.showModal():this.startTiming()))}onSettingsChange(e){const t=Object.keys(e.changed)[0];-1!==t.indexOf("entrance_animation")&&this.setEntranceAnimation(),"exit_animation"===t&&this.setExitAnimation(),"close_button_position"===t&&this.setCloseButtonPosition()}getKeyboardHandlingConfig(){return{$modalElements:this.getModal().getElements("widgetContent"),$elementWrapper:this.$element,modalType:"popup",modalId:this.$element.data("elementor-id")}}}t.default=_default},1459:(e,t,n)=>{var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(n(2506));class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.hooks.addAction("elementor/frontend/documents-manager/init-classes",this.addDocumentClass),elementorFrontend.elementsHandler.attachHandler("form",(()=>n.e(887).then(n.bind(n,5985)))),elementorFrontend.on("components:init",(()=>this.onFrontendComponentsInit())),elementorFrontend.isEditMode()||elementorFrontend.isWPPreviewMode()||this.setViewsAndSessions()}addDocumentClass(e){e.addDocumentClass("popup",o.default)}setViewsAndSessions(){const e=elementorFrontend.storage.get("pageViews")||0;elementorFrontend.storage.set("pageViews",e+1);if(!elementorFrontend.storage.get("activeSession",{session:!0})){elementorFrontend.storage.set("activeSession",!0,{session:!0});const e=elementorFrontend.storage.get("sessions")||0;elementorFrontend.storage.set("sessions",e+1)}}showPopup(e,t){const n=elementorFrontend.documentsManager.documents[e.id];if(!n)return;const s=n.getModal();e.toggle&&s.isVisible()?s.hide():n.showModal(t)}closePopup(e,t){const n=jQuery(t.target).parents('[data-elementor-type="popup"]').data("elementorId");if(!n)return;const s=elementorFrontend.documentsManager.documents[n];s.getModal().hide(),e.do_not_show_again&&s.disable()}onFrontendComponentsInit(){elementorFrontend.utils.urlActions.addAction("popup:open",((e,t)=>this.showPopup(e,t))),elementorFrontend.utils.urlActions.addAction("popup:close",((e,t)=>this.closePopup(e,t)))}}t.default=_default},5469:(e,t,n)=>{var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(n(164)),r=s(n(5873)),l=s(n(7471)),i=s(n(2880)),a=s(n(5104)),d=s(n(1837)),u=s(n(3940)),c=s(n(1533)),m=s(n(8254));class _default extends elementorModules.Module{constructor(e,t){super(e),this.document=t,this.timingClasses={page_views:o.default,sessions:r.default,url:l.default,sources:i.default,logged_in:a.default,devices:d.default,times:u.default,browsers:c.default,schedule:m.default}}check(){const e=this.getSettings();let t=!0;return jQuery.each(this.timingClasses,((n,s)=>{if(!e[n])return;new s(e,this.document).check()||(t=!1)})),t}}t.default=_default},2733:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(e,t){super(e),this.document=t}getTimingSetting(e){return this.getSettings(this.getName()+"_"+e)}}t.default=_default},1533:(e,t,n)=>{var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(n(2733));class _default extends o.default{getName(){return"browsers"}check(){if("all"===this.getTimingSetting("browsers"))return!0;const e=this.getTimingSetting("browsers_options"),t=elementorFrontend.utils.environment;return e.some((e=>t[e]))}}t.default=_default},1837:(e,t,n)=>{var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(n(2733));class _default extends o.default{getName(){return"devices"}check(){return-1!==this.getTimingSetting("devices").indexOf(elementorFrontend.getCurrentDeviceMode())}}t.default=_default},5104:(e,t,n)=>{var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(n(2733));class _default extends o.default{getName(){return"logged_in"}check(){const e=elementorFrontend.config.user;if(!e)return!0;if("all"===this.getTimingSetting("users"))return!1;return!this.getTimingSetting("roles").filter((t=>-1!==e.roles.indexOf(t))).length}}t.default=_default},164:(e,t,n)=>{var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(n(2733));class _default extends o.default{getName(){return"page_views"}check(){const e=elementorFrontend.storage.get("pageViews"),t=this.getName();let n=this.document.getStorage(t+"_initialPageViews");return n||(this.document.setStorage(t+"_initialPageViews",e),n=e),e-n>=this.getTimingSetting("views")}}t.default=_default},9901:(e,t,n)=>{var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(n(5707));t.default=class ScheduleUtils{constructor(e){(0,o.default)(this,"shouldDisplay",(()=>{if(!this.settings.startDate&&!this.settings.endDate)return!0;const e=this.getCurrentDateTime();return(!this.settings.startDate||e>=this.settings.startDate)&&(!this.settings.endDate||e<=this.settings.endDate)})),this.settings=e.settings}getCurrentDateTime(){let e=new Date;return"site"===this.settings.timezone&&this.settings.serverDatetime&&(e=new Date(this.settings.serverDatetime)),e}}},8254:(e,t,n)=>{var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(n(2733)),r=s(n(9901));class _default extends o.default{constructor(){super(...arguments);const{schedule_timezone:e,schedule_start_date:t,schedule_end_date:n,schedule_server_datetime:s}=this.getSettings();this.settings={timezone:e,startDate:!!t&&new Date(t),endDate:!!n&&new Date(n),serverDatetime:!!s&&new Date(s)},this.scheduleUtils=new r.default({settings:this.settings})}getName(){return"schedule"}check(){return this.scheduleUtils.shouldDisplay()}}t.default=_default},5873:(e,t,n)=>{var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(n(2733));class _default extends o.default{getName(){return"sessions"}check(){const e=elementorFrontend.storage.get("sessions"),t=this.getName();let n=this.document.getStorage(t+"_initialSessions");return n||(this.document.setStorage(t+"_initialSessions",e),n=e),e-n>=this.getTimingSetting("sessions")}}t.default=_default},2880:(e,t,n)=>{var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(n(2733));class _default extends o.default{getName(){return"sources"}check(){const e=this.getTimingSetting("sources");if(3===e.length)return!0;const t=document.referrer.replace(/https?:\/\/(?:www\.)?/,"");return 0===t.indexOf(location.host.replace("www.",""))?-1!==e.indexOf("internal"):-1!==e.indexOf("external")||-1!==e.indexOf("search")&&/^(google|yahoo|bing|yandex|baidu)\./.test(t)}}t.default=_default},1744:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class TimesUtils{constructor(e){this.uniqueId=e.uniqueId,this.settings=e.settings,this.storage=e.storage}getTimeFramesInSecounds(e){return{day:86400,week:604800,month:2628288}[e]}setExpiration(e,t,n){if(this.storage.get(e))this.storage.set(e,t);else{const s={lifetimeInSeconds:this.getTimeFramesInSecounds(n)};this.storage.set(e,t,s)}}getImpressionsCount(){const e=this.storage.get(this.uniqueId)??0;return parseInt(e)}incrementImpressionsCount(){if(this.settings.period)if("session"!==this.settings.period){const e=this.getImpressionsCount();this.setExpiration(this.uniqueId,e+1,this.settings.period)}else sessionStorage.setItem(this.uniqueId,parseInt(sessionStorage.getItem(this.uniqueId)??0)+1);else this.storage.set("times",(this.storage.get("times")??0)+1)}shouldCountOnOpen(){this.settings.countOnOpen&&this.incrementImpressionsCount()}shouldDisplayPerTimeFrame(){return this.getImpressionsCount()<this.settings.showsLimit&&(this.shouldCountOnOpen(),!0)}shouldDisplayPerSession(){const e=sessionStorage.getItem(this.uniqueId)??0;return parseInt(e)<this.settings.showsLimit&&(this.shouldCountOnOpen(),!0)}shouldDisplayBackwordCompatible(){let e=arguments.length>1?arguments[1]:void 0;const t=parseInt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)<parseInt(e);return this.shouldCountOnOpen(),t}}},3940:(e,t,n)=>{var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(n(2733)),r=s(n(1744));class _default extends o.default{constructor(){super(...arguments),this.uniqueId=`popup-${this.document.getSettings("id")}-impressions-count`;const{times_count:e,times_period:t,times_times:n}=this.getSettings();this.settings={countOnOpen:e,period:t,showsLimit:parseInt(n)},""===this.settings.period&&(this.settings.period=!1),["","close"].includes(this.settings.countOnOpen)?(this.settings.countOnOpen=!1,this.onPopupHide()):this.settings.countOnOpen=!0,this.utils=new r.default({uniqueId:this.uniqueId,settings:this.settings,storage:elementorFrontend.storage})}getName(){return"times"}check(){if(!this.settings.period){const e=this.document.getStorage("times")||0,t=this.getTimingSetting("times");return this.utils.shouldDisplayBackwordCompatible(e,t)}if("session"!==this.settings.period){if(!this.utils.shouldDisplayPerTimeFrame())return!1}else if(!this.utils.shouldDisplayPerSession())return!1;return!0}onPopupHide(){window.addEventListener("elementor/popup/hide",(()=>{this.utils.incrementImpressionsCount()}))}}t.default=_default},7471:(e,t,n)=>{var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(n(2733));class _default extends o.default{getName(){return"url"}check(){const e=this.getTimingSetting("url"),t=this.getTimingSetting("action"),n=document.referrer;if("regex"!==t)return"hide"===t^-1!==n.indexOf(e);let s;try{s=new RegExp(e)}catch(e){return!1}return s.test(n)}}t.default=_default},3758:(e,t,n)=>{var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(n(9739)),r=s(n(9226)),l=s(n(4270)),i=s(n(1697)),a=s(n(9143)),d=s(n(3676));class _default extends elementorModules.Module{constructor(e,t){super(e),this.document=t,this.triggers=[],this.triggerClasses={page_load:o.default,scrolling:r.default,scrolling_to:l.default,click:i.default,inactivity:a.default,exit_intent:d.default},this.runTriggers()}runTriggers(){const e=this.getSettings();jQuery.each(this.triggerClasses,((t,n)=>{if(!e[t])return;const s=new n(e,(()=>this.onTriggerFired()));s.run(),this.triggers.push(s)}))}destroyTriggers(){this.triggers.forEach((e=>e.destroy())),this.triggers=[]}onTriggerFired(){this.document.showModal(!0),this.destroyTriggers()}}t.default=_default},6904:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(e,t){super(e),this.callback=t}getTriggerSetting(e){return this.getSettings(this.getName()+"_"+e)}}t.default=_default},1697:(e,t,n)=>{var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(n(6904));class _default extends o.default{constructor(){super(...arguments),this.checkClick=this.checkClick.bind(this),this.clicksCount=0}getName(){return"click"}checkClick(){this.clicksCount++,this.clicksCount===this.getTriggerSetting("times")&&this.callback()}run(){elementorFrontend.elements.$body.on("click",this.checkClick)}destroy(){elementorFrontend.elements.$body.off("click",this.checkClick)}}t.default=_default},3676:(e,t,n)=>{var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(n(6904));class _default extends o.default{constructor(){super(...arguments),this.detectExitIntent=this.detectExitIntent.bind(this)}getName(){return"exit_intent"}detectExitIntent(e){e.clientY<=0&&this.callback()}run(){elementorFrontend.elements.$window.on("mouseleave",this.detectExitIntent)}destroy(){elementorFrontend.elements.$window.off("mouseleave",this.detectExitIntent)}}t.default=_default},9143:(e,t,n)=>{var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(n(6904));class _default extends o.default{constructor(){super(...arguments),this.restartTimer=this.restartTimer.bind(this)}getName(){return"inactivity"}run(){this.startTimer(),elementorFrontend.elements.$document.on("keypress mousemove",this.restartTimer)}startTimer(){this.timeOut=setTimeout(this.callback,1e3*this.getTriggerSetting("time"))}clearTimer(){clearTimeout(this.timeOut)}restartTimer(){this.clearTimer(),this.startTimer()}destroy(){this.clearTimer(),elementorFrontend.elements.$document.off("keypress mousemove",this.restartTimer)}}t.default=_default},9739:(e,t,n)=>{var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(n(6904));class _default extends o.default{getName(){return"page_load"}run(){this.timeout=setTimeout(this.callback,1e3*this.getTriggerSetting("delay"))}destroy(){clearTimeout(this.timeout)}}t.default=_default},4270:(e,t,n)=>{var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(n(6904));class _default extends o.default{getName(){return"scrolling_to"}run(){let e;try{e=jQuery(this.getTriggerSetting("selector"))}catch(e){return}e.length&&(this.setUpIntersectionObserver(),this.observer.observe(e[0]))}setUpIntersectionObserver(){this.observer=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&this.callback()}))}))}destroy(){this.observer&&this.observer.disconnect()}}t.default=_default},9226:(e,t,n)=>{var s=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(n(6904));class _default extends o.default{constructor(){super(...arguments),this.checkScroll=this.checkScroll.bind(this),this.lastScrollOffset=0}getName(){return"scrolling"}checkScroll(){const e=scrollY>this.lastScrollOffset?"down":"up",t=this.getTriggerSetting("direction");if(this.lastScrollOffset=scrollY,e!==t)return;if("up"===e)return void this.callback();const n=elementorFrontend.elements.$document.height()-innerHeight;scrollY/n*100>=this.getTriggerSetting("offset")&&this.callback()}run(){elementorFrontend.elements.$window.on("scroll",this.checkScroll)}destroy(){elementorFrontend.elements.$window.off("scroll",this.checkScroll)}}t.default=_default},8534:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),["classic","full_content","cards"].forEach((e=>{elementorFrontend.elementsHandler.attachHandler("posts",(()=>n.e(535).then(n.bind(n,2078))),e)})),elementorFrontend.elementsHandler.attachHandler("posts",(()=>n.e(396).then(n.bind(n,2195))),"classic"),elementorFrontend.elementsHandler.attachHandler("posts",(()=>n.e(396).then(n.bind(n,2195))),"full_content"),elementorFrontend.elementsHandler.attachHandler("posts",(()=>n.e(396).then(n.bind(n,7907))),"cards"),elementorFrontend.elementsHandler.attachHandler("portfolio",(()=>n.e(726).then(n.bind(n,2232))))}}t.default=_default},8945:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("search",[()=>n.e(187).then(n.bind(n,6963)),()=>n.e(187).then(n.bind(n,7112))])}}t.default=_default},6034:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("share-buttons",(()=>n.e(316).then(n.bind(n,3607))))}}t.default=_default},6075:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("slides",(()=>n.e(829).then(n.bind(n,3271))))}}t.default=_default},570:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("facebook-button",(()=>n.e(158).then(n.bind(n,5070)))),elementorFrontend.elementsHandler.attachHandler("facebook-comments",(()=>n.e(158).then(n.bind(n,5070)))),elementorFrontend.elementsHandler.attachHandler("facebook-embed",(()=>n.e(158).then(n.bind(n,5070)))),elementorFrontend.elementsHandler.attachHandler("facebook-page",(()=>n.e(158).then(n.bind(n,5070))))}}t.default=_default},9302:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("table-of-contents",(()=>Promise.all([n.e(234),n.e(404)]).then(n.bind(n,3827))))}}t.default=_default},6302:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),["archive_classic","archive_full_content","archive_cards"].forEach((e=>{elementorFrontend.elementsHandler.attachHandler("archive-posts",(()=>n.e(345).then(n.bind(n,439))),e)})),elementorFrontend.elementsHandler.attachHandler("archive-posts",(()=>n.e(345).then(n.bind(n,6629))),"archive_classic"),elementorFrontend.elementsHandler.attachHandler("archive-posts",(()=>n.e(345).then(n.bind(n,6629))),"archive_full_content"),elementorFrontend.elementsHandler.attachHandler("archive-posts",(()=>n.e(345).then(n.bind(n,2718))),"archive_cards"),jQuery((function(){var e=location.search.match(/theme_template_id=(\d*)/),t=e?jQuery(".elementor-"+e[1]):[];t.length&&jQuery("html, body").animate({scrollTop:t.offset().top-window.innerHeight/2})}))}}t.default=_default},7492:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("search-form",(()=>n.e(798).then(n.bind(n,9319))))}}t.default=_default},8241:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("woocommerce-menu-cart",(()=>n.e(6).then(n.bind(n,2115)))),elementorFrontend.elementsHandler.attachHandler("woocommerce-purchase-summary",(()=>n.e(80).then(n.bind(n,193)))),elementorFrontend.elementsHandler.attachHandler("woocommerce-checkout-page",(()=>n.e(354).then(n.bind(n,9391)))),elementorFrontend.elementsHandler.attachHandler("woocommerce-cart",(()=>n.e(4).then(n.bind(n,2937)))),elementorFrontend.elementsHandler.attachHandler("woocommerce-my-account",(()=>n.e(662).then(n.bind(n,1627)))),elementorFrontend.elementsHandler.attachHandler("woocommerce-notices",(()=>n.e(621).then(n.bind(n,4702)))),elementorFrontend.elementsHandler.attachHandler("woocommerce-product-add-to-cart",(()=>n.e(787).then(n.bind(n,6973)))),elementorFrontend.isEditMode()&&elementorFrontend.on("components:init",(()=>{elementorFrontend.elements.$body.find(".elementor-widget-woocommerce-cart").length||elementorFrontend.elements.$body.append('<div class="woocommerce-cart-form">')}))}}t.default=_default},2470:e=>{e.exports=wp.i18n}},e=>{e.O(0,[313],(()=>{return t=2371,e(e.s=t);var t}));e.O()}]);!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(n="undefined"!=typeof globalThis?globalThis:n||self).LazyLoad=t()}(this,(function(){"use strict";function n(){return n=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i])}return n},n.apply(this,arguments)}var t="undefined"!=typeof window,e=t&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),i=t&&"IntersectionObserver"in window,o=t&&"classList"in document.createElement("p"),a=t&&window.devicePixelRatio>1,r={elements_selector:".lazy",container:e||t?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_bg_set:"bg-set",data_poster:"poster",class_applied:"applied",class_loading:"loading",class_loaded:"loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1,restore_on_error:!1},c=function(t){return n({},r,t)},l=function(n,t){var e,i="LazyLoad::Initialized",o=new n(t);try{e=new CustomEvent(i,{detail:{instance:o}})}catch(n){(e=document.createEvent("CustomEvent")).initCustomEvent(i,!1,!1,{instance:o})}window.dispatchEvent(e)},u="src",s="srcset",d="sizes",f="poster",_="llOriginalAttrs",g="data",v="loading",b="loaded",m="applied",p="error",h="native",E="data-",I="ll-status",y=function(n,t){return n.getAttribute(E+t)},k=function(n){return y(n,I)},w=function(n,t){return function(n,t,e){var i="data-ll-status";null!==e?n.setAttribute(i,e):n.removeAttribute(i)}(n,0,t)},A=function(n){return w(n,null)},L=function(n){return null===k(n)},O=function(n){return k(n)===h},x=[v,b,m,p],C=function(n,t,e,i){n&&(void 0===i?void 0===e?n(t):n(t,e):n(t,e,i))},N=function(n,t){o?n.classList.add(t):n.className+=(n.className?" ":"")+t},M=function(n,t){o?n.classList.remove(t):n.className=n.className.replace(new RegExp("(^|\\s+)"+t+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")},z=function(n){return n.llTempImage},T=function(n,t){if(t){var e=t._observer;e&&e.unobserve(n)}},R=function(n,t){n&&(n.loadingCount+=t)},G=function(n,t){n&&(n.toLoadCount=t)},j=function(n){for(var t,e=[],i=0;t=n.children[i];i+=1)"SOURCE"===t.tagName&&e.push(t);return e},D=function(n,t){var e=n.parentNode;e&&"PICTURE"===e.tagName&&j(e).forEach(t)},H=function(n,t){j(n).forEach(t)},V=[u],F=[u,f],B=[u,s,d],J=[g],P=function(n){return!!n[_]},S=function(n){return n[_]},U=function(n){return delete n[_]},$=function(n,t){if(!P(n)){var e={};t.forEach((function(t){e[t]=n.getAttribute(t)})),n[_]=e}},q=function(n,t){if(P(n)){var e=S(n);t.forEach((function(t){!function(n,t,e){e?n.setAttribute(t,e):n.removeAttribute(t)}(n,t,e[t])}))}},K=function(n,t,e){N(n,t.class_applied),w(n,m),e&&(t.unobserve_completed&&T(n,t),C(t.callback_applied,n,e))},Q=function(n,t,e){N(n,t.class_loading),w(n,v),e&&(R(e,1),C(t.callback_loading,n,e))},W=function(n,t,e){e&&n.setAttribute(t,e)},X=function(n,t){W(n,d,y(n,t.data_sizes)),W(n,s,y(n,t.data_srcset)),W(n,u,y(n,t.data_src))},Y={IMG:function(n,t){D(n,(function(n){$(n,B),X(n,t)})),$(n,B),X(n,t)},IFRAME:function(n,t){$(n,V),W(n,u,y(n,t.data_src))},VIDEO:function(n,t){H(n,(function(n){$(n,V),W(n,u,y(n,t.data_src))})),$(n,F),W(n,f,y(n,t.data_poster)),W(n,u,y(n,t.data_src)),n.load()},OBJECT:function(n,t){$(n,J),W(n,g,y(n,t.data_src))}},Z=["IMG","IFRAME","VIDEO","OBJECT"],nn=function(n,t){!t||function(n){return n.loadingCount>0}(t)||function(n){return n.toLoadCount>0}(t)||C(n.callback_finish,t)},tn=function(n,t,e){n.addEventListener(t,e),n.llEvLisnrs[t]=e},en=function(n,t,e){n.removeEventListener(t,e)},on=function(n){return!!n.llEvLisnrs},an=function(n){if(on(n)){var t=n.llEvLisnrs;for(var e in t){var i=t[e];en(n,e,i)}delete n.llEvLisnrs}},rn=function(n,t,e){!function(n){delete n.llTempImage}(n),R(e,-1),function(n){n&&(n.toLoadCount-=1)}(e),M(n,t.class_loading),t.unobserve_completed&&T(n,e)},cn=function(n,t,e){var i=z(n)||n;on(i)||function(n,t,e){on(n)||(n.llEvLisnrs={});var i="VIDEO"===n.tagName?"loadeddata":"load";tn(n,i,t),tn(n,"error",e)}(i,(function(o){!function(n,t,e,i){var o=O(t);rn(t,e,i),N(t,e.class_loaded),w(t,b),C(e.callback_loaded,t,i),o||nn(e,i)}(0,n,t,e),an(i)}),(function(o){!function(n,t,e,i){var o=O(t);rn(t,e,i),N(t,e.class_error),w(t,p),C(e.callback_error,t,i),e.restore_on_error&&q(t,B),o||nn(e,i)}(0,n,t,e),an(i)}))},ln=function(n,t,e){!function(n){return Z.indexOf(n.tagName)>-1}(n)?function(n,t,e){!function(n){n.llTempImage=document.createElement("IMG")}(n),cn(n,t,e),function(n){P(n)||(n[_]={backgroundImage:n.style.backgroundImage})}(n),function(n,t,e){var i=y(n,t.data_bg),o=y(n,t.data_bg_hidpi),r=a&&o?o:i;r&&(n.style.backgroundImage='url("'.concat(r,'")'),z(n).setAttribute(u,r),Q(n,t,e))}(n,t,e),function(n,t,e){var i=y(n,t.data_bg_multi),o=y(n,t.data_bg_multi_hidpi),r=a&&o?o:i;r&&(n.style.backgroundImage=r,K(n,t,e))}(n,t,e),function(n,t,e){var i=y(n,t.data_bg_set);if(i){var o=i.split("|"),a=o.map((function(n){return"image-set(".concat(n,")")}));n.style.backgroundImage=a.join(),""===n.style.backgroundImage&&(a=o.map((function(n){return"-webkit-image-set(".concat(n,")")})),n.style.backgroundImage=a.join()),K(n,t,e)}}(n,t,e)}(n,t,e):function(n,t,e){cn(n,t,e),function(n,t,e){var i=Y[n.tagName];i&&(i(n,t),Q(n,t,e))}(n,t,e)}(n,t,e)},un=function(n){n.removeAttribute(u),n.removeAttribute(s),n.removeAttribute(d)},sn=function(n){D(n,(function(n){q(n,B)})),q(n,B)},dn={IMG:sn,IFRAME:function(n){q(n,V)},VIDEO:function(n){H(n,(function(n){q(n,V)})),q(n,F),n.load()},OBJECT:function(n){q(n,J)}},fn=function(n,t){(function(n){var t=dn[n.tagName];t?t(n):function(n){if(P(n)){var t=S(n);n.style.backgroundImage=t.backgroundImage}}(n)})(n),function(n,t){L(n)||O(n)||(M(n,t.class_entered),M(n,t.class_exited),M(n,t.class_applied),M(n,t.class_loading),M(n,t.class_loaded),M(n,t.class_error))}(n,t),A(n),U(n)},_n=["IMG","IFRAME","VIDEO"],gn=function(n){return n.use_native&&"loading"in HTMLImageElement.prototype},vn=function(n,t,e){n.forEach((function(n){return function(n){return n.isIntersecting||n.intersectionRatio>0}(n)?function(n,t,e,i){var o=function(n){return x.indexOf(k(n))>=0}(n);w(n,"entered"),N(n,e.class_entered),M(n,e.class_exited),function(n,t,e){t.unobserve_entered&&T(n,e)}(n,e,i),C(e.callback_enter,n,t,i),o||ln(n,e,i)}(n.target,n,t,e):function(n,t,e,i){L(n)||(N(n,e.class_exited),function(n,t,e,i){e.cancel_on_exit&&function(n){return k(n)===v}(n)&&"IMG"===n.tagName&&(an(n),function(n){D(n,(function(n){un(n)})),un(n)}(n),sn(n),M(n,e.class_loading),R(i,-1),A(n),C(e.callback_cancel,n,t,i))}(n,t,e,i),C(e.callback_exit,n,t,i))}(n.target,n,t,e)}))},bn=function(n){return Array.prototype.slice.call(n)},mn=function(n){return n.container.querySelectorAll(n.elements_selector)},pn=function(n){return function(n){return k(n)===p}(n)},hn=function(n,t){return function(n){return bn(n).filter(L)}(n||mn(t))},En=function(n,e){var o=c(n);this._settings=o,this.loadingCount=0,function(n,t){i&&!gn(n)&&(t._observer=new IntersectionObserver((function(e){vn(e,n,t)}),function(n){return{root:n.container===document?null:n.container,rootMargin:n.thresholds||n.threshold+"px"}}(n)))}(o,this),function(n,e){t&&(e._onlineHandler=function(){!function(n,t){var e;(e=mn(n),bn(e).filter(pn)).forEach((function(t){M(t,n.class_error),A(t)})),t.update()}(n,e)},window.addEventListener("online",e._onlineHandler))}(o,this),this.update(e)};return En.prototype={update:function(n){var t,o,a=this._settings,r=hn(n,a);G(this,r.length),!e&&i?gn(a)?function(n,t,e){n.forEach((function(n){-1!==_n.indexOf(n.tagName)&&function(n,t,e){n.setAttribute("loading","lazy"),cn(n,t,e),function(n,t){var e=Y[n.tagName];e&&e(n,t)}(n,t),w(n,h)}(n,t,e)})),G(e,0)}(r,a,this):(o=r,function(n){n.disconnect()}(t=this._observer),function(n,t){t.forEach((function(t){n.observe(t)}))}(t,o)):this.loadAll(r)},destroy:function(){this._observer&&this._observer.disconnect(),t&&window.removeEventListener("online",this._onlineHandler),mn(this._settings).forEach((function(n){U(n)})),delete this._observer,delete this._settings,delete this._onlineHandler,delete this.loadingCount,delete this.toLoadCount},loadAll:function(n){var t=this,e=this._settings;hn(n,e).forEach((function(n){T(n,t),ln(n,e,t)}))},restoreAll:function(){var n=this._settings;mn(n).forEach((function(t){fn(t,n)}))}},En.load=function(n,t){var e=c(t);ln(n,e)},En.resetStatus=function(n){A(n)},t&&function(n,t){if(t)if(t.length)for(var e,i=0;e=t[i];i+=1)l(n,e);else l(n,t)}(En,window.lazyLoadOptions),En}));function lazyLoadThumb(e,alt,l){var t='<img data-lazy-src="https://i.ytimg.com/vi_webp/ID/hqdefault.webp" alt="" width="480" height="360"><noscript><img src="https://i.ytimg.com/vi_webp/ID/hqdefault.webp" alt="" width="480" height="360"></noscript>',a='<button class="play" aria-label="play Youtube video"></button>';if(l){t=t.replace('data-lazy-','');t=t.replace('loading="lazy"','');t=t.replace(/<noscript>.*?<\/noscript>/g,'')}t=t.replace('alt=""','alt="'+alt+'"');return t.replace("ID",e)+a}function lazyLoadYoutubeIframe(){var e=document.createElement("iframe"),t="ID?autoplay=1";t+=0===this.parentNode.dataset.query.length?"":"&"+this.parentNode.dataset.query;e.setAttribute("src",t.replace("ID",this.parentNode.dataset.src)),e.setAttribute("frameborder","0"),e.setAttribute("allowfullscreen","1"),e.setAttribute("allow","accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"),this.parentNode.parentNode.replaceChild(e,this.parentNode)}document.addEventListener("DOMContentLoaded",function(){var exclusions=[];var e,t,p,u,l,a=document.getElementsByClassName("rll-youtube-player");for(t=0;t<a.length;t++)(e=document.createElement("div")),(u='https://i.ytimg.com/vi_webp/ID/hqdefault.webp'),(u=u.replace('ID',a[t].dataset.id)),(l=exclusions.some(exclusion=>u.includes(exclusion))),e.setAttribute("data-id",a[t].dataset.id),e.setAttribute("data-query",a[t].dataset.query),e.setAttribute("data-src",a[t].dataset.src),(e.innerHTML=lazyLoadThumb(a[t].dataset.id,a[t].dataset.alt,l)),a[t].appendChild(e),(p=e.querySelector(".play")),(p.onclick=lazyLoadYoutubeIframe)});;(()=>{var u=class{static getScreenWidth(){return window.innerWidth||document.documentElement.clientWidth}static getScreenHeight(){return window.innerHeight||document.documentElement.clientHeight}static isNotValidScreensize(e,i){const t=this.getScreenWidth(),o=this.getScreenHeight(),n=e&&(t>i.width||o>i.height),s=!e&&(t<i.width||o<i.height);return n||s}static isPageCached(){const e=document.documentElement.nextSibling&&document.documentElement.nextSibling.data?document.documentElement.nextSibling.data:"";return e&&e.includes("Debug: cached")}static isIntersecting(e){return e.bottom>=0&&e.right>=0&&e.top<=(window.innerHeight||document.documentElement.clientHeight)&&e.left<=(window.innerWidth||document.documentElement.clientWidth)}},l=u,d=class{constructor(e,i){this.config=e,this.performanceImages=[],this.logger=i}async run(){try{const e=this._generateLcpCandidates(1/0);e&&(this._initWithFirstElementWithInfo(e),this._fillATFWithoutDuplications(e))}catch(e){this.errorCode="script_error",this.logger.logMessage("Script Error: "+e)}}_generateLcpCandidates(e){const i=document.querySelectorAll(this.config.elements);return i.length<=0?[]:Array.from(i).map(n=>{if(n.nodeName.toLowerCase()==="img"&&n.parentElement.nodeName.toLowerCase()==="picture")return null;let s;if(n.nodeName.toLowerCase()==="picture"){const r=n.querySelector("img");if(r)s=r.getBoundingClientRect();else return null}else s=n.getBoundingClientRect();return{element:n,rect:s}}).filter(n=>n!==null).filter(n=>n.rect.width>0&&n.rect.height>0&&l.isIntersecting(n.rect)).map(n=>({item:n,area:this._getElementArea(n.rect),elementInfo:this._getElementInfo(n.element)})).sort((n,s)=>s.area-n.area).slice(0,e).map(n=>({element:n.item.element,elementInfo:n.elementInfo}))}_getElementArea(e){const i=Math.min(e.width,(window.innerWidth||document.documentElement.clientWidth)-e.left),t=Math.min(e.height,(window.innerHeight||document.documentElement.clientHeight)-e.top);return i*t}_getElementInfo(e){const i=e.nodeName.toLowerCase(),t={type:"",src:"",srcset:"",sizes:"",sources:[],bg_set:[],current_src:""},o=/url\(\s*?['"]?\s*?(.+?)\s*?["']?\s*?\)/ig;if(i==="img"&&e.srcset)t.type="img-srcset",t.src=e.src,t.srcset=e.srcset,t.sizes=e.sizes,t.current_src=e.currentSrc;else if(i==="img")t.type="img",t.src=e.src,t.current_src=e.currentSrc;else if(i==="video"){t.type="img";const n=e.querySelector("source");t.src=e.poster||(n?n.src:""),t.current_src=t.src}else if(i==="svg"){const n=e.querySelector("image");n&&(t.type="img",t.src=n.getAttribute("href")||"",t.current_src=t.src)}else if(i==="picture"){t.type="picture";const n=e.querySelector("img");t.src=n?n.src:"",t.sources=Array.from(e.querySelectorAll("source")).map(s=>({srcset:s.srcset||"",media:s.media||"",type:s.type||"",sizes:s.sizes||""}))}else{const s=[window.getComputedStyle(e,null).getPropertyValue("background-image"),getComputedStyle(e,":after").getPropertyValue("background-image"),getComputedStyle(e,":before").getPropertyValue("background-image")].filter(c=>c!=="none");if(s.length===0)return null;const r=s[0];if(t.type="bg-img",r.includes("image-set(")&&(t.type="bg-img-set"),!r||r===""||r.includes("data:image"))return null;const a=[...r.matchAll(o)];t.bg_set=a.map(c=>c[1]?{src:c[1].trim()+(c[2]?" "+c[2].trim():"")}:{}),t.bg_set.every(c=>c.src==="")&&(t.bg_set=a.map(c=>c[1]?{src:c[1].trim()}:{})),t.bg_set.length>0&&(t.src=t.bg_set[0].src,t.type==="bg-img-set"&&(t.src=t.bg_set))}return t}_initWithFirstElementWithInfo(e){const i=e.find(t=>t.elementInfo!==null);if(!i){this.logger.logMessage("No LCP candidate found."),this.performanceImages=[];return}this.performanceImages=[{...i.elementInfo,label:"lcp"}]}_fillATFWithoutDuplications(e){e.forEach(({element:i,elementInfo:t})=>{this._isDuplicateImage(i)||!t||this.performanceImages.push({...t,label:"above-the-fold"})})}_isDuplicateImage(e){const i=this._getElementInfo(e);if(i===null)return!1;const t=i.type==="img"||i.type==="img-srcset"||i.type==="video",o=i.type==="bg-img"||i.type==="bg-img-set"||i.type==="picture";return(t||o)&&this.performanceImages.some(n=>n.src===i.src)}getResults(){return this.performanceImages}},f=d,m=class{constructor(e,i){this.config=e,this.logger=i,this.lazyRenderElements=[]}async run(){try{const e=this._getLazyRenderElements();e&&this._processElements(e)}catch(e){this.errorCode="script_error",this.logger.logMessage("Script Error: "+e)}}_getLazyRenderElements(){const e=document.querySelectorAll("[data-rocket-location-hash]");return e.length<=0?[]:Array.from(e).filter(t=>!this._skipElement(t)).map(t=>({element:t,depth:this._getElementDepth(t),distance:this._getElementDistance(t),hash:this._getLocationHash(t)}))}_getElementDepth(e){let i=0,t=e.parentElement;for(;t;)i++,t=t.parentElement;return i}_getElementDistance(e){const i=e.getBoundingClientRect(),t=window.pageYOffset||document.documentElement.scrollTop;return Math.max(0,i.top+t-l.getScreenHeight())}_skipElement(e){const i=this.config.skipStrings||["memex"];return!e||!e.id?!1:i.some(t=>e.id.toLowerCase().includes(t.toLowerCase()))}_shouldSkipElement(e,i){if(!e)return!1;for(let t=0;t<i.length;t++){const[o,n]=i[t],s=e.getAttribute(o);if(s&&new RegExp(n,"i").test(s))return!0}return!1}_checkLcrConflict(e){const i=[],t=window.getComputedStyle(e),n=["marginTop","marginRight","marginBottom","marginLeft"].some(r=>parseFloat(t[r])<0);return(n||t.contentVisibility==="auto"||t.contentVisibility==="hidden")&&i.push({element:e,conflicts:[n&&"negative margin",t.contentVisibility==="auto"&&"content-visibility:auto",t.contentVisibility==="hidden"&&"content-visibility:hidden"].filter(Boolean)}),Array.from(e.children).forEach(r=>{const a=window.getComputedStyle(r),h=["marginTop","marginRight","marginBottom","marginLeft"].some(E=>parseFloat(a[E])<0);(h||a.position==="absolute"||a.position==="fixed")&&i.push({element:r,conflicts:[h&&"negative margin",a.position==="absolute"&&"position:absolute",a.position==="fixed"&&"position:fixed"].filter(Boolean)})}),i}_processElements(e){e.forEach(({element:i,depth:t,distance:o,hash:n})=>{if(this._shouldSkipElement(i,this.config.exclusions||[])||n==="No hash detected")return;const s=this._checkLcrConflict(i);if(s.length>0){this.logger.logMessage("Skipping element due to conflicts:",s);return}const r=i.parentElement&&this._getElementDistance(i.parentElement)<this.config.lrc_threshold&&o>=this.config.lrc_threshold,a=r?"green":o===0?"red":"";this.logger.logColoredMessage(`${"	".repeat(t)}${i.tagName} (Depth: ${t}, Distance from viewport bottom: ${o}px)`,a),this.logger.logColoredMessage(`${"	".repeat(t)}Location hash: ${n}`,a),this.logger.logColoredMessage(`${"	".repeat(t)}Dimensions Client Height: ${i.clientHeight}`,a),r&&(this.lazyRenderElements.push(n),this.logger.logMessage(`Element pushed with hash: ${n}`))})}_getXPath(e){return e&&e.id!==""?`//*[@id="${e.id}"]`:this._getElementXPath(e)}_getElementXPath(e){if(e===document.body)return"/html/body";const i=this._getElementPosition(e);return`${this._getElementXPath(e.parentNode)}/${e.nodeName.toLowerCase()}[${i}]`}_getElementPosition(e){let i=1,t=e.previousElementSibling;for(;t;)t.nodeName===e.nodeName&&i++,t=t.previousElementSibling;return i}_getLocationHash(e){return e.hasAttribute("data-rocket-location-hash")?e.getAttribute("data-rocket-location-hash"):"No hash detected"}getResults(){return this.lazyRenderElements}},p=m,_=class{constructor(e){this.enabled=e}logMessage(e){this.enabled&&console.log(e)}logColoredMessage(e,i="green"){this.enabled&&console.log(`%c${e}`,`color: ${i};`)}},b=_,y=class{constructor(e){this.config=e,this.lcpBeacon=null,this.lrcBeacon=null,this.infiniteLoopId=null,this.errorCode="",this.logger=new b(this.config.debug)}async init(){if(this.scriptTimer=new Date,!await this._isValidPreconditions()){this._finalize();return}this.infiniteLoopId=setTimeout(()=>{this._handleInfiniteLoop()},1e4);const e=await this._getGeneratedBefore(),i=this.config.status.atf&&(e===!1||e.lcp===!1),t=this.config.status.lrc&&(e===!1||e.lrc===!1);i?(this.lcpBeacon=new f(this.config,this.logger),await this.lcpBeacon.run()):this.logger.logMessage("Not running BeaconLcp because data is already available or feature is disabled"),t?(this.lrcBeacon=new p(this.config,this.logger),await this.lrcBeacon.run()):this.logger.logMessage("Not running BeaconLrc because data is already available or feature is disabled"),i||t?this._saveFinalResultIntoDB():(this.logger.logMessage("Not saving results into DB as no beacon features ran."),this._finalize())}async _isValidPreconditions(){const e={width:this.config.width_threshold,height:this.config.height_threshold};return l.isNotValidScreensize(this.config.is_mobile,e)?(this.logger.logMessage("Bailing out because screen size is not acceptable"),!1):!0}async _getGeneratedBefore(){if(!l.isPageCached())return!1;let e=new FormData;return e.append("action","rocket_check_beacon"),e.append("rocket_beacon_nonce",this.config.nonce),e.append("url",this.config.url),e.append("is_mobile",this.config.is_mobile),(await fetch(this.config.ajax_url,{method:"POST",credentials:"same-origin",body:e}).then(t=>t.json())).data}_saveFinalResultIntoDB(){const e={lcp:this.lcpBeacon?this.lcpBeacon.getResults():null,lrc:this.lrcBeacon?this.lrcBeacon.getResults():null},i=new FormData;i.append("action","rocket_beacon"),i.append("rocket_beacon_nonce",this.config.nonce),i.append("url",this.config.url),i.append("is_mobile",this.config.is_mobile),i.append("status",this._getFinalStatus()),i.append("results",JSON.stringify(e)),fetch(this.config.ajax_url,{method:"POST",credentials:"same-origin",body:i,headers:{"wpr-saas-no-intercept":!0}}).then(t=>t.json()).then(t=>{this.logger.logMessage(t.data.lcp)}).catch(t=>{this.logger.logMessage(t)}).finally(()=>{this._finalize()})}_getFinalStatus(){return this.errorCode!==""?this.errorCode:10<=(new Date-this.scriptTimer)/1e3?"timeout":"success"}_handleInfiniteLoop(){this._saveFinalResultIntoDB()}_finalize(){document.querySelector('[data-name="wpr-wpr-beacon"]').setAttribute("beacon-completed","true"),clearTimeout(this.infiniteLoopId)}},g=y;(e=>{if(!e)return;const i=new g(e);if(document.readyState!=="loading"){setTimeout(()=>{i.init()},e.delay);return}document.addEventListener("DOMContentLoaded",()=>{setTimeout(()=>{i.init()},e.delay)})})(window.rocket_beacon_data);var w=g})()